1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/BindCreditCardDialog-g4yrE0i1.js","assets/rolldown-runtime-CNC7AqOf.js","assets/react-CtufjDsZ.js","assets/components-yGxlKqbr.js","assets/zui-DOoELEC6.js","assets/recharts-BoXjdIDS.js","assets/zui-DJIHGNz3.css","assets/components-rHovVFw5.css","assets/useAccessControl-BbCQP3le.js","assets/organization-Dn5BpOkV.js","assets/Types-DqrOQaPJ.js","assets/Link-vTggl_8u.js","assets/ProductType-pD1ql-pg.js","assets/project-CKRr9dLS.js","assets/atom-CLh57C1b.js","assets/organization-D7zHNSqf.css","assets/Index-C7FdScoQ.js","assets/Index-BYph5CWz.css","assets/metaData-DNsWwf5S.js","assets/Format-Db0p69TU.js","assets/FeatureWhiteList-BD-YQZgP.js","assets/account-jdTNFWe-.js","assets/Types-BHZDgAv6.js","assets/Wallet-BN_cqzHO.js","assets/FormSelect-CveCQSRc.js","assets/FormTextField-VMp3Ys07.js","assets/bundle-mjs-BicNWLTg.js","assets/dist-B1Zlvwi9.js","assets/Index-CcWpS2NX.js","assets/BindCreditCardDialog-COIXiACP.css","assets/Index-BtmpNS6K.js","assets/index-DDM43wqV.js","assets/Date-BfEukOmQ.js","assets/CloudProviderImage-D1u09bb4.js","assets/CloudProviderImage-DV2LNxDz.css","assets/ByocOrgContainer-ICFOr8fK.js","assets/utils-DtRtcbQh.js","assets/Setting-CFhXEP5X.js","assets/Pagination-Cqae-N7G.js","assets/ChartTooltip-Dntyfk_C.js","assets/Types-BRznWRA0.js","assets/ChartTooltip-CS17nw0-.css","assets/NameWithCopyId-t4THx2wi.js","assets/NameWithCopyId-BmeGaQDg.css","assets/Index-BBessWrc.js","assets/LabelWithTip-BXVIuLsW.js","assets/LabelWithTip-IX6kjiTB.css","assets/Index-C-6VwluX.js","assets/BaseCard-C2gaSYy-.js","assets/BaseCard-g_X1wHO8.css","assets/Index-BxB7G1-6.css","assets/OrderStatusTag-DboZdhXV.js","assets/OrderStatusTag-CoGbvtb5.css","assets/Milvus-CehaP1MD.js","assets/Milvus-BARhhkp1.js","assets/DeploymentOptionTitle-CCI_jZjN.js","assets/LearnMoreLink-VX-s8n9M.js","assets/UnpaidOrderAlert-DvQV4zwC.js","assets/UnpaidOrderAlert-CMQ6D7on.css","assets/Index-Byzt7oxo.js","assets/Index-_0K-na10.css","assets/Index-B2HQq-1S.js","assets/cluster-knj_o_ec.js","assets/Types-DQEx-yPI.js","assets/Types-C-krRx-E.js","assets/onboard-5tgf57R1.js","assets/Collection-CJNk5Zfa.js","assets/Permission-mBSbg6Nx.js","assets/Types-BxZ_9cjm2.js","assets/useCollections-Fone6zCk.js","assets/collection-Bb8hdHeM.js","assets/FieldSchema-C51yvygy.js","assets/Types-DE2D7zuV.js","assets/volume-BCRRBVLq.js","assets/Types-DX6Qwl6U.js","assets/database-Bf9bNRNg.js","assets/DocLink-VfzWbO-u.js","assets/DocLink-p0Ca2FZ8.css","assets/ViewJobs-DuXt8gNi.js","assets/Index-QGCORNyv.js","assets/useDataPlanes-Bp7wti0m.js","assets/Types-DZdhemN1.js","assets/timezone-MWLMvuf_.js","assets/utils-BdDJ3-Tt.js","assets/latestBetaVersion-CBpZ9thT.js","assets/PageHeader-CKRr9dLS.js","assets/TableCard-v4wzFjff.js","assets/TableCard-DeMtD7tx.css","assets/EnterpriseOnlyTag-CtTYWVdJ.js","assets/UpgradeTag-qIyYyfwh.js","assets/UpgradeTag-DkKVV5F7.css","assets/constants-FrkF6B9f.js","assets/FormSwitch-Dr_j6-xG.js","assets/FeatureUpgradeCard-DFt8wsvt.js","assets/UpgradePlanDialog-DXOPFqX2.js","assets/StarterCluster-CFlunPuE.js","assets/UpgradePlanDialog-b2ZqsQIW.css","assets/UpgradeClusterAndProjectDialog-D5Y22DBs.js","assets/UpgradeClusterAndProjectDialog-mhhepEFd.css","assets/FeatureUpgradeCard-AY_BnuT1.css","assets/SearchInput-Dqv48ugu.js","assets/SearchInput-CZYu1_43.css","assets/ProjectRoleContainer-D3Z9MH_i.js","assets/DedicatedOnlyTag-BbDCvMno.js","assets/InfoConfirmation-B8IWMXhn.js","assets/InfoConfirmation-DZFweXvy.css","assets/utils-FQ72H11w.js","assets/AuditLogConfigFields-DmfGOCxZ.js","assets/IntegrationIcon-wDSVsB8t.js","assets/IntegrationIcon-Bnhc3W1Q.css","assets/SelectAddon-CfoU2HRX.js","assets/SelectAddon-QcYKdgc-.css","assets/Index-C9FcM2Bb.js","assets/Index-CnFlIjGO.css","assets/subscriptionPlan-DpajNfvc.js","assets/OrgWhitelist-qs_oRyPk.js","assets/subscriptionPlan-lOWQozYo.css","assets/useResourceVerification-BbAnmDVJ.js","assets/Index-DT7tDAXk.js","assets/Types-DM0Jp4eG.js","assets/useResourceVerification-CN_GvGv-.css","assets/Bucket-Cz4-DTd5.js","assets/Index-CZLsLi5I.js","assets/Index-msmb49vv.css","assets/PanelTitle-BGmVhO49.js","assets/useMetricTimeRange-BcMWvR3Q.js","assets/useMetricTimeRange-DWeLP81p.css","assets/PanelTitle-CoOma9bP.css","assets/ConnectContainer-Bjg7U4Xy.js","assets/Consts-BzdR5OcP.js","assets/PersonalKeyCopyConfirm-DxjHPnXJ.js","assets/CopyLabel-utnoscX-.js","assets/CopyLabel-BWEOQFAj.css","assets/CuTopology-CJJlgI5B.js","assets/CuTopology-CWvmkZm-.css","assets/CreatePrivateLinkDialog-D5dPtx_R.js","assets/Index-ntE1UJf-.js","assets/LabelWithPrefixIcon-j3bJQRXT.js","assets/LabelWithPrefixIcon-D-pzok3j.css","assets/CollapseStepper-DnFtbKCs.js","assets/CollapseStepper-BgqAJ4Jy.css","assets/PrivateLink-j1bzilKq.js","assets/Types-By_HoRq4.js","assets/CreatePrivateLinkDialog-SIz5iIV_.css","assets/CombinationTag-BTyA-dFz.js","assets/CombinationTag-DKpjbzZo.css","assets/restful-icon-B-xkJ
1wm5.js","assets/ConnectContainer-Dtsl0SiM.css","assets/GlobalClusterRoleTag-VkjVG9S6.js","assets/Index-C-3oCuNp.js","assets/useGlobalCluster-DFClGMXP.js","assets/useGlobalCluster-BDXNjNbq.css","assets/ActionButtonComp-D5dfbpHA.js","assets/RenameDialog-C4QbzFEj.js","assets/ActionButtonComp-Bt5DZ9d6.css","assets/GlobalClusterRoleTag-GD_yPpqv.css","assets/Integration-D6K-dnzW.js","assets/SnapshotList-jfQeYzTd.js","assets/RestoreClusterDialog-BQmiR6e9.js","assets/CuTypeSelector-CZqCzvUZ.js","assets/CMEK-BKKHVnpa.js","assets/CuTypeSelector-CzbqQCHA.css","assets/Option-DcH3e0Rg.js","assets/Option-VSzD0laW.css","assets/Types-DkXmFZCJ.js","assets/Restore-DZNnZpTS.js","assets/Restore-DdlAmsKe.css","assets/DowngradeAlert-DXBWpdYT.js","assets/DowngradeAlert-BSoWl9rH.css","assets/RestoreClusterDialog-CgW7BpvP.css","assets/GridFilter-BNRsytGG.js","assets/SnapshotList-DppuhqS9.css","assets/FreeTrialEndGuideButton-Bb0uDg9E.js","assets/FreeTrialEndGuideButton-CrHYME-T.css","assets/ZeroDownMigrationBanner-CerF3K_4.js","assets/Types-CU5n401v.js","assets/ZeroDownMigrationBanner-U-MdJoYn.css","assets/Index-rvNCU3yR2.js","assets/Index-CKRr9dLS.js","assets/Index-B8jum2sj.css","assets/Index-BFW1mk2Y.js","assets/Event-B0UILsRc.js","assets/Index-ajiAlzTf.css","assets/Detail-BAbRGGYN.js","assets/useColumnVisibility-Ds1rOwH7.js","assets/DeployDataPlaneDialog-C30pfo-S.js","assets/byoc-D_F-vOxy.js","assets/Types-F9AxxZkk.js","assets/DataPlanGCPDetail-D-vD5EFS.js","assets/Base-CmKKtSzm.js","assets/Base-kwYiREf1.css","assets/Types-sKtm61qc.js","assets/DataPlanGCPDetail-CZZfZAEP.css","assets/CopyLine-CnchFMGj.js","assets/CopyLine-DjgcsE5K.css","assets/DeployDataPlaneDialog-CrbHMtWZ.css","assets/RegionFilterEmpty-CseWJZAE.js","assets/Index-C8BZG2lo.js","assets/Index-ND3CvNPR.css","assets/Detail-DlNoKs59.css","assets/Index-24iic-Rh.js","assets/useByocProjectActions-DGWR5yps.js","assets/useByocProjectActions-opAPtSuN.css","assets/Index-DMfYOY0f.css","assets/CreateProjectPage-7meMipQj.js","assets/HeaderConfig-SxwowFQo.js","assets/PageFooter-B0AbRJb7.js","assets/PageFooter-CvSZ_ycJ.css","assets/CreateProjectPage-DCAi327b.css","assets/ProjectSettings-X_vQnsXu.js","assets/VerticalInfoItem-DXiSdlGX.js","assets/VerticalInfoItem-DkEiK0YU.css","assets/Index-DJsod0on.js","assets/files-BhQwiy3T.js","assets/TTL-BN7nfYH1.js","assets/external-C52b6RSV.js","assets/Playground-C_tv10Qz.js","assets/Playground-JO6hK4kq.css","assets/Types-BFTkDMDc.js","assets/Validation-DE_aebrw.js","assets/JSON-DU807NHa.js","assets/DefaultValue-Ckx140Yw.js","assets/SchemaPanel-CzrCwiTF.js","assets/FieldSettingsButton-DIhyJ0-4.js","assets/FieldSettingsButton-Sm8ruL1L.css","assets/Form-DMDPuwNK.js","assets/SchemaPanel-CDMD2TfQ.css","assets/JobStatus-8yN44tTo.js","assets/TextLineClamp-ByvHcRUO.js","assets/TextLineClamp-Dud8RJB2.css","assets/JobStatus-CkRoAtQx.css","assets/Validation-KL-V5Vv6.js","assets/Index-CsbZXujT.css","assets/Index-CxR8MiL9.js","assets/Organization-CKRr9dLS.js","assets/OrgStatus-CKRr9dLS.js","assets/Index-DVHR5q8C.js","assets/CIDR-CZmyHgS0.js","assets/CIDR-DZp7DCpZ.css","assets/Index-CRvSX3r2.css","assets/EditOrgSetting-B3ID_8-N.js","assets/getHelperText-DhJYIqNB.js","assets/EditOrgSetting-CmBoEQql.css","assets/SCIMSetting-HX8vMQz0.js","assets/SCIMSetting-Dp_Xw3Zk.css","assets/Index-DBNFKyJf.css","assets/Index-B7XSBn9P.js","assets/Sort-BysUYKsZ.js","assets/AvatarGroup-DrCmw5PQ.js","assets/AvatarGroup-NJMVb_Od.css","assets/OrgRoleCell-aHtfihsn.js","assets/DataList-BEG8selE.js","assets/DataList-Cn_73cy2.css","assets/Index-C4iEI_Go.css","assets/Index-C7D-eILS.js","assets/Index-BvmfKhpH.css","assets/Index-DCW310Hs.js","assets/Index-BtHqHHMg.css","assets/Organization-gBSl4OGE.js","assets/CreateOrgDialog-BHo9yR9M.js","assets/Leave-3ZwIJN_B.js","assets/Organization-BgaTTmTF.css","assets/Index-xasQ282j.js","assets/Index-DYH1Hvv4.css","assets/Index-ZB6WgfmK.js","assets/Utils-5QccuI6k.js","assets/Utils-D6xM4Iko.css","assets/Index-D1C0Zu3N.css","assets/Index-DnYgXAzO.js","assets/Index-D4524FHH2.js","assets/ProjectTabs-NrP72d2U.js","assets/PermissionCatalogLabels-DOiM_PMC.js","assets/Index-BTxDRCvR.css","assets/Create-
1DiqtaQ_q.js","assets/Create-CGFwZX5F.css","assets/Index-CkK5SgtJ.js","assets/Index-CpjWXFzn.css","assets/CreateCluster-Cssi2FBv.js","assets/RegionBindingDisplay-CAOL-ZqS.js","assets/AddPayMethodButton-CbezyTL9.js","assets/AddPayMethodButton-CexB16s8.css","assets/CreateCluster-B46EH4Re.css","assets/CreateCollection-DmOIuZml.js","assets/CreateCollectionFooter-9UbfbscI.js","assets/CreateCollectionFooter-CRNyuOp1.css","assets/RadioOptionList-Cezm1C2V.js","assets/ShardPanel-CJrQNvnk.js","assets/ShardPanel-D80o1_Te.css","assets/CreateCollection-CfM0eKmT.css","assets/CreateSampleCollection-j4ruwIcw.js","assets/CreateSampleCollection-CW-NZiEM.css","assets/Information-CXqR-tDh.js","assets/Information-Cmyyz2eX.css","assets/emptyLoading-DVKNMlpk.js","assets/Link-CHidGtgr.js","assets/Link-7wmqqHSU.css","assets/Complete-BLV_l_t5.js","assets/Complete-CJFPGa-M.css","assets/Index-CJ2bToWv.js","assets/Index-CDVs88J7.css","assets/Index-DrMlqPHt.js","assets/Index-qRs8dw4T.js","assets/Index-HfvVO6Ke.css","assets/SetPhoneNumber-CgfCbgX9.js","assets/SetPhoneNumber-XHo04W8J.css","assets/JobCenter-Dq2KEOU7.js","assets/Types-BqyqUFBX.js","assets/JobCenter-CwGH7IJf.css","assets/ProjectSnapshots-Ctv8YiBS.js","assets/TitleWithTag-DsGu69kK.js","assets/TitleWithTag-CMvkXqt1.css","assets/ProjectSnapshots-CnPwvODu.css","assets/Migrations-CH8aVm_7.js","assets/tencent-BrP9ri9J.js","assets/Migrations-BuQybOn4.css","assets/MigrationSteps-C6NUlGts.js","assets/CollectionList-D4iRpfU6.js","assets/CollectionList-Bx1_BR3v.css","assets/MigrationSteps-CBxi4TI_.css","assets/Index-CNzqw14T.js","assets/AmountList-B57cE5QJ.js","assets/AmountList-nSh8lX51.
1css","assets/Index-COTeeFnK.css","assets/IPAccess-BCtzhPuD.js","assets/IPAccess-r4TVp37D.css","assets/OrgWhitelist-B4mzcqoi.js","assets/OrgWhitelist-cf0vLtQe.css","assets/AccessDenied-B5cnYm02.js","assets/AccessDenied-DTVi95XP.css","assets/NoAccess-rEyp_zek.js","assets/NoAccess-BNgUpPTo.css","assets/List-ClS79Txw.js","assets/List-zJKUmF94.css","assets/CMEK-C5CubnWK.js","assets/Role-BhVr9EcV.js","assets/CMEK-Du2nUz-5.css","assets/History-DZP_ZL2I.js","assets/History-D_XysK07.css","assets/Detail-CDebWdgW.js","assets/Detail-D1CYqVse.css","assets/DataPlaneDetail-D_6hJHnH.js","assets/DataPlaneDetail-DIKxq32A.css","assets/Integrations-DayuGAl8.js","assets/IntegrationConfigCreator-0wLeArGi.js","assets/IntegrationConfigCreator-D_OPXlKQ.css","assets/Integrations-DOU0lumR.css","assets/Index-DAvVzArD.js","assets/Index-DCvtPoFv.css","assets/Usage-BiIbA7SR.js","assets/Usage-Ccb3ye7B.css","assets/Index-C6-2tuGl.js","assets/Index-DppVpf1v.css","assets/Volume-D6OjrXIT.js","assets/UpdateVolumeDialog-B7YfeI9D.js","assets/Detail-Bosb9tp7.js","assets/ClusterDetailRouter-ojM7lqAF.js","assets/Index-BTwnVLdu.js","assets/OnDemandLanding-BJZMl4Tv.js","assets/OnDemandLanding-Bbqam3S1.css","assets/OnDemandQuickStart-D1MEYglZ.js","assets/OnDemandQuickStart-Cv9MseeF.css","assets/OnDemandPlanGuard-CldPFRlU.js","assets/OnDemandPlanGuard-BCEiDXXp.css","assets/Index-BwiS-FaS.js","assets/dist-DuSNQDyp.js"])))=>i.map(i=>d[i]); 2import{a as e,r as t,t as n}from"./rolldown-runtime-CNC7AqOf.js";import{_ as r,a as i,b as a,c as o,d as s,f as c,g as l,h as u,i as d,l as f,m as p,n as m,o as h,p as g,r as _,s as v,u as y,v as b,x,y as S}from"./react-CtufjDsZ.js";import{$ as C,$n as w,$t as T,A as E,At as D,Bn as O,Bt as k,Ct as A,D as ee,Dn as j,E as te,En as ne,Et as re,Fn as ie,Ft as M,G as ae,Gn as oe,Hn as se,Ht as ce,In as le,It as ue,J as de,Jn as fe,Jt as pe,Lt as me,M as he,Mt as ge,N as _e,Nn as ve,O as ye,On as be,Ot as xe,Pn as Se,Pt as Ce,Q as we,Qn as Te,Qt as Ee,R as De,Rn as Oe,Rt as ke,S as Ae,Sn as je,St as Me,T as Ne,Tn as Pe,Tt as Fe,U as Ie,Un as Le,V as Re,Vn as ze,Vt as Be,W as Ve,X as He,Xn as Ue,Y as We,Yn as Ge,Yt as Ke,Z as qe,Zn as Je,Zt as Ye,_ as Xe,_n as Ze,an as Qe,ar as $e,at as et,b as tt,bn as nt,bt as rt,c as it,cn as at,cr as ot,ct as st,d as ct,dn as lt,dt as ut,en as dt,et as ft,f as pt,fn as mt,ft as ht,g as gt,gn as _t,h as vt,hn as yt,ir as bt,it as xt,j as St,jt as Ct,k as wt,kn as N,kt as Tt,l as Et,ln as Dt,lr as Ot,m as kt,mn as At,mt as jt,n as Mt,nr as Nt,nt as Pt,o as Ft,on as It,or as Lt,ot as Rt,p as zt,pn as Bt,q as Vt,qn as P,qt as Ht,rr as Ut,rt as Wt,sn as Gt,sr as F,st as Kt,tn as qt,tr as Jt,u as Yt,un as Xt,ur as Zt,ut as Qt,v as $t,vn as en,vt as tn,wn as nn,wt as rn,x as an,xn as on,y as sn,yn as cn,z as ln,zn as un,zt as dn}from"./components-yGxlKqbr.js";import{$ as fn,A as pn,D as mn,F as hn,H as gn,I as _n,N as vn,P as yn,R as bn,S as xn,U as Sn,W as Cn,b as wn,et as Tn,it as En,j as Dn,mt as On,n as kn,r as An,u as jn,x as Mn,z as Nn}from"./useAccessControl-BbCQP3le.js";import{a as Pn,c as Fn,f as In,i as Ln,n as Rn,o as zn,p as Bn,s as Vn}from"./cluster-knj_o_ec.js";import{B as Hn,C as Un,F as Wn,M as Gn,S as Kn,V as qn,Y as Jn,_ as Yn,b as I,ct as Xn,dt as Zn,g as Qn,it as $n,j as er,mt as tr,nt as nr,q as rr,r as ir,rt as ar,st as or,t as sr,tt as cr,ut as lr,v as ur,x as dr}from"./organization-Dn5BpOkV.js";import{$ as fr,$n as pr,$r as mr,$t as hr,An as gr,Bt as _r,Cn as vr,Ct as yr,D as br,Dr as xr,Dt as Sr,E as Cr,Ei as L,Er as wr,Fi as Tr,Fn as Er,Ft as Dr,Gi as R,Gn as Or,Gr as kr,Gt as Ar,Hr as jr,Ht as Mr,I as Nr,J as Pr,Jn as Fr,Jr as Ir,Jt as Lr,Kn as Rr,L as zr,Li as Br,Ln as Vr,Lt as Hr,M as Ur,Mi as Wr,Mn as Gr,Mr as Kr,Mt as qr,N as Jr,Ni as Yr,Nr as Xr,On as Zr,Or as Qr,Ot as $r,P as ei,Pn as ti,Q as ni,Qn as ri,Qr as ii,R as ai,Ri as oi,Rn as si,Rt as ci,S as li,St as ui,T as di,Tn as fi,Tr as pi,U as mi,Ui as hi,Un as gi,Ur as _i,V as vi,Vn as yi,Vr as bi,Vt as xi,W as Si,Wi as Ci,Wt as wi,Xt as Ti,Yr as Ei,Yt as Di,Z as Oi,Zn as ki,Zr as Ai,_r as ji,_t as Mi,ai as Ni,an as Pi,ar as Fi,b as eee,bi as Ii,bn as Li,bt as Ri,ci as zi,cn as Bi,cr as Vi,ct as Hi,d as Ui,dn as Wi,dr as Gi,dt as Ki,et as z,fn as qi,fr as Ji,g as Yi,gr as Xi,h as Zi,hn as Qi,hr as $i,ii as ea,in as ta,j as na,ji as tee,k as nee,ki as ra,kr as ia,kt as aa,l as oa,ln as sa,lr as ca,lt as la,m as ua,mr as da,mt as fa,nr as pa,nt as ma,ot as ha,pt as ga,qn as _a,qr as va,ri as ya,rr as ba,rt as xa,st as Sa,tt as Ca,u as wa,ui as Ta,ur as Ea,ut as Da,vn as Oa,vr as ka,vt as Aa,w as ja,wi as Ma,wr as Na,xt as Pa,yi as Fa,yn as Ia,yr as ree,yt as La,zi as iee,zn as aee,zt as Ra}from"./zui-DOoELEC6.js";import{n as za,r as Ba,t as Va}from"./index-DDM43wqV.js";import{i as Ha,n as Ua,r as Wa,t as Ga}from"./Index-C7FdScoQ.js";import"./Index-CKRr9dLS.js";import{i as Ka,o as qa,s as Ja}from"./Types-C-krRx-E.js";import{a as Ya,i as Xa,n as Za,t as Qa}from"./Types-DQEx-yPI.js";import{a as $a,c as eo,i as to,n as no,o as ro,r as io,s as ao}from"./Types-DqrOQaPJ.js";import{$ as oo,$r as so,An as co,Ar as lo,Bn as uo,C as fo,Cn as po,Dn as mo,Dt as ho,Fr as go,Gr as _o,H as vo,Ht as yo,I as bo,Ir as xo,Jr as So,Kr as Co,Lr as wo,M as To,Nt as Eo,On as Do,Or as Oo,Q as ko,Qr as Ao,Rt as jo,S as Mo,Sr as No,Tn as Po,Vn as Fo,Wr as Io,Xr as Lo,Yr as Ro,Zr as oee,_n as see,a as cee,ai as lee,bi as uee,ci as dee,cn as zo,di as Bo,ei as Vo,en as Ho,f as Uo,fi as Wo,gn as Go,i as Ko,ii as qo,in as Jo,j as Yo,jr as Xo,k as Zo,li as Qo,lt as $o,m as es,mn as ts,o as ns,on as rs,qr as is,r as as,ri as os,si as ss,tn as cs,ui as ls,ut as us,vi as ds,wn as fs,x as ps,xn as ms,y as hs,zt as gs}from"./Link-vTggl_8u.js";import{a as B,c as _s,d as vs,f as ys,i as bs,l as xs,n as Ss,o as Cs,p as ws,r as Ts,t as Es,u as Ds}from"./ProductType-pD1ql-pg.js";import{c as Os,d as ks,f as As,g as js,h as Ms,i as Ns,l as Ps,m as Fs,n as Is,o as Ls,p as Rs,s as zs}from"./Format-Db0p69TU.js";import{c as Bs,d as Vs,i as Hs,o as Us,r as Ws,t as Gs,u as Ks}from"./FeatureWhiteList-BD-YQZgP.js";import"./project-CKRr9dLS.js";import{_ as qs,b as Js,c as Ys,d as Xs,f as Zs,g as Qs,i as $s,l as ec,m as tc,n as nc,p as rc,u as ic,v as ac,y as oc}from"./Date-BfEukOmQ.js";import{t as sc}from"./atom-CLh57C1b.js";import{i as cc,n as lc,o as uc}from"./Types-CU5n401v.js";import{i as dc,n as fc,r as pc,t as mc}from"./byoc-D_F-vOxy.js";import{i as hc}from"./Types-F9AxxZkk.js";import{c as gc,i as _c,l as vc,n as yc,o as bc,r as xc,s as Sc,t as Cc,u as wc}from"./metaData-DNsWwf5S.js";import{r as Tc}from"./useDataPlanes-Bp7wti0m.js";import{a as Ec,i as Dc,n as Oc,r as kc,t as Ac}from"./onboard-5tgf57R1.js";import{t as jc}
2from"./CloudProviderImage-D1u09bb4.js";import{t as Mc}from"./Index-ntE1UJf-.js";import{a as Nc,i as Pc,n as Fc,r as Ic,t as Lc}from"./account-jdTNFWe-.js";import{n as Rc,t as zc}from"./Types-BHZDgAv6.js";import{i as Bc,t as Vc}from"./Types-DZdhemN1.js";import{a as Hc,c as Uc,f as Wc,i as Gc,n as Kc,s as qc,t as Jc,u as Yc}from"./Collection-CJNk5Zfa.js";import{n as Xc,t as Zc}from"./Permission-mBSbg6Nx.js";import{$ as Qc,C as $c,E as el,G as tl,K as nl,O as rl,Q as il,R as al,U as ol,Y as sl,a as cl,b as V,h as ll,j as ul,k as dl,l as fl,nt as pl,o as ml,q as hl,rt as gl,s as _l,t as vl,tt as yl,u as fee,w as pee,x as bl,y as xl,z as Sl}from"./Milvus-BARhhkp1.js";import{a as Cl,i as wl,r as Tl,s as El}from"./Types-DE2D7zuV.js";import{t as mee}from"./FieldSchema-C51yvygy.js";import{a as hee,c as gee,i as _ee,n as vee,r as yee,s as bee,t as xee}from"./volume-BCRRBVLq.js";import{t as Dl}from"./collection-Bb8hdHeM.js";import{A as Ol,D as kl,F as Al,M as jl,N as Ml,O as Nl,S as Pl,_ as Fl,b as Il,c as Ll,d as Rl,g as See,h as Cee,i as zl,j as Bl,l as Vl,o as Hl,p as Ul,r as Wl,t as Gl,v as Kl}from"./useCollections-Fone6zCk.js";import{n as ql,t as Jl}from"./Types-DX6Qwl6U.js";import{n as Yl,r as Xl,t as Zl}from"./database-Bf9bNRNg.js";import{n as Ql,r as $l}from"./files-BhQwiy3T.js";import{t as eu}from"./Sort-BysUYKsZ.js";import{t as tu}from"./Index-DT7tDAXk.js";import{t as nu}from"./DocLink-VfzWbO-u.js";import{t as ru}from"./FormSelect-CveCQSRc.js";import{t as iu}from"./FormTextField-VMp3Ys07.js";import{t as au}from"./ByocOrgContainer-ICFOr8fK.js";import{t as ou}from"./OrgWhitelist-qs_oRyPk.js";import{t as su}from"./ViewJobs-DuXt8gNi.js";import{t as cu}from"./Index-QGCORNyv.js";import{n as lu,t as uu}from"./timezone-MWLMvuf_.js";import{t as wee}from"./utils-BdDJ3-Tt.js";import{a as Tee,i as du,n as Eee,r as Dee,t as Oee}from"./TTL-BN7nfYH1.js";import{n as fu,t as pu}from"./latestBetaVersion-CBpZ9thT.js";import{a as mu,n as hu,r as gu}from"./external-C52b6RSV.js";import{_ as _u,g as vu,x as yu,y as bu}from"./Consts-BzdR5OcP.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var H=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,xu=globalThis,Su=`10.73.0`;function Cu(){return wu(xu),xu}function wu(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.73.0`,t[Su]=t[`10.73.0`]||{}}function Tu(e,t,n=xu){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[Su]=r[`10.73.0`]||{};return i[e]||(i[e]=t())}var Eu=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],Du=`Sentry Logger `,Ou={};function ku(e){if(!(`console`in xu))return e();let t=xu.console,n={},r=Object.keys(Ou);r.forEach(e=>{let r=Ou[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function Au(){Lu().enabled=!0}function ju(){Lu().enabled=!1}function Mu(){return Lu().enabled}function Nu(...e){Iu(`log`,...e)}function Pu(...e){Iu(`warn`,...e)}function Fu(...e){Iu(`error`,...e)}function Iu(e,...t){H&&Mu()&&ku(()=>{xu.console[e](`${Du}[${e}]:`,...t)})}function Lu(){return H?Tu(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var U={enable:Au,disable:ju,isEnabled:Mu,log:Nu,warn:Pu,error:Fu},Ru=50,zu=/\(error: (.*)\)/,Bu=/captureMessage|captureException/;function Vu(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(` 3`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=zu.test(n)?n.replace(zu,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=Ru+r)break}}return Uu(i.slice(r))}}function Hu(e){return Array.isArray(e)?Vu(...e):e}function Uu(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(Wu(t).function||``)&&t.pop(),t.reverse(),Bu.test(Wu(t).function||``)&&(t.pop(),Bu.test(Wu(t).function||``)&&t.pop()),t.slice(0,Ru).map(e=>({...e,filename:e.filename||Wu(t).filename,function:e.function||`?`}))}function Wu(e){return e[e.length-1]||{}}var Gu=`<anonymous>`;function Ku(e){try{return!e||typeof e!=`function`?Gu:e.name||Gu}catch{return Gu}}function qu(e){let t=e.exception;if(t){let e=[];
3try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}var Ju={},Yu={};function Xu(e,t){return Ju[e]=Ju[e]||[],Ju[e].push(t),()=>{let n=Ju[e];if(n){let e=n.indexOf(t);e!==-1&&n.splice(e,1)}}}function Zu(e,t){if(!Yu[e]){Yu[e]=!0;try{t()}catch(t){H&&U.error(`Error while instrumenting ${e}`,t)}}}function Qu(e,t){let n=e&&Ju[e];if(n)for(let r of n)try{r(t)}catch(t){H&&U.error(`Error while triggering instrumentation handler. 4Type: ${e} 5Name: ${Ku(r)} 6Error:`,t)}}var $u=null;function ed(e){let t=`error`;Xu(t,e),Zu(t,td)}function td(){$u=xu.onerror,xu.onerror=function(e,t,n,r,i){return Qu(`error`,{column:r,error:i,line:n,msg:e,url:t}),$u?$u.apply(this,arguments):!1},xu.onerror.__SENTRY_INSTRUMENTED__=!0}var nd=null;function rd(e){let t=`unhandledrejection`;Xu(t,e),Zu(t,id)}function id(){nd=xu.onunhandledrejection,xu.onunhandledrejection=function(e){return Qu(`unhandledrejection`,e),nd?nd.apply(this,arguments):!0},xu.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var ad=Object.prototype.toString;function od(e){switch(ad.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return yd(e,Error)}}function sd(e,t){return ad.call(e)===`[object ${t}]`}function cd(e){return sd(e,`ErrorEvent`)}function ld(e){return sd(e,`DOMError`)}function ud(e){return sd(e,`DOMException`)}function dd(e){return sd(e,`String`)}function fd(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function pd(e){return e===null||fd(e)||typeof e!=`object`&&typeof e!=`function`}function md(e){return sd(e,`Object`)}function hd(e){return typeof e==`object`&&!!e}function gd(e){return typeof Event<`u`&&yd(e,Event)}function _d(e){return sd(e,`RegExp`)}function vd(e){return!!(e?.then&&typeof e.then==`function`)}function yd(e,t){try{return e instanceof t}catch{return!1}}function bd(e){return typeof Request<`u`&&yd(e,Request)}function xd(e,t,n){if(!(t in e))return;let r=e[t];if(typeof r!=`function`)return;let i=n(r);typeof i==`function`&&Cd(i,r);try{e[t]=i}catch{H&&U.log(`Failed to replace method "${t}" in object`,e)}}function Sd(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{H&&U.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function Cd(e,t){try{e.prototype=t.prototype=t.prototype||{},Sd(e,`__sentry_original__`,t)}catch{}}function wd(e){return e.__sentry_original__}function Td(e){if(od(e))return{message:e.message,name:e.name,stack:e.stack,...Ed(e)};if(gd(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...Ed(e)}}return e}function Ed(e){return hd(e)?Object.fromEntries(Object.entries(e)):{}}function kee(e){let t=Object.keys(Td(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}var Dd;function Od(e){if(Dd!==void 0)return Dd?Dd(e):e();let t=Symbol.for(`__SENTRY_SAFE_RANDOM_ID_WRAPPER__`),n=xu;return t in n&&typeof n[t]==`function`?(Dd=n[t],Dd(e)):(Dd=null,e())}function kd(){return Od(()=>Math.random())}function Ad(){return Od(()=>Date.now())}var Aee=Symbol.for(`sentry.skipNormalization`),jee=Symbol.for(`sentry.overrideNormalizationDepth`);function Mee(e){return!!e[Aee]}function Nee(e){let t=e[jee];return typeof t==`number`?t:void 0}var jd;function Md(e){jd=e}function Nd(e,t=100,n=1/0){try{return Fd(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Pd(e,t=3,n=100*1024){let r=Nd(e,t);return Rd(r)>n?Pd(e,t-1,n):r}function Fd(e,t,n=1/0,r=1/0,i=zd()){let[a,o]=i;if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=Id(e,t);if(!s.startsWith(`[object `))return s;if(Mee(t))return t;let c=Nee(t),l=c===void 0?n:c;if(l===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let u=t;if(u&&typeof u.toJSON==`function`)try{return Fd(``,u.toJSON(),l-1,r,i)}catch{}let d=Array.isArray(t)?[]:{},f=0,p=Td(t);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=r){d[e]=`[MaxProperties ~]`;break}let t=p[e];d[e]=Fd(e,t,l-1,r,i),f++}return o(t),d}function Id(e,t){try{if(jd){let e=jd(t);if(e)return e}return typeof global<`u`&&t===global?`[Global]`:typeof t==`number`&&!Number.isFinite(t)?`[${t}]`:typeof t==`function`?`[Function: ${Ku(t)}]`:typeof t==`symbol`?`[${String(t)}]`:typeof t==`bigint`?`[BigInt: ${String(t)}]`:`[object ${Pee(t)}]`}catch(e){return`**non-serializable** (${e})`}}function Pee(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function Ld(e){return~-encodeURI(e).split(/%..|./).length}function Rd(e){return Ld(JSON.stringify(e))}function zd(){let e=new WeakSet;function t(t){return e.has(t)?!0:(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}function Bd(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Vd(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];pd(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(Id(void 0,r))}return n.join(t)}function Hd(e,t,n=!1){return dd(e)?_d(t)?t.test(e):dd(t)?n?e===t:e.includes(t):typeof t==`function`?t(e):!1:!1}function Ud(e,t=[],n=!1){for(let r of t)if(Hd(e,r,n))return!0;return!1}function Wd(){let e=xu;return e.crypto||e.msCrypto}var Gd;function Kd(){return kd()*16}function qd(e=Wd()){try{if(e?.randomUUID)return Od(()=>e.randomUUID()).replace(/-/g,``)}catch{}return Gd||=`10000000100040008000100000000000`,Gd.replace(/[018]/g,e=>(e^(Kd()&15)>>e/4).toString(16))}function Jd(e){return e.exception?.values?.[0]}function Yd(e){let{message:t,event_id:n}=e;if(t)return t;let r=Jd(e);return r?r.type&&r.value?`${r.type}: ${r.value}
6`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function Xd(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||=t||``,a.type||=n||`Error`}function Zd(e,t){let n=Jd(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i?.data,...t.data};n.mechanism.data=e}}function Qd(e){if($d(e))return!0;try{Sd(e,`__sentry_captured__`,!0)}catch{}return!1}function $d(e){try{return e.__sentry_captured__}catch{}}var ef=1e3;function tf(){return Ad()/ef}function nf(){let{performance:e}=xu;if(!e?.now||!e.timeOrigin)return tf;let t=e.timeOrigin;return()=>(t+Od(()=>e.now()))/ef}var rf;function af(){return(rf??=nf())()}var of=null;function sf(){let{performance:e}=xu;if(!e?.now)return;let t=3e5,n=Od(()=>e.now()),r=Ad(),i=e.timeOrigin;if(typeof i==`number`&&Math.abs(i+n-r)<t)return i;let a=e.timing?.navigationStart;return typeof a==`number`&&Math.abs(a+n-r)<t?a:r-n}function cf(){return of===null&&(of=sf()),of}function lf(e){let t=af(),n={sid:qd(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>ff(n)};return e&&uf(n,e),n}function uf(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||af(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:qd()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function df(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),uf(e,n)}function ff(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function pf(e,t,n=2){if(!t||typeof t!=`object`||n<=0)return t;if(e&&Object.keys(t).length===0)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=pf(r[e],t[e],n-1));return r}function mf(){return qd()}function hf(){return qd().substring(16)}function gf(e){try{let t=xu.WeakRef;if(typeof t==`function`)return new t(e)}catch{}return e}function _f(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}var vf=`_sentrySpan`;function yf(e,t){t?Sd(e,vf,gf(t)):delete e[vf]}function bf(e){return _f(e[vf])}var xf=100,Sf=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:mf(),sampleRand:kd()}}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,yf(t,bf(this)),t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&uf(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let n=typeof t==`function`?t(this):t,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u,conversationId:d}=(n instanceof e?n.getScopeData():md(n)?t:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,yf(this,void 0),this._attachments=[],this.setPropagationContext({traceId:mf(),sampleRand:kd()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:xf;if(n<=0)return this;let r={timestamp:tf(),...e,message:e.message?Bd(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent(`buffer_overflow`,`log_item`)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:bf(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=pf(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||qd();if(!this._client)return H&&U.warn(`No client configured on scope - will not capture exception!`),n;let r=Error(`Sentry syntheticException`);return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||qd();if(!this._client)return H&&U.warn(`No client configured on scope - will not capture message!`),r;let i=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=e.event_id||t?.event_id||qd();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(H&&U.warn(`No client configured on scope - will not capture event!`),n)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEac
6h(e=>{e(this)}),!1)}};function Cf(){return Tu(`defaultCurrentScope`,()=>new Sf)}function wf(){return Tu(`defaultIsolationScope`,()=>new Sf)}var Tf=e=>e instanceof Promise&&!e[Ef],Ef=Symbol(`chained PromiseLike`),Df=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return Tf(r)&&Tf(e)?r:Of(e,r)},Of=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];typeof i==`function`?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[Ef]:!0}),t},kf=class{constructor(e,t){let n;n=e||new Sf;let r;r=t||new Sf,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t=this._pushScope(),n;try{n=e(t)}catch(e){throw this._popScope(),e}return vd(n)?Df(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function Af(){let e=wu(Cu());return e.stack=e.stack||new kf(Cf(),wf())}function jf(e){return Af().withScope(e)}function Mf(e,t){let n=Af();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Nf(e){return Af().withScope(()=>e(Af().getIsolationScope()))}function Pf(){return{withIsolationScope:Nf,withScope:jf,withSetScope:Mf,withSetIsolationScope:(e,t)=>Nf(t),getCurrentScope:()=>Af().getScope(),getIsolationScope:()=>Af().getIsolationScope()}}function Ff(e){let t=wu(e);return t.acs?t.acs:Pf()}function If(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).includes(`value`)}function Lf(e,t){let{value:n,unit:r}=If(e)?e:{value:e,unit:void 0},i=zf(n),a=r&&typeof r==`string`?{unit:r}:{};if(i)return{...i,...a};if(!t||t===`skip-undefined`&&n===void 0)return;let o=``;try{o=JSON.stringify(n)??``}catch{}return{value:o,type:`string`,...a}}function Rf(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=Lf(i,t);e&&(n[r]=e)}return n}function zf(e){if(Array.isArray(e))return{value:e,type:`array`};let t=typeof e==`string`?`string`:typeof e==`boolean`?`boolean`:typeof e==`number`&&!Number.isNaN(e)?Number.isInteger(e)?`integer`:`double`:null;if(t)return{value:e,type:t}}var Bf;function Vf(){return Bf?.()}function Hf(){return Bf!==void 0}function Uf(){return Ff(Cu()).getCurrentScope()}function Wf(){return Ff(Cu()).getIsolationScope()}function Gf(){return Tu(`globalScope`,()=>new Sf)}function Kf(...e){let t=Ff(Cu());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function qf(){return Uf().getClient()}function Jf(e){let t=Vf();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:i}=e.getPropagationContext(),a={trace_id:n,span_id:i||hf()};return r&&(a.parent_span_id=r),a}var Yf=`sentry.source`,Xf=`sentry.sample_rate`,Zf=`sentry.previous_trace_sample_rate`,Qf=`sentry.op`,$f=`sentry.origin`,ep=`sentry.idle_span_finish_reason`,tp=`sentry.measurement_unit`,np=`sentry.measurement_value`,rp=`sentry.custom_span_name`,ip=`sentry.profile_id`,ap=`sentry.exclusive_time`,op=`sentry.link.type`,sp=`gen_ai.conversation.id`;function cp(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:`unauthenticated`};case 403:return{code:2,message:`permission_denied`};case 404:return{code:2,message:`not_found`};case 409:return{code:2,message:`already_exists`};case 413:return{code:2,message:`failed_precondition`};case 429:return{code:2,message:`resource_exhausted`};case 499:return{code:2,message:`cancelled`};default:return{code:2,message:`invalid_argument`}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:`unimplemented`};case 503:return{code:2,message:`unavailable`};case 504:return{code:2,message:`deadline_exceeded`};default:return{code:2,message:`internal_error`}}return{code:2,message:`internal_error`}}function lp(e,t){e.setAttribute(`http.response.status_code`,t);let n=cp(t);n.message!==`unknown_error`&&e.setStatus(n)}var up=`_sentryScope`,dp=`_sentryIsolationScope`,fp=Symbol.for(`sentry.otelSourceInference`),pp=Symbol.for(`sentry.otelSourceExplicitlySet`),mp=Symbol.for(`sentry.tracerProviderSpan`);function hp(e,t,n){e&&(Sd(e,dp,gf(n)),Sd(e,up,t))}function gp(e){let t=e;return{scope:t[up],isolationScope:_f(t[dp])}}function _p(e){return e[fp]===!0}function vp(e){Sd(e,pp,!0)}function yp(e){return e[mp]===!0}var bp=`sentry-`;function xp(e){let t=Cp(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(`sentry-`)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function Sp(e){if(e)return Tp(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${bp}${t}`]=n),e),{}))}function Cp(e){if(!(!e||!dd(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>
6{let n=wp(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):wp(e)}function wp(e){return e.split(`,`).map(e=>{let t=e.indexOf(`=`);return t===-1?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function Tp(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((e,[t,n],r)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=r===0?i:`${e},${i}`;return a.length>8192?(H&&U.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a},``)}var Ep=/^o(\d+)\./,Dp=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Op(e){return e===`http`||e===`https`}function kp(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function Ap(e){let t=Dp.exec(e);if(!t){ku(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a=``,o=``,s=``]=t.slice(1),c=``,l=s,u=l.split(`/`);if(u.length>1&&(c=u.slice(0,-1).join(`/`),l=u.pop()),l){let e=l.match(/^\d+/);e&&(l=e[0])}return jp({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function jp(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function Mp(e){if(!H)return!0;let{port:t,projectId:n,protocol:r}=e;return[`protocol`,`publicKey`,`host`,`projectId`].find(t=>e[t]?!1:(U.error(`Invalid Sentry Dsn: ${t} missing`),!0))?!1:n.match(/^\d+$/)?Op(r)?t&&isNaN(parseInt(t,10))?(U.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(U.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(U.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Np(e){return e.match(Ep)?.[1]}function Pp(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=Np(n)),r}function Fp(e){let t=typeof e==`string`?Ap(e):jp(e);if(!(!t||!Mp(t)))return t}function Ip(e){if(typeof e==`boolean`)return Number(e);let t=typeof e==`string`?parseFloat(e):e;if(!(typeof t!=`number`||isNaN(t)||t<0||t>1))return t}var Lp=RegExp(`^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$`);function Rp(e){if(!e)return;let t=e.match(Lp);if(!t)return;let n;return t[3]===`1`?n=!0:t[3]===`0`&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function zp(e,t){let n=Rp(e),r=xp(t);if(!n?.traceId)return{traceId:mf(),sampleRand:kd()};let i=Hp(n,r);r&&(r.sample_rand=i.toString());let{traceId:a,parentSpanId:o,parentSampled:s}=n;return{traceId:a,parentSpanId:o,sampled:s,dsc:r||{},sampleRand:i}}function Bp(e=mf(),t=hf(),n){let r=``;return n!==void 0&&(r=n?`-1`:`-0`),`${e}-${t}${r}`}function Vp(e=mf(),t=hf(),n){return`00-${e}-${t}-${n?`01`:`00`}`}function Hp(e,t){let n=Ip(t?.sample_rand);if(n!==void 0)return n;let r=Ip(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?kd()*r:r+kd()*(1-r):kd()}var Up=!1;function Wp(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s,links:c}=Qp(e);return{parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s,links:c}}function Gp(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:Qp(e).parent_span_id,a=gp(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||hf():t,trace_id:n}}function Kp(e){let{traceId:t,spanId:n}=e.spanContext();return Bp(t,n,im(e))}function qp(e){let{traceId:t,spanId:n}=e.spanContext();return Vp(t,n,im(e))}function Jp(e){if(e&&e.length>0)return e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===1,attributes:i,...r}))}function Yp(e){if(e?.length)return e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:n===1,attributes:r}))}function Xp(e){return typeof e==`number`?Zp(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Zp(e.getTime()):af()}function Zp(e){return e>9999999999?e/1e3:e}function Qp(e){if(rm(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(nm(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:em(e),start_timestamp:Xp(i),timestamp:Xp(o)||void 0,status:am(s),op:r[Qf],origin:r[$f],links:Jp(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function $p(e){if(rm(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(nm(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{name:a,span_id:t,trace_id:n,parent_span_id:em(e),start_timestamp:Xp(i),end_timestamp:Xp(o),is_segment:e===mm(e),status:om(s),attributes:sm(r,s),links:Yp(c)}}return{span_id:t,trace_id:n,start_timestamp:0,name:``,end_timestamp:0,status:`ok`,is_segment:e===mm(e)}}function em(e){return`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0}function tm(e){return{...e,attributes:Rf(e.attributes),links:e.links?.map(e=>({...e,attributes:Rf(e.attributes)}))}}function nm(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function rm(e){return typeof e.getSpanJSON==`function`}function im(e){let{traceFlags:t}=e.spanContext();return t===1}function am(e){if(!(!e||e.code===0))return e.code===1?`ok`:e.message||`internal_error`}function om(e){return!e||e.code===1||e.code===0||e.message===`cancelled`?`ok`:`error`}function sm(e,t){let n=om(t)===`error`?t?.message:void 0;return{...n&&{"sentry.status.message":n},...e}}var cm=`_sentryChildSpans`,lm=`_sentryRootSpan`;function um(e,t){let n=e[lm]||e;Sd(t,lm,n),im(e)&&(!e.isRecording()&&!n.isRecording()||(e[cm]?e[cm].add(t):Sd(e,cm,new Set([t]))))}function dm(e,t){e[cm]&&e[cm].delete(t)}function fm(e){let t=new Set;function n(e){if(!t.has(e)&&im(e)){t.add(e);let r=e[cm]?Array.from(e[cm]):[];for(let e of r)n(e)}}return n(e),Array.from(t)}var pm=mm;function mm(e){return e[lm]||e}function hm(){let e=Ff(Cu());return e.getActiveSpan?e.getActiveSpan():bf(Uf())}function gm(){Up||=(ku(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),!0)}var _m=!1;function vm(){if(_m)return;function e(){let e=hm(),t=e&&pm(e);if(t){let e=`internal_error`;H&&U.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:2,message:e})}}_m=!0,ed(e),rd(e)}function ym(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||qf()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function bm(e){U.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function xm(e,t){if(!t?.length)return!1;for(let n of t){if(wm(n)){if(e.description&&Hd(e.description,n))return H&&bm(e),!0;continue}let t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;let r=n.name?e.description&&Hd(e.description,n.name):!0,i=n.op?e.op&&Hd(e.op,n.op):!0,a=n.attributes?Object.entries(n.attributes).every(([t,n])=>Sm(e.attributes?.[t],n)):!0;if(r&&i&&a)return H&&bm(e),!0}return!1}function Sm(e,t){return typeof e==`string`&&(typeof t==`string`||t instanceof RegExp)?Hd(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}function Cm(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}function wm(e){return typeof e==`string`||e instanceof RegExp}var Tm=Symbol.for(`sentry.nonRecordingSpan`),Em=class{constructor(e={}){this._traceId=e.traceId||mf(),this._spanId=e.spanId||hf(),this.dropReason=e.dropReason,Sd(this,Tm,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}
6addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}};function Dm(e){return!!e&&e[Tm]===!0}var Om=`production`,km=`_frozenDsc`;function Am(e,t){Sd(e,km,t)}function jm(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||`production`,release:n.release,public_key:r,trace_id:e,org_id:Pp(t)};return t.emit(`createDsc`,i),i}function Mm(e,t){let n=t.getPropagationContext();return n.dsc||jm(n.traceId,e)}function Nm(e){let t=qf();if(!t)return{};let n=pm(e),r=Qp(n),i=r.data,a=n.spanContext().traceState,o=a?.get(`sentry.sample_rate`)??i[`sentry.sample_rate`]??i[`sentry.previous_trace_sample_rate`];function s(e){return(typeof o==`number`||typeof o==`string`)&&(e.sample_rate=`${o}`),e}let c=n[km];if(c)return s(c);let l=Dm(n),u=l&&n.dropReason===`ignored`;if(l&&(!ym(t.getOptions())||u)){let e=gp(n).scope;if(e){let n={...Mm(t,e)};return u&&(n.sampled=`false`),s(n)}}let d=a?.get(`sentry.dsc`),f=d&&xp(d);if(f)return s(f);let p=jm(e.spanContext().traceId,t),m=i[`sentry.source`]??i[`sentry.segment.name.source`],h=r.description;return m!==`url`&&h&&(p.transaction=h),ym()&&(p.sampled=String(im(n)),p.sample_rand=a?.get(`sentry.sample_rand`)??gp(n).scope?.getPropagationContext().sampleRand.toString()),s(p),t.emit(`createDsc`,p,n),p}function Pm(e){return!!e&&typeof e==`function`&&`_streamed`in e&&!!e._streamed}function Fm(e,t=[]){return[e,t]}function Im(e,t){let[n,r]=e;return[n,[...r,t]]}function Lm(e,t){let n=e[1];for(let e of n){let n=e[0].type;if(t(e,n))return!0}return!1}function Rm(e,t){return Lm(e,(e,n)=>t.includes(n))}function zm(e){let t=wu(xu);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function Bm(e){let[t,n]=e,r=JSON.stringify(t);function i(e){typeof r==`string`?r=typeof e==`string`?r+e:[zm(r),e]:r.push(typeof e==`string`?zm(e):e)}for(let e of n){let[t,n]=e;if(i(` 7${JSON.stringify(t)} 8`),typeof n==`string`||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(Nd(n))}i(e)}}return typeof r==`string`?r:Fee(r)}function Fee(e){let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function Iee(e){return[{type:`span`},e]}function Lee(e){let t=typeof e.data==`string`?zm(e.data):e.data;return[{type:`attachment`,length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}var Vm={sessions:`session`,event:`error`,client_report:`internal`,user_report:`default`,profile_chunk:`profile`,replay_event:`replay`,replay_recording:`replay`,check_in:`monitor`,raw_security:`security`,log:`log_item`,trace_metric:`metric`};function Ree(e){return e in Vm}function Hm(e){return Ree(e)?Vm[e]:e}function Um(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function zee(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(Ad()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:kp(r)},...i&&{trace:i}}}function Bee(e,t){if(!t)return e;let n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function Vee(e,t,n,r){let i=Um(n);return Fm({sent_at:new Date(Ad()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:kp(t)}},[`aggregates`in e?[{type:`sessions`},e]:[{type:`session`},e.toJSON()]])}function Hee(e,t,n,r){let i=Um(n),a=e.type&&e.type!==`replay_event`?e.type:`event`;Bee(e,n?.sdk);let o=zee(e,i,r,t);return delete e.sdkProcessingMetadata,Fm(o,[[{type:a},e]])}function Uee(e,t){function n(e){return!!e.trace_id&&!!e.public_key}let r=Nm(e[0]),i=t?.getDsn(),a=t?.getOptions().tunnel,o={sent_at:new Date(Ad()).toISOString(),...n(r)&&{trace:r},...!!a&&i&&{dsn:kp(i)}},{beforeSendSpan:s,ignoreSpans:c}=t?.getOptions()||{},l=c?.length?e.filter(e=>{let t=Qp(e);return!xm({description:t.description,op:t.op,attributes:t.data},c)}):e,u=e.length-l.length;u&&t?.recordDroppedEvent(`before_send`,`span`,u);let d=s?e=>{let t=Qp(e);return(Pm(s)?t:s(t))||(gm(),t)}
8:Qp,f=[];for(let e of l){let t=d(e);t&&f.push(Iee(t))}return Fm(o,f)}function Wee(e){if(!H)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`,parent_span_id:r}=Qp(e),{spanId:i}=e.spanContext(),a=im(e),o=pm(e),s=o===e,c=`[Tracing] Starting ${a?`sampled`:`unsampled`} ${s?`root `:``}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&l.push(`parent ID: ${r}`),!s){let{op:e,description:t}=Qp(o);l.push(`root ID: ${o.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}U.log(`${c} 9 ${l.join(` 10 `)}`)}function Gee(e){if(!H)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`}=Qp(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${pm(e)===e?`root `:``}span "${t}" with ID ${r}`;U.log(i)}function Wm(e,t,n,r=hm()){let i=r&&pm(r);i&&(H&&U.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),i.addEvent(e,{[np]:t,[tp]:n}))}function Gm(e){if(!e||e.length===0)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[tp],i=n[np];typeof r==`string`&&typeof i==`number`&&(t[e.name]={value:i,unit:r})}),t}function Km(){return wu(Cu()).segmentSpanCaptureStrategy}function qm(e){return e.getOptions().traceLifecycle===`stream`}var Jm=1e3,Ym=class{constructor(e={}){this._traceId=e.traceId||mf(),this._spanId=e.spanId||hf(),this._startTime=e.startTimestamp||af(),this._links=e.links,this._attributes={},this.setAttributes({[$f]:`manual`,[Qf]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),`sampled`in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:+!!n}}setAttribute(e,t){return this._frozen?this:(t===void 0?delete this._attributes[e]:this._attributes[e]=t,e===`sentry.source`&&t!==void 0&&_p(this)&&vp(this),this)}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=Xp(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen?this:(this._name=e,_p(this)||this.setAttribute(Yf,`custom`),this)}end(e){if(this._endTime){this._frozen=yp(this);return}this._endTime=Xp(e),Gee(this),this._onSpanEnded(),this._frozen=yp(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[Qf],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:am(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[$f],profile_id:this._attributes[ip],exclusive_time:this._attributes[ap],measurements:Gm(this._events),is_segment:this._isStandaloneSpan&&pm(this)===this||void 0,segment_id:this._isStandaloneSpan?pm(this).spanContext().spanId:void 0,links:Jp(this._links)}}getStreamedSpanJSON(){return{name:this._name??``,span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===pm(this),status:om(this._status),attributes:sm(this._attributes,this._status),links:Yp(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;H&&U.log(`[Tracing] Adding an event to span:`,e);let r=Xm(t)?t:n||af(),i=Xm(t)?{}:t||{},a={name:e,time:Xp(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=qf();e&&(e.emit(`spanEnd`,this),this._isStandaloneSpan||e.emit(`afterSpanEnd`,this));let t=pm(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan){this._sampled?qee(Uee([this],e)):(H&&U.log(`[Tracing] Discarding standalone span because its trace was not chosen to be sampled.`),e&&e.recordDroppedEvent(`sample_rate`,`span`));return}if(!n){let e=Km();if(e){let n=gp(this).scope||Uf();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&qm(e)){e.emit(`afterSegmentSpanEnd`,this);return}let r=gp(this).scope||Uf(),i=Km();if(i)i.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),r);else{let e=this._convertSpanToTransaction();e&&r.captureEvent(e)}}_convertSpanToTransaction(e={}){if(!Zm(Qp(this)))return;this._name||=(H&&U.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),`<unlabeled transaction>`);let{scope:t,isolationScope:n}=gp(this),r=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;e.onSpanCaptured?.(this);let i=[];for(let t of fm(this)){if(t===this||Kee(t)||e.isSpanAlreadyCaptured?.(t))continue;let n=Qp(t);Zm(n)&&(e.onSpanCaptured?.(t),i.push(n))}let a=this._attributes[Yf];delete this._attributes[rp];let o=!1;
10i.forEach(e=>{delete e.data[rp],e.op?.startsWith(`gen_ai.`)&&(o=!0)});let s={contexts:{trace:Wp(this)},spans:i.length>Jm?i.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,Jm):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:`transaction`,sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:Nm(this),hasGenAiSpans:o},request:r,...a&&{transaction_info:{source:a}}},c=Gm(this._events);return c&&Object.keys(c).length&&(H&&U.log(`[Measurements] Adding measurements to transaction event`,JSON.stringify(c,void 0,2)),s.measurements=c),s}};function Xm(e){return e&&typeof e==`number`||e instanceof Date||Array.isArray(e)}function Zm(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function Kee(e){return e instanceof Ym&&e.isStandaloneSpan()}function qee(e){let t=qf();if(!t)return;let n=e[1];if(!n||n.length===0){t.recordDroppedEvent(`before_send`,`span`);return}t.sendEnvelope(e)}function Jee(e,t,n){if(!ym(e))return[!1];let r,i;typeof e.tracesSampler==`function`?(i=e.tracesSampler({...t,inheritOrSampleWith:e=>typeof t.parentSampleRate==`number`?t.parentSampleRate:typeof t.parentSampled==`boolean`?Number(t.parentSampled):e}),r=!0):t.parentSampled===void 0?e.tracesSampleRate!==void 0&&(i=e.tracesSampleRate,r=!0):i=t.parentSampled;let a=Ip(i);if(a===void 0)return H&&U.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(i)} of type ${JSON.stringify(typeof i)}.`),[!1];if(!a)return H&&U.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler==`function`?`tracesSampler returned 0 or false`:`a negative sampling decision was inherited or tracesSampleRate is set to 0`}`),[!1,a,r];let o=n<a;return o||H&&U.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),[o,a,r]}var Yee=`__SENTRY_SUPPRESS_TRACING__`;function Qm(e){let t=rh();return t.startInactiveSpan?t.startInactiveSpan(e):Xee(e)}function Xee(e){let t=nh(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?t=>Kf(e.scope,t):r===void 0?e=>e():e=>$m(r,e))(()=>{let i=Uf(),a=oh(i,r),o=qf();return e.onlyIfParent&&!a?Zee(i,o):th({parentSpan:a,spanArguments:t,forceTransaction:n,scope:i})})}function $m(e,t){let n=rh();return n.withActiveSpan?n.withActiveSpan(e,t):Kf(n=>(yf(n,e||void 0),t(n)))}function eh(e=Uf()){let t=rh();return t.isTracingSuppressed?t.isTracingSuppressed(e):e.getScopeData().sdkProcessingMetadata[Yee]===!0}function Zee(e,t){t?.recordDroppedEvent(`no_parent_span`,`span`);let n=new Em({traceId:e.getPropagationContext().traceId});return hp(n,e,Wf()),n}function th({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){let i=Wf();if(!ym()){let t={...i.getPropagationContext(),...r.getPropagationContext()},a=new Em({traceId:e?e.spanContext().traceId:t.traceId});return e&&!n&&um(e,a),hp(a,r,i),a}let a=qf();if(sh(a,t)){eh(r)||a?.recordDroppedEvent(`ignored`,`span`);let t=new Em({dropReason:`ignored`,traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});return e&&!n&&um(e,t),hp(t,r,i),t}let o;if(e&&!n)o=ah(e,r,t,i),um(e,o);else if(e){let n=Nm(e),{traceId:a,spanId:s}=e.spanContext(),c=im(e);o=ih({traceId:a,parentSpanId:s,...t},r,i,c),Am(o,n)}else{let{traceId:e,dsc:n,parentSpanId:a,sampled:s}={...i.getPropagationContext(),...r.getPropagationContext()};o=ih({traceId:e,parentSpanId:a,...t},r,i,s),n&&Am(o,n)}return Wee(o),o}function nh(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=Xp(e.startTime),delete n.startTime,n}return t}function rh(){return Ff(Cu())}function ih(e,t,n,r){let i=qf(),a=i?.getOptions()||{},{name:o=``}=e,s={spanAttributes:{...e.attributes},spanName:o,parentSampled:r};i?.emit(`beforeSampling`,s,{decision:!1});let c=s.parentSampled??r,l=s.spanAttributes,u=t.getPropagationContext(),d=eh(t),[f,p,m]=d?[!1]:Jee(a,{name:o,parentSampled:c,attributes:l,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:Ip(u.dsc?.sample_rate)},u.sampleRand),h=new Ym({...e,attributes:{[Yf]:`custom`,[Xf]:p!==void 0&&m?p:void 0,...l},sampled:f});return!f&&i&&!d&&(H&&U.log(`[Tracing] Discarding root span because its trace was not chosen to be sampled.`),i.recordDroppedEvent(`sample_rate`,qm(i)?`span`:`transaction`)),hp(h,t,n),i&&i.emit(`spanStart`,h),h}function ah(e,t,n,r){let{spanId:i,traceId:a}=e.spanContext(),o=eh(t),s=o?!1:im(e),c=s?new Ym({...n,parentSpanId:i,traceId:a,sampled:s}):new Em({traceId:a});um(e,c),hp(c,t,r);let l=qf();return l?(qm(l)&&Dm(c)&&(Dm(e)&&e.dropReason?(c.dropReason=e.dropReason,l.recordDroppedEvent(e.dropReason,`span`)):o||(c.dropReason=`sample_rate`,l.recordDroppedEvent(`sample_rate`,`span`))),l.emit(`spanStart`,c),n.endTimestamp&&(l.emit(`spanEnd`,c),l.emit(`afterSpanEnd`,c)),c):c}function oh(e,t){if(t)return t;if(t===null)return;let n=bf(e);if(!n)return;let r=qf();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?pm(n):n}function sh(e,t){let n=e?.getOptions().ignoreSpans;return!e||!qm(e)||!n?.length?!1:xm({description:t.name||``,op:t.attributes?.[`sentry.op`]||t.op,attributes:t.attributes},n)}function ch(e){return Dm(e)&&e.dropReason===`ignored`}var lh={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},uh=`heartbeatFailed`,dh=`idleTimeout`,fh=`finalTimeout`,ph=`externalFinish`;function mh(e,t={}){let n=new Map,r=!1,i,a,o=ph,s=!t.disableAutoFinish,c=[],{idleTimeout:l=lh.idleTimeout,finalTimeout:u=lh.finalTimeout,childSpanTimeout:d=lh.childSpanTimeout,beforeSpanEnd:f,trimIdleSpanEndTimestamp:p=!0}=t,m=qf(),h=Uf();if(!m||!ym()){let e=new Em({traceId:h.getPropagationContext().traceId});return hp(e,h,Wf()),e}let g=hm(),_=hh(e);_.end=new Proxy(_.end,{apply(e,t,n){if(f&&f(_),Dm(t))return;let[r,...i]=n,a=Xp(r||af()),o=fm(_).filter(e=>e!==_),s=Qp(_);if(!o.length||!p)return w(a),Reflect.apply(e,t,[a,...i]);let c=m.getOptions().ignoreSpans,l=o?.reduce((e,t)=>
10{let n=Qp(t);return!n.timestamp||c&&xm({description:n.description,op:n.op,attributes:n.data},c)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),d=s.start_timestamp,h=Math.min(d?d+u/1e3:1/0,Math.max(d||-1/0,Math.min(a,l||1/0)));return w(h),Reflect.apply(e,t,[h,...i])}});function v(){i&&=(clearTimeout(i),void 0)}function y(){a&&=(clearTimeout(a),void 0)}function b(e){v(),i=setTimeout(()=>{!r&&n.size===0&&s&&(o=dh,_.end(e))},l)}function x(e){y(),a=setTimeout(()=>{!r&&s&&(o=uh,_.end(e))},d)}function S(e){v(),n.set(e,!0),x(af()+d/1e3)}function C(e){n.has(e)&&n.delete(e),n.size===0&&(b(af()+l/1e3),y())}function w(e){r=!0,n.clear(),c.forEach(e=>e()),yf(h,g);let t=Qp(_),{start_timestamp:i}=t;if(!i)return;t.data[`sentry.idle_span_finish_reason`]||_.setAttribute(ep,o);let a=t.status;(!a||a===`unknown`)&&_.setStatus({code:1}),U.log(`[Tracing] Idle span "${t.op}" finished`);let s=fm(_).filter(e=>e!==_),d=0;s.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:`cancelled`}),t.end(e),H&&U.log(`[Tracing] Cancelling span since span ended early`,JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=Qp(t),i=r<=e,a=(u+l)/1e3,o=n-r<=a;if(H){let e=JSON.stringify(t,void 0,2);i?o||U.log(`[Tracing] Discarding span since it finished after idle span final timeout`,e):U.log(`[Tracing] Discarding span since it happened after idle span was finished`,e)}(!o||!i)&&(dm(_,t),d++)}),d>0&&_.setAttribute(`sentry.idle_span_discarded_spans`,d)}return c.push(m.on(`spanStart`,e=>{r||e===_||Qp(e).timestamp||e instanceof Ym&&e.isStandaloneSpan()||fm(_).includes(e)&&S(e.spanContext().spanId)})),c.push(m.on(`spanEnd`,e=>{r||C(e.spanContext().spanId)})),c.push(m.on(`idleSpanEnableAutoFinish`,e=>{e===_&&(s=!0,b(),n.size&&x())})),t.disableAutoFinish||b(),setTimeout(()=>{r||(_.setStatus({code:2,message:`deadline_exceeded`}),o=fh,_.end())},u),_}function hh(e){let t=Qm(e);return yf(Uf(),t),H&&U.log(`[Tracing] Started span is an idle span`),t}function gh(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;bh(e,t),r&&Ch(e,r),wh(e,n),xh(e,i),Sh(e,a)}function _h(e,t){let{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:f,propagationContext:p,transactionName:m,span:h}=t;vh(e,`extra`,n),vh(e,`tags`,r),vh(e,`attributes`,i),vh(e,`user`,a),vh(e,`contexts`,o),e.sdkProcessingMetadata=pf(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function vh(e,t,n){e[t]=pf(e[t],n,1)}function yh(e,t){let n=Gf().getScopeData();return e&&_h(n,e.getScopeData()),t&&_h(n,t.getScopeData()),n}function bh(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&e.type!==`transaction`&&(e.transaction=s)}function xh(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function Sh(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Ch(e,t){e.contexts={trace:Gp(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Nm(t),...e.sdkProcessingMetadata};let n=Qp(pm(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function wh(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}var Th=`http.url`,Eh=`sentry.segment.name`,Dh=`sentry.transaction`,Oh=`url.full`;function kh(e,t){let n=e.attributes??={};Object.entries(t).forEach(([e,t])=>{t!=null&&!(e in n)&&(n[e]=t)})}var Ah=0,jh=1,Mh=2;function Nh(e){return new Fh(t=>{t(e)})}function Ph(e){return new Fh((t,n)=>{n(e)})}var Fh=class e{constructor(e){this._state=Ah,this._handlers=[],this._runExecutor(e)}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>
10{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(this._state===Ah)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===jh&&e[1](this._value),this._state===Mh&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===Ah){if(vd(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(jh,e)},r=e=>{t(Mh,e)};try{e(n,r)}catch(e){r(e)}}};function Ih(e,t,n,r=0){try{let i=Lh(t,n,e,r);return vd(i)?i:Nh(i)}catch(e){return Ph(e)}}function Lh(e,t,n,r){let i=n[r];if(!e||!i)return e;let a=i({...e},t);return H&&a===null&&U.log(`Event processor "${i.id||`?`}" dropped event`),vd(a)?a.then(e=>Lh(e,t,n,r+1)):Lh(a,t,n,r+1)}var Rh,zh,Bh,Vh;function Hh(e){let t=xu._sentryDebugIds,n=xu._debugIds;if(!t&&!n)return{};let r=t?Object.keys(t):[],i=n?Object.keys(n):[];if(Vh&&r.length===zh&&i.length===Bh)return Vh;zh=r.length,Bh=i.length,Vh={},Rh||={};let a=(t,n)=>{for(let r of t){let t=n[r],i=Rh?.[r];if(i&&Vh&&t)Vh[i[0]]=t,Rh&&(Rh[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e]?.filename;if(i&&Vh&&Rh){Vh[i]=t,Rh[r]=[i,t];break}}}}};return t&&a(r,t),n&&a(i,n),Vh}function Uh(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||qd(),timestamp:t.timestamp||tf()},l=n.integrations||e.integrations.map(e=>e.name);Wh(c,e),qh(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&Gh(c,e.stackParser);let u=Yh(r,n.captureContext);n.mechanism&&Zd(c,n.mechanism);let d=i?i.getEventProcessors():[],f=yh(a,u),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),gh(c,f);let m=[...d,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?Nh(c):Ih(m,c,n)).then(e=>(e&&Kh(e),typeof o==`number`&&o>0?Jh(e,o,s):e))}function Wh(e,t){let{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||`production`,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=Bd(o.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&=Bd(e.value,a)})}function Gh(e,t){let n=Hh(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function Kh(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:`sourcemap`,code_file:e,debug_id:t})})}function qh(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Jh(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:Nd(e.data,t,n)}}))},...e.user&&{user:Nd(e.user,t,n)},...e.contexts&&{contexts:Nd(e.contexts,t,n)},...e.extra&&{extra:Nd(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Nd(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:Nd(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=Nd(e.contexts.flags,3,n)),r}function Yh(e,t){if(!t)return e;let n=e?e.clone():new Sf;return n.update(t),n}function Xh(e){if(e)return Zh(e)||$h(e)?{captureContext:e}:e}function Zh(e){return e instanceof Sf||typeof e==`function`}var Qh=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function $h(e){return Object.keys(e).some(e=>Qh.includes(e))}function eg(e,t){return Uf().captureException(e,Xh(t))}function tg(e,t){return Uf().captureEvent(e,t)}function ng(e,t){Wf().setContext(e,t)}function rg(){let e=qf();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function ig(e){let t=Wf(),{user:n}=yh(t,Uf()),{userAgent:r}=xu.navigator||{},i=lf({user:n,...r&&{userAgent:r},...e}),a=t.getSession();return a?.status===`ok`&&uf(a,{status:`exited`}),ag(),t.setSession(i),i}function ag(){let e=Wf(),t=Uf().getSession()||e.getSession();t&&df(t),og(),e.setSession()}function og(){let e=Wf(),t=qf(),n=e.getSession();n&&t&&t.captureSession(n)}function sg(e=!1){if(e){ag();return}og()}function cg(e){return typeof e==`object`&&typeof e.unref==`function`&&e.unref(),e}function lg(e){let t=e.protocol?`${e.protocol}:`:``,n=e.port?`:${e.port}`:``;return`${t}//${e.host}${n}${e.path?`/${e.path}`:``}/api/`}function ug(e){return`${lg(e)}${e.projectId}/envelope/`}function dg(e,t){let n={sentry_version:`7`};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function fg(e,t,n){return t||`${ug(e)}?${dg(e,n)}`}var pg=[];function mg(e){let t={};
10return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}function hg(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n==`function`){let e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return mg(r)}function gg(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&vg(e,t,n)}),n}function _g(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function vg(e,t,n){if(n[t.name]){H&&U.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!pg.includes(t.name)&&typeof t.setupOnce==`function`&&(t.setupOnce(),pg.push(t.name)),t.setup&&typeof t.setup==`function`&&t.setup(e),typeof t.preprocessEvent==`function`){let n=t.preprocessEvent.bind(t);e.on(`preprocessEvent`,(t,r)=>n(t,r,e))}if(typeof t.processEvent==`function`){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}[`processSpan`,`processSegmentSpan`].forEach(n=>{let r=t[n];typeof r==`function`&&e.on(n,n=>r.call(t,n,e))}),H&&U.log(`Integration installed: ${t.name}`)}function yg(e){return e}function bg(){return typeof __SENTRY_BROWSER_BUNDLE__<`u`&&!!__SENTRY_BROWSER_BUNDLE__}function xg(){return`npm`}function Sg(){return!bg()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function Cg(){return typeof window<`u`&&(!Sg()||wg())}function wg(){return xu.process?.type===`renderer`}function Tg(e,t){let n=t?`auto`:`never`;return[{type:`log`,item_count:e.length,content_type:`application/vnd.sentry.items.log+json`},{version:2,...Cg()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Eg(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=kp(r)),Fm(a,[Tg(e,i)])}function Dg(e,t){let n=t??Og(e)??[];if(n.length===0)return;let r=e.getOptions(),i=Eg(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);kg().set(e,[]),e.emit(`flushLogs`),e.sendEnvelope(i)}function Og(e){return kg().get(e)}function kg(){return Tu(`clientToLogBufferMap`,()=>new WeakMap)}function Ag(e,t){let n=t?`auto`:`never`;return[{type:`trace_metric`,item_count:e.length,content_type:`application/vnd.sentry.items.trace-metric+json`},{version:2,...Cg()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function jg(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=kp(r)),Fm(a,[Ag(e,i)])}function Mg(e,t){let n=t??Ng(e)??[];if(n.length===0)return;let r=e.getOptions(),i=jg(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);Pg().set(e,[]),e.emit(`flushMetrics`),e.sendEnvelope(i)}function Ng(e){return Pg().get(e)}function Pg(){return Tu(`clientToMetricBufferMap`,()=>new WeakMap)}function Fg(e){return tm({trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||``,start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:!e.status||e.status===`ok`||e.status===`cancelled`?`ok`:`error`,is_segment:!1,attributes:{...e.data},links:e.links})}function Ig(e,t){if(e.type!==`transaction`||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||t.getOptions().streamGenAiSpans===!1||qm(t))return;let n=[],r=[];for(let t of e.spans)t.op?.startsWith(`gen_ai.`)?n.push(Fg(t)):r.push(t);if(n.length===0)return;e.spans=r;let i=t.getDataCollectionOptions().userInfo?`auto`:`never`;return[{type:`span`,item_count:n.length,content_type:`application/vnd.sentry.items.span.v2+json`},{version:2,...Cg()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:n}]}var Lg=Symbol.for(`SentryBufferFullError`);function Rg(e=100){let t=new Set;function n(){return t.size<e}function r(e){t.delete(e)}function i(e){if(!n())return Ph(Lg);let i=e();return t.add(i),i.then(()=>r(i),()=>r(i)),i}function a(e){if(!t.size)return Nh(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;let r=[n,new Promise(t=>cg(setTimeout(()=>t(!1),e)))];return Promise.race(r)}return{get $(){return Array.from(t)},add:i,drain:a}}var zg=60*1e3;function Bg(e,t=Ad()){let n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;let r=Date.parse(`${e}`);return isNaN(r)?zg:r-t}function Vg(e,t){return e[t]||e.all||0}function Hg(e,t,n=Ad()){return Vg(e,t)>n}function Ug(e,{statusCode:t,headers:n},r=Ad()){let i={...e},a=n?.[`x-sentry-rate-limits`],o=n?.[`retry-after`];if(a)for(let e of a.trim().split(`,`)){let[t,n,,,a]=e.split(`:`,5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(!n)i.all=r+s;else for(let e of n.split(`;`))e===`metric_bucket`?(!a||a.split(`;`).includes(`custom`))&&(i[e]=r+s):i[e]=r+s}else o?i.all=r+Bg(o,r):t===429&&(i.all=r+60*1e3);return i}function Wg(e,t,n=Rg(e.bufferSize||64)){let r={},i=e=>n.drain(e);function a(i){let a=[];if(Lm(i,(t,n)=>{let i=Hm(n);Hg(r,i)?e.recordDroppedEvent(`ratelimit_backoff`,i):a.push(t)}),a.length===0)return Promise.resolve({});let o=Fm(i[0],a),s=t=>{if(Rm(o,[`client_report`])){H&&U.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}Lm(o,(n,r)=>{e.recordDroppedEvent(t,Hm(r))})};return n.add(()=>t({body:Bm(o)}).then(e=>e.statusCode===413?(H&&U.error(`Sentry responded with status code 413. Envelope was discarded due to exceeding size limits.`),s(`send_error`),e):(H&&e.statusCode!==void 0&&(e.statusCode<200||e.statusCode>=300)&&U.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=Ug(r,e),e),e=>{throw s(`network_error`),H&&U.error(`Encountered error running transport request:`,e),e})).then(e=>e,e=>
10{if(e===Lg)return H&&U.error(`Skipped sending event because buffer is full.`),s(`queue_overflow`),Promise.resolve({});throw e})}return{send:a,flush:i}}function Gg(e,t,n){let r=[{type:`client_report`},{timestamp:n||tf(),discarded_events:e}];return Fm(t?{dsn:t}:{},[r])}function Kg(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function qg(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??``,start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??``,origin:a,profile_id:o?.[ip],exclusive_time:o?.[ap],measurements:e.measurements,is_segment:!0}}function Jg(e){return{type:`transaction`,timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{"sentry.profile_id":e.profile_id},...e.exclusive_time&&{"sentry.exclusive_time":e.exclusive_time}}}},measurements:e.measurements}}var Yg=[`forwarded`,`-ip`,`remote-`,`via`,`-user`];function Xg(e){return e===!0?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:[`incomingRequest`,`outgoingRequest`,`incomingResponse`,`outgoingResponse`],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:Yg},httpHeaders:{request:{deny:Yg},response:{deny:Yg}},httpBodies:[],urlQueryParams:{deny:Yg},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7}}var Zg={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:[`incomingRequest`,`outgoingRequest`,`incomingResponse`,`outgoingResponse`],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function Qg(e){let t=e.dataCollection==null?Xg(e.sendDefaultPii):Zg,n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:{request:n.httpHeaders?.request??t.httpHeaders.request,response:n.httpHeaders?.response??t.httpHeaders.response},httpBodies:n.httpBodies??t.httpBodies,urlQueryParams:n.urlQueryParams??n.queryParams??t.urlQueryParams,graphQL:{document:n.graphQL?.document??t.graphQL.document,variables:n.graphQL?.variables??t.graphQL.variables},genAI:{inputs:n.genAI?.inputs??t.genAI.inputs,outputs:n.genAI?.outputs??t.genAI.outputs},databaseQueryData:n.databaseQueryData??t.databaseQueryData,stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}var $g=`Not capturing exception because it's already been captured.`,e_=`Discarded session because of missing or non-string release`,t_=Symbol.for(`SentryInternalError`),n_=Symbol.for(`SentryDoNotSendEventError`),r_=5e3;function i_(e){return{message:e,[t_]:!0}}function a_(e){return{message:e,[n_]:!0}}function o_(e){return hd(e)&&t_ in e}function s_(e){return hd(e)&&n_ in e}function c_(e,t,n,r,i){let a=0,o,s=!1;e.on(n,()=>{a=0,clearTimeout(o),s=!1}),e.on(t,t=>{if(a+=r(t),a>=8e5)i(e);else if(!s){let t=e.getOptions()._flushInterval??r_;t>0&&(s=!0,o=cg(setTimeout(()=>{i(e)},t)))}}),e.on(`flush`,()=>{i(e)})}var l_=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Rg(e.transportOptions?.bufferSize??64),this._dataCollection=Qg(e),e.dsn?this._dsn=Fp(e.dsn):H&&U.warn(`No DSN provided, client will not send events.`),this._dsn){let t=fg(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&c_(this,`afterCaptureLog`,`flushLogs`,g_,Dg),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&c_(this,`afterCaptureMetric`,`flushMetrics`,h_,Mg)}captureException(e,t,n){let r=qd();if(Qd(e))return H&&U.log($g),r;let i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),`error`),i.event_id}captureMessage(e,t,n,r){let i={event_id:qd(),...n}
10,a=fd(e)?e:String(e),o=pd(e),s=o?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,r)),o?`unknown`:`error`),i.event_id}captureEvent(e,t,n){let r=qd();if(t?.originalException&&Qd(t.originalException))return H&&U.log($g),r;let i={event_id:r,...t},a=e.sdkProcessingMetadata||{},o=a.capturedSpanScope,s=a.capturedSpanIsolationScope,c=u_(e.type);return this._process(()=>this._captureEvent(e,i,o||n,s),c),i.event_id}captureSession(e){this.sendSession(e),uf(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit(`flush`),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit(`close`),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith(`Spotlight`)))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),vg(this,e,this._integrations),t||_g(this,[e])}sendEvent(e,t={}){this.emit(`beforeSendEvent`,e,t);let n=Ig(e,this),r=Hee(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=Im(r,Lee(e));n&&(r=Im(r,n)),this.sendEnvelope(r).then(t=>this.emit(`afterSendEvent`,e,t))}sendSession(e){let{release:t,environment:n=Om}=this._options;if(`aggregates`in e){let r=e.attrs||{};if(!r.release&&!t){H&&U.warn(e_);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){H&&U.warn(e_);return}e.release=e.release||t,e.environment=e.environment||n}this.emit(`beforeSendSession`,e);let r=Vee(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;H&&U.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:``}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit(`beforeEnvelope`,e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return H&&U.error(`Error while sending envelope:`,e),{}}return H&&U.error(`Transport disabled`),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=gg(this,e),_g(this,e)}_updateSessionFromEvent(e,t){let n=t.level===`fatal`,r=!1,i=t.exception?.values;if(i){r=!0,n=!1;for(let e of i)if(e.mechanism?.handled===!1){n=!0;break}}let a=e.status===`ok`;(a&&e.errors===0||a&&n)&&(uf(e,{...n&&{status:`crashed`},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,t,n,r){let i=this.getOptions(),a=this.getIntegrationNames();return!t.integrations&&a.length&&(t.integrations=a),this.emit(`preprocessEvent`,e,t),e.type||r.setLastEventId(e.event_id||t.event_id),Uh(i,e,t,n,this,r).then(e=>e===null?e:(this.emit(`postprocessEvent`,e,t),e.contexts={trace:{...e.contexts?.trace,...Jf(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Mm(this,n),...e.sdkProcessingMetadata},e))}_captureEvent(e,t={},n=Uf(),r=Wf()){return H&&p_(e)&&U.log(`Captured error event \`${Kg(e)[0]||`<unknown>`}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{H&&(s_(e)?U.log(e.message):o_(e)?U.warn(e.message):U.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,o=m_(e),s=p_(e),c=`before send for type \`${e.type||`error`}\``,l=a===void 0?void 0:Ip(a),u=u_(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(e===null)throw this.recordDroppedEvent(`event_processor`,u),a_("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:d_(f_(this,i,e,t),c)}).then(i=>{if(i===null){if(this.recordDroppedEvent(`before_send`,u),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent(`before_send`,`span`,t)}throw a_(`${c} returned \`null\`, will not send event.`)}
10let d=n.getSession()||r.getSession();if(s&&d&&this._updateSessionFromEvent(d,i),s&&typeof l==`number`&&kd()>l)throw this.recordDroppedEvent(`sample_rate`,`error`),a_(`Discarding event because it's not included in the random sample (sampling rate = ${a})`);if(o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent(`before_send`,`span`,e)}let f=i.transaction_info;return o&&f&&i.transaction!==e.transaction&&(i.transaction_info={...f,source:`custom`}),this.sendEvent(i,t),i}).then(null,e=>{throw s_(e)||o_(e)?e:(this.captureException(e,{mechanism:{handled:!1,type:`internal`},data:{__sentry__:!0},originalException:e}),i_(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 11Reason: ${e}`))})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===Lg&&this.recordDroppedEvent(`queue_overflow`,t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(`:`);return{reason:n,category:r,quantity:t}})}_flushOutcomes(){H&&U.log(`Flushing outcomes...`);let e=this._clearOutcomes();if(e.length===0){H&&U.log(`No outcomes to send`);return}if(!this._dsn){H&&U.log(`No dsn provided, will not send outcomes`);return}H&&U.log(`Sending outcomes:`,e);let t=Gg(e,this._options.tunnel&&kp(this._dsn));this.sendEnvelope(t)}};function u_(e){return e===`replay_event`?`replay`:e||`error`}function d_(e,t){let n=`${t} must return \`null\` or a valid event.`;if(vd(e))return e.then(e=>{if(!md(e)&&e!==null)throw i_(n);return e},e=>{throw i_(`${t} rejected with ${e}`)});if(!md(e)&&e!==null)throw i_(n);return e}function f_(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:o}=t,s=!Pm(t.beforeSendSpan)&&t.beforeSendSpan,c=n;if(p_(c)&&i)return i(c,r);if(m_(c)){if(s||o){let t=qg(c);if(o?.length&&xm({description:t.description,op:t.op,attributes:t.data},o))return null;if(s){let e=s(t);e?c=pf(n,Jg(e)):gm()}if(c.spans){let t=[],n=c.spans;for(let e of n){if(o?.length&&xm({description:e.description,op:e.op,attributes:e.data},o)){Cm(n,e);continue}if(s){let n=s(e);n?t.push(n):(gm(),t.push(e))}else t.push(e)}let r=c.spans.length-t.length;r&&e.recordDroppedEvent(`before_send`,`span`,r),c.spans=t}}if(a){if(c.spans){let e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(c,r)}}return c}function p_(e){return e.type===void 0}function m_(e){return e.type===`transaction`}function h_(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+__(e.attributes)}function g_(e){let t=0;return e.message&&(t+=e.message.length*2),t+__(e.attributes)}function __(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*v_(e[0]):pd(e)?t+=v_(e):t+=100}),t}function v_(e){return typeof e==`string`?e.length*2:typeof e==`number`?8:typeof e==`boolean`?4:0}function y_(e,t){t.debug===!0&&(H?U.enable():ku(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Uf().update(t.initialScope);let n=new e(t);return b_(n),n.init(),n}function b_(e){Uf().setClient(e)}var x_=`thismessage:/`;function S_(e){return`isRelative`in e}function C_(e,t){let n=e.indexOf(`://`)<=0&&e.indexOf(`//`)!==0,r=t??(n?x_:void 0);try{if(`canParse`in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);return n?{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch{}}function w_(e){if(S_(e))return e.pathname;let t=new URL(e);return t.search=``,t.hash=``,[`80`,`443`].includes(t.port)&&(t.port=``),t.password&&=`%filtered%`,t.username&&=`%filtered%`,t.toString()}function T_(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||``,r=t[8]||``;return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function E_(e){return e.split(/[?#]/,1)[0]}function D_(e,t=!0){if(e.startsWith(`data:`)){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:`text/plain`,i=e.includes(`;base64,`),a=e.indexOf(`,`),o=``;if(t&&a!==-1){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?`,base64`:``}${o?`,${o}`:``}`}return e}function O_(e){`aggregates`in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:`{{auto}}`}):e.ipAddress===void 0&&(e.ipAddress=`{{auto}}`)}function k_(e,t,n=[t],r=`npm`){let i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:Su})),i.version=Su)}function A_(e={}){let t=e.client||qf();if(!rg()||!t)return{};let n=Ff(Cu());if(n.getTraceData)return n.getTraceData(e);let r=e.scope||Uf(),i=e.span||hm(),a=Dm(i)&&!ym(t.getOptions());if(!i&&Hf())return{};let o=i&&!a?Kp(i):j_(r),s=Sp(i?Nm(i):Mm(t,r));if(!Lp.test(o))return U.warn(`Invalid sentry-trace data. Cannot generate trace data`),{};let c={"sentry-trace":o,baggage:s};return e.propagateTraceparent&&(c.traceparent=i&&!a?qp(i):M_(r)),c}function j_(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return Bp(t,r,n)}function M_(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return Vp(t,r,n)}var N_=100;function P_(e,t){let n=qf(),r=Wf();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=N_}=n.getOptions();if(a<=0)return;let o={timestamp:tf(),...e},s=i?ku(()=>i(o,t)):o;s!==null&&(n.emit&&n.emit(`beforeAddBreadcrumb`,s,t),r.addBreadcrumb(s,a))}var F_=`FunctionToString`,I_=new WeakMap,L_=yg((()=>({name:F_,setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(...t){let n=wd(this),r;try{I_.has(qf())&&n!==void 0&&(r=n)}catch{}return e.apply(r??this,t)}}catch{}},setup(e){I_.set(e,!0)}}))),R_=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],z_=`EventFilters`,B_=yg((e={})=>{let t;return{name:z_,setup(n){t=H_(e,n.getOptions())},processEvent(n,r,i){return t||=H_(e,i.getOptions()),U_(n,t)?null:n}}}),V_=yg(((e={})=>({...B_(e),name:`InboundFilters`})));function H_(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:R_],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function U_(e,t){if(!e.type){if(W_(e,t.ignoreErrors))return H&&U.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 12Event: ${Yd(e)}`),!0;if(X_(e))return H&&U.warn(`Event dropped due to not having an error message, error type or stacktrace. 13Event: ${Yd(e)}`),!0;if(K_(e,t.denyUrls))return H&&U.warn(`Event dropped due to being matched by \`denyUrls\` option. 14Event: ${Yd(e)}. 15Url: ${Y_(e)}`),!0;if(!q_(e,t.allowUrls))return H&&U.warn(`Event dropped due to not being matched by \`allowUrls\` option. 16Event: ${Yd(e)}. 17Url: ${Y_(e)}`),!0}else if(e.type===`transaction`&&G_(e,t.ignoreTransactions))return H&&U.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 18Event: ${Yd(e)}`),!0;return!1}function W_(e,t){return t?.length?Kg(e).some(e=>Ud(e,t)):!1}function G_(e,t){if(!t?.length)return!1;let n=e.transaction;return n?Ud(n,t):!1}function K_(e,t){if(!t?.length)return!1;let n=Y_(e);return n?Ud(n,t):!1}function q_(e,t){if(!t?.length)return!0;let n=Y_(e);return n?Ud(n,t):!0}function J_(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function Y_(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length)?.stacktrace?.frames;return t?J_(t):null}catch{return H&&U.error(`Cannot extract url for event ${Yd(e)}`),null}}function X_(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!==`Error`||e.value):!1}
18function Z_(e,t,n,r,i,a){if(!i.exception?.values||!a||!od(a.originalException))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=Q_(e,t,r,a.originalException,n,i.exception.values,o,0))}function Q_(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(od(r[i])){ev(o,s,r);let a=e(t,r[i]),l=c.length;tv(a,i,l,s),c=Q_(e,t,n,r[i],i,[a,...c],a,l)}return $_(r)&&r.errors.forEach((a,l)=>{if(od(a)){ev(o,s,r);let u=e(t,a),d=c.length;tv(u,`errors[${l}]`,d,s),c=Q_(e,t,n,a,i,[u,...c],u,d)}}),c}function $_(e){return Array.isArray(e.errors)}function ev(e,t,n){e.mechanism={handled:!0,type:`auto.core.linked_errors`,...$_(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function tv(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}function nv(e){return od(e)&&`__sentry_fetch_url_host__`in e&&typeof e.__sentry_fetch_url_host__==`string`}function rv(e){return nv(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}var iv=new Set([]);function av(e){let t=`console`,n=Xu(t,e);return Zu(t,sv),n}var ov=new Set;function sv(){`console`in xu&&Eu.forEach(function(e){ov.has(e)||!(e in xu.console)||(ov.add(e),xd(xu.console,e,function(t){return Ou[e]=t,function(...t){let n=t[0],r=Ou[e],i=iv.size&&typeof n==`string`&&Ud(n,iv);i||Qu(`console`,{args:t,level:e}),(!i||H&&U.isEnabled())&&r?.apply(xu.console,t)}}))})}function cv(e){return e===`warn`?`warning`:[`fatal`,`error`,`warning`,`log`,`info`,`debug`].includes(e)?e:`log`}var lv=`Dedupe`,uv=yg((()=>{let e;return{name:lv,processEvent(t){if(t.type)return t;try{if(dv(t,e))return H&&U.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));function dv(e,t){return t?!!(fv(e,t)||pv(e,t)):!1}function fv(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!hv(e,t)||!mv(e,t))}function pv(e,t){let n=gv(t),r=gv(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!hv(e,t)||!mv(e,t))}function mv(e,t){let n=qu(e),r=qu(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function hv(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join(``)===r.join(``)}catch{return!1}}function gv(e){return e.exception?.values?.[0]}var _v=`ConversationId`,vv=yg((()=>({name:_v,setup(e){e.on(`spanStart`,e=>{let t=Uf().getScopeData(),n=Wf().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=Qp(e);if(!t?.startsWith(`gen_ai.`)&&!n[`ai.operationId`]&&!i?.startsWith(`ai.`))return;e.setAttribute(sp,r)}})}})));function yv(e,t,n,r,i){if(!e.fetchData)return;let{method:a,url:o}=e.fetchData,s=ym()&&t(o);if(e.endTimestamp){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(s&&(Sv(n,e),bv(n,e,i)),delete r[t]);return}let{spanOrigin:c=`auto.http.browser`,propagateTraceparent:l=!1}=typeof i==`object`?i:{spanOrigin:i},u=qf(),d=!!hm(),f=d||!!u&&qm(u),p=s&&f?Qm(Ev(o,a,c)):new Em,m=ch(p)&&d?void 0:p;if(s&&!f&&u?.recordDroppedEvent(`no_parent_span`,`span`),e.fetchData.__span=p.spanContext().spanId,r[p.spanContext().spanId]=p,n(e.fetchData.url)){let t=e.args[0],n={...e.args[1]||{}},r=xv(t,n,ym()&&f?m:void 0,l);r&&(e.args[1]=n,n.headers=r)}if(u){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};u.emit(`beforeOutgoingRequestSpan`,p,t)}return p}function bv(e,t,n){(typeof n==`object`&&n?n.onRequestSpanEnd:void 0)?.(e,{headers:t.response?.headers,error:t.error})}function xv(e,t,n,r){let i=A_({span:n,propagateTraceparent:r}),a=i[`sentry-trace`],o=i.baggage,s=i.traceparent;if(!a)return;let c=t.headers||(bd(e)?e.headers:void 0);if(!c)return{"sentry-trace":a,...o&&{baggage:o},...s&&{traceparent:s}};if(wv(c)){let e=new Headers(c);if(e.get(`sentry-trace`)||e.set(`sentry-trace`,a),r&&s&&!e.get(`traceparent`)&&e.set(`traceparent`,s),o){let t=e.get(`baggage`);t?Cv(t)||e.set(`baggage`,`${t},${o}`):e.set(`baggage`,o)}return e}else if(Tv(c)){let e=[...c];e.find(e=>e[0]===`sentry-trace`)||e.push([`sentry-trace`,a]),r&&s&&!e.find(e=>e[0]===`traceparent`)&&e.push([`traceparent`,s]);let t=c.find(e=>e[0]===`baggage`&&typeof e[1]==`string`&&Cv(e[1]));return o&&!t&&e.push([`baggage`,o]),e}else{let e=`sentry-trace`in c?c[`sentry-trace`]:void 0,t=`traceparent`in c?c.traceparent:void 0,n=`baggage`in c?c.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],l=n&&(Array.isArray(n)?n.find(e=>Cv(e)):Cv(n));o&&!l&&i.push(o);let u=Object.assign({},c,{"sentry-trace":e??a,...i.length>0&&{baggage:i.join(`,`)}});return r&&s&&!t&&(u.traceparent=s),u}}function Sv(e,t){if(t.response){lp(e,t.response.status);let n=t.response?.headers?.get(`content-length`);if(n){let t=parseInt(n);t>0&&e.setAttribute(`http.response_content_length`,t)}}else t.error&&e.setStatus({code:2,message:`internal_error`});e.end()}function Cv(e){return typeof e==`string`?e.split(`,`).some(e=>e.trim().startsWith(bp)):!1}function wv(e){return typeof Headers<`u`&&yd(e,Headers)}function Tv(e){return Array.isArray(e)?e.every(e=>Array.isArray(e)&&e.length===2&&typeof e[0]==`string`):!1}function Ev(e,t,n){if(e.startsWith(`data:`))return{name:`${t} ${D_(e)}`,attributes:Dv(e,void 0,t,n)};let r=C_(e);return{name:`${t} ${r?w_(r):e}`,attributes:Dv(e,r,t,n)}}function Dv(e,t,n,r){let i={url:D_(e),type:`fetch`,"http.method":n,[$f]:r,[Qf]:`http.client`};return t&&(S_(t)||(i[Th]=D_(t.href),i[Oh]=D_(t.href),i[`server.address`]=t.host),t.search&&(i[`http.query`]=t.search),t.hash&&(i[`http.fragment`]=t.hash)),i}function Ov(e){if(e!==void 0){if(e>=400&&e<500)return`warning`;if(e>=500)return`error`}}var kv=xu;function Av(){return`history`in kv&&!!kv.history}function jv(){if(!(`fetch`in kv))return!1;
18try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function Mv(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Nv(){if(typeof EdgeRuntime==`string`)return!0;if(!jv())return!1;if(Mv(kv.fetch))return!0;let e=!1,t=kv.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Mv(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){H&&U.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function Pv(e,t){let n=`fetch`,r=Xu(n,e);return Zu(n,()=>Iv(void 0,t)),r}function Fv(e){let t=`fetch-body-resolved`,n=Xu(t,e);return Zu(t,()=>Iv(Rv)),n}function Iv(e,t=!1){t&&!Nv()||xd(xu,`fetch`,function(t){return function(...n){let r=Error(),{method:i,url:a}=Vv(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:af()*1e3,virtualError:r,headers:Hv(n)};return e||Qu(`fetch`,{...o}),t.apply(xu,n).then(async t=>(e?e(t):Qu(`fetch`,{...o,endTimestamp:af()*1e3,response:t}),t),e=>{Qu(`fetch`,{...o,endTimestamp:af()*1e3,error:e}),od(e)&&e.stack===void 0&&(e.stack=r.stack,Sd(e,`framesToPop`,1));let t=qf()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&od(e)&&e.name===`TypeError`&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(o.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:Sd(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}async function Lv(e,t){if(e?.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3),a=!0;for(;a;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),a=!1)}catch{a=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function Rv(e){let t;try{t=e.clone()}catch{return}Lv(t,()=>{Qu(`fetch-body-resolved`,{endTimestamp:af()*1e3,response:e})})}function zv(e,t){return hd(e)&&!!e[t]}function Bv(e){return typeof e==`string`?e:e?zv(e,`url`)?e.url:e.toString?e.toString():``:``}function Vv(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:Bv(t),method:zv(n,`method`)?String(n.method).toUpperCase():bd(t)&&zv(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:Bv(t),method:zv(t,`method`)?String(t.method).toUpperCase():`GET`}}function Hv(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(bd(t))return new Headers(t.headers)}catch{}}var Uv=xu;function Wv(){try{return Uv.document.location.href}catch{return``}}function Gv(e,t=5){if(!Uv.HTMLElement)return null;let n=e;for(let e=0;e<t;e++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}var Kv=xu,qv=0;function Jv(){return qv>0}function Yv(){qv++,setTimeout(()=>{qv--})}function Xv(e,t={}){function n(e){return typeof e==`function`}if(!n(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,`__sentry_wrapped__`)){let t=e.__sentry_wrapped__;return typeof t==`function`?t:e}if(wd(e))return e}catch{return e}let r=function(...n){xu._sentryWrappedDepth=(xu._sentryWrappedDepth||0)+1;try{let r=n.map(e=>Xv(e,t));return e.apply(this,r)}catch(e){throw Yv(),Kf(r=>{r.addEventProcessor(e=>(t.mechanism&&(Xd(e,void 0,void 0),Zd(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),eg(e)}),e}finally{xu._sentryWrappedDepth=(xu._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}Cd(r,e),Sd(e,`__sentry_wrapped__`,r);try{Object.getOwnPropertyDescriptor(r,`name`).configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Zv(){let e=Wv(),{referrer:t}=Kv.document||{},{userAgent:n}=Kv.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}function Qv(e,t){let n=ty(e,t),r={type:oy(t),value:sy(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function $v(e,t,n,r){let i=qf()?.getOptions().normalizeDepth,a=my(t),o={__serialized__:Pd(t,i)};if(a)return{exception:{values:[Qv(e,a)]},extra:o};let s={exception:{values:[{type:gd(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:fy(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=ty(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}function ey(e,t){return{exception:{values:[Qv(e,t)]}}}function ty(e,t){let n=t.stacktrace||t.stack||``,r=ry(t),i=iy(t);try{return e(n,r,i)}catch{}return[]}var ny=/Minified React error #\d+;/i;function ry(e){return e&&ny.test(e.message)?1:0}function iy(e){return typeof e.framesToPop==`number`?e.framesToPop:0}function ay(e){return typeof WebAssembly<`u`&&WebAssembly.Exception!==void 0?e instanceof WebAssembly.Exception:!1}function oy(e){let t=e?.name;return!t&&ay(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:`WebAssembly.Exception`:t}function sy(e){let t=e?.message;return ay(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:`wasm exception`:t?t.error&&typeof t.error.message==`string`?rv(t.error):rv(e):`No error message`}function cy(e,t,n,r){let i=uy(e,t,n?.syntheticException||void 0,r);
18return Zd(i),i.level=`error`,n?.event_id&&(i.event_id=n.event_id),Nh(i)}function ly(e,t,n=`info`,r,i){let a=dy(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),Nh(a)}function uy(e,t,n,r,i){let a;if(cd(t)&&t.error)return ey(e,t.error);if(ld(t)||ud(t)){let i=t;if(`stack`in t){a=ey(e,t);let i=a.exception?.values?.[0];if(r&&n&&i&&!i.stacktrace){let t=ty(e,n);t.length&&(i.stacktrace={frames:t},Zd(a,{synthetic:!0}))}}else{let t=i.name||(ld(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=dy(e,o,n,r),Xd(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return od(t)?ey(e,t):md(t)||gd(t)?(a=$v(e,t,n,i),Zd(a,{synthetic:!0}),a):(a=dy(e,t,n,r),Xd(a,`${t}`,void 0),Zd(a,{synthetic:!0}),a)}function dy(e,t,n,r){let i={};if(r&&n){let r=ty(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),Zd(i,{synthetic:!0})}if(fd(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function fy(e,{isUnhandledRejection:t}){let n=kee(e),r=t?`promise rejection`:`exception`;return cd(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:gd(e)?`Event \`${py(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function py(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function my(e){return Object.values(e).find(od)}var hy=class extends l_{constructor(e){let t=gy(e);k_(t,`browser`,[`browser`],Kv.SENTRY_SDK_SOURCE||xg()),super(t);let{userInfo:n}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:n?`auto`:`never`,...t._metadata.sdk.settings});let{sendClientReports:r}=this._options;Kv.document&&Kv.document.addEventListener(`visibilitychange`,()=>{Kv.document.visibilityState===`hidden`&&(r&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),n&&this.on(`beforeSendSession`,O_)}eventFromException(e,t){return cy(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return ly(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||`javascript`,super._prepareEvent(e,t,n,r)}};function gy(e){return{release:typeof __SENTRY_RELEASE__==`string`?__SENTRY_RELEASE__:Kv.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}var _y=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,vy=xu,yy=(e,t)=>e>t[1]?`poor`:e>t[0]?`needs-improvement`:`good`,by=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i??0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=yy(t.value,n),e(t)))}},xy=(e=!0)=>{let t=vy.performance?.getEntriesByType?.(`navigation`)[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},Sy=()=>xy()?.activationStart??0;function Cy(e,t,n){vy.document&&vy.addEventListener(e,t,n)}function wy(e,t,n){vy.document&&vy.removeEventListener(e,t,n)}var Ty=-1,Ey=new Set,Dy=()=>vy.document?.visibilityState===`hidden`&&!vy.document?.prerendering?0:1/0,Oy=e=>{if(Ay(e)&&Ty>-1){if(e.type===`visibilitychange`||e.type===`pagehide`)for(let e of Ey)e();isFinite(Ty)||(Ty=e.type===`visibilitychange`?e.timeStamp:0,wy(`prerenderingchange`,Oy,!0))}},ky=()=>{if(vy.document&&Ty<0){let e=Sy();Ty=(vy.document.prerendering?void 0:globalThis.performance.getEntriesByType(`visibility-state`).filter(t=>t.name===`hidden`&&t.startTime>e)[0]?.startTime)??Dy(),Cy(`visibilitychange`,Oy,!0),Cy(`pagehide`,Oy,!0),Cy(`prerenderingchange`,Oy,!0)}return{get firstHiddenTime(){return Ty},onHidden(e){Ey.add(e)}}};function Ay(e){return e.type===`pagehide`||vy.document?.visibilityState===`hidden`}var jy=()=>`v5-${Date.now()}-${Math.floor(Math.random()*8999999999999)+0xe8d4a51000}`,My=(e,t=-1)=>{let n=xy(),r=`navigate`;return n&&(vy.document?.prerendering||Sy()>0?r=`prerender`:vy.document?.wasDiscarded?r=`restore`:n.type&&(r=n.type.replace(/_/g,`-`))),{name:e,value:t,rating:`good`,delta:0,entries:[],id:jy(),navigationType:r}},Ny=new WeakMap;function Py(e,t){try{return Ny.get(e)||Ny.set(e,new t),Ny.get(e)}catch{return new t}}var Fy=class{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}},Iy=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},Ly=e=>{let t=!1;return()=>{t||=(e(),!0)}}
18,Ry=e=>{vy.document?.prerendering?addEventListener(`prerenderingchange`,()=>e(),!0):e()},zy=[1800,3e3],By=(e,t={})=>{Ry(()=>{let n=ky(),r=My(`FCP`),i,a=Iy(`paint`,e=>{for(let t of e)t.name===`first-contentful-paint`&&(a.disconnect(),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-Sy(),0),r.entries.push(t),i(!0)))});a&&(i=by(e,r,zy,t.reportAllChanges))})},Vy=[.1,.25],Hy=(e,t={})=>{By(Ly(()=>{let n=My(`CLS`,0),r,i=ky(),a=Py(t,Fy),o=e=>{for(let t of e)a._processEntry(t);a._sessionValue>n.value&&(n.value=a._sessionValue,n.entries=a._sessionEntries,r())},s=Iy(`layout-shift`,o);s&&(r=by(e,n,Vy,t.reportAllChanges),i.onHidden(()=>{o(s.takeRecords()),r(!0)}),vy?.setTimeout?.(r))}))},Uy=0,Wy=1/0,Gy=0,Ky=e=>{e.forEach(e=>{e.interactionId&&(Wy=Math.min(Wy,e.interactionId),Gy=Math.max(Gy,e.interactionId),Uy=Gy?(Gy-Wy)/7+1:0)})},qy,Jy=()=>qy?Uy:performance.interactionCount||0,Yy=()=>{`interactionCount`in performance||qy||(qy=Iy(`event`,Ky,{type:`event`,buffered:!0,durationThreshold:0}))},Xy=10,Zy=0,Qy=()=>Jy()-Zy,$y=class{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){Zy=Jy(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor(Qy()/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||e.entryType===`first-input`))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<Xy||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>Xy){let e=this._longestInteractionList.splice(Xy);for(let t of e)this._longestInteractionMap.delete(t.id)}this._onAfterProcessingINPCandidate?.(n)}}},eb=e=>{let t=vy.requestIdleCallback||vy.setTimeout;vy.document?.visibilityState===`hidden`?e():(e=Ly(e),Cy(`visibilitychange`,e,{once:!0,capture:!0}),Cy(`pagehide`,e,{once:!0,capture:!0}),t(()=>{e(),wy(`visibilitychange`,e,{capture:!0}),wy(`pagehide`,e,{capture:!0})}))},tb=[200,500],nb=40,rb=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&`interactionId`in PerformanceEventTiming.prototype))return;let n=ky();Ry(()=>{Yy();let r=My(`INP`),i,a=Py(t,$y),o=e=>{eb(()=>{for(let t of e)a._processEntry(t);let t=a._estimateP98LongestInteraction();t&&t._latency!==r.value&&(r.value=t._latency,r.entries=t.entries,i())})},s=Iy(`event`,o,{durationThreshold:t.durationThreshold??nb});i=by(e,r,tb,t.reportAllChanges),s&&(s.observe({type:`first-input`,buffered:!0}),n.onHidden(()=>{o(s.takeRecords()),i(!0)}))})},ib=class{_processEntry(e){this._onBeforeProcessingEntry?.(e)}},ab=[2500,4e3],ob=(e,t={})=>{Ry(()=>{let n=ky(),r=My(`LCP`),i,a=Py(t,ib),o=e=>{t.reportAllChanges||(e=e.slice(-1));for(let t of e)a._processEntry(t),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-Sy(),0),r.entries=[t],i())},s=Iy(`largest-contentful-paint`,o);if(s){i=by(e,r,ab,t.reportAllChanges);let n=Ly(()=>{o(s.takeRecords()),s.disconnect(),i(!0)}),a=e=>{e.isTrusted&&(eb(n),wy(e.type,a,{capture:!0}))};for(let e of[`keydown`,`click`,`visibilitychange`])Cy(e,a,{capture:!0})}})},sb=[800,1800],cb=e=>{vy.document?.prerendering?Ry(()=>cb(e)):vy.document?.readyState===`complete`?setTimeout(e):addEventListener(`load`,()=>cb(e),!0)},lb=(e,t={})=>{let n=My(`TTFB`),r=by(e,n,sb,t.reportAllChanges);cb(()=>{let e=xy();e&&(n.value=Math.max(e.responseStart-Sy(),0),n.entries=[e],r(!0))})},ub={},db={},fb,pb,mb,hb;function gb(e,t=!1){return Tb(`cls`,e,xb,fb,t)}function _b(e,t=!1){return Tb(`lcp`,e,Sb,pb,t)}function Qee(e){return Tb(`ttfb`,e,Cb,mb)}function vb(e){return Tb(`inp`,e,wb,hb)}function yb(e,t){return Db(e,t),db[e]||(Eb(e),db[e]=!0),Ob(e,t)}function bb(e,t){let n=ub[e];
18if(n?.length)for(let r of n)try{r(t)}catch(t){_y&&U.error(`Error while triggering instrumentation handler. 19Type: ${e} 20Name: ${Ku(r)} 21Error:`,t)}}function xb(){return Hy(e=>{bb(`cls`,{metric:e}),fb=e},{reportAllChanges:!0})}function Sb(){return ob(e=>{bb(`lcp`,{metric:e}),pb=e},{reportAllChanges:!0})}function Cb(){return lb(e=>{bb(`ttfb`,{metric:e}),mb=e})}function wb(){return rb(e=>{bb(`inp`,{metric:e}),hb=e})}function Tb(e,t,n,r,i=!1){Db(e,t);let a;return db[e]||(a=n(),db[e]=!0),r&&t({metric:r}),Ob(e,t,i?a:void 0)}function Eb(e){let t={};e===`event`&&(t.durationThreshold=0),Iy(e,t=>{bb(e,{entries:t})},t)}function Db(e,t){ub[e]=ub[e]||[],ub[e].push(t)}function Ob(e,t,n){return()=>{n&&n();let r=ub[e];if(!r)return;let i=r.indexOf(t);i!==-1&&r.splice(i,1)}}function kb(e){return`duration`in e}var Ab=80,jb={};try{typeof Node<`u`&&(jb.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`).get),typeof Element<`u`&&(jb.tagName=Object.getOwnPropertyDescriptor(Element.prototype,`tagName`).get,jb.id=Object.getOwnPropertyDescriptor(Element.prototype,`id`).get,jb.className=Object.getOwnPropertyDescriptor(Element.prototype,`className`).get,jb.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<`u`&&(jb.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,`dataset`).get)}catch{}function Mb(e,t,n){let r=jb[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return typeof i==`function`?i.call(e,n):i}function Nb(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||Ab;for(;n&&i++<5&&(o=Pb(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=Mb(n,`parentNode`);return r.reverse().join(` > `)}catch{return`<unknown>`}}function Pb(e,t){let n=[],r=Mb(e,`tagName`);if(!r)return``;if(typeof HTMLElement<`u`&&e instanceof HTMLElement){let t=Mb(e,`dataset`);if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>Mb(e,`getAttribute`,t)).map(t=>[t,Mb(e,`getAttribute`,t)]):null;if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=Mb(e,`id`);t&&n.push(`#${t}`);let r=Mb(e,`className`);if(r&&dd(r)){let e=r.split(/\s+/);for(let t of e)n.push(`.${t}`)}}for(let t of[`aria-label`,`type`,`name`,`title`,`alt`]){let r=Mb(e,`getAttribute`,t);r&&n.push(`[${t}="${r}"]`)}return n.join(``)}var Fb=e=>{let t=t=>{(t.type===`pagehide`||vy.document?.visibilityState===`hidden`)&&e(t)};Cy(`visibilitychange`,t,{capture:!0,once:!0}),Cy(`pagehide`,t,{capture:!0,once:!0})};function Ib(e){return typeof e==`number`&&isFinite(e)}function Lb(e,t,n,{...r}){let i=Qp(e).start_timestamp;return i&&i>t&&typeof e.updateStartTime==`function`&&e.updateStartTime(t),$m(e,()=>{let e=Qm({startTime:t,...r});return e&&e.end(n),e})}function Rb(e){let t=qf();if(!t)return;let{name:n,transaction:r,attributes:i,startTime:a}=e,{release:o,environment:s}=t.getOptions(),{userInfo:c}=t.getDataCollectionOptions(),l=t.getIntegrationByName(`Replay`)?.getReplayId(),u=Uf(),d=u.getUser(),f=d===void 0?void 0:d.email||d.id||d.ip_address,p;try{p=u.getScopeData().contexts.profile.profile_id}catch{}return Qm({name:n,attributes:{release:o,environment:s,user:f||void 0,profile_id:p||void 0,replay_id:l||void 0,transaction:r,"user_agent.original":vy.navigator?.userAgent,"client.address":c?`{{auto}}`:void 0,...i},startTime:a,experimental:{standalone:!0}})}function zb(){return vy.addEventListener&&vy.performance}function Bb(e){return e/1e3}function Vb(e){let t=`unknown`,n=`unknown`,r=``;for(let i of e){if(i===`/`){[t,n]=e.split(`/`);break}if(!isNaN(Number(i))){t=r===`h`?`http`:r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}function Hb(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function Ub(e,t){let n,r=!1;function i(e){!r&&n&&t(e,n.spanContext().spanId,n),r=!0}Fb(()=>{i(`pagehide`)});let a=e.on(`beforeStartNavigationSpan`,(e,t)=>{t?.isRedirect||(i(`navigation`),a(),o())}),o=e.on(`afterStartPageLoadSpan`,e=>{n=e,o()})}function Wb(e){let t=0,n;if(!Hb(`layout-shift`))return;let r=gb(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);Ub(e,(e,i)=>{Gb(t,n,i,e),r()})}function Gb(e,t,n,r){_y&&U.log(`Sending CLS span (${e})`);let i=t?Bb((cf()||0)+t.startTime):af(),a=Uf().getScopeData().transactionName,o=t?Nb(t.sources[0]?.node):`Layout shift`,s={[$f]:`auto.http.browser.cls`,[Qf]:`ui.webvital.cls`,[ap]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};
21t?.sources&&t.sources.forEach((e,t)=>{s[`cls.source.${t+1}`]=Nb(e.node)});let c=Rb({name:o,transaction:a,attributes:s,startTime:i});c&&(c.addEvent(`cls`,{[tp]:``,[np]:e}),c.end(i))}function Kb(e){return e!=null&&e>0&&e<=6e4}function qb(e){let t=0,n;if(!Hb(`largest-contentful-paint`))return;let r=_b(({metric:e})=>{let r=e.entries[e.entries.length-1];!r||!Kb(e.value)||(t=e.value,n=r)},!0);Ub(e,(e,i)=>{Jb(t,n,i,e),r()})}function Jb(e,t,n,r){if(!Kb(e))return;_y&&U.log(`Sending LCP span (${e})`);let i=Bb((cf()||0)+(t?.startTime||0)),a=Uf().getScopeData().transactionName,o=t?Nb(t.element):`Largest contentful paint`,s={[$f]:`auto.http.browser.lcp`,[Qf]:`ui.webvital.lcp`,[ap]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(s[`lcp.element`]=Nb(t.element)),t.id&&(s[`lcp.id`]=t.id),t.url&&(s[`lcp.url`]=t.url),t.loadTime!=null&&(s[`lcp.loadTime`]=t.loadTime),t.renderTime!=null&&(s[`lcp.renderTime`]=t.renderTime),t.size!=null&&(s[`lcp.size`]=t.size));let c=Rb({name:o,transaction:a,attributes:s,startTime:i});c&&(c.addEvent(`lcp`,{[tp]:`millisecond`,[np]:e}),c.end(i))}function Yb(e){return e&&((cf()||performance.timeOrigin)+e)/1e3}function Xb(e){let t={};if(e.nextHopProtocol!=null){let{name:n,version:r}=Vb(e.nextHopProtocol);t[`network.protocol.version`]=r,t[`network.protocol.name`]=n}return cf()||zb()?.timeOrigin?Zb({...t,"http.request.redirect_start":Yb(e.redirectStart),"http.request.redirect_end":Yb(e.redirectEnd),"http.request.worker_start":Yb(e.workerStart),"http.request.fetch_start":Yb(e.fetchStart),"http.request.domain_lookup_start":Yb(e.domainLookupStart),"http.request.domain_lookup_end":Yb(e.domainLookupEnd),"http.request.connect_start":Yb(e.connectStart),"http.request.secure_connection_start":Yb(e.secureConnectionStart),"http.request.connection_end":Yb(e.connectEnd),"http.request.request_start":Yb(e.requestStart),"http.request.response_start":Yb(e.responseStart),"http.request.response_end":Yb(e.responseEnd),"http.request.time_to_first_byte":e.responseStart==null?void 0:e.responseStart/1e3}):t}function Zb(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!=null))}var Qb=2147483647,$b=0,ex={},tx,nx;function rx({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){let r=zb();if(r&&cf()){r.mark&&vy.performance.mark(`sentry-tracing-init`);let i=t?qb(n):t===!1?nte():void 0,a=e?Wb(n):e===!1?tte():void 0,o=rte(),s=ite();return()=>{o(),s(),i?.(),a?.()}}return()=>void 0}function ix(){yb(`longtask`,({entries:e})=>{let t=hm();if(!t)return;let{op:n,start_timestamp:r}=Qp(t);for(let i of e){let e=Bb(cf()+i.startTime),a=Bb(i.duration);n===`navigation`&&r&&e<r||Lb(t,e,e+a,{name:`Main UI thread blocked`,op:`ui.long-task`,attributes:{[$f]:`auto.ui.browser.metrics`}})}})}
21function $ee(){new PerformanceObserver(e=>{let t=hm();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=Bb(cf()+n.startTime),{start_timestamp:r,op:i}=Qp(t);if(i===`navigation`&&r&&e<r)continue;let a=Bb(n.duration),o={[$f]:`auto.ui.browser.metrics`},{invoker:s,invokerType:c,sourceURL:l,sourceFunctionName:u,sourceCharPosition:d}=n.scripts[0];o[`browser.script.invoker`]=s,o[`browser.script.invoker_type`]=c,l&&(o[`code.filepath`]=l),u&&(o[`code.function`]=u),d!==-1&&(o[`browser.script.source_char_position`]=d),Lb(t,e,e+a,{name:`Main UI thread blocked`,op:`ui.long-animation-frame`,attributes:o})}}).observe({type:`long-animation-frame`,buffered:!0})}function ete(){yb(`event`,({entries:e})=>{let t=hm();if(t){for(let n of e)if(n.name===`click`){let e=Bb(cf()+n.startTime),r=Bb(n.duration),i={name:Nb(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[$f]:`auto.ui.browser.metrics`}},a=Gv(n.target);a&&(i.attributes[`ui.component_name`]=a),Lb(t,e,e+r,i)}}})}function tte(){return gb(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(ex.cls={value:e.value,unit:``},nx=t)},!0)}function nte(){return _b(({metric:e})=>{let t=e.entries[e.entries.length-1];!t||!Kb(e.value)||(ex.lcp={value:e.value,unit:`millisecond`},tx=t)},!0)}function rte(){return Qee(({metric:e})=>{e.entries[e.entries.length-1]&&(ex.ttfb={value:e.value,unit:`millisecond`})})}function ite(){return yb(`paint`,({entries:e})=>{let t=ky();for(let n of e){let e=n.startTime<t.firstHiddenTime;n.name===`first-paint`&&e&&(ex.fp={value:n.startTime,unit:`millisecond`}),n.name===`first-contentful-paint`&&e&&(ex.fcp={value:n.startTime,unit:`millisecond`})}})}function ate(e,t){let n=zb(),r=cf();if(!n?.getEntries||!r)return;let{spanStreamingEnabled:i,ignorePerformanceApiSpans:a,ignoreResourceSpans:o}=t,s=Bb(r),c=n.getEntries(),{op:l,start_timestamp:u}=Qp(e);c.slice($b).forEach(t=>{let n=Bb(t.startTime),r=Bb(Math.max(0,t.duration));if(!(l===`navigation`&&u&&s+n<u))switch(t.entryType){case`navigation`:ute(e,t,s);break;case`mark`:case`paint`:case`measure`:cte(e,t,n,r,s,a);break;case`resource`:pte(e,t,t.name,n,r,s,o);break}}),$b=Math.max(c.length-1,0),mte(e,i)}function ote(e,t){let n=cf();if(!zb()?.getEntries||!n){ax();return}let{spanStreamingEnabled:r,recordClsOnPageloadSpan:i,recordLcpOnPageloadSpan:a}=t,o=Bb(n);if(Qp(e).op===`pageload`){if(_te(ex),r){let t=(t,n,r)=>{let i=r??`browser.web_vital.${t}.value`;e.setAttribute(i,n),_y&&U.log(`Setting web vital attribute`,{[i]:n},`on pageload span`)};[`ttfb`,`fp`,`fcp`].forEach(e=>{ex[e]&&t(e,ex[e].value)}),ex[`ttfb.requestTime`]&&t(`ttfb.requestTime`,ex[`ttfb.requestTime`].value,`browser.web_vital.ttfb.request_time`)}else i||delete ex.cls,a||delete ex.lcp,Object.entries(ex).forEach(([t,n])=>{Wm(t,n.value,n.unit,e)}),hte(e,t);e.setAttribute(r?`browser.performance.time_origin`:`performance.timeOrigin`,o),e.setAttribute(r?`browser.performance.navigation.activation_start`:`performance.activationStart`,Sy())}ax()}function ax(){tx=void 0,nx=void 0,ex={}}function ste(e){if(e?.entryType===`measure`)try{return e.detail.devtools.track===`Components â`}catch{return}}function cte(e,t,n,r,i,a){if(ste(t)||[`mark`,`measure`].includes(t.entryType)&&Ud(t.name,a))return;let o=xy(!1),s=Bb(o?o.requestStart:0),c=i+Math.max(n,s),l=i+n,u=l+r,d={[$f]:`auto.resource.browser.metrics`};c!==l&&(d[`sentry.browser.measure_happened_before_request`]=!0,d[`sentry.browser.measure_start_time`]=c),lte(d,t),c<=u&&Lb(e,c,u,{name:t.name,op:t.entryType,attributes:d})}function lte(e,t){try{let n=t.detail;if(!n)return;if(typeof n==`object`){for(let[t,r]of Object.entries(n))if(r&&pd(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(r!==void 0)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if(pd(n)){e[`sentry.browser.measure.detail`]=n;return}try{e[`sentry.browser.measure.detail`]=JSON.stringify(n)}catch{}}catch{}}function ute(e,t,n){[`unloadEvent`,`redirect`,`domContentLoadedEvent`,`loadEvent`,`connect`].forEach(r=>{ox(e,t,r,n)}),ox(e,t,`secureConnection`,n,`TLS/SSL`),ox(e,t,`fetch`,n,`cache`),ox(e,t,`domainLookup`,n,`DNS`),fte(e,t,n)}function ox(e,t,n,r,i=n){let a=t[dte(n)],o=t[`${n}Start`];!o||!a||Lb(e,r+Bb(o),r+Bb(a),{op:`browser.${i}`,name:t.name,attributes:{[$f]:`auto.ui.browser.metrics`,...n===`redirect`&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function dte(e){return e===`secureConnection`?`connectEnd`:e===`fetch`?`domainLookupStart`:`${e}End`}function fte(e,t,n){let r=n+Bb(t.requestStart),i=n+Bb(t.responseEnd),a=n+Bb(t.responseStart);t.responseEnd&&(Lb(e,r,i,{op:`browser.request`,name:t.name,attributes:{[$f]:`auto.ui.browser.metrics`}}),Lb(e,a,i,{op:`browser.response`,name:t.name,attributes:{[$f]:`auto.ui.browser.metrics`}}))}function pte(e,t,n,r,i,a,o){if(t.initiatorType===`xmlhttprequest`||t.initiatorType===`fetch`)return;let s=t.initiatorType?`resource.${t.initiatorType}`:`resource.other`;if(o?.includes(s))return;let c={[$f]:`auto.resource.browser.metrics`},l=T_(n);l.protocol&&(c[`url.scheme`]=l.protocol.split(`:`).pop()),l.host&&(c[`server.address`]=l.host),c[`url.same_origin`]=n.includes(vy.location.origin),c[Oh]=n,gte(t,c,[[`responseStatus`,`http.response.status_code`],[`transferSize`,`http.response_transfer_size`],[`encodedBodySize`,`http.response_content_length`],[`decodedBodySize`,`http.decoded_response_content_length`],[`renderBlockingStatus`,`resource.render_blocking_status`],[`deliveryType`,`http.response_delivery_type`]]);let u={...c,...Xb(t)},d=a+r;Lb(e,d,d+i,{name:n.replace(vy.location.origin,``),op:s,attributes:u})}function mte(e,t){let n=vy.navigator;if(!n)return;let r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?`network.connection.effective_type`:`effectiveConnectionType`,r.effectiveType),r.type&&e.setAttribute(t?`network.connection.type`:`connectionType`,r.type),Ib(r.rtt)&&(t?e.setAttribute(`network.connection.rtt`,r.rtt):Qp(e).op===`pageload`&&Wm(`connection.rtt`,r.rtt,`millisecond`))),Ib(n.deviceMemory)&&(t?e.setAttribute(`device.memory.estimated_capacity`,n.deviceMemory):e.setAttribute(`deviceMemory`,`${n.deviceMemory} GB`)),Ib(n.hardwareConcurrency)&&(t?e.setAttribute(`device.processor_count`,n.hardwareConcurrency):e.setAttribute(`hardwareConcurrency`,String(n.hardwareConcurrency)))}function hte(e,t){tx&&t.recordLcpOnPageloadSpan&&(tx.element&&e.setAttribute(`lcp.element`,Nb(tx.element)),tx.id&&e.setAttribute(`lcp.id`,tx.id),tx.url&&e.setAttribute(`lcp.url`,tx.url.trim().slice(0,200)),tx.loadTime!=null&&e.setAttribute(`lcp.loadTime`,tx.loadTime),tx.renderTime!=null&&e.setAttribute(`lcp.renderTime`,tx.renderTime),e.setAttribute(`lcp.size`,tx.size)),nx?.sources&&t.recordClsOnPageloadSpan&&nx.sources.forEac
21h((t,n)=>e.setAttribute(`cls.source.${n+1}`,Nb(t.node)))}function gte(e,t,n){n.forEach(([n,r])=>{let i=e[n];i!=null&&(typeof i==`number`&&i<Qb||typeof i==`string`)&&(t[r]=i)})}function _te(e){let t=xy(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e[`ttfb.requestTime`]={value:n-r,unit:`millisecond`})}var sx=[],cx=new Map,lx=new Map;function vte(){if(zb()&&cf()){let e=yte();return()=>{e()}}return()=>void 0}var ux={click:`click`,pointerdown:`click`,pointerup:`click`,mousedown:`click`,mouseup:`click`,touchstart:`click`,touchend:`click`,mouseover:`hover`,mouseout:`hover`,mouseenter:`hover`,mouseleave:`hover`,pointerover:`hover`,pointerout:`hover`,pointerenter:`hover`,pointerleave:`hover`,dragstart:`drag`,dragend:`drag`,drag:`drag`,dragenter:`drag`,dragleave:`drag`,dragover:`drag`,drop:`drag`,keydown:`press`,keyup:`press`,keypress:`press`,input:`press`};function yte(){return vb(bte)}var bte=({metric:e})=>{if(e.value==null)return;let t=Bb(e.value);if(t>60)return;let n=e.entries.find(t=>t.duration===e.value&&ux[t.name]);if(!n)return;let{interactionId:r}=n,i=ux[n.name],a=Bb(cf()+n.startTime),o=hm(),s=o?pm(o):void 0,c=r==null?void 0:cx.get(r),l=c?.span||s,u=l?Qp(l).description:Uf().getScopeData().transactionName,d=Rb({name:c?.elementName||Nb(n.target),transaction:u,attributes:{[$f]:`auto.http.browser.inp`,[Qf]:`ui.interaction.${i}`,[ap]:n.duration},startTime:a});d&&(d.addEvent(`inp`,{[tp]:`millisecond`,[np]:e.value}),d.end(a+t))};function xte(e){return e==null?void 0:cx.get(e)}function Ste(){let e=Object.keys(ux);Cg()&&e.forEach(e=>{vy.addEventListener(e,t,{capture:!0,passive:!0})});function t(e){let t=e.target;if(!t)return;let n=Nb(t),r=Math.round(e.timeStamp);if(lx.set(r,n),lx.size>50){let e=lx.keys().next().value;e!==void 0&&lx.delete(e)}}function n(e){let t=Math.round(e.startTime),n=lx.get(t);if(!n)for(let e=-5;e<=5;e++){let r=lx.get(t+e);if(r){n=r;break}}return n||`<unknown>`}let r=({entries:e})=>{let t=hm(),r=t&&pm(t);e.forEach(e=>{if(!kb(e))return;let t=e.interactionId;if(t==null||cx.has(t))return;let i=e.target?Nb(e.target):n(e);if(sx.length>10){let e=sx.shift();cx.delete(e)}sx.push(t),cx.set(t,{span:r,elementName:i})})};yb(`event`,r),yb(`first-input`,r)}function dx(e){let{name:t,op:n,origin:r,metricName:i,value:a,attributes:o,parentSpan:s,reportEvent:c,startTime:l,endTime:u}=e,d=Uf().getScopeData().transactionName,f={[$f]:r,[Qf]:n,[ap]:0,[`browser.web_vital.${i}.value`]:a,[Dh]:d,[Eh]:d,"user_agent.original":vy.navigator?.userAgent,...o};s&&$p(s).attributes?.[`sentry.op`]===`pageload`&&(f[`sentry.pageload.span_id`]=s.spanContext().spanId),c&&(f[`browser.web_vital.${i}.report_event`]=c);let p=Qm({name:t,attributes:f,startTime:l,parentSpan:s});p&&p.end(u??l)}function Cte(e){let t=0,n;if(!Hb(`largest-contentful-paint`))return;let r=_b(({metric:e})=>{let r=e.entries[e.entries.length-1];!r||!Kb(e.value)||(t=e.value,n=r)},!0);Ub(e,(e,i,a)=>{wte(t,n,a,e),r()})}function wte(e,t,n,r){if(!Kb(e))return;_y&&U.log(`Sending LCP span (${e})`);let i=cf()||0,a=Bb(i),o=Bb(i+(t?.startTime||0)),s=t?Nb(t.element):`Largest contentful paint`,c={};t?.element&&(c[`browser.web_vital.lcp.element`]=Nb(t.element)),t?.id&&(c[`browser.web_vital.lcp.id`]=t.id),t?.url&&(c[`browser.web_vital.lcp.url`]=t.url),t?.loadTime!=null&&(c[`browser.web_vital.lcp.load_time`]=t.loadTime),t?.renderTime!=null&&(c[`browser.web_vital.lcp.render_time`]=t.renderTime),t?.size!=null&&(c[`browser.web_vital.lcp.size`]=t.size),dx({name:s,op:`ui.webvital.lcp`,origin:`auto.http.browser.lcp`,metricName:`lcp`,value:e,attributes:c,parentSpan:n,reportEvent:r,startTime:a,endTime:o})}function Tte(e){let t=0,n;if(!Hb(`layout-shift`))return;let r=gb(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);Ub(e,(e,i,a)=>{Ete(t,n,a,e),r()})}function Ete(e,t,n,r){_y&&U.log(`Sending CLS span (${e})`);let i=t?Bb((cf()||0)+t.startTime):af(),a=t?Nb(t.sources[0]?.node):`Layout shift`,o={};t?.sources&&t.sources.forEach((e,t)=>{o[`browser.web_vital.cls.source.${t+1}`]=Nb(e.node)}),dx({name:a,op:`ui.webvital.cls`,origin:`auto.http.browser.cls`,metricName:`cls`,value:e,attributes:o,parentSpan:n,reportEvent:r,startTime:i})}function Dte(){!zb()||!cf()||vb(({metric:e})=>
21{if(e.value==null||Bb(e.value)>60)return;let t=e.entries.find(t=>t.duration===e.value&&ux[t.name]);t&&Ote(e.value,t)})}function Ote(e,t){_y&&U.log(`Sending INP span (${e})`);let n=Bb(cf()+t.startTime),r=Bb(e),i=ux[t.name],a=xte(t.interactionId),o=hm(),s=o?pm(o):void 0,c=a?.span||s,l=c?$p(c).name:Uf().getScopeData().transactionName;dx({name:a?.elementName||Nb(t.target),op:`ui.interaction.${i}`,origin:`auto.http.browser.inp`,metricName:`inp`,value:e,attributes:{[ap]:t.duration,[Dh]:l,[Eh]:l},startTime:n,endTime:n+r,parentSpan:c})}var kte=1e3,fx,px,mx;function Ate(e){Xu(`dom`,e),Zu(`dom`,jte)}function jte(){if(!vy.document)return;let e=Qu.bind(null,`dom`),t=hx(e,!0);vy.document.addEventListener(`click`,t,!1),vy.document.addEventListener(`keypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=vy[t]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(xd(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=hx(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),xd(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),Object.keys(n).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function Mte(e){if(e.type!==px)return!1;try{if(!e.target||e.target._sentryId!==mx)return!1}catch{}return!0}function Nte(e,t){return e===`keypress`?t?.tagName?!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!0:!1}function hx(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=Pte(n);if(Nte(n.type,r))return;Sd(n,`_sentryCaptured`,!0),r&&!r._sentryId&&Sd(r,`_sentryId`,qd());let i=n.type===`keypress`?`input`:n.type;Mte(n)||(e({event:n,name:i,global:t}),px=n.type,mx=r?r._sentryId:void 0),clearTimeout(fx),fx=vy.setTimeout(()=>{mx=void 0,px=void 0},kte)}}function Pte(e){try{return e.target}catch{return null}}var gx;function _x(e){let t=`history`;Xu(t,e),Zu(t,Fte)}function Fte(){if(vy.addEventListener(`popstate`,()=>{let e=vy.location.href,t=gx;gx=e,t!==e&&Qu(`history`,{from:t,to:e})}),!Av())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=gx,i=Ite(String(n));if(gx=i,r===i)return e.apply(this,t);Qu(`history`,{from:r,to:i})}return e.apply(this,t)}}xd(vy.history,`pushState`,e),xd(vy.history,`replaceState`,e)}function Ite(e){try{return new URL(e,vy.location.origin).toString()}catch{return e}}var vx={};function Lte(e){let t=vx[e];if(t)return t;let n=vy[e];if(Mv(n))return vx[e]=n.bind(vy);let r=vy.document;if(r&&typeof r.createElement==`function`)try{let t=r.createElement(`iframe`);t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){_y&&U.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n&&(vx[e]=n.bind(vy))}function Rte(e){vx[e]=void 0}var yx=`__sentry_xhr_v3__`;function bx(e){Xu(`xhr`,e),Zu(`xhr`,zte)}function zte(){if(!vy.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=af()*1e3,a=dd(n[0])?n[0].toUpperCase():void 0,o=Bte(n[1]);if(!a||!o)return e.apply(t,n);t[yx]={method:a,url:o,request_headers:{}},a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[yx];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}Qu(`xhr`,{endTimestamp:af()*1e3,startTimestamp:i,xhr:t,virtualError:r}),t.removeEventListener(`readystatechange`,s)}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[yx];return a&&dd(r)&&dd(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[yx];return r?(n[0]!==void 0&&(r.body=n[0]),Qu(`xhr`,{startTimestamp:af()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function Bte(e){if(dd(e))return e;try{return e.toString()}catch{}}function Vte(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return _y&&U.error(t,`Failed to get xhr response headers`,e),{}}return t?t.split(`\r 22`).reduce((e,t)=>
22{let[n,r]=t.split(`: `);return r&&(e[n.toLowerCase()]=r),e},{}):{}}function Hte(e){if(typeof Element>`u`)return!1;try{return e instanceof Element}catch{return!1}}var Ute=40;function Wte(e,t=Lte(`fetch`)){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`strict-origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get(`X-Sentry-Rate-Limits`),"retry-after":n.headers.get(`Retry-After`)}}}catch(e){throw Rte(`fetch`),e}finally{n-=a,r--}}return Wg(e,i,Rg(e.bufferSize||Ute))}var xx=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,Gte=30,Kte=50;function Sx(e,t,n,r){let i={filename:e,function:t===`<anonymous>`?`?`:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var qte=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Jte=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Yte=/\((\S*)(?::(\d+))(?::(\d+))\)/,Xte=/at (.+?) ?\(data:(.+?),/,Zte=[Gte,e=>{let t=e.match(Xte);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=qte.exec(e);if(n){let[,e,t,r]=n;return Sx(e,`?`,+t,+r)}let r=Jte.exec(e);if(r){if(r[2]?.indexOf(`eval`)===0){let e=Yte.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=Cx(r[1]||`?`,r[2]);return Sx(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],Qte=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,$te=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ene=Vu(Zte,[Kte,e=>{let t=Qte.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=$te.exec(t[3]);e&&(t[1]=t[1]||`eval`,t[3]=e[1],t[4]=e[2],t[5]=``)}let e=t[3],n=t[1]||`?`;return[n,e]=Cx(n,e),Sx(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),Cx=(e,t)=>{let n=e.indexOf(`safari-extension`)!==-1,r=e.indexOf(`safari-web-extension`)!==-1;return n||r?[e.indexOf(`@`)===-1?`?`:e.split(`@`)[0],n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},wx=1024,tne=`Breadcrumbs`,nne=yg(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:tne,setup(e){t.console&&av(ane(e)),t.dom&&Ate(ine(e,t.dom)),t.xhr&&bx(one(e)),t.fetch&&Pv(sne(e)),t.history&&_x(cne(e)),t.sentry&&e.on(`beforeSendEvent`,rne(e))}}}));function rne(e){return function(t){qf()===e&&P_({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:Yd(t)},{event:t})}}function ine(e,t){return function(n){if(qf()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>wx&&(xx&&U.warn(`\`dom.maxStringLength\` cannot exceed ${wx}, but a value of ${o} was configured. Sentry will use ${wx} instead.`),o=wx),typeof a==`string`&&(a=[a]);try{let e=n.event,t=lne(e)?e.target:e;r=Nb(t,{keyAttrs:a,maxStringLength:o}),i=Gv(t)}catch{r=`<unknown>`}if(r.length===0)return;let s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),P_(s,{event:n.event,name:n.name,global:n.global})}}function ane(e){return function(t){if(qf()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:cv(t.level),message:Vd(t.args,` `)};if(t.level===`assert`)if(t.args[0]===!1)n.message=`Assertion failed: ${Vd(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return;P_(n,{input:t.args,level:t.level})}}function one(e){return function(t){if(qf()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[yx];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:`xhr`,data:l,type:`http`,level:Ov(s)};e.emit(`beforeOutgoingRequestBreadcrumb`,d,u),P_(d,u)}}function sne(e){return function(t){if(qf()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`))if(t.error){let i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:`fetch`,data:t.fetchData,level:`error`,type:`http`};e.emit(`beforeOutgoingRequestBreadcrumb`,a,i),P_(a,i)}else{let i=t.response,a={...t.fetchData,status_code:i?.status},o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:`fetch`,data:a,type:`http`,level:Ov(a.status_code)};e.emit(`beforeOutgoingRequestBreadcrumb`,s,o),P_(s,o)}}}function cne(e){return function(t){if(qf()!==e)return;let n=t.from,r=t.to,i=T_(Kv.location.href),a=n?T_(n):void 0,o=T_(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),P_({category:`navigation`,data:{from:n,to:r}})}}function lne(e){return!!e&&!!e.target}var une=`EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDB
22Request,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload`.split(`,`),dne=`BrowserApiErrors`,fne=yg(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:dne,setupOnce(){t.setTimeout&&xd(Kv,`setTimeout`,Tx),t.setInterval&&xd(Kv,`setInterval`,Tx),t.requestAnimationFrame&&xd(Kv,`requestAnimationFrame`,pne),t.XMLHttpRequest&&`XMLHttpRequest`in Kv&&xd(XMLHttpRequest.prototype,`send`,mne);let e=t.eventTarget;e&&(Array.isArray(e)?e:une).forEach(e=>hne(e,t))}}}));function Tx(e){return function(...t){let n=t[0];return t[0]=Xv(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${Ku(e)}`}}),e.apply(this,t)}}function pne(e){return function(t){return e.apply(this,[Xv(t,{mechanism:{data:{handler:Ku(e)},handled:!1,type:`auto.browser.browserapierrors.requestAnimationFrame`}})])}}function mne(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e=>{e in n&&typeof n[e]==`function`&&xd(n,e,function(t){let n={mechanism:{data:{handler:Ku(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=wd(t);return r&&(n.mechanism.data.handler=Ku(r)),Xv(t,n)})}),e.apply(this,t)}}function hne(e,t){let n=Kv[e]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(xd(n,`addEventListener`,function(n){return function(r,i,a){try{gne(i)&&(i.handleEvent=Xv(i.handleEvent,{mechanism:{data:{handler:Ku(i),target:e},handled:!1,type:`auto.browser.browserapierrors.handleEvent`}}))}catch{}return t.unregisterOriginalCallbacks&&_ne(this,r,i),n.apply(this,[r,Xv(i,{mechanism:{data:{handler:Ku(i),target:e},handled:!1,type:`auto.browser.browserapierrors.addEventListener`}}),a])}}),xd(n,`removeEventListener`,function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,`__sentry_wrapped__`)){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}}))}function gne(e){return typeof e.handleEvent==`function`}function _ne(e,t,n){e&&typeof e==`object`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`&&e.removeEventListener(t,n)}var vne=yg((e={})=>{let t=e.lifecycle??`route`;return{name:`BrowserSession`,setupOnce(){if(Kv.document===void 0){xx&&U.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}ig({ignoreDuration:!0});let e=!1;eb(()=>{e||=(sg(),!0)});let n=Wf(),r=n.getUser();n.addScopeListener(t=>{let n=t.getUser();(r?.id!==n?.id||r?.ip_address!==n?.ip_address)&&(r=n,e&&sg())}),t===`route`&&_x(({from:t,to:n})=>{t!==n&&(ig({ignoreDuration:!0}),sg(),e=!0)})}}}),yne=`CultureContext`,bne=yg((()=>({name:yne,preprocessEvent(e){let t=Ex();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=Ex();t&&kh(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})));function Ex(){try{let e=Kv.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}var xne=`GlobalHandlers`,Sne=yg(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:xne,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(Cne(e),Dx(`onerror`)),t.onunhandledrejection&&(wne(e),Dx(`onunhandledrejection`))}}}));function Cne(e){ed(t=>{let{stackParser:n,attachStacktrace:r}=Ox();if(qf()!==e||Jv())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=Dne(uy(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,tg(l,{originalException:c,mechanism:{handled:!1,type:`auto.browser.global_handlers.onerror`}})})}function wne(e){rd(t=>{let{stackParser:n,attachStacktrace:r}=Ox();if(qf()!==e||Jv())return;let i=Tne(t),a=pd(i)?Ene(i):uy(n,i,void 0,r,!0);a.level=`error`,tg(a,{originalException:i,mechanism:{handled:!1,type:`auto.browser.global_handlers.onunhandledrejection`}})})}function Tne(e){if(pd(e))return e;try{if(`reason`in e)return e.reason;if(`detail`in e&&`reason`in e.detail)return e.detail.reason}catch{}return e}function Ene(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Dne(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[];
22return c.length===0&&c.push({colno:r,lineno:n,filename:One(t)??Wv(),function:`?`,in_app:!0}),e}function Dx(e){xx&&U.log(`Global Handler attached: ${e}`)}function Ox(){return qf()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function One(e){if(!(!dd(e)||e.length===0))return e.startsWith(`data:`)?`<${D_(e,!1)}>`:e}var kne=yg(()=>({name:`HttpContext`,preprocessEvent(e){if(!Kv.navigator&&!Kv.location&&!Kv.document)return;let t=Zv(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){let t=e.attributes?.[Qf];if(!Kv.navigator&&!Kv.location&&!Kv.document)return;let n=Zv();kh(e,{[Oh]:t===`http.client`?void 0:n.url,"http.request.header.user_agent":n.headers[`User-Agent`],"http.request.header.referer":n.headers.Referer})}})),Ane=`cause`,jne=5,Mne=`LinkedErrors`,Nne=yg(((e={})=>{let t=e.limit||jne,n=e.key||Ane;return{name:Mne,preprocessEvent(e,r,i){Z_(Qv,i.getOptions().stackParser,n,t,e,r)}}})),Pne=/^HTML(\w*)Element$/;function kx(e){if(typeof window<`u`&&e===window)return`[Window]`;if(typeof document<`u`&&e===document)return`[Document]`;if(Hte(e)){let t=Fne(e);if(Pne.test(t))return`[HTMLElement: ${Nb(e)}]`}}function Fne(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function Ine(){return Lne()?(xx&&ku(()=>{console.error(`[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/`)}),!0):!1}function Lne(){if(Kv.window===void 0)return!1;let e=Kv;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;let t=Wv();return!(Kv===Kv.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}function Rne(e){return[V_(),L_(),vv(),fne(),nne(),Sne(),Nne(),uv(),kne(),bne(),vne()]}function zne(e={}){let t=!e.skipBrowserExtensionCheck&&Ine(),n=e.defaultIntegrations==null?Rne():e.defaultIntegrations,r={...e,enabled:t?!1:e.enabled,stackParser:Hu(e.stackParser||ene),integrations:hg({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||Wte};return Md(kx),y_(hy,r)}function Bne(e){return e.split(`,`).some(e=>e.trim().startsWith(`sentry-`))}function Ax(e){try{return new URL(e,Kv.location.origin).href}catch{return}}function Vne(e){return e.entryType===`resource`&&`initiatorType`in e&&typeof e.nextHopProtocol==`string`&&(e.initiatorType===`fetch`||e.initiatorType===`xmlhttprequest`)}function jx(e){try{return new Headers(e)}catch{return}}var Mx={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function Hne(e,t){let{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:i,enableHTTPTimings:a,tracePropagationTargets:o,onRequestSpanStart:s,onRequestSpanEnd:c}
22={...Mx,...t},l=typeof i==`function`?i:e=>!0,u=e=>Wne(e,o),d={},f=e.getOptions().propagateTraceparent;n&&Pv(t=>{let n=yv(t,l,u,d,{propagateTraceparent:f,onRequestSpanEnd:c});if(n){let r=Ax(t.fetchData.url),i=r?T_(r).host:void 0,o=r?D_(r):void 0;n.setAttributes({[Th]:o,[Oh]:o,"server.address":i}),a&&Nx(n,e),s?.(n,{headers:t.headers})}}),r&&bx(t=>{let n=Gne(t,l,u,d,f,c);n&&(a&&Nx(n,e),s?.(n,{headers:jx(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}var Une=300;function Nx(e,t){let{url:n}=Qp(e).data;if(!n||typeof n!=`string`)return;let r=()=>void setTimeout(i);if(qm(t)){let t=e.end.bind(e);e.end=e=>{let n=e??af(),a=!1,o=()=>{a||(a=!0,setTimeout(i),t(n),clearTimeout(s))};r=o;let s=setTimeout(o,Une)}}let i=yb(`resource`,({entries:t})=>{t.forEach(t=>{Vne(t)&&t.name.endsWith(n)&&(e.setAttributes(Xb(t)),r())})})}function Wne(e,t){let n=Wv();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}let a=r.origin===i;return t?Ud(r.toString(),t)||a&&Ud(r.pathname,t):a}else{let n=!!e.match(/^\/(?!\/)/);return t?Ud(e,t):n}}function Gne(e,t,n,r,i,a){let o=e.xhr,s=o?.[yx];if(!o||o.__sentry_own_request__||!s)return;let{url:c,method:l}=s,u=ym()&&t(c);if(e.endTimestamp){let t=o.__sentry_xhr_span_id__;if(!t)return;let n=r[t];n&&(u&&s.status_code!==void 0&&(lp(n,s.status_code),n.end(),a?.(n,{headers:jx(Vte(o)),error:e.error})),delete r[t]);return}let d=Ax(c),f=T_(d||c),p=d?D_(d):void 0,m=D_(E_(c)),h=qf(),g=!!hm(),_=g||!!h&&qm(h),v=u&&_?Qm({name:`${l} ${m}`,attributes:{url:D_(c),type:`xhr`,"http.method":l,"http.url":p,[Oh]:p,"server.address":f?.host,[$f]:`auto.http.browser`,[Qf]:`http.client`,...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new Em,y=ch(v)&&g?void 0:v;return u&&!_&&h?.recordDroppedEvent(`no_parent_span`,`span`),o.__sentry_xhr_span_id__=v.spanContext().spanId,r[o.__sentry_xhr_span_id__]=v,n(c)&&Kne(o,ym()&&_?y:void 0,i),h&&h.emit(`beforeOutgoingRequestSpan`,v,e),v}function Kne(e,t,n){let{"sentry-trace":r,baggage:i,traceparent:a}=A_({span:t,propagateTraceparent:n});r&&qne(e,r,i,a)}function qne(e,t,n,r){let i=e.__sentry_xhr_v3__?.request_headers;if(!(i?.[`sentry-trace`]||!e.setRequestHeader))try{if(e.setRequestHeader(`sentry-trace`,t),r&&!i?.traceparent&&e.setRequestHeader(`traceparent`,r),n){let t=i?.baggage;(!t||!Bne(t))&&e.setRequestHeader(`baggage`,n)}}catch{}}var Px=new WeakMap,Fx=new WeakMap,Jne=9e4,Yne=[`text/event-stream`,`application/x-ndjson`,`application/stream+json`],Xne=yg(()=>({name:`FetchStreamPerformance`,setup(){Fv(e=>{if(e.response){let t=Px.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);let n=Fx.get(e.response);n&&clearTimeout(n)}}}),Pv(e=>{if(e.endTimestamp&&e.response){let t=e.response.headers?.get(`content-type`)||``;if(e.response.headers?.get(`content-length`)||!Yne.some(e=>t.startsWith(e)))return;let n=e.fetchData?.url||``,r=e.fetchData?.method||`GET`,i=C_(n),a=Qm({name:`${r} ${n.startsWith(`data:`)?D_(n):i?w_(i):n}`,startTime:e.endTimestamp,attributes:{url:D_(n),"http.method":r,type:`fetch`,[Qf]:`http.client.stream`,[$f]:`auto.http.browser.stream`}});Px.set(e.response,a);let o=setTimeout(()=>{a.isRecording()&&a.end()},Jne);Fx.set(e.response,o)}})}})),Zne=`WebVitals`,Qne=yg((e={})=>{let t=new Set(e.ignore??[]);return{name:Zne,setup(n){let r=qm(n),{enableStandaloneClsSpans:i,enableStandaloneLcpSpans:a}=e._experiments??{},o=r||t.has(`cls`)?void 0:i||!1,s=r||t.has(`lcp`)?void 0:a||!1,c=rx({recordClsStandaloneSpans:o,recordLcpStandaloneSpans:s,client:n}),l=new WeakSet;n.on(`afterStartPageLoadSpan`,e=>{l.add(e)}),n.on(`spanEnd`,e=>{l.delete(e)&&(c(),ote(e,{recordClsOnPageloadSpan:o===!1,recordLcpOnPageloadSpan:s===!1,spanStreamingEnabled:r}))}),r?(t.has(`lcp`)||Cte(n),t.has(`cls`)||Tte(n),t.has(`inp`)||Dte()):t.has(`inp`)||vte()},afterAllSetup(){t.has(`inp`)||Ste()}}});function $ne(){Kv.document?Kv.document.addEventListener(`visibilitychange`,()=>{let e=hm();if(!e)return;let t=pm(e);if(Kv.document.hidden&&t){let e=`cancelled`,{op:n,status:r}=Qp(t);xx&&U.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:2,message:e}),t.setAttribute(`sentry.cancellation_reason`,`document.hidden`),t.end()}}):xx&&U.warn(`[Tracing] Could not set up background tab detection due to lack of global document`)}var Ix=`sentry_previous_trace`,ere=`sentry.previous_trace`;function tre(e,{linkPreviousTrace:t,consistentTraceSampling:n}){let r=t===`session-storage`,i=r?ire():void 0;e.on(`spanStart`,e=>{if(pm(e)!==e)return;
22let t=Uf().getPropagationContext();i=nre(i,e,t),r&&rre(i)});let a=!0;n&&e.on(`beforeSampling`,e=>{if(!i)return;let t=Uf(),n=t.getPropagationContext();if(a&&n.parentSpanId){a=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(i.sampleRate),sampled:String(Lx(i.spanContext))},sampleRand:i.sampleRand}),e.parentSampled=Lx(i.spanContext),e.parentSampleRate=i.sampleRate,e.spanAttributes={...e.spanAttributes,[Zf]:i.sampleRate}})}function nre(e,t,n){let r=Qp(t);function i(){try{let e=Number(r.data?.[`sentry.sample_rate`]??n.dsc?.sample_rate);return Number.isNaN(e)?0:e}catch{return 0}}let a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:i(),sampleRand:n.sampleRand};if(!e)return a;let o=e.spanContext;return o.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(xx&&U.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:o,attributes:{[op]:`previous_trace`}}),t.setAttribute(ere,`${o.traceId}-${o.spanId}-${+!!Lx(o)}`)),a)}function rre(e){try{Kv.sessionStorage.setItem(Ix,JSON.stringify(e))}catch(e){xx&&U.warn(`Could not store previous trace in sessionStorage`,e)}}function ire(){try{let e=Kv.sessionStorage?.getItem(Ix);return JSON.parse(e)}catch{return}}function Lx(e){return e.traceFlags===1}var are=`BrowserTracing`,ore=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function sre(){let e=Kv.navigator;return e?.userAgent?ore.test(e.userAgent):!1}var cre={...lh,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:`in-memory`,consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...Mx},lre=((e={})=>{`enableElementTiming`in e&&ku(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let t={name:void 0,source:void 0},n=Kv.document,{enableInp:r,enableLongTask:i,enableLongAnimationFrame:a,_experiments:{enableInteractions:o,enableStandaloneClsSpans:s,enableStandaloneLcpSpans:c},beforeStartSpan:l,idleTimeout:u,finalTimeout:d,childSpanTimeout:f,markBackgroundSpan:p,traceFetch:m,traceXHR:h,trackFetchStreamPerformance:g,shouldCreateSpanForRequest:_,enableHTTPTimings:v,ignoreResourceSpans:y,ignorePerformanceApiSpans:b,instrumentPageLoad:x,instrumentNavigation:S,detectRedirects:C,linkPreviousTrace:w,consistentTraceSampling:T,enableReportPageLoaded:E,onRequestSpanStart:D,onRequestSpanEnd:O}={...cre,...e},k=sre(),A,ee;function j(e,r,i=!0,a){let o=r.op===`pageload`,s=r.name,c=l?l(r):r,p=C_(a||Wv()),m={...p?.pathname&&{"url.path":p.pathname},...p&&!S_(p)&&{"url.full":p.href},...c.attributes};if(s!==c.name&&(m[Yf]=`custom`),c.attributes=m,!i){let e=tf();Qm({...c,startTime:e}).end(e);return}t.name=c.name,t.source=m[Yf];let h=mh(c,{idleTimeout:u,finalTimeout:d,childSpanTimeout:f,disableAutoFinish:o,beforeSpanEnd:t=>{ate(t,{ignoreResourceSpans:y,ignorePerformanceApiSpans:b,spanStreamingEnabled:qm(e)}),Hx(e,void 0);let n=Uf(),r=n.getPropagationContext();n.setPropagationContext({...r,traceId:h.spanContext().traceId,sampled:im(h),dsc:Nm(t)}),o&&(ee=void 0)},trimIdleSpanEndTimestamp:!E});o&&E&&(ee=h),Hx(e,h);function g(){n&&[`interactive`,`complete`].includes(n.readyState)&&(e.emit(`idleSpanEnableAutoFinish`,h),n.removeEventListener(`readystatechange`,g))}o&&!E&&n&&(n.addEventListener(`readystatechange`,g),g())}return{name:are,setup(e){if(k){xx&&U.log(`[Tracing] Skipping browserTracingIntegration setup for bot user agent.`);return}if(vm(),a&&xu.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes(`long-animation-frame`)?$ee():i&&ix(),o&&ete(),C&&n){let e=()=>{A=af()};addEventListener(`click`,e,{capture:!0}),addEventListener(`keydown`,e,{capture:!0,passive:!0})}function t(){let t=Vx(e);t&&!Qp(t).timestamp&&(xx&&U.log(`[Tracing] Finishing current active span with op: ${Qp(t).op}`),t.setAttribute(ep,`cancelled`),t.end())}e.on(`startNavigationSpan`,(n,r)=>{if(qf()!==e)return;if(r?.isRedirect){xx&&U.warn(`[Tracing] Detected redirect, navigation span will not be the root span, but a child span.`),j(e,{op:`navigation.redirect`,...n},!1,r.url);return}A=void 0,t(),Wf().setPropagationContext({traceId:mf(),sampleRand:Math.random(),propagationSpanId:ym()?void 0:hf()});let i=Uf();i.setPropagationContext({traceId:mf(),sampleRand:Math.random(),propagationSpanId:ym()?void 0:hf()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),j(e,{op:`navigation`,...n,parentSpan:null,forceTransaction:!0},!0,r?.url)}),e.on(`startPageLoadSpan`,(n,r={})=>
22{if(qf()!==e)return;t();let i=zp(r.sentryTrace||Rx(`sentry-trace`)||zx(`sentry-trace`),r.baggage||Rx(`baggage`)||zx(`baggage`)),a=Uf();a.setPropagationContext(i),ym()||(a.getPropagationContext().propagationSpanId=hf()),a.setSDKProcessingMetadata({normalizedRequest:Zv()}),j(e,{op:`pageload`,...n})}),e.on(`endPageloadSpan`,()=>{E&&ee&&(ee.setAttribute(ep,`reportPageLoaded`),ee.end())})},afterAllSetup(e){if(k)return;e.addIntegration&&!e.getIntegrationByName?.(`WebVitals`)&&e.addIntegration(Qne({ignore:r?[]:[`inp`],_experiments:{enableStandaloneClsSpans:s,enableStandaloneLcpSpans:c}}));let n=Wv();if(w!==`off`&&tre(e,{linkPreviousTrace:w,consistentTraceSampling:T}),Kv.location){if(x){let t=cf();ure(e,{name:Kv.location.pathname,startTime:t?t/1e3:void 0,attributes:{[Yf]:`url`,[$f]:`auto.pageload.browser`}})}S&&_x(({to:t,from:r})=>{if(r===void 0&&n?.indexOf(t)!==-1){n=void 0;return}n=void 0;let i=C_(t),a=Vx(e),o=a&&C&&pre(a,A);dre(e,{name:i?.pathname||Kv.location.pathname,attributes:{[Yf]:`url`,[$f]:`auto.navigation.browser`}},{url:t,isRedirect:o})})}p&&$ne(),o&&fre(e,u,d,f,t),Hne(e,{traceFetch:m,traceXHR:h,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:_,enableHTTPTimings:v,onRequestSpanStart:D,onRequestSpanEnd:O}),g&&e.addIntegration(Xne())}}});function ure(e,t,n){e.emit(`startPageLoadSpan`,t,n),Uf().setTransactionName(t.name);let r=Vx(e);return r&&e.emit(`afterStartPageLoadSpan`,r),r}function dre(e,t,n){let{url:r,isRedirect:i}=n||{};e.emit(`beforeStartNavigationSpan`,t,{isRedirect:i,url:r}),e.emit(`startNavigationSpan`,t,{isRedirect:i,url:r});let a=Uf();return a.setTransactionName(t.name),r&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...Zv(),url:r}}),Vx(e)}function Rx(e){return(Kv.document?.querySelector(`meta[name=${e}]`))?.getAttribute(`content`)||void 0}function zx(e){return(Kv.performance?.getEntriesByType?.(`navigation`)[0])?.serverTiming?.find(t=>t.name===e)?.description}function fre(e,t,n,r,i){let a=Kv.document,o;a&&addEventListener(`click`,()=>{let a=`ui.action.click`,s=Vx(e);if(s){let e=Qp(s).op;if([`navigation`,`pageload`].includes(e)){xx&&U.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`);return}}if(o&&=(o.setAttribute(ep,`interactionInterrupted`),o.end(),void 0),!i.name){xx&&U.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}o=mh({name:i.name,op:a,attributes:{[Yf]:i.source||`url`}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})},{capture:!0})}var Bx=`_sentry_idleSpan`;function Vx(e){return e[Bx]}function Hx(e,t){Sd(e,Bx,t)}var Ux=1.5;function pre(e,t){let n=Qp(e),r=tf();return!(r-n.start_timestamp>Ux||t&&r-t<=Ux)}function Wx(e){return md(e)&&`nativeEvent`in e&&`preventDefault`in e&&`stopPropagation`in e}var W=e(x());function Gx(e){let t={...e};k_(t,`react`),ng(`react`,{version:W.version});let n=zne(t);return Md(mre),n}function mre(e){return Wx(e)?`[SyntheticEvent]`:kx(e)}var Kx=S(),qx=function(){return null},Jx={container:`_container_19lb7_3`,contentWrapper:`_contentWrapper_19lb7_13`,contentWrapperWithBanner:`_contentWrapperWithBanner_19lb7_21`,contentWrapperWithAlert:`_contentWrapperWithAlert_19lb7_25`,hasFooter:`_hasFooter_19lb7_34`,hasBanner:`_hasBanner_19lb7_38`,hasAlert:`_hasAlert_19lb7_42`,authLoadingContainer:`_authLoadingContainer_19lb7_90`,loading:`_loading_19lb7_1`,orgContainer:`_orgContainer_19lb7_94`,containerWrapper:`_containerWrapper_19lb7_137`,content:`_content_19lb7_13`,overflowVisible:`_overflowVisible_19lb7_151`,orgContent:`_orgContent_19lb7_154`,orgContentWithOrgNav:`_orgContentWithOrgNav_19lb7_158`,createContent:`_createContent_19lb7_163`,deploymentIcon:`_deploymentIcon_19lb7_172`,alertIcon:`_alertIcon_19lb7_173`,securityIcon:`_securityIcon_19lb7_179`,eventIcon:`_eventIcon_19lb7_188`,billingIcon:`_billingIcon_19lb7_197`,apiKeysIcon:`_apiKeysIcon_19lb7_206`,outlet:`_outlet_19lb7_212`,containerWithAlert:`_containerWithAlert_19lb7_223`,alwaysShowScrollBarGutter:`_alwaysShowScrollBarGutter_19lb7_228`,inCreatePage:`_inCreatePage_19lb7_241`,accountPage:`_accountPage_19lb7_245`,alwaysShowScrollBar:`_alwaysShowScrollBar_19lb7_228`,willSuspendAlertWrapper:`_willSuspendAlertWrapper_19lb7_256`,dialogContainer:`_dialogContainer_19lb7_260`,dialogPaper:`_dialogPaper_19lb7_261`,trumpetIcon:`_trumpetIcon_19lb7_266`,betaMessage:`_betaMessage_19lb7_277`,messageContent:`_messageContent_19lb7_282`,warningMessage:`_warningMessage_19lb7_291`,strong:`_strong_19lb7_296`,errorMsgTitle:`_errorMsgTitle_19lb7_302`,actionWrapper:`_actionWrapper_19lb7_307`,divider:`_divider_19lb7_312`,rotate:`_rotate_19lb7_1`},Yx=function(e){return e.databases=`clusters`,e.dataPlanes=`dataplanes`,e.onDemand=`on-demand`,e.onDemandQuickStart=`on-demand/quick-start`,e.onDemandClusters=`on-demand/clusters`,e.onDemandDatabases=`on-demand/databases`,e.backups=`backup`,e.stages=`stages`,e.alert=`alert`,e.network=`network-access`,e.privateLink=`private-links`,e.cmek=`cmek`,e.admin=`admin`,e.recycle=`recycle`,e.projectUsers=`project-users`,e.orgList=`/orgs`,e.playground=`api-playground`,e.jobs=`jobs`,e.migrations=`migrations`,e.integrations=`integrations`,e.settings=`settings`,e.functionAndModel=`function-and-model`,e}({}),Xx=function(e){return e.viewAll=`-1`,e}({}),Zx={management:`_management_ze10x_3`,jobWrapper:`_jobWrapper_ze10x_9`,bubbleTip:`_bubbleTip_ze10x_15`,smallBubble:`_smallBubble_ze10x_25`,iconBubble:`_iconBubble_ze10x_30`,statusWrapper:`_statusWrapper_ze10x_40`,status:`_status_ze10x_40`,pending:`_pending_ze10x_51`,inProgress:`_inProgress_ze10x_54`,collapsedNavList:`_collapsedNavList_ze10x_60`,collapsedNavItemWrapper:`_collapsedNavItemWrapper_ze10x_71`,collapsedNavButton:`_collapsedNavButton_ze10x_77`,collapsedSubMenu:`_collapsedSubMenu_ze10x_82`,active:`_active_ze10x_114`,activeParent:`_activeParent_ze10x_115`,hasChildren:`_hasChildren_ze10x_120`,collapsedIconWrapper:`_collapsedIconWrapper_ze10x_156`,collapsedSubMenuItem:`_collapsedSubMenuItem_ze10x_195`,rotate:`_rotate_ze10x_1`},Qx=e=>e===`Auto`?Ee(m.t(`events:sourceType.SYSTEM`)):e,$x=class extends eo{jobId;instanceId;projectId;jobStatus;type;startTimeMilli;endTimeMilli;createdBy;progress;supportRetry;extraInfo;message;databaseName;fileSize;totalRows;jobCounts;constructor(e){super(e),Object.assign(this,e)}static JOBS_LIST_URL=`${this.CLOUD_PREFIX}/job/list`;static JOBS_DETAIL_URL=`${this.CLOUD_PREFIX}/job/desc`;static SPARK_JOB_DETAIL_URL=`${this.CLOUD_PREFIX}/job/spark/desc`;static RETRY_JOB_URL=`${this.CLOUD_PREFIX}/job/retry`;static CANCEL_JOB_URL=`${this.CLOUD_PREFIX}/job/cancel`;static JOB_SUMMARY_URL=`${this.CLOUD_PREFIX}/job/summary`;static async fetchJobsList(e){return await super.findAll({path:this.JOBS_LIST_URL,method:`GET`,data:e})}static async fetchJobDetail(e){return await super.search({path:this.JOBS_DETAIL_URL,method:`GET`,data:e})}static async fetchSparkJobDetail({projectId:e,jobId:t,milvusInstanceId:n,regionId:r}){return await super.search({path:this.SPARK_JOB_DETAIL_URL,method:`GET`,data:{projectId:e,jobId:t,...n?{milvusInstanceId:n}:{},...r?{regionId:r}:{}},option:{silentError:!0}},void 0,e=>e?.Data??e?.data??{})}static async fetchJobSummary(e){return await super.search({path:this.JOB_SUMMARY_URL,method:`GET`,data:{projectId:e.projectId,startBeginTime:e.startBeginTime,startEndTime:e.startEndTime},option:{silentError:!0}})}static async retryJob(e){return await super.update({path:this.RETRY_JOB_URL,data:e})}static async cancelJob(e){return await super.update({path:this.CANCEL_JOB_URL,data:e})}get _jobId(){return this.jobId}get _progress(){return this.progress}get _status(){return this.jobStatus}get _type(){return this.type}get _startTime(){return this.startTimeMilli?Ke(this.startTimeMilli):ds.UNKNOWN}get _endTime(){return this.endTimeMilli?Ke(this.endTimeMilli):ds.UNKNOWN}get _createdBy(){return Qx(this.createdBy)}get _jobTarget(){return`collection name`}get _instanceId(){return this.instanceId}get _supportRetry(){return this.supportRetry}get _targetName(){return this.extraInfo?.targetName||this.extraInfo.backupName||this.extraInfo.targetInstanceName||``}get _sourceName(){return this.extraInfo?.sourceName||ds.UNKNOWN}get _sourceDatabaseName(){return this.extraInfo?.sourceDatabaseName}get _targetDatabaseName(){return this.extraInfo?.targetDatabaseName}get _clusterName(){return this.extraInfo?.instanceName||ds.UNKNOWN}get _creationMethod(){return this.extraInfo?.creationMethod}get _errorMessage(){return this.message?T(this.message):``}get _backupId(){return this.extraInfo?.backupId}get _sourceInstanceId(){return this.extraInfo?.sourceInstanceId}get _restorePolicy(){return Number(this.extraInfo?.restorePolicy)}get _databaseName(){return this.databaseName}get _fileSize(){return this.fileSize?(this.fileSize/1024/1024).toFixed(2)+` MB`:``}
22get _totalRows(){return this.totalRows?.toLocaleString()||ds.UNKNOWN}get _extraInfo(){return this.extraInfo}get _projectDatabase(){let e=this.extraInfo?.projectDatabase;return e===!0||e===`true`}get _jobSummary(){if(!this.jobCounts)return;let e=this.jobCounts[cc.Pending],t=this.jobCounts[cc.InProgress];return{pending:e,inProgress:t,total:e+t}}},eS=e(Qe()),tS=function(e){return e[e.InProgress=0]=`InProgress`,e[e.Available=1]=`Available`,e[e.Failed=2]=`Failed`,e[e.Canceled=3]=`Canceled`,e}({}),nS=function(e){return e[e.FromMilvus1x=0]=`FromMilvus1x`,e[e.FromMilvus2x=1]=`FromMilvus2x`,e[e.FromEs=2]=`FromEs`,e[e.FromZilliz=3]=`FromZilliz`,e[e.FromSeaTunnel=4]=`FromSeaTunnel`,e[e.FromMilvusBackup=8]=`FromMilvusBackup`,e}({}),rS=class extends eo{createTimeMilli;jobId;size;status;type;scheduleMessage;instanceId;password;username;databases;delay;constructor(e){super(e),Object.assign(this,e)}static MIGRATION_LIST_URL=`${this.CLOUD_PREFIX}/migration/list`;static MIGRATION_TO_NEW_DEDICATE=`${this.CLOUD_PREFIX}/migration/startByReplicateToNewDedicate`;static MIGRATION_DEDICATE_TO_ELASTIC=`${this.CLOUD_PREFIX}/serverless/dedicate_to_elastic`;static MIGRATION_ELASTIC_TO_DEDICATE=`${this.CLOUD_PREFIX}/serverless/elastic_to_dedicate`;static MIGRATION_TO_DEDICATE_WITH_PROJECT_PLAN=`${this.CLOUD_PREFIX}/serverless/upgrade_plan_and_cluster`;static MIGRATION_DEDICATE_TO_NEW_DEDICATE=`${this.CLOUD_PREFIX}/serverless/dedicate_to_dedicate`;static STOP_MIGRATION_URL=`${this.CLOUD_PREFIX}/migration/stop`;static CDC_DELAY_URL=`${this.CLOUD_PREFIX}/cdc/compare_position`;static CDC_SYNC_URL=`${this.CLOUD_PREFIX}/cdc/delete`;static fetchMigrationList(e){return super.findAll({path:this.MIGRATION_LIST_URL,data:e},`list`)}static migrationDedicatedToDedicated(e){return super.create({path:this.MIGRATION_TO_NEW_DEDICATE,data:{...e,database:e.sourceDatabase}})}static async migrationDedicatedToNewDedicated(e){return await super.create({path:this.MIGRATION_DEDICATE_TO_NEW_DEDICATE,data:{...e,instanceDescription:``}})}static migrationDedicatedToServerless(e){return super.create({path:this.MIGRATION_DEDICATE_TO_ELASTIC,data:e})}static migrationServerlessToDedicated(e){let t=!!e.projectPlan;return super.create({path:t?this.MIGRATION_TO_DEDICATE_WITH_PROJECT_PLAN:this.MIGRATION_ELASTIC_TO_DEDICATE,data:{...e,targetDatabase:e.sourceDatabase}})}static stopMigration(e){return super.query({path:this.STOP_MIGRATION_URL,data:{jobId:e.jobId,instanceId:e.clusterId}})}static getCDCDelay(e){let{sourceInstanceId:t,targetInstanceId:n,signal:r}=e;return super.search({path:this.CDC_DELAY_URL,method:`GET`,data:{sourceInstanceId:t,targetInstanceId:n},signal:r})}static syncCDC(e){return super.delete({path:this.CDC_SYNC_URL,method:`POST`,data:e})}get _createTime(){return Ke(this.createTimeMilli)}get _jobId(){return this.jobId}get _size(){return this.size===null?ds.UNKNOWN:this.type===2?Number(this.size).toLocaleString():Is(Number(this.size),2)}get _status(){return this.status}get _statusText(){return zs(tS,this.status)}get _type(){return this.type}get _typeText(){return[`Milvus 1.x`,`Milvus 2.x`,`Elasticsearch`,`Dedicated Cluster`][this.type]}get _scheduleMessage(){return this.scheduleMessage||``}get _instanceId(){return this.instanceId}get _password(){return this.password}get _username(){return this.username}get _databases(){return this.databases||[]}get _delay(){return this.delay}},iS=class extends eo{jobId;restoreId;status;type;connectorType;size;sourceName;targetName;sourceType;targetType;createTimeMilli;scheduleMessage;instanceId;instanceType;sourceInstanceId;sourceProjectId;sourceRegionId;sourceDatabaseName;targetProjectId;targetRegionId;writeCount;totalCount;skippedCount;vtsCollections;databases;targetDatabaseName;collections;autoCloseTimeMilli;backupSize;cdcStatus;existDetail;restoreProgress;step;targetInstanceId;databaseMappers;errorMessages;constructor(e){super(e),Object.assign(this,e)}static JOBS_DETAIL_URL=`${this.CLOUD_PREFIX}/job/desc`;static MIGRATION_JOB_COLLECTION_LIST_URL=`${this.CLOUD_PREFIX}/migration/list/databases`;static INCREMENT_JOB_PROGRESS_URL=`${this.CLOUD_PREFIX}/job/progress/incrementMigration`;static async fetchJobDetail(e){return await super.search({path:this.JOBS_DETAIL_URL,method:`GET`,data:e})}static async fetchIncrementMigrationProgress(e){return await super.search({path:this.INCREMENT_JOB_PROGRESS_URL,method:`GET`,data:e})}static async fetchMigrationJobCollectionList(e){return await super.search({path:this.MIGRATION_JOB_COLLECTION_LIST_URL,method:`GET`,data:e})}get _jobId(){return this.jobId}get _createTime(){return this.createTimeMilli===null?ds.UNKNOWN:Ke(this.createTimeMilli)}get _size(){return this.size===null?ds.UNKNOWN:this.type===nS.FromEs?Number(this.size).toLocaleStr
22ing():Is(Number(this.size),2)}get _sourceName(){return this.sourceName}get _targetName(){return this.targetName}get _sourceType(){return this.sourceType}get _targetType(){return this.targetType}get _status(){return this.status}get _type(){return this.type}get _connectorType(){return this.connectorType}get _typeText(){return[`Milvus 1.x`,`Milvus 2.x`,`Elasticsearch`,`Dedicated Cluster`][this.type]}get _scheduleMessage(){return this.scheduleMessage}get _vtsCollections(){return this.vtsCollections||[]}get _sourceInstanceId(){return this.sourceInstanceId}get _sourceProjectId(){return this.sourceProjectId}get _targetProjectId(){return this.targetProjectId}get _sourceRegionId(){return this.sourceRegionId}get _targetRegionId(){return this.targetRegionId}get _sourceDatabaseName(){return this.sourceDatabaseName}get _targetInstanceId(){return this.targetInstanceId?this.targetInstanceId:this.targetType===uc.OnDemand?``:this.instanceId}get _targetInstanceType(){return this.instanceType}get _writeCount(){return this.writeCount===void 0?ds.UNKNOWN:`${new Intl.NumberFormat().format(this.writeCount)}`}get _totalCount(){return this.totalCount===void 0?ds.UNKNOWN:`${new Intl.NumberFormat().format(this.totalCount)}`}get _skippedCount(){return this.skippedCount===void 0?ds.UNKNOWN:`${new Intl.NumberFormat().format(this.skippedCount)}`}get _collectionsFromMilvus2x(){return(this.databaseMappers||[]).map(e=>({sourceDatabaseName:e.sourceDatabaseName,targetDatabaseName:e.targetDatabaseName}))}get _collectionsFromEs(){return(this.databaseMappers||[]).flatMap(e=>(e.collectionMappings||[]).map(t=>
22({sourceCollectionName:t.sourceCollectionName||ds.UNKNOWN,targetCollectionName:t.targetCollectionName||ds.UNKNOWN,sourceDatabaseName:e.sourceDatabaseName||ds.UNKNOWN,targetDatabaseName:e.targetDatabaseName||ds.UNKNOWN,description:t.targetCollectionDescription||ds.UNKNOWN})))}get _targetDatabaseName(){return this.targetDatabaseName||(this.databaseMappers?[...new Set(this.databaseMappers.map(e=>e.targetDatabaseName).filter(Boolean))].join(`,`):null)||ds.UNKNOWN}get _autoCloseTimeMilli(){return this.autoCloseTimeMilli}get _backupSize(){return qt({size:this.backupSize})}get _cdcStatus(){return this.cdcStatus}get _existDetail(){return this.existDetail}get _restoreProgress(){return this.restoreProgress}get _step(){return this.step}get _errorMessages(){if(!this.errorMessages)return``;try{return JSON.stringify(JSON.parse(this.errorMessages),null,2)}catch{return``}}get _restoreId(){return this.restoreId}},aS=Zt({key:`jobSummary`,default:void 0}),oS=Zt({key:`incrementalProgress`,default:void 0}),sS=[`/instance/collection/demo/create`,`/instance/collection/copy`,`/instance/collection/copy_with_data`,`/instance/bulkload/import`,`/migration/startByLocal`,`/migration/startByRemote`,`/migration/startByReplicate`,`/serverless/dedicate_to_elastic`,`/serverless/elastic_to_dedicate`,`/migration/startByReplicateToNewDedicate`,`/vts/create_source`,`/instance/backup/create`,`/instance/backup/create_partial`,`/instance/backup/export`,`instance/restore`,`/serverless/restore_elastic`,`/instance/restore/restore_backup`],cS=()=>{let[e,t]=Lt(aS),[n,r]=Lt(oS),i=ot(oS),{clearTimer:a,pollingData:o}=$n(Zn),{clearTimer:s,pollingData:c}=$n(lr),l=e=>e?.url?sS.some(t=>e.url.includes(t)):!1,u=async e=>{let n=tc((0,eS.default)(ss.toDate()).valueOf()),r=tc((0,eS.default)(dee.endOf(`day`).toDate()).valueOf()),i=await $x.fetchJobSummary({projectId:e,startBeginTime:n,startEndTime:r});t(i._jobSummary)},d=async e=>{a(),await u(e),o(()=>{d(e)},6e4)},f=async(e,t)=>{let n=await iS.fetchIncrementMigrationProgress({targetInstanceId:e,targetRegionId:t});r(n)},p=async(e,t)=>{s();try{await f(e,t)}finally{c(()=>{p(e,t)},6e4)}};return{jobSummary:e,fetchJobSummary:u,pollingJobSummary:d,clearJobSummaryTimer:a,incrementalProgress:n,resetIncrementalProgress:i,pollingIncrementalProgress:p,fetchIncrementalProgress:f,clearIncrementalTimer:s,checkIsJobRelatedOperation:l}},G=h(),lS=e=>(0,G.jsx)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M12.5 1.5C13.0523 1.5 13.5 1.94772 13.5 2.5V13.5C13.5 14.0177 13.1067 14.4438 12.6025 14.4951L12.5 14.5H3.5L3.39746 14.4951C2.92703 14.4472 2.55278 14.073 2.50488 13.6025L2.5 13.5V2.5C2.5 1.94772 2.94772 1.5 3.5 1.5H12.5ZM8.02148 11.001C7.93269 11.297 7.66054 11.4998 7.35156 11.5H3.5V13.5H12.5V11.5H10.6484C10.3395 11.4998 10.0673 11.297 9.97852 11.001L9 7.73926L8.02148 11.001ZM3.5 10.5H7.12793L8.3291 6.49512L8.375 6.37793C8.62569 5.86857 9.37431 5.86857 9.625 6.37793L9.6709 6.49512L10.8721 10.5H12.5V2.5H3.5V10.5Z`,fill:`currentColor`})}),uS=(0,W.createContext)(null),dS=e=>{try{return localStorage.getItem(e)}catch{return null}},fS=(e,t)=>{try{if(t){localStorage.setItem(e,t);return}localStorage.removeItem(e)}catch{}},pS=({orgId:e,projectId:t,children:n})=>{let{projectList:r}=C(),{isByocOrg:i}=Kt(),{regionOptionMap:a,byocInfo:o}=dc(),{data:s=[]}=Tc(t),c=`zilliz-cloud:selected-region:${e}:${t}`,[l,u]=(0,W.useState)(()=>dS(c)),[d,f]=(0,W.useState)(null),p=(0,W.useMemo)(()=>r.find(e=>e._projectId===t),[t,r]),m=(0,W.useMemo)(()=>Array.from(new Set((i?s.map(e=>e.region):p?._regionIds??[]).filter(Boolean))),[p,s,i]),h=(0,W.useMemo)(()=>{if(!i)return m;let e=(o?._cloudIds?.length?o._cloudIds:Object.keys(a)).flatMap(e=>(a[e]??[]).map(e=>e.value));
22return Array.from(new Set([...e,...m].filter(Boolean)))},[o?._cloudIds,i,m,a]),g=d??l,_=g&&h.includes(g)?g:h[0]??null;(0,W.useEffect)(()=>{if(p){if(d){fS(c,d),h.includes(d)&&(u(d),f(null));return}fS(c,_)}},[p,_,d,h,c]);let v=(0,W.useCallback)((e,t)=>{if(h.includes(e)){f(null),u(e),fS(c,e);return}t?.allowPending&&(f(e),fS(c,e))},[h,c]),y=(0,W.useMemo)(()=>({projectRegionIds:m,selectableRegionIds:h,selectedRegionId:_,setSelectedRegionId:v,showRegionFilter:!!(t&&h.length>0)}),[_,t,m,h,v]);return(0,G.jsx)(uS.Provider,{value:y,children:n})},mS=({children:e})=>{let{orgId:t=``,projectId:n=``}=l();return(0,G.jsx)(pS,{orgId:t,projectId:n,children:e},`${t}:${n}`)},hS=()=>{let e=(0,W.useContext)(uS);if(!e)throw Error(`useRegionFilter must be used within RegionFilterProvider`);return e},gS=({size:e=20,htmlColor:t,...n})=>(0,G.jsx)(lS,{width:e,height:e,...n}),_S=e=>typeof e.label==`string`?e.label:e.id,vS=e=>e.collapsedTooltip||_S(e),yS=({list:e,activeItemId:t,onItemClick:n})=>(0,G.jsx)(`div`,{className:Zx.collapsedNavList,children:e.map(e=>{let r=!!e.children?.length,i=t===e.id,a=e.children?.some(e=>e.id===t),o=e.icon,s=_S(e),c=vS(e);return(0,G.jsxs)(`div`,{className:Zx.collapsedNavItemWrapper,children:[(0,G.jsxs)(`button`,{type:`button`,className:R(Zx.collapsedNavButton,{[Zx.active]:i,[Zx.activeParent]:a,[Zx.hasChildren]:r}),"data-tooltip":r?void 0:c,"aria-label":s,"aria-haspopup":r?`menu`:void 0,onClick:()=>{r||n(e)},children:[(0,G.jsx)(`span`,{className:Zx.collapsedIconWrapper,children:(0,G.jsx)(o,{size:20,htmlColor:`currentColor`})}),e.iconBubble]}),r&&(0,G.jsx)(`div`,{className:Zx.collapsedSubMenu,role:`menu`,children:e.children?.map(e=>(0,G.jsx)(`button`,{type:`button`,role:`menuitem`,className:R(Zx.collapsedSubMenuItem,{[Zx.active]:t===e.id}),onClick:()=>n(e),children:e.label},e.id))})]},e.id)})}),bS=({expanded:e})=>{let{orgId:t=``,projectId:n=``}=l(),{t:r}=_(`common`),i=u(),a=p(),[o,s]=(0,W.useState)(``),{isByocOrg:c}=Kt(),{jobSummary:d}=cS(),{catalogClusters:f}=Fn(),{selectedRegionId:m}=hS(),{canAction:h}=ur(n),g=h(I.ProjectMember,`view`),v=h(I.OnDemandCluster,`view`),y=(0,W.useMemo)(()=>f.filter(e=>e._projectId===n&&e._regionId===m),[f,n,m]),b=y.length>0&&!y.some(e=>e._instanceStatusName===Xa.Creating),x=y.some(e=>h(I.OnDemandComputeData,`read`,{resourceId:e._instanceId})),S=(0,W.useMemo)(()=>{let e=[];return v&&e.push({id:r(`layout.menu.onDemandQuickStart`),label:r(`layout.menu.onDemandQuickStart`)}),x&&e.push({id:r(`layout.menu.onDemandDatabases`),label:r(`layout.menu.onDemandDatabases`)}),v&&e.push({id:r(`layout.menu.onDemandClusters`),label:r(`layout.menu.onDemandClusters`)}),e},[v,x,r]),{baseNavList:C,managementNavList:w}=(0,W.useMemo)(()=>{let n={id:r(`layout.menu.playground`),label:r(`layout.menu.playground`),icon:Da,hide:c},i={id:r(`layout.menu.functionAndModel`),label:r(`layout.menu.functionAndModel`),icon:hr,hide:!0},a={id:r(`layout.menu.deployments`),label:r(`layout.menu.deployments`),icon:aa},s={id:r(`layout.menu.dataPlanes`),label:r(`layout.menu.dataPlanes`),icon:ba,hide:!c},l=!t,u=(0,G.jsx)(`span`,{style:{whiteSpace:`nowrap`},children:r(`layout.menu.onDemandCompute`)}),f={id:r(`layout.menu.onDemandCompute`),label:u,icon:gS,hide:l,...b&&S.length?{children:S}:{}},p={id:r(`layout.menu.stages`),label:r(`layout.menu.stages`),icon:Or},m={id:r(`layout.menu.backup`),label:r(`layout.menu.backup`),icon:pa},h={id:r(`layout.menu.users`),label:r(`layout.menu.users`),icon:Ia},g={id:r(`layout.menu.migrations`),label:r(`layout.menu.migrations`),icon:Li},_={id:r(`layout.menu.monitor`),label:r(`layout.menu.monitor`),icon:la},v=[{id:r(`layout.menu.ipAddress`),label:r(`layout.menu.ipAddress`),hide:c},{id:r(`layout.menu.privateLink`),label:r(`layout.menu.privateLink`),hide:c},{id:r(`layout.menu.cmek`),label:r(`layout.menu.cmek`),hide:!B}].filter(e=>!e.hide),y={id:r(`layout.menu.access`),label:r(`layout.menu.access`),icon:vr,children:v,hide:v.length===0},x={id:r(`layout.menu.jobs`),label:(0,G.jsxs)(L,{className:Zx.jobWrapper,children:[r(`layout.menu.jobs`),d?.total?e?(0,G.jsx)(`span`,{className:Zx.bubbleTip,children:d.total}):(0,G.jsxs)(G.Fragment,{children:[d.inProgress>0&&(0,G.jsxs)(`div`,{className:Zx.statusWrapper,children:[(0,G.jsx)(`span`,{className:R(Zx.status,Zx.inProgress)}),(0,G.jsxs)(L,{variant:`body3Medium`,color:`textSecondary`,children:[d.inProgress,` `,r(`tag.inprogress`)]})]}),d.pending>0&&(0,G.jsxs)(`div`,{className:Zx.statusWrapper,children:[(0,G.jsx)(`span`,{className:R(Zx.status,Zx.pending)}),(0,G.jsxs)(L,{variant:`body3Medium`,color:`textSecondary`,children:[d.pending,` `,r(`tag.pending`)]})]})]}):null]}),collapsedTooltip:[r(`layout.menu.jobs`),d?.inProgress?`${d.inProgress} ${r(`tag.inprogress`)}`:null,d?.pending?`${d.pending} ${r(`tag.pending`)}
22`:null].filter(Boolean).join(` · `),icon:qi,iconBubble:d?.total&&!e?(0,G.jsx)(`span`,{className:R(Zx.bubbleTip,Zx.iconBubble,{[Zx.smallBubble]:o!==r(`layout.menu.jobs`)}),children:o===r(`layout.menu.jobs`)?d.total:null}):null},C={id:r(`layout.menu.integrations`),label:r(`layout.menu.integrations`),icon:Wi},w={id:r(`layout.menu.projectSettings`),label:r(`layout.menu.projectSettings`),icon:gi};return{baseNavList:[a,s,f,p,n,i].filter(e=>e.hide!==!0),managementNavList:[m,g,x,h,_,y,C,w].filter(e=>e.hide!==!0)}},[t,c,d,o,e,r,b,S]);(0,W.useEffect)(()=>{let e=a.pathname,t=e.includes(`/${Yx.onDemandClusters}/`)&&e.includes(`/databases/`),n=e.includes(`/${Yx.onDemandQuickStart}`),i=e.includes(`/${Yx.onDemandDatabases}`),o=e.includes(`/${Yx.onDemandClusters}`),c=e.includes(`/${Yx.onDemand}`);if(t||i){s(r(`layout.menu.onDemandDatabases`));return}if(n){s(r(`layout.menu.onDemandQuickStart`));return}if(o){s(r(`layout.menu.onDemandClusters`));return}if(c){s(r(`layout.menu.onDemandCompute`));return}let l=[{nav:Yx.dataPlanes,label:r(`layout.menu.dataPlanes`)},{nav:Yx.databases,label:r(`layout.menu.deployments`)},{nav:Yx.stages,label:r(`layout.menu.stages`)},{nav:Yx.backups,label:r(`layout.menu.backup`)},{nav:Yx.network,label:r(`layout.menu.ipAddress`)},{nav:Yx.privateLink,label:r(`layout.menu.privateLink`)},{nav:Yx.cmek,label:r(`layout.menu.cmek`)},{nav:Yx.alert,label:r(`layout.menu.monitor`)},{nav:Yx.projectUsers,label:r(`layout.menu.users`)},{nav:Yx.playground,label:r(`layout.menu.playground`)},{nav:Yx.jobs,label:r(`layout.menu.jobs`)},{nav:Yx.migrations,label:r(`layout.menu.migrations`)},{nav:Yx.integrations,label:r(`layout.menu.integrations`)},{nav:Yx.settings,label:r(`layout.menu.projectSettings`)}].find(e=>e&&(a.pathname.includes(e.nav)||e.nav===Yx.projectUsers&&a.pathname.includes(`project-roles`)));l&&s(l.label)},[a.pathname,r]);let T=(0,W.useRef)(!1),E=e=>{if(T.current){T.current=!1;return}if(e.children)return;let a={[r(`layout.menu.deployments`)]:`/orgs/${t}/projects/${n}/clusters`,[r(`layout.menu.dataPlanes`)]:`/orgs/${t}/projects/${n}/dataplanes`,[r(`layout.menu.onDemandCompute`)]:`/orgs/${t}/projects/${n}/on-demand`,[r(`layout.menu.onDemandQuickStart`)]:`/orgs/${t}/projects/${n}/on-demand/quick-start`,[r(`layout.menu.onDemandClusters`)]:`/orgs/${t}/projects/${n}/on-demand/clusters`,[r(`layout.menu.onDemandDatabases`)]:`/orgs/${t}/projects/${n}/on-demand/databases`,[r(`layout.menu.stages`)]:`/orgs/${t}/projects/${n}/stages`,[r(`layout.menu.backup`)]:`/orgs/${t}/projects/${n}/backup`,[r(`layout.menu.migrations`)]:`/orgs/${t}/projects/${n}/migrations`,[r(`layout.menu.ipAddress`)]:`/orgs/${t}/projects/${n}/network-access`,[r(`layout.menu.privateLink`)]:`/orgs/${t}/projects/${n}/private-links`,[r(`layout.menu.cmek`)]:`/orgs/${t}/projects/${n}/cmek`,[r(`layout.menu.users`)]:g?`/orgs/${t}/projects/${n}/project-users`:`/orgs/${t}/projects/${n}/project-roles`,[r(`layout.menu.monitor`)]:`/orgs/${t}/projects/${n}/alert/history`,[r(`layout.menu.playground`)]:`/orgs/${t}/projects/${n}/api-playground?${Ka.Type}=${qa.LIST_COLLECTION}`,[r(`layout.menu.jobs`)]:`/orgs/${t}/projects/${n}/jobs`,[r(`layout.menu.integrations`)]:`/orgs/${t}/projects/${n}/integrations`,[r(`layout.menu.projectSettings`)]:`/orgs/${t}/projects/${n}/settings`}[e.id]||``;a&&i(a)},D=(0,W.useRef)(null);return(0,W.useEffect)(()=>{if(!e||!(o===r(`layout.menu.onDemandQuickStart`)||o===r(`layout.menu.onDemandClusters`)||o===r(`layout.menu.onDemandDatabases`)))return;let t=D.current;if(!t)return;let n=t.querySelector(`[class*="activeParent"][data-level="0"]`);n&&(n.parentElement?.querySelector(`[class*="childrenContainer"]`)||(T.current=!0,n.click()))},[o,e,r,b]),(0,G.jsx)(G.Fragment,{children:e?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`div`,{ref:D,children:(0,G.jsx)(Nr,{list:C,onItemClick:E,activeId:o,isExpanded:e})}),w.length>0&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(L,{variant:`body2Regular`,className:Zx.management,children:r(`layout.menu.management`)}),(0,G.jsx)(Nr,{list:w,onItemClick:E,activeId:o,isExpanded:e})]})]}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(yS,{list:C,onItemClick:E,activeItemId:o}),(0,G.jsx)(yS,{list:w,onItemClick:E,activeItemId:o})]})})},xS={main:`_main_1wzoi_4`,navPlaceHolder:`_navPlaceHolder_1wzoi_7`,minNavPlaceholder:`_minNavPlaceholder_1wzoi_12`,container:`_container_1wzoi_24`,hasBanner:`_hasBanner_1wzoi_42`,hasAlert:`_hasAlert_1wzoi_46`,expandIcon:`_expandIcon_1wzoi_54`,notExpand:`_notExpand_1wzoi_83`,wrapper:`_wrapper_1wzoi_110`,collapsedWrapper:`_collapsedWrapper_1wzoi_115`,expandedWrapper:`_expandedWrapper_1wzoi_119`,innerWrapper:`_innerWrapper_1wzoi_125`,expandedInnerWrapper:`_expandedInnerWrapper_1wzoi_136`,dialogContainer:`_dialogContainer_1wzoi_147`,dialogPaper:`_dialogPaper_1wzoi_148`,rotate:`_rotate_1wzoi_1`},SS=1778428800,CS=1781107200,hre=`banner_event_${SS}`,wS=B?`https://zilliz.com/blog/from-vector-database-to-vector-lakebase`:``,gre=Zt({key:`bannerConfig`,default:{visible:!1}}),TS=(e={})=>{let{useLocal:t=!0}=e,{onboardingStatus:n,fetchOnboardingStatus:r}=kc(),[i,a]=Lt(gre),{storedValue:o,setStorageValue:s}=k(hre),c=(0,W.useMemo)(()=>wS?t?i.visible:!n._showNewServerlessBar:!1,[t,i,n]);return(0,W.useEffect)(()=>{let e=(0,eS.default)().unix();!t||o||e<SS||e>CS||a({visible:!0})},[o,t]),{visible:c,onClose:(0,W.useCallback)(async()=>
22{if(t){a({visible:!1}),s(!0);return}await Dc.updateOnboardingStatus(Ec.ShowNewServerlessBar),await r()},[])}},ES=e=>{let{t}=_(`common`),{canManageProject:n,isLoading:r,isError:i}=Qn(e?._projectId),a=(e?._regionIds?.length??0)>0,o=!!e,s=!!e;return{canManageProject:n,canAddProjectRegion:n&&s&&!r&&!i,canAddProjectRegionByPlan:s,hasConfiguredRegions:a,supportsMultipleRegions:o,isPermissionLoading:r,isPermissionError:i,permissionTooltip:{title:t(`permission.projectManageRequired`)}}},_re=[`free`,`serverless`,`dedicated`],DS=(e,t)=>t===`dedicated`?!0:t===`free`?e.supportsFree:t===`serverless`?e.supportsServerless:e.supportsOnDemand,OS=({option:e})=>{let{t}=_(`createProject`);return(0,G.jsx)(G.Fragment,{children:_re.map(n=>{let r=DS(e,n),i=t(`region.capabilities.${n}`),a=t(`region.availability.${r?`available`:`unavailable`}`);return(0,G.jsx)(`div`,{className:R(`flex items-center justify-center`,r?`text-green-1`:`text-black-4`),"aria-label":`${i}: ${a}`,title:`${i}: ${a}`,"data-testid":`region-capability-${e.regionId}-${n}`,"data-available":String(r),children:r?(0,G.jsx)(Sr,{size:14,"aria-hidden":`true`}):(0,G.jsx)(`span`,{"aria-hidden":`true`,className:`leading-none`,children:`â`})},n)})})},kS=`all`,AS={aws:0,gcp:1,azure:2};function jS({options:e,selectedRegionIds:t,onChange:n,allowMultiple:r,testIdPrefix:i,disabled:a=!1,emptyText:o,fixedListHeight:s=!1,selectionLabel:c}){let{t:l}=_(`createProject`),{getCloudText:u}=Mc(),[d,f]=(0,W.useState)(kS),p=(0,W.useMemo)(()=>{let t=new Map;return e.forEach(e=>{t.set(e.cloudId,(t.get(e.cloudId)||0)+1)}),Array.from(t,([e,t])=>({cloudId:e,count:t,label:u(e)}))},[u,e]),m=(0,W.useMemo)(()=>e.filter(e=>d===kS||e.cloudId===d).sort((e,t)=>{let n=AS[e.cloudId]??99,r=AS[t.cloudId]??99;return n===r?e.label.localeCompare(t.label):n-r}),[e,d]),h=(0,W.useMemo)(()=>new Set(t),[t]),g=e=>{if(!a){if(!r){n([e]);return}n(h.has(e)?t.filter(t=>t!==e):[...t,e])}};return(0,G.jsxs)(`div`,{className:`flex min-h-0 flex-col gap-3`,children:[(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-2`,children:[(0,G.jsx)(L,{variant:`body2Medium`,children:c||l(r?`region.availability.multiSelectionHint`:`region.availability.singleSelectionHint`)}),(0,G.jsx)(L,{variant:`body3Medium`,className:`text-black-2`,children:l(`region.availability.selectedCount`,{count:t.length})})]}),(0,G.jsxs)(`div`,{className:`flex min-h-0 flex-col`,children:[(0,G.jsx)(`div`,{className:`flex flex-wrap items-center gap-2 rounded-t-lg border border-black-4 bg-black-6 px-3 py-2.5`,children:(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,G.jsx)(L,{variant:`body3Medium`,className:`mr-1 text-black-2`,children:l(`region.availability.cloudFilterLabel`)}),(0,G.jsx)(z,{size:`small`,variant:d===kS?`contained`:`outlined`,onClick:()=>f(kS),"data-testid":`${i}-provider-all`,children:l(`region.availability.allProviders`,{count:e.length})}),p.map(e=>(0,G.jsxs)(z,{size:`small`,variant:d===e.cloudId?`contained`:`outlined`,onClick:()=>f(e.cloudId),startIcon:(0,G.jsx)(jc,{cloudProvider:e.cloudId,width:16,height:16,iconWidth:14,iconHeight:14}),"data-testid":`${i}-provider-${e.cloudId}`,children:[e.label,` (`,e.count,`)`]},e.cloudId))]})}),(0,G.jsx)(`div`,{className:R(`overflow-auto rounded-b-lg border border-t-0 border-stroke-1 bg-white [scrollbar-gutter:stable]`,s?`h-[360px]`:`max-h-[360px]`),"data-testid":`${i}-options`,children:m.length===0?(0,G.jsx)(`div`,{className:`flex h-full min-h-32 items-center justify-center px-6 py-8`,children:(0,G.jsx)(L,{variant:`body2Regular`,className:`text-black-3`,children:o||l(`region.availability.noMatches`)})}):(0,G.jsxs)(`div`,{className:`min-w-[760px]`,children:[(0,G.jsxs)(`div`,{className:`sticky top-0 z-2 grid grid-cols-[minmax(280px,1fr)_70px_90px_90px] items-center border-b border-black-4 bg-black-6 px-4 py-2 text-center`,children:[(0,G.jsx)(L,{variant:`body3Medium`,className:`text-left text-black-3`,children:l(`region.selectRegion`)}),[`free`,`serverless`,`dedicated`].map(e=>(0,G.jsx)(L,{variant:`body3Medium`,className:`text-black-3`,children:l(`region.capabilities.${e}`)},e))]}),(0,G.jsx)(`div`,{className:`flex flex-col`,children:m.map(e=>{let t=h.has(e.regionId),n=r?Pr:vi;return(0,G.jsxs)(`label`,{className:R(`grid min-w-0 cursor-pointer grid-cols-[minmax(280px,1fr)_70px_90px_90px] items-center border-b border-black-4 px-4 py-3 text-left transition-colors last:border-b-0`,a&&`cursor-not-allowed opacity-60`,t?`bg-blue-4`:`bg-white hover:bg-black-6`),"data-testid":`${i}-option-${e.regionId}`,children:[(0,G.jsxs)(`div`,{className:`flex min-w-0 items-center gap-3`,children:[(0,G.jsx)(n,{checked:t,onChange:()=>g(e.regionId),disabled:a,size:`small`,className:`shrink-0 p-0`}),(0,G.jsx)(jc,{cloudProvider:e.cloudId,width:18,height:18,iconWidth:16,iconHeight:16}),(0,G.jsxs)(`div`,{className:`min-w-0`,children:[(0,G.jsx)(L,{variant:`body2Medium`,component:`div`,className:`truncate`,children:e.label}),(0,G.jsx)(L,{variant:`body3Regular`,component:`div`,className:`truncate text-black-3`,children:e.regionId})]})]}),(0,G.jsx)(OS,{option:e})]}
22,e.regionId)})})]})})]})]})}var MS={[N.STANDARD]:to.Standard,[N.ENTERPRISE]:to.Enterprise,[N.BUSINESS_CRITICAL]:to.BusinessCritical},NS=e=>{let{rawRegionList:t}=Sc(),n=MS[e]??to.Enterprise,r=e===N.ENTERPRISE||e===N.BUSINESS_CRITICAL;return{regionOptions:(0,W.useMemo)(()=>t.flatMap(e=>e.regions.filter(e=>e.supportClusterTypes.includes(n)).map(t=>({id:t.regionId,label:t.regionName,value:t.regionId,cloudId:e.cloudId,regionId:t.regionId,supportsFree:t.supportClusterTypes.includes(to.Free),supportsServerless:t.supportClusterTypes.includes(to.Serverless),supportsOnDemand:r&&!!t.vectorLakePreviewEnabled,icon:(0,G.jsx)(jc,{cloudProvider:e.cloudId,width:18,height:18,iconWidth:16,iconHeight:16})}))),[n,r,t]),regionNameById:(0,W.useMemo)(()=>new Map(t.flatMap(e=>e.regions.map(e=>[e.regionId,e.regionName]))),[t])}};function PS({data:e}){let{t}=_([`project`,`createProject`,`common`]),{message:n}=Ga(),{fetchProjectList:r}=C(),{canManageProject:i,canAddProjectRegion:a,canAddProjectRegionByPlan:o,supportsMultipleRegions:s,isPermissionLoading:c}=ES(e),[l,u]=(0,W.useState)(!1),[d,f]=(0,W.useState)([]),{regionOptions:p,regionNameById:m}=NS(e._projectPlan||N.ENTERPRISE),h=(0,W.useMemo)(()=>e._regionIds||[],[e._regionIds]),g=(0,W.useMemo)(()=>new Set(h),[h]),v=(0,W.useMemo)(()=>p.filter(e=>!g.has(e.regionId)),[g,p]),y=a,b=d.length>0?t(`project:addRegionDialog.addSelected`,{count:d.length}):t(`project:list.dataGrid.actions.addRegion`);return(0,G.jsx)(sc,{title:t(`project:list.dataGrid.actions.addRegion`),handleConfirm:async(i,a)=>
22{if(!(!y||d.length===0)){u(!0);try{await jt.addProjectRegions(e._projectId,d);let i=d.map(e=>m.get(e)||e);n.success({title:t(`project:list.dataGrid.actions.addRegionSuccess`),message:t(`project:list.dataGrid.actions.addRegionSuccessMessage`,{regions:i.join(`, `)})}),await r(),a()}catch{}finally{u(!1)}}},type:j.Common,confirmLoading:l,confirmLabel:b,confirmBtnProps:{disabled:c||!y||d.length===0},children:(0,G.jsxs)(`div`,{className:`flex w-full flex-col gap-4`,"data-testid":`add-region-dialog-content`,children:[(0,G.jsxs)(`section`,{className:`flex flex-col gap-2 rounded-lg border border-black-4 bg-black-6 p-3`,children:[(0,G.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,G.jsx)(L,{variant:`body2Medium`,children:t(`project:addRegionDialog.currentRegions`)}),h.length>0&&(0,G.jsx)(L,{variant:`body3Regular`,className:`text-black-3`,children:t(`project:addRegionDialog.regionCount`,{count:h.length})})]}),h.length>0?(0,G.jsx)(`div`,{className:`flex max-h-20 flex-wrap gap-2 overflow-y-auto`,children:h.map(e=>(0,G.jsxs)(`div`,{className:`flex items-center gap-2 rounded-lg border border-black-4 bg-white px-3 py-2`,"data-testid":`add-region-dialog-existing-${e}`,children:[(0,G.jsx)(jc,{cloudProvider:Ks(e),width:18,height:18,iconWidth:16,iconHeight:16}),(0,G.jsx)(L,{variant:`body2Regular`,children:m.get(e)||e})]},e))}):(0,G.jsx)(L,{variant:`body2Regular`,className:`text-black-3`,children:t(`project:addRegionDialog.noCurrentRegions`)})]}),!c&&!i?(0,G.jsx)(ni,{severity:`info`,className:`box-border w-full`,children:(0,G.jsx)(L,{variant:`body2Regular`,children:t(`common:permission.projectManageRequired`)})}):o?v.length===0?(0,G.jsx)(ni,{severity:`info`,className:`box-border w-full`,children:(0,G.jsx)(L,{variant:`body2Regular`,children:t(`project:addRegionDialog.noAvailableRegions`)})}):(0,G.jsx)(`section`,{className:`flex min-h-0 flex-col`,children:(0,G.jsx)(jS,{options:v,selectedRegionIds:d,onChange:f,allowMultiple:s,testIdPrefix:`add-region-dialog`,disabled:!y,emptyText:t(`project:addRegionDialog.noSearchResults`),fixedListHeight:!0,selectionLabel:t(`project:addRegionDialog.availableRegions`)})}):(0,G.jsx)(ni,{severity:`info`,className:`box-border w-full`,children:(0,G.jsx)(L,{variant:`body2Regular`,children:t(`project:addRegionDialog.multiRegionUnavailable`)})})]})})}var FS={trigger:`_trigger_l64c_3`,open:`_open_l64c_17`,expanded:`_expanded_l64c_21`,collapsed:`_collapsed_l64c_27`,iconWrapper:`_iconWrapper_l64c_36`,label:`_label_l64c_47`,switch:`_switch_l64c_57`,menu:`_menu_l64c_62`,menuList:`_menuList_l64c_70`,item:`_item_l64c_75`,active:`_active_l64c_92`,addRegionItem:`_addRegionItem_l64c_98`,optionIcon:`_optionIcon_l64c_102`,optionLabel:`_optionLabel_l64c_110`,rotate:`_rotate_l64c_1`},IS=200,LS=({expanded:e})=>{let{t}=_([`navigation`,`common`]),{orgId:n=``,projectId:r=``}=l(),i=u(),a=F(A),{projectList:o}=C(),{rawRegionList:s}=Sc(),{isByocOrg:c}=Kt(),d=(0,W.useMemo)(()=>o.find(e=>e._projectId===r),[r,o]),{canManageProject:f,canAddProjectRegion:p,isPermissionLoading:m,permissionTooltip:h}=ES(d),{selectableRegionIds:g,selectedRegionId:v,setSelectedRegionId:y,showRegionFilter:b}=hS(),[x,S]=(0,W.useState)(null),[w,T]=(0,W.useState)(e),E=!!x,D=c?f:p;(0,W.useEffect)(()=>{if(!e){T(!1);return}let t=window.setTimeout(()=>T(!0),IS);return()=>window.clearTimeout(t)},[e]);let O=v??g[0]??``,k=Vs(s,O),ee=e=>{y(e),S(null)},j=()=>{if(!(!f||!D)){if(S(null),c){i(`/orgs/${n}/projects/${r}/dataplanes`);return}d&&a({open:!0,size:`xl`,children:(0,G.jsx)(PS,{data:d})})}};return b?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(ma,{tooltip:{placement:`right`,title:e?``:k},children:(0,G.jsxs)(`button`,{type:`button`,className:R(FS.trigger,{[FS.expanded]:e,[FS.collapsed]:!e,[FS.open]:E}),onClick:e=>S(e.currentTarget),"aria-label":k,"data-testid":`left-nav-region-selector`,children:[(0,G.jsx)(`span`,{className:FS.iconWrapper,children:O?(0,G.jsx)(jc,{cloudProvider:Ks(O),width:18,height:18,iconWidth:16,iconHeight:16}):null}),w&&(0,G.jsx)(L,{variant:`body3Medium`,className:FS.label,"data-testid":`left-nav-region-label`,children:k}),w&&(0,G.jsx)(ri,{className:FS.switch})]})}),(0,G.jsxs)(mr,{anchorEl:x,open:E,onClose:()=>S(null),MenuListProps:{role:`listbox`},PaperProps:{style:{minWidth:x?.getBoundingClientRect().width}},classes:{paper:FS.menu,list:FS.menuList},transformOrigin:{vertical:-4,horizontal:`left`},children:[g.map(e=>{let t=Vs(s,e);return(0,G.jsxs)(ii,{disableRipple:!0,onClick:()=>ee(e),className:R(FS.item,{[FS.active]:O===e}),"data-testid":`left-nav-region-option-${e}`,children:[(0,G.jsx)(jc,{cloudProvider:Ks(e),width:20,height:20,iconWidth:18,iconHeight:18}),(0,G.jsx)(L,{variant:`body3Regular`,className:FS.optionLabel,children:t})]},e)}),(0,G.jsxs)(ii,{disableRipple:!0,onClick:j,disabled:!f||m||!D,className:R(FS.item,FS.addRegionItem),title:!f&&!m?h.title:void 0,"data-testid":`left-nav-add-region`,children:[(0,G.jsx)(`span`,{className:FS.optionIcon,children:(0,G.jsx)(Sa,{size:16})}),(0,G.jsx)(L,{variant:`body2Medium`,children:t(c?`navigation:regionSelector.addDataPlane`:`navigation:regionSelector.addRegion`)})]})]})]}):null},RS=function(e){return e.WithPay=`withPay`,e.NoPay=`noPay`,e}({}),zS=function(e){return e.FrozenAction=`data-frozen-action`,e}({}),BS=function(e){return e.Allow=`allow`,e.Disable=`disable`,e}({}),VS=function(e){return e.Update=`update`,e.Add=`add`,e}({}),HS=function(e){return e.Billing=`billing`,e.CreateDatabase=`createDatabase`,e.ScaleCluster=`scaleCluster`,e.UpgradePlanInBackups=`upgradePlanInBackups`,e.MigrateStarter=`migrateStarter`,e}({}),US=function(e){return e.FirstName=`firstName`,e.LastName=`lastName`,e.Company=`company`,e.Email=`email`,e.Address=`address`,e.OptionalAddress=`optionalAddress`,e.City=`city`,e.State=`state`,e.Country=`country`,e.PostalCode=`postalCode`,e.taxIdType=`taxIdType`,e.taxIdValue=`taxIdValue`,e}({}),WS={content:`_content_sd4il_3`,desc:`_desc_sd4il_4`,actions:`_actions_sd4il_9`,confirmBtn:`_confirmBtn_sd4il_12`,rotate:`_rotate_sd4il_1`},GS=({contentDesc:e,region:t,clusterId:n,clusterName:r,sourceClusterType:i})=>{let{t:a}=_([`billing`,`common`]),{payMethodType:o,profile:s,balanceInfo:c}=Pc(),{getAlertAction:l}=PC({region:t,clusterId:n,clusterName:r,sourceClusterType:i}),{orgStatus:u}=Kt(),{canManageBillingAccess:d}=Yn(),f=F(A),p=()=>f(e=>({...e,open:!1})),m=()=>{let{onClick:e}=l({payMethodType:o,profile:s,orgStatus:u,balanceInfo:c});p(),e()},{title:h,desc:g,actionLabel:v}=(0,W.useMemo)(()=>{let t=u?._hasPayMethod===!0?RS.WithPay:RS.NoPay;return{title:a(`billing:guideToBindPayMethod.title.${t}`),desc:e||a(`billing:guideToBindPayMethod.desc.${t}`),actionLabel:a(d?`billing:guideToBindPayMethod.btn.${t}`:`common:button.contactOwner`)}},[d,u?._hasPayMethod,e]);return(0,G.jsx)(sc,{confirmLabel:v,showCancel:!1,showScrollDivider:!1,title:h,confirmBtnProps:{fullWidth:!0,className:WS.confirmBtn},handleConfirm:m,classes:{content:WS.content,actionsMain:WS.actions},children:(0,G.jsx)(L,{className:WS.desc,children:g})})},KS={root:`_root_p2664_2`,reverseOrder:`_reverseOrder_p2664_6`,rotate:`_rotate_p2664_1`},qS={root:`_root_p9a5e_3`,cardIcon:`_cardIcon_p9a5e_12`,title:`_title_p9a5e_16`,arrowIcon:`_arrowIcon_p9a5e_20`,rotate:`_rotate_p9a5e_1`},JS=e=>{let{addCreditCardProps:t}=e,n=F(A),{t:r}=_([`billing`]);return(0,G.jsxs)(`div`,{className:qS.root,onClick:async()=>{let{default:e}=await b(async()=>{let{default:e}=await import(`./BindCreditCardDialog-g4yrE0i1.js`).then(e=>e.n);return{default:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]));n({open:!0,size:`large`,children:(0,G.jsx)(e,{...t})})},children:[(0,G.jsx)(Dr,{size:24,className:qS.cardIcon}),(0,G.jsx)(L,{variant:`h3Semibold`,className:qS.title,children:r(`billing:addPayMethodDialog.credit
22Card`)}),(0,G.jsx)(La,{size:20,className:qS.arrowIcon})]})},YS={root:`_root_1cf6p_3`,main:`_main_1cf6p_6`,disabled:`_disabled_1cf6p_9`,expanded:`_expanded_1cf6p_22`,marketplaceIcon:`_marketplaceIcon_1cf6p_27`,content:`_content_1cf6p_31`,list:`_list_1cf6p_36`,item:`_item_1cf6p_40`,bindItem:`_bindItem_1cf6p_48`,label:`_label_1cf6p_57`,cloudIcon:`_cloudIcon_1cf6p_63`,providerIcon:`_providerIcon_1cf6p_68`,endIcon:`_endIcon_1cf6p_81`,bindWrapper:`_bindWrapper_1cf6p_86`,global:`_global_1cf6p_99`,viewItem:`_viewItem_1cf6p_103`,rotate:`_rotate_1cf6p_1`},XS={dialog:`_dialog_1omzg_3`,dialogContent:`_dialogContent_1omzg_4`,root:`_root_1omzg_8`,stepper:`_stepper_1omzg_16`,main:`_main_1omzg_26`,content:`_content_1omzg_32`,footer:`_footer_1omzg_38`,backBtn:`_backBtn_1omzg_42`,nextBtn:`_nextBtn_1omzg_46`,tip:`_tip_1omzg_56`,link:`_link_1omzg_60`,rotate:`_rotate_1omzg_1`},ZS=function(e){return e[e.Step1=0]=`Step1`,e[e.Step2=1]=`Step2`,e[e.Step3=2]=`Step3`,e[e.Step4=3]=`Step4`,e}({}),QS=(e,t)=>e===P.AWS&&!t?`awsCn`:e,$S=`/assets/aws-step-1-DyvB_Qqg.png`,eC=`/assets/aws-step-2-D0dwI6Pz.png`,tC=`/assets/aws-step-2-offer-BSOMJ67x.png`,nC=`/assets/gcp-step-1-CA_oDj-g.png`,rC=`/assets/gcp-step-2-BMkCFBKA.png`,iC=`/assets/azure-step-1-Dv3OX29p.png`,aC=`/assets/azure-step-2-BkLRKl1o.png`,oC=`/assets/ali-step-1-DCifwaL1.png`,sC=`/assets/ali-step-2-JyhCXOrU.png`,cC=`/assets/aws-cn-step-1-COhSe4tW.png`,lC=`/assets/aws-cn-step-2-TYzvUWTU.png`,uC=`/assets/en-step-3-DRSPQByU.png`,dC=`/assets/cn-step-3-_Xdb6CM8.png`,fC={root:`_root_12er4_3`,desc:`_desc_12er4_9`,image:`_image_12er4_13`,rotate:`_rotate_12er4_1`},pC=e=>(0,G.jsx)(`img`,{...e,width:450,height:`auto`,className:fC.image,alt:`marketplace-guide-steps`}),mC=B?{STEP1:$S,STEP2:tC,STEP3:eC,STEP4:uC}:{STEP1:cC,STEP2:lC,STEP3:dC},hC=e=>{let{type:t,step:n,guideStepKey:r}=e,{t:i}=_([`marketplace`]),a=(e,t)=>({[P.AWS]:{[ZS.Step1]:(0,G.jsx)(pC,{src:mC.STEP1}),[ZS.Step2]:(0,G.jsx)(pC,{src:mC.STEP2}),[ZS.Step3]:(0,G.jsx)(pC,{src:mC.STEP3}),...mC.STEP4&&{[ZS.Step4]:(0,G.jsx)(pC,{src:mC.STEP4})}},[P.GCP]:{[ZS.Step1]:(0,G.jsx)(pC,{src:nC}),[ZS.Step2]:(0,G.jsx)(pC,{src:rC}),[ZS.Step3]:(0,G.jsx)(pC,{src:uC})},[P.AZURE]:{[ZS.Step1]:(0,G.jsx)(pC,{src:iC}),[ZS.Step2]:(0,G.jsx)(pC,{src:aC}),[ZS.Step3]:(0,G.jsx)(pC,{src:uC})},[P.ALI]:{[ZS.Step1]:(0,G.jsx)(pC,{src:oC}),[ZS.Step2]:(0,G.jsx)(pC,{src:sC}),[ZS.Step3]:(0,G.jsx)(pC,{src:dC})}})[e][t],o=((e,t)=>{switch(t){case ZS.Step1:return(0,G.jsx)(d,{t:i,i18nKey:`marketplace:guide.steps.${r}.step1.desc`,components:[(0,G.jsx)(`strong`,{}),(0,G.jsx)(`strong`,{})]});case ZS.Step2:return(0,G.jsx)(d,{t:i,i18nKey:`marketplace:guide.steps.${r}.step2.desc`,components:[(0,G.jsx)(`strong`,{}),(0,G.jsx)(`strong`,{})]});case ZS.Step3:return(0,G.jsx)(d,{t:i,i18nKey:`marketplace:guide.steps.${r}.step3.desc`,components:[(0,G.jsx)(`strong`,{}),(0,G.jsx)(`strong`,{})]});case ZS.Step4:return(0,G.jsx)(d,{t:i,i18nKey:`marketplace:guide.steps.aws.step4.desc`,components:[(0,G.jsx)(`strong`,{}),(0,G.jsx)(`strong`,{})]})}})(t,n),s=a(t,n);return(0,G.jsxs)(`div`,{className:fC.root,children:[(0,G.jsx)(L,{variant:`body2Regular`,className:fC.desc,children:o}),s]})},gC=e=>{let{type:t}=e,n=t===P.AWS&&B,r=QS(t,B),i=n?ZS.Step4:ZS.Step3,[a,o]=(0,W.useState)(ZS.Step1),{t:s}=_([`marketplace`,`common`]),c=F(A),l=[s(`marketplace:guide.steps.${r}.step1.tab`),s(`marketplace:guide.steps.${r}.step2.tab`),s(`marketplace:guide.steps.${r}.step3.tab`)];n&&l.push(s(`marketplace:guide.steps.aws.step4.tab`));let u=(0,W.useMemo)(()=>{let e=s(`marketplace:guide.marketplace`);switch(t){case P.AWS:e=s(`marketplace:addPayMethod.aws`);break;case P.GCP:e=s(`marketplace:addPayMethod.gcp`);break;case P.AZURE:e=s(`marketplace:addPayMethod.azure`);break;case P.ALI:e=s(`marketplace:addPayMethod.ali`);break;default:break}return s(`marketplace:guide.title`,{type:e})},[s,t]),f=(0,W.useMemo)(()=>{if(n)switch(a){case ZS.Step1:return s(`marketplace:guide.actions.next.selectOffer`);case ZS.Step2:return s(`marketplace:guide.actions.next.subscribe`);case ZS.Step3:return s(`marketplace:guide.actions.next.setup`);default:return s(`marketplace:guide.actions.openAwsMarketplace`)}switch(a){case ZS.Step1:return{[P.AWS]:s(`marketplace:guide.actions.next.subscribe`),[P.GCP]:s(`marketplace:guide.actions.next.signup`),[P.AZURE]:s(`marketplace:guide.actions.next.configure`),[P.ALI]:s(`marketplace:guide.actions.next.login`)}[t];case ZS.Step2:return s(`marketplace:guide.actions.next.setup`);default:return s(`marketplace:guide.actions.subscribeNow`)}},[a,n,s,t]),{userGuideLink:p,bindMarketplaceLink:m}=(0,W.useMemo)(()=>{switch(t){case P.AWS:return{userGuideLink:B?fo:Mo,bindMarketplaceLink:B?Bt:mt};case P.GCP:return{userGuideLink:gs,bindMarketplaceLink:yt};case P.AZURE:return{userGuideLink:To,bindMarketplaceLink:At};case P.ALI:return{userGuideLink:ns,bindMarketplaceLink:lt};default:return{userGuideLink:``,bindMarketplaceLink:``}}},[t]),h=()=>
22{if(a===i){window.open(m,`_blank`);return}o(a+1)},g=()=>{if(a===ZS.Step1){c(e=>({...e,open:!1}));return}o(a-1)},v={children:f,className:XS.nextBtn,endIcon:a===i?(0,G.jsx)(fi,{size:14}):void 0,onClick:h,"data-testid":`marketplace-guide-next-button`},y={className:XS.backBtn,"data-testid":`marketplace-guide-back-button`};return(0,G.jsx)(St,{actionChildren:(0,G.jsxs)(L,{variant:`body4Regular`,component:`div`,className:XS.tip,children:[(0,G.jsx)(ti,{size:16}),(0,G.jsx)(d,{t:s,i18nKey:`marketplace:guide.footerTip`,components:[(0,G.jsx)(`a`,{href:p,target:`_blank`,className:XS.link})]})]}),confirmBtnProps:v,cancelBtnProps:y,cancelLabel:a===ZS.Step1?s(`common:button.cancel`):s(`marketplace:guide.actions.prev`),handleCancel:g,title:u,classes:{root:XS.dialog,content:XS.dialogContent,actions:XS.footer},children:(0,G.jsxs)(`div`,{className:XS.root,children:[(0,G.jsx)(di,{classes:{root:XS.stepper},steps:l,activeStep:a}),(0,G.jsx)(`div`,{className:XS.main,children:(0,G.jsx)(`div`,{className:XS.content,children:(0,G.jsx)(hC,{type:t,step:a,guideStepKey:r})})})]})})},_C=e=>{let{onlyShowMarketplace:t=!1,renderTitle:n,disabled:r,tooltip:i,classes:a={root:``,main:``},onBindMarketplaceClick:o}=e,{t:s}=_([`marketplace`,`billing`,`auth`]),c=F(A),[l,u]=(0,W.useState)(!1),d=B?[{icon:(0,G.jsx)(jc,{cloudProvider:P.AWS,className:YS.cloudIcon}),desc:s(`auth:signUpWithMarketplace.aws`),type:P.AWS},{icon:(0,G.jsx)(jc,{cloudProvider:P.GCP,className:YS.cloudIcon}),desc:s(`auth:signUpWithMarketplace.gcp`),type:P.GCP},{icon:(0,G.jsx)(`span`,{className:YS.providerIcon,children:(0,G.jsx)(Kr,{width:24,height:24})}),desc:s(`auth:signUpWithMarketplace.azure`),type:P.AZURE}]:[{icon:(0,G.jsx)(jc,{withFont:!0,cloudProvider:P.ALI,width:82,height:`auto`,className:YS.cloudIcon}),type:P.ALI},{icon:(0,G.jsx)(jc,{cloudProvider:P.AWS,width:82,height:`auto`,className:YS.cloudIcon}),type:P.AWS}],f=e=>{c({open:!0,size:`xl`,children:(0,G.jsx)(gC,{type:e})})},p=()=>(0,G.jsx)(l?Ri:Mi,{size:14,className:YS.endIcon}),m=e=>{let{mode:t}=e,n=e=>(0,G.jsxs)(`li`,{className:R(YS.item,{[YS.viewItem]:t===`view`,[YS.bindItem]:t===`bind`}),children:[(0,G.jsxs)(`div`,{className:YS.label,children:[e.icon,t===`bind`&&(0,G.jsx)(L,{variant:`body1Medium`,children:e.desc})]}),t===`bind`&&(0,G.jsx)(z,{size:`small`,variant:`outlined`,endIcon:(0,G.jsx)(fa,{size:14}),onClick:()=>{o?.(),f(e.type)},children:s(`marketplace:card.actions.subscribeNow`)})]});return d.map((e,t)=>(0,G.jsx)(n,{...e},t))};return(0,G.jsx)(ma,{tooltip:{title:r?i:void 0,placement:`top`},children:(0,G.jsxs)(`div`,{className:R(YS.root,{[YS.global]:B},a.root),children:[(0,G.jsxs)(`div`,{className:R(YS.main,{[YS.expanded]:l,[YS.disabled]:r},a.main),onClick:()=>{r||u(e=>!e)},children:[(0,G.jsx)(G.Fragment,{children:n?n():(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Oa,{size:24,className:YS.marketplaceIcon}),(0,G.jsx)(`div`,{className:YS.content,children:(0,G.jsx)(L,{variant:`h3Semibold`,children:s(`marketplace:title`)})})]})}),(0,G.jsx)(`ul`,{className:YS.list,children:m({mode:`view`})}),p()]}),(0,G.jsx)(ra,{in:l,children:(0,G.jsx)(`ul`,{className:R(YS.list,YS.bindWrapper),children:m({mode:`bind`})})})]})})},vC={root:`_root_x424o_3`,main:`_main_x424o_6`,disabled:`_disabled_x424o_15`,expanded:`_expanded_x424o_24`,advancePayIcon:`_advancePayIcon_x424o_29`,title:`_title_x424o_33`,btn:`_btn_x424o_37`,bankSection:`_bankSection_x424o_41`,tooltip:`_tooltip_x424o_47`,icon:`_icon_x424o_53`,rotate:`_rotate_x424o_1`},yC=e=>{let{t}=_([`common`]),{contactSalesLink:n}=Pc();return(0,G.jsx)(z,{variant:`outlined`,size:`small`,endIcon:(0,G.jsx)(fi,{size:14}),onClick:()=>{window.open(n,`_blank`)},...e,children:t(`common:button.contact`)})},bC={root:`_root_aug0z_3`,main:`_main_aug0z_7`,header:`_header_aug0z_12`,infoList:`_infoList_aug0z_19`,row:`_row_aug0z_24`,label:`_label_aug0z_28`,value:`_value_aug0z_32`,divider:`_divider_aug0z_38`,tips:`_tips_aug0z_44`,tip:`_tip_aug0z_44`,text:`_text_aug0z_53`,dot:`_dot_aug0z_58`,link:`_link_aug0z_67`,accountNumberCopy:`_accountNumberCopy_aug0z_79`,rotate:`_rotate_aug0z_1`},xC=({classes:e={root:``,main:``,infoList:``,tips:``},renderMoreInfo:t=()=>(0,G.jsx)(G.Fragment,{})})=>{let{t:n}=_([`recharge`,`common`]),{transferBankInfo:r}
22=Kt(),{contactSalesLink:i}=Pc(),{orgId:a}=l(),s=F(A),c=(0,W.useMemo)(()=>[{label:n(`recharge:dialog.name`),value:r?._receiveAccountName||``,icon:(0,G.jsx)(va,{size:16})},{label:n(`recharge:dialog.bank`),value:r?._receiveBank||``,icon:(0,G.jsx)(ka,{size:16})},{label:n(`recharge:dialog.bankAccount`),value:r?._bankAccountNumber||``,icon:(0,G.jsx)(qr,{size:16})}],[r]),u=(0,W.useMemo)(()=>{let e=c.reduce((e,t)=>(e={...e,[t.label]:t.value},e),{});return JSON.stringify(e,null,2)},[c]),f=()=>{s(e=>({...e,open:!1}))},p=[(0,G.jsx)(d,{t:n,i18nKey:`recharge:dialog.tip.account`,components:[(0,G.jsx)(o,{className:bC.link,to:`/orgs/${a}/system/setting`,onClick:f})]}),(0,G.jsx)(d,{t:n,i18nKey:`recharge:dialog.tip.rechargeRecord`,components:[(0,G.jsx)(o,{className:bC.link,to:`/orgs/${a}/billing/recharge/history`,onClick:f})]}),(0,G.jsx)(d,{t:n,i18nKey:`recharge:dialog.tip.contact`,components:[(0,G.jsx)(`a`,{className:bC.link,href:i,target:`_blank`})]})];return(0,G.jsxs)(`div`,{className:R(bC.root,e.root),children:[(0,G.jsxs)(`div`,{className:R(bC.main,e.main),children:[(0,G.jsxs)(`div`,{className:bC.header,children:[(0,G.jsx)(L,{variant:`body2Medium`,children:n(`recharge:dialog.desc`)}),(0,G.jsx)(li,{size:`xs`,value:u,variant:`outlined`,defaultLabel:n(`recharge:copyAll`)})]}),(0,G.jsx)(`ul`,{className:R(bC.infoList,e.infoList),children:c.map((e,t)=>(0,G.jsxs)(`li`,{className:bC.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:bC.label,children:e.label}),(0,G.jsxs)(`div`,{className:bC.value,children:[e.icon,(0,G.jsx)(L,{variant:`body3Regular`,children:e.value}),e.label===n(`recharge:dialog.bankAccount`)&&(0,G.jsx)(li,{classes:{wrapper:bC.accountNumberCopy},withMargin:!1,size:`small`,btnType:`icon`,value:e.value.replace(/\s/g,``)})]})]},t))})]}),(0,G.jsx)(`div`,{className:bC.divider}),(0,G.jsx)(`ul`,{className:R(bC.tips,e.tips),children:p.map((e,t)=>(0,G.jsxs)(`li`,{className:bC.tip,children:[(0,G.jsx)(`span`,{className:bC.dot}),(0,G.jsx)(L,{variant:`body3Regular`,className:bC.text,children:e})]},t))}),t()]})},SC=()=>{let{orgStatus:e}=Kt(),{balanceInfo:t,contactSalesLink:n}=Pc(),{t:r}=_([`billing`,`common`]),{canManageBillingAccess:i}=Yn(),{orgId:a=``}=l(),s=F(A),c=()=>s(e=>({...e,open:!1})),{isFinishAuthentication:u,isSignedContract:f,isDuringAuthentication:p}=(0,W.useMemo)(()=>({isFinishAuthentication:e?._enterpriseCertificationStatus===le.Certified,isDuringAuthentication:e?._enterpriseCertificationStatus===le.Pending,isSignedContract:t?._offlineContract}),[e,t]),{rechargeDisabled:m,disableTooltip:h}=(0,W.useMemo)(()=>i?f?{rechargeDisabled:!0,disableTooltip:(0,G.jsx)(d,{t:r,i18nKey:`billing:advancePay.tooltip.overseaOrSignedContract`,components:[(0,G.jsx)(`a`,{target:`_blank`,href:n})]})}:{rechargeDisabled:!u,disableTooltip:p?r(`billing:advancePay.tooltip.inAuthenticationNow`):(0,G.jsx)(d,{t:r,i18nKey:`billing:advancePay.tooltip.notFinishAuthentication`,components:[(0,G.jsx)(o,{to:`/orgs/${a}/system/setting`,onClick:c})]})}:{rechargeDisabled:!0,disableTooltip:r(`common:tooltip.orgPermission`)},[i,u,f,p]);return{rechargeDisabled:m,disableTooltip:h}},CC=e=>{let{renderTitle:t,renderMoreInfo:n,showExpandText:r=!0,classes:i={root:``,main:``}}=e,{t:a}=_([`recharge`,`common`]),{contactSalesLink:o}=Pc(),[s,c]=(0,W.useState)(!1),{rechargeDisabled:l,disableTooltip:u}=SC(),d=(0,W.useMemo)(()=>l&&!B,[l]),f=(0,W.useCallback)(()=>s?(0,G.jsx)(Ri,{size:14,className:vC.icon}):(0,G.jsx)(Mi,{size:14,className:vC.icon}),[s]),p=()=>{window.open(o,`_blank`)},m=()=>{B&&p()},h=()=>{B||l||c(e=>!e)};return(0,G.jsxs)(`div`,{className:R(vC.root,i.root),onClick:m,children:[(0,G.jsx)(ma,{tooltip:{title:d?u:``,placement:`top`,classes:{tooltip:vC.tooltip}},children:(0,G.jsxs)(`div`,{className:R(vC.main,{[vC.expanded]:s,[vC.disabled]:d},i.main),onClick:h,children:[(0,G.jsx)(G.Fragment,{children:t?t():(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Hi,{size:24,className:vC.advancePayIcon}),(0,G.jsx)(L,{variant:`h3Semibold`,className:vC.title,children:a(`recharge:card.title`)})]})}),B?(0,G.jsx)(yC,{variant:`textBlack`,size:`xs`,className:vC.btn}):(0,G.jsx)(z,{size:`small`,variant:`textBlack`,withMargin:!1,endIcon:(0,G.jsx)(f,{}),className:vC.btn,children:r?(0,G.jsx)(L,{variant:`body3Medium`,children:a(`recharge:card.viewInfoBtn`)}):null})]})}),(0,G.jsx)(ra,{in:s,children:(0,G.jsx)(xC,{classes:{root:vC.bankSection},renderMoreInfo:n})})]})},wC=({classes:e={root:``,recharge:``,marketplace:``},showRecharge:t=!0,showMarketplace:n=!0,showCreditCard:r=!0,addCreditCardProps:i={actionType:VS.Add}})=>{let a=n&&!r&&!t;return(0,G.jsxs)(`div`,{className:R(KS.root,{[KS.reverseOrder]:B},e.root),children:[t&&(0,G.jsx)(CC,{}),n&&(0,G.jsx)(_C,{onlyShowMarketplace:a}),B&&r&&(0,G.jsx)(JS,{addCreditCardProps:i})]})},TC={dialogRoot:`_dialogRoot_18x29_3`,title:`_title_18x29_4`,root:`_root_18x29_9`,switchTip:`_switchTip_18x29_13`,switchTipFrozen:`_switchTipFrozen_18x29_17`,link:`_link_18x29_21`,desc:`_desc_18x29_26`,rotate:`_rotate_18x29_1`},EC=e=>
22(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 13 12`,fill:`none`,...e,children:[(0,G.jsx)(`g`,{clipPath:`url(#clip0_1824_36221)`,children:(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M4.0625 1.125C3.54473 1.125 3.125 1.54473 3.125 2.0625C3.125 2.58027 3.54473 3 4.0625 3H5.79405C5.61934 2.38683 5.38747 1.94919 5.13542 1.65513C4.81289 1.27885 4.44958 1.125 4.0625 1.125ZM2 2.0625C2 2.40008 2.0811 2.71873 2.22489 3H1.8125C1.08763 3 0.5 3.58763 0.5 4.3125V5.8125C0.5 6.33607 0.806572 6.78805 1.25 6.99869V10.6875C1.25 11.4124 1.83763 12 2.5625 12H10.4375C11.1624 12 11.75 11.4124 11.75 10.6875V6.99869C12.1934 6.78805 12.5 6.33607 12.5 5.8125V4.3125C12.5 3.58763 11.9124 3 11.1875 3H10.7751C10.9189 2.71873 11 2.40008 11 2.0625C11 0.923415 10.0766 0 8.9375 0C8.19957 0 7.53164 0.314899 7.01042 0.922995C6.81856 1.14682 6.6483 1.40792 6.5 1.70478C6.3517 1.40792 6.18144 1.14682 5.98958 0.922995C5.46836 0.314899 4.80042 0 4.0625 0C2.92341 0 2 0.923415 2 2.0625ZM7.20595 3H8.9375C9.4553 3 9.875 2.58027 9.875 2.0625C9.875 1.54473 9.4553 1.125 8.9375 1.125C8.55042 1.125 8.18713 1.27885 7.86458 1.65513C7.61253 1.94919 7.38066 2.38683 7.20595 3ZM1.8125 4.125C1.70895 4.125 1.625 4.20895 1.625 4.3125V5.8125C1.625 5.91605 1.70895 6 1.8125 6H5.9375V4.125H1.8125ZM7.0625 4.125V6H11.1875C11.2911 6 11.375 5.91605 11.375 5.8125V4.3125C11.375 4.20895 11.2911 4.125 11.1875 4.125H7.0625ZM7.0625 7.125H10.625V10.6875C10.625 10.7911 10.5411 10.875 10.4375 10.875H7.0625V7.125ZM5.9375 7.125V10.875H2.5625C2.45895 10.875 2.375 10.7911 2.375 10.6875V7.125H5.9375Z`,fill:`url(#paint0_linear_1824_36221)`})}),(0,G.jsxs)(`defs`,{children:[(0,G.jsxs)(`linearGradient`,{id:`paint0_linear_1824_36221`,x1:.5,y1:.174262,x2:10.8339,y2:5.75289,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#00EF8B`}),(0,G.jsx)(`stop`,{offset:.505,stopColor:`#0044E4`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#CD3FFF`})]}),(0,G.jsx)(`clipPath`,{id:`clip0_1824_36221`,children:(0,G.jsx)(`rect`,{width:12,height:12,fill:`white`,transform:`translate(0.5)`})})]})]}),DC=e=>{let{children:t,feature:n,cloud:r}=e;return(0,G.jsx)(G.Fragment,{children:r===`cloud-zh`||Cs(n)?t:null})},OC=Cs(xs.PaymentCreditsBonus),kC=()=>{let{t:e}=_([`billing`,`common`]),{orgStatus:t}=Kt(),n=!!t?._hasPayMethod,r=t?._isFrozen;return n?(0,G.jsxs)(G.Fragment,{children:[r&&(0,G.jsx)(ni,{severity:`error`,children:e(`billing:paymentUpdate.failedTip`)}),(0,G.jsx)(ni,{severity:`info`,classes:{root:R(TC.switchTip,{[TC.switchTipFrozen]:r})},children:e(`billing:paymentUpdate.switchTip`)})]}):OC?(0,G.jsxs)(L,{variant:`body3Regular`,className:TC.desc,children:[(0,G.jsx)(EC,{}),e(`billing:paymentUpdate.addPayMethodTip`)]}):null},AC=({title:e=``,payMethodCardProps:t={},isNest:n=!1})=>{let{t:r}=_([`billing`,`common`]),{orgStatus:i}=Kt(),a=i?._hasPayMethod?r(`billing:addPayment.updateTitle`):r(`billing:addPayment.title`);return(0,G.jsxs)(sc,{title:e||a,isNestDialog:n,showActions:!1,classes:{root:TC.dialogRoot,title:TC.title},children:[(0,G.jsx)(DC,{cloud:_s.Cloud,children:(0,G.jsx)(kC,{})}),(0,G.jsx)(wC,{classes:{root:TC.root},...t})]})},jC=Cs(xs.SubscriptionPlan),MC=()=>{let{canManageBillingAccess:e}=Yn(),{byocInfo:t}=dc(),{isByocOrg:n}=Kt(),r=(0,W.useCallback)(()=>!n||t?._isPayAsYouGoBilling||t?._isContractBilling,[n,t]),i=(0,W.useCallback)(t=>t?jC&&e:!1,[e]);return{hasBillingAllAccess:(0,W.useMemo)(()=>r()?e:!1,[e,r]),hasBillingEntryAccess:(0,W.useMemo)(()=>r()?!n||t?._byocOnDemandEnabled!==!1:!1,[t?._byocOnDemandEnabled,r,n]),checkBillingOrderAccess:i,checkByocBillingAccess:r}};function NC(){let{message:e}=Ga(),{t}=_([`billing`]);return{sendFrozenErrorMessage:(n,r)=>{let i=t(n&&r?`billing:frozenMessage.ownerWithPay`:n?`billing:frozenMessage.ownerNoPay`:`billing:frozenMessage.member`);e.error({title:t(`billing:frozenMessage.title`),message:i},{preventDuplicate:!1,persist:!1,autoHideDuration:5e3})}}}function PC(e){let{t}=_([`common`,`billing`]),{orgId:n,projectId:r}=l(),{profile:i,payMethodType:a,balanceInfo:s}=Pc(),{orgStatus:c}=Kt(),{checkByocBillingAccess:f}=MC(),{canManageBillingAccess:m}=Yn(),h=F(A),g=u(),v=p(),y=f(),b=i=>{let{region:a,clusterId:o,clusterName:s,sourceClusterType:c=Hs.Starter.toString()}=e||{};return{actionType:i,success:{label:a?t(`billing:creditsDistribute.addCard.migrateStarter`):``,onClose:()=>{g(`/orgs/${n}/upgrade-free?${Bc.ProjectId}=${r}&${Bc.SourceRegion}
22=${a}&${Bc.SourceClusterId}=${o}&${Bc.SourceClusterName}=${s}&${Bc.SourceClusterType}=${c}`)}},from:e&&HS.MigrateStarter}},x=e=>{let n=b(e);h({open:!0,children:(0,G.jsx)(AC,{title:t(`billing:paymentUpdate.checkTitle`),payMethodCardProps:{addCreditCardProps:n}})})},S=(e,r)=>{let i=m?ze.Owner:ze.Member;r?._hasPayMethod?RS.WithPay:RS.NoPay;let{date:a=``,time:s=``}=r?._cleanTime||{};return r?._isCleaned?(0,G.jsx)(d,{t,i18nKey:`billing:frozenCleanedAlert.${i===ze.Member?`member`:`ownerOrAdmin`}`,components:[(0,G.jsx)(o,{to:`/orgs/${n}/billing/history`})]}):(0,G.jsx)(d,{t,i18nKey:`billing:frozenAlert.${i}.withPay`,values:{cleanTime:`${a}, ${s}`},components:[(0,G.jsx)(o,{to:`/orgs/${n}/billing/history`})]})},C={label:t(`common:button.contactOrgOwner`),onClick:()=>g(`/orgs/${n}/members`)},w=(e,t)=>!(!t||!t._isFrozen||!e),T=e=>t(`billing:payBill`),E=e=>{let{payMethodType:t,orgStatus:n,balanceInfo:r}=e,i=n?._hasPayMethod?VS.Update:VS.Add;return()=>{x(i)}},D=e=>{let{payMethodType:t,orgStatus:n,pathname:r,balanceInfo:i}=e;if(!m)return C;let a=!!n?._hasPayMethod;return{label:T(a),onClick:E({payMethodType:t,orgStatus:n,pathname:r,balanceInfo:i})}};return{config:(0,W.useMemo)(()=>({open:w(y,c),severity:`warning`,desc:S(i,c),action:D({pathname:v.pathname,payMethodType:a,profile:i,orgStatus:c,balanceInfo:s})}),[i,c,v.pathname,a,s,m]),getAlertAction:D}}function FC(){let{orgStatus:e}=Kt(),{sendFrozenErrorMessage:t}=NC(),{canManageBillingAccess:n}=Yn(),{isFrozen:r,hasPayMethod:i}=(0,W.useMemo)(()=>({isFrozen:e?._isFrozen,hasPayMethod:!!e?._hasPayMethod}),[e]),a=e=>{let t=e;for(;t;){if(t.dataset.frozenAction)return t.dataset.frozenAction;t=t.parentElement}return null};(0,W.useEffect)(()=>{let e=e=>{let{target:o}=e,s=a(o)===BS.Disable;r&&s&&(t(n,i),e.stopPropagation(),e.preventDefault())};return window.addEventListener(`click`,e,{capture:!0}),()=>{window.removeEventListener(`click`,e,{capture:!0})}},[n,i,r])}function IC(){let{orgStatus:e}=Kt(),{alreadyCreateStarterCluster:t}=Fn(),{orgId:n=``,projectId:r=``}=l(),{sendFrozenErrorMessage:i}=NC(),{canManageBillingAccess:a}=Yn(),o=u(),s=F(A),c=()=>{let n=e?._isFrozen,r=!!e?._hasPayMethod;return n&&t?(i(a,r),!0):!1},d=()=>{s({open:!0,size:`small`,children:(0,G.jsx)(GS,{})})};return{onCreateCluster:()=>{!c()&&o(`/orgs/${n}/projects/${r}/create/cluster`)},onSwitchPlan:(t,n)=>{!e?._isFrozen||n===to.Free?t(n):d()},goToClusterDetail:(t,s)=>{if(t===Hs.Starter||!e?._isFrozen){let e=t===Hs.QueryCluster?`/orgs/${n}/projects/${r}/on-demand/clusters/${s}`:`/orgs/${n}/projects/${r}/clusters/${s}`;o(e);return}i(a,!!e._hasPayMethod)}}}var LC=e=>e?Math.ceil((e-Date.now())/(1e3*60*60*24)):0,RC=e=>{if(!e)return hc.Active;let t=LC(e);return t<=0?hc.Expired:t<=30?hc.ExpiringSoon:hc.Active},zC=class extends eo{contractNo;contractVCPU;contractMemory;usedVCPU;usedMemory;expireTime;licenseStartTime;licenseEndTime;projectUsage;constructor(e){super(e),Object.assign(this,e)}static USAGE_LIST_URL=`${this.CLOUD_PREFIX}/byoc/contract/usage`;static async fetchUsage(){return super.search({path:`${this.USAGE_LIST_URL}`},void 0)}get _expireTime(){return this.expireTime??0}get _daysUntilExpiry(){return LC(this._expireTime)}
22get _displayExpiredDate(){return this._expireTime?nc(this._expireTime,`ll`):ds.UNKNOWN}get _licenseStatus(){return RC(this._expireTime)}},BC=function(e){return e.LicenseExpired=`licenseExpired`,e.LicenseExpiring=`licenseExpiring`,e.CapacityExceeded=`capacityExceeded`,e}({}),VC=()=>{let{orgId:e=``}=l(),{isByocOrg:t}=Kt(),{byocInfo:n}=dc(),{resourceActions:r}=Yn(),i=dr(r,`billing`,`view`)||dr(r,`billing`,`manage`),a=t&&n?._isContractBilling&&n?._byocOnDemandEnabled!==!0&&!!e&&i,{data:o}=za(a?[zC.USAGE_LIST_URL,e,`alert`]:null,()=>zC.fetchUsage(),{revalidateOnFocus:!1,revalidateOnReconnect:!1}),s=(0,W.useMemo)(()=>{if(!a||!o)return{open:!1};let{usedVCPU:e=0,contractVCPU:t=0,_licenseStatus:n,_daysUntilExpiry:r}=o;return n===hc.Expired?{open:!0,severity:`error`,type:BC.LicenseExpired,daysUntilExpiry:r}:n===hc.ExpiringSoon?{open:!0,severity:`warning`,type:BC.LicenseExpiring,daysUntilExpiry:r}:t>0&&e>t?{open:!0,severity:`error`,type:BC.CapacityExceeded,usedVCPU:e,contractVCPU:t}:{open:!1}},[a,o]);return{alertConfig:s,showAlert:s.open,usageData:o}},HC=()=>{let e=p(),{config:t}=PC(),{profile:{_useBusinessEmail:n}}=Pc(),{orgId:r=``}=l(),{orgStatus:i,unpaidInvoice:a,unconfirmedInvoice:o,creditStatus:s}=Kt(),{checkByocBillingAccess:c}=MC(),{showAlert:u}=VC();return{showAlert:(0,W.useMemo)(()=>{if(!r||!c())return!1;let e=i?._hasPayMethod,n=a.id!==``||o.id!==``;if(!e)return!0;let s=i?._isFrozen,l=t.open;return u?!0:s?l:n},[e.pathname,t,a,o,i,r,c,s?._sentRegisterCredit,n,u])}},vre=()=>{let{storedValue:e,setStorageValue:t}=k(In.MENU_EXPANDED,!0),[n,r]=(0,W.useState)(e),{visible:i}=TS(),{showAlert:a}=HC(),o=ea(`(max-width: 1023px)`)?!1:n,s=()=>{r(e=>(t(!e),!e))};return(0,G.jsxs)(`div`,{className:xS.main,children:[(0,G.jsxs)(`div`,{className:R(xS.container,{[xS.hasBanner]:i,[xS.hasAlert]:a}),children:[(0,G.jsx)(ra,{orientation:`horizontal`,in:o,collapsedSize:72,timeout:200,classes:{root:R(xS.wrapper,{[xS.expandedWrapper]:o,[xS.collapsedWrapper]:!o}),wrapperInner:R(xS.innerWrapper,{[xS.expandedInnerWrapper]:o})},children:(0,G.jsxs)(`div`,{children:[(0,G.jsx)(LS,{expanded:o}),(0,G.jsx)(bS,{expanded:o})]})}),(0,G.jsx)(fr,{size:`xs`,className:R(xS.expandIcon,{[xS.notExpand]:!o}),onClick:s,children:(0,G.jsx)(Aa,{})})]}),(0,G.jsx)(`div`,{className:R(xS.navPlaceHolder,{[xS.minNavPlaceholder]:!o})})]})},K={wrapper:`_wrapper_1591q_21`,hide:`_hide_1591q_30`,dbTreeWrapper:`_dbTreeWrapper_1591q_36`,treeLoadingContainer:`_treeLoadingContainer_1591q_50`,treeWrapper:`_treeWrapper_1591q_57`,actionNode:`_actionNode_1591q_67`,noResult:`_noResult_1591q_77`,createIcon:`_createIcon_1591q_83`,menuBar:`_menuBar_1591q_87`,sectionTitle:`_sectionTitle_1591q_95`,menuBarActions:`_menuBarActions_1591q_99`,popper:`_popper_1591q_105`,createIconRoot:`_createIconRoot_1591q_113`,actionWrapper:`_actionWrapper_1591q_125`,treeRoot:`_treeRoot_1591q_130`,treeContentWrapper:`_treeContentWrapper_1591q_146`,staticNode:`_staticNode_1591q_148`,noCollection:`_noCollection_1591q_154`,otherDbCollection:`_otherDbCollection_1591q_164`,iconRoot:`_iconRoot_1591q_168`,loadingNode:`_loadingNode_1591q_176`,otherDbSection:`_otherDbSection_1591q_180`,otherDbHeader:`_otherDbHeader_1591q_189`,otherDbTitle:`_otherDbTitle_1591q_198`,otherDbTitleRow:`_otherDbTitleRow_1591q_202`,otherDbActions:`_otherDbActions_1591q_208`,otherDbRegionGroup:`_otherDbRegionGroup_1591q_214`,otherDbRegionLabel:`_otherDbRegionLabel_1591q_220`,otherDbRegionTree:`_otherDbRegionTree_1591q_227`,newBadge:`_newBadge_1591q_232`,otherDbTreeWrapper:`_otherDbTreeWrapper_1591q_245`,emptyContainer:`_emptyContainer_1591q_252`,emptyIconBox:`_emptyIconBox_1591q_260`,emptyIcon:`_emptyIcon_1591q_260`,emptyTitle:`_emptyTitle_1591q_27
225`,emptyDescription:`_emptyDescription_1591q_279`,onboardCard:`_onboardCard_1591q_284`,onboardHeader:`_onboardHeader_1591q_295`,onboardIconBox:`_onboardIconBox_1591q_301`,onboardIcon:`_onboardIcon_1591q_301`,onboardTitle:`_onboardTitle_1591q_316`,onboardDescription:`_onboardDescription_1591q_320`,onboardCta:`_onboardCta_1591q_324`,virtualTreeList:`_virtualTreeList_1591q_337`,rotate:`_rotate_1591q_1`},UC=e=>({min:1,max:(Array.isArray(e)?e[e.length-1]:e)===V.Text?dl:rl}),WC=()=>{let{t:e}=_([`common`,`collections`]),t=/^[-+]?\d+$/;return{getCollectionNameRules:t=>({required:e(`common:warning.required`,{name:t||e(`collections:create.general.collectionName`)}),validate:{name:t=>new RegExp(Gn).test(t)||e(`collections:create.validation.nameContent`),startLetter:t=>new RegExp(er).test(t)||e(`collections:create.validation.nameFirstLetter`),range:t=>t&&t.length<=255&&t.length>=1||e(`common:warning.length`,{min:1,max:255})}}),getDimensionRules:t=>({required:e(`common:warning.required`,{name:e(`collections:create.schema.dim`)}),validate:{integer:t=>{let n=Number(t);return Number.isInteger(n)||e(`common:warning.integer`,{name:e(`collections:create.schema.dim`)})},range:n=>{let r=Number(n),[i,a]=t?[8,_l]:[2,fl];return r<=a&&r>=i||e(`common:warning.numberRange`,{min:i,max:new Intl.NumberFormat().format(a)})},multiple:n=>{let r=Number(n);return(t?r%8==0:!0)||e(`collections:create.validation.dimMultiple`)}}}),getCollectionDescriptionRules:()=>({validate:{noDollar:t=>!t.includes(`$`)||e(`collections:create.validation.desc`)}}),getMaxLengthRules:n=>{let{min:r,max:i}=UC(n);return{required:e(`common:warning.required`,{name:e(`collections:create.schema.maxLength`)}),validate:{integer:n=>{if(!t.test(n))return e(`common:warning.integer`,{name:e(`collections:create.schema.maxLength`)});let r=Number(n);return Number.isInteger(r)||e(`common:warning.integer`,{name:e(`collections:create.schema.maxLength`)})},range:t=>{let n=Number(t);return n<=i&&n>=r||e(`common:warning.numberRange`,{min:r,max:i})}}}},getMaxCapacityRules:()=>({validate:{integer:t=>{let n=Number(t);return Number.isInteger(n)||e(`common:warning.integer`,{name:e(`collections:create.schema.array.maxCapacity`)})},range:t=>{let n=Number(t);return n<=4096&&n>=1||e(`common:warning.numberRange`,{min:1,max:4096})}}}),getExternalFieldRules:()=>{let t=e(`collections:external.column.label`);return{required:e(`common:warning.required`,{name:t}),validate:{nonWhitespace:n=>n&&n.trim().length>0||e(`common:warning.required`,{name:t})}}}}},GC=()=>{let e=Intl.supportedValuesOf(`timeZone`).map(e=>{try{let t=new Date,n=(new Date(t.toLocaleString(`en-US`,{timeZone:e})).getTime()-new Date(t.toLocaleString(`en-US`,{timeZone:`UTC`})).getTime())/(1e3*60),r=Math.floor(Math.abs(n)/60),i=Math.abs(n)%60,a=`${n>=0?`+`:`-`}${String(r).padStart(2,`0`)}:${String(i).padStart(2,`0`)}`;return{timezone:e,offset:n,formattedOffset:a,display:`(UTC${a}) ${e}`}}catch{return null}}).filter(e=>e!==null);return e.sort((e,t)=>e.offset===t.offset?e.timezone.localeCompare(t.timezone):e.offset-t.offset),e},yre=()=>Intl.DateTimeFormat().resolvedOptions().timeZone,KC=(e=``)=>GC().find(t=>t.timezone===e)?.display,qC=(e=``)=>GC().find(t=>t.display===e)?.timezone,JC=e=>{let{clusterId:t}=e,{t:n}=_([`database`,`common`]),{getCollectionNameRules:r}=WC(),{fetchDatabaseByClusterId:i}=Yl(),{message:a}=Ga(),o=F(A),[s,c]=(0,W.useState)(!1);return(0,G.jsx)(St,{type:j.Form,title:n(`database:create.title`),confirmLabel:n(`common:button.create`),confirmLoading:s,handleConfirm:async e=>{c(!0);try{qC(e.timezone),await Xl.createDatabase({instanceId:t,databaseName:e.databaseName}),a.success({title:n(`database:create.success.title`),message:n(`database:create.success.message`,{name:e.databaseName})}),i(t),o(e=>({...e,open:!1}))}finally{c(!1)}},useFormProps:{defaultValues:{timezone:KC(yre())}},children:(0,G.jsx)(Ei,{spacing:`20px`,children:(0,G.jsx)(E,{name:`databaseName`,rules:r(n(`database:create.name`)),componentProps:{fullWidth:!0,label:(0,G.jsx)(ye,{children:n(`database:create.name`)})}})})})},bre=e=>{let{clusterId:t,keyword:n,cb:i}=e,{t:a}=_([`database`,`common`]),{message:o}=Ga(),s=F(A),{fetchDatabaseByClusterId:c}=Yl(),d=Vl(),f=u(),{orgId:p=``,projectId:m=``,databaseName:h=``}
22=l(),[g]=r(),[v,y]=(0,W.useState)(!1),b=()=>{let e=g.get(Sl);(h===n||e===n)&&f(`/orgs/${p}/projects/${m}/clusters/${t}/collections?${Sl}=${ll}`,{replace:!0})};return(0,G.jsx)(wt,{title:a(`database:delete.title`),tip:a(`database:delete.tips`),keyword:n,onConfirm:async()=>{try{y(!0),await Xl.dropDatabase({instanceId:t,databaseName:n}),i&&i(),b(),c(t),setTimeout(()=>{d.removeListCache(t,n)},100),o.success({title:a(`database:delete.success.title`),message:a(`database:delete.success.message`,{name:n})}),s(e=>({...e,open:!1}))}finally{y(!1)}},confirmLabel:a(`common:button.drop`),confirmLoading:v})},xre=()=>{let{t:e}=_([`database`,`common`]),t=F(A);return(0,G.jsx)(Et,{title:e(`database:unable.title`),confirmText:e(`common:button.ok`),onConfirm:async()=>{t(e=>({...e,open:!1}))},content:(0,G.jsx)(L,{children:e(`database:unable.desc`)}),variant:`error`,hideCancel:!0})},YC={resizeTrigger:`_resizeTrigger_1c3b9_3`,active:`_active_1c3b9_21`,rotate:`_rotate_1c3b9_1`},XC={min:200,max:Math.max(window.innerWidth/3,200)},ZC=(e={})=>{let{max:t=XC.max,min:n=XC.min,defaultWidth:r=n}=e,i=(0,W.useRef)(null),a=(0,W.useRef)(null),o=(0,W.useRef)({x:0,width:0}),s=(0,W.useRef)(void 0),c=(0,W.useCallback)(e=>{if(!i.current)return;let r=e.clientX-o.current.x,a=o.current.width+r,s=Math.min(Math.max(n,a),t);i.current.style.width=`${s}px`},[t,n]),l=(0,W.useCallback)(e=>{i.current&&(window.document.body.style.cursor=`ew-resize`,window.document.body.style.userSelect=`none`,a.current?.classList.add(YC.active),o.current={x:e.clientX,width:i.current.offsetWidth},window.addEventListener(`mousemove`,c))},[c]),u=(0,W.useCallback)(()=>{window.document.body.style.cursor=``,window.document.body.style.userSelect=``,a.current?.classList.remove(YC.active),window.removeEventListener(`mousemove`,c)},[c]),d=(0,W.useCallback)(()=>{if(!i.current||!a.current)return;s.current?.(),r&&(i.current.style.width=`${r}px`);let e=a.current;e.addEventListener(`mousedown`,l),window.addEventListener(`mouseup`,u),s.current=()=>{e.removeEventListener(`mousedown`,l),window.removeEventListener(`mouseup`,u),window.removeEventListener(`mousemove`,c)}},[r,c,u,l]),f=(0,W.useCallback)(e=>{i.current=e,d()},[d]),p=(0,W.useCallback)(e=>{a.current=e,d()},[d]);return(0,W.useLayoutEffect)(()=>(d(),()=>{s.current?.(),s.current=void 0}),[d]),{ref:f,renderTrigger:()=>(0,G.jsx)(`div`,{className:YC.resizeTrigger,ref:p})}},QC={dropDownRoot:`_dropDownRoot_109c4_3`,loading:`_loading_109c4_9`,btnGroups:`_btnGroups_109c4_16`,btnConnect:`_btnConnect_109c4_21`,manageWrapper:`_manageWrapper_109c4_29`,disabled:`_disabled_109c4_43`},$C=(e={})=>{let{isFromCluster:t=!1,databaseName:n=``,clusterId:r}=e,{orgId:i=``,projectId:a=``,clusterId:o=``}=l(),s=r||o,c=u(),{pathname:d}=p(),f=d.includes(`/on-demand/`)?`on-demand/clusters`:`clusters`,m=t?`?from=cluster&${Sl}=${n}`:`?${Sl}=${n}`,h=()=>{c(`/orgs/${i}/projects/${a}/${f}/${s}/create/collection${m}`)},g=()=>{c(`/orgs/${i}/projects/${a}/${f}/${s}/create/sample-collection${m}`)},_=e=>{c(v(e))},v=e=>{let{databaseName:t,collectionName:n}=e,r=e.clusterId||s;return t?`/orgs/${i}/projects/${a}/${f}/${r}/databases/${t}/collections/${n}`:`/orgs/${i}/projects/${a}/${f}/${r}/collections/${n}`};return{navigateToCreateCollection:h,navigateToCreateSampleCollection:g,navigateToCollectionPage:_,generateCollectionUrl:v}},ew={container:`_container_1wb9w_3`,targetLabelWrapper:`_targetLabelWrapper_1wb9w_4`,content:`_content_1wb9w_10`,formMain:`_formMain_1wb9w_15`,actions:`_actions_1wb9w_19`,sourceDataTitle:`_sourceDataTitle_1wb9w_23`,sourceWrapper:`_sourceWrapper_1wb9w_27`,fileUploaderContainer:`_fileUploaderContainer_1wb9w_30`,supportText:`_supportText_1wb9w_35`,dataLocation:`_dataLocation_1wb9w_42`,radioGroup:`_radioGroup_1wb9w_47`,link:`_link_1wb9w_53`,targetCollection:`_targetCollection_1wb9w_58`,zendeskWrapper:`_zendeskWrapper_1wb9w_62`,zendeskLink:`_zendeskLink_1wb9w_63`,rotate:`_rotate_1wb9w_1`},tw=function(e){return e.File=`file`,e.CloudStorage=`cloudStorage`,e.Volume=`volume`,e}({}),nw=function(e){return e.ClusterAndDbName=`clusterAndDbName`,e.SourceType=`sourceType`,e.Volume=`stageId`,e.VolumePath=`stagePath`,e.File=`importFile`,e}({}),rw=e($l()),iw=1073741824,aw=536870912,ow=`512MB`,sw=[`JSON`,`JSONL`,`NDJSON`,`Parquet`],cw=`example`,lw={completedPartNumber:[],isCompleted:!1,isStart:!1,uploadId:``,oldUploadId:``},uw=5242880,dw=`This is not an object`,fw=`This is not a Float16Array object`,pw=`This constructor is not a subclass of Float16Array`,mw=`The constructor property value is not an object`,hw=`Species constructor didn't return TypedArray object`,gw=`Derived constructor created TypedArray object which was too small length`,_w=`Attempting to access detached ArrayBuffer`,vw=`Cannot convert undefined or null to object`,yw=`Cannot mix BigInt and other types, use explicit conversions`,bw=`@@iterator property is not callable`,xw=`Reduce of empty array with
22no initial value`,Sw=`The comparison function must be either a function or undefined`,Cw=`Offset is out of bounds`;function ww(e){return(t,...n)=>Ew(e,t,n)}function Tw(e,t){return ww(Aw(e,t).get)}var{apply:Ew,construct:Dw,defineProperty:Ow,get:kw,getOwnPropertyDescriptor:Aw,getPrototypeOf:jw,has:Mw,ownKeys:Nw,set:Pw,setPrototypeOf:Fw}=Reflect,Iw=Proxy,{EPSILON:Lw,MAX_SAFE_INTEGER:Rw,isFinite:zw,isNaN:Bw}=Number,{iterator:Vw,species:Hw,toStringTag:Uw,for:Ww}=Symbol,Gw=Object,{create:Kw,defineProperty:qw,freeze:Jw,is:Yw}=Gw,Xw=Gw.prototype,Zw=Xw.__lookupGetter__?ww(Xw.__lookupGetter__):(e,t)=>{if(e==null)throw WT(vw);let n=Gw(e);do{let e=Aw(n,t);if(e!==void 0)return Qw(e,`get`)?e.get:void 0}while((n=jw(n))!==null)},Qw=Gw.hasOwn||ww(Xw.hasOwnProperty),$w=Array,eT=$w.isArray,tT=$w.prototype,nT=ww(tT.join),rT=ww(tT.push),iT=ww(tT.toLocaleString),aT=tT[Vw],oT=ww(aT),{abs:sT,trunc:cT}=Math,lT=ArrayBuffer,uT=lT.isView,dT=lT.prototype,fT=ww(dT.slice),pT=Tw(dT,`byteLength`),mT=typeof SharedArrayBuffer<`u`?SharedArrayBuffer:null,hT=mT&&Tw(mT.prototype,`byteLength`),gT=jw(Uint8Array),_T=gT.from,vT=gT.prototype,yT=vT[Vw],bT=ww(vT.keys),xT=ww(vT.values),ST=ww(vT.entries),CT=ww(vT.set),wT=ww(vT.reverse),TT=ww(vT.fill),ET=ww(vT.copyWithin),DT=ww(vT.sort),OT=ww(vT.slice),kT=ww(vT.subarray),AT=Tw(vT,`buffer`),jT=Tw(vT,`byteOffset`),MT=Tw(vT,`length`),NT=Tw(vT,Uw),PT=Uint8Array,FT=Uint16Array,IT=(...e)=>Ew(_T,FT,e),LT=Uint32Array,RT=Float32Array,zT=jw([][Vw]()),BT=ww(zT.next),VT=ww((function*(){})().next),HT=jw(zT),UT=DataView.prototype;UT.getUint16,UT.setUint16;var WT=TypeError,GT=RangeError,KT=WeakSet,qT=KT.prototype,JT=ww(qT.add),YT=ww(qT.has),XT=WeakMap,ZT=XT.prototype,QT=ww(ZT.get),$T=ww(ZT.has),eE=ww(ZT.set),tE=new XT,nE=Kw(null,{next:{value:function(){return BT(QT(tE,this))}},[Vw]:{value:function(){return this}}});function rE(e){if(e[Vw]===aT&&zT.next===BT)return e;let t=Kw(nE);return eE(tE,t,oT(e)),t}var iE=new XT,aE=Kw(HT,{next:{value:function(){return VT(QT(iE,this))},writable:!0,configurable:!0}});for(let e of Nw(zT))e!==`next`&&qw(aE,e,Aw(zT,e));function oE(e){let t=Kw(aE);return eE(iE,t,e),t}function sE(e){return typeof e==`object`&&!!e||typeof e==`function`}function cE(e){return typeof e==`object`&&!!e}function lE(e){return NT(e)!==void 0}function uE(e){let t=NT(e);return t===`BigInt64Array`||t===`BigUint64Array`}function dE(e){try{return eT(e)?!1:(pT(e),!0)}catch{return!1}}function fE(e){if(mT===null)return!1;try{return hT(e),!0}catch{return!1}}function pE(e){return dE(e)||fE(e)}function mE(e){return eT(e)?e[Vw]===aT&&zT.next===BT:!1}function hE(e){return lE(e)?e[Vw]===yT&&zT.next===BT:!1}function gE(e){if(typeof e!=`string`)return!1;let t=+e;return e!==t+``||!zw(t)?!1:t===cT(t)}var _E=Ww(`__Float16Array__`);function vE(e){if(!cE(e))return!1;let t=jw(e);if(!cE(t))return!1;let n=t.constructor;if(n===void 0)return!1;if(!sE(n))throw WT(mw);return Mw(n,_E)}var yE=1/Lw;function bE(e){return e+yE-yE}var xE=6103515625e-14,SE=65504,CE=.0009765625,wE=CE*xE,TE=CE*yE;function EE(e){let t=+e;if(!zw(t)||t===0)return t;let n=t>0?1:-1,r=sT(t);if(r<xE)return n*bE(r/wE)*wE;let i=(1+TE)*r,a=i-(i-r);return a>SE||Bw(a)?n*(1/0):n*a}var DE=new lT(4),OE=new RT(DE),kE=new LT(DE),AE=new FT(512),jE=new PT(512);for(let e=0;e<256;++e){let t=e-127;t<-24?(AE[e]=0,AE[e|256]=32768,jE[e]=24,jE[e|256]=24):t<-14?(AE[e]=1024>>-t-14,AE[e|256]=1024>>-t-14|32768,jE[e]=-t-1,jE[e|256]=-t-1):t<=15?(AE[e]=t+15<<10,AE[e|256]=t+15<<10|32768,jE[e]=13,jE[e|256]=13):t<128?(AE[e]=31744,AE[e|256]=64512,jE[e]=24,jE[e|256]=24):(AE[e]=31744,AE[e|256]=64512,jE[e]=13,jE[e|256]=13)}function ME(e){OE[0]=EE(e);let t=kE[0],n=t>>23&511;return AE[n]+((t&8388607)>>jE[n])}var NE=new LT(2048);for(let e=1;e<1024;++e){let t=e<<13,n=0;for(;!(t&8388608);)t<<=1,n-=8388608;t&=-8388609,n+=947912704,NE[e]=t|n}for(let e=1024;e<2048;++e)NE[e]=939524096+(e-1024<<13);var PE=new LT(64);for(let e=1;e<31;++e)PE[e]=e<<23;PE[31]=1199570944,PE[32]=2147483648;for(let e=33;e<63;++e)PE[e]=2147483648+(e-32<<23);PE[63]=3347054592;var FE=new FT(64);for(let e=1;e<64;++e)e!==32&&(FE[e]=1024);function IE(e){let t=e>>10;return kE[0]=NE[FE[t]+(e&1023)]+PE[t],OE[0]}function LE(e){let t=+e;return Bw(t)||t===0?0:cT(t)}function RE(e){let t=LE(e);return t<0?0:t<Rw?t:Rw}function zE(e,t){if(!sE(e))throw WT(dw);let n=e.constructor;if(n===void 0)return t;if(!sE(n))throw WT(mw);return n[Hw]??t}function BE(e){if(fE(e))return!1;try{return fT(e,0,0),!1}catch{}return!0}function VE(e,t){let n=Bw(e),r=Bw(t);if(n&&r)return 0;if(n)return 1;if(r||e<t)return-1;if(e>t)return 1;if(e===0&&t===0){let n=Yw(e,0),r=Yw(t,0);if(!n&&r)return-1;if(n&&!r)return 1}return 0}var HE=2,UE=new XT;function WE(e){return $T(UE,e)||!uT(e)&&vE(e)}function GE(e){if(!WE(e))throw WT(fw)}function KE(e,t){let n=WE(e),r=lE(e);if(!n&&!r)throw WT(hw);if(typeof t==`number`){let r;if(r=MT(n?qE(e):e),r<t)throw WT(gw)}if(uE(e))throw WT(yw)}function qE(e){let t=QT(UE,e);if(t!==void 0){if(BE(AT(t)))throw WT(_w);return t}let n=e.buffer;if(BE(n))throw WT(_w);return QT(UE,Dw(ZE,[n,e.byteOffset,e.length],e.constructor))}function JE(e){let t=MT(e),n=[];for(let r=0;r<t;++r)n[r]=IE(e[r]);return n}var YE=new KT;for(let e of Nw(vT)){if(e===Uw)continue;let t=Aw(vT,e);Qw(t,`get`)&&typeof t.get==`function`&&JT(YE,t.get)}var XE=Jw({get(e,t,n){return gE(t)&&Qw(e,t)?IE(kw(e,t)):YT(YE,Zw(e,t))?kw(e,t):kw(e,t,n)},set(e,t,n,r){return gE(t)&&Qw(e,t)?Pw(e,t,ME(n)):Pw(e,t,n,r)},getOwnPropertyDescriptor(e,t){if(gE(t)&&Qw(e,t)){let n=Aw(e,t);return n.value=IE(n.value),n}return Aw(e,t)},defineProperty(e,t,n){return gE(t)&&Qw(e,t)&&Qw(n,`value`)&&(n.value=ME(n.value)),Ow(e,t,n)}}),ZE=class e{constructor(e,t,n){let r;if(WE(e))r=Dw(FT,[qE(e)],new.target);else if(sE(e)&&!pE(e)){let t,n;if(lE(e)){if(t=e,n=MT(e),BE(AT(e)))throw WT(_w);if(uE(e))throw WT(yw);r=Dw(FT,[new lT(n*HE)],new.target)}else{let i=e[Vw];if(i!=null&&typeof i!=`function`)throw WT(bw);i==null?(t=e,n=RE(t.length)):mE(e)?(t=e,n=e.length):(t=[...e],n=t.length),r=Dw(FT,[n],new.target)}for(let e=0;e<n;++e)r[e]=ME(t[e])}else r=Dw(FT,arguments,new.target);let i=new Iw(r,XE);return eE(UE,i,r),i}static from(t,...n){let r=this;if(!Mw(r,_E))throw WT(pw);if(r===e){if(WE(t)&&n.length===0){let n=qE(t),r=new FT(AT(n),jT(n),MT(n));return new e(AT(OT(r)))}if(n.length===0)return new e(AT(IT(t,ME)));let r=n[0],i=n[1];return new e(AT(IT(t,function(e,...t){return ME(Ew(r,this,[e,...rE(t)]))},i)))}let i,a,o=t[Vw];if(o!=null&&typeof o!=`function`)throw WT(bw);if(o!=null)mE(t)?(i=t,a=t.length):hE(t)?(i=t,a=MT(t)):(i=[...t],a=i.length);else{if(t==null)throw WT(vw);i=Gw(t),a=RE(i.length)}let s=new r(a);if(n.length===0)for(let e=0;e<a;++e)s[e]=i[e];else{let e=n[0],t=n[1];for(let n=0;n<a;++n)s[n]=Ew(e,t,[i[n],n])}return s}static of(...t){let n=this;if(!Mw(n,_E))throw WT(pw);let r=t.length;if(n===e){let n=new e(r),i=qE(n);for(let e=0;e<r;++e)i[e]=ME(t[e]);return n}let i=new n(r);for(let e=0;e<r;++e)i[e]=t[e];return i}keys(){return GE(this),bT(qE(this))}values(){GE(this);let e=qE(this);return oE((function*(){for(let t of xT(e))yield IE(t)})())}entries(){GE(this);let e=qE(this);return oE((function*(){for(let[t,n]of ST(e))yield[t,IE(n)]})())}at(e){GE(this);let t=qE(this),n=MT(t),r=LE(e),i=r>=0?r:n+r;if(!(i<0||i>=n))return IE(t[i])}with(t,n){GE(this);let r=qE(this),i=MT(r),a=LE(t),o=a>=0?a:i+a,s=+n;
22if(o<0||o>=i)throw GT(Cw);let c=new FT(AT(r),jT(r),MT(r)),l=new e(AT(OT(c))),u=qE(l);return u[o]=ME(s),l}map(t,...n){GE(this);let r=qE(this),i=MT(r),a=n[0],o=zE(r,e);if(o===e){let n=new e(i),o=qE(n);for(let e=0;e<i;++e)o[e]=ME(Ew(t,a,[IE(r[e]),e,this]));return n}let s=new o(i);KE(s,i);for(let e=0;e<i;++e)s[e]=Ew(t,a,[IE(r[e]),e,this]);return s}filter(t,...n){GE(this);let r=qE(this),i=MT(r),a=n[0],o=[];for(let e=0;e<i;++e){let n=IE(r[e]);Ew(t,a,[n,e,this])&&rT(o,n)}let s=new(zE(r,e))(o);return KE(s),s}reduce(e,...t){GE(this);let n=qE(this),r=MT(n);if(r===0&&t.length===0)throw WT(xw);let i,a;t.length===0?(i=IE(n[0]),a=1):(i=t[0],a=0);for(let t=a;t<r;++t)i=e(i,IE(n[t]),t,this);return i}reduceRight(e,...t){GE(this);let n=qE(this),r=MT(n);if(r===0&&t.length===0)throw WT(xw);let i,a;t.length===0?(i=IE(n[r-1]),a=r-2):(i=t[0],a=r-1);for(let t=a;t>=0;--t)i=e(i,IE(n[t]),t,this);return i}forEach(e,...t){GE(this);let n=qE(this),r=MT(n),i=t[0];for(let t=0;t<r;++t)Ew(e,i,[IE(n[t]),t,this])}find(e,...t){GE(this);let n=qE(this),r=MT(n),i=t[0];for(let t=0;t<r;++t){let r=IE(n[t]);if(Ew(e,i,[r,t,this]))return r}}findIndex(e,...t){GE(this);let n=qE(this),r=MT(n),i=t[0];for(let t=0;t<r;++t)if(Ew(e,i,[IE(n[t]),t,this]))return t;return-1}findLast(e,...t){GE(this);let n=qE(this),r=MT(n),i=t[0];for(let t=r-1;t>=0;--t){let r=IE(n[t]);if(Ew(e,i,[r,t,this]))return r}}findLastIndex(e,...t){GE(this);let n=qE(this),r=MT(n),i=t[0];for(let t=r-1;t>=0;--t)if(Ew(e,i,[IE(n[t]),t,this]))return t;return-1}every(e,...t){GE(this);let n=qE(this),r=MT(n),i=t[0];for(let t=0;t<r;++t)if(!Ew(e,i,[IE(n[t]),t,this]))return!1;return!0}some(e,...t){GE(this);let n=qE(this),r=MT(n),i=t[0];for(let t=0;t<r;++t)if(Ew(e,i,[IE(n[t]),t,this]))return!0;return!1}set(e,...t){GE(this);let n=qE(this),r=LE(t[0]);if(r<0)throw GT(Cw);if(e==null)throw WT(vw);if(uE(e))throw WT(yw);if(WE(e))return CT(qE(this),qE(e),r);if(lE(e)&&BE(AT(e)))throw WT(_w);let i=MT(n),a=Gw(e),o=RE(a.length);if(r===1/0||o+r>i)throw GT(Cw);for(let e=0;e<o;++e)n[e+r]=ME(a[e])}reverse(){return GE(this),wT(qE(this)),this}toReversed(){GE(this);let t=qE(this),n=new FT(AT(t),jT(t),MT(t)),r=new e(AT(OT(n)));return wT(qE(r)),r}fill(e,...t){return GE(this),TT(qE(this),ME(e),...rE(t)),this}copyWithin(e,t,...n){return GE(this),ET(qE(this),e,t,...rE(n)),this}sort(e){GE(this);let t=qE(this),n=e===void 0?VE:e;return DT(t,(e,t)=>n(IE(e),IE(t))),this}toSorted(t){GE(this);let n=qE(this);if(t!==void 0&&typeof t!=`function`)throw new WT(Sw);let r=t===void 0?VE:t,i=new FT(AT(n),jT(n),MT(n)),a=new e(AT(OT(i)));return DT(qE(a),(e,t)=>r(IE(e),IE(t))),a}slice(t,n){GE(this);let r=qE(this),i=zE(r,e);if(i===e){let i=new FT(AT(r),jT(r),MT(r));return new e(AT(OT(i,t,n)))}let a=MT(r),o=LE(t),s=n===void 0?a:LE(n),c;c=o===-1/0?0:o<0?a+o>0?a+o:0:a<o?a:o;let l;l=s===-1/0?0:s<0?a+s>0?a+s:0:a<s?a:s;let u=l-c>0?l-c:0,d=new i(u);if(KE(d,u),u===0)return d;if(BE(AT(r)))throw WT(_w);let f=0;for(;c<l;)d[f]=IE(r[c]),++c,++f;return d}subarray(t,n){GE(this);let r=qE(this),i=zE(r,e),a=kT(new FT(AT(r),jT(r),MT(r)),t,n),o=new i(AT(a),jT(a),MT(a));return KE(o),o}indexOf(e,...t){GE(this);let n=qE(this),r=MT(n),i=LE(t[0]);if(i===1/0)return-1;i<0&&(i+=r,i<0&&(i=0));for(let t=i;t<r;++t)if(Qw(n,t)&&IE(n[t])===e)return t;return-1}lastIndexOf(e,...t){GE(this);let n=qE(this),r=MT(n),i=t.length>=1?LE(t[0]):r-1;if(i===-1/0)return-1;i>=0?i=i<r-1?i:r-1:i+=r;for(let t=i;t>=0;--t)if(Qw(n,t)&&IE(n[t])===e)return t;return-1}includes(e,...t){GE(this);let n=qE(this),r=MT(n),i=LE(t[0]);if(i===1/0)return!1;i<0&&(i+=r,i<0&&(i=0));let a=Bw(e);for(let t=i;t<r;++t){let r=IE(n[t]);if(a&&Bw(r)||r===e)return!0}return!1}join(e){return GE(this),nT(JE(qE(this)),e)}toLocaleString(...e){return GE(this),iT(JE(qE(this)),...rE(e))}get[Uw](){if(WE(this))return`Float16Array`}};qw(ZE,`BYTES_PER_ELEMENT`,{value:HE}),qw(ZE,_E,{}),Fw(ZE,gT);var QE=ZE.prototype;qw(QE,`BYTES_PER_ELEMENT`,{value:HE}),qw(QE,Vw,{value:QE.values,writable:!0,configurable:!0}),Fw(QE,vT);var $E=e=>{let{dim:t,dataType:n,needEncode:r=!1}=e,i=[];switch(n){case V.BinaryVector:i=oD(t,1);break;case V.FloatVector:i=eD(t);break;case V.Int8Vector:i=tD(t);break;case V.BFloat16Vector:case V.Float16Vector:i=rD(t);break;case V.SparseFloatVector:i=Sre(50,20,30);break}return r?nD(i):i},eD=e=>Array.from({length:e},()=>
22Math.random()),tD=e=>Array.from({length:e},()=>Math.floor(Math.random()*126)),nD=e=>btoa(String.fromCharCode(...e)),rD=e=>{let t=new ZE(eD(e));return new Uint8Array(t.buffer)};function iD(e){let t=[];for(let n=0;n<e;n++)t.push(Math.round(Math.random()));return aD(t)}function aD(e){let t=new Uint8Array(Math.ceil(e.length/8));for(let n=0;n<e.length;n++){let r=Math.floor(n/8),i=n%8;e[n]&&(t[r]|=1<<7-i)}return t}function oD(e,t){let n=[];for(let r=0;r<t;r++){let t=iD(e);for(let e=0;e<t.length;e++)n.push(t[e])}return n}function Sre(e,t,n){let r={};return Cre(e,Math.floor(Math.random()*(n-t+1))+t).forEach(e=>{r[e]=Math.random()}),r}function Cre(e,t){let n=[],r=Array.from({length:e},(e,t)=>t);for(let e=0;e<t;e++){let e=Math.floor(Math.random()*r.length);n.push(r.splice(e,1)[0])}return n}var sD=e=>{let t=Math.random().toString(36).substring(2);return e?t.slice(0,e):t},cD=()=>Math.floor(Math.random()*100),lD=(e,t,n)=>{let r=(Math.random()*(t-e)+e).toFixed(n);return parseFloat(r)},wre=()=>({key:Math.random().toString(36).substring(2),value:Math.random().toString(36).substring(2)}),Tre=()=>Math.random()>.5,uD=()=>`POINT (${lD(-180,180,6)} ${lD(-90,90,6)})`,Ere=function(e){return e.Number=`number`,e.String=`string`,e.Bool=`bool`,e}({}),Dre=(e,t)=>{let n=Math.floor(Math.random()*10),{maxLength:r,maxCapacity:i}=t||{},a=i?Math.min(n,i):n;return Array.from({length:a},()=>{switch(e){case`number`:return cD();case`string`:return sD(r);case`bool`:return Tre();default:return cD()}})},Ore=async(e,t)=>await new Promise(n=>{let r=new FileReader;r.readAsArrayBuffer(e),r.onload=async e=>{n(t?await t(e):r.result)}}),dD=async e=>{let t=new rw.ArrayBuffer,n=0,r=async r=>(n++,t.append(r.target?.result),n<e.length?await i(n):t.end()),i=async t=>await Ore(e[t].file,r);return await i(0)},kre=10,Are=10,jre=()=>Math.random()<.5,Mre=()=>{let e={},t=Math.floor(Math.random()*5)+1;for(let n=0;n<t;n++){let t=`prop${n+1}`;e[t]=Math.random()*100}return e},Nre=(e,t)=>{let n=0,r=[];for(;n<e;){let e=1+Math.random();r.push(e),n++}let i=Math.sqrt(r.reduce((e,t)=>e+t*t,0));return r.map(e=>Number((e/i).toFixed(t)))},Pre=e=>{let t=Math.ceil(e/8),n=[];for(let e=0;e<t;e++)n.push(Math.floor(Math.random()*256));return n},Fre=e=>{let t=Math.floor(Math.random()*e)||4,n={};for(let r=0;r<t;r++)n[Math.floor(Math.random()*e)]=Math.random();return n},Ire=(e,t)=>Array.from($E({dim:e,dataType:t})),Lre=1,Rre=1440*60*1e3,zre=()=>{let e=Math.floor(Math.random()*10)+Lre;return new Date(Date.now()+e*Rre).toISOString()},Bre=e=>{let t=e;return!!(e._isNullable??t.Nullable??t.nullable??t.isNullable)&&yl.includes(e._dataTypeValue)},fD=e=>e._typeParams??{},pD=e=>{if(typeof e!=`number`&&typeof e!=`string`||typeof e==`string`&&e.trim()===``)return;let t=Number(e);return Number.isInteger(t)&&t>0?t:void 0},mD=e=>pD(fD(e).dim)??pD(e._dim)??0,Vre=e=>{let t={};return e.forEach(e=>{let n=fD(e);t[e._fieldName]=hD({dataType:e._dataTypeValue,maxLength:n.max_length,dim:mD(e),arrayType:e._arrayTypeValue,maxCapacity:n.max_capacity})}),t},Hre=e=>{let t=parseInt(e);return Number.isNaN(t)||t<1?1:t},Ure=e=>{let t=Hre(e);return sD(t)||`a`.slice(0,t)},Wre=e=>{let{arrayType:t=V.VarChar,maxCapacity:n,maxLength:r,dim:i,structSchemas:a}=e;if(!t||!n)return[];let o=pD(n);if(!o)return[];let s=Math.floor(Math.random()*Math.min(o,Are))+1,c=[],l=0;for(;l<s;){let e=hD({dataType:t,maxLength:r,dim:i,arrayType:t,maxCapacity:n,structSchemas:a});c.push(e),l++}return c},hD=e=>{let{dataType:t,maxLength:n,dim:r,arrayType:i,maxCapacity:a,structSchemas:o}=e;switch(t){case V.Bool:return jre();case V.Int8:case V.Int16:case V.Int32:case V.Int64:return lD(-128,127,0);case V.Float:case V.Double:return lD(1,9,5);case V.VarChar:return sD(parseInt(n));case V.Text:return Ure(n);case V.JSON:return Mre();case V.BinaryVector:return Pre(r);case V.FloatVector:return Nre(r,16);case V.Struct:return Vre(o??[]);case V.Array:return Wre({arrayType:i,maxCapacity:a,maxLength:n,dim:r,structSchemas:o});case V.BFloat16Vector:case V.Float16Vector:return Ire(r,t);case V.Int8Vector:return tD(r);case V.SparseFloatVector:return Fre(16);case V.Geometry:return uD();case V.TimeStamptz:return zre();default:return``}},gD=(e,t=kre)=>{let n=[];for(;n.length<t;){let t=n.length,r={};
22e.forEach(e=>{let n=fD(e),i=Bre(e)&&t%2==0?null:hD({dataType:e._dataTypeValue,maxLength:n.max_length,dim:mD(e),arrayType:e._arrayTypeValue,maxCapacity:n.max_capacity,structSchemas:e._structSchemas});r[e._fieldName]=i}),n.push(r)}return n},Gre=e=>gD(e).map(e=>JSON.stringify(e)).join(` 23`),_D=(e,t=uw)=>{let n=[],r=0,i=e.size;for(;r<i;)n.push({file:e.slice(r,r+t)}),r+=t;return n},vD=function(e){return e.JSON=`json`,e.JSONL=`jsonl`,e.NDJSON=`ndjson`,e.NumPy=`numpy`,e.Parquet=`parquet`,e}({}),yD=function(e){return e[e.JSON=0]=`JSON`,e[e.NumPy=1]=`NumPy`,e[e.Parquet=2]=`Parquet`,e[e.JSONL=3]=`JSONL`,e[e.NDJSON=4]=`NDJSON`,e}({}),bD=function(e){return e.JSON=`JSON`,e.JSONL=`JSONL`,e.NDJSON=`NDJSON`,e.NumPy=`NumPy`,e.Parquet=`Parquet`,e}({}),xD={[yD.JSON]:bD.JSON,[yD.NumPy]:bD.NumPy,[yD.Parquet]:bD.Parquet,[yD.JSONL]:bD.JSONL,[yD.NDJSON]:bD.NDJSON},SD=class extends eo{completeTimeMilli;fileName;fileType;fileSize;readyPercentage;errorMessage;uploadId;shortSourcePath;sourceCloudStorage;startTimeMilli;operatorUser;jobId;collectionName;endTimeMilli;bucketURI;details;constructor(e){super(e),Object.assign(this,e)}static BULKLOAD_PREFIX=`${this.CLOUD_PREFIX}/instance/bulkload`;static IMPORT_LOCAL_DATA_URL=`${this.BULKLOAD_PREFIX}/import_local_data`;static IMPORT_STORAGE_DATA_URL=`${this.BULKLOAD_PREFIX}/import_storage_data`;static IMPORT_VOLUME_DATA_URL=`${this.BULKLOAD_PREFIX}/import_stage_data`;static importLocalData(e){return super.create({path:this.IMPORT_LOCAL_DATA_URL,data:e,option:{headers:{"Content-Type":`multipart/form-data`}}})}static importStorageData(e){return super.create({path:this.IMPORT_STORAGE_DATA_URL,data:e})}static importVolumeData(e){return super.create({path:this.IMPORT_VOLUME_DATA_URL,data:e})}get _completeTime(){return this.completeTimeMilli===null?``:Ke(this.completeTimeMilli)}get _fileName(){return this.fileName}get _fileType(){return this.fileType}get _fileTypeText(){return xD[this.fileType]}get _fileSize(){return Is(this.fileSize,1)}get _readyPercentage(){return this.readyPercentage===null?-1:Number((this.readyPercentage*100).toFixed(0))}get _errorMessage(){return this.errorMessage?T(this.errorMessage):``}get _uploadId(){return this.uploadId||``}get _sourceFileOrFolder(){return this.shortSourcePath||ds.UNKNOWN}get _sourceCloudStorage(){return this.sourceCloudStorage||ds.UNKNOWN}get _startTime(){return this.startTimeMilli===null?ds.UNKNOWN:Ke(this.startTimeMilli)}get _operatorUser(){return this.operatorUser||ds.UNKNOWN}get _jobId(){return this.jobId||ds.UNKNOWN}get _collectionName(){return this.collectionName||ds.UNKNOWN}get _endTime(){return this.endTimeMilli===null?ds.UNKNOWN:Ke(this.endTimeMilli)}get _bucketURI(){return this.bucketURI||ds.UNKNOWN}get _details(){return(this.details||[]).map(e=>({...e,completeTime:Ke(e.completeTimeMilli),fileSize:Is(e.fileSize,2),readyPercentage:e.readyPercentage===null?-1:Number((e.readyPercentage*100).toFixed(0)),fileStatus:e.completeTimeMilli?lc.Completed:e.errorMessage?lc.Failed:lc.Importing,errorMessage:e.errorMessage?T(e.errorMessage):``,totalRows:e.totalRows?.toString()||`--`}))}},CD=function(e){return e[e.SingleFile=1]=`SingleFile`,e[e.Directory=2]=`Directory`,e}({}),wD=class extends eo{completedPartNumber;isCompleted;isStart;uploadId;static BULKLOAD_PREFIX=`${this.CLOUD_PREFIX}/instance/bulkload`;static BULKLOAD_PART_URL=`${this.BULKLOAD_PREFIX}/part`;static BULKLOAD_PART_COMPLETE_URL=`${this.BULKLOAD_PART_URL}/complete`;static BULKLOAD_PART_INIT_URL=`${this.BULKLOAD_PART_URL}/init`;static BULKLOAD_PART_UPLOAD_URL=`${this.BULKLOAD_PART_URL}/upload`;static BULKLOAD_PART_CANCEL_URL=`${this.BULKLOAD_PART_URL}/cancel`;static MIGRATE_IMPORT_URL=`${this.BULKLOAD_PREFIX}/migrate/import`;constructor(e){super(e),Object.assign(this,e)}static bulkloadPartComplete(e){return super.create({path:this.BULKLOAD_PART_COMPLETE_URL,data:e})}static bulkloadPartInit(e){return super.findAll({path:this.BULKLOAD_PART_INIT_URL,method:`post`,data:{...e},timeout:0},`uploadInfos`)}static bulkloadPartCancel(e){return super.create({path:this.BULKLOAD_PART_CANCEL_URL,data:{...e}})}static async fileChunkUpload(e,t){return await super.create({path:this.BULKLOAD_PART_UPLOAD_URL,data:e,option:{headers:{"Content-Type":`multipart/form-data`},timeout:0,signal:t}})}static migrateImport(e,t){return super.create({path:this.MIGRATE_IMPORT_URL,data:e,option:{headers:{"Content-Type":`multipart/form-data`},timeout:0,signal:t}})}get _completedPartNumber(){return this.completedPartNumber||[]}get _isCompleted(){return this.isCompleted}get _isStart(){return this.isStart}get _uploadId(){return this.uploadId}},TD=function(e){return e[e.BulkLoadStateNone=0]=`BulkLoadStateNone`,e[e.MultiUploading=1]=`MultiUploading`,e[e.Cancel=2]=`Cancel`,e}({}),ED=function(e){return e[e.UserCancel=0]=`UserCancel`,e[e.LeavePage=1]=`LeavePage`,e}({}),Kre=6,DD=3,qre=1e3,OD=[];function Jre(e){return new Promise(t=>{let n=setTimeout(t,e);OD.push(n)})}function kD(e,t,n){return new Promise((r,i)=>{if(e.length===0){r([]);return}let a=[],o=0,s=0,c=!1;async function l(n){if(o===e.length)return;let u=e=>{a[d]=e,t(t=>{let n=JSON.parse(JSON.stringify(t));return n[d]=e,n}),n=0},d=o;o++;try{u(await e[d]())}catch(t){let r=!1,i=t?.response?.status,a=e=>
23{e.message===`canceled`&&(c=!0,OD.forEach(e=>clearTimeout(e)))};for(;n<DD&&!r&&i===Te.TOO_MANY_REQUESTS;){n++;try{await Jre(qre),u(await e[d]()),r=!0}catch(e){a(e)}}if(a(t),i!==Te.TOO_MANY_REQUESTS)throw c=!0,t}finally{if(s++,c){i(os);return}if(n===DD){i(`Try too many times`);return}if(s===e.length){r(a);return}l(n)}}let u=Math.min(n||Kre,e.length);for(let e=0;e<u;e++)l(0)})}var AD={progressDesc:`_progressDesc_e4nr8_2`,progressWrapper:`_progressWrapper_e4nr8_6`,progressLine:`_progressLine_e4nr8_13`,fileProgress:`_fileProgress_e4nr8_23`,rotate:`_rotate_e4nr8_1`},jD=e=>{let{handleCancel:t,percent:n,isNestDialog:r,usage:i,fileName:a,maxWidth:o,detailMaxWidth:s,detail:c}=e,{t:l}=_([`migration`,`importData`]);return(0,G.jsxs)(sc,{title:l(`migration:uploadProgress.title`),handleConfirm:()=>{},handleCancel:()=>{t&&t()},showActions:!1,isNestDialog:r,titleGap:`small`,children:[(0,G.jsx)(L,{variant:`body1Regular`,children:l(i===`migrate`?`migration:uploadProgress.desc`:`importData:importTaskDialog.uploadProgress.desc`)}),(0,G.jsxs)(`div`,{className:AD.progressWrapper,children:[(0,G.jsx)(Ra,{size:32}),(0,G.jsxs)(`div`,{className:AD.fileProgress,children:[(0,G.jsx)(Ur,{maxWidth:o,typographyProps:{variant:c?`body2Medium`:`body2Regular`},children:a}),(0,G.jsx)(`div`,{className:AD.progressLine,children:(0,G.jsx)(Jr,{value:n,type:`linear`})}),c&&(0,G.jsx)(Ur,{maxWidth:s||o,typographyProps:{variant:`body3Regular`,color:`textSecondary`},children:c})]})]})]})};Ci();var MD;(function(e){e.Pop=`POP`,e.Push=`PUSH`,e.Replace=`REPLACE`})(MD||={});var ND=function(e){return e},PD=`beforeunload`,FD=`popstate`;function ID(e){e===void 0&&(e={});var t=e.window,n=t===void 0?document.defaultView:t,r=n.history;function i(){var e=n.location,t=e.pathname,i=e.search,a=e.hash,o=r.state||{};return[o.idx,ND({pathname:t,search:i,hash:a,state:o.usr||null,key:o.key||`default`})]}var a=null;function o(){if(a)f.call(a),a=null;else{var e=MD.Pop,t=i(),n=t[0],r=t[1];if(f.length){if(n!=null){var o=l-n;o&&(a={action:e,location:r,retry:function(){b(o*-1)}},b(o))}}else _(e)}}n.addEventListener(FD,o);var s=MD.Pop,c=i(),l=c[0],u=c[1],d=RD(),f=RD();l??(l=0,r.replaceState(hi({},r.state,{idx:l}),``));function p(e){return typeof e==`string`?e:BD(e)}function m(e,t){return t===void 0&&(t=null),ND(hi({pathname:u.pathname,hash:``,search:``},typeof e==`string`?VD(e):e,{state:t,key:zD()}))}function h(e,t){return[{usr:e.state,key:e.key,idx:t},p(e)]}function g(e,t,n){return!f.length||(f.call({action:e,location:t,retry:n}),!1)}function _(e){s=e;var t=i();l=t[0],u=t[1],d.call({action:s,location:u})}function v(e,t){var i=MD.Push,a=m(e,t);function o(){v(e,t)}if(g(i,a,o)){var s=h(a,l+1),c=s[0],u=s[1];try{r.pushState(c,``,u)}catch{n.location.assign(u)}_(i)}}function y(e,t){var n=MD.Replace,i=m(e,t);function a(){y(e,t)}if(g(n,i,a)){var o=h(i,l),s=o[0],c=o[1];r.replaceState(s,``,c),_(n)}}function b(e){r.go(e)}return{get action(){return s},get location(){return u},createHref:p,push:v,replace:y,go:b,back:function(){b(-1)},forward:function(){b(1)},listen:function(e){return d.push(e)},block:function(e){var t=f.push(e);return f.length===1&&n.addEventListener(PD,LD),function(){t(),f.length||n.removeEventListener(PD,LD)}}}}function LD(e){e.preventDefault(),e.returnValue=``}function RD(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter(function(e){return e!==t})}},call:function(t){e.forEach(function(e){return e&&e(t)})}}}function zD(){return Math.random().toString(36).substr(2,8)}function BD(e){var t=e.pathname,n=t===void 0?`/`:t,r=e.search,i=r===void 0?``:r,a=e.hash,o=a===void 0?``:a;return i&&i!==`?`&&(n+=i.charAt(0)===`?`?i:`?`+i),o&&o!==`#`&&(n+=o.charAt(0)===`#`?o:`#`+o),n}function VD(e){var t={};if(e){var n=e.indexOf(`#`);n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf(`?`);r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var HD=3,UD=1e3;function WD(e,t){return(0,W.lazy)(()=>GD(e,t))}async function GD(e,t,n=HD){try{let n=await e();return qD.remove(KD(t)),n}catch(r){if(n>0)return await new Promise(e=>setTimeout(e,UD)),GD(e,t,n-1);let i=KD(t);if(!qD.get(i)){if(!qD.set(i,`1`))throw r;return window.location.reload(),new Promise(()=>{})}throw qD.remove(i),r}}function KD(e){return`chunk-reload:`+e}var qD={get(e){try{return sessionStorage.getItem(e)}catch{return null}},set(e,t){try{return sessionStorage.setItem(e,t),!0}catch{return!1}},remove(e){try{sessionStorage.removeItem(e)}catch{}}},JD=function(e){return e[e.History=0]=`History`,e[e.Setting=1]=`Setting`,e}({}),YD=function(e){return e.AlertMetrics=`names`,e.AlertTargets=`instanceIds`,e.AlertStatuses=`statuses`,e.AlertN
23ame=`subscribeName`,e.Sorting=`sort`,e}({}),XD=function(e){return e[e.Enabled=1]=`Enabled`,e[e.Disabled=0]=`Disabled`,e}({}),ZD=function(e){return e.Name=`subscribeName`,e.Condition=`name`,e}({}),QD=function(e){return e.Overview=`overview`,e.Collections=`collections`,e.Metrics=`metrics`,e.User=`user`,e.Role=`role`,e.Backups=`backups`,e.Import=`import`,e.Logs=`logs`,e.AuditLog=`auditing`,e.AccessLog=`access-log`,e}({}),$D=function(e){return e.OPEN_CREATE_API_KEYS_DIALOG=`openCreatingApiKeysDialog`,e}({}),eO=function(e){return e.Email=`email`,e.Phone=`phone`,e}({}),tO=function(e){return e[e.Verify=0]=`Verify`,e[e.Edit=1]=`Edit`,e[e.Complete=2]=`Complete`,e}({}),nO=function(e){return e.Verify=`Verify`,e.EmailCodeVerify=`EmailCodeVerify`,e.Edit=`Edit`,e.Complete=`Complete`,e}({}),rO=function(e){return e.Sms=`sms`,e.Email=`email`,e}({}),iO=function(e){return e.Overview=`overview`,e.Files=`files`,e}({}),aO=function(e){return e[e.Members=0]=`Members`,e[e.Groups=1]=`Groups`,e[e.OrganizationRoles=2]=`OrganizationRoles`,e[e.ProjectRoles=3]=`ProjectRoles`,e}({}),oO=function(e){return e[e.Members=0]=`Members`,e[e.ProjectRoles=1]=`ProjectRoles`,e}({}),sO={wrapperContainer:`_wrapperContainer_127ft_3`,container:`_container_127ft_10`,icon:`_icon_127ft_17`,desc:`_desc_127ft_29`,btnWrapper:`_btnWrapper_127ft_35`,customBtnWrapper:`_customBtnWrapper_127ft_40`},cO=e=>{let{title:t,icon:n,desc:r,btnLabel:i,customBtn:a,handleBtnClick:o,className:s=``,btnProps:c={},classes:l={desc:``,root:``}}=e;return(0,G.jsx)(`div`,{className:R(sO.wrapperContainer,l.root),children:(0,G.jsxs)(`div`,{className:R(sO.container,s),children:[n&&(0,G.jsx)(`div`,{className:sO.icon,children:n}),(0,G.jsxs)(`div`,{className:sO.contentWrapper,children:[t&&(0,G.jsx)(L,{variant:`h2Semibold`,children:t}),r&&(0,G.jsx)(L,{variant:`body2Regular`,className:R(sO.desc,l.desc),component:`div`,children:r}),i&&(0,G.jsx)(`div`,{className:sO.btnWrapper,children:(0,G.jsx)(z,{variant:`contained`,fullWidth:!0,onClick:o,...c,children:i})}),!!a&&(0,G.jsx)(`div`,{className:sO.customBtnWrapper,children:a})]})]})})},lO=new Set(Object.values(un)),uO=e=>!!e&&lO.has(e),dO=(e,t)=>uO(t)?e[t]?.includes(Le.View)??!1:!0,fO=()=>{let{t:e}=_([`common`]);return(0,G.jsx)(cO,{icon:(0,G.jsx)(Vi,{size:24}),title:e(`common:noAccess.pageTitle`),desc:e(`common:noAccess.pageDesc`)})},pO=({alias:e,myOrgPermission:t,children:n})=>dO(t,e)?(0,G.jsx)(G.Fragment,{children:n}):(0,G.jsx)(fO,{}),mO=({alias:e,children:t})=>{let{myOrgPermission:n}=Yn();return(0,G.jsx)(pO,{alias:e,myOrgPermission:n,children:t})},hO=({resource:e,action:t,children:n})=>{let{resourceActions:r}=Yn();return dr(r,e,t)?(0,G.jsx)(G.Fragment,{children:n}):(0,G.jsx)(fO,{})},gO={project:`project_setting`,project_setting:`project_setting`,project_settings:`project_security`,projectsetting:`project_setting`,compute:`compute`,data:`data_objects`,volume:`volume`,storage:`volume`,backup_migration:`backup_migration`,backupmigration:`backup_migration`,data_protection:`backup_migration`,data_pipeline:`vectorlake`,project_security:`project_security`,projectsecurity:`project_security`,integration:`integration`,network_security:`project_security`,data_objects:`data_objects`,dataobjects:`data_objects`,iam:`identity_role`,identity_access:`identity_role`,identity_role:`identity_role`,organization_security:`organization_setting`,organization_setting:`organization_setting`,billing_cost:`billing`,billing:`billing`,all_project_management:`project_lifecycle`,project_management:`project_lifecycle`,project_lifecycle:`project_lifecycle`},_O={project:`project`,project_member:`member`,project_role:`project_role`,projectrole:`project_role`,observability:`monitoring`,vectorlake:`vectorlake`,cluster:`cluster`,global_cluster:`global_cluster`,globalcluster:`global_cluster`,storage:`storage`,volume:`volume`,backup:`backup`,replication:`replication`,instance_network:`instance_network`,instancenetwork:`instance_network`,security:`network_security`,storage_integration:`storage_integration`,model_provider_integration:`model_provider_integration`,kms_integration:`kms_integration`,datadog_integration:`datadog_integration`,serving_cluster_data:`data`,on_demand_compute_data:`data`,data:`data`,volume_data:`volume_data`,volume_access:`volume_access`,volumedata:`volume_data`,volume_data_access:`volume_data`,db_access:`db_access`,dbaccess:`db_access`,database_access_control:`db_access`,group:`member`,org_role:`org_role`,organization_roles:`org_role`,api_key:`api_key`,service_account:`api_key`,org_control_ops:`org`,authentication:`authentication`,recovery:`audit_log`,billing:`billing`},vO={project_member:`members`,project_role:`project_roles`,projectrole:`project_roles`,project:`project_settings`,observability:`project_alerts`,monitoring:`project_alerts`,encryption:`security_cmek`,kms_integration:`security_cmek`,backup:`backup`,volume:`volumes`,volume_data:`volumes`,storage_integration:`storage`,model_provider_integration:`embedding_reranking`,datadog_integration:`observability`},yO={org_member:`members`,group:`groups`,service_account:`api_keys`,api_key:`api_keys`,org_role:`organization_roles`,organization_roles:`organization_roles`,billing:`billing_alerts`,project:`project`,authentication:`sso_scim_mfa`,org_control_ops:`settings`,recovery:`platform_audit_logs`},bO={group:yO.group},xO=e=>(e||``).trim().toLowerCase().replace(/&/g,`_`).replace(/[^a-z0-9]+/g,`_`).replace(/^_+|_+$/g,``),SO=e=>e.displayName||e.label||e.id||``,CO=(e,t)=>
23t[xO(e.id)]||t[xO(SO(e))]||xO(e.id)||xO(SO(e)),wO=(e,t,n)=>e(t,{defaultValue:``})||n,TO=(e,t)=>t[xO(e.id)]||t[xO(SO(e))],EO=e=>!!(TO(e,bO)||TO(e,vO)),DO=e=>!!TO(e,yO)||EO(e),OO=(e,t,n,r)=>{let i=TO(n,r);return i?e(`accessControl:rolePageResources.${t}.${i}`,{defaultValue:``}):``},kO=(e,t,n=SO(t))=>wO(e,`accessControl:create.resourceGroups.${CO(t,gO)}`,n),AO=(e,t,n=SO(t))=>wO(e,`accessControl:create.resources.${CO(t,_O)}`,n),jO=(e,t,n=SO(t))=>OO(e,`organization`,t,bO)||OO(e,`project`,t,vO)||n,MO=(e,t,n=SO(t))=>OO(e,`organization`,t,yO)||jO(e,t,n),NO=(e,t,n)=>{let r=n?.trim()||``,i=xO(t);return e(`accessControl:create.actions.${i}`,{defaultValue:``})||(r&&xO(r)!==i?r:r||t)},PO=(e,t)=>`${AO(e,{id:t.resource})} - ${NO(e,t.action)}`,FO=(e,t)=>e(`common:permission.missing`),IO=(e,t)=>t.length>0?e(`common:permission.missing`):``,LO=(e,t)=>IO(e,t.filter(e=>e.allowed!==!0).map(t=>PO(e,t))),RO=(e,t)=>e.filter(e=>`anyOf`in e?!e.anyOf.some(t):!t(e)),zO=({requirements:e,children:t})=>{let{t:n}=_([`accessControl`,`common`]),r=l(),{canAction:i,isLoading:a}=ur();return e?.length?a?(0,G.jsx)(Vt,{loading:!0,loadingText:n(`common:loading`)}):RO(e,e=>i(e.resource,e.action,{resourceId:e.resourceIdParam?r[e.resourceIdParam]:void 0})).length?(0,G.jsx)(cO,{icon:(0,G.jsx)(Vi,{size:24}),title:n(`common:noAccess.pageTitle`),desc:n(`common:noAccess.projectPageDesc`)}):(0,G.jsx)(G.Fragment,{children:t}):(0,G.jsx)(G.Fragment,{children:t})},BO=WD(()=>b(()=>import(`./Index-BtmpNS6K.js`),__vite__mapDeps([30,1,2,3,4,5,6,7,9,8,10,11,12,13,14,15,31,16,17,19,20,32,33,34,21,22,23,35,36,37,38,39,40,41,42,43,44,45,46,47,18,48,49,50,51,52,53,54,55,0,24,25,26,27,28,29,56,57,58,59,60])),`billing`),VO=WD(()=>b(()=>import(`./Index-B2HQq-1S.js`),__vite__mapDeps([61,1,2,3,4,5,6,7,8,62,9,10,11,12,13,14,15,63,20,19,32,31,16,17,64,18,65,33,34,66,67,54,68,69,70,71,72,73,74,75,76,77,24,25,35,78,79,80,81,82,83,26,84,85,86,87,36,38,39,40,41,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,45,46,55,56,57,58,104,105,106,107,108,109,110,111,112,113,114,21,22,23,115,59,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179])),`deployment-detail`),HO=WD(()=>b(()=>import(`./Index-BFW1mk2Y.js`),__vite__mapDeps([180,1,2,3,4,5,6,7,11,10,12,19,20,32,175,22,115,18,82,85,38,42,43,181,106,68,182])),`events`),UO=WD(()=>b(()=>import(`./Detail-BAbRGGYN.js`),__vite__mapDeps([183,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,18,80,33,34,21,22,23,66,67,54,85,38,184,55,57,58,185,31,186,187,118,83,26,48,49,188,16,17,92,189,190,191,192,104,105,193,194,195,112,113,148,81,35,115,79,95,117,24,94,25,84,96,56,119,120,149,150,151,152,153,154,155,196,197,178,198,199])),`project-detail`),WO=WD(()=>b(()=>import(`./Index-24iic-Rh.js`),__vite__mapDeps([200,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,80,20,19,118,25,83,26,85,42,43,184,185,31,186,187,18,33,34,48,49,188,92,189,190,191,192,104,105,193,194,195,197,62,63,32,178,198,201,79,81,202,203])),`project-list`),GO=WD(()=>b(()=>import(`./CreateProjectPage-7meMipQj.js`),__vite__mapDeps([204,1,2,3,4,5,6,7,16,17,11,10,12,13,205,206,207,208])),`create-project`),KO=WD(()=>b(()=>import(`./ProjectSettings-X_vQnsXu.js`),__vite__mapDeps([209,1,2,3,4,5,6,7,9,8,10,11,12,13,14,15,201,16,17,20,19,18,80,33,34,25,79,81,191,202,210,211])),`project-settings`),qO=WD(()=>b(()=>import(`./Index-DJsod0on.js`),__vite__mapDeps([212,1,2,3,4,5,6,7,8,62,9,10,11,12,13,14,15,63,20,19,32,31,16,17,64,175,18,66,67,54,72,71,73,68,69,70,74,75,213,118,24,25,35,214,215,129,86,87,36,38,39,40,41,42,43,102,216,44,181,217,53,28,131,132,104,105,106,218,219,220,221,222,92,56,189,190,223,224,225,226,121,122,123,227,228,229,230,124,83,26,125,82,126,127,231,232])),`collection-detail`),JO=WD(()=>b(()=>import(`./Index-CxR8MiL9.js`),__vite__mapDeps([233,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,16,17,18,21,22,23,25,35,82,144,88,89,90,97,81,98,103,94,84,95,96,145,177,178,234,235,236,231,142,237,238,239,240,241,242,210,211,243,193,194,172,173,244,245])),`settings`),YO=WD(()=>b(()=>import(`./Index-B7XSBn9P.js`),__vite__mapDeps([246,1,2,3,4,5,6,7,8,62,9,10,11,12,13,14,15,63,20,19,32,16,17,247,25,42,43,44,45,46,248,249,250,130,251,252,184,253])),`api-keys`),XO=WD(()=>b(()=>import(`./Index-C7D-eILS.js`),__vite__mapDeps([254,1,2,3,4,5,6,7,8,62,9,10,11,12,13,14,15,63,20,19,32,16,17,24,25,86,87,36,37,38,39,40,41,42,43,88,89,90,91,137,138,92,93,18,67,94,81,84,95,96,97,98,99,100,101,102,103,255])),`alert`),ZO=WD(()=>b(()=>import(`./Index-DCW310Hs.js`),__vite__mapDeps([256,1,2,3,4,5,6,7,9,8,10,11,12,13,14,15,20,19,42,43,55,158,62,63,32,18,33,34,25,35,79,80,81,83,26,119,159,24,92,45,46,160,161,117,31,21,22,23,118,94,84,95,96,56,12
230,149,54,162,163,164,165,166,167,168,169,257])),`recycle-bin`),QO=WD(()=>b(()=>import(`./Organization-gBSl4OGE.js`),__vite__mapDeps([258,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,234,259,16,17,21,19,22,23,25,241,260,240,242,261])),`org-list`),$O=WD(()=>b(()=>import(`./Index-xasQ282j.js`),__vite__mapDeps([262,1,2,3,4,5,6,7,12,85,263])),`access-control`),ek=WD(()=>b(()=>import(`./Index-ZB6WgfmK.js`),__vite__mapDeps([264,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,31,16,17,21,19,22,23,247,100,101,248,249,250,265,104,105,260,266,267])),`org-users`),tk=WD(()=>b(()=>import(`./Index-DnYgXAzO.js`),__vite__mapDeps([268,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,83,26,38,42,43,100,101,243,16,17,193,194,144,62,63,20,19,32,88,89,90,97,81,98,103,94,25,84,95,96,145,172,173,244])),`scim-groups`),nk=WD(()=>b(()=>import(`./Index-D4524FHH2.js`),__vite__mapDeps([269,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,83,26,85,38,42,43,100,101,270,271,272])),`project-roles`),rk=WD(()=>b(()=>import(`./Create-DiqtaQ_q.js`),__vite__mapDeps([273,1,2,3,4,5,6,7,8,16,17,13,205,271,274])),`create-project-role`),ik=WD(()=>b(()=>import(`./Index-CkK5SgtJ.js`),__vite__mapDeps([275,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,31,16,17,21,19,22,23,247,85,100,101,45,46,248,249,265,104,105,260,266,270,276])),`project-users`),ak=WD(()=>b(()=>import(`./CreateCluster-Cssi2FBv.js`),__vite__mapDeps([277,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,18,80,33,34,21,22,23,81,69,54,70,66,67,71,72,73,68,74,76,77,24,25,35,115,82,84,92,93,94,95,96,97,98,99,45,46,119,278,83,26,159,160,161,114,79,59,116,117,31,118,56,120,133,134,149,162,163,150,151,279,280,205,281])),`create-cluster`),ok=WD(()=>b(()=>import(`./CreateCollection-DmOIuZml.js`),__vite__mapDeps([282,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,31,66,67,54,72,73,68,70,71,69,74,118,214,215,92,44,131,132,189,190,106,283,16,17,115,18,181,219,53,218,220,221,284,285,222,56,223,224,225,226,121,286,287,288])),`create-collection`),sk=WD(()=>b(()=>import(`./CreateSampleCollection-j4ruwIcw.js`),__vite__mapDeps([289,2,1,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,54,56,189,190,283,16,17,72,69,70,66,67,71,73,68,74,115,18,181,219,214,215,53,218,220,221,284,290])),`create-sample-collection`),ck=WD(()=>b(()=>import(`./Information-CXqR-tDh.js`),__vite__mapDeps([291,1,2,3,4,5,6,7,9,8,10,11,12,13,14,15,18,19,20,25,234,292])),`fill-information`),lk=WD(()=>b(()=>import(`./emptyLoading-DVKNMlpk.js`),__vite__mapDeps([293,1,2])),`empty-loading`),uk=WD(()=>b(()=>import(`./Link-CHidGtgr.js`),__vite__mapDeps([294,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,178,21,22,23,234,259,16,17,25,241,235,295])),`marketplace-link`),dk=WD(()=>b(()=>import(`./Complete-BLV_l_t5.js`),__vite__mapDeps([296,1,2,3,4,5,6,7,14,22,95,10,297])),`marketplace-complete`),fk=WD(()=>b(()=>import(`./Index-CJ2bToWv.js`),__vite__mapDeps([298,1,2,299])),`alert-permission-denied`),pk=WD(()=>b(()=>import(`./Index-DrMlqPHt.js`),__vite__mapDeps([300,2,1,129,64,11,3,4,5,6,7,10,12,54,216,62,8,9,13,14,15,63,20,19,32,16,17,18,66,67,44,181,217])),`api-console`),mk=WD(()=>b(()=>import(`./Index-qRs8dw4T.js`),__vite__mapDeps([301,1,2,3,4,5,6,7,11,10,12,21,19,22,23,302])),`account-edit`),hk=WD(()=>b(()=>import(`./SetPhoneNumber-CgfCbgX9.js`),__vite__mapDeps([303,1,2,3,4,5,6,7,178,304])),`set-phone`),gk=WD(()=>b(()=>import(`./JobCenter-Dq2KEOU7.js`),__vite__mapDeps([305,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,16,17,175,115,18,42,43,100,101,251,252,104,105,106,68,108,109,220,227,228,229,230,164,170,38,174,176,306,307])),`job-center`),_k=WD(()=>b(()=>import(`./ProjectSnapshots-Ctv8YiBS.js`),__vite__mapDeps([308,1,2,3,4,5,6,7,9,8,10,11,12,13,14,15,20,19,18,157,62,63,32,16,17,54,68,100,101,106,108,109,110,111,121,122,66,67,123,153,25,158,33,34,35,79,80,81,83,26,55,119,159,24,92,45,46,160,161,117,31,21,22,23,118,94,84,95,96,56,120,149,162,163,164,165,166,167,168,169,170,38,171,172,173,309,103,89,90,310,311])),`snapshots`),vk=WD(()=>b(()=>import(`./Migrations-CH8aVm_7.js`),__vite__mapDeps([312,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,63,20,19,18,247,35,93,62,32,67,94,81,25,84,95,96,97,98,99,162,163,167,168,313,66,54,72,36,218,306,314])),`migrations`),yk=WD(()=>b(()=>import(`./MigrationSteps-C6NUlGts.js`),__vite__mapDeps([315,1,2,3,4,5,6,7,
2362,8,9,10,11,12,13,14,15,63,20,19,32,81,66,67,54,72,69,70,71,73,68,74,213,25,115,18,92,104,105,218,220,286,223,31,118,53,221,224,287,225,167,168,306,313,36,316,100,101,317,318])),`migration-steps`),bk=WD(()=>b(()=>import(`./Index-CNzqw14T.js`),__vite__mapDeps([319,1,2,3,4,5,6,7,9,8,10,11,12,13,14,15,16,17,19,21,22,23,42,43,47,18,20,44,48,49,50,55,320,45,46,321,322])),`invoice-detail`),xk=WD(()=>b(()=>import(`./IPAccess-BCtzhPuD.js`),__vite__mapDeps([323,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,16,17,25,309,103,89,90,94,81,84,95,96,310,237,231,238,324])),`ip-access`),Sk=WD(()=>b(()=>import(`./OrgWhitelist-B4mzcqoi.js`),__vite__mapDeps([325,1,2,3,4,5,6,7,9,8,10,11,12,13,14,15,16,17,38,142,309,103,89,90,94,62,63,20,19,32,81,25,84,95,96,310,236,21,22,23,231,237,238,239,326])),`org-whitelist`),Ck=WD(()=>b(()=>import(`./AccessDenied-B5cnYm02.js`),__vite__mapDeps([327,2,1,3,4,5,6,7,11,10,12,328])),`ip-access-denied`),wk=WD(()=>b(()=>import(`./NoAccess-rEyp_zek.js`),__vite__mapDeps([329,1,2,4,5,6,330])),`no-access`),Tk=WD(()=>b(()=>import(`./List-ClS79Txw.js`),__vite__mapDeps([331,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,33,34,81,79,18,80,93,67,94,25,84,95,96,97,98,99,56,135,136,137,138,139,140,141,142,143,309,103,89,90,310,332])),`private-links`),Ek=WD(()=>b(()=>import(`./CMEK-C5CubnWK.js`),__vite__mapDeps([333,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,31,16,17,21,22,23,68,24,35,115,18,79,80,81,93,67,94,25,84,95,96,97,98,99,103,89,90,45,46,106,160,139,140,334,309,310,335])),`cmek`),Dk=WD(()=>b(()=>import(`./History-DZP_ZL2I.js`),__vite__mapDeps([336,1,2,3,4,5,6,7,23,10,11,12,19,38,337])),`recharge-history`),Ok=WD(()=>b(()=>import(`./Detail-CDebWdgW.js`),__vite__mapDeps([338,1,2,3,4,5,6,7,16,17,51,19,10,11,12,52,57,9,8,13,14,15,58,59,320,45,46,321,131,132,339])),`order-detail`),kk=WD(()=>b(()=>import(`./DataPlaneDetail-D_6hJHnH.js`),__vite__mapDeps([340,2,1,3,4,5,6,7,31,188,16,17,10,11,12,19,14,186,187,18,20,118,83,26,92,189,190,191,192,341])),`dataplane-detail`),Ak=WD(()=>b(()=>import(`./Integrations-DayuGAl8.js`),__vite__mapDeps([342,1,2,3,4,5,6,7,9,8,10,11,12,13,14,15,31,20,19,18,68,88,89,90,106,108,109,156,343,62,63,32,16,17,118,24,25,79,80,81,44,121,139,140,334,344,345])),`integrations`),jk=WD(()=>b(()=>import(`./Index-DAvVzArD.js`),__vite__mapDeps([346,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,31,16,17,68,118,79,18,80,81,38,42,43,44,106,121,343,24,25,139,140,334,344,347])),`integration-detail`),Mk=WD(()=>b(()=>import(`./Usage-BiIbA7SR.js`),__vite__mapDeps([348,1,2,3,4,5,6,7,31,11,10,12,187,42,43,349])),`usage`),Nk=WD(()=>b(()=>import(`./Index-C6-2tuGl.js`),__vite__mapDeps([350,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,16,17,18,66,67,54,78,119,162,163,164,165,160,166,167,168,316,100,101,225,317,206,207,351])),`restore-db-collections`),Pk=WD(()=>b(()=>import(`./Volume-D6OjrXIT.js`),__vite__mapDeps([352,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,20,19,18,33,34,73,32,68,115,83,26,85,38,42,43,184,106,278,285,121,196,353,25,228,229])),`volume`),Fk=WD(()=>b(()=>import(`./Detail-Bosb9tp7.js`),__vite__mapDeps([354,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,16,17,18,54,73,76,77,83,26,215,42,43,100,101,28,131,132,279,280,353,25,228,229])),`volume-detail`),Ik=WD(()=>b(()=>import(`./ClusterDetailRouter-ojM7lqAF.js`),__vite__mapDeps([355,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32])),`cluster-detail-router`),Lk=WD(()=>b(()=>import(`./Index-BTwnVLdu.js`),__vite__mapDeps([356,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,16,17,18,67,25,83,26,214,85,36,40,112,113,125,82,126,128,31,129,64,54,88,89,90,102,103,94,81,84,95,96,130,131,132,104,105,133,56,134,135,33,34,136,79,80,137,138,139,140,141,142,143,144,97,98,145,146,147,152,149,153,154])),`on-demand-cluster-detail`),Rk=WD(()=>b(()=>import(`./OnDemandLanding-BJZMl4Tv.js`),__vite__mapDeps([357,1,2,3,4,5,6,7,8,62,9,10,11,12,13,14,15,63,20,19,32,18,80,21,22,23,278,83,26,172,173,358])),`on-demand-landing`),zk=WD(()=>b(()=>import(`./OnDemandQuickStart-D1MEYglZ.js`),__vite__mapDeps([359,1,2,3,4,5,6,7,62,8,9,10,11,12,13,14,15,63,20,19,32,18,66,67,54,72,69,70,71,73,68,74,141,142,146,360])),`on-demand-quick-start`),Bk=WD(()=>b(()=>import(`./OnDemandPlanGuard-CldPFRlU.js`),__vite__mapDeps([361,2,1,3,4,5,6,7,93,62,8,9,10,11,12,13,14,15,63,20,19,32,18,67,94,81,25,84,95,96,97,98,99,362])),`on-demand-plan-guard`),Vk=WD(()=>b(()=>import(`./Index-BwiS-FaS.js`),__vite__mapDeps([363,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,63,20,19,186,187,18,80,118,24,25,92,185,31,33,34,83,26,48,49,188,189,190,191,192,104,105,193,194,195,106,68,107,79,81,108,109,110,111,112,113])),`data-plane-page`),Hk=()=>{let{t:e}=_(`router`),t=[{path:`/orgs`,component:(0,G.jsx)(QO,{}),title:`${e(`org`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects`,component:(0,G.jsx)(WO,{}),title:`${e(`project`)} - Zilliz Cloud`,alias:un.Projects,skipOrgPageGuard:!0},{path:`/orgs/:orgId/api-keys/my-key`,component:(0,G.jsx)(YO,{}),title:`${e(`apiKeys`)} - Zilliz Cloud`,alias:un.ApiKey,skipOrgPageGuard:!0},{path:`/orgs/:orgId/api-keys/members-key`,component:(0,G.jsx)(YO,{}),title:`${e(`apiKeys`)} - Zilliz Cloud`,alias:un.ApiKey,skipOrgPageGuard:!0},{path:`/orgs/:orgId/alert/setting`,component:(0,G.jsx)(XO,{activeTab:JD.Setting,scope:`organization`}),title:`${e(`alertSetting`)} - Zilliz Cloud`,alias:un.Monitoring},{path:`/orgs/:orgId/alert/history`,component:(0,G.jsx)(XO,{activeTab:JD.History,scope:`organization`}),title:`${e(`alertHistory`)} - Zilliz Cloud`,alias:un.Monitoring},{path:`/orgs/:orgId/events`,component:(0,G.jsx)(HO,{}),title:`${e(`activity`)} - Zilliz Cloud`,alias:un.Events},{path:`/orgs/:orgId/system/setting`,component:(0,G.jsx)(JO,{}),title:`${e(`systemSetting`)} - Zilliz Cloud`,alias:un.Settings},{path:`/orgs/:orgId/recycle`,component:(0,G.jsx)(ZO,{}),title:`${e(`recycle`)} - Zilliz Cloud`,alias:un.Recyle},{path:`/orgs/:orgId/members`,component:(0,G.jsx)($O,{activeTab:aO.Members,children:(0,G.jsx)(mO,{alias:un.OrgUsers,children:(0,G.jsx)(ek,{})})}),title:`${e(`orgMember`)} - Zilliz Cloud`,alias:un.OrgUsers,skipOrgPageGuard:!0},{path:`/orgs/:orgId/groups`,component:(0,G.jsx)($O,{activeTab:aO.Groups,children:(0,G.jsx)(mO,{alias:un.OrgUsers,children:(0,G.jsx)(tk,{})})}),title:`${e(`groups`)} - Zilliz Cloud`,alias:un.OrgUsers,ignoreProductTypes:[_s.CloudZh],skipOrgPageGuard:!0},{path:`/orgs/:orgId/organization-roles`,component:(0,G.jsx)($O,{activeTab:aO.OrganizationRoles,children:(0,G.jsx)(mO,{alias:un.ProjectRoles,children:(0,G.jsx)(nk,{roleType:xn.Organization})})}),title:`${e(`organizationRoles`)} - Zilliz Cloud`,alias:un.ProjectRoles,skipOrgPageGuard:!0},{path:`/orgs/:orgId/project-roles`,component:(0,G.jsx)($O,{activeTab:aO.ProjectRoles,children:(0,G.jsx)(mO,{alias:un.ProjectRoles,children:(0,G.jsx)(nk,{})})}),title:`${e(`projectRoles`)} - Zilliz Cloud`,alias:un.ProjectRoles,skipOrgPageGuard:!0},{path:`/orgs/:orgId/contract-usage`,alias:un.Usage,component:(0,G.jsx)(Mk,{}),title:`${e(`contractLicense`)} - Zilliz Cloud`},{path:`/orgs/:orgId/network-access`,component:(0,G.jsx)(Sk,{}),title:`${e(`networkAccess`)} - Zilliz Cloud`}],n=[{path:`/orgs/:orgId/billing`,component:(0,G.jsx)(BO,{activeTab:so.Overview}),title:`${e(`billingDetail`)} - Zilliz Cloud`,alias:un.Billing},{path:`/orgs/:orgId/billing/invoice`,component:(0,G.jsx)(BO,{activeTab:so.Invoice}),title:`${e(`currentInvoice`)} - Zilliz Cloud`,alias:un.Billing},{path:`/orgs/:orgId/billing/history`,component:(0,G.jsx)(BO,{activeTab:so.History}),title:`${e(`historyInvoice`)} - Zilliz Cloud`,alias:un.Billing},{path:`/orgs/:orgId/billing/history/:billingId`,component:(0,G.jsx)(bk,{}),title:`${e(`historyInvoiceDetail`)} - Zilliz Cloud`,alias:un.Billing},{path:`/orgs/:orgId/billing/receipt`,component:(0,G.jsx)(BO,{activeTab:so.Receipt}),title:`${e(`receiptList`)} - Zilliz Cloud`,alias:un.Billing,ignoreProductTypes:[_s.Cloud]},{path:`/orgs/:orgId/billing/receipt/history`,component:(0,G.jsx)(BO,{activeTab:so.Receipt}),title:`${e(`receiptHistory`)} - Zilliz Cloud`,alias:un.Billing,ignoreProductTypes:[_s.Cloud]},{path:`/orgs/:orgId/billing/receipt/orders`,component:(0,G.jsx)(BO,{activeTab:so.Receipt}),title:`${e(`orderReceiptList`)} - Zilliz Cloud`,alias:un.Billing,ignoreProductTypes:[_s.Cloud]},{path:`/orgs/:orgId/billing/recharge/history`,component:(0,G.jsx)(Dk,{}),title:`${e(`rechargeHistory`)} - Zilliz Cloud`,alias:un.Billing},{path:`/orgs/:orgId/billing/usage`,component:(0,G.jsx)(BO,{activeTab:so.Usage}),title:`${e(`billingUsage`)} - Zilliz Cloud`,alias:un.Billing},{path:`/orgs/:orgId/billing/orders`,component:(0,G.jsx)(BO,{activeTab:so.Order}),title:`${e(`billingOrder`)} - Zilliz Cloud`,alias:un.BillingOrder,ignoreProductTypes:[_s.Cloud]},{path:`/orgs/:orgId/billing/orders/:orderId`,component:(0,G.jsx)(Ok,{}),title:`${e(`billingOrderDetail`)} - Zilliz Cloud`,alias:un.BillingOrder,ignoreProductTypes:[_s.Cloud]}],r=[{path:`/orgs/:orgId/projects/create`,component:(0,G.jsx)(hO,{resource:`project`,action:`create`,children:(0,G.jsx)(GO,{})}),title:`${e(`createProject`)} - Zilliz Cloud`,hideFooter:!0,alias:un.Projects,skipOrgPageGuard:!0},{path:`/orgs/:orgId/organization-roles/create`,component:(0,G.jsx)(hO,{resource:`org_role`,action:`create`,children:(0,G.jsx)(rk,{roleType:xn.Organization})}),title:`${e(`organizationRoles`)} - Zilliz Cloud`,hideFooter:!0,alias:un.ProjectRoles,skipOrgPageGuard:!0},{path:`/orgs/:orgId/organization-roles/:roleId/edit`,component:(0,G.jsx)(hO,{resource:`org_role`,action:`modify`,children:(0,G.jsx)(rk,{roleType:xn.Organization})}),title:`${e(`organizationRoles`)} - Zilliz Cloud`,hideFooter:!0,alias:un.ProjectRoles,skipOrgPageGuard:!0},{path:`/orgs/:orgId/project-roles/create`,component:(0,G.jsx)(hO,{resource:`project_role`,action:`create`,children:(0,G.jsx)(rk,{})}),title:`${e(`projectRoles`)} - Zilliz Cloud`,hideFooter:!0,alias:un.ProjectRoles,skipOrgPageGuard:!0},{path:`/orgs/:orgId/project-roles/:roleId/edit`,component:(0,G.jsx)(hO,{resource:`project_role`,action:`modify`,children:(0,G.jsx)(rk,{})}),title:`${e(`projectRoles`)} - Zilliz Cloud`,hideFooter:!0,alias:un.ProjectRoles,skipOrgPageGuard:!0},{path:`/orgs/:orgId/projects/:projectId/project-roles/create`,component:(0,G.jsx)(zO,{requirements:[{resource:I.ProjectRole,action:`create`}],children:(0,G.jsx)(rk,{})}),title:`${e(`projectRoles`)} - Zilliz Cloud`,hideFooter:!0,alias:be.ProjectUsers},{path:`/orgs/:orgId/projects/:projectId/project-roles/:roleId/edit`,component:(0,G.jsx)(zO,{requirements:[{resource:I.ProjectRole,action:`modify`}],children:(0,G.jsx)(rk,{})}),title:`${e(`projectRoles`)} - Zilliz Cloud`,hideFooter:!0,alias:be.ProjectUsers},{path:`/orgs/:orgId/projects/:projectId/create/cluster`,component:(0,G.jsx)(ak,{from:Vc.Create}),title:`${e(`createCluster`)} - Zilliz Cloud`,hideFooter:!0},{path:`/orgs/:orgId/upgrade-plan`,component:(0,G.jsx)(ak,{from:Vc.Upgrade}),title:`${e(`migrateStarter`)} - Zilliz Cloud`,hideFooter:!0},{path:`/orgs/:orgId/upgrade-free`,component:(0,G.jsx)(ak,{from:Vc.Upgrade}),title:`${e(`migrateStarter`)} - Zilliz Cloud`,hideFooter:!0},{path:`/orgs/:orgId/migrate/new-cluster`,component:(0,G.jsx)(ak,{from:Vc.Migrate}),title:`${e(`migrateToNewCluster`)} - Zilliz Cloud`,hideFooter:!0},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/create/collection`,component:(0,G.jsx)(ok,{}),title:`${e(`createCollection`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/create/sample-collection`,component:(0,G.jsx)(sk,{}),title:`${e(`createSampleCollection`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId/create/collection`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(ok,{})}),title:`${e(`createCollection`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId/create/sample-collection`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(sk,{})}),title:`${e(`createSampleCollection`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/migrations/:type`,component:(0,G.jsx)(yk,{}),title:`${e(`migrations`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/dataplanes/:dataplaneId`,component:(0,G.jsx)(kk,{}),title:`${e(`project`)} - Zilliz Cloud`,hideFooter:!0},{path:`/orgs/:orgId/projects/:projectId/clusters/:sourceClusterId/backups/:backupId/restore/:source`,component:(0,G.jsx)(Nk,{}),title:`${e(`restoreDbCollections`)} - Zilliz Cloud`}],i=[{path:`/orgs/:orgId/projects/:projectId/project-users`,component:(0,G.jsx)(ik,{}),title:`${e(`accessControl`)} - Zilliz Cloud`,alias:be.ProjectUsers},{path:`/orgs/:orgId/projects/:projectId/settings`,component:(0,G.jsx)(KO,{}),title:`${e(`projectSettings`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/project-roles`,component:(0,G.jsx)(nk,{}),title:`${e(`accessControl`)} - Zilliz Cloud`,alias:be.ProjectUsers},{path:`/orgs/:orgId/projects/:projectId/network-access`,component:(0,G.jsx)(xk,{}),title:`${e(`networkAccess`)} - Zilliz Cloud`,alias:be.NetworkAccess},{path:`/orgs/:orgId/projects/:projectId/private-links`,component:(0,G.jsx)(Tk,{}),title:`${e(`privateLinks`)} - Zilliz Cloud`,alias:be.NetworkAccess},{path:`/orgs/:orgId/projects/:projectId/cmek`,component:(0,G.jsx)(Ek,{}),title:`${e(`cmek`)} - Zilliz Cloud`,alias:be.CMEK,ignoreProductTypes:[_s.CloudZh]},{path:`/orgs/:orgId/projects/:projectId/clusters`,component:(0,G.jsx)(UO,{viewMode:`serving`}),title:`${e(`clusters`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/dataplanes`,component:(0,G.jsx)(Vk,{}),title:`${e(`dataPlanes`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(Rk,{})}),title:`${e(`clusters`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(UO,{viewMode:`ondemand-clusters`})}),title:`${e(`clusters`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/databases`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(UO,{viewMode:`ondemand-databases`})}),title:`${e(`clusters`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/quick-start`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(zk,{})}),title:`${e(`quickStart`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(Lk,{})}),title:`${e(`clusterDetail`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId/databases/:databaseName`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(VO,{activeTab:QD.Collections})}),title:`${e(`clusterCollections`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId/databases/:databaseName/collections/:collectionName`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(qO,{activeTab:Jl.CollectionDetail
23s})}),title:`${e(`collectionOverview`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId/databases/:databaseName/collections/:collectionName/dataPreview`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(qO,{activeTab:Jl.DataPreview})}),title:`${e(`collectionPreview`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId/databases/:databaseName/collections/:collectionName/search`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(qO,{activeTab:Jl.VectorSearch})}),title:`${e(`vectorSearch`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId/databases/:databaseName/collections/:collectionName/playground`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(qO,{activeTab:Jl.Playground})}),title:`${e(`collectionPlayground`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId/databases/:databaseName/collections/:collectionName/partitions`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(qO,{activeTab:Jl.Partitions})}),title:`${e(`collectionPartitions`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId/databases/:databaseName/collections/:collectionName/indexe
23s`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(qO,{activeTab:Jl.Indexes})}),title:`${e(`collectionIndexes`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId/databases/:databaseName/collections/:collectionName/metrics`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(qO,{activeTab:Jl.Metrics})}),title:`${e(`collectionMetrics`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/on-demand/clusters/:clusterId/databases/:databaseName/collections/:collectionName/snapshots`,component:(0,G.jsx)(Bk,{children:(0,G.jsx)(qO,{activeTab:Jl.Snapshots})}),title:`${e(`collectionOverview`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/jobs`,component:(0,G.jsx)(gk,{}),title:`${e(`jobs`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/backup`,component:(0,G.jsx)(_k,{}),title:`${e(`snapshots`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/migrations`,component:(0,G.jsx)(vk,{}),title:`${e(`migrations`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/stages`,component:(0,G.jsx)(Pk,{}),title:`${e(`stages`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/stages/:stageId`,component:(0,G.jsx)(Fk,{activeTab:iO.Overview}),title:`${e(`volumeDetail`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/stages/:stageId/files`,component:(0,G.jsx)(Fk,{activeTab:iO.Files}),title:`${e(`volumeFiles`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId`,component:(0,G.jsx)(Ik,{activeTab:QD.Overview}),title:`${e(`clusterDetail`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/metrics`,component:(0,G.jsx)(VO,{activeTab:QD.Metrics}),title:`${e(`clusterMetrics`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/collections`,component:(0,G.jsx)(VO,{activeTab:QD.Collections}),title:`${e(`clusterCollections`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/user`,component:(0,G.jsx)(VO,{activeTab:QD.User}),title:`${e(`clusterUsers`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/role`,component:(0,G.jsx)(VO,{activeTab:QD.Role}),title:`${e(`clusterUsers`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/backups`,component:(0,G.jsx)(VO,{activeTab:QD.Backups}),title:`${e(`clusterBackup`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/backups/:backupId`,component:(0,G.jsx)(VO,{activeTab:QD.Backups}),title:`${e(`backupDetail`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/import`,component:(0,G.jsx)(VO,{activeTab:QD.Import}),title:`${e(`importTasks`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/logs`,component:(0,G.jsx)(VO,{activeTab:QD.Logs}),title:`${e(`clusterLogs`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/auditing`,component:(0,G.jsx)(VO,{activeTab:QD.AuditLog}),title:`${e(`clusterLogs`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/access-log`,component:(0,G.jsx)(VO,{activeTab:QD.AccessLog}),title:`${e(`clusterLogs`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/collections/:collectionName`,component:(0,G.jsx)(qO,{activeTab:Jl.CollectionDetails}),title:`${e(`collectionDetail`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/databases/:databaseName/collections/:collectionName`,component:(0,G.jsx)(qO,{activeTab:Jl.CollectionDetails}),title:`${e(`collectionOverview`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/collections/:collectionName/dataPreview`,component:(0,G.jsx)(qO,{activeTab:Jl.DataPreview}),title:`${e(`collectionPreview`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/databases/:databaseName/collections/:collectionName/dataPreview`,component:(0,G.jsx)(qO,{activeTab:Jl.DataPreview}),title:`${e(`collectionPreview`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/collections/:collectionName/search`,component:(0,G.jsx)(qO,{activeTab:Jl.VectorSearch}),title:`${e(`vectorSearch`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/databases/:databaseName/collections/:collectionName/search`,component:(0,G.jsx)(qO,{activeTab:Jl.VectorSearch}),title:`${e(`vectorSearch`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/collections/:collectionName/playground`,component:(0,G.jsx)(qO,{activeTab:Jl.Playground}),title:`${e(`collectionPlayground`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/databases/:databaseName/collections/:collectionName/playground`,component:(0,G.jsx)(qO,{activeTab:Jl.Playground}),title:`${e(`collectionPlayground`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/collections/:collectionName/partitions`,component:(0,G.jsx)(qO,{activeTab:Jl.Partitions}),title:`${e(`collectionPartitions`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/databases/:databaseName/collections/:collectionName/partitions`,component:(0,G.jsx)(qO,{activeTab:Jl.Partitions}),title:`${e(`collectionPartitions`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/collections/:collectionName/indexe
23s`,component:(0,G.jsx)(qO,{activeTab:Jl.Indexes}),title:`${e(`collectionIndexes`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/databases/:databaseName/collections/:collectionName/indexes`,component:(0,G.jsx)(qO,{activeTab:Jl.Indexes}),title:`${e(`collectionIndexes`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/collections/:collectionName/metrics`,component:(0,G.jsx)(qO,{activeTab:Jl.Metrics}),title:`${e(`collectionMetrics`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/collections/:collectionName/snapshots`,component:(0,G.jsx)(qO,{activeTab:Jl.Snapshots}),title:`${e(`collectionOverview`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/databases/:databaseName/collections/:collectionName/metrics`,component:(0,G.jsx)(qO,{activeTab:Jl.Metrics}),title:`${e(`collectionMetrics`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/clusters/:clusterId/databases/:databaseName/collections/:collectionName/snapshots`,component:(0,G.jsx)(qO,{activeTab:Jl.Snapshots}),title:`${e(`collectionOverview`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/alert/setting`,component:(0,G.jsx)(XO,{activeTab:JD.Setting}),title:`${e(`alertSetting`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/alert/history`,component:(0,G.jsx)(XO,{activeTab:JD.History}),title:`${e(`alertHistory`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/:projectId/api-playground`,component:(0,G.jsx)(pk,{}),title:`${e(`apiPlayground`)} - Zilliz Cloud`,alias:be.Playground},{path:`/orgs/:orgId/projects/:projectId/integrations`,component:(0,G.jsx)(Ak,{}),title:`${e(`integrations`)} - Zilliz Cloud`,alias:be.Integrations},{path:`/orgs/:orgId/projects/:projectId/integrations/:type`,component:(0,G.jsx)(jk,{}),title:`${e(`integrations`)} - Zilliz Cloud`}],a=[{path:`/information`,component:(0,G.jsx)(ck,{}),title:`Fill information - Zilliz Cloud`},{path:`/marketplace/link/organization`,component:(0,G.jsx)(uk,{}),title:`${e(`marketplace.linkOrg`)} - Zilliz Cloud`},{path:`/orgs/:orgId/marketplace/complete/authorization`,component:(0,G.jsx)(dk,{}),title:`${e(`marketplace.complete`)} - Zilliz Cloud`},{path:`/account/set/phone`,component:(0,G.jsx)(hk,{}),title:`${e(`account.setPhone`)} - Zilliz Cloud`}],o=[{path:`/account/edit/email`,component:(0,G.jsx)(mk,{}),title:`${e(`account.editEmail`)} - Zilliz Cloud`},{path:`/account/edit/phone`,component:(0,G.jsx)(mk,{editTarget:eO.Phone}),title:`${e(`account.editPhone`)} - Zilliz Cloud`}];return{OrgRoutersConfig:t,BillingRoutersConfig:n,CreateRoutersConfig:r,OtherRoutersConfig:i,BetweenLoginAndCloudRouters:a,NoHeaderRoutersConfig:[...r,...o],NoNavRoutersConfig:[...r,...o,{path:`/orgs`,component:(0,G.jsx)(QO,{}),title:`${e(`org`)} - Zilliz Cloud`},{path:`/orgs/:orgId/emptyLoading`,component:(0,G.jsx)(lk,{}),title:`${e(`loading`)} - Zilliz Cloud`},{path:`/orgs/:orgId/alert/permission-denied`,component:(0,G.jsx)(fk,{}),title:`${e(`alertHistory`)} - Zilliz Cloud`},{path:`/orgs/:orgId/network-access/access-denied`,component:(0,G.jsx)(Ck,{}),title:`${e(`networkAccess`)} - Zilliz Cloud`},{path:`/orgs/:orgId/projects/no-access`,component:(0,G.jsx)(wk,{pageType:`project`}),title:`${e(`noAccess`)} - Zilliz Cloud`},{path:`orgs/no-access`,component:(0,G.jsx)(wk,{pageType:`org`}),title:`${e(`noAccess`)} - Zilliz Cloud`}],AccountRoutersConfig:o}},Uk=ID();function Wk(e,t=!0){W.useEffect(()=>{if(!t)return;let n=Uk.block(t=>{e({...t,retry(){n(),t.retry()}})});return n},[e,t])}function Gk(e,t=!0){Wk(e,t)}var Kk=()=>{let e=p(),{BillingRoutersConfig:t,OrgRoutersConfig:n,OtherRoutersConfig:r,BetweenLoginAndCloudRouters:i,NoHeaderRoutersConfig:a,NoNavRoutersConfig:o,CreateRoutersConfig:s,AccountRoutersConfig:c}=Hk();return[...t,...n,...r,...i,...a,...o,...s,...c].find(t=>{let n=t.path.split(`/`),r=e.pathname.split(`/`);return n.length===r.length?n.every((e,t)=>e.startsWith(`:`)||e===r[t]):!1})?.path||null},qk=function(e){return e[e.CollectionImport=0]=`CollectionImport`,e[e.Migration=1]=`Migration`,e}({}),Jk={root:`_root_jxg6f_3`,content:`_content_jxg6f_4`,actions:`_actions_jxg6f_11`,titleWrapper:`_titleWrapper_jxg6f_20`,warning:`_warning_jxg6f_23`,note:`_note_jxg6f_28`,rotate:`_rotate_jxg6f_1`},Yk=e=>{let{note:t,cancelLabel:n,confirmLabel:r,handleConfirm:i=()=>{},title:a,...o}=e,{t:s}=_([`common`]);return(0,G.jsx)(sc,{handleConfirm:i,classes:{content:Jk.content,root:Jk.root,actions:Jk.actions},cancelLabel:n||s(`common:button.notNow`),confirmLabel:r||s(`common:button.cancel`),title:(0,G.jsxs)(`div`,{className:Jk.titleWrapper,children:[(0,G.jsx)(Vi,{size:28,className:Jk.warning}),a]}),...o,children:(0,G.jsx)(L,{variant:`body1Regular`,className:Jk.note,children:t})})},Xk=({onCancelPartUpload:e,onBack:t,cancelType:n,cancelSource:r})=>{let{t:i}=_([`collections`,`migration`]),[a,o]=(0,W.useState)(!1),s=F(A),c=async()=>{o(!0);try{await e(),s(e=>({...e,open:!1}))}finally{o(!1)}},l=(0,W.useMemo)(()=>
23{switch(r){case qk.CollectionImport:switch(n){case ED.UserCancel:return{title:i(`collections:confirmCancel.userCancel.title`),note:(0,G.jsx)(d,{i18nKey:`collections:confirmCancel.leavePageCancel.note`,t:i,components:[(0,G.jsx)(`strong`,{})]})};case ED.LeavePage:return{title:i(`collections:confirmCancel.leavePageCancel.title`),confirmLabel:i(`collections:confirmCancel.leavePageCancel.confirmLabel`),note:(0,G.jsx)(d,{i18nKey:`collections:confirmCancel.leavePageCancel.note`,t:i,components:[(0,G.jsx)(`strong`,{})]})}}case qk.Migration:switch(n){case ED.UserCancel:return{title:i(`migration:confirmCancel.userCancel.title`),note:(0,G.jsx)(d,{i18nKey:`migration:confirmCancel.userCancel.note`,t:i,components:[(0,G.jsx)(`strong`,{})]})};case ED.LeavePage:return{title:i(`migration:confirmCancel.leavePageCancel.title`),confirmLabel:i(`migration:confirmCancel.leavePageCancel.confirmLabel`),note:(0,G.jsx)(d,{i18nKey:`migration:confirmCancel.leavePageCancel.note`,t:i,components:[(0,G.jsx)(`strong`,{})]})}}}},[n,r]);return(0,G.jsx)(Yk,{note:l.note,title:l.title,handleConfirm:c,handleCancel:t,confirmType:Ve.Delete,confirmLoading:a,cancelLabel:l.cancelLabel,confirmLabel:l.confirmLabel})},Zk={root:`_root_9sm9i_3`,header:`_header_9sm9i_6`,main:`_main_9sm9i_11`,rotate:`_rotate_9sm9i_1`},Qk=({title:e,children:t,classes:n={root:``,header:``,main:``},renderHeaderAction:r})=>(0,G.jsxs)(`div`,{className:R(Zk.root,n.root),children:[(0,G.jsxs)(`div`,{className:R(Zk.header,n.header),children:[(0,G.jsx)(L,{variant:`h3Semibold`,children:e}),r?.()]}),(0,G.jsx)(`div`,{className:R(Zk.main,n.main),children:t})]}),$k={root:`_root_1loon_3`,main:`_main_1loon_4`,rotate:`_rotate_1loon_1`},eA=function(e){return e.Collection=`collectionName`,e.Path=`path`,e.CloudProvider=`cloudProvider`,e.AccessKey=`accessKey`,e.SecretKey=`secretKey`,e.DataFormat=`fileType`,e.Partition=`partitionName`,e.Token=`userToken`,e}({}),tA=function(e){return e[e.ImportData=0]=`ImportData`,e[e.MilvusMigrate=1]=`MilvusMigrate`,e}({}),nA=function(e){return e[e.ServiceAccountKey=0]=`ServiceAccountKey`,e[e.SessionToken=1]=`SessionToken`,e}({}),rA=class extends eo{PartitionId;PartitionName;CreateTime;NumOfEntities;static PARTITION_LIST_URL=`${this.CLOUD_PREFIX}/instance/partition/list`;static PARTITION_CREATE_URL=`${this.CLOUD_PREFIX}/instance/partition/create`;static PARTITION_DROP_URL=`${this.CLOUD_PREFIX}/instance/partition/drop`;constructor(e){super(e),Object.assign(this,e)}static fetchPartitionList(e){return super.findAll({path:this.PARTITION_LIST_URL,data:e},`Partitions`)}static createPartition(e){return super.create({path:this.PARTITION_CREATE_URL,data:e})}static dropPartition(e){return super.create({path:this.PARTITION_DROP_URL,data:e})}get _name(){return this.PartitionName}get _createAt(){return nc(this.CreateTime)}get _entityCount(){return this.NumOfEntities}get _isDefault(){return this.PartitionName===`_default`}},iA=e=>{let{displayClusterTypes:t=[Hs.Common,Hs.Serverless,Hs.Starter]}=e||{},{t:n}=_([`migrations`]),{clusterList:r}=Fn(),{allDatabases:i}=Yl(),{clusterId:a=``}=l(),o=e=>{let{clusterList:t,displayClusterTypes:r,disabledClusterTypes:i=[],sourceVersion:a}=e;return t.filter(e=>r.includes(e._instanceType)).map(e=>{let t={id:e._instanceId,label:e._instanceName,value:e._instanceId},r=e._dbVersion,o=a?eu(a,r):!1;return i.includes(e._instanceType)?{...t,disabled:!0,tooltip:{title:n(`migrations:selectSource.disabled.instanceTypeNotMatch`)}}:o?{...t,disabled:!0,tooltip:{title:n(`migrations:selectSource.disabled.versionNotMatch`)}}:e._instanceStatus===Qa.Running?{...t,disabled:!1}:{...t,disabled:!0,tooltip:{title:n(`migrations:selectSource.disabled.notRunning`)}}})},s=e=>e.map(e=>{let t=i.find(t=>t.clusterId===e.value)?.databases;return{...e,icon:(0,G.jsx)(aa,{}),children:t?.map(e=>({icon:(0,G.jsx)(Hr,{}),label:e,value:e}))}}),{clusterDatabaseOptions:c}=(0,W.useMemo)(()=>{let e=o({clusterList:r,displayClusterTypes:t});return{clusterDatabaseOptions:s(e)}},[r,t,i]);return{clusterDatabaseOptions:c,databaseOptions:(0,W.useMemo)(()=>a?(i.find(e=>e.clusterId===a)?.databases||[]).map(e=>({id:e,label:e,value:e})):[],[a,i]),generateClusterDatabaseOptions:s,getDatabasesAsync:async(e,t)=>{let n=e[e.length-1],r=await Xl.fetchDatabaseList(n.value);t(e=>{let t=e.find(e=>e.value===n.value);return t&&(t.children=r._databaseNames.map(e=>({label:e,value:e,icon:(0,G.jsx)(Hr,{})}))),e})}}},aA={container:`_container_ybirb_3`,row:`_row_ybirb_8`,rotate:`_rotate_ybirb_1`},oA=e=>{let{dataType:t,arrayType:n}=e;
23return t===V.Array?n===V.VarChar:t===V.VarChar},sA=e=>{let{t}=_([`common`,`collections`]),{data:n,onSuccess:r}=e,{alterField:i,isPending:a}=zl(),{_fieldName:o,_dataType:s,_dataTypeValue:c,_arrayType:u,_arrayTypeValue:f,_typeParams:p={}}=n,{clusterId:m=``,databaseName:h=``,collectionName:g=``}=l(),{message:v}=Ga(),{max_capacity:y,max_length:b}=p,{getMaxLengthRules:x}=WC(),S=c===V.Array,C=c===V.Text?V.Text:c===V.Array?f:c,w=oA({dataType:c,arrayType:f}),T={title:t(`collections:detail.schema.edit.fieldDisabled`)};return(0,G.jsx)(sc,{title:t(`collections:detail.schema.dialog.edit.title`),type:j.Form,confirmLabel:t(`common:button.save`),handleConfirm:async e=>{let{max_capacity:n,max_length:a}=e,s={max_capacity:n,...c===V.Text?{}:{max_length:a}};await i({instanceId:m,databaseName:h,collectionName:g,fieldName:o,properties:s}),v.success({title:t(`collections:detail.schema.dialog.edit.success`),message:(0,G.jsx)(d,{i18nKey:`collections:detail.schema.dialog.edit.successTip`,t,values:{name:o},components:[(0,G.jsx)(`strong`,{})]})}),r?.()},confirmLoading:a,useFormProps:{defaultValues:{fieldName:o,dataType:s,max_capacity:y,max_length:b}},children:(0,G.jsxs)(`div`,{className:aA.container,children:[(0,G.jsx)(ma,{tooltip:T,children:(0,G.jsx)(E,{name:`fieldName`,componentProps:{label:t(`collections:detail.schema.fieldName`),fullWidth:!0,disabled:!0}})}),(0,G.jsx)(ma,{tooltip:T,children:(0,G.jsx)(Ne,{name:`dataType`,componentProps:{label:t(`collections:detail.schema.fieldType`),options:[{label:c===V.Array?`${s} / ${u}`:s,value:s}],disabled:!0}})}),(0,G.jsxs)(`div`,{className:aA.row,children:[S&&(0,G.jsx)(E,{name:`max_capacity`,componentProps:{label:t(`collections:create.schema.array.maxCapacity`),inputType:`number`,fullWidth:!0}}),w&&(0,G.jsx)(E,{name:`max_length`,componentProps:{label:t(`collections:detail.schema.maxLength`),inputType:`number`,fullWidth:!0,inputProps:{"aria-label":t(`collections:detail.schema.maxLengthInCharacters`,{max:UC(C).max}),"data-testid":`collection-field-max-length-input`}},rules:x(C)})]})]})})},cA=wt,lA=({clusterId:e,databaseName:t,collectionName:n,fieldName:r})=>{let{t:i}=_([`common`,`collections`]),{dropCollectionField:a}=Fl(),{message:o}=Ga(),{resetDialog:s}=re();return(0,G.jsx)(cA,{title:i(`collections:detail.schema.drop.title`),tip:i(`collections:detail.schema.drop.warning`,{name:r}),keyword:r,onConfirm:async()=>{try{await a({instanceId:e,databaseName:t,collectionName:n,fieldName:r})}catch{return}o.success({title:i(`collections:detail.schema.drop.successTitle`),message:i(`collections:detail.schema.drop.successMessage`,{name:r})}),s()},confirmLabel:i(`collections:detail.schema.drop.confirm`),confirmInputTestId:`collection-drop-field-confirm-input`,"data-testid":`collection-drop-field-dialog`,autoClose:!1})},uA=({data:e,clusterId:t,databaseName:n,collectionName:r})=>{let{t:i}=_([`collections`]),{dropCollectionFunction:a}=Kl(),{message:o}=Ga(),{resetDialog:s}=re(),c=`collections:detail.schema.dropFunction.field`;return(0,G.jsx)(cA,{title:i(`${c}.title`),tip:i(`${c}.warning`,{functionName:e.Name,outputFieldName:e.OutputFieldNames[0]}),confirmLabel:i(`${c}.confirm`),keyword:e.Name,onConfirm:async()=>{try{await a({instanceId:t,databaseName:n,collectionName:r,functionName:e.Name})}catch{return}o.success({title:i(`${c}.successTitle`),message:i(`${c}.successMessage`,{functionName:e.Name})}),s()},confirmInputTestId:`collection-drop-function-confirm`,"data-testid":`collection-drop-function-dialog`,autoClose:!1})},dA=e=>+!!yl.includes(e._dataTypeValue)+(e._structSchemas||[]).reduce((e,t)=>e+dA(t),0),fA=({field:e,schemaFields:t,functionInputFieldNames:n,ttlField:r})=>{if(e._primaryKey)return`primaryKey`;if(e._isPartitionKey)return`partitionKey`;if(e._fieldType===El.DynamicField)return`dynamicField`;if(n.has(e._fieldName))return`functionInputField`;if(r===e._fieldName)return`ttlField`;let i=dA(e);if(i>0&&t.reduce((e,t)=>e+dA(t),0)===i)return`lastVector`},pA={tooltipPopper:`_tooltipPopper_1ug7h_3`,fieldIcon:`_fieldIcon_1ug7h_7`,rotate:`_rotate_1ug7h_1`},mA=e=>{let{fieldType:t,enableAutoId:n}=e,{t:r}=_([`collections`]);return t===El.DynamicField?(0,G.jsx)(xi,{size:14,className:pA.fieldIcon}):t!==El.PrimaryKeyField&&t!==El.VectorField?(0,G.jsx)(si,{size:14,className:pA.fieldIcon}):t===El.PrimaryKeyField?(0,G.jsx)(Ki,{size:14,className:pA.fieldIcon}):(0,G.jsx)(Fi,{size:14,className:pA.fieldIcon})},hA=(e,t)=>e.map(e=>{let n=t.find(t=>t.OutputFieldNames.includes(e._fieldName));return Object.assign(e,{_function:n})}),gA=(e,t)=>
23{let n=[],r=t.some(e=>!!e._isDynamicField);for(let i of e){let e=Object.assign(i,{_indexType:``,_indexName:``,_indexParamPairs:[],_indexStatus:ql.IndexStateNone,_enableMmap:!1,_params:{}}),a=t.find(e=>e._fieldName===i._fieldName),o=t.filter(e=>e._fieldName===i._fieldName),s=o.length;a&&(e._indexName=a._indexName,e._indexType=a._indexType,e._indexParamPairs=a._indexParamPairs,e._indexStatus=a._indexStatus,e._params=a._params,e._indexCount=s,e._indexes=o),i._fieldType===El.DynamicField&&r&&(e._indexType=cl),n=[...n,e]}return n},_A=e=>{let t=pl.map(e=>e.label),n=null,r=[],i=[];for(let a of e){if(a._primaryKey){n=a;continue}if(t.includes(a._dataType)){r.push(a);continue}i.push(a)}return[n,...r,...i].filter(e=>!!e)},vA=`<put stop words list here>`,yA=(e=`{}`)=>{try{return JSON.parse(e).analyzers}catch{return!1}},bA=e=>{try{let t=JSON.parse(e);return t&&typeof t==`object`&&!Array.isArray(t)?t:null}catch{return null}},xA=e=>{let t=e.split(vA).join(``);return JSON.parse(t)},SA=e=>bA(e)!==null,CA=e=>{let t=bA(e);return t&&t.analyzers&&typeof t.analyzers==`object`&&!Array.isArray(t.analyzers)?Object.keys(t.analyzers):[]},wA=(e,t)=>{let n=bA(e);if(!n)return e;let r=n.analyzers&&typeof n.analyzers==`object`?n.analyzers:{};if(r[t.key]=xA(t.code),n.analyzers=r,t.alias){let e=n.alias&&typeof n.alias==`object`?n.alias:{};e[t.alias]=t.key,n.alias=e}return JSON.stringify(n,null,4)},TA=(e,t)=>{let n=bA(e);return n?(n.analyzers&&typeof n.analyzers==`object`&&delete n.analyzers[t.key],n.alias&&typeof n.alias==`object`&&Object.keys(n.alias).forEach(e=>{n.alias?.[e]===t.key&&delete n.alias[e]}),JSON.stringify(n,null,4)):e},EA=function(e){return e.Single=`single`,e.Multiple=`multiple`,e}({}),DA=class e{lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),kA.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),kA.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new NA(this),i=new NA(e);for(let e=t,a=t;;){if(r.next(e),i.next(e),e=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(a+=r.value.length,r.done||a>=n)return!0}}iter(e=1){return new NA(this,e)}iterRange(e,t=this.length){return new PA(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t??=this.lines+1;let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new FA(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(t){if(t.length==0)throw RangeError(`A document must have at least one line`);return t.length==1&&!t[0]?e.empty:t.length<=32?new OA(t):kA.from(OA.split(t,[]))}},OA=class e extends DA{constructor(e,t=AA(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let i=0;;i++){let a=this.text[i],o=r+a.length;if((t?n:o)>=e)return new IA(r,o,n,a);r=o+1,n++}}decompose(t,n,r,i){let a=t<=0&&n>=this.length?this:new e(MA(this.text,t,n),Math.min(n,this.length)-Math.max(0,t));if(i&1){let t=r.pop(),n=jA(a.text,t.text.slice(),0,a.length);if(n.length<=32)r.push(new e(n,t.length+a.length));else{let t=n.length>>1;r.push(new e(n.slice(0,t)),new e(n.slice(t)))}}else r.push(a)}replace(t,n,r){if(!(r instanceof e))return super.replace(t,n,r);let i=jA(this.text,jA(r.text,MA(this.text,0,t)),n),a=this.length+r.length-(n-t);return i.length<=32?new e(i,a):kA.from(e.split(i,[]),a)}sliceString(e,t=this.length,n=` 24`){let r=``;for(let i=0,a=0;i<=t&&a<this.text.length;a++){let o=this.text[a],s=i+o.length;i>e&&a&&(r+=n),e<s&&t>i&&(r+=o.slice(Math.max(0,e-i),t-i)),i=s+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(t,n){let r=[],i=-1;for(let a of t)r.push(a),i+=a.length+1,r.length==32&&(n.push(new e(r,i)),r=[],i=-1);return i>-1&&n.push(new e(r,i)),n}},kA=class e extends DA{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let t of e)this.lines+=t.lines}lineInner(e,t,n,r){for(let i=0;;i++){let a=this.children[i],o=r+a.length,s=n+a.lines-1;if((t?s:o)>=e)return a.lineInner(e,t,n,r);r=o+1,n=s+1}}decompose(e,t,n,r){for(let i=0,a=0;a<=t&&i<this.children.length;i++){let o=this.children[i],s=a+o.length;if(e<=s&&t>=a){let i=r&(a<=e|(s>=t?2:0));a>=e&&s<=t&&!i?n.push(o):o.decompose(e-a,t-a,n,i)}a=s+1}}replace(t,n,r){if(r.lines<this.lines)for(let i=0,a=0;i<this.children.length;i++){let o=this.children[i],s=a+o.length;if(t>=a&&n<=s){let c=o.replace(t-a,n-a,r),l=this.lines-o.lines+c.lines;if(c.lines<l>>4&&c.lines>l>>6){let a=this.children.slice();return a[i]=c,new e(a,this.length-(n-t)+r.length)}return super.replace(a,s,c)}a=s+1}return super.replace(t,n,r)}sliceString(e,t=this.length,n=` 25`){let r=``;for(let i=0,a=0;i<this.children.length&&a<=t;i++){let o=this.children[i],s=a+o.length;a>e&&i&&(r+=n),e<s&&t>
vendor: 8,298 bytes, lines 25-26
25a&&(r+=o.sliceString(e-a,t-a,n)),a=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(t,n){if(!(t instanceof e))return 0;let r=0,[i,a,o,s]=n>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;i+=n,a+=n){if(i==o||a==s)return r;let e=this.children[i],c=t.children[a];if(e!=c)return r+e.scanIdentical(c,n);r+=e.length+1}}static from(t,n=t.reduce((e,t)=>e+t.length+1,-1)){let r=0;for(let e of t)r+=e.lines;if(r<32){let e=[];for(let n of t)n.flatten(e);return new OA(e,n)}let i=Math.max(32,r>>5),a=i<<1,o=i>>1,s=[],c=0,l=-1,u=[];function d(t){let n;if(t.lines>a&&t instanceof e)for(let e of t.children)d(e);else t.lines>o&&(c>o||!c)?(f(),s.push(t)):t instanceof OA&&c&&(n=u[u.length-1])instanceof OA&&t.lines+n.lines<=32?(c+=t.lines,l+=t.length+1,u[u.length-1]=new OA(n.text.concat(t.text),n.length+1+t.length)):(c+t.lines>i&&f(),c+=t.lines,l+=t.length+1,u.push(t))}function f(){c!=0&&(s.push(u.length==1?u[0]:e.from(u,l)),l=-1,c=u.length=0)}for(let e of t)d(e);return f(),s.length==1?s[0]:new e(s,n)}};DA.empty=new OA([``],0);function AA(e){let t=-1;for(let n of e)t+=n.length+1;return t}function jA(e,t,n=0,r=1e9){for(let i=0,a=0,o=!0;a<e.length&&i<=r;a++){let s=e[a],c=i+s.length;c>=n&&(c>r&&(s=s.slice(0,r-i)),i<n&&(s=s.slice(n-i)),o?(t[t.length-1]+=s,o=!1):t.push(s)),i=c+1}return t}function MA(e,t,n){return jA(e,[``],t,n)}var NA=class{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value=``,this.nodes=[e],this.offsets=[t>0?1:(e instanceof OA?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],a=i>>1,o=r instanceof OA?r.text.length:r.children.length;if(a==(t>0?o:0)){if(n==0)return this.done=!0,this.value=``,this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((i&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=` 26`,this;e--}else if(r instanceof OA){let i=r.text[a+(t<0?-1:0)];if(this.offsets[n]+=t,i.length>Math.max(0,e))return this.value=e==0?i:t>0?i.slice(e):i.slice(0,i.length-e),this;e-=i.length}else{let i=r.children[a+(t<0?-1:0)];e>i.length?(e-=i.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(i),this.offsets.push(t>0?1:(i instanceof OA?i.text.length:i.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}},PA=class{constructor(e,t,n){this.value=``,this.done=!1,this.cursor=new NA(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value=``,this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=``}},FA=class{constructor(e){this.inner=e,this.afterBreak=!0,this.value=``,this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t?(this.done=!0,this.value=``):n?this.afterBreak?this.value=``:(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}};typeof Symbol<`u`&&(DA.prototype[Symbol.iterator]=function(){return this.iter()},NA.prototype[Symbol.iterator]=PA.prototype[Symbol.iterator]=FA.prototype[Symbol.iterator]=function(){return this});var IA=class{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}},LA=`lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o`.split(`,`).map(e=>e?parseInt(e,36):1);for(let e=1;e<LA.length;e++)LA[e]+=LA[e-1];function RA(e){for(let t=1;t<LA.length;t+=2)if(LA[t]>e)return LA[t-1]<=e;return!1}function zA(e){return e>=127462&&e<=127487}var BA=8205;function VA(e,t,n=!0,r=!0){return(n?HA:UA)(e,t,r)}function HA(e,t,n){if(t==e.length)return t;t&&WA(e.charCodeAt(t))&&GA(e.charCodeAt(t-1))&&t--;let r=KA(e,t);for(t+=JA(r);t<e.length;){let i=KA(e,t);if(r==BA||i==BA||n&&RA(i))t+=JA(i),r=i;else if(zA(i)){let n=0,r=t-2;for(;r>=0&&zA(KA(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function UA(e,t,n){for(;t>0;){let r=HA(e,t-2,n);if(r<t)return r;t--}return 0}function WA(e){return e>=56320&&e<57344}function GA(e){return e>=55296&&e<56320}function KA(e,t){let n=e.charCodeAt(t);if(!GA(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return WA(r)?(n-55296<<10)+(r-56320)+65536:n}function qA(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function JA(e){return e<65536?1:2}var YA=/\r\n?|\n/,XA=(function(e){return e[e.Simple=0]=`Simple`,e[e.TrackDel=1]=`TrackDel`,e[e.TrackBefore=2]=`TrackBefore`,e[e.TrackAfter=3]=`TrackAfter`,e})(XA||={}),ZA=class e{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){let i=this.sections[t++],a=this.sections[t++];a<0?(e(n,r,i),r+=i):r+=a,n+=i}}iterChangedRanges(e,t=!1){tj(this,e,t)}get invertedDesc(){let t=[];for(let e=0;e<this.sections.length;){let n=this.sections[e++],r=this.sections[e++];r<0?t.push(n,r):t.push(r,n)}return new e(t)}composeDesc(e){return this.empty?e:e.empty?this:rj(this,e)}mapDesc(e,t=!1){return e.empty?this:nj(this,e,t)}mapPos(e,t=-1,n=XA.Simple){let r=0,i=0;for(let a=0;a<this.sections.length;){let o=this.sections[a++],s=this.sections[a++],c=r+o;if(s<0){if(c>e)return i+(e-r);i+=o}else{if(n!=XA.Simple&&c>=e&&(n==XA.TrackDel&&r<e&&c>e||n==XA.TrackBefore&&r<e||n==XA.TrackAfter&&c>e))return null;if(c>e||c==e&&t<0&&!o)return e==r||t<0?i:i+s;i+=s}r=c}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return i}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){let i=this.sections[n++],a=this.sections[n++],o=r+i;if(a>=0&&r<=t&&o>=e)return r<e&&o>t?`cover`:!0;r=o}return!1}toString(){let e=``;for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];e+=(e?` `:``)+n+(r>=0?`:`+r:``)}return e}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(e=>typeof e!=`number`))throw RangeError(`Invalid JSON representation of ChangeDesc`);return new e(t)}static create(t){return new e(t)}},QA=class e extends ZA{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError(`Applying change set to a document with the wrong length`);return tj(this,(t,n,r,i,a)=>e=e.replace(r,r+(n-t),a),!1),e}
vendor: 4,879 bytes, line 26
26mapDesc(e,t=!1){return nj(this,e,t,!0)}invert(t){let n=this.sections.slice(),r=[];for(let e=0,i=0;e<n.length;e+=2){let a=n[e],o=n[e+1];if(o>=0){n[e]=o,n[e+1]=a;let s=e>>1;for(;r.length<s;)r.push(DA.empty);r.push(a?t.slice(i,i+a):DA.empty)}i+=a}return new e(n,r)}compose(e){return this.empty?e:e.empty?this:rj(this,e,!0)}map(e,t=!1){return e.empty?this:nj(this,e,t,!0)}iterChanges(e,t=!1){tj(this,e,t)}get desc(){return ZA.create(this.sections)}filter(t){let n=[],r=[],i=[],a=new ij(this);done:for(let e=0,o=0;;){let s=e==t.length?1e9:t[e++];for(;o<s||o==s&&a.len==0;){if(a.done)break done;let e=Math.min(a.len,s-o);$A(i,e,-1);let t=a.ins==-1?-1:a.off==0?a.ins:0;$A(n,e,t),t>0&&ej(r,n,a.text),a.forward(e),o+=e}let c=t[e++];for(;o<c;){if(a.done)break done;let e=Math.min(a.len,c-o);$A(n,e,-1),$A(i,e,a.ins==-1?-1:a.off==0?a.ins:0),a.forward(e),o+=e}}return{changes:new e(n,r),filtered:ZA.create(i)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],r=this.sections[t+1];r<0?e.push(n):r==0?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(t,n,r){let i=[],a=[],o=0,s=null;function c(t=!1){if(!t&&!i.length)return;o<n&&$A(i,n-o,-1);let r=new e(i,a);s=s?s.compose(r.map(s)):r,i=[],a=[],o=0}function l(t){if(Array.isArray(t))for(let e of t)l(e);else if(t instanceof e){if(t.length!=n)throw RangeError(`Mismatched change set length (got ${t.length}, expected ${n})`);c(),s=s?s.compose(t.map(s)):t}else{let{from:e,to:s=e,insert:l}=t;if(e>s||e<0||s>n)throw RangeError(`Invalid change range ${e} to ${s} (in doc of length ${n})`);let u=l?typeof l==`string`?DA.of(l.split(r||YA)):l:DA.empty,d=u.length;if(e==s&&d==0)return;e<o&&c(),e>o&&$A(i,e-o,-1),$A(i,s-e,d),ej(a,i,u),o=s}}return l(t),c(!s),s}static empty(t){return new e(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw RangeError(`Invalid JSON representation of ChangeSet`);let n=[],r=[];for(let e=0;e<t.length;e++){let i=t[e];if(typeof i==`number`)n.push(i,-1);else if(!Array.isArray(i)||typeof i[0]!=`number`||i.some((e,t)=>t&&typeof e!=`string`))throw RangeError(`Invalid JSON representation of ChangeSet`);else if(i.length==1)n.push(i[0],0);else{for(;r.length<e;)r.push(DA.empty);r[e]=DA.of(i.slice(1)),n.push(i[0],r[e].length)}}return new e(n,r)}static createSet(t,n){return new e(t,n)}};function $A(e,t,n,r=!1){if(t==0&&n<=0)return;let i=e.length-2;i>=0&&n<=0&&n==e[i+1]?e[i]+=t:t==0&&e[i]==0?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}function ej(e,t,n){if(n.length==0)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(DA.empty);e.push(n)}}function tj(e,t,n){let r=e.inserted;for(let i=0,a=0,o=0;o<e.sections.length;){let s=e.sections[o++],c=e.sections[o++];if(c<0)i+=s,a+=s;else{let l=i,u=a,d=DA.empty;for(;l+=s,u+=c,c&&r&&(d=d.append(r[o-2>>1])),!(n||o==e.sections.length||e.sections[o+1]<0);)s=e.sections[o++],c=e.sections[o++];t(i,l,a,u,d),i=l,a=u}}}function nj(e,t,n,r=!1){let i=[],a=r?[]:null,o=new ij(e),s=new ij(t);for(let e=-1;;)if(o.ins==-1&&s.ins==-1){let e=Math.min(o.len,s.len);$A(i,e,-1),o.forward(e),s.forward(e)}else if(s.ins>=0&&(o.ins<0||e==o.i||o.off==0&&(s.len<o.len||s.len==o.len&&!n))){let t=s.len;for($A(i,s.ins,-1);t;){let n=Math.min(o.len,t);o.ins>=0&&e<o.i&&o.len<=n&&($A(i,0,o.ins),a&&ej(a,i,o.text),e=o.i),o.forward(n),t-=n}s.next()}else if(o.ins>=0){let t=0,n=o.len;for(;n;)if(s.ins==-1){let e=Math.min(n,s.len);t+=e,n-=e,s.forward(e)}else if(s.ins==0&&s.len<n)n-=s.len,s.next();else break;$A(i,t,e<o.i?o.ins:0),a&&e<o.i&&ej(a,i,o.text),e=o.i,o.forward(o.len-n)}else if(o.done&&s.done)return a?QA.createSet(i,a):ZA.create(i);else throw Error(`Mismatched change set lengths`)}function rj(e,t,n=!1){let r=[],i=n?[]:null,a=new ij(e),o=new ij(t);for(let e=!1;;)if(a.done&&o.done)return i?QA.createSet(r,i):ZA.create(r);else if(a.ins==0)$A(r,a.len,0,e),a.next();else if(o.len==0&&!o.done)$A(r,0,o.ins,e),i&&ej(i,r,o.text),o.next();else if(a.done||o.done)throw Error(`Mismatched change set lengths`);else{let t=Math.min(a.len2,o.len),n=r.length;if(a.ins==-1){let n=o.ins==-1?-1:o.off?0:o.ins;$A(r,t,n,e),i&&n&&ej(i,r,o.text)}else o.ins==-1?($A(r,a.off?0:a.len,t,e),i&&ej(i,r,a.textBit(t))):($A(r,a.off?0:a.len,o.off?0:o.ins,e),i&&!o.off&&ej(i,r,o.text));e=(a.ins>t||o.ins>=0&&o.len>t)&&(e||r.length>n),a.forward2(t),o.forward(t)}}var ij=class{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?DA.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?DA.empty:t[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}
vendor: 9,082 bytes, line 26
26forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}},aj=class e{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(t,n=-1){let r,i;return this.empty?r=i=t.mapPos(this.from,n):(r=t.mapPos(this.from,1),i=t.mapPos(this.to,-1)),r==this.from&&i==this.to?this:new e(r,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return q.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return q.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!=`number`||typeof e.head!=`number`)throw RangeError(`Invalid JSON representation for SelectionRange`);return q.range(e.anchor,e.head)}static create(t,n,r){return new e(t,n,r)}},q=class e{constructor(e,t){this.ranges=e,this.mainIndex=t}map(t,n=-1){return t.empty?this:e.create(this.ranges.map(e=>e.map(t,n)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;t<this.ranges.length;t++)if(!this.ranges[t].eq(e.ranges[t]))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new e([this.main],0)}addRange(t,n=!0){return e.create([t].concat(this.ranges),n?0:this.mainIndex+1)}replaceRange(t,n=this.mainIndex){let r=this.ranges.slice();return r[n]=t,e.create(r,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!=`number`||t.main>=t.ranges.length)throw RangeError(`Invalid JSON representation for EditorSelection`);return new e(t.ranges.map(e=>aj.fromJSON(e)),t.main)}static single(t,n=t){return new e([e.range(t,n)],0)}static create(t,n=0){if(t.length==0)throw RangeError(`A selection needs at least one range`);for(let r=0,i=0;i<t.length;i++){let a=t[i];if(a.empty?a.from<=r:a.from<r)return e.normalized(t.slice(),n);r=a.to}return new e(t,n)}static cursor(e,t=0,n,r){return aj.create(e,e,(t==0?0:t<0?4:8)|(n==null?3:Math.min(2,n))|(r??33554431)<<5)}static range(e,t,n,r){let i=(n??33554431)<<5|(r==null?3:Math.min(2,r));return t<e?aj.create(t,e,24|i):aj.create(e,t,(t>e?4:0)|i)}static normalized(t,n=0){let r=t[n];t.sort((e,t)=>e.from-t.from),n=t.indexOf(r);for(let r=1;r<t.length;r++){let i=t[r],a=t[r-1];if(i.empty?i.from<=a.to:i.from<a.to){let o=a.from,s=Math.max(i.to,a.to);r<=n&&n--,t.splice(--r,2,i.anchor>i.head?e.range(s,o):e.range(o,s))}}return new e(t,n)}};function oj(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError(`Selection points outside of document`)}var sj=0,J=class e{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=sj++,this.default=e([]),this.extensions=typeof i==`function`?i(this):i}static define(t={}){return new e(t.combine||(e=>e),t.compareInput||((e,t)=>e===t),t.compare||(t.combine?(e,t)=>e===t:cj),!!t.static,t.enables)}of(e){return new lj([],this,0,e)}compute(e,t){if(this.isStatic)throw Error(`Can't compute a static facet`);return new lj(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error(`Can't compute a static facet`);return new lj(e,this,2,t)}from(e,t){return t||=e=>e,this.compute([e],n=>t(n.field(e)))}};function cj(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}var lj=class{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=sj++}dynamicSlot(e){let t=this.value,n=this.facet.compareInput,r=this.id,i=e[r]>>1,a=this.type==2,o=!1,s=!1,c=[];for(let t of this.dependencies)t==`doc`?o=!0:t==`selection`?s=!0:(e[t.id]??1)&1||c.push(e[t.id]);return{create(e){return e.values[i]=t(e),1},update(e,r){if(o&&r.docChanged||s&&(r.docChanged||r.selection)||dj(e,c)){let r=t(e);if(a?!uj(r,e.values[i],n):!n(r,e.values[i]))return e.values[i]=r,1}return 0},reconfigure:(e,o)=>{let s,c=o.config.address[r];if(c!=null){let r=wj(o,c);if(this.dependencies.every(t=>t instanceof J?o.facet(t)===e.facet(t):t instanceof mj?o.field(t,!1)==e.field(t,!1):!0)||(a?uj(s=t(e),r,n):n(s=t(e),r)))return e.values[i]=r,0}else s=t(e);return e.values[i]=s,1}}}};function uj(e,t,n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function dj(e,t){let n=!1;for(let r of t)Cj(e,r)&1&&(n=!0);return n}function fj(e,t,n){let r=n.map(t=>e[t.id]),i=n.map(e=>e.type),a=r.filter(e=>!(e&1)),o=e[t.id]>>1;function s(e){let n=[];for(let t=0;t<r.length;t++){let a=wj(e,r[t]);if(i[t]==2)for(let e of a)n.push(e);else n.push(a)}return t.combine(n)}return{create(e){for(let t of r)Cj(e,t);return e.values[o]=s(e),1},update(e,n){if(!dj(e,a))return 0;let r=s(e);return t.compare(r,e.values[o])?0:(e.values[o]=r,1)},reconfigure(e,i){let a=dj(e,r),c=i.config.facets[t.id],l=i.facet(t);if(c&&!a&&cj(n,c))return e.values[o]=l,0;let u=s(e);return t.compare(u,l)?(e.values[o]=l,0):(e.values[o]=u,1)}}}var pj=J.define({static:!0}),mj=class e{constructor(e,t,n,r,i){this.id=e,this.createF=t,this.updateF=n,this.compareF=r,this.spec=i,this.provides=void 0}static define(t){let n=new e(sj++,t.create,t.update,t.compare||((e,t)=>e===t),t);return t.provide&&(n.provides=t.provide(n)),n}create(e){return(e.facet(pj).find(e=>e.field==this)?.create||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let r=e.values[t],i=this.updateF(r,n);return this.compareF(r,i)?0:(e.values[t]=i,1)},reconfigure:(e,n)=>n.config.address[this.id]==null?(e.values[t]=this.create(e),1):(e.values[t]=n.field(this),0)}}init(e){return[this,pj.of({field:this,create:e})]}get extension(){return this}},hj={lowest:4,low:3,default:2,high:1,highest:0};function gj(e){return t=>new vj(t,e)}var _j={highest:gj(hj.highest),high:gj(hj.high),default:gj(hj.default),low:gj(hj.low),lowest:gj(hj.lowest)},vj=class{constructor(e,t){this.inner=e,this.prec=t}},yj=class e{of(e){return new bj(this,e)}reconfigure(t){return e.reconfigure.of({compartment:this,extension:t})}get(e){return e.config.compartments.get(this)}},bj=class{constructor(e,t){this.compartment=e,this.inner=t}},xj=class e{constructor(e,t,n,r,i,a){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=i,this.facets=a,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return t==null?e.default:this.staticValues[t>>1]}static resolve(t,n,r){let i=[],a=Object.create(null),o=new Map;for(let e of Sj(t,n,o))e instanceof mj?i.push(e):(a[e.facet.id]||(a[e.facet.id]=[])).push(e);let s=Object.create(null),c=[],l=[];for(let e of i)s[e.id]=l.length<<1,l.push(t=>e.slot(t));let u=r?.config.facets;for(let e in a){let t=a[e],n=t[0].facet,i=u&&u[e]||[];if(t.every(e=>e.type==0))if(s[n.id]=c.length<<1|1,cj(i,t))c.push(r.facet(n));else{let e=n.combine(t.map(e=>e.value));c.push(r&&n.compare(e,r.facet(n))?r.facet(n):e)}else{for(let e of t)e.type==0?(s[e.id]=c.length<<1|1,c.push(e.value)):(s[e.id]=l.length<<1,l.push(t=>e.dynamicSlot(t)));s[n.id]=l.length<<1,l.push(e=>fj(e,n,t))}}let d=l.map(e=>e(s));return new e(t,o,d,s,c,a)}};function Sj(e,t,n){let r=[[],[],[],[],[]],i=new Map;function a(e,o){let s=i.get(e);if(s!=null){if(s<=o)return;let t=r[s].indexOf(e);t>-1&&r[s].splice(t,1),e instanceof bj&&n.delete(e.compartment)}if(i.set(e,o),Array.isArray(e))for(let t of e)a(t,o);else if(e instanceof bj){if(n.has(e.compartment))throw RangeError(`Duplicate use of compartment in extensions`);let r=t.get(e.compartment)||e.inner;n.set(e.compartment,r),a(r,o)}else if(e instanceof vj)a(e.inner,e.prec);else if(e instanceof mj)r[o].push(e),e.provides&&a(e.provides,o);else if(e instanceof lj)r[o].push(e),e.facet.extensions&&a(e.facet.extensions,hj.default);else{let t=e.extension;if(!t)throw Error(`Unrecognized extension value in extension set (${e}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);a(t,o)}}return a(e,hj.default),r.reduce((e,t)=>e.concat(t))}function Cj(e,t){if(t&1)return 2;let n=t>>1,r=e.status[n];if(r==4)throw Error(`Cyclic dependency between fields and/or facets`);if(r&2)return r;e.status[n]=4;let i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function wj(e,t){return t&1?e.config.staticValues[t>>1]:e.values[t>>1]}var Tj=J.define(),Ej=J.define({combine:e=>e.some(e=>e),static:!0}),Dj=J.define({combine:e=>e.length?e[0]:void 0,static:!0}),Oj=J.define(),kj=J.define(),Aj=J.define(),jj=J.define({combine:e=>e.length?e[0]:!1}),Mj=class{constructor(e,t){this.type=e,this.value=t}static define(){return new Nj}},Nj=class{of(e){return new Mj(this,e)}},Pj=class{constructor(e){this.map=e}of(e){return new Fj(this,e)}},Fj=class e{constructor(e,t){this.type=e,this.value=t}map(t){let n=this.type.map(this.value,t);
vendor: 4,742 bytes, line 26
26return n===void 0?void 0:n==this.value?this:new e(this.type,n)}is(e){return this.type==e}static define(e={}){return new Pj(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}};Fj.reconfigure=Fj.define(),Fj.appendConfig=Fj.define();var Ij=class e{constructor(t,n,r,i,a,o){this.startState=t,this.changes=n,this.selection=r,this.effects=i,this.annotations=a,this.scrollIntoView=o,this._doc=null,this._state=null,r&&oj(r,n.newLength),a.some(t=>t.type==e.time)||(this.annotations=a.concat(e.time.of(Date.now())))}static create(t,n,r,i,a,o){return new e(t,n,r,i,a,o)}get newDoc(){return this._doc||=this.changes.apply(this.startState.doc)}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let n=this.annotation(e.userEvent);return!!(n&&(n==t||n.length>t.length&&n.slice(0,t.length)==t&&n[t.length]==`.`))}};Ij.time=Mj.define(),Ij.userEvent=Mj.define(),Ij.addToHistory=Mj.define(),Ij.remote=Mj.define();function Lj(e,t){let n=[];for(let r=0,i=0;;){let a,o;if(r<e.length&&(i==t.length||t[i]>=e[r]))a=e[r++],o=e[r++];else if(i<t.length)a=t[i++],o=t[i++];else return n;!n.length||n[n.length-1]<a?n.push(a,o):n[n.length-1]<o&&(n[n.length-1]=o)}}function Rj(e,t,n){let r,i,a;return n?(r=t.changes,i=QA.empty(t.changes.length),a=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),i=e.changes.mapDesc(t.changes,!0),a=e.changes.compose(r)),{changes:a,selection:t.selection?t.selection.map(i):e.selection?.map(r),effects:Fj.mapEffects(e.effects,r).concat(Fj.mapEffects(t.effects,i)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function zj(e,t,n){let r=t.selection,i=Wj(t.annotations);return t.userEvent&&(i=i.concat(Ij.userEvent.of(t.userEvent))),{changes:t.changes instanceof QA?t.changes:QA.of(t.changes||[],n,e.facet(Dj)),selection:r&&(r instanceof q?r:q.single(r.anchor,r.head)),effects:Wj(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}function Bj(e,t,n){let r=zj(e,t.length?t[0]:{},e.doc.length);t.length&&t[0].filter===!1&&(n=!1);for(let i=1;i<t.length;i++){t[i].filter===!1&&(n=!1);let a=!!t[i].sequential;r=Rj(r,zj(e,t[i],a?r.changes.newLength:e.doc.length),a)}let i=Ij.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return Hj(n?Vj(i):i)}function Vj(e){let t=e.startState,n=!0;for(let r of t.facet(Oj)){let t=r(e);if(t===!1){n=!1;break}Array.isArray(t)&&(n=n===!0?t:Lj(n,t))}if(n!==!0){let r,i;if(n===!1)i=e.changes.invertedDesc,r=QA.empty(t.doc.length);else{let t=e.changes.filter(n);r=t.changes,i=t.filtered.mapDesc(t.changes).invertedDesc}e=Ij.create(t,r,e.selection&&e.selection.map(i),Fj.mapEffects(e.effects,i),e.annotations,e.scrollIntoView)}let r=t.facet(kj);for(let n=r.length-1;n>=0;n--){let i=r[n](e);e=i instanceof Ij?i:Array.isArray(i)&&i.length==1&&i[0]instanceof Ij?i[0]:Bj(t,Wj(i),!1)}return e}function Hj(e){let t=e.startState,n=t.facet(Aj),r=e;for(let i=n.length-1;i>=0;i--){let a=n[i](e);a&&Object.keys(a).length&&(r=Rj(r,zj(t,a,e.changes.newLength),!0))}return r==e?e:Ij.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}var Uj=[];function Wj(e){return e==null?Uj:Array.isArray(e)?e:[e]}var Gj=(function(e){return e[e.Word=0]=`Word`,e[e.Space=1]=`Space`,e[e.Other=2]=`Other`,e})(Gj||={}),Kj=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,qj;try{qj=RegExp(`[\\p{Alphabetic}\\p{Number}_]`,`u`)}catch{}function Jj(e){if(qj)return qj.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>`Â`&&(n.toUpperCase()!=n.toLowerCase()||Kj.test(n)))return!0}return!1}function Yj(e){return t=>{if(!/\S/.test(t))return Gj.Space;if(Jj(t))return Gj.Word;for(let n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return Gj.Word;return Gj.Other}}var Xj=class e{constructor(e,t,n,r,i,a){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=i,a&&(a._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)Cj(this,e<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(n==null){if(t)throw RangeError(`Field is not present in this state`);return}return Cj(this,n),wj(this,n)}update(...e){return Bj(this,e,!0)}applyTransaction(t){let n=this.config,{base:r,compartments:i}=n;for(let e of t.effects)e.is(yj.reconfigure)?(n&&=(i=new Map,n.compartments.forEac
vendor: 15,932 bytes, lines 26-27
26h((e,t)=>i.set(t,e)),null),i.set(e.value.compartment,e.value.extension)):e.is(Fj.reconfigure)?(n=null,r=e.value):e.is(Fj.appendConfig)&&(n=null,r=Wj(r).concat(e.value));let a;n?a=t.startState.values.slice():(n=xj.resolve(r,i,this),a=new e(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values),new e(n,t.newDoc,t.newSelection,a,(e,n)=>n.update(e,t),t)}replaceSelection(e){return typeof e==`string`&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:q.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],a=Wj(n.effects);for(let n=1;n<t.ranges.length;n++){let o=e(t.ranges[n]),s=this.changes(o.changes),c=s.map(r);for(let e=0;e<n;e++)i[e]=i[e].map(c);let l=r.mapDesc(s,!0);i.push(o.range.map(l)),r=r.compose(c),a=Fj.mapEffects(a,c).concat(Fj.mapEffects(Wj(o.effects),l))}return{changes:r,selection:q.create(i,t.mainIndex),effects:a}}changes(t=[]){return t instanceof QA?t:QA.of(t,this.doc.length,this.facet(e.lineSeparator))}toText(t){return DA.of(t.split(this.facet(e.lineSeparator)||YA))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return t==null?e.default:(Cj(this,t),wj(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let r=e[n];r instanceof mj&&this.config.address[r.id]!=null&&(t[n]=r.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(t,n={},r){if(!t||typeof t.doc!=`string`)throw RangeError(`Invalid JSON representation for EditorState`);let i=[];if(r){for(let e in r)if(Object.prototype.hasOwnProperty.call(t,e)){let n=r[e],a=t[e];i.push(n.init(e=>n.spec.fromJSON(a,e)))}}return e.create({doc:t.doc,selection:q.fromJSON(t.selection),extensions:n.extensions?i.concat([n.extensions]):i})}static create(t={}){let n=xj.resolve(t.extensions||[],new Map),r=t.doc instanceof DA?t.doc:DA.of((t.doc||``).split(n.staticFacet(e.lineSeparator)||YA)),i=t.selection?t.selection instanceof q?t.selection:q.single(t.selection.anchor,t.selection.head):q.single(0);return oj(i,r.length),n.staticFacet(Ej)||(i=i.asSingle()),new e(n,r,i,n.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(e.tabSize)}get lineBreak(){return this.facet(e.lineSeparator)||` 27`}get readOnly(){return this.facet(jj)}phrase(t,...n){for(let n of this.facet(e.phrases))if(Object.prototype.hasOwnProperty.call(n,t)){t=n[t];break}return n.length&&(t=t.replace(/\$(\$|\d*)/g,(e,t)=>{if(t==`$`)return`$`;let r=+(t||1);return!r||r>n.length?e:n[r-1]})),t}languageDataAt(e,t,n=-1){let r=[];for(let i of this.facet(Tj))for(let a of i(this,t,n))Object.prototype.hasOwnProperty.call(a,e)&&r.push(a[e]);return r}charCategorizer(e){return Yj(this.languageDataAt(`wordChars`,e).join(``))}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),i=this.charCategorizer(e),a=e-n,o=e-n;for(;a>0;){let e=VA(t,a,!1);if(i(t.slice(e,a))!=Gj.Word)break;a=e}for(;o<r;){let e=VA(t,o);if(i(t.slice(o,e))!=Gj.Word)break;o=e}return a==o?null:q.range(a+n,o+n)}};Xj.allowMultipleSelections=Ej,Xj.tabSize=J.define({combine:e=>e.length?e[0]:4}),Xj.lineSeparator=Dj,Xj.readOnly=jj,Xj.phrases=J.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(n=>e[n]==t[n])}}),Xj.languageData=Tj,Xj.changeFilter=Oj,Xj.transactionFilter=kj,Xj.transactionExtender=Aj,yj.reconfigure=Fj.define();function Zj(e,t,n={}){let r={};for(let t of e)for(let e of Object.keys(t)){let i=t[e],a=r[e];if(a===void 0)r[e]=i;else if(!(a===i||i===void 0))if(Object.hasOwnProperty.call(n,e))r[e]=n[e](a,i);else throw Error(`Config merge conflict for field `+e)}for(let e in t)r[e]===void 0&&(r[e]=t[e]);return r}var Qj=class{eq(e){return this==e}range(e,t=e){return $j.create(e,t,this)}};Qj.prototype.startSide=Qj.prototype.endSide=0,Qj.prototype.point=!1,Qj.prototype.mapMode=XA.TrackDel;var $j=class e{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(t,n,r){return new e(t,n,r)}};function eM(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}var tM=class e{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let i=n?this.to:this.from;for(let a=r,o=i.length;;){if(a==o)return a;let r=a+o>>1,s=i[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==a)return s>=0?a:o;s>=0?o=r:a=r+1}}between(e,t,n,r){for(let i=this.findIndex(t,-1e9,!0),a=this.findIndex(n,1e9,!1,i);i<a;i++)if(r(this.from[i]+e,this.to[i]+e,this.value[i])===!1)return!1}map(t,n){let r=[],i=[],a=[],o=-1,s=-1;for(let e=0;e<this.value.length;e++){let c=this.value[e],l=this.from[e]+t,u=this.to[e]+t,d,f;if(l==u){let e=n.mapPos(l,c.startSide,c.mapMode);if(e==null||(d=f=e,c.startSide!=c.endSide&&(f=n.mapPos(l,c.endSide),f<d)))continue}else if(d=n.mapPos(l,c.startSide),f=n.mapPos(u,c.endSide),d>f||d==f&&c.startSide>0&&c.endSide<=0)continue;(f-d||c.endSide-c.startSide)<0||(o<0&&(o=d),c.point&&(s=Math.max(s,f-d)),r.push(c),i.push(d-o),a.push(f-o))}return{mapped:r.length?new e(i,a,r,s):null,pos:o}}},nM=class e{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(t,n,r,i){return new e(t,n,r,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(t){let{add:n=[],sort:r=!1,filterFrom:i=0,filterTo:a=this.length}=t,o=t.filter;if(n.length==0&&!o)return this;if(r&&(n=n.slice().sort(eM)),this.isEmpty)return n.length?e.of(n):this;let s=new oM(this,null,-1).goto(0),c=0,l=[],u=new iM;for(;s.value||c<n.length;)if(c<n.length&&(s.from-n[c].from||s.startSide-n[c].value.startSide)>=0){let e=n[c++];u.addInner(e.from,e.to,e.value)||l.push(e)}else s.rangeIndex==1&&s.chunkIndex<this.chunk.length&&(c==n.length||this.chunkEnd(s.chunkIndex)<n[c].from)&&(!o||i>this.chunkEnd(s.chunkIndex)||a<this.chunkPos[s.chunkIndex])&&u.addChunk(this.chunkPos[s.chunkIndex],this.chunk[s.chunkIndex])?s.nextChunk():((!o||i>s.to||a<s.from||o(s.from,s.to,s.value))&&(u.addInner(s.from,s.to,s.value)||l.push($j.create(s.from,s.to,s.value))),s.next());return u.finishInner(this.nextLayer.isEmpty&&!l.length?e.empty:this.nextLayer.update({add:l,filter:o,filterFrom:i,filterTo:a}))}map(t){if(t.empty||this.isEmpty)return this;let n=[],r=[],i=-1;for(let e=0;e<this.chunk.length;e++){let a=this.chunkPos[e],o=this.chunk[e],s=t.touchesRange(a,a+o.length);if(s===!1)i=Math.max(i,o.maxPoint),n.push(o),r.push(t.mapPos(a));else if(s===!0){let{mapped:e,pos:s}=o.map(a,t);e&&(i=Math.max(i,e.maxPoint),n.push(e),r.push(s))}}let a=this.nextLayer.map(t);return n.length==0?a:new e(r,n,a||e.empty,i)}between(e,t,n){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let i=this.chunkPos[r],a=this.chunk[r];if(t>=i&&e<=i+a.length&&a.between(i,e-i,t-i,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return sM.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return sM.from(e).goto(t)}static compare(e,t,n,r,i=-1){let a=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),s=aM(a,o,n),c=new lM(a,s,i),l=new lM(o,s,i);n.iterGaps((e,t,n)=>uM(c,e,l,t,n,r)),n.empty&&n.length==0&&uM(c,0,l,0,0,r)}static eq(e,t,n=0,r){r??=999999999;let i=e.filter(e=>!e.isEmpty&&t.indexOf(e)<0),a=t.filter(t=>!t.isEmpty&&e.indexOf(t)<0);if(i.length!=a.length)return!1;if(!i.length)return!0;let o=aM(i,a),s=new lM(i,o,0).goto(n),c=new lM(a,o,0).goto(n);for(;;){if(s.to!=c.to||!dM(s.active,c.active)||s.point&&(!c.point||!s.point.eq(c.point)))return!1;if(s.to>r)return!0;s.next(),c.next()}}static spans(e,t,n,r,i=-1){let a=new lM(e,null,i).goto(t),o=t,s=a.openStart;for(;;){let e=Math.min(a.to,n);if(a.point){let n=a.activeForPoint(a.to),i=a.pointFrom<t?n.length+1:Math.min(n.length,s);r.point(o,e,a.point,n,i,a.pointRank),s=Math.min(a.openEnd(e),n.length)}else e>o&&(r.span(o,e,a.active,s),s=a.openEnd(e));if(a.to>n)return s+(a.point&&a.to>n?1:0);o=a.to,a.next()}}static of(e,t=!1){let n=new iM;for(let r of e instanceof $j?[e]:t?rM(e):e)n.add(r.from,r.to,r.value);return n.finish()}};nM.empty=new nM([],[],null,-1);function rM(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(eM(t,r)>0)return e.slice().sort(eM);t=r}return e}nM.empty.nextLayer=nM.empty;var iM=class e{finishChunk(e){this.chunks.push(new tM(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(t,n,r){this.addInner(t,n,r)||(this.nextLayer||=new e).add(t,n,r)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(nM.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=nM.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}};function aM(e,t,n){let r=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&r.set(t.chunk[e],t.chunkPos[e]);let i=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let a=r.get(e.chunk[t]);a!=null&&(n?n.mapPos(a):a)==e.chunkPos[t]&&!n?.touchesRange(a,a+e.chunk[t].length)&&i.add(e.chunk[t])}return i}var oM=class{constructor(e,t,n,r=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=r}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}},sM=class e{constructor(e){this.heap=e}static from(t,n=null,r=-1){let i=[];for(let e=0;e<t.length;e++)for(let a=t[e];!a.isEmpty;a=a.nextLayer)a.maxPoint>=r&&i.push(new oM(a,n,r,e));return i.length==1?i[0]:new e(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)cM(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)cM(this.heap,e);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),cM(this.heap,0)}}};function cM(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let i=e[r];if(r+1<e.length&&i.compare(e[r+1])>=0&&(i=e[r+1],r++),n.compare(i)<0)break;e[r]=n,e[t]=i,t=r}}var lM=class{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=sM.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){fM(this.active,e),fM(this.activeTo,e),fM(this.activeRank,e),this.minActive=mM(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:r,rank:i}=this.cursor;for(;t<this.activeRank.length&&this.activeRank[t]<=i;)t++;pM(this.active,t,n),pM(this.activeTo,t,r),pM(this.activeRank,t,i),e&&pM(e,t,this.cursor.from),this.minActive=mM(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&fM(n,r)}else if(!this.cursor.value){this.to=this.endSide=1e9;break}else if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let e=this.cursor.value;if(!e.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}}if(n){this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}};function uM(e,t,n,r,i,a){e.goto(t),n.goto(r);let o=r+i,s=r,c=r-t;for(;;){let t=e.to+c-n.to||e.endSide-n.endSide,r=t<0?e.to+c:n.to,i=Math.min(r,o);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&dM(e.activeForPoint(e.to),n.activeForPoint(n.to))||a.comparePoint(s,i,e.point,n.point):i>s&&!dM(e.active,n.active)&&a.compareRange(s,i,e.active,n.active),r>o)break;s=r,t<=0&&e.next(),t>=0&&n.next()}}function dM(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!e[n].eq(t[n]))return!1;return!0}function fM(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}
27function pM(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function mM(e,t){let n=-1,r=1e9;for(let i=0;i<t.length;i++)(t[i]-r||e[i].endSide-e[n].endSide)<0&&(n=i,r=t[i]);return n}function hM(e,t,n=e.length){let r=0;for(let i=0;i<n;)e.charCodeAt(i)==9?(r+=t-r%t,i++):(r++,i=VA(e,i));return r}function gM(e,t,n,r){for(let r=0,i=0;;){if(i>=t)return r;if(r==e.length)break;i+=e.charCodeAt(r)==9?n-i%n:1,r=VA(e,r)}return r===!0?-1:e.length}Wr();for(var _M=`ͼ`,vM=typeof Symbol>`u`?`__ͼ`:Symbol.for(_M),yM=typeof Symbol>`u`?`__styleSet`+Math.floor(Math.random()*1e8):Symbol(`styleSet`),bM=typeof globalThis<`u`?globalThis:typeof window<`u`?window:{},xM=class{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function i(e,t,a,o){let s=[],c=/^@(\w+)\b/.exec(e[0]),l=c&&c[1]==`keyframes`;if(c&&t==null)return a.push(e[0]+`;`);for(let n in t){let o=t[n];if(/&/.test(n))i(n.split(/,\s*/).map(t=>e.map(e=>t.replace(/&/,e))).reduce((e,t)=>e.concat(t)),o,a);else if(o&&typeof o==`object`){if(!c)throw RangeError(`The value of a property (`+n+`) should be a primitive value.`);i(r(n),o,s,l)}else o!=null&&s.push(n.replace(/_.*/,``).replace(/[A-Z]/g,e=>`-`+e.toLowerCase())+`: `+o+`;`)}(s.length||l)&&a.push((n&&!c&&!o?e.map(n):e).join(`, `)+` {`+s.join(` `)+`}`)}for(let t in e)i(r(t),e[t],this.rules)}getRules(){return this.rules.join(` 28`)}static newName(){let e=bM[vM]||1;return bM[vM]=e+1,_M+e.toString(36)}static mount(e,t,n){let r=e[yM],i=n&&n.nonce;r?i&&r.setNonce(i):r=new CM(e,i),r.mount(Array.isArray(t)?t:[t])}},SM=new Map,CM=class{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=SM.get(n);if(t)return e.adoptedStyleSheets=[t.sheet,...e.adoptedStyleSheets],e[yM]=t;this.sheet=new r.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],SM.set(n,this)}else{this.styleTag=n.createElement(`style`),t&&this.styleTag.setAttribute(`nonce`,t);let r=e.head||e;r.insertBefore(this.styleTag,r.firstChild)}this.modules=[],e[yM]=this}mount(e){let t=this.sheet,n=0,r=0;for(let i=0;i<e.length;i++){let a=e[i],o=this.modules.indexOf(a);if(o<r&&o>-1&&(this.modules.splice(o,1),r--,o=-1),o==-1){if(this.modules.splice(r++,0,a),t)for(let e=0;e<a.rules.length;e++)t.insertRule(a.rules[e],n++)}else{for(;r<o;)n+=this.modules[r++].rules.length;n+=a.rules.length,r++}}if(!t){let e=``;for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+` 29`;this.styleTag.textContent=e}}setNonce(e){this.styleTag&&this.styleTag.getAttribute(`nonce`)!=e&&this.styleTag.setAttribute(`nonce`,e)}},wM={8:`Backspace`,9:`Tab`,10:`Enter`,12:`NumLock`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,44:`PrintScreen`,45:`Insert`,46:`Delete`,59:`;`,61:`=`,91:`Meta`,92:`Meta`,106:`*`,107:`+`,108:`,`,109:`-`,110:`.`,111:`/`,144:`NumLock`,145:`ScrollLock`,160:`Shift`,161:`Shift`,162:`Control`,163:`Control`,164:`Alt`,165:`Alt`,173:`-`,186:`;`,187:`=`,188:`,`,189:`-`,190:`.`,191:`/`,192:"`",219:`[`,220:`\\`,221:`]`,222:`'`},TM={48:`)`,49:`!`,50:`@`,51:`#`,52:`$`,53:`%`,54:`^`,55:`&`,56:`*`,57:`(`,59:`:`,61:`+`,173:`_`,186:`:`,187:`+`,188:`<`,189:`_`,190:`>`,191:`?`,192:`~`,219:`{`,220:`|`,221:`}`,222:`"`},EM=typeof navigator<`u`&&/Mac/.test(navigator.platform),DM=typeof navigator<`u`&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),OM=0;OM<10;OM++)wM[48+OM]=wM[96+OM]=String(OM);for(var OM=1;OM<=24;OM++)wM[OM+111]=`F`+OM;for(var OM=65;OM<=90;OM++)wM[OM]=String.fromCharCode(OM+32),TM[OM]=String.fromCharCode(OM);for(var kM in wM)TM.hasOwnProperty(kM)||(TM[kM]=wM[kM]);function AM(e){var t=!(EM&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||DM&&e.shiftKey&&e.key&&e.key.length==1||e.key==`Unidentified`)&&e.key||(e.shiftKey?TM:wM)[e.keyCode]||e.key||`Unidentified`;return t==`Esc`&&(t=`Escape`),t==`Del`&&(t=`Delete`),t==`Left`&&(t=`ArrowLeft`),t==`Up`&&(t=`ArrowUp`),t==`Right`&&(t=`ArrowRight`),t==`Down`&&(t=`ArrowDown`),t}function jM(e){let t;return t=e.nodeType==11?e.getSelection?e:e.ownerDocument:e,t.getSelection()}function MM(e,t){return t?e==t||e.contains(t.nodeType==1?t:t.parentNode):!1}function NM(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function PM(e,t){if(!t.anchorNode)return!1;try{return MM(e,t.anchorNode)}catch{return!1}}
vendor: 35,424 bytes, line 29
29function FM(e){return e.nodeType==3?JM(e,0,e.nodeValue.length).getClientRects():e.nodeType==1?e.getClientRects():[]}function IM(e,t,n,r){return n?RM(e,t,n,r,-1)||RM(e,t,n,r,1):!1}function LM(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t}function RM(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:zM(e))){if(e.nodeName==`DIV`)return!1;let n=e.parentNode;if(!n||n.nodeType!=1)return!1;t=LM(e)+(i<0?0:1),e=n}else if(e.nodeType==1){if(e=e.childNodes[t+(i<0?-1:0)],e.nodeType==1&&e.contentEditable==`false`)return!1;t=i<0?zM(e):0}else return!1}}function zM(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function BM(e,t){let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function VM(e){return{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function HM(e,t,n,r,i,a,o,s){let c=e.ownerDocument,l=c.defaultView||window;for(let u=e,d=!1;u&&!d;)if(u.nodeType==1){let e,f=u==c.body,p=1,m=1;if(f)e=VM(l);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let t=u.getBoundingClientRect();p=t.width/u.offsetWidth,m=t.height/u.offsetHeight,e={left:t.left,right:t.left+u.clientWidth*p,top:t.top,bottom:t.top+u.clientHeight*m}}let h=0,g=0;if(i==`nearest`)t.top<e.top?(g=-(e.top-t.top+o),n>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+g+o)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+o,n<0&&t.top-g<e.top&&(g=-(e.top+g-t.top+o)));else{let r=t.bottom-t.top,a=e.bottom-e.top;g=(i==`center`&&r<=a?t.top+r/2-a/2:i==`start`||i==`center`&&n<0?t.top-o:t.bottom-a+o)-e.top}if(r==`nearest`?t.left<e.left?(h=-(e.left-t.left+a),n>0&&t.right>e.right+h&&(h=t.right-e.right+h+a)):t.right>e.right&&(h=t.right-e.right+a,n<0&&t.left<e.left+h&&(h=-(e.left+h-t.left+a))):h=(r==`center`?t.left+(t.right-t.left)/2-(e.right-e.left)/2:r==`start`==s?t.left-a:t.right-(e.right-e.left)+a)-e.left,h||g)if(f)l.scrollBy(h,g);else{let e=0,n=0;if(g){let e=u.scrollTop;u.scrollTop+=g/m,n=(u.scrollTop-e)*m}if(h){let t=u.scrollLeft;u.scrollLeft+=h/p,e=(u.scrollLeft-t)*p}t={left:t.left-e,top:t.top-n,right:t.right-e,bottom:t.bottom-n},e&&Math.abs(e-h)<1&&(r=`nearest`),n&&Math.abs(n-g)<1&&(i=`nearest`)}if(f)break;u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function UM(e){let t=e.ownerDocument;for(let n=e.parentNode;n&&n!=t.body;)if(n.nodeType==1){if(n.scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth)return n;n=n.assignedSlot||n.parentNode}else if(n.nodeType==11)n=n.host;else break;return null}var WM=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?zM(t):0),n,Math.min(e.focusOffset,n?zM(n):0))}set(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}},GM=null;function KM(e){if(e.setActive)return e.setActive();if(GM)return e.focus(GM);let t=[];for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(GM==null?{get preventScroll(){return GM={preventScroll:!0},!0}}:void 0),!GM){GM=!1;for(let e=0;e<t.length;){let n=t[e++],r=t[e++],i=t[e++];n.scrollTop!=r&&(n.scrollTop=r),n.scrollLeft!=i&&(n.scrollLeft=i)}}}var qM;function JM(e,t,n=t){let r=qM||=document.createRange();return r.setEnd(e,n),r.setStart(e,t),r}function YM(e,t,n){let r={key:t,code:t,keyCode:n,which:n,cancelable:!0},i=new KeyboardEvent(`keydown`,r);i.synthetic=!0,e.dispatchEvent(i);let a=new KeyboardEvent(`keyup`,r);return a.synthetic=!0,e.dispatchEvent(a),i.defaultPrevented||a.defaultPrevented}function XM(e){for(;e;){if(e&&(e.nodeType==9||e.nodeType==11&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}function ZM(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}function QM(e,t){let n=t.focusNode,r=t.focusOffset;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1;for(r=Math.min(r,zM(n));;)if(r){if(n.nodeType!=1)return!1;let e=n.childNodes[r-1];e.contentEditable==`false`?r--:(n=e,r=zM(n))}else if(n==e)return!0;else r=LM(n),n=n.parentNode}function $M(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}var eN=class e{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(t,n){return new e(t.parentNode,LM(t),n)}static after(t,n){return new e(t.parentNode,LM(t)+1,n)}},tN=[],nN=class e{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let n of this.children){if(n==e)return t;t+=n.length+n.breakAfter}throw RangeError(`Invalid child in posBefore`)}posAfter(e){return this.posBefore(e)+e.length}sync(t,n){if(this.flags&2){let r=this.dom,i=null,a;for(let o of this.children){if(o.flags&7){if(!o.dom&&(a=i?i.nextSibling:r.firstChild)){let t=e.get(a);(!t||!t.parent&&t.canReuseDOM(o))&&o.reuseDOM(a)}o.sync(t,n),o.flags&=-8}if(a=i?i.nextSibling:r.firstChild,n&&!n.written&&n.node==r&&a!=o.dom&&(n.written=!0),o.dom.parentNode==r)for(;a&&a!=o.dom;)a=rN(a);else r.insertBefore(o.dom,a);i=o.dom}for(a=i?i.nextSibling:r.firstChild,a&&n&&n.node==r&&(n.written=!0);a;)a=rN(a)}else if(this.flags&1)for(let e of this.children)e.flags&7&&(e.sync(t,n),e.flags&=-8)}reuseDOM(e){}localPosFromDOM(t,n){let r;if(t==this.dom)r=this.dom.childNodes[n];else{let e=zM(t)==0?0:n==0?-1:1;for(;;){let n=t.parentNode;if(n==this.dom)break;e==0&&n.firstChild!=n.lastChild&&(e=t==n.firstChild?-1:1),t=n}r=e<0?t:t.nextSibling}if(r==this.dom.firstChild)return 0;for(;r&&!e.get(r);)r=r.nextSibling;if(!r)return this.length;for(let e=0,t=0;;e++){let n=this.children[e];if(n.dom==r)return t;t+=n.length+n.breakAfter}}domBoundsAround(e,t,n=0){let r=-1,i=-1,a=-1,o=-1;for(let s=0,c=n,l=n;s<this.children.length;s++){let n=this.children[s],u=c+n.length;if(c<e&&u>t)return n.domBoundsAround(e,t,c);if(u>=e&&r==-1&&(r=s,i=c),c>t&&n.dom.parentNode==this.dom){a=s,o=l;break}l=u,c=u+n.breakAfter}return{from:i,to:o<0?n+this.length:o,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a<this.children.length&&a>=0?this.children[a].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),t.flags&1)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,n=tN){this.markDirty();for(let n=e;n<t;n++){let e=this.children[n];e.parent==this&&e.destroy()}this.children.splice(e,t-e,...n);for(let e=0;e<n.length;e++)n[e].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new iN(this.children,e,this.children.length)}childPos(e,t=1){return this.childCursor().findPos(e,t)}toString(){let e=this.constructor.name.replace(`View`,``);return e+(this.children.length?`(`+this.children.join()+`)`:this.length?`[`+(e==`Text`?this.text:this.length)+`]`:``)+(this.breakAfter?`#`:``)}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,t,n,r,i,a){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!((this.flags|e.flags)&8)}getSide(){return 0}destroy(){this.parent=null}};nN.prototype.breakAfter=0;function rN(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}var iN=class{constructor(e,t,n){this.children=e,this.pos=t,this.i=n,this.off=0}findPos(e,t=1){for(;;){if(e>this.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}};function aN(e,t,n,r,i,a,o,s,c){let{children:l}=e,u=l.length?l[t]:null,d=a.length?a[a.length-1]:null,f=d?d.breakAfter:o;if(!(t==r&&u&&!o&&!f&&a.length<2&&u.merge(n,i,a.length?d:null,n==0,s,c))){if(r<l.length){let e=l[r];e&&i<e.length?(t==r&&(e=e.split(i),i=0),!f&&d&&e.merge(0,i,d,!0,0,c)?a[a.length-1]=e:(i&&e.merge(0,i,null,!1,0,c),a.push(e))):e?.breakAfter&&(d?d.breakAfter=1:o=1),r++}for(u&&(u.breakAfter=o,n>0&&(!o&&a.length&&u.merge(n,u.length,a[0],!1,s,0)?u.breakAfter=a.shift().breakAfter:(n<u.length||u.children.length&&u.children[u.children.length-1].length==0)&&u.merge(n,u.length,null,!1,s,0),t++));t<r&&a.length;)if(l[r-1].become(a[a.length-1]))r--,a.pop(),c=a.length?0:s;else if(l[t].become(a[0]))t++,a.shift(),s=a.length?0:c;else break;!a.length&&t&&r<l.length&&!l[t-1].breakAfter&&l[r].merge(0,0,l[t-1],!1,s,c)&&t--,(t<r||a.length)&&e.replaceChildren(t,r,a)}}function oN(e,t,n,r,i,a){let o=e.childCursor(),{i:s,off:c}=o.findPos(n,1),{i:l,off:u}=o.findPos(t,-1),d=t-n;for(let e of r)d+=e.length;e.length+=d,aN(e,l,u,s,c,r,0,i,a)}var sN=`ï¿¿`,cN=class{constructor(e,t){this.points=e,this.text=``,this.lineSeparator=t.facet(Xj.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=sN}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let e=this.text.length;this.readNode(r);let i=r.nextSibling;if(i==t)break;let a=nN.get(r),o=nN.get(i);(a&&o?a.breakAfter:(a?a.breakAfter:lN(r))||lN(i)&&(r.nodeName!=`BR`||r.cmIgnore)&&this.text.length>e)&&this.lineBreak(),r=i}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let i=-1,a=1,o;if(this.lineSeparator?(i=t.indexOf(this.lineSeparator,n),a=this.lineSeparator.length):(o=r.exec(t))&&(i=o.index,a=o[0].length),this.append(t.slice(n,i<0?t.length:i)),i<0)break;if(this.lineBreak(),a>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=a-1);n=i+a}}readNode(e){if(e.cmIgnore)return;let t=nN.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let e=n.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName==`BR`?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+Math.min(t,n.offset))}};function lN(e){return e.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}var uN=class{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}},dN=typeof navigator<`u`?navigator:{userAgent:``,vendor:``,platform:``},fN=typeof document<`u`?document:{documentElement:{style:{}}},pN=/Edge\/(\d+)/.exec(dN.userAgent),mN=/MSIE \d/.test(dN.userAgent),hN=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(dN.userAgent),gN=!!(mN||hN||pN),_N=!gN&&/gecko\/(\d+)/i.test(dN.userAgent),vN=!gN&&/Chrome\/(\d+)/.exec(dN.userAgent),yN=`webkitFontSmoothing`in fN.documentElement.style,bN=!gN&&/Apple Computer/.test(dN.vendor),xN=bN&&(/Mobile\/\w+/.test(dN.userAgent)||dN.maxTouchPoints>2),Y={mac:xN||/Mac/.test(dN.platform),windows:/Win/.test(dN.platform),linux:/Linux|X11/.test(dN.platform),ie:gN,ie_version:mN?fN.documentMode||6:hN?+hN[1]:pN?+pN[1]:0,gecko:_N,gecko_version:_N?+(/Firefox\/(\d+)/.exec(dN.userAgent)||[0,0])[1]:0,chrome:!!vN,chrome_version:vN?+vN[1]:0,ios:xN,android:/Android\b/.test(dN.userAgent),webkit:yN,safari:bN,webkit_version:yN?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:fN.documentElement.style.tabSize==null?`-moz-tab-size`:`tab-size`},SN=256,CN=class e extends nN{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(t,n,r){return this.flags&8||r&&(!(r instanceof e)||this.length-(n-t)+r.length>SN||r.flags&8)?!1:(this.text=this.text.slice(0,t)+(r?r.text:``)+this.text.slice(n),this.markDirty(),!0)}split(t){let n=new e(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),n.flags|=this.flags&8,n}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new eN(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return TN(this.dom,e,t)}},wN=class e extends nN{constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n;for(let e of t)e.setParent(this)}setAttrs(e){if(ZM(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(t,n,r,i,a,o){return r&&(!(r instanceof e&&r.mark.eq(this.mark))||t&&a<=0||n<this.length&&o<=0)?!1:(oN(this,t,n,r?r.children:[],a-1,o-1),this.markDirty(),!0)}split(t){let n=[],r=0,i=-1,a=0;for(let e of this.children){let o=r+e.length;o>t&&n.push(r<t?e.split(t-r):e),i<0&&r>=t&&(i=a),r=o,a++}let o=this.length-t;return this.length=t,i>-1&&(this.children.length=i,this.markDirty()),new e(this.mark,n,o)}domAtPos(e){return ON(this,e)}coordsAt(e,t){return AN(this,e,t)}};function TN(e,t,n){let r=e.nodeValue.length;t>r&&(t=r);let i=t,a=t,o=0;t==0&&n<0||t==r&&n>=0?Y.chrome||Y.gecko||(t?(i--,o=1):a<r&&(a++,o=-1)):n<0?i--:a<r&&a++;let s=JM(e,i,a).getClientRects();if(!s.length)return null;let c=s[(o?o<0:n>=0)?0:s.length-1];return Y.safari&&!o&&c.width==0&&(c=Array.prototype.find.call(s,e=>e.width)||c),o?BM(c,o<0):c||null}var EN=class e extends nN{static create(t,n,r){return new e(t,n,r)}constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}split(t){let n=e.create(this.widget,this.length-t,this.side);return this.length-=t,n}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable=`false`)}getSide(){return this.side}merge(t,n,r,i,a,o){return r&&(!(r instanceof e)||!this.widget.compare(r.widget)||t>0&&a<=0||n<this.length&&o<=0)?!1:(this.length=t+(r?r.length:0)+(this.length-n),!0)}become(t){return t instanceof e&&t.side==this.side&&this.widget.constructor==t.widget.constructor?(this.widget.compare(t.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=t.widget,this.length=t.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(this.length==0)return DA.empty;let e=this;for(;e.parent;)e=e.parent;let{view:t}=e,n=t&&t.state.doc,r=this.posAtStart;return n?n.slice(r,r+this.length):DA.empty}domAtPos(e){return(this.length?e==0:this.side>0)?eN.before(this.dom):eN.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let n=this.widget.coordsAt(this.dom,e,t);if(n)return n;let r=this.dom.getClientRects(),i=null;if(!r.length)return null;let a=this.side?this.side<0:e>0;for(let t=a?r.length-1:0;i=r[t],!(e>0?t==0:t==r.length-1||i.top<i.bottom);t+=a?-1:1);return BM(i,!a)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}},DN=class e extends nN{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(t){return t instanceof e&&t.side==this.side}split(){return new e(this.side)}sync(){if(!this.dom){let e=document.createElement(`img`);e.className=`cm-widgetBuffer`,e.setAttribute(`aria-hidden`,`true`),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?eN.before(this.dom):eN.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return DA.empty}get isHidden(){return!0}};CN.prototype.children=EN.prototype.children=DN.prototype.children=tN;function ON(e,t){let n=e.dom,{children:r}=e,i=0;for(let e=0;i<r.length;i++){let a=r[i],o=e+a.length;if(!(o==e&&a.getSide()<=0)){if(t>e&&t<o&&a.dom.parentNode==n)return a.domAtPos(t-e);if(t<=e)break;e=o}}for(let e=i;e>0;e--){let t=r[e-1];if(t.dom.parentNode==n)return t.domAtPos(t.length)}for(let e=i;e<r.length;e++){let t=r[e];if(t.dom.parentNode==n)return t.domAtPos(0)}return new eN(n,0)}function kN(e,t,n){let r,{children:i}=e;n>0&&t instanceof wN&&i.length&&(r=i[i.length-1])instanceof wN&&r.mark.eq(t.mark)?kN(r,t.children[0],n-1):(i.push(t),t.setParent(e)),e.length+=t.length}function AN(e,t,n){let r=null,i=-1,a=null,o=-1;function s(e,t){for(let c=0,l=0;c<e.children.length&&l<=t;c++){let u=e.children[c],d=l+u.length;d>=t&&(u.children.length?s(u,t-l):(!a||a.isHidden&&n>0)&&(d>t||l==d&&u.getSide()>0)?(a=u,o=t-l):(l<t||l==d&&u.getSide()<0&&!u.isHidden)&&(r=u,i=t-l)),l=d}}s(e,t);let c=(n<0?r:a)||r||a;return c?c.coordsAt(Math.max(0,c==r?i:o),n):jN(e)}function jN(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=FM(t);return n[n.length-1]||null}function MN(e,t){for(let n in e)n==`class`&&t.class?t.class+=` `+e.class:n==`style`&&t.style?t.style+=`;`+e.style:t[n]=e[n];return t}var NN=Object.create(null);function PN(e,t,n){if(e==t)return!0;e||=NN,t||=NN;let r=Object.keys(e),i=Object.keys(t);if(r.length-(n&&r.indexOf(n)>-1?1:0)!=i.length-(n&&i.indexOf(n)>-1?1:0))return!1;for(let a of r)if(a!=n&&(i.indexOf(a)==-1||e[a]!==t[a]))return!1;return!0}function FN(e,t,n){let r=!1;if(t)for(let i in t)n&&i in n||(r=!0,i==`style`?e.style.cssText=``:e.removeAttribute(i));if(n)for(let i in n)t&&t[i]==n[i]||(r=!0,i==`style`?e.style.cssText=n[i]:e.setAttribute(i,n[i]));return r}function IN(e){let t=Object.create(null);for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}var LN=class{eq(e){return!1}updateDOM(e,t){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,n){return null}get isHidden(){return!1}destroy(e){}},RN=(function(e){return e[e.Text=0]=`Text`,e[e.WidgetBefore=1]=`WidgetBefore`,e[e.WidgetAfter=2]=`WidgetAfter`,e[e.WidgetRange=3]=`WidgetRange`,e})(RN||={}),zN=class extends Qj{constructor(e,t,n,r){super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=r}get heightRelevant(){return!1}static mark(e){return new BN(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new HN(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:i,end:a}=UN(e,t);n=(i?t?-3e8:-1:5e8)-1,r=(a?t?2e8:1:-6e8)+1}return new HN(e,n,r,t,e.widget||null,!0)}static line(e){return new VN(e)}static set(e,t=!1){return nM.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}};zN.none=nM.empty;var BN=class e extends zN{constructor(e){let{start:t,end:n}=UN(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||`span`,this.class=e.class||``,this.attrs=e.attributes||null}eq(t){return this==t||t instanceof e&&this.tagName==t.tagName&&(this.class||this.attrs?.class)==(t.class||t.attrs?.class)&&PN(this.attrs,t.attrs,`class`)}range(e,t=e){if(e>=t)throw RangeError(`Mark decorations may not be empty`);return super.range(e,t)}};BN.prototype.point=!1;var VN=class e extends zN{constructor(e){super(-2e8,-2e8,null,e)}eq(t){return t instanceof e&&this.spec.class==t.spec.class&&PN(this.spec.attributes,t.spec.attributes)}range(e,t=e){if(t!=e)throw RangeError(`Line decoration ranges must be zero-length`);return super.range(e,t)}};VN.prototype.mapMode=XA.TrackBefore,VN.prototype.point=!0;var HN=class e extends zN{constructor(e,t,n,r,i,a){super(t,n,i,e),this.block=r,this.isReplace=a,this.mapMode=r?t<=0?XA.TrackBefore:XA.TrackAfter:XA.TrackDel}get type(){return this.startSide<this.endSide?RN.WidgetRange:this.startSide<=0?RN.WidgetBefore:RN.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof e&&WN(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw RangeError(`Invalid range for replacement decoration`);if(!this.isReplace&&t!=e)throw RangeError(`Widget decorations can only have zero-length ranges`);return super.range(e,t)}};HN.prototype.point=!0;function UN(e,t=!1){let{inclusiveStart:n,inclusiveEnd:r}=e;return n??=e.inclusive,r??=e.inclusive,{start:n??t,end:r??t}}function WN(e,t){return e==t||!!(e&&t&&e.compare(t))}function GN(e,t,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=e?n[i]=Math.max(n[i],t):n.push(e,t)}var KN=class e extends nN{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,n,r,i,a,o){if(r){if(!(r instanceof e))return!1;this.dom||r.transferDOM(this)}return i&&this.setDeco(r?r.attrs:null),oN(this,t,n,r?r.children:[],a,o),!0}split(t){let n=new e;if(n.breakAfter=this.breakAfter,this.length==0)return n;let{i:r,off:i}=this.childPos(t);i&&(n.append(this.children[r].split(i),0),this.children[r].merge(i,this.children[r].length,null,!1,0,0),r++);for(let e=r;e<this.children.length;e++)n.append(this.children[e],0);for(;r>0&&this.children[r-1].length==0;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=t,n}transferDOM(e){this.dom&&=(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,null)}setDeco(e){PN(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){kN(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=MN(t,this.attrs||{})),n&&(this.attrs=MN({class:n},this.attrs||{}))}domAtPos(e){return ON(this,e)}reuseDOM(e){e.nodeName==`DIV`&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?this.flags&4&&(ZM(this.dom),this.dom.className=`cm-line`,this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement(`div`)),this.dom.className=`cm-line`,this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(FN(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add(`cm-line`),this.prevAttrs=void 0),super.sync(e,t);let n=this.dom.lastChild;for(;n&&nN.get(n)instanceof wN;)n=n.lastChild;if(!n||!this.length||n.nodeName!=`BR`&&nN.get(n)?.isEditable==0&&(!Y.ios||!this.children.some(e=>e instanceof CN))){let e=document.createElement(`BR`);e.cmIgnore=!0,this.dom.appendChild(e)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let n of this.children){if(!(n instanceof CN)||/[^ -~]/.test(n.text))return null;let r=FM(n.dom);if(r.length!=1)return null;e+=r[0].width,t=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let n=AN(this,e,t);if(!this.children.length&&n&&this.parent){let{heightOracle:e}=this.parent.view.viewState,t=n.bottom-n.top;if(Math.abs(t-e.lineHeight)<2&&e.textHeight<t){let r=(t-e.textHeight)/2;return{top:n.top+r,bottom:n.bottom-r,left:n.left,right:n.left}}}return n}become(e){return!1}get type(){return RN.Text}static find(t,n){for(let r=0,i=0;r<t.children.length;r++){let a=t.children[r],o=i+a.length;if(o>=n){if(a instanceof e)return a;if(o>n)break}i=o+a.breakAfter}return null}},qN=class e extends nN{constructor(e,t,n){super(),this.widget=e,this.length=t,this.type=n,this.breakAfter=0,this.prevWidget=null}merge(t,n,r,i,a,o){return r&&(!(r instanceof e)||!this.widget.compare(r.widget)||t>0&&a<=0||n<this.length&&o<=0)?!1:(this.length=t+(r?r.length:0)+(this.length-n),!0)}domAtPos(e){return e==0?eN.before(this.dom):eN.after(this.dom,e==this.length)}split(t){let n=this.length-t;this.length=t;let r=new e(this.widget,n,this.type);return r.breakAfter=this.breakAfter,r}get children(){return tN}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable=`false`)}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):DA.empty}domBoundsAround(){return null}become(t){return t instanceof e&&t.widget.constructor==this.widget.constructor?(t.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=t.widget,this.length=t.length,this.type=t.type,this.breakAfter=t.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,t){return this.widget.coordsAt(this.dom,e,t)}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}},JN=class e{constructor(e,t,n,r){this.doc=e,this.pos=t,this.end=n,this.disallowBlockEffectsFor=r,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text=``,this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!e.breakAfter&&!(e instanceof qN&&e.type==RN.WidgetBefore)}getLine(){return this.curLine||(this.content.push(this.curLine=new KN),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&=(this.curLine.append(YN(new DN(-1),e),e.length),0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,this.posCovered()||this.getLine()}buildText(e,t,n){for(;e>0;){if(this.textOff==this.text.length){let{value:t,lineBreak:n,done:r}=this.cursor.next(this.skip);if(this.skip=0,r)throw Error(`Ran out of text content when drawing inline views`);if(n){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=t,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(YN(new CN(this.text.slice(this.textOff,this.textOff+r)),t),n),this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,t,n,r){this.buildText(t-e,n,r),this.pos=t,this.openStart<0&&(this.openStart=r)}point(e,t,n,r,i,a){if(this.disallowBlockEffectsFor[a]&&n instanceof HN){if(n.block)throw RangeError(`Block decorations may not be specified via plugins`);if(t>this.doc.lineAt(this.pos).to)throw RangeError(`Decorations that replace line breaks may not be specified via plugins`)}let o=t-e;if(n instanceof HN)if(n.block){let{type:e}=n;e==RN.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new qN(n.widget||new XN(`div`),o,e))}else{let a=EN.create(n.widget||new XN(`span`),o,o?0:n.startSide),s=this.atCursorPos&&!a.isEditable&&i<=r.length&&(e<t||n.startSide>0),c=!a.isEditable&&(e<t||i>r.length||n.startSide<=0),l=this.getLine();this.pendingBuffer==2&&!s&&!a.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),s&&(l.append(YN(new DN(1),r),i),i=r.length+Math.max(0,i-r.length)),l.append(YN(a,r),i),this.atCursorPos=c,this.pendingBuffer=c?e<t||i>r.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);o&&(this.textOff+o<=this.text.length?this.textOff+=o:(this.skip+=o-(this.text.length-this.textOff),this.text=``,this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=i)}static build(t,n,r,i,a){let o=new e(t,n,r,a);return o.openEnd=nM.spans(i,n,r,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}};function YN(e,t){for(let n of t)e=new wN(n,[e],e.length);return e}var XN=class extends LN{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}},ZN=J.define(),QN=J.define(),$N=J.define(),eP=J.define(),tP=J.define(),nP=J.define(),rP=J.define(),iP=J.define({combine:e=>e.some(e=>e)}),aP=J.define({combine:e=>e.some(e=>e)}),oP=class e{constructor(e,t=`nearest`,n=`nearest`,r=5,i=5){this.range=e,this.y=t,this.x=n,this.yMargin=r,this.xMargin=i}map(t){return t.empty?this:new e(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin)}},sP=Fj.define({map:(e,t)=>e.map(t)});function cP(e,t,n){let r=e.facet(eP);r.length?r[0](t):window.onerror?window.onerror(String(t),n,void 0,void 0,t):n?console.error(n+`:`,t):console.error(t)}var lP=J.define({combine:e=>e.length?e[0]:!0}),uP=0,dP=J.define(),fP=class e{constructor(e,t,n,r){this.id=e,this.create=t,this.domEventHandlers=n,this.extension=r(this)}static define(t,n){let{eventHandlers:r,provide:i,decorations:a}=n||{};return new e(uP++,t,r,e=>{let t=[dP.of(e)];return a&&t.push(gP.of(t=>{let n=t.plugin(e);return n?a(n):zN.none})),i&&t.push(i(e)),t})}static fromClass(t,n){return e.define(e=>new t(e),n)}},pP=class{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(!this.value){if(this.spec)try{this.value=this.spec.create(e)}catch(t){cP(e.state,t,`CodeMirror plugin crashed`),this.deactivate()}}else if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(t){if(cP(e.state,t,`CodeMirror plugin crashed`),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}return this}destroy(e){if(this.value?.destroy)try{this.value.destroy()}catch(t){cP(e.state,t,`CodeMirror plugin crashed`)}}deactivate(){this.spec=this.value=null}},mP=J.define(),hP=J.define(),gP=J.define(),_P=J.define(),vP=J.define();function yP(e,t,n){let r=e.state.facet(vP);if(!r.length)return r;let i=r.map(t=>t instanceof Function?t(e):t),a=[];return nM.spans(i,t,n,{point(){},span(e,t,n,r){let i=a;for(let a=n.length-1;a>=0;a--,r--){let o=n[a].spec.bidiIsolate,s;if(o!=null)if(r>0&&i.length&&(s=i[i.length-1]).to==e&&s.direction==o)s.to=t,i=s.inner;else{let n={from:e,to:t,direction:o,inner:[]};i.push(n),i=n.inner}}}}),a}var bP=J.define();function xP(e){let t=0,n=0,r=0,i=0;for(let a of e.state.facet(bP)){let o=a(e);o&&(o.left!=null&&(t=Math.max(t,o.left)),o.right!=null&&(n=Math.max(n,o.right)),o.top!=null&&(r=Math.max(r,o.top)),o.bottom!=null&&(i=Math.max(i,o.bottom)))}return{left:t,right:n,top:r,bottom:i}}var SP=J.define(),CP=class e{constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}join(t){return new e(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>n.toA)){if(r.toA<n.fromA)break;n=n.join(r),e.splice(t-1,1)}}return e.splice(t,0,n),e}static extendWithRanges(t,n){if(n.length==0)return t;let r=[];for(let i=0,a=0,o=0,s=0;;i++){let c=i==t.length?null:t[i],l=o-s,u=c?c.fromB:1e9;for(;a<n.length&&n[a]<u;){let t=n[a],i=n[a+1],o=Math.max(s,t),c=Math.min(u,i);if(o<=c&&new e(o+l,c+l,o,c).addToSet(r),i>u)break;a+=2}if(!c)return r;new e(c.fromA,c.toA,c.fromB,c.toB).addToSet(r),o=c.toA,s=c.toB}}},wP=class e{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=QA.empty(this.startState.doc.length);for(let e of n)this.changes=this.changes.compose(e.changes);let r=[];this.changes.iterChangedRanges((e,t,n,i)=>r.push(new CP(e,t,n,i))),this.changedRanges=r}static create(t,n,r){return new e(t,n,r)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}},TP=(function(e){return e[e.LTR=0]=`LTR`,e[e.RTL=1]=`RTL`,e})(TP||={}),EP=TP.LTR,DP=TP.RTL;function OP(e){let t=[];for(let n=0;n<e.length;n++)t.push(1<<e[n]);return t}var kP=OP(`88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008`),AP=OP(`4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333`),jP=Object.create(null),MP=[];for(let e of[`()`,`[]`,`{}`]){let t=e.charCodeAt(0),n=e.charCodeAt(1);jP[t]=n,jP[n]=-t}function NP(e){return e<=247?kP[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?AP[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8203?256:64336<=e&&e<=65023?4:e==8204?256:1}var PP=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,FP=class{get dir(){return this.level%2?DP:EP}constructor(e,t,n){this.from=e,this.to=t,this.level=n}side(e,t){return this.dir==t==e?this.to:this.from}static find(e,t,n,r){let i=-1;for(let a=0;a<e.length;a++){let o=e[a];if(o.from<=t&&o.to>=t){if(o.level==n)return a;(i<0||(r==0?e[i].level>o.level:r<0?o.from<t:o.to>t))&&(i=a)}}if(i<0)throw RangeError(`Index out of range`);return i}};function IP(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r.from!=i.from||r.to!=i.to||r.direction!=i.direction||!IP(r.inner,i.inner))return!1}return!0}var LP=[];function RP(e,t,n,r,i){for(let a=0;a<=r.length;a++){let o=a?r[a-1].to:t,s=a<r.length?r[a].from:n,c=a?256:i;for(let t=o,n=c,r=c;t<s;t++){let i=NP(e.charCodeAt(t));i==512?i=n:i==8&&r==4&&(i=16),LP[t]=i==4?2:i,i&7&&(r=i),n=i}for(let e=o,t=c,r=c;e<s;e++){let i=LP[e];if(i==128)e<s-1&&t==LP[e+1]&&t&24?i=LP[e]=t:LP[e]=256;else if(i==64){let i=e+1;for(;i<s&&LP[i]==64;)i++;let a=e&&t==8||i<n&&LP[i]==8?r==1?1:8:256;for(let t=e;t<i;t++)LP[t]=a;e=i-1}else i==8&&r==1&&(LP[e]=1);t=i,i&7&&(r=i)}}}function zP(e,t,n,r,i){let a=i==1?2:1;for(let o=0,s=0,c=0;o<=r.length;o++){let l=o?r[o-1].to:t,u=o<r.length?r[o].from:n;for(let t=l,n,r,o;t<u;t++)if(r=jP[n=e.charCodeAt(t)])if(r<0){for(let e=s-3;e>=0;e-=3)if(MP[e+1]==-r){let n=MP[e+2],r=n&2?i:n&4?n&1?a:i:0;r&&(LP[t]=LP[MP[e]]=r),s=e;break}}else if(MP.length==189)break;else MP[s++]=t,MP[s++]=n,MP[s++]=c;else if((o=LP[t])==2||o==1){let e=o==i;c=+!e;for(let t=s-3;t>=0;t-=3){let n=MP[t+2];if(n&2)break;if(e)MP[t+2]|=2;else{if(n&4)break;MP[t+2]|=4}}}}}function BP(e,t,n,r){for(let i=0,a=r;i<=n.length;i++){let o=i?n[i-1].to:e,s=i<n.length?n[i].from:t;for(let c=o;c<s;){let o=LP[c];if(o==256){let o=c+1;for(;;)if(o==s){if(i==n.length)break;o=n[i++].to,s=i<n.length?n[i].from:t}else if(LP[o]==256)o++;else break;let l=a==1,u=l==((o<t?LP[o]:r)==1)?l?1:2:r;
29for(let t=o,r=i,a=r?n[r-1].to:e;t>c;)t==a&&(t=n[--r].from,a=r?n[r-1].to:e),LP[--t]=u;c=o}else a=o,c++}}}function VP(e,t,n,r,i,a,o){let s=r%2?2:1;if(r%2==i%2)for(let c=t,l=0;c<n;){let t=!0,u=!1;if(l==a.length||c<a[l].from){let e=LP[c];e!=s&&(t=!1,u=e==16)}let d=!t&&s==1?[]:null,f=t?r:r+1,p=c;run:for(;;)if(l<a.length&&p==a[l].from){if(u)break run;let m=a[l];if(!t)for(let e=m.to,t=l+1;;){if(e==n)break run;if(t<a.length&&a[t].from==e)e=a[t++].to;else if(LP[e]==s)break run;else break}l++,d?d.push(m):(m.from>c&&o.push(new FP(c,m.from,f)),HP(e,m.direction==EP==!(f%2)?r:r+1,i,m.inner,m.from,m.to,o),c=m.to),p=m.to}else if(p==n||(t?LP[p]!=s:LP[p]==s))break;else p++;d?VP(e,c,p,r+1,i,d,o):c<p&&o.push(new FP(c,p,f)),c=p}else for(let c=n,l=a.length;c>t;){let n=!0,u=!1;if(!l||c>a[l-1].to){let e=LP[c-1];e!=s&&(n=!1,u=e==16)}let d=!n&&s==1?[]:null,f=n?r:r+1,p=c;run:for(;;)if(l&&p==a[l-1].to){if(u)break run;let m=a[--l];if(!n)for(let e=m.from,n=l;;){if(e==t)break run;if(n&&a[n-1].to==e)e=a[--n].from;else if(LP[e-1]==s)break run;else break}d?d.push(m):(m.to<c&&o.push(new FP(m.to,c,f)),HP(e,m.direction==EP==!(f%2)?r:r+1,i,m.inner,m.from,m.to,o),c=m.from),p=m.from}else if(p==t||(n?LP[p-1]!=s:LP[p-1]==s))break;else p--;d?VP(e,p,c,r+1,i,d,o):p<c&&o.push(new FP(p,c,f)),c=p}}function HP(e,t,n,r,i,a,o){let s=t%2?2:1;RP(e,i,a,r,s),zP(e,i,a,r,s),BP(i,a,r,s),VP(e,i,a,t,n,r,o)}function UP(e,t,n){if(!e)return[new FP(0,0,+(t==DP))];if(t==EP&&!n.length&&!PP.test(e))return WP(e.length);if(n.length)for(;e.length>LP.length;)LP[LP.length]=256;let r=[],i=t==EP?0:1;return HP(e,i,i,n,0,e.length,r),r}function WP(e){return[new FP(0,e,0)]}var GP=``;function KP(e,t,n,r,i){let a=r.head-e.from,o=-1;if(a==0){if(!i||!e.length)return null;t[0].level!=n&&(a=t[0].side(!1,n),o=0)}else if(a==e.length){if(i)return null;let e=t[t.length-1];e.level!=n&&(a=e.side(!0,n),o=t.length-1)}o<0&&(o=FP.find(t,a,r.bidiLevel??-1,r.assoc));let s=t[o];a==s.side(i,n)&&(s=t[o+=i?1:-1],a=s.side(!i,n));let c=i==(s.dir==n),l=VA(e.text,a,c);if(GP=e.text.slice(Math.min(a,l),Math.max(a,l)),l!=s.side(i,n))return q.cursor(l+e.from,c?-1:1,s.level);let u=o==(i?t.length-1:0)?null:t[o+(i?1:-1)];return!u&&s.level!=n?q.cursor(i?e.to:e.from,i?-1:1,n):u&&u.level<s.level?q.cursor(u.side(!i,n)+e.from,i?1:-1,u.level):q.cursor(l+e.from,i?-1:1,s.level)}var qP=class extends nN{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[],this.hasComposition=null,this.markedForComposition=new Set,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new KN],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new CP(0,0,0,e.state.doc.length)],0,null)}update(e){let t=e.changedRanges;this.minWidth>0&&t.length&&(t.every(({fromA:e,toA:t})=>t<this.minWidthFrom||e>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let n=this.view.inputState.composing<0?null:ZP(this.view,e.changes);if(this.hasComposition){this.markedForComposition.clear();let{from:n,to:r}=this.hasComposition;t=new CP(n,r,e.changes.mapPos(n,-1),e.changes.mapPos(r,1)).addToSet(t.slice())}this.hasComposition=n?{from:n.range.fromB,to:n.range.toB}:null,(Y.ie||Y.chrome)&&!n&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let r=this.decorations,i=tF(r,this.updateDeco(),e.changes);return t=CP.extendWithRanges(t,i),!(this.flags&7)&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length,n),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+`px`,this.dom.style.flexBasis=this.minWidth?this.minWidth+`px`:``;let e=Y.chrome||Y.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,e),this.flags&=-8,e&&(e.written||r.selectionRange.focusNode!=e.node)&&(this.forceSelection=!0),this.dom.style.height=``}
vendor: 3,184 bytes, line 29
29),this.markedForComposition.forEach(e=>e.flags&=-9);let i=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let e of this.children)e instanceof qN&&e.widget instanceof YP&&i.push(e.dom);r.updateGaps(i)}updateChildren(e,t,n){let r=n?n.range.addToSet(e.slice()):e,i=this.childCursor(t);for(let e=r.length-1;;e--){let t=e>=0?r[e]:null;if(!t)break;let{fromA:a,toA:o,fromB:s,toB:c}=t,l,u,d,f;if(n&&n.range.fromB<c&&n.range.toB>s){let e=JN.build(this.view.state.doc,s,n.range.fromB,this.decorations,this.dynamicDecorationMap),t=JN.build(this.view.state.doc,n.range.toB,c,this.decorations,this.dynamicDecorationMap);u=e.breakAtStart,d=e.openStart,f=t.openEnd;let r=this.compositionView(n);t.breakAtStart?r.breakAfter=1:t.content.length&&r.merge(r.length,r.length,t.content[0],!1,t.openStart,0)&&(r.breakAfter=t.content[0].breakAfter,t.content.shift()),e.content.length&&r.merge(0,0,e.content[e.content.length-1],!0,0,e.openEnd)&&e.content.pop(),l=e.content.concat(r).concat(t.content)}else({content:l,breakAtStart:u,openStart:d,openEnd:f}=JN.build(this.view.state.doc,s,c,this.decorations,this.dynamicDecorationMap));let{i:p,off:m}=i.findPos(o,1),{i:h,off:g}=i.findPos(a,-1);aN(this,h,g,p,m,l,u,d,f)}n&&this.fixCompositionDOM(n)}compositionView(e){let t=new CN(e.text.nodeValue);t.flags|=8;for(let{deco:n}of e.marks)t=new wN(n,[t],t.length);let n=new KN;return n.append(t,0),n}fixCompositionDOM(e){let t=(e,t)=>{t.flags|=8|!!t.children.some(e=>e.flags&7),this.markedForComposition.add(t);let n=nN.get(e);n!=t&&(n&&(n.dom=null),t.setDOM(e))},n=this.childPos(e.range.fromB,1),r=this.children[n.i];t(e.line,r);for(let i=e.marks.length-1;i>=-1;i--)n=r.childPos(n.off,1),r=r.children[n.i],t(i>=0?e.marks[i].node:e.text,r)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,r=n==this.dom,i=!r&&PM(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(r||t||i))return;let a=this.forceSelection;this.forceSelection=!1;let o=this.view.state.selection.main,s=this.domAtPos(o.anchor),c=o.empty?s:this.domAtPos(o.head);if(Y.gecko&&o.empty&&!this.hasComposition&&JP(s)){let e=document.createTextNode(``);this.view.observer.ignore(()=>s.node.insertBefore(e,s.node.childNodes[s.offset]||null)),s=c=new eN(e,0),a=!0}let l=this.view.observer.selectionRange;(a||!l.focusNode||!IM(s.node,s.offset,l.anchorNode,l.anchorOffset)||!IM(c.node,c.offset,l.focusNode,l.focusOffset))&&(this.view.observer.ignore(()=>{Y.android&&Y.chrome&&this.dom.contains(l.focusNode)&&nF(l.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let e=jM(this.view.root);if(e)if(o.empty){if(Y.gecko){let e=$P(s.node,s.offset);if(e&&e!=3){let t=QP(s.node,s.offset,e==1?1:-1);t&&(s=new eN(t,e==1?0:t.nodeValue.length))}}e.collapse(s.node,s.offset),o.bidiLevel!=null&&l.caretBidiLevel!=null&&(l.caretBidiLevel=o.bidiLevel)}else if(e.extend){e.collapse(s.node,s.offset);try{e.extend(c.node,c.offset)}catch{}}else{let t=document.createRange();o.anchor>o.head&&([s,c]=[c,s]),t.setEnd(c.node,c.offset),t.setStart(s.node,s.offset),e.removeAllRanges(),e.addRange(t)}
29i&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(s,c)),this.impreciseAnchor=s.precise?null:new eN(l.anchorNode,l.anchorOffset),this.impreciseHead=c.precise?null:new eN(l.focusNode,l.focusOffset)}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=jM(e.root),{anchorNode:r,anchorOffset:i}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let a=KN.find(this,t.head);if(!a)return;let o=a.posAtStart;if(t.head==o||t.head==o+a.length)return;let s=this.coordsAt(t.head,-1),c=this.coordsAt(t.head,1);if(!s||!c||s.bottom>c.top)return;let l=this.domAtPos(t.head+t.assoc);n.collapse(l.node,l.offset),n.modify(`move`,t.assoc<0?`forward`:`backward`,`lineboundary`),e.observer.readSelectionRange();let u=e.observer.selectionRange;e.docView.posFromDOM(u.anchorNode,u.anchorOffset)!=t.from&&n.collapse(r,i)}nearest(e){for(let t=e;t;){let e=nN.get(t);if(e&&e.rootView==this)return e;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw RangeError(`Trying to find position for a DOM position outside of the document`);return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){let e=this.children[t];if(n<e.length||e instanceof KN)break;t++,n=0}return this.children[t].domAtPos(n)}coordsAt(e,t){for(let n=this.length,r=this.children.length-1;;r--){let i=this.children[r],a=n-i.breakAfter-i.length;if(e>a||e==a&&i.type!=RN.WidgetBefore&&i.type!=RN.WidgetAfter&&(!r||t==2||this.children[r-1].breakAfter||this.children[r-1].type==RN.WidgetBefore&&t>-2))return i.coordsAt(e-a,t);n=a}}coordsForChar(e){let{i:t,off:n}=this.childPos(e,1),r=this.children[t];if(!(r instanceof KN))return null;for(;r.children.length;){let{i:e,off:t}=r.childPos(n,1);for(;;e++){if(e==r.children.length)return null;if((r=r.children[e]).length)break}n=t}if(!(r instanceof CN))return null;let i=VA(r.text,n);if(i==n)return null;let a=JM(r.dom,n,i).getClientRects();return!a.length||a[0].top>=a[0].bottom?null:a[0]}measureVisibleLineHeights(e){let t=[],{from:n,to:r}=e,i=this.view.contentDOM.clientWidth,a=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,s=this.view.textDirection==TP.LTR;for(let e=0,c=0;c<this.children.length;c++){let l=this.children[c],u=e+l.length;if(u>r)break;if(e>=n){let n=l.dom.getBoundingClientRect();if(t.push(n.height),a){let t=l.dom.lastChild,r=t?FM(t):[];if(r.length){let t=r[r.length-1],a=s?t.right-n.left:n.right-t.left;a>o&&(o=a,this.minWidth=i,this.minWidthFrom=e,this.minWidthTo=u)}}}e=u+l.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction==`rtl`?TP.RTL:TP.LTR}measureTextSize(){for(let e of this.children)if(e instanceof KN){let t=e.measureTextSize();if(t)return t}let e=document.createElement(`div`),t,n,r;return e.className=`cm-line`,e.style.width=`99999px`,e.style.position=`absolute`,e.textContent=`abc def ghi jkl mno pqr stu`,this.view.observer.ignore(()=>{this.dom.appendChild(e);let i=FM(e.firstChild)[0];t=e.getBoundingClientRect().height,n=i?i.width/27:7,r=i?i.height:t,e.remove()}),{lineHeight:t,charWidth:n,textHeight:r}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new iN(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,r=0;;r++){let i=r==t.viewports.length?null:t.viewports[r],a=i?i.from-1:this.length;if(a>n){let r=(t.lineBlockAt(a).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(zN.replace({widget:new YP(r),block:!0,inclusive:!0,isBlockGap:!0}).range(n,a))}if(!i)break;n=i.to+1}return zN.set(e)}updateDeco(){let e=this.view.state.facet(gP).map((e,t)=>(this.dynamicDecorationMap[t]=typeof e==`function`)?e(this.view):e);for(let t=e.length;t<e.length+3;t++)this.dynamicDecorationMap[t]=!1;return this.decorations=[...e,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco]}scrollIntoView(e){let{range:t}=e,n=this.coordsAt(t.head,t.empty?t.assoc:t.head>t.anchor?-1:1),r;if(!n)return;!t.empty&&(r=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let i=xP(this.view),a={left:n.left-i.left,top:n.top-i.top,right:n.right+i.r
29ight,bottom:n.bottom+i.bottom};HM(this.view.scrollDOM,a,t.head<t.anchor?-1:1,e.x,e.y,e.xMargin,e.yMargin,this.view.textDirection==TP.LTR)}};function JP(e){return e.node.nodeType==1&&e.node.firstChild&&(e.offset==0||e.node.childNodes[e.offset-1].contentEditable==`false`)&&(e.offset==e.node.childNodes.length||e.node.childNodes[e.offset].contentEditable==`false`)}var YP=class extends LN{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement(`div`);return this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+`px`,!0}get estimatedHeight(){return this.height}};function XP(e,t){let n=e.observer.selectionRange,r=n.focusNode&&QP(n.focusNode,n.focusOffset,0);if(!r)return null;let i=nN.get(r),a,o;if(i instanceof CN)a=i.posAtStart,o=a+i.length;else{let n=Math.max(0,r.nodeValue.length-t);up:for(let t=0,i=r;;){for(let r=i.previousSibling,s;r;r=r.previousSibling){if(s=nN.get(r)){o=s.posAtEnd+t,a=Math.max(0,o-n);break up}let i=new cN([],e.state);if(i.readNode(r),i.text.indexOf(sN)>-1)return null;t+=i.text.length}if(i=i.parentNode,!i)return null;let r=nN.get(i);if(r){a=r.posAtStart+t,o=a+n;break}}}return{from:a,to:o,node:r}}function ZP(e,t){let n=XP(e,t.newLength-t.length);if(!n)return null;let{from:r,to:i,node:a}=n,o=t.mapPos(r,-1),s=t.mapPos(i,1),c=a.nodeValue;if(/[\n\r]/.test(c))return null;if(s-o!=c.length){let n=t.mapPos(r,1),a=t.mapPos(i,-1);if(a-n==c.length)o=n,s=a;else if(e.state.doc.sliceString(s-c.length,s)==c)o=s-c.length;else if(e.state.doc.sliceString(o,o+c.length)==c)s=o+c.length;else return null}let{main:l}=e.state.selection;if(e.state.doc.sliceString(o,s)!=c||o>l.head||s<l.head)return null;let u=[],d=new CP(r,i,o,s);for(let t=a.parentNode;;t=t.parentNode){let n=nN.get(t);if(n instanceof wN)u.push({node:t,deco:n.mark});else if(n instanceof KN||t.nodeName==`DIV`&&t.parentNode==e.contentDOM)return{range:d,text:a,marks:u,line:t};else if(t!=e.contentDOM)u.push({node:t,deco:new BN({inclusive:!0,attributes:IN(t),tagName:t.tagName.toLowerCase()})});else return null}}function QP(e,t,n){if(n<=0)for(let n=e,r=t;;){if(n.nodeType==3)return n;if(n.nodeType==1&&r>0)n=n.childNodes[r-1],r=zM(n);else break}if(n>=0)for(let r=e,i=t;;){if(r.nodeType==3)return r;if(r.nodeType==1&&i<r.childNodes.length&&n>=0)r=r.childNodes[i],i=0;else break}return null}function $P(e,t){return e.nodeType==1?(t&&e.childNodes[t-1].contentEditable==`false`?1:0)|(t<e.childNodes.length&&e.childNodes[t].contentEditable==`false`?2:0):0}var eF=class{constructor(){this.changes=[]}compareRange(e,t){GN(e,t,this.changes)}comparePoint(e,t){GN(e,t,this.changes)}};function tF(e,t,n){let r=new eF;return nM.compare(e,t,n,r),r.changes}function nF(e,t){for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(n.nodeType==1&&n.contentEditable==`false`)return!0;return!1}function rF(e,t,n=1){let r=e.charCategorizer(t),i=e.doc.lineAt(t),a=t-i.from;if(i.length==0)return q.cursor(t);a==0?n=1:a==i.length&&(n=-1);let o=a,s=a;n<0?o=VA(i.text,a,!1):s=VA(i.text,a);let c=r(i.text.slice(o,s));for(;o>0;){let e=VA(i.text,o,!1);if(r(i.text.slice(e,o))!=c)break;o=e}for(;s<i.length;){let e=VA(i.text,s);if(r(i.text.slice(s,e))!=c)break;s=e}return q.range(o+i.from,s+i.from)}function iF(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}function aF(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function oF(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function sF(e,t){return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function cF(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function lF(e,t,n){let r,i,a,o,s=!1,c,l,u,d;for(let f=e.firstChild;f;f=f.nextSibling){let e=FM(f);for(let p=0;p<e.length;p++){let m=e[p];i&&oF(i,m)&&(m=sF(cF(m,i.bottom),i.top));let h=iF(t,m),g=aF(n,m);if(h==0&&g==0)return f.nodeType==3?uF(f,t,n):lF(f,t,n);if(!r||o>g||o==g&&a>h){r=f,i=m,a=h,o=g;let c=g?n<m.top?-1:1:h?t<m.left?-1:1:0;s=!c||(c>0?p<e.length-1:p>0)}h==0?n>m.bottom&&(!u||u.bottom<m.bottom)?(c=f,u=m):n<m.top&&(!d||d.top>m.top)&&(l=f,d=m):u&&oF(u,m)?u=cF(u,m.bottom):d&&oF(d,m)&&(d=sF(d,m.top))}}if(u&&u.bottom>=n?(r=c,i=u):d&&d.top<=n&&(r=l,i=d),!r)return{node:e,offset:0};let f=Math.max(i.left,Math.min(i.right,t));return r.nodeType==3?uF(r,f,n):s&&r.contentEditable!=`false`?lF(r,f,n):{node:e,offset:Array.prototype.indexOf.call(e.childNodes,r)+ +(t>=(i.left+i.right)/2)}}function uF(e,t,n){let r=e.nodeValue.length,i=-1,a=1e9,o=0;for(let s=0;s<r;s++){let r=JM(e,s,s+1).getClientRects();for(let c=0;c<r.length;c++){let l=r[c];if(l.top==l.bottom)continue;o||=t-l.left;let u=(l.top>n?l.top-n:n-l.bottom)-1;if(l.left-1<=t&&l.right+1>=t&&u<a){let n=t>=(l.left+l.right)/2,r=n;if((Y.chrome||Y.gecko)&&JM(e,s).getBoundingClientRect().left==l.right&&(r=!n),u<=0)return{node:e,offset:s+ +!!r};i=s+ +!!r,a=u}}}return{node:e,offset:i>-1?i:o>
vendor: 4,998 bytes, lines 29-30
290?e.nodeValue.length:0}}function dF(e,t,n,r=-1){let i=e.contentDOM.getBoundingClientRect(),a=i.top+e.viewState.paddingTop,o,{docHeight:s}=e.viewState,{x:c,y:l}=t,u=l-a;if(u<0)return 0;if(u>s)return e.state.doc.length;for(let t=e.viewState.heightOracle.textHeight/2,i=!1;o=e.elementAtHeight(u),o.type!=RN.Text;)for(;u=r>0?o.bottom+t:o.top-t,!(u>=0&&u<=s);){if(i)return n?null:0;i=!0,r=-r}l=a+u;let d=o.from;if(d<e.viewport.from)return e.viewport.from==0?0:n?null:fF(e,i,o,c,l);if(d>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:fF(e,i,o,c,l);let f=e.dom.ownerDocument,p=e.root.elementFromPoint?e.root:f,m=p.elementFromPoint(c,l);m&&!e.contentDOM.contains(m)&&(m=null),m||(c=Math.max(i.left+1,Math.min(i.right-1,c)),m=p.elementFromPoint(c,l),m&&!e.contentDOM.contains(m)&&(m=null));let h,g=-1;if(m&&e.docView.nearest(m)?.isEditable!=0){if(f.caretPositionFromPoint){let e=f.caretPositionFromPoint(c,l);e&&({offsetNode:h,offset:g}=e)}else if(f.caretRangeFromPoint){let t=f.caretRangeFromPoint(c,l);t&&({startContainer:h,startOffset:g}=t,(!e.contentDOM.contains(h)||Y.safari&&Yre(h,g,c)||Y.chrome&&Xre(h,g,c))&&(h=void 0))}}if(!h||!e.docView.dom.contains(h)){let t=KN.find(e.docView,d);if(!t)return u>o.top+o.height/2?o.to:o.from;({node:h,offset:g}=lF(t.dom,c,l))}let _=e.docView.nearest(h);if(!_)return null;if(_.isWidget&&_.dom?.nodeType==1){let e=_.dom.getBoundingClientRect();return t.y<e.top||t.y<=e.bottom&&t.x<=(e.left+e.right)/2?_.posAtStart:_.posAtEnd}else return _.localPosFromDOM(h,g)+_.posAtStart}function fF(e,t,n,r,i){let a=Math.round((r-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&n.height>e.defaultLineHeight*1.5){let t=e.viewState.heightOracle.textHeight,r=Math.floor((i-n.top-(e.defaultLineHeight-t)*.5)/t);a+=r*e.viewState.heightOracle.lineLength}let o=e.state.sliceDoc(n.from,n.to);return n.from+gM(o,a,e.state.tabSize)}function Yre(e,t,n){let r;if(e.nodeType!=3||t!=(r=e.nodeValue.length))return!1;for(let t=e.nextSibling;t;t=t.nextSibling)if(t.nodeType!=1||t.nodeName!=`BR`)return!1;return JM(e,r-1,r).getBoundingClientRect().left>n}function Xre(e,t,n){if(t!=0)return!1;for(let t=e;;){let e=t.parentNode;if(!e||e.nodeType!=1||e.firstChild!=t)return!1;if(e.classList.contains(`cm-line`))break;t=e}return n-(e.nodeType==1?e.getBoundingClientRect():JM(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()).left>5}function pF(e,t){let n=e.lineBlockAt(t);if(Array.isArray(n.type)){for(let e of n.type)if(e.to>t||e.to==t&&(e.to==n.to||e.type==RN.Text))return e}return n}function Zre(e,t,n,r){let i=pF(e,t.head),a=!r||i.type!=RN.Text||!(e.lineWrapping||i.widgetLineBreaks)?null:e.coordsAtPos(t.assoc<0&&t.head>i.from?t.head-1:t.head);if(a){let t=e.dom.getBoundingClientRect(),r=e.textDirectionAt(i.from),o=e.posAtCoords({x:n==(r==TP.LTR)?t.right-1:t.left+1,y:(a.top+a.bottom)/2});if(o!=null)return q.cursor(o,n?-1:1)}return q.cursor(n?i.to:i.from,n?-1:1)}function mF(e,t,n,r){let i=e.state.doc.lineAt(t.head),a=e.bidiSpans(i),o=e.textDirectionAt(i.from);for(let s=t,c=null;;){let t=KP(i,a,o,s,n),l=GP;if(!t){if(i.number==(n?e.state.doc.lines:1))return s;l=` 30`,i=e.state.doc.line(i.number+(n?1:-1)),a=e.bidiSpans(i),t=q.cursor(n?i.from:i.to)}if(!c){if(!r)return t;c=r(l)}else if(!c(l))return s;s=t}}function Qre(e,t,n){let r=e.state.charCategorizer(t),i=r(n);return e=>{let t=r(e);return i==Gj.Space&&(i=t),i==t}}function $re(e,t,n,r){let i=t.head,a=n?1:-1;if(i==(n?e.state.doc.length:0))return q.cursor(i,t.assoc);let o=t.goalColumn,s,c=e.contentDOM.getBoundingClientRect(),l=e.coordsAtPos(i),u=e.documentTop;if(l)o??=l.left-c.left,s=a<0?l.top:l.bottom;else{let t=e.viewState.lineBlockAt(i);o??=Math.min(c.right-c.left,e.defaultCharacterWidth*(i-t.from)),s=(a<0?t.top:t.bottom)+u}let d=c.left+o,f=r??e.viewState.heightOracle.textHeight>>1;for(let n=0;;n+=10){let r=s+(f+n)*a,l=dF(e,{x:d,y:r},!1,a);if(r<c.top||r>c.bottom||(a<0?l<i:l>i))return q.cursor(l,t.assoc,void 0,o)}}function hF(e,t,n){for(;;){let r=0;for(let i of e)i.between(t-1,t+1,(e,i,a)=>{if(t>e&&t<i){let a=r||n||(t-e<i-t?-1:1);t=a<0?e:i,r=a}});if(!r)return t}}function gF(e,t,n){let r=hF(e.state.facet(_P).map(t=>t(e)),n.from,t.head>n.from?-1:1);return r==n.from?n:q.cursor(r,r<n.from?1:-1)}var eie=class{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null;let t=(t,n)=>{this.ignoreDuringComposition(n)||n.type==`keydown`&&this.keydown(e,n)||(this.mustFlushObserver(n)&&e.observer.forceFlush(),this.runCustomHandlers(n.t
30ype,e,n)?n.preventDefault():t(e,n))};for(let n in SF){let r=SF[n];e.contentDOM.addEventListener(n,n=>{xF(e,n)&&t(r,n)},CF[n]),this.registeredEvents.push(n)}e.scrollDOM.addEventListener(`mousedown`,n=>{if(n.target==e.scrollDOM&&n.clientY>e.contentDOM.getBoundingClientRect().bottom&&(t(SF.mousedown,n),!n.defaultPrevented&&n.button==2)){let t=e.contentDOM.style.minHeight;e.contentDOM.style.minHeight=`100%`,setTimeout(()=>e.contentDOM.style.minHeight=t,200)}}),e.scrollDOM.addEventListener(`drop`,n=>{n.target==e.scrollDOM&&n.clientY>e.contentDOM.getBoundingClientRect().bottom&&t(SF.drop,n)}),Y.chrome&&Y.chrome_version==102&&e.scrollDOM.addEventListener(`wheel`,()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents=`none`:window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=``},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,Y.safari&&e.contentDOM.addEventListener(`input`,()=>null),Y.gecko&&mie(e.contentDOM.ownerDocument)}ensureHandlers(e,t){let n;this.customHandlers=[];for(let r of t)if(n=r.update(e).spec?.domEventHandlers){this.customHandlers.push({plugin:r.value,handlers:n});for(let t in n)this.registeredEvents.indexOf(t)<0&&t!=`scroll`&&(this.registeredEvents.push(t),e.contentDOM.addEventListener(t,n=>{xF(e,n)&&this.runCustomHandlers(t,e,n)&&n.preventDefault()}))}}runCustomHandlers(e,t,n){for(let r of this.customHandlers){let i=r.handlers[e];if(i)try{if(i.call(r.plugin,n,t)||n.defaultPrevented)return!0}catch(e){cP(t.state,e)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let n of this.customHandlers){let r=n.handlers.scroll;if(r)try{r.call(n.plugin,t,e)}catch(t){cP(e.state,t)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()<this.lastEscPress+2e3)return!0;if(t.keyCode!=27&&vF.indexOf(t.keyCode)<0&&(e.inputState.lastEscPress=0),Y.android&&Y.chrome&&!t.synthetic&&(t.keyCode==13||t.keyCode==8))return e.observer.delayAndroidKey(t.key,t.keyCode),!0;let n;return Y.ios&&!t.synthetic&&!t.altKey&&!t.metaKey&&((n=_F.find(e=>e.keyCode==t.keyCode))&&!t.ctrlKey||tie.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=n||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,YM(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Y.safari&&!Y.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}mustFlushObserver(e){return e.type==`keydown`&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}},_F=[{key:`Backspace`,keyCode:8,inputType:`deleteContentBackward`},{key:`Enter`,keyCode:13,inputType:`insertParagraph`},{key:`Enter`,keyCode:13,inputType:`insertLineBreak`},{key:`Delete`,keyCode:46,inputType:`deleteContentForward`}],tie=`dthko`,vF=[16,17,18,20,91,92,224,225],yF=6;function bF(e){return Math.max(0,e)*.7+8}function nie(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}var rie=class{constructor(e,t,n,r){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=UM(e.contentDOM),this.atoms=e.state.facet(_P).map(t=>t(e));let i=e.contentDOM.ownerDocument;i.addEventListener(`mousemove`,this.move=this.move.bind(this)),i.addEventListener(`mouseup`,this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(Xj.allowMultipleSelections)&&iie(e,t),this.dragging=oie(e,t)&&NF(t)==1?null:!1}start(e){this.dragging===!1&&(e.preventDefault(),this.select(e))}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&nie(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let t=0,n=0,r=this.scrollParent?.getBoundingClientRect()||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},i=xP(this.view);e.clientX-i.left<=r.left+yF?t=-bF(r.left-e.clientX):e.clientX+i.right>=r.right-yF&&(t=bF(e.clientX-r.right)),e.clientY-i.top<=r.top+yF?n=-bF(r.top-e.clientY):e.clientY+i.bottom>=r.bottom-yF&&(n=bF(e.clientY-r.bottom)),this.setScrollSpeed(t,n)}up(e){this.dragging??this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener(`mousemove`,this.move),e.removeEventListener(`mouseup`,this.up),this.view.inputState.mouseSelection=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let n=0;n<e.ranges.length;n++){let r=e.ranges[n],i=null;if(r.empty){let e=hF(this.atoms,r.from,0);e!=r.from&&(i=q.cursor(e,-1))}else{let e=hF(this.atoms,r.from,-1),t=hF(this.atoms,r.to,1);(e!=r.from||t!=r.to)&&(i=q.range(r.from==r.anchor?e:t,r.from==r.head?e:t))}
30i&&(t||=e.ranges.slice(),t[n]=i)}return t?q.create(t,e.mainIndex):e}select(e){let{view:t}=this,n=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(t.state.selection)||n.main.assoc!=t.state.selection.main.assoc&&this.dragging===!1)&&this.view.dispatch({selection:n,userEvent:`select.pointer`}),this.mustSelect=!1}update(e){e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}};function iie(e,t){let n=e.state.facet(ZN);return n.length?n[0](t):Y.mac?t.metaKey:t.ctrlKey}function aie(e,t){let n=e.state.facet(QN);return n.length?n[0](t):Y.mac?!t.altKey:!t.ctrlKey}function oie(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let r=jM(e.root);if(!r||r.rangeCount==0)return!0;let i=r.getRangeAt(0).getClientRects();for(let e=0;e<i.length;e++){let n=i[e];if(n.left<=t.clientX&&n.right>=t.clientX&&n.top<=t.clientY&&n.bottom>=t.clientY)return!0}return!1}function xF(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target,r;n!=e.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=nN.get(n))&&r.ignoreEvent(t))return!1;return!0}var SF=Object.create(null),CF=Object.create(null),wF=Y.ie&&Y.ie_version<15||Y.ios&&Y.webkit_version<604;function sie(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement(`textarea`));n.style.cssText=`position: fixed; left: -10000px; top: 10px`,n.focus(),setTimeout(()=>{e.focus(),n.remove(),TF(e,n.value)},50)}function TF(e,t){let{state:n}=e,r,i=1,a=n.toText(t),o=a.lines==n.selection.ranges.length;if(FF!=null&&n.selection.ranges.every(e=>e.empty)&&FF==a.toString()){let e=-1;r=n.changeByRange(r=>{let s=n.doc.lineAt(r.from);if(s.from==e)return{range:r};e=s.from;let c=n.toText((o?a.line(i++).text:t)+n.lineBreak);return{changes:{from:s.from,insert:c},range:q.cursor(r.from+c.length)}})}else r=o?n.changeByRange(e=>{let t=a.line(i++);return{changes:{from:e.from,to:e.to,insert:t.text},range:q.cursor(e.from+t.length)}}):n.replaceSelection(a);e.dispatch(r,{userEvent:`input.paste`,scrollIntoView:!0})}SF.keydown=(e,t)=>{e.inputState.setSelectionOrigin(`select`),t.keyCode==27&&(e.inputState.lastEscPress=Date.now())},SF.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin(`select.pointer`)},SF.touchmove=e=>{e.inputState.setSelectionOrigin(`select.pointer`)},CF.touchstart=CF.touchmove={passive:!0},SF.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return;let n=null;for(let r of e.state.facet($N))if(n=r(e,t),n)break;if(!n&&t.button==0&&(n=uie(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new rie(e,t,n,r)),r&&e.observer.ignore(()=>KM(e.contentDOM)),e.inputState.mouseSelection&&e.inputState.mouseSelection.start(t)}};function EF(e,t,n,r){if(r==1)return q.cursor(t,n);if(r==2)return rF(e.state,t,n);{let n=KN.find(e.docView,t),r=e.state.doc.lineAt(n?n.posAtEnd:t),i=n?n.posAtStart:r.from,a=n?n.posAtEnd:r.to;return a<e.state.doc.length&&a==r.to&&a++,q.range(i,a)}}var DF=(e,t)=>e>=t.top&&e<=t.bottom,OF=(e,t,n)=>DF(t,n)&&e>=n.left&&e<=n.right;function cie(e,t,n,r){let i=KN.find(e.docView,t);if(!i)return 1;let a=t-i.posAtStart;if(a==0)return 1;if(a==i.length)return-1;let o=i.coordsAt(a,-1);if(o&&OF(n,r,o))return-1;let s=i.coordsAt(a,1);return s&&OF(n,r,s)?1:o&&DF(r,o)?-1:1}function kF(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,bias:cie(e,n,t.clientX,t.clientY)}}var lie=Y.ie&&Y.ie_version<=11,AF=null,jF=0,MF=0;function NF(e){if(!lie)return e.detail;let t=AF,n=MF;return AF=e,MF=Date.now(),jF=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(jF+1)%3:1}function uie(e,t){let n=kF(e,t),r=NF(t),i=e.state.selection;return{update(e){e.docChanged&&(n.pos=e.changes.mapPos(n.pos),i=i.map(e.changes))},get(t,a,o){let s=kF(e,t),c,l=EF(e,s.pos,s.bias,r);if(n.pos!=s.pos&&!a){let t=EF(e,n.pos,n.bias,r),i=Math.min(t.from,l.from),a=Math.max(t.to,l.to);l=i<l.from?q.range(i,a):q.range(a,i)}return a?i.replaceRange(i.main.extend(l.from,l.to)):o&&r==1&&i.ranges.length>1&&(c=die(i,s.pos))?c:o?i.addRange(l):q.create([l])}}}function die(e,t){for(let n=0;n<e.ranges.length;n++){let{from:r,to:i}=e.ranges[n];if(r<=t&&i>=t)return q.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-+(e.mainIndex>n))}return null}SF.dragstart=(e,t)=>{let{selection:{main:n}}=e.state,{mouseSelection:r}=e.inputState;r&&(r.dragging=n),t.dataTransfer&&(t.dataTransfer.setData(`Text`,e.state.sliceDoc(n.from,n.to)),t.dataTransfer.effectAllowed=`copyMove`)};function PF(e,t,n,r){if(!n)return;let i=e.posAtCoords({x:t.clientX,y:t.clientY},!1);t.preventDefault();let{mouseSelection:a}=e.inputState,o=r&&a&&a.dragging&&aie(e,t)?{from:a.dragging.from,to:a.dragging.to}
30:null,s={from:i,insert:n},c=e.state.changes(o?[o,s]:s);e.focus(),e.dispatch({changes:c,selection:{anchor:c.mapPos(i,-1),head:c.mapPos(i,1)},userEvent:o?`move.drop`:`input.drop`})}SF.drop=(e,t)=>{if(!t.dataTransfer)return;if(e.state.readOnly)return t.preventDefault();let n=t.dataTransfer.files;if(n&&n.length){t.preventDefault();let r=Array(n.length),i=0,a=()=>{++i==n.length&&PF(e,t,r.filter(e=>e!=null).join(e.state.lineBreak),!1)};for(let e=0;e<n.length;e++){let t=new FileReader;t.onerror=a,t.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),a()},t.readAsText(n[e])}}else PF(e,t,t.dataTransfer.getData(`Text`),!0)},SF.paste=(e,t)=>{if(e.state.readOnly)return t.preventDefault();e.observer.flush();let n=wF?null:t.clipboardData;n?(TF(e,n.getData(`text/plain`)||n.getData(`text/uri-text`)),t.preventDefault()):sie(e)};function fie(e,t){let n=e.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement(`textarea`));r.style.cssText=`position: fixed; left: -10000px; top: 10px`,r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout(()=>{r.remove(),e.focus()},50)}function pie(e){let t=[],n=[],r=!1;for(let r of e.selection.ranges)r.empty||(t.push(e.sliceDoc(r.from,r.to)),n.push(r));if(!t.length){let i=-1;for(let{from:r}of e.selection.ranges){let a=e.doc.lineAt(r);a.number>i&&(t.push(a.text),n.push({from:a.from,to:Math.min(e.doc.length,a.to+1)})),i=a.number}r=!0}return{text:t.join(e.lineBreak),ranges:n,linewise:r}}var FF=null;SF.copy=SF.cut=(e,t)=>{let{text:n,ranges:r,linewise:i}=pie(e.state);if(!n&&!i)return;FF=i?n:null;let a=wF?null:t.clipboardData;a?(t.preventDefault(),a.clearData(),a.setData(`text/plain`,n)):fie(e,n),t.type==`cut`&&!e.state.readOnly&&e.dispatch({changes:r,scrollIntoView:!0,userEvent:`delete.cut`})};var IF=Mj.define();function LF(e,t){let n=[];for(let r of e.facet(rP)){let i=r(e,t);i&&n.push(i)}return n?e.update({effects:n,annotations:IF.of(!0)}):null}function RF(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=LF(e.state,t);n?e.dispatch(n):e.update([])}},10)}SF.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),RF(e)},SF.blur=e=>{e.observer.clearSelectionRange(),RF(e)},SF.compositionstart=SF.compositionupdate=e=>{e.inputState.compositionFirstChange??(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0)},SF.compositionend=e=>{e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,Y.chrome&&Y.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50)},SF.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},SF.beforeinput=(e,t)=>{let n;if(Y.chrome&&Y.android&&(n=_F.find(e=>e.inputType==t.inputType))&&(e.observer.delayAndroidKey(n.key,n.keyCode),n.key==`Backspace`||n.key==`Delete`)){let t=window.visualViewport?.height||0;setTimeout(()=>{(window.visualViewport?.height||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}};var zF=new Set;function mie(e){zF.has(e)||(zF.add(e),e.addEventListener(`copy`,()=>{}),e.addEventListener(`cut`,()=>{}))}var BF=[`pre-wrap`,`normal`,`pre-line`,`break-spaces`],hie=class{constructor(e){this.lineWrapping=e,this.doc=DA.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return BF.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];r<0?n++:this.heightSamples[Math.floor(r*10)]||(t=!0,this.heightSamples[Math.floor(r*10)]=!0)}return t}refresh(e,t,n,r,i,a){let o=BF.indexOf(e)>-1,s=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=t,this.charWidth=n,this.textHeight=r,this.lineLength=i,s){this.heightSamples={};for(let e=0;e<a.length;e++){let t=a[e];t<0?e++:this.heightSamples[Math.floor(t*10)]=!0}}return s}},gie=class{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}},VF=class e{constructor(e,t,n,r,i){this.from=e,this.length=t,this.top=n,this.height=r,this._content=i}get type(){return typeof this._content==`number`?RN.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof HN?this._content.widget:null}get widgetLineBreaks(){return typeof this._content==`number`?this._content:0}join(t){let n=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(t._content)?t._content:[t]);return new e(this.from,this.length+t.length,this.top,this.height+t.height,n)}},HF=(function(e){return e[e.ByPos=0]=`ByPos`,e[e.ByHeight=1]=`ByHeight`,e[e.ByPosNoHeight=2]=`ByPosNoHeight`,e})(HF||={}),UF=.001,WF=class e{constructor(e,t,n=2){this.length=e,this.height=t,this.flags=n}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>
vendor: 10,953 bytes, line 30
30UF&&(e.heightChanged=!0),this.height=t)}replace(t,n,r){return e.of(r)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,r){let i=this,a=n.doc;for(let o=r.length-1;o>=0;o--){let{fromA:s,toA:c,fromB:l,toB:u}=r[o],d=i.lineAt(s,HF.ByPosNoHeight,n.setDoc(t),0,0),f=d.to>=c?d:i.lineAt(c,HF.ByPosNoHeight,n,0,0);for(u+=f.to-c,c=f.to;o>0&&d.from<=r[o-1].toA;)s=r[o-1].fromA,l=r[o-1].fromB,o--,s<d.from&&(d=i.lineAt(s,HF.ByPosNoHeight,n,0,0));l+=d.from-s,s=d.from;let p=yie.build(n.setDoc(a),e,l,u);i=i.replace(s,c,p)}return i.updateHeight(n,0)}static empty(){return new KF(0,0)}static of(t){if(t.length==1)return t[0];let n=0,r=t.length,i=0,a=0;for(;;)if(n==r)if(i>a*2){let e=t[n-1];e.break?t.splice(--n,1,e.left,null,e.right):t.splice(--n,1,e.left,e.right),r+=1+e.break,i-=e.size}else if(a>i*2){let e=t[r];e.break?t.splice(r,1,e.left,null,e.right):t.splice(r,1,e.left,e.right),r+=2+e.break,a-=e.size}else break;else if(i<a){let e=t[n++];e&&(i+=e.size)}else{let e=t[--r];e&&(a+=e.size)}let o=0;return t[n-1]==null?(o=1,n--):t[n]??(o=1,r++),new _ie(e.of(t.slice(0,n)),o,e.of(t.slice(r)))}};WF.prototype.size=1;var GF=class extends WF{constructor(e,t,n){super(e,t),this.deco=n}blockAt(e,t,n,r){return new VF(r,this.length,n,this.height,this.deco||0)}lineAt(e,t,n,r,i){return this.blockAt(0,n,r,i)}forEachLine(e,t,n,r,i,a){e<=i+this.length&&t>=i&&a(this.blockAt(0,n,r,i))}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}},KF=class e extends GF{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,n,r){return new VF(r,this.length,n,this.height,this.breaks)}replace(t,n,r){let i=r[0];return r.length==1&&(i instanceof e||i instanceof qF&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof qF?i=new e(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):WF.of(r)}updateHeight(e,t=0,n=!1,r){return r&&r.from<=t&&r.more?this.setHeight(e,r.heights[r.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:``}${this.widgetHeight?`:`+this.widgetHeight:``})`}},qF=class e extends WF{constructor(e){super(e,0)}heightMetrics(e,t){let n=e.doc.lineAt(t).number,r=e.doc.lineAt(t+this.length).number,i=r-n+1,a,o=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*i);a=t/i,this.length>i+1&&(o=(this.height-t)/(this.length-i-1))}else a=this.height/i;return{firstLine:n,lastLine:r,perLine:a,perChar:o}}blockAt(e,t,n,r){let{firstLine:i,lastLine:a,perLine:o,perChar:s}=this.heightMetrics(t,r);if(t.lineWrapping){let i=r+Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length),a=t.doc.lineAt(i),c=o+a.length*s,l=Math.max(n,e-c/2);return new VF(a.from,a.length,l,c,0)}else{let r=Math.max(0,Math.min(a-i,Math.floor((e-n)/o))),{from:s,length:c}=t.doc.line(i+r);return new VF(s,c,n+o*r,o,0)}}lineAt(e,t,n,r,i){if(t==HF.ByHeight)return this.blockAt(e,n,r,i);if(t==HF.ByPosNoHeight){let{from:t,to:r}=n.doc.lineAt(e);return new VF(t,r-t,0,0,0)}let{firstLine:a,perLine:o,perChar:s}=this.heightMetrics(n,i),c=n.doc.lineAt(e),l=o+c.length*s,u=c.number-a,d=r+o*u+s*(c.from-i-u);return new VF(c.from,c.length,Math.max(r,Math.min(d,r+this.height-l)),l,0)}forEachLine(e,t,n,r,i,a){e=Math.max(e,i),t=Math.min(t,i+this.length);let{firstLine:o,perLine:s,perChar:c}=this.heightMetrics(n,i);for(let l=e,u=r;l<=t;){let t=n.doc.lineAt(l);if(l==e){let n=t.number-o;u+=s*n+c*(e-i-n)}let r=s+c*t.length;a(new VF(t.from,t.length,u,r,0)),u+=r,l=t.to+1}}replace(t,n,r){let i=this.length-n;if(i>0){let t=r[r.length-1];t instanceof e?r[r.length-1]=new e(t.length+i):r.push(null,new e(i-1))}if(t>0){let n=r[0];n instanceof e?r[0]=new e(t+n.length):r.unshift(new e(t-1),null)}return WF.of(r)}decomposeLeft(t,n){n.push(new e(t-1),null)}decomposeRight(t,n){n.push(null,new e(this.length-t-1))}updateHeight(t,n=0,r=!1,i){let a=n+this.length;if(i&&i.from<=n+this.length&&i.more){let r=[],o=Math.max(n,i.from),s=-1;for(i.from>n&&r.push(new e(i.from-n-1).updateHeight(t,n));o<=a&&i.more;){let e=t.doc.lineAt(o).length;r.length&&r.push(null);let n=i.heights[i.index++];s==-1?s=n:Math.abs(n-s)>=UF&&(s=-2);let a=new KF(e,n);a.outdated=!1,r.push(a),o+=e+1}o<=a&&r.push(null,new e(a-o).updateHeight(t,o));let c=WF.of(r);return(s<0||Math.abs(c.height-this.height)>=UF||Math.abs(s-this.heightMetrics(t,n).perLine)>=UF)&&(t.heightChanged=!0),c}else(r||this.outdated)&&(this.setHeight(t,t.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}},_ie=class extends WF{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,r){let i=n+this.left.height;return e<i?this.left.blockAt(e,t,n,r):this.right.blockAt(e,t,i,r+this.left.length+this.break)}lineAt(e,t,n,r,i){let a=r+this.left.height,o=i+this.left.length+this.break,s=t==HF.ByHeight?e<a:e<o,c=s?this.left.lineAt(e,t,n,r,i):this.right.lineAt(e,t,n,a,o);if(this.break||(s?c.to<o:c.from>o))return c;let l=t==HF.ByPosNoHeight?HF.ByPosNoHeight:HF.ByPos;return s?c.join(this.right.lineAt(o,l,n,a,o)):this.left.lineAt(o,l,n,r,i).join(c)}forEachLine(e,t,n,r,i,a){let o=r+this.left.height,s=i+this.left.length+this.break;if(this.break)e<s&&this.left.forEachLine(e,t,n,r,i,a),t>=s&&this.right.forEachLine(e,t,n,o,s,a);else{let c=this.lineAt(s,HF.ByPos,n,r,i);e<c.from&&this.left.forEachLine(e,c.from-1,n,r,i,a),c.to>=e&&c.from<=t&&a(c),t>c.to&&this.right.forEachLine(c.to+1,t,n,o,s,a)}}replace(e,t,n){let r=this.left.length+this.break;if(t<r)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n));let i=[];e>0&&this.decomposeLeft(e,i);let a=i.length;for(let e of n)i.push(e);if(e>0&&JF(i,a-1),t<this.length){let e=i.length;this.decomposeRight(t,i),JF(i,e)}return WF.of(i)}decomposeLeft(e,t){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(n++,e>=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e<n&&this.left.decomposeRight(e,t),this.break&&e<r&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?WF.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,r){let{left:i,right:a}=this,o=t+i.length+this.break,s=null;return r&&r.from<=t+i.length&&r.more?s=i=i.updateHeight(e,t,n,r):i.updateHeight(e,t,n),r&&r.from<=o+a.length&&r.more?s=a=a.updateHeight(e,o,n,r):a.updateHeight(e,o,n),s?this.balanced(i,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?` `:`-`)+this.right}};function JF(e,t){let n,r;e[t]==null&&(n=e[t-1])instanceof qF&&(r=e[t+1])instanceof qF&&e.splice(t-1,3,new qF(n.length+1+r.length))}var vie=5,yie=class e{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let e=Math.min(t,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof KF?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new KF(e-this.pos,-1)),this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){let r=n.widget?n.widget.estimatedHeight:0,i=n.widget?n.widget.lineBreaks:0;r<0&&(r=this.oracle.lineHeight);let a=t-e;n.block?this.addBlock(new GF(a,r,n)):(a||i||r>=vie)&&this.addLineDeco(r,i,a)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new KF(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new qF(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof KF)return e;let t=new KF(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco?.type;t==RN.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos+=e.length,t!=RN.WidgetBefore&&(this.covering=e)}addLineDeco(e,t,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos+=n}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof KF)&&!this.isCovered?this.nodes.push(new KF(0,-1)):(this.writtenTo<this.pos||t==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let n=e;for(let e of this.nodes)e instanceof KF&&e.updateHeight(this.oracle,n),n+=e?e.length:1;return this.nodes}static build(t,n,r,i){let a=new e(r,t);return nM.spans(n,r,i,a,0),a.finish(r)}};function bie(e,t,n){let r=new xie;return nM.compare(e,t,n,r,0),r.changes}var xie=class{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,n,r){(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&GN(e,t,this.changes,5)}};function Sie(e,t){let n=e.getBoundingClientRect(),r=e.ownerDocument,i=r.defaultView||window,a=Math.max(0,n.left),o=Math.min(i.innerWidth,n.right),s=Math.max(0,n.top),c=Math.min(i.innerHeight,n.bottom);for(let t=e.parentNode;t&&t!=r.body;)if(t.nodeType==1){let n=t,r=window.getComputedStyle(n);if((n.scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth)&&r.overflow!=`visible`){let r=n.getBoundingClientRect();a=Math.max(a,r.left),o=Math.min(o,r.right),s=Math.max(s,r.top),c=t==e.parentNode?r.bottom:Math.min(c,r.bottom)}t=r.position==`absolute`||r.position==`fixed`?n.offsetParent:n.parentNode}else if(t.nodeType==11)t=t.host;else break;return{left:a-n.left,right:Math.max(a,o)-n.left,top:s-(n.top+t),bottom:Math.max(s,c)-(n.top+t)}}function Cie(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}var YF=class{constructor(e,t,n){this.from=e,this.to=t,this.size=n}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r.from!=i.from||r.to!=i.to||r.size!=i.size)return!1}return!0}draw(e,t){return zN.replace({widget:new wie(this.size*(t?e.scaleY:e.scaleX),t)}
30).range(this.from,this.to)}},wie=class extends LN{constructor(e,t){super(),this.size=e,this.vertical=t}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement(`div`);return this.vertical?e.style.height=this.size+`px`:(e.style.width=this.size+`px`,e.style.height=`2px`,e.style.display=`inline-block`),e}get estimatedHeight(){return this.vertical?this.size:-1}},XF=class{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!0,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=eI,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=TP.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let t=e.facet(hP).some(e=>typeof e!=`function`&&e.class==`cm-lineWrapping`);this.heightOracle=new hie(t),this.stateDeco=e.facet(gP).filter(e=>typeof e!=`function`),this.heightMap=WF.empty().applyChanges(this.stateDeco,DA.empty,this.heightOracle.setDoc(e.doc),[new CP(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=zN.set(this.lineGaps.map(e=>e.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let r=n?t.head:t.anchor;if(!e.some(({from:e,to:t})=>r>=e&&r<=t)){let{from:t,to:n}=this.lineBlockAt(r);e.push(new ZF(t,n))}}this.viewports=e.sort((e,t)=>e.from-t.from),this.scaler=this.heightMap.height<=7e6?eI:new Die(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:tI(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(gP).filter(e=>typeof e!=`function`);let r=e.changedRanges,i=CP.extendWithRanges(r,bie(n,this.stateDeco,e?e.changes:QA.empty(this.state.doc.length))),a=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),this.heightMap.height!=a&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let s=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<s.from||t.range.head>s.to)||!this.viewportIsAppropriate(s))&&(s=this.getViewport(0,t));let c=!e.changes.empty||e.flags&2||s.from!=this.viewport.from||s.to!=this.viewport.to;this.viewport=s,this.updateForViewport(),c&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(aP)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection=n.direction==`rtl`?TP.RTL:TP.LTR;let a=this.heightOracle.mustRefreshForWrapping(i),o=t.getBoundingClientRect(),s=a||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let c=0,l=0;if(o.width&&o.height){let e=o.width/t.offsetWidth,n=o.height/t.offsetHeight;e>.995&&e<1.005&&(e=1),n>.995&&n<1.005&&(n=1),(this.scaleX!=e||this.scaleY!=n)&&(this.scaleX=e,this.scaleY=n,c|=8,a=s=!0)}let u=(parseInt(n.paddingTop)||0)*this.scaleY,d=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=u||this.paddingBottom!=d)&&(this.paddingTop=u,this.paddingBottom=
vendor: 39,558 bytes, lines 30-31
30d,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(s=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8);let f=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=f&&(this.scrollAnchorHeight=-1,this.scrollTop=f),this.scrolledToBottom=$M(e.scrollDOM);let p=(this.printing?Cie:Sie)(t,this.paddingTop),m=p.top-this.pixelViewport.top,h=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let g=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(g!=this.inView&&(this.inView=g,g&&(s=!0)),!this.inView&&!this.scrollTarget)return 0;let _=o.width;if((this.contentDOMWidth!=_||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),s){let t=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(t)&&(a=!0),a||r.lineWrapping&&Math.abs(_-this.contentDOMWidth)>r.charWidth){let{lineHeight:n,charWidth:o,textHeight:s}=e.docView.measureTextSize();a=n>0&&r.refresh(i,n,o,s,_/o,t),a&&(e.docView.minWidth=0,c|=8)}m>0&&h>0?l=Math.max(m,h):m<0&&h<0&&(l=Math.min(m,h)),r.heightChanged=!1;for(let n of this.viewports){let i=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n);this.heightMap=(a?WF.empty().applyChanges(this.stateDeco,DA.empty,this.heightOracle,[new CP(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,a,new gie(n.from,i))}r.heightChanged&&(c|=2)}let v=!this.viewportIsAppropriate(this.viewport,l)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return v&&(this.viewport=this.getViewport(l,this.scrollTarget)),this.updateForViewport(),(c&2||v)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,i=this.heightOracle,{visibleTop:a,visibleBottom:o}=this,s=new ZF(r.lineAt(a-n*1e3,HF.ByHeight,i,0,0).from,r.lineAt(o+(1-n)*1e3,HF.ByHeight,i,0,0).to);if(t){let{head:e}=t.range;if(e<s.from||e>s.to){let n=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),a=r.lineAt(e,HF.ByPos,i,0,0),o;o=t.y==`center`?(a.top+a.bottom)/2-n/2:t.y==`start`||t.y==`nearest`&&e<s.from?a.top:a.bottom-n,s=new ZF(r.lineAt(o-1e3/2,HF.ByHeight,i,0,0).from,r.lineAt(o+n+1e3/2,HF.ByHeight,i,0,0).to)}}return s}mapViewport(e,t){let n=t.mapPos(e.from,-1),r=t.mapPos(e.to,1);return new ZF(this.heightMap.lineAt(n,HF.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,HF.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0;let{top:r}=this.heightMap.lineAt(e,HF.ByPos,this.heightOracle,0,0),{bottom:i}=this.heightMap.lineAt(t,HF.ByPos,this.heightOracle,0,0),{visibleTop:a,visibleBottom:o}=this;return(e==0||r<=a-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||i>=o+Math.max(10,Math.min(n,250)))&&r>a-2*1e3&&i<o+2*1e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[];for(let r of e)t.touchesRange(r.from,r.to)||n.push(new YF(t.mapPos(r.from),t.mapPos(r.to),r.size));return n}ensureLineGaps(e,t){let n=this.heightOracle.lineWrapping,r=n?1e4:2e3,i=r>>1,a=r<<1;if(this.defaultTextDirection!=TP.LTR&&!n)return[];let o=[],s=(r,a,c,l)=>{if(a-r<i)return;let u=this.state.selection.main,d=[u.from];u.empty||d.push(u.to);for(let e of d)if(e>r&&e<a){s(r,e-10,c,l),s(e+10,a,c,l);return}let f=Eie(e,e=>e.from>=c.from&&e.to<=c.to&&Math.abs(e.from-r)<i&&Math.abs(e.to-a)<i&&!d.some(t=>e.from<t&&e.to>t));if(!f){if(a<c.to&&t&&n&&t.visibleRanges.some(e=>e.from<=a&&e.to>=a)){let e=t.moveToLineBoundary(q.cursor(a),!1,!0).head;e>r&&(a=e)}f=new YF(r,a,this.gapSize(c,r,a,l))}o.push(f)};for(let e of this.viewportLines){if(e.length<a)continue;let t=Tie(e.from,e.to,this.stateDeco);if(t.total<a)continue;let i=this.scrollTarget?this.scrollTarget.range.head:null,o,c;if(n){let n=r/this.heightOracle.lineLength*this.heightOracle.lineHeight,a,s;if(i!=null){let r=$F(t,i),o=((this.visibleBottom-this.visibleTop)/2+n)/e.height;a=r-o,s=r+o}else a=(this.visibleTop-e.top-n)/e.height,s=(this.visibleBottom-e.top+n)/e.height;o=QF(t,a),c=QF(t,s)}else{let e=t.total*this.heightOracle.charWidth,n=r*this.heightOracle.charWidth,a,s;if(i!=null){let r=$F(t,i),o=((this.pixelViewport.right-this.pixelViewport.left)/2+n)/e;a=r-o,s=r+o}else a=(this.pixelViewport.left-n)/e,s=(this.pixelViewport.right+n)/e;o=QF(t,a),c=QF(t,s)}o>e.from&&s(e.from,o,e,t),c<e.to&&s(c,e.to,e,t)}return o}gapSize(e,t,n,r){let i=$F(r,n)-$F(r,t);return this.heightOracle.lineWrapping?e.height*i:r.total*this.heightOracle.charWidth*i}updateLineGaps(e){YF.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=zN.set(e.map(e=>e.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];nM.spans(e,this.viewport.from,this.viewport.to,{span(e,n){t.push({from:e,to:n})},point(){}},20);let n=t.length!=this.visibleRanges.length||this.visibleRanges.some((e,n)=>e.from!=t[n].from||e.to!=t[n].to);return this.visibleRanges=t,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||tI(this.heightMap.lineAt(e,HF.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return tI(this.heightMap.lineAt(this.scaler.fromDOM(e),HF.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return tI(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}},ZF=class{constructor(e,t){this.from=e,this.to=t}};function Tie(e,t,n){let r=[],i=e,a=0;return nM.spans(n,e,t,{span(){},point(e,t){e>i&&(r.push({from:i,to:e}),a+=e-i),i=t}},20),i<t&&(r.push({from:i,to:t}),a+=t-i),{total:a,ranges:r}}function QF({total:e,ranges:t},n){if(n<=0)return t[0].from;if(n>=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let e=0;;e++){let{from:n,to:i}=t[e],a=i-n;if(r<=a)return n+r;r-=a}}function $F(e,t){let n=0;for(let{from:r,to:i}of e.ranges){if(t<=i){n+=t-r;break}n+=i-r}return n/e.total}function Eie(e,t){for(let n of e)if(t(n))return n}var eI={toDOM(e){return e},fromDOM(e){return e},scale:1},Die=class{constructor(e,t,n){let r=0,i=0,a=0;this.viewports=n.map(({from:n,to:i})=>{let a=t.lineAt(n,HF.ByPos,e,0,0).top,o=t.lineAt(i,HF.ByPos,e,0,0).bottom;return r+=o-a,{from:n,to:i,top:a,bottom:o,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(t.height-r);for(let e of this.viewports)e.domTop=a+(e.top-i)*this.scale,a=e.domBottom=e.domTop+(e.bottom-e.top),i=e.bottom}toDOM(e){for(let t=0,n=0,r=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.top)return r+(e-n)*this.scale;if(e<=i.bottom)return i.domTop+(e-i.top);n=i.bottom,r=i.domBottom}}fromDOM(e){for(let t=0,n=0,r=0;;t++){let i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.domTop)return n+(e-r)/this.scale;if(e<=i.domBottom)return i.top+(e-i.domTop);n=i.bottom,r=i.domBottom}}};function tI(e,t){if(t.scale==1)return e;let n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new VF(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map(e=>tI(e,t)):e._content)}var nI=J.define({combine:e=>e.join(` `)}),rI=J.define({combine:e=>e.indexOf(!0)>-1}),iI=xM.newName(),aI=xM.newName(),oI=xM.newName(),sI={"&light":`.`+aI,"&dark":`.`+oI};function cI(e,t,n){return new xM(t,{finish(t){return/&/.test(t)?t.replace(/&\w*/,t=>{if(t==`&`)return e;if(!n||!n[t])throw RangeError(`Unsupported selector: ${t}`);return n[t]}):e+` `+t}})}var Oie=cI(`.`+iI,{"&":{position:`relative !important`,boxSizing:`border-box`,"&.cm-focused":{outline:`1px dotted #212121`},display:`flex !important`,flexDirection:`column`},".cm-scroller":{display:`flex !important`,alignItems:`flex-start !important`,fontFamily:`monospace`,lineHeight:1.4,height:`100%`,overflowX:`auto`,position:`relative`,zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:`block`,whiteSpace:`pre`,wordWrap:`normal`,boxSizing:`border-box`,padding:`4px 0`,outline:`none`,"&[contenteditable=true]":{WebkitUserModify:`read-write-plaintext-only`}},".cm-lineWrapping":{whiteSpace_fallback:`pre-wrap`,whiteSpace:`break-spaces`,wordBreak:`break-word`,overflowWrap:`anywhere`,flexShrink:1},"&light .cm-content":{caretColor:`black`},"&dark .cm-content":{caretColor:`white`},".cm-line":{display:`block`,padding:`0 2px 0 6px`},".cm-layer":{position:`absolute`,left:0,top:0,contain:`size style`,"& > *":{position:`absolute`}},"&light .cm-selectionBackground":{background:`#d9d9d9`},"&dark .cm-selectionBackground":{background:`#222`},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:`#d7d4f0`},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:`#233`},".cm-cursorLayer":{pointerEvents:`none`},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:`steps(1) cm-blink 1.2s infinite`},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:`1.2px solid black`,marginLeft:`-0.6px`,pointerEvents:`none`},".cm-cursor":{display:`none`},"&dark .cm-cursor":{borderLeftColor:`#444`},".cm-dropCursor":{position:`absolute`},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:`block`},"&light .cm-activeLine":{backgroundColor:`#cceeff44`},"&dark .cm-activeLine":{backgroundColor:`#99eeff33`},"&light .cm-specialChar":{color:`red`},"&dark .cm-specialChar":{color:`#f78`},".cm-gutters":{flexShrink:0,display:`flex`,height:`100%`,boxSizing:`border-box`,insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:`#f5f5f5`,color:`#6c6c6c`,borderRight:`1px solid #ddd`},"&dark .cm-gutters":{backgroundColor:`#333338`,color:`#ccc`},".cm-gutter":{display:`flex !important`,flexDirection:`column`,flexShrink:0,boxSizing:`border-box`,minHeight:`100%`,overflow:`hidden`},".cm-gutterElement":{boxSizing:`border-box`},".cm-lineNumbers .cm-gutterElement":{padding:`0 3px 0 5px`,minWidth:`20px`,textAlign:`right`,whiteSpace:`nowrap`},"&light .cm-activeLineGutter":{backgroundColor:`#e2f2ff`},"&dark .cm-activeLineGutter":{backgroundColor:`#222227`},".cm-panels":{boxSizing:`border-box`,position:`sticky`,left:0,right:0},"&light .cm-panels":{backgroundColor:`#f5f5f5`,color:`black`},"&light .cm-panels-top":{borderBottom:`1px solid #ddd`},"&light .cm-panels-bottom":{borderTop:`1px solid #ddd`},"&dark .cm-panels":{backgroundColor:`#333338`,color:`white`},".cm-tab":{display:`inline-block`,overflow:`hidden`,verticalAlign:`bottom`},".cm-widgetBuffer":{verticalAlign:`text-top`,height:`1em`,width:0,display:`inline`},".cm-placeholder":{color:`#888`,display:`inline-block`,verticalAlign:`top`},".cm-highlightSpace:before":{content:`attr(data-display)`,position:`absolute`,pointerEvents:`none`,color:`#888`},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:`auto 100%`,backgroundPosition:`right 90%`,backgroundRepeat:`no-repeat`},".cm-trailingSpace":{backgroundColor:`#ff332255`},".cm-button":{verticalAlign:`middle`,color:`inherit`,fontSize:`70%`,padding:`.2em 1em`,borderRadius:`1px`},"&light .cm-button":{backgroundImage:`linear-gradient(#eff1f5, #d9d9df)`,border:`1px solid #888`,"&:active":{backgroundImage:`linear-gradient(#b4b4b4, #d0d3d6)`}},"&dark .cm-button":{backgroundImage:`linear-gradient(#393939, #111)`,border:`1px solid #888`,"&:active":{backgroundImage:`linear-gradient(#111, #333)`}},".cm-textfield":{verticalAlign:`middle`,color:`inherit`,fontSize:`70%`,border:`1px solid silver`,padding:`.2em .5em`},"&light .cm-textfield":{backgroundColor:`white`},"&dark .cm-textfield":{border:`1px solid #555`,backgroundColor:`inherit`}},sI),kie=class{constructor(e,t,n,r){this.typeOver=r,this.bounds=null,this.text=``;let{impreciseHead:i,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let t=i||a?[]:Mie(e),n=new cN(t,e.state);n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,this.newSel=Nie(t,this.bounds.from)}else{let t=e.observer.selectionRange,n=i&&i.node==t.focusNode&&i.offset==t.focusOffset||!MM(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),r=a&&a.node==t.anchorNode&&a.offset==t.anchorOffset||!MM(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset);this.newSel=q.single(r,n)}}};function lI(e,t){let n,{newSel:r}=t,i=e.state.selection.main,a=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:r,to:o}=t.bounds,s=i.from,c=null;(a===8||Y.android&&t.text.length<o-r)&&(s=i.to,c=`end`);let l=jie(e.state.doc.sliceString(r,o,sN),t.text,s-r,c);l&&(Y.chrome&&a==13&&l.toB==l.from+2&&t.text.slice(l.from,l.toB)==`ï¿¿ï¿¿`&&l.toB--,n={from:r+l.from,to:r+l.toA,insert:DA.of(t.text.slice(l.from,l.toB).split(sN))})}else r&&(!e.hasFocus&&e.state.facet(lP)||r.main.eq(i))&&(r=null);if(!n&&!r)return!1;if(!n&&t.typeOver&&!i.empty&&r&&r.main.empty?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,i.to)}:n&&n.from>=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,i.to))}:(Y.mac||Y.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&e.contentDOM.getAttribute(`autocorrect`)==`off`?(r&&n.insert.length==2&&(r=q.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:DA.of([` `])}):Y.chrome&&n&&n.from==n.to&&n.from==i.head&&n.insert.toString()==` 31 `&&e.lineWrapping&&(r&&=q.single(r.main.anchor-1,r.main.head-1),n={from:i.from,to:i.to,insert:DA.of([` `])}),n){if(Y.ios&&e.inputState.flushIOSKey(e)||Y.android&&(n.from==i.from&&n.to==i.to&&n.insert.length==1&&n.insert.lines==2&&YM(e.contentDOM,`Enter`,13)||(n.from==i.from-1&&n.to==i.to&&n.insert.length==0||a==8&&n.insert.length<n.to-n.from&&n.to>i.head)&&YM(e.contentDOM,`Backspace`,8)||n.from==i.from&&n.to==i.to+1&&n.insert.length==0&&YM(e.contentDOM,`Delete`,46)))return!0;let t=n.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let o,s=()=>o||=Aie(e,n,r);return e.state.facet(nP).some(r=>r(e,n.from,n.to,t,s))||e.dispatch(s()),!0}else if(r&&!r.main.eq(i)){let t=!1,n=`select`;return e.inputState.lastSelectionTime>Date.now()-50&&(e.inputState.lastSelectionOrigin==`select`&&(t=!0),n=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:t,userEvent:n}),!0}else return!1}function Aie(e,t,n){let r,i=e.state,a=i.selection.main;if(t.from>=a.from&&t.to<=a.to&&t.to-t.from>=(a.to-a.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let n=a.from<t.from?i.sliceDoc(a.from,t.from):``,o=a.to>t.to?i.sliceDoc(t.to,a.to):``;r=i.replaceSelection(e.state.toText(n+t.insert.sliceString(0,void 0,e.state.lineBreak)+o))}else{let o=i.changes(t),s=n&&n.main.to<=o.newLength?n.main:void 0;if(i.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=a.to&&t.to>=a.to-10){let n=e.state.sliceDoc(t.from,t.to),c=XP(e,t.insert.length-(t.to-t.from))||e.state.doc.lineAt(a.head),l=a.to-t.to,u=a.to-a.from;r=i.changeByRange(r=>{if(r.from==a.from&&r.to==a.to)return{changes:o,range:s||r.map(o)};let d=r.to-l,f=d-n.length;if(r.to-r.from!=u||e.state.sliceDoc(f,d)!=n||c&&r.to>=c.from&&r.from<=c.to)return{range:r};let p=i.changes({from:f,to:d,insert:t.insert}),m=r.to-a.to;return{changes:p,range:s?q.range(Math.max(0,s.anchor+m),Math.max(0,s.head+m)):r.map(p)}})}else r={changes:o,selection:s&&i.selection.replaceRange(s)}}let o=`input.type`;return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,o+=`.compose`,e.inputState.compositionFirstChange&&(o+=`.start`,e.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:o,scrollIntoView:!0})}function jie(e,t,n,r){let i=Math.min(e.length,t.length),a=0;for(;a<i&&e.charCodeAt(a)==t.charCodeAt(a);)a++;if(a==i&&e.length==t.length)return null;let o=e.length,s=t.length;for(;o>0&&s>0&&e.charCodeAt(o-1)==t.charCodeAt(s-1);)o--,s--;if(r==`end`){let e=Math.max(0,a-Math.min(o,s));n-=o+e-a}if(o<a&&e.length<t.length){let e=n<=a&&n>=o?a-n:0;a-=e,s=a+(s-o),o=a}else if(s<a){let e=n<=a&&n>=s?a-n:0;a-=e,o=a+(o-s),s=a}return{from:a,toA:o,toB:s}}function Mie(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:a}=e.observer.selectionRange;return n&&(t.push(new uN(n,r)),(i!=n||a!=r)&&t.push(new uN(i,a))),t}function Nie(e,t){if(e.length==0)return null;let n=e[0].pos,r=e.length==2?e[1].pos:n;return n>-1&&r>-1?q.single(n+t,r+t):null}var Pie={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},uI=Y.ie&&Y.ie_version<=11,Fie=class{constructor(e){this.view=e,this.active=!1,this.selectionRange=new WM,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let e of t)this.queue.push(e);(Y.ie&&Y.ie_version<=11||Y.ios&&e.composing)&&t.some(e=>e.type==`childList`&&e.removedNodes.length||e.type==`characterData`&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),uI&&(this.onCharData=e=>{this.queue.push({target:e.target,type:`characterData`,oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver==`function`&&(this.resizeScroll=new ResizeObserver(()=>{this.view.docView?.lastUpdate<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM),this.resizeContent=new ResizeObserver(()=>this.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver==`function`&&(this.intersection=new IntersectionObserver(e=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),e.length>0&&e[e.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent(`Event`)))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(e=>{e.length>0&&e[e.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent(`Event`))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runScrollHandlers(this.view,e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(lP)?n.root.activeElement!=this.dom:!PM(n.dom,r))return;let i=r.anchorNode&&n.docView.nearest(r.anchorNode);if(i&&i.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(Y.ie&&Y.ie_version<=11||Y.android&&Y.chrome)&&!n.state.selection.main.empty&&r.focusNode&&IM(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Y.safari&&e.root.nodeType==11&&NM(this.dom.ownerDocument)==this.dom&&Iie(this.view)||jM(e.root);if(!t||this.selectionRange.eq(t))return!1;let n=PM(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&QM(this.dom,t)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(t),n&&(this.selectionChanged=!0),!0)}setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,t=null;for(let n=this.dom;n;)if(n.nodeType==1)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||=this.scrollTargets.slice(0,e),t&&t.push(n),n=n.assignedSlot||n.parentNode;else if(n.nodeType==11)n=n.host;else break;if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){for(let e of this.scrollTargets)e.removeEventListener(`scroll`,this.onScroll);for(let e of this.scrollTargets=t)e.addEventListener(`scroll`,this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||=(this.observer.observe(this.dom,Pie),uI&&this.dom.addEventListener(`DOMCharacterDataModified`,this.onCharData),!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),uI&&this.dom.removeEventListener(`DOMCharacterDataModified`,this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){if(!this.delayedAndroidKey){let e=()=>{let e=this.delayedAndroidKey;e&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&YM(this.dom,e.key,e.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}(!this.delayedAndroidKey||e==`Enter`)&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!this.delayedAndroidKey?.force})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,r=!1;for(let i of e){let e=this.readMutation(i);e&&(e.typeOver&&(r=!0),t==-1?{from:t,to:n}=e:(t=Math.min(e.from,t),n=Math.max(e.to,n)))}return{from:t,to:n,typeOver:r}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),r=this.selectionChanged&&PM(this.dom,this.selectionRange);return e<0&&!r?null:(e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new kie(this.view,e,t,n))}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let n=this.view.state,r=lI(this.view,t);return this.view.state==n&&this.view.update([]),r}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type==`attributes`),e.type==`attributes`&&(t.flags|=4),e.type==`childList`){let n=dI(t,e.previousSibling||e.target.previousSibling,-1),r=dI(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}else if(e.type==`characterData`)return{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue};else return null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener(`resize`,this.onResize),e.addEventListener(`beforeprint`,this.onPrint),e.addEventListener(`scroll`,this.onScroll),e.document.addEventListener(`selectionchange`,this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener(`scroll`,this.onScroll),e.removeEventListener(`resize`,this.onResize),e.removeEventListener(`beforeprint`,this.onPrint),e.document.removeEventListener(`selectionchange`,this.onSelectionChange)}destroy(){var e,t,n,r;this.stop(),(e=this.intersection)==null||e.disconnect(),(t=this.gapIntersection)==null||t.disconnect(),(n=this.resizeScroll)==null||n.disconnect(),(r=this.resizeContent)==null||r.disconnect();for(let e of this.scrollTargets)e.removeEventListener(`scroll`,this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}};function dI(e,t,n){for(;t;){let r=nN.get(t);if(r&&r.parent==e)return r;let i=t.parentNode;t=i==e.dom?n>0?t.nextSibling:t.previousSibling:i}return null}function Iie(e){let t=null;function n(e){e.preventDefault(),e.stopImmediatePropagation(),t=e.getTargetRanges()[0]}if(e.contentDOM.addEventListener(`beforeinput`,n,!0),e.dom.ownerDocument.execCommand(`indent`),e.contentDOM.removeEventListener(`beforeinput`,n,!0),!t)return null;let r=t.startContainer,i=t.startOffset,a=t.endContainer,o=t.endOffset,s=e.docView.domAtPos(e.state.selection.main.anchor);return IM(s.node,s.offset,a,o)&&([r,i,a,o]=[a,o,r,i]),{anchorNode:r,anchorOffset:i,focusNode:a,focusOffset:o}}var X=class e{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement(`div`),this.scrollDOM=document.createElement(`div`),this.scrollDOM.tabIndex=-1,this.scrollDOM.className=`cm-scroller`,this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement(`div`),this.announceDOM.style.cssText=`position: fixed; top: -10000px`,this.announceDOM.setAttribute(`aria-live`,`polite`),this.dom=document.createElement(`div`),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM);let{dispatch:t}=e;this.dispatchTransactions=e.dispatchTransactions||t&&(e=>e.forEach(e=>t(e,this)))||(e=>this.update(e)),this.dispatch=this.dispatch.bind(this),this._root=e.root||XM(e.parent)||document,this.viewState=new XF(e.state||Xj.create(e)),this.plugins=this.state.facet(dP).map(e=>new pP(e));for(let e of this.plugins)e.update(this);this.observer=new Fie(this),this.inputState=new eie(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new qP(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}dispatch(...e){let t=e.length==1&&e[0]instanceof Ij?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(this.updateState!=0)throw Error(`Calls to EditorView.update are not allowed while an update is in progress`);let t=!1,n=!1,r,i=this.state;for(let t of e){if(t.startState!=i)throw RangeError(`Trying to update state with a transaction that doesn't start from the previous state.`);i=t.state}if(this.destroyed){this.viewState.state=i;return}let a=this.hasFocus,o=0,s=null;e.some(e=>e.annotation(IF))?(this.inputState.notifiedFocused=a,o=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,s=LF(i,a),s||(o=1));let c=this.observer.delayedAndroidKey,l=null;if(c?(this.observer.clearDelayedAndroidKey(),l=this.observer.readChange(),(l&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(l=null)):this.observer.clear(),i.facet(Xj.phrases)!=this.state.facet(Xj.phrases))return this.setState(i);r=wP.create(this,i,e),r.flags|=o;let u=this.viewState.scrollTarget;try{this.updateState=2;for(let t of e){if(u&&=u.map(t.changes),t.scrollIntoView){let{main:e}=t.state.selection;u=new oP(e.empty?e:q.cursor(e.head,e.head>e.anchor?-1:1))}for(let e of t.effects)e.is(sP)&&(u=e.value)}this.viewState.update(r,u),this.bidiCache=pI.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),t=this.docView.update(r),this.state.facet(SP)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(e=>e.isUserEvent(`select.pointer`)))}finally{this.updateState=0}if(r.startState.facet(nI)!=r.state.facet(nI)&&(this.viewState.mustMeasureContent=!0),(t||n||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!r.empty)for(let e of this.state.facet(tP))e(r);(s||l)&&Promise.resolve().then(()=>{s&&this.state==s.startState&&this.dispatch(s),l&&!lI(this,l)&&c.force&&YM(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw Error(`Calls to EditorView.setState are not allowed while an update is in progress`);if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);this.viewState=new XF(e),this.plugins=e.facet(dP).map(e=>new pP(e)),this.pluginMap.clear();for(let e of this.plugins)e.update(this);this.docView=new qP(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(dP),n=e.state.facet(dP);if(t!=n){let r=[];for(let i of n){let n=t.indexOf(i);if(n<0)r.push(new pP(i));else{let t=this.plugins[n];t.mustUpdate=e,r.push(t)}}for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this);this.plugins=r,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let t of this.plugins)t.mustUpdate=e;for(let e=0;e<this.plugins.length;e++)this.plugins[e].update(this)}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:i,scrollAnchorHeight:a}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(a<0)if($M(n))i=-1,a=this.viewState.heightMap.height;else{let e=this.viewState.scrollAnchorAt(r);i=e.from,a=e.top}this.updateState=1;let o=this.viewState.measure(this);if(!o&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(e>5){console.warn(this.measureRequests.length?`Measure loop restarted more than 5 times`:`Viewport failed to stabilize`);break}let s=[];o&4||([this.measureRequests,s]=[s,this.measureRequests]);let c=s.map(e=>{try{return e.read(this)}catch(e){return cP(this.state,e),fI}}),l=wP.create(this,this.state,[]),u=!1;l.flags|=o,t?t.flags|=o:t=l,this.updateState=2,l.empty||(this.updatePlugins(l),this.inputState.update(l),this.updateAttrs(),u=this.docView.update(l));for(let e=0;e<s.length;e++)if(c[e]!=fI)try{let t=s[e];t.write&&t.write(c[e],this)}catch(e){cP(this.state,e)}if(u&&this.docView.updateSelection(!0),!l.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null;continue}else{let e=(i<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(i).top)-a;if(e>1||e<-1){r+=e,n.scrollTop=r/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let e of this.state.facet(tP))e(t)}get themeClasses(){return iI+` `+(this.state.facet(rI)?oI:aI)+` `+this.state.facet(nI)}updateAttrs(){let e=mI(this,mP,{class:`cm-editor`+(this.hasFocus?` cm-focused `:` `)+this.themeClasses}),t={spellcheck:`false`,autocorrect:`off`,autocapitalize:`off`,translate:`no`,contenteditable:this.state.facet(lP)?`true`:`false`,class:`cm-content`,style:`${Y.tabSize}: ${this.state.tabSize}`,role:`textbox`,"aria-multiline":`true`};this.state.readOnly&&(t[`aria-readonly`]=`true`),mI(this,hP,t);let n=this.observer.ignore(()=>{let n=FN(this.contentDOM,this.contentAttrs,t),r=FN(this.dom,this.editorAttrs,e);return n||r});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(t){let n=!0;for(let r of t)for(let t of r.effects)if(t.is(e.announce)){n&&(this.announceDOM.textContent=``),n=!1;let e=this.announceDOM.appendChild(document.createElement(`div`));e.textContent=t.value}}mountStyles(){this.styleModules=this.state.facet(SP);let t=this.state.facet(e.cspNonce);xM.mount(this.root,this.styleModules.concat(Oie).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(this.updateState==2)throw Error(`Reading the editor layout isn't allowed during an update`);this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key){this.measureRequests[t]=e;return}}this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(t===void 0||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find(t=>t.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return gF(this,e,mF(this,e,t,n))}moveByGroup(e,t){return gF(this,e,mF(this,e,t,t=>Qre(this,e.head,t)))}moveToLineBoundary(e,t,n=!0){return Zre(this,e,t,n)}moveVertically(e,t,n){return gF(this,e,$re(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),dF(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),i=this.bidiSpans(r),a=i[FP.find(i,e-r.from,-1,t)];return BM(n,a.dir==TP.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(iP)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>Lie)return WP(e.length);let t=this.textDirectionAt(e.from),n;for(let r of this.bidiCache)if(r.from==e.from&&r.dir==t&&(r.fresh||IP(r.isolates,n=yP(this,e.from,e.to))))return r.order;n||=yP(this,e.from,e.to);let r=UP(e.text,t,n);return this.bidiCache.push(new pI(e.from,e.to,t,n,!0,r)),r}get hasFocus(){return(this.dom.ownerDocument.hasFocus()||Y.safari&&this.inputState?.lastContextMenu>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{KM(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return sP.of(new oP(typeof e==`number`?q.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return fP.define(()=>({}),{eventHandlers:e})}static theme(e,t){let n=xM.newName(),r=[nI.of(n),SP.of(cI(`.${n}`,e))];return t&&t.dark&&r.push(rI.of(!0)),r}static baseTheme(e){return _j.lowest(SP.of(cI(`.`+iI,e,sI)))}static findFromDOM(e){let t=e.querySelector(`.cm-content`);return(t&&nN.get(t)||nN.get(e))?.rootView?.view||null}};X.styleModule=SP,X.inputHandler=nP,X.focusChangeEffect=rP,X.perLineTextDirection=iP,X.exceptionSink=eP,X.updateListener=tP,X.editable=lP,X.mouseSelectionStyle=$N,X.dragMovesSelection=QN,X.clickAddsSelectionRange=ZN,X.decorations=gP,X.atomicRanges=_P,X.bidiIsolatedRanges=vP,X.scrollMargins=bP,X.darkTheme=rI,X.cspNonce=J.define({combine:e=>e.length?e[0]:``}),X.contentAttributes=hP,X.editorAttributes=mP,X.lineWrapping=X.contentAttributes.of({class:`cm-lineWrapping`}),X.announce=Fj.define();var Lie=4096,fI={},pI=class e{constructor(e,t,n,r,i,a){this.from=e,this.to=t,this.dir=n,this.isolates=r,this.fresh=i,this.order=a}static update(t,n){if(n.empty&&!t.some(e=>e.fresh))return t;let r=[],i=t.length?t[t.length-1].dir:TP.LTR;for(let a=Math.max(0,t.length-10);a<t.length;a++){let o=t[a];o.dir==i&&!n.touchesRange(o.from,o.to)&&r.push(new e(n.mapPos(o.from,1),n.mapPos(o.to,-1),o.dir,o.isolates,!1,o.order))}return r}};function mI(e,t,n){for(let r=e.state.facet(t),i=r.length-1;i>=0;i--){let t=r[i],a=typeof t==`function`?t(e):t;a&&MN(a,n)}return n}var Rie=Y.mac?`mac`:Y.windows?`win`:Y.linux?`linux`:`key`;function zie(e,t){let n=e.split(/-(?!$)/),r=n[n.length-1];r==`Space`&&(r=` `);let i,a,o,s;for(let e=0;e<n.length-1;++e){let r=n[e];if(/^(cmd|meta|m)$/i.test(r))s=!0;else if(/^a(lt)?$/i.test(r))i=!0;else if(/^(c|ctrl|control)$/i.test(r))a=!0;else if(/^s(hift)?$/i.test(r))o=!0;else if(/^mod$/i.test(r))t==`mac`?s=!0:a=!0;else throw Error(`Unrecognized modifier name: `+r)}return i&&(r=`Alt-`+r),a&&(r=`Ctrl-`+r),s&&(r=`Meta-`+r),o&&(r=`Shift-`+r),r}function hI(e,t,n){return t.altKey&&(e=`Alt-`+e),t.ctrlKey&&(e=`Ctrl-`+e),t.metaKey&&(e=`Meta-`+e),n!==!1&&t.shiftKey&&(e=`Shift-`+e),e}var Bie=_j.default(X.domEventHandlers({keydown(e,t){return bI(vI(t.state),e,t,`editor`)}})),gI=J.define({enables:Bie}),_I=new WeakMap;function vI(e){let t=e.facet(gI),n=_I.get(t);return n||_I.set(t,n=Uie(t.reduce((e,t)=>
vendor: 4,213 bytes, line 31
31e.concat(t),[]))),n}function Vie(e,t,n){return bI(vI(e.state),t,e,n)}var yI=null,Hie=4e3;function Uie(e,t=Rie){let n=Object.create(null),r=Object.create(null),i=(e,t)=>{let n=r[e];if(n==null)r[e]=t;else if(n!=t)throw Error(`Key binding `+e+` is used both as a regular binding and as a multi-stroke prefix`)},a=(e,r,a,o,s)=>{let c=n[e]||(n[e]=Object.create(null)),l=r.split(/ (?!$)/).map(e=>zie(e,t));for(let t=1;t<l.length;t++){let n=l.slice(0,t).join(` `);i(n,!0),c[n]||(c[n]={preventDefault:!0,stopPropagation:!1,run:[t=>{let r=yI={view:t,prefix:n,scope:e};return setTimeout(()=>{yI==r&&(yI=null)},Hie),!0}]})}let u=l.join(` `);i(u,!1);let d=c[u]||(c[u]={preventDefault:!1,stopPropagation:!1,run:(c._any?.run)?.slice()||[]});a&&d.run.push(a),o&&(d.preventDefault=!0),s&&(d.stopPropagation=!0)};for(let r of e){let e=r.scope?r.scope.split(` `):[`editor`];if(r.any)for(let t of e){let e=n[t]||(n[t]=Object.create(null));e._any||={preventDefault:!1,stopPropagation:!1,run:[]};for(let t in e)e[t].run.push(r.any)}let i=r[t]||r.key;if(i)for(let t of e)a(t,i,r.run,r.preventDefault,r.stopPropagation),r.shift&&a(t,`Shift-`+i,r.shift,r.preventDefault,r.stopPropagation)}return n}function bI(e,t,n,r){let i=AM(t),a=JA(KA(i,0))==i.length&&i!=` `,o=``,s=!1,c=!1,l=!1;yI&&yI.view==n&&yI.scope==r&&(o=yI.prefix+` `,vF.indexOf(t.keyCode)<0&&(c=!0,yI=null));let u=new Set,d=e=>{if(e){for(let r of e.run)if(!u.has(r)&&(u.add(r),r(n,t)))return e.stopPropagation&&(l=!0),!0;e.preventDefault&&(e.stopPropagation&&(l=!0),c=!0)}return!1},f=e[r],p,m;return f&&(d(f[o+hI(i,t,!a)])?s=!0:a&&(t.altKey||t.metaKey||t.ctrlKey)&&!(Y.windows&&t.ctrlKey&&t.altKey)&&(p=wM[t.keyCode])&&p!=i?(d(f[o+hI(p,t,!0)])||t.shiftKey&&(m=TM[t.keyCode])!=i&&m!=p&&d(f[o+hI(m,t,!1)]))&&(s=!0):a&&t.shiftKey&&d(f[o+hI(i,t,!0)])&&(s=!0),!s&&d(f._any)&&(s=!0)),c&&(s=!0),s&&l&&t.stopPropagation(),s}var xI=class e{constructor(e,t,n,r,i){this.className=e,this.left=t,this.top=n,this.width=r,this.height=i}draw(){let e=document.createElement(`div`);return e.className=this.className,this.adjust(e),e}update(e,t){return t.className==this.className?(this.adjust(e),!0):!1}adjust(e){e.style.left=this.left+`px`,e.style.top=this.top+`px`,this.width!=null&&(e.style.width=this.width+`px`),e.style.height=this.height+`px`}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(t,n,r){if(r.empty){let i=t.coordsAtPos(r.head,r.assoc||1);if(!i)return[];let a=SI(t);return[new e(n,i.left-a.left,i.top-a.top,null,i.bottom-i.top)]}else return Wie(t,n,r)}};function SI(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==TP.LTR?t.left:t.right-e.scrollDOM.clientWidth*e.scaleX)-e.scrollDOM.scrollLeft*e.scaleX,top:t.top-e.scrollDOM.scrollTop*e.scaleY}}function CI(e,t,n){let r=q.cursor(t);return{from:Math.max(n.from,e.moveToLineBoundary(r,!1,!0).from),to:Math.min(n.to,e.moveToLineBoundary(r,!0,!0).from),type:RN.Text}}function Wie(e,t,n){if(n.to<=e.viewport.from||n.from>=e.viewport.to)return[];let r=Math.max(n.from,e.viewport.from),i=Math.min(n.to,e.viewport.to),a=e.textDirection==TP.LTR,o=e.contentDOM,s=o.getBoundingClientRect(),c=SI(e),l=o.querySelector(`.cm-line`),u=l&&window.getComputedStyle(l),d=s.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),f=s.right-(u?parseInt(u.paddingRight):0),p=pF(e,r),m=pF(e,i),h=p.type==RN.Text?p:null,g=m.type==RN.Text?m:null;if(h&&(e.lineWrapping||p.widgetLineBreaks)&&(h=CI(e,r,h)),g&&(e.lineWrapping||m.widgetLineBreaks)&&(g=CI(e,i,g)),h&&g&&h.from==g.from)return v(y(n.from,n.to,h));{let t=h?y(n.from,null,h):b(p,!1),r=g?y(null,n.to,g):b(m,!0),i=[];return(h||p).to<(g||m).from-(h&&g?1:0)||p.widgetLineBreaks>1&&t.bottom+e.defaultLineHeight/2<r.top?i.push(_(d,t.bottom,f,r.top)):t.bottom<r.top&&e.elementAtHeight((t.bottom+r.top)/2).type==RN.Text&&(t.bottom=r.top=(t.bottom+r.top)/2),v(t).concat(i).concat(v(r))}function _(e,n,r,i){return new xI(t,e-c.left,n-c.top-.01,r-e,i-n+.01)}function v({top:e,bottom:t,horizontal:n}){let r=[];for(let i=0;i<n.length;i+=2)r.push(_(n[i],e,n[i+1],t));return r}function y(t,n,r){let i=1e9,o=-1e9,s=[];function c(t,n,c,l,u){let p=e.coordsAtPos(t,t==r.to?-2:2),m=e.co
vendor: 3,256 bytes, line 31
31ordsAtPos(c,c==r.from?2:-2);!p||!m||(i=Math.min(p.top,m.top,i),o=Math.max(p.bottom,m.bottom,o),u==TP.LTR?s.push(a&&n?d:p.left,a&&l?f:m.right):s.push(!a&&l?d:m.left,!a&&n?f:p.right))}let l=t??r.from,u=n??r.to;for(let r of e.visibleRanges)if(r.to>l&&r.from<u)for(let i=Math.max(r.from,l),a=Math.min(r.to,u);;){let r=e.state.doc.lineAt(i);for(let o of e.bidiSpans(r)){let e=o.from+r.from,s=o.to+r.from;if(e>=a)break;s>i&&c(Math.max(e,i),t==null&&e<=l,Math.min(s,a),n==null&&s>=u,o.dir)}if(i=r.to+1,i>=a)break}return s.length==0&&c(l,t==null,u,n==null,e.textDirection),{top:i,bottom:o,horizontal:s}}function b(e,t){let n=s.top+(t?e.top:e.bottom);return{top:n,bottom:n,horizontal:[]}}}function Gie(e,t){return e.constructor==t.constructor&&e.eq(t)}var Kie=class{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement(`div`)),this.dom.classList.add(`cm-layer`),t.above&&this.dom.classList.add(`cm-layer-above`),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute(`aria-hidden`,`true`),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(wI)!=e.state.facet(wI)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}setOrder(e){let t=0,n=e.facet(wI);for(;t<n.length&&n[t]!=this.layer;)t++;this.dom.style.zIndex=String((this.layer.above?150:-1)-t)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:t}=this.view;(e!=this.scaleX||t!=this.scaleY)&&(this.scaleX=e,this.scaleY=t,this.dom.style.transform=`scale(${1/e}, ${1/t})`)}draw(e){if(e.length!=this.drawn.length||e.some((e,t)=>!Gie(e,this.drawn[t]))){let t=this.dom.firstChild,n=0;for(let r of e)r.update&&t&&r.constructor&&this.drawn[n].constructor&&r.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(r.draw(),t);for(;t;){let e=t.nextSibling;t.remove(),t=e}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}},wI=J.define();function TI(e){return[fP.define(t=>new Kie(t,e)),wI.of(e)]}var EI=!Y.ios,DI=J.define({combine(e){return Zj(e,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function qie(e={}){return[DI.of(e),Jie,AI,MI,aP.of(!0)]}function OI(e){return e.startState.facet(DI)!=e.state.facet(DI)}var Jie=TI({above:!0,markers(e){let{state:t}=e,n=t.facet(DI),r=[];for(let i of t.selection.ranges){let a=i==t.selection.main;if(i.empty?!a||EI:n.drawRangeCursor){let t=a?`cm-cursor cm-cursor-primary`:`cm-cursor cm-cursor-secondary`,n=i.empty?i:q.cursor(i.head,i.head>i.anchor?-1:1);for(let i of xI.forRange(e,t,n))r.push(i)}}return r},update(e,t){e.transactions.some(e=>e.selection)&&(t.style.animationName=t.style.animationName==`cm-blink`?`cm-blink2`:`cm-blink`);let n=OI(e);return n&&kI(e.state,t),e.docChanged||e.selectionSet||n},mount(e,t){kI(t.state,e)},class:`cm-cursorLayer`});function kI(e,t){t.style.animationDuration=e.facet(DI).cursorBlinkRate+`ms`}var AI=TI({above:!1,markers(e){return e.state.selection.ranges.map(t=>
vendor: 10,865 bytes, lines 31-32
31t.empty?[]:xI.forRange(e,`cm-selectionBackground`,t)).reduce((e,t)=>e.concat(t))},update(e,t){return e.docChanged||e.selectionSet||e.viewportChanged||OI(e)},class:`cm-selectionLayer`}),jI={".cm-line":{"& ::selection":{backgroundColor:`transparent !important`},"&::selection":{backgroundColor:`transparent !important`}}};EI&&(jI[`.cm-line`].caretColor=`transparent !important`);var MI=_j.highest(X.theme(jI)),NI=Fj.define({map(e,t){return e==null?null:t.mapPos(e)}}),PI=mj.define({create(){return null},update(e,t){return e!=null&&(e=t.changes.mapPos(e)),t.effects.reduce((e,t)=>t.is(NI)?t.value:e,e)}}),FI=fP.fromClass(class{constructor(e){this.view=e,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(e){var t;let n=e.state.field(PI);n==null?this.cursor!=null&&((t=this.cursor)==null||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement(`div`)),this.cursor.className=`cm-dropCursor`),(e.startState.field(PI)!=n||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:e}=this,t=e.state.field(PI),n=t!=null&&e.coordsAtPos(t);if(!n)return null;let r=e.scrollDOM.getBoundingClientRect();return{left:n.left-r.left+e.scrollDOM.scrollLeft*e.scaleX,top:n.top-r.top+e.scrollDOM.scrollTop*e.scaleY,height:n.bottom-n.top}}drawCursor(e){if(this.cursor){let{scaleX:t,scaleY:n}=this.view;e?(this.cursor.style.left=e.left/t+`px`,this.cursor.style.top=e.top/n+`px`,this.cursor.style.height=e.height/n+`px`):this.cursor.style.left=`-100000px`}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(e){this.view.state.field(PI)!=e&&this.view.dispatch({effects:NI.of(e)})}},{eventHandlers:{dragover(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave(e){(e.target==this.view.contentDOM||!this.view.contentDOM.contains(e.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function II(){return[PI,FI]}function LI(e,t,n,r,i){t.lastIndex=0;for(let a=e.iterRange(n,r),o=n,s;!a.next().done;o+=a.value.length)if(!a.lineBreak)for(;s=t.exec(a.value);)i(o+s.index,s)}function RI(e,t){let n=e.visibleRanges;if(n.length==1&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;let r=[];for(let{from:i,to:a}of n)i=Math.max(e.state.doc.lineAt(i).from,i-t),a=Math.min(e.state.doc.lineAt(a).to,a+t),r.length&&r[r.length-1].to>=i?r[r.length-1].to=a:r.push({from:i,to:a});return r}var zI=class{constructor(e){let{regexp:t,decoration:n,decorate:r,boundary:i,maxLength:a=1e3}=e;if(!t.global)throw RangeError(`The regular expression given to MatchDecorator should have its 'g' flag set`);if(this.regexp=t,r)this.addMatch=(e,t,n,i)=>r(i,n,n+e[0].length,e,t);else if(typeof n==`function`)this.addMatch=(e,t,r,i)=>{let a=n(e,t,r);a&&i(r,r+e[0].length,a)};else if(n)this.addMatch=(e,t,r,i)=>i(r,r+e[0].length,n);else throw RangeError(`Either 'decorate' or 'decoration' should be provided to MatchDecorator`);this.boundary=i,this.maxLength=a}createDeco(e){let t=new iM,n=t.add.bind(t);for(let{from:t,to:r}of RI(e,this.maxLength))LI(e.state.doc,this.regexp,t,r,(t,r)=>this.addMatch(r,e,t,n));return t.finish()}updateDeco(e,t){let n=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((t,i,a,o)=>{o>e.view.viewport.from&&a<e.view.viewport.to&&(n=Math.min(a,n),r=Math.max(o,r))}),e.viewportChanged||r-n>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t}updateRange(e,t,n,r){for(let i of e.visibleRanges){let a=Math.max(i.from,n),o=Math.min(i.to,r);if(o>a){let n=e.state.doc.lineAt(a),r=n.to<o?e.state.doc.lineAt(o):n,s=Math.max(i.from,n.from),c=Math.min(i.to,r.to);if(this.boundary){for(;a>n.from;a--)if(this.boundary.test(n.text[a-1-n.from])){s=a;break}for(;o<r.to;o++)if(this.boundary.test(r.text[o-r.from])){c=o;break}}let l=[],u,d=(e,t,n)=>l.push(n.range(e,t));if(n==r)for(this.regexp.lastIndex=s-n.from;(u=this.regexp.exec(n.text))&&u.index<c-n.from;)this.addMatch(u,e,u.index+n.from,d);else LI(e.state.doc,this.regexp,s,c,(t,n)=>this.addMatch(n,e,t,d));t=t.update({filterFrom:s,filterTo:c,filter:(e,t)=>e<s||t>c,add:l})}}return t}},BI=/x/.unicode==null?`g`:`gu`,VI=RegExp(`[\0-\b 32-��-ÂÂØâââ\u2028\u2029ââ®â¦â§â©ï»¿ï¿¹-]`,BI),HI={0:`null`,7:`bell`,8:`backspace`,10:`newline`,11:`vertical tab`,13:`carriage return`,27:`escape`,8203:`zero width space`,8204:`zero width non-joiner`,8205:`zero width joiner`,8206:`left-to-right mark`,8207:`right-to-left mark`,8232:`line separator`,8237:`left-to-right override`,8238:`right-to-left override`,8294:`left-to-right isolate`,8295:`right-to-left isolate`,8297:`pop directional isolate`,8233:`paragraph separator`,65279:`zero width no-break space`,65532:`object replacement`},UI=null;function WI(){if(UI==null&&typeof document<`u`&&document.body){let e=document.body.style;UI=(e.tabSize??e.MozTabSize)!=null}return UI||!1}var GI=J.define({combine(e){let t=Zj(e,{render:null,specialChars:VI,addSpecialChars:null});return(t.replaceTabs=!WI())&&(t.specialChars=RegExp(` |`+t.specialChars.source,BI)),t.addSpecialChars&&(t.specialChars=RegExp(t.specialChars.source+`|`+t.addSpecialChars.source,BI)),t}});function KI(e={}){return[GI.of(e),JI()]}var qI=null;function JI(){return qI||=fP.fromClass(class{constructor(e){this.view=e,this.decorations=zN.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(GI)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new zI({regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:i}=n.state,a=KA(t[0],0);if(a==9){let e=i.lineAt(r),t=n.state.tabSize,a=hM(e.text,t,r-e.from);return zN.replace({widget:new QI((t-a%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[a]||(this.decorationCache[a]=zN.replace({widget:new ZI(e,a)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(GI);e.startState.facet(GI)==t?this.decorations=this.decorator.updateDeco(e,this.decorations):(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view))}},{decorations:e=>e.decorations})}var YI=`â¢`;function XI(e){return e>=32?YI:e==10?`â¤`:String.fromCharCode(9216+e)}var ZI=class extends LN{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=XI(this.code),n=e.state.phrase(`Control character`)+` `+(HI[this.code]||`0x`+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,n,t);if(r)return r;let i=document.createElement(`span`);return i.textContent=t,i.title=n,i.setAttribute(`aria-label`,n),i.className=`cm-specialChar`,i}ignoreEvent(){return!1}},QI=class extends LN{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement(`span`);return e.textContent=` `,e.className=`cm-tab`,e.style.width=this.width+`px`,e}ignoreEvent(){return!1}};function $I(){return tL}var eL=zN.line({class:`cm-activeLine`}),tL=fP.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=-1,n=[];for(let r of e.state.selection.ranges){let i=e.lineBlockAt(r.head);i.from>t&&(n.push(eL.range(i.from)),t=i.from)}return zN.set(n)}},{decorations:e=>e.decorations}),nL=class extends LN{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement(`span`);return e.className=`cm-placeholder`,e.style.pointerEvents=`none`,e.appendChild(typeof this.content==`string`?document.createTextNode(this.content):this.content),typeof this.content==`string`?e.setAttribute(`aria-label`,`placeholder `+this.content):e.setAttribute(`aria-hidden`,`true`),e}coordsAt(e){let t=e.firstChild?FM(e.firstChild):[];if(!t.length)return null;let n=window.getComputedStyle(e.parentNode),r=BM(t[0],n.direction!=`rtl`),i=parseInt(n.lineHeight);return r.bottom-r.top>i*1.5?{left:r.left,right:r.right,top:r.top,bottom:r.top+i}:r}ignoreEvent(){return!1}};function rL(e){return fP.fromClass(class{constructor(t){this.view=t,this.placeholder=e?zN.set([zN.widget({widget:new nL(e),side:1}).range(0)]):zN.none}get decorations(){return this.view.state.doc.length?zN.none:this.placeholder}},{decorations:e=>e.decorations})}var iL=2e3;function aL(e,t,n){let r=Math.min(t.line,n.line),i=Math.max(t.line,n.line),a=[];if(t.off>iL||n.off>iL||t.col<0||n.col<0){let o=Math.min(t.off,n.off),s=Math.max(t.off,n.off);for(let t=r;t<=i;t++){let n=e.doc.line(t);n.length<=s&&a.push(q.range(n.from+o,n.to+s))}}else{let o=Math.min(t.col,n.col),s=Math.max(t.col,n.col);for(let t=r;t<=i;t++){let n=e.doc.line(t),r=gM(n.text,o,e.tabSize,!0);if(r<0)a.push(q.cursor(n.to));else{let t=gM(n.text,s,e.tabSize);a.push(q.range(n.from+r,n.from+t))}}}return a}function oL(e,t){let n=e.coordsAtPos(e.viewport.from);return n?Math.round(Math.abs((n.left-t)/e.defaultCharacterWidth)):-1}function sL(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1),r=e.state.doc.lineAt(n),i=n-r.from,a=i>iL?-1:i==r.length?oL(e,t.clientX):hM(r.text,e.state.tabSize,n-r.from);return{line:r.number,col:a,off:i}}function cL(e,t){let n=sL(e,t),r=e.state.selection;return n?{update(e){if(e.docChanged){let t=e.changes.mapPos(e.startState.doc.line(n.line).from),i=e.state.doc.lineAt(t);n={line:i.number,col:n.col,off:Math.min(n.off,i.length)},r=r.map(e.changes)}},get(t,i,a){let o=sL(e,t);if(!o)return r;let s=aL(e.state,n,o);return s.length?a?q.create(s.concat(r.ranges)):q.create(s):r}}:null}function lL(e){let t=e?.eventFilter||(e=>e.altKey&&e.button==0);return X.mouseSelectionStyle.of((e,n)=>t(n)?cL(e,n):null)}var uL={Alt:[18,e=>!!e.altKey],Control:[17,e=>!!e.ctrlKey],Shift:[16,e=>!!e.shiftKey],Meta:[91,e=>!!e.metaKey]},dL={style:`cursor: crosshair`};function fL(e={}){let[t,n]=uL[e.key||`Alt`],r=fP.fromClass(class{constructor(e){this.view=e,this.isDown=!1}set(e){this.isDown!=e&&(this.isDown=e,this.view.update([]))}},{eventHandlers:{keydown(e){this.set(e.keyCode==t||n(e))},keyup(e){(e.keyCode==t||!n(e))&&this.set(!1)},mousemove(e){this.set(n(e))}}});return[r,X.contentAttributes.of(e=>e.plugin(r)?.isDown?dL:null)]}var pL=`-10000px`,mL=class{constructor(e,t,n){this.facet=t,this.createTooltipView=n,this.input=e.state.facet(t),this.tooltips=this.input.filter(e=>e),this.tooltipViews=this.tooltips.map(n)}update(e){var t;let n=e.state.facet(this.facet),r=n.filter(e=>e);if(n===this.input){for(let t of this.tooltipViews)t.update&&t.update(e);return!1}let i=[];for(let t=0;t<r.length;t++){let n=r[t],a=-1;if(n){for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e];t&&t.create==n.create&&(a=e)}if(a<0)i[t]=this.createTooltipView(n);else{let n=i[t]=this.tooltipViews[a];n.update&&n.update(e)}}}for(let e of this.tooltipViews)i.indexOf(e)<0&&(e.dom.remove(),(t=e.destroy)==null||t.call(e));return this.input=n,this.tooltips=r,this.tooltipViews=i,!0}};function hL(e){let{win:t}=e;
32return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}var gL=J.define({combine:e=>({position:Y.ios?`absolute`:e.find(e=>e.position)?.position||`fixed`,parent:e.find(e=>e.parent)?.parent||null,tooltipSpace:e.find(e=>e.tooltipSpace)?.tooltipSpace||hL})}),_L=new WeakMap,vL=fP.fromClass(class{constructor(e){this.view=e,this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(gL);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new mL(e,xL,e=>this.createTooltip(e)),this.intersectionObserver=typeof IntersectionObserver==`function`?new IntersectionObserver(e=>{Date.now()>this.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener(`resize`,this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement(`div`),this.container.style.position=`relative`,this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e);t&&this.observeIntersection();let n=t||e.geometryChanged,r=e.state.facet(gL);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let e of this.manager.tooltipViews)this.container.appendChild(e.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e){let t=e.create(this.view);if(t.dom.classList.add(`cm-tooltip`),e.arrow&&!t.dom.querySelector(`.cm-tooltip > .cm-tooltip-arrow`)){let e=document.createElement(`div`);e.className=`cm-tooltip-arrow`,t.dom.appendChild(e)}return t.dom.style.position=this.position,t.dom.style.top=pL,this.container.appendChild(t.dom),t.mount&&t.mount(this.view),t}destroy(){var e,t;this.view.win.removeEventListener(`resize`,this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(e=t.destroy)==null||e.call(t);(t=this.intersectionObserver)==null||t.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=this.view.dom.getBoundingClientRect(),t=1,n=1,r=!1;if(this.position==`fixed`){let e=this.manager.tooltipViews;r=e.length>0&&e[0].dom.offsetParent!=this.container.ownerDocument.body}if(r||this.position==`absolute`)if(this.parent){let e=this.parent.getBoundingClientRect();e.width&&e.height&&(t=e.width/this.parent.offsetWidth,n=e.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:n}=this.view.viewState);return{editor:e,parent:this.parent?this.container.getBoundingClientRect():e,pos:this.manager.tooltips.map((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(gL).tooltipSpace(this.view),scaleX:t,scaleY:n,makeAbsolute:r}}writeMeasure(e){if(e.makeAbsolute){this.madeAbsolute=!0,this.position=`absolute`;for(let e of this.manager.tooltipViews)e.dom.style.position=`absolute`}let{editor:t,space:n,scaleX:r,scaleY:i}=e,a=[];for(let o=0;o<this.manager.tooltips.length;o++){let s=this.manager.tooltips[o],c=this.manager.tooltipViews[o],{dom:l}=c,u=e.pos[o],d=e.size[o];if(!u||u.bottom<=Math.max(t.top,n.top)||u.top>=Math.min(t.bottom,n.bottom)||u.right<Math.max(t.left,n.left)-.1||u.left>Math.min(t.right,n.right)+.1){l.style.top=pL;continue}let f=s.arrow?c.dom.querySelector(`.cm-tooltip-arrow`):null,p=f?7:0,m=d.right-d.left,h=_L.get(c)??d.bottom-d.top,g=c.offset||bL,_=this.view.textDirection==TP.LTR,v=d.width>
32n.right-n.left?_?n.left:n.right-d.width:_?Math.min(u.left-(f?14:0)+g.x,n.right-m):Math.max(n.left,u.left-m+(f?14:0)-g.x),y=!!s.above;!s.strictSide&&(y?u.top-(d.bottom-d.top)-g.y<n.top:u.bottom+(d.bottom-d.top)+g.y>n.bottom)&&y==n.bottom-u.bottom>u.top-n.top&&(y=!y);let b=(y?u.top-n.top:n.bottom-u.bottom)-p;if(b<h&&c.resize!==!1){if(b<this.view.defaultLineHeight){l.style.top=pL;continue}_L.set(c,h),l.style.height=(h=b)/i+`px`}else l.style.height&&(l.style.height=``);let x=y?u.top-h-p-g.y:u.bottom+p+g.y,S=v+m;if(c.overlap!==!0)for(let e of a)e.left<S&&e.right>v&&e.top<x+h&&e.bottom>x&&(x=y?e.top-h-2-p:e.bottom+p+2);if(this.position==`absolute`?(l.style.top=(x-e.parent.top)/i+`px`,l.style.left=(v-e.parent.left)/r+`px`):(l.style.top=x/i+`px`,l.style.left=v/r+`px`),f){let e=u.left+(_?g.x:-g.x)-(v+14-7);f.style.left=e/r+`px`}c.overlap!==!0&&a.push({left:v,top:x,right:S,bottom:x+h}),l.classList.toggle(`cm-tooltip-above`,y),l.classList.toggle(`cm-tooltip-below`,!y),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=pL}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),yL=X.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:`border-box`},"&light .cm-tooltip":{border:`1px solid #bbb`,backgroundColor:`#f5f5f5`},"&light .cm-tooltip-section:not(:first-child)":{borderTop:`1px solid #bbb`},"&dark .cm-tooltip":{backgroundColor:`#333338`,color:`white`},".cm-tooltip-arrow":{height:`7px`,width:`14px`,position:`absolute`,zIndex:-1,overflow:`hidden`,"&:before, &:after":{content:`''`,position:`absolute`,width:0,height:0,borderLeft:`7px solid transparent`,borderRight:`7px solid transparent`},".cm-tooltip-above &":{bottom:`-7px`,"&:before":{borderTop:`7px solid #bbb`},"&:after":{borderTop:`7px solid #f5f5f5`,bottom:`1px`}},".cm-tooltip-below &":{top:`-7px`,"&:before":{borderBottom:`7px solid #bbb`},"&:after":{borderBottom:`7px solid #f5f5f5`,top:`1px`}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:`#333338`,borderBottomColor:`#333338`},"&:after":{borderTopColor:`transparent`,borderBottomColor:`transparent`}}}),bL={x:0,y:0},xL=J.define({enables:[vL,yL]}),SL=J.define(),CL=class e{static create(t){return new e(t)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement(`div`),this.dom.classList.add(`cm-tooltip-hover`),this.manager=new mL(e,SL,e=>this.createHostedView(e))}createHostedView(e){let t=e.create(this.view);return t.dom.classList.add(`cm-tooltip-section`),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)(e=t.destroy)==null||e.call(t)}},wL=xL.compute([SL],e=>{let t=e.facet(SL).filter(e=>e);return t.length===0?null:{pos:Math.min(...t.map(e=>e.pos)),end:Math.max(...t.filter(e=>e.end!=null).map(e=>e.end)),create:CL.create,above:t[0].above,arrow:t.some(e=>e.arrow)}}),TL=class{constructor(e,t,n,r,i){this.view=e,this.source=t,this.field=n,this.setHover=r,this.hoverTime=i,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener(`mouseleave`,this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener(`mousemove`,this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:t}=this,n=e.docView.nearest(t.target);if(!n)return;let r,i=1;if(n instanceof EN)r=n.posAtStart;else{if(r=e.posAtCoords(t),r==null)return;let n=e.coordsAtPos(r);if(!n||t.y<n.top||t.y>n.bottom||t.x<n.left-e.defaultCharacterWidth||t.x>n.right+e.defaultCharacterWidth)return;let a=e.bidiSpans(e.state.doc.lineAt(r)).find(e=>e.from<=r&&e.to>=r),o=a&&a.dir==TP.RTL?-1:1;i=t.x<n.left?-o:o}let a=this.source(e,r,i);if(a?.then){let t=this.pending={pos:r};a.then(n=>{this.pending==t&&(this.pending=null,n&&e.dispatch({effects:this.setHover.of(n)}))},t=>cP(e.state,t,`hover tooltip`))}else a&&e.dispatch({effects:this.setHover.of(a)})}mousemove(e){this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let t=this.active;if(t&&!EL(this.lastMove.target)||this.pending){let{pos:n}=t||this.pending,r=t?.end??n;(n==r?this.view.posAtCoords(this.lastMove)!=n:!DL(this.view,n,r,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!EL(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener(`mouseleave`,this.mouseleave),this.view.dom.removeEventListener(`mousemove`,this.mousemove)}};function EL(e){for(let t=e;t;t=t.parentNode)if(t.nodeType==1&&t.classList.contains(`cm-tooltip`))return!0;return!1}function DL(e,t,n,r,i,a){let o=e.scrollDOM.getBoundingClientRect(),s=e.documentTop+e.documentPadding.top+e.contentHeight;if(o.left>r||o.right<r||o.top>i||Math.min(o.bottom,s)<i)return!1;let c=e.posAtCoords({x:r,y:i},!1);return c>=t&&c<=n}function OL(e,t={}){let n=Fj.define(),r=mj.define({create(){return null},update(e,r){if(e&&(t.hideOnChange&&(r.docChanged||r.selection)||t.hideOn&&t.hideOn(r,e)))return null;if(e&&r.docChanged){let t=r.changes.mapPos(e.pos,-1,XA.TrackDel);if(t==null)return null;let n=Object.assign(Object.create(null),e);n.pos=t,e.end!=null&&(n.end=r.changes.mapPos(e.end)),e=n}for(let t of r.effects)t.is(n)&&(e=t.value),t.is(AL)&&(e=null);return e},provide:e=>SL.from(e)});return[r,fP.define(i=>new TL(i,e,r,n,t.hoverTime||300)),wL]}function kL(e,t){let n=e.plugin(vL);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}var AL=Fj.define(),jL=J.define({combine(e){let t,n;for(let r of e)t||=r.topContainer,n||=r.bottomContainer;return{topContainer:t,bottomContainer:n}}});function ML(e,t){let n=e.plugin(NL),r=n?n.specs.indexOf(t):-1;return r>-1?n.panels[r]:null}var NL=fP.fromClass(class{constructor(e){this.input=e.state.facet(IL),this.specs=this.input.filter(e=>e),this.panels=this.specs.map(t=>t(e));let t=e.state.facet(jL);this.top=new PL(e,!0,t.topContainer),this.bottom=new PL(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(e=>e.top)),this.bottom.sync(this.panels.filter(e=>!e.top));for(let e of this.panels)e.dom.classList.add(`cm-panel`),e.mount&&e.mount()}update(e){let t=e.state.facet(jL);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new PL(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new PL(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(IL);if(n!=this.input){let t=n.filter(e=>e),r=[],i=[],a=[],o=[];for(let n of t){let t=this.specs.indexOf(n),s;
vendor: 7,434 bytes, line 32
32t<0?(s=n(e.view),o.push(s)):(s=this.panels[t],s.update&&s.update(e)),r.push(s),(s.top?i:a).push(s)}this.specs=t,this.panels=r,this.top.sync(i),this.bottom.sync(a);for(let e of o)e.dom.classList.add(`cm-panel`),e.mount&&e.mount()}else for(let t of this.panels)t.update&&t.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>X.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})}),PL=class{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes=``,this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&=(this.dom.remove(),void 0);return}if(!this.dom){this.dom=document.createElement(`div`),this.dom.className=this.top?`cm-panels cm-panels-top`:`cm-panels cm-panels-bottom`,this.dom.style[this.top?`top`:`bottom`]=`0`;let e=this.container||this.view.dom;e.insertBefore(this.dom,this.top?e.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=FL(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=FL(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(` `))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(` `))e&&this.container.classList.add(e)}}};function FL(e){let t=e.nextSibling;return e.remove(),t}var IL=J.define({enables:NL}),LL=class extends Qj{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}};LL.prototype.elementClass=``,LL.prototype.toDOM=void 0,LL.prototype.mapMode=XA.TrackBefore,LL.prototype.startSide=LL.prototype.endSide=-1,LL.prototype.point=!0;var RL=J.define(),zL={class:``,renderEmptyElements:!1,elementStyle:``,markers:()=>nM.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},BL=J.define();function VL(e){return[UL(),BL.of(Object.assign(Object.assign({},zL),e))]}var HL=J.define({combine:e=>e.some(e=>e)});function UL(e){let t=[WL];return e&&e.fixed===!1&&t.push(HL.of(!0)),t}var WL=fP.fromClass(class{constructor(e){this.view=e,this.prevViewport=e.viewport,this.dom=document.createElement(`div`),this.dom.className=`cm-gutters`,this.dom.setAttribute(`aria-hidden`,`true`),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+`px`,this.gutters=e.state.facet(BL).map(t=>new JL(e,t));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!e.state.facet(HL),this.fixed&&(this.dom.style.position=`sticky`),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}update(e){if(this.updateGutters(e)){let t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+`px`),this.view.state.facet(HL)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?`sticky`:``),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&this.dom.remove();let n=nM.iter(this.view.state.facet(RL),this.view.viewport.from),r=[],i=this.gutters.map(e=>new qL(e,this.view.viewport,-this.view.documentPadding.top));for(let e of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(e.type)){let t=!0;for(let a of e.type)if(a.type==RN.Text&&t){KL(n,r,a.from);for(let e of i)e.line(this.view,a,r);t=!1}else if(a.widget)for(let e of i)e.widget(this.view,a)}else if(e.type==RN.Text){KL(n,r,e.from);for(let t of i)t.line(this.view,e,r)}for(let e of i)e.finish();e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){let t=e.startState.facet(BL),n=e.state.facet(BL),r=e.docChanged||e.heightChanged||e.viewportChanged||!nM.eq(e.startState.facet(RL),e.state.facet(RL),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let t of this.gutters)t.update(e)&&(r=!0);else{r=!0;let i=[];for(let r of n){let n=t.indexOf(r);n<0?i.push(new JL(this.view,r)):(this.gutters[n].update(e),i.push(this.gutters[n]))}for(let e of this.gutters)e.dom.remove(),i.indexOf(e)<0&&e.destroy();for(let e of i)this.dom.appendChild(e.dom);this.gutters=i}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove()}},{provide:e=>X.scrollMargins.of(t=>{let n=t.plugin(e);return!n||n.gutters.length==0||!n.fixed?null:t.textDirection==TP.LTR?{left:n.dom.offsetWidth*t.scaleX}:{right:n.dom.offsetWidth*t.scaleX}})});function GL(e){return Array.isArray(e)?e:[e]}function KL(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}var qL=class{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=nM.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:r}=this,i=t.top-this.height;if(this.i==r.elements.length){let a=new YL(e,t.height,i,n);r.elements.push(a),r.dom.appendChild(a.dom)}else r.elements[this.i].update(e,t.height,i,n);this.height=t.bottom,this.i++}line(e,t,n){let r=[];KL(this.cursor,r,t.from),n.length&&(r=r.concat(n));let i=this.gutter.config.lineMarker(e,t,r);i&&r.unshift(i);let a=this.gutter;r.length==0&&!a.config.renderEmptyElements||this.addElement(e,t,r)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t);n&&this.addElement(e,t,[n])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}},JL=class{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement(`div`),this.dom.className=`cm-gutter`+(this.config.class?` `+this.config.class:``);for(let n in t.domEventHandlers)this.dom.addEventListener(n,r=>{let i=r.target,a;if(i!=this.dom&&this.dom.contains(i)){for(;i.parentNode!=this.dom;)i=i.parentNode;let e=i.getBoundingClientRect();a=(e.top+e.bottom)/2}else a=r.clientY;let o=e.lineBlockAtHeight(a-e.documentTop);t.domEventHandlers[n](e,o,r)&&r.preventDefault()});this.markers=GL(t.markers(e)),t.initialSpacer&&(this.spacer=new YL(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+=`visibility: hidden; pointer-events: none`)}update(e){let t=this.markers;if(this.markers=GL(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let t=this.config.updateSpacer(this.spacer.markers[0],e);t!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[t])}let n=e.view.viewport;return!nM.eq(this.markers,t,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}},YL=class{constructor(e,t,n,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement(`div`),this.dom.className=`cm-gutterElement`,this.update(e,t,n,r)}update(e,t,n,r){this.height!=t&&(this.height=t,this.dom.style.height=t/e.scaleY+`px`),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n/e.scaleY+`px`:``),XL(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){let n=`cm-gutterElement`,r=this.dom.firstChild;for(let i=0,a=0;;){let o=a,s=i<t.length?t[i++]:null,c=!1;if(s){let e=s.elementClass;e&&(n+=` `+e);for(let e=a;
vendor: 4,415 bytes, line 32
32e<this.markers.length;e++)if(this.markers[e].compare(s)){o=e,c=!0;break}}else o=this.markers.length;for(;a<o;){let e=this.markers[a++];if(e.toDOM){e.destroy(r);let t=r.nextSibling;r.remove(),r=t}}if(!s)break;s.toDOM&&(c?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),c&&a++}this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}};function XL(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0}var ZL=J.define(),QL=J.define({combine(e){return Zj(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e);for(let e in t){let r=n[e],i=t[e];n[e]=r?(e,t,n)=>r(e,t,n)||i(e,t,n):i}return n}})}}),$L=class extends LL{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}};function eR(e,t){return e.state.facet(QL).formatNumber(t,e.state)}var tR=BL.compute([QL],e=>({class:`cm-lineNumbers`,renderEmptyElements:!1,markers(e){return e.state.facet(ZL)},lineMarker(e,t,n){return n.some(e=>e.toDOM)?null:new $L(eR(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(QL)!=e.state.facet(QL),initialSpacer(e){return new $L(eR(e,rR(e.state.doc.lines)))},updateSpacer(e,t){let n=eR(t.view,rR(t.view.state.doc.lines));return n==e.number?e:new $L(n)},domEventHandlers:e.facet(QL).domEventHandlers}));function nR(e={}){return[QL.of(e),UL(),tR]}function rR(e){let t=9;for(;t<e;)t=t*10+9;return t}var iR=new class extends LL{constructor(){super(...arguments),this.elementClass=`cm-activeLineGutter`}},aR=RL.compute([`selection`],e=>{let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.head).from;i>n&&(n=i,t.push(iR.range(i)))}return nM.of(t)});function oR(){return aR}var sR=1024,cR=0,lR=class{constructor(e,t){this.from=e,this.to=t}},uR=class{constructor(e={}){this.id=cR++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error(`This node type doesn't define a deserialize function`)})}add(e){if(this.perNode)throw RangeError(`Can't add per-node props to node types`);return typeof e!=`function`&&(e=fR.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}};uR.closedBy=new uR({deserialize:e=>e.split(` `)}),uR.openedBy=new uR({deserialize:e=>e.split(` `)}),uR.group=new uR({deserialize:e=>e.split(` `)}),uR.contextHash=new uR({perNode:!0}),uR.lookAhead=new uR({perNode:!0}),uR.mounted=new uR({perNode:!0});var dR=Object.create(null),fR=class e{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(t){let n=t.props&&t.props.length?Object.create(null):dR,r=!!t.top|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),i=new e(t.name||``,n,t.id,r);if(t.props){for(let e of t.props)if(Array.isArray(e)||(e=e(i)),e){if(e[0].perNode)throw RangeError(`Can't store a per-node prop on a node type`);n[e[0].id]=e[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e==`string`){if(this.name==e)return!0;let t=this.prop(uR.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(` `))t[r]=e[n];return e=>{for(let n=e.prop(uR.group),r=-1;r<(n?n.length:0);r++){let i=t[r<0?e.name:n[r]];if(i)return i}}}};fR.none=new fR(``,Object.create(null),0,8);var pR=class e{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw RangeError(`Node type ids should correspond to array positions when creating a node set`)}extend(...t){let n=[];for(let e of this.types){let r=null;for(let n of t){let t=n(e);t&&(r||=Object.assign({},e.props),r[t[0].id]=t[1])}n.push(r?new fR(e.name,r,e.id,e.flags):e)}return new e(n)}},mR=new WeakMap,hR=new WeakMap,gR;(function(e){e[e.ExcludeBuffers=1]=`ExcludeBuffers`,e[e.IncludeAnonymous=2]=`IncludeAnonymous`,e[e.IgnoreMounts=4]=`IgnoreMounts`,e[e.IgnoreOverlays=8]=`IgnoreOverlays`})(gR||={});var _R=class e{constructor(e,t,n,r,i){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,i&&i.length){this.props=Object.create(null);for(let[e,t]of i)this.props[typeof e==`number`?e:e.id]=t}}toString(){let e=this.prop(uR.mounted);if(e&&!e.overlay)return e.tree.toString();let t=``;for(let e of this.children){let n=e.toString();n&&(t&&(t+=`,`),t+=n)}
vendor: 5,385 bytes, line 32
32return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?`(`+t+`)`:``):t}cursor(e=0){return new OR(this.topNode,e)}cursorAt(e,t=0,n=0){let r=new OR(mR.get(this)||this.topNode);return r.moveTo(e,t),mR.set(this,r._tree),r}get topNode(){return new CR(this,0,0,null)}resolve(e,t=0){let n=SR(mR.get(this)||this.topNode,e,t,!1);return mR.set(this,n),n}resolveInner(e,t=0){let n=SR(hR.get(this)||this.topNode,e,t,!0);return hR.set(this,n),n}iterate(e){let{enter:t,leave:n,from:r=0,to:i=this.length}=e,a=e.mode||0,o=(a&gR.IncludeAnonymous)>0;for(let e=this.cursor(a|gR.IncludeAnonymous);;){let a=!1;if(e.from<=i&&e.to>=r&&(!o&&e.type.isAnonymous||t(e)!==!1)){if(e.firstChild())continue;a=!0}for(;a&&n&&(o||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;a=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(t={}){return this.children.length<=8?this:NR(fR.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,r)=>new e(this.type,t,n,r,this.propValues),t.makeTree||((t,n,r)=>new e(fR.none,t,n,r)))}static build(e){return AR(e)}};_R.empty=new _R(fR.none,[],[],0);var vR=class e{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new e(this.buffer,this.index)}},yR=class e{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return fR.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(`,`)}childString(e){let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],i=r.name;if(/\W/.test(i)&&!r.isError&&(i=JSON.stringify(i)),e+=4,n==e)return i;let a=[];for(;e<n;)a.push(this.childString(e)),e=this.buffer[e+3];return i+`(`+a.join(`,`)+`)`}findChild(e,t,n,r,i){let{buffer:a}=this,o=-1;for(let s=e;s!=t&&!(bR(i,r,a[s+1],a[s+2])&&(o=s,n>0));s=a[s+3]);return o}slice(t,n,r){let i=this.buffer,a=new Uint16Array(n-t),o=0;for(let e=t,s=0;e<n;){a[s++]=i[e++],a[s++]=i[e++]-r;let n=a[s++]=i[e++]-r;a[s++]=i[e++]-t,o=Math.max(o,n)}return new e(a,o,this.set)}};function bR(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function xR(e,t){let n=e.childBefore(t);for(;n;){let t=n.lastChild;if(!t||t.to!=n.to)break;t.type.isError&&t.from==t.to?(e=n,n=t.prevSibling):n=t}return e}function SR(e,t,n,r){for(;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!r&&e instanceof CR&&e.index<0?null:e.parent;if(!t)return e;e=t}let i=r?0:gR.IgnoreOverlays;if(r)for(let r=e,a=r.parent;a;r=a,a=r.parent)r instanceof CR&&r.index<0&&a.enter(t,n,i)?.from!=r.from&&(e=a);for(;;){let r=e.enter(t,n,i);if(!r)return e;e=r}}var CR=class e{constructor(e,t,n,r){this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(t,n,r,i,a=0){for(let o=this;;){for(let{children:s,positions:c}=o._tree,l=n>0?s.length:-1;t!=l;t+=n){let l=s[t],u=c[t]+o.from;if(bR(i,r,u,u+l.length)){if(l instanceof yR){if(a&gR.ExcludeBuffers)continue;let e=l.findChild(0,l.buffer.length,n,r-u,i);if(e>-1)return new DR(new ER(o,l,t,u),null,e)}else if(a&gR.IncludeAnonymous||!l.type.isAnonymous||kR(l)){let s;if(!(a&gR.IgnoreMounts)&&l.props&&(s=l.prop(uR.mounted))&&!s.overlay)return new e(s.tree,u,t,o);let c=new e(l,u,t,o);return a&gR.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(n<0?l.children.length-1:0,n,r,i)}}}if(a&gR.IncludeAnonymous||!o.type.isAnonymous||(t=o.index>=0?o.index+n:n<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(t,n,r=0){let i;if(!(r&gR.IgnoreOverlays)&&(i=this._tree.prop(uR.mounted))&&i.overlay){let r=t-this.from;for(let{from:t,to:a}of i.overlay)if((n>0?t<=r:t<r)&&(n<0?a>=r:a>r))return new e(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new OR(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return SR(this,e,t,!1)}resolveInner(e,t=0){return SR(this,e,t,!0)}enterUnfinishedNodesBefore(e){return xR(this,e)}getChild(e,t=null,n=null){let r=wR(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return wR(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return TR(this,e)}};function wR(e,t,n,r){let i=e.cursor(),a=[];if(!i.firstChild())return a;
32if(n!=null){for(;!i.type.is(n);)if(!i.nextSibling())return a}for(;;){if(r!=null&&i.type.is(r))return a;if(i.type.is(t)&&a.push(i.node),!i.nextSibling())return r==null?a:[]}}function TR(e,t,n=t.length-1){for(let r=e.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}var ER=class{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}},DR=class e{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(t,n,r){let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],t,n-this.context.start,r);return a<0?null:new e(this.context,this,a)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(t,n,r=0){if(r&gR.ExcludeBuffers)return null;let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,t-this.context.start,n);return a<0?null:new e(this.context,this,a)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:t}=this.context,n=t.buffer[this.index+3];return n<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new e(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new e(this.context,this._parent,t.findChild(n,this.index,-1,0,4))}cursor(e=0){return new OR(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,i=n.buffer[this.index+3];if(i>r){let a=n.buffer[this.index+1];e.push(n.slice(r,i,a)),t.push(0)}return new _R(this.type,e,t,this.to-this.from)}resolve(e,t=0){return SR(this,e,t,!1)}resolveInner(e,t=0){return SR(this,e,t,!0)}enterUnfinishedNodesBefore(e){return xR(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let r=wR(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return wR(this,e,t,n)}get node(){return this}matchContext(e){return TR(this,e)}},OR=class{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof CR)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;
vendor: 4,492 bytes, line 32
32for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof CR?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return i<0?!1:(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?n&gR.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&gR.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&gR.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(r.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:n}=r)}else({index:t,_parent:n}=this._tree);for(;n;{index:t,_parent:n}=n)if(t>-1)for(let r=t+e,i=e<0?-1:n._tree.children.length;r!=i;r+=e){let e=n._tree.children[r];if(this.mode&gR.IncludeAnonymous||e instanceof yR||!e.type.isAnonymous||kR(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)scan:for(let r=this.index,i=this.stack.length;i>=0;){for(let a=e;a;a=a._parent)if(a.index==r){if(r==this.index)return a;t=a,n=i+1;break scan}r=this.stack[--i]}for(let e=n;e<this.stack.length;e++)t=new DR(this.buffer,t,this.stack[e]);return this.bufferNode=new DR(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;r&&t&&t(this),r=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return TR(this.node,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,i=this.stack.length-1;r>=0;i--){if(i<0)return TR(this.node,e,r);let a=n[t.buffer[this.stack[i]]];if(!a.isAnonymous){if(e[r]&&e[r]!=a.name)return!1;r--}}return!0}};function kR(e){return e.children.some(e=>e instanceof yR||!e.type.isAnonymous||kR(e))}function AR(e){let{buffer:t,nodeSet:n,maxBufferLength:r=sR,reused:i=[],minRepeatType:a=n.types.length}=e,o=Array.isArray(t)?new vR(t,t.length):t,s=n.types,c=0,l=0;function u(e,t,g,_,v){let{id:y,start:b,end:x,size:S}=o,C=l;for(;S<0;)if(o.next(),S==-1){let t=i[y];g.push(t),_.push(b-e);return}else if(S==-3){c=y;return}else if(S==-4){l=y;return}else throw RangeError(`Unrecognized record size: ${S}`);let w=s[y],T,E,D=b-e;if(x-b<=r&&(E=m(o.pos-t,v))){let t=new Uint16Array(E.size-E.skip),r=o.pos-E.size,i=t.length;for(;o.pos>r;)i=h(E.start,t,i);
vendor: 7,305 bytes, line 32
32T=new yR(t,x-E.start,n),D=E.start-e}else{let e=o.pos-S;o.next();let t=[],n=[],i=y>=a?y:-1,s=0,c=x;for(;o.pos>e;)i>=0&&o.id==i&&o.size>=0?(o.end<=c-r&&(f(t,n,b,s,o.end,c,i,C),s=t.length,c=o.end),o.next()):u(b,e,t,n,i);if(i>=0&&s>0&&s<t.length&&f(t,n,b,s,b,c,i,C),t.reverse(),n.reverse(),i>-1&&s>0){let e=d(w);T=NR(w,t,n,0,t.length,0,x-b,e,e)}else T=p(w,t,n,x-b,C-x)}g.push(T),_.push(D)}function d(e){return(t,n,r)=>{let i=0,a=t.length-1,o,s;if(a>=0&&(o=t[a])instanceof _R){if(!a&&o.type==e&&o.length==r)return o;(s=o.prop(uR.lookAhead))&&(i=n[a]+o.length+s)}return p(e,t,n,r,i)}}function f(e,t,r,i,a,o,s,c){let l=[],u=[];for(;e.length>i;)l.push(e.pop()),u.push(t.pop()+r-a);e.push(p(n.types[s],l,u,o-a,c-o)),t.push(a-r)}function p(e,t,n,r,i=0,a){if(c){let e=[uR.contextHash,c];a=a?[e].concat(a):[e]}if(i>25){let e=[uR.lookAhead,i];a=a?[e].concat(a):[e]}return new _R(e,t,n,r,a)}function m(e,t){let n=o.fork(),i=0,s=0,c=0,l=n.end-r,u={size:0,start:0,skip:0};scan:for(let r=n.pos-e;n.pos>r;){let e=n.size;if(n.id==t&&e>=0){u.size=i,u.start=s,u.skip=c,c+=4,i+=4,n.next();continue}let o=n.pos-e;if(e<0||o<r||n.start<l)break;let d=n.id>=a?4:0,f=n.start;for(n.next();n.pos>o;){if(n.size<0)if(n.size==-3)d+=4;else break scan;else n.id>=a&&(d+=4);n.next()}s=f,i+=e,c+=d}return(t<0||i==e)&&(u.size=i,u.start=s,u.skip=c),u.size>4?u:void 0}function h(e,t,n){let{id:r,start:i,end:s,size:u}=o;if(o.next(),u>=0&&r<a){let a=n;if(u>4){let r=o.pos-(u-4);for(;o.pos>r;)n=h(e,t,n)}t[--n]=a,t[--n]=s-e,t[--n]=i-e,t[--n]=r}else u==-3?c=r:u==-4&&(l=r);return n}let g=[],_=[];for(;o.pos>0;)u(e.start||0,e.bufferStart||0,g,_,-1);let v=e.length??(g.length?_[0]+g[0].length:0);return new _R(s[e.topID],g.reverse(),_.reverse(),v)}var jR=new WeakMap;function MR(e,t){if(!e.isAnonymous||t instanceof yR||t.type!=e)return 1;let n=jR.get(t);if(n==null){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof _R)){n=1;break}n+=MR(e,r)}jR.set(t,n)}return n}function NR(e,t,n,r,i,a,o,s,c){let l=0;for(let n=r;n<i;n++)l+=MR(e,t[n]);let u=Math.ceil(l*1.5/8),d=[],f=[];function p(t,n,r,i,o){for(let s=r;s<i;){let r=s,l=n[s],m=MR(e,t[s]);for(s++;s<i;s++){let n=MR(e,t[s]);if(m+n>=u)break;m+=n}if(s==r+1){if(m>u){let e=t[r];p(e.children,e.positions,0,e.children.length,n[r]+o);continue}d.push(t[r])}else{let i=n[s-1]+t[s-1].length-l;d.push(NR(e,t,n,r,s,l,i,null,c))}f.push(l+o-a)}}return p(t,n,r,i,0),(s||c)(d,f,o)}var PR=class e{constructor(e,t,n,r,i=!1,a=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=!!i|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,n=[],r=!1){let i=[new e(0,t.length,t,0,!1,r)];for(let e of n)e.to>t.length&&i.push(e);return i}static applyChanges(t,n,r=128){if(!n.length)return t;let i=[],a=1,o=t.length?t[0]:null;for(let s=0,c=0,l=0;;s++){let u=s<n.length?n[s]:null,d=u?u.fromA:1e9;if(d-c>=r)for(;o&&o.from<d;){let n=o;if(c>=n.from||d<=n.to||l){let t=Math.max(n.from,c)-l,r=Math.min(n.to,d)-l;n=t>=r?null:new e(t,r,n.tree,n.offset+l,s>0,!!u)}if(n&&i.push(n),o.to>d)break;o=a<t.length?t[a++]:null}if(!u)break;c=u.toA,l=u.toA-u.toB}return i}},FR=class{startParse(e,t,n){return typeof e==`string`&&(e=new IR(e)),n=n?n.length?n.map(e=>new lR(e.from,e.to)):[new lR(0,0)]:[new lR(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}},IR=class{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}};new uR({perNode:!0});var LR=0,RR=class e{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=LR++}static define(t){if(t?.base)throw Error(`Can not derive from a modified tag`);let n=new e([],null,[]);if(n.set.push(n),t)for(let e of t.set)n.set.push(e);return n}static defineModifier(){let e=new BR;return t=>t.modified.indexOf(e)>-1?t:BR.get(t.base||t,t.modified.concat(e).sort((e,t)=>e.id-t.id))}},zR=0,BR=class e{constructor(){this.instances=[],this.id=zR++}static get(t,n){if(!n.length)return t;let r=n[0].instances.find(e=>e.base==t&&VR(n,e.modified));if(r)return r;let i=[],a=new RR(i,t,n);for(let e of n)e.instances.push(a);let o=HR(n);for(let n of t.set)if(!n.modified.length)for(let t of o)i.push(e.get(n,t));return a}};function VR(e,t){return e.length==t.length&&e.every((e,n)=>e==t[n])}function HR(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,i=t.length;r<i;r++)t.push(t[r].concat(e[n]));return t.sort((e,t)=>t.length-e.length)}function UR(e){let t=Object.create(null);for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]);for(let e of n.split(` `))if(e){let n=[],i=2,a=e;for(let t=0;;){if(a==`...`&&t>0&&t+3==e.length){i=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!r)throw RangeError(`Invalid path: `+e);if(n.push(r[0]==`*`?``:r[0][0]==`"`?JSON.parse(r[0]):r[0]),t+=r[0].length,t==e.length)break;let o=e[t++];if(t==e.length&&o==`!`){i=0;break}if(o!=`/`)throw RangeError(`Invalid path: `+e);a=e.slice(t)}let o=n.length-1,s=n[o];if(!s)throw RangeError(`Invalid path: `+e);t[s]=new GR(r,i,o>0?n.slice(0,o):null).sort(t[s])}}return WR.add(t)}var WR=new uR,GR=class{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}};GR.empty=new GR([],2,null);function KR(e,t){let n=Object.create(null);for(let t of e)if(!Array.isArray(t.tag))n[t.tag.id]=t.class;else for(let e of t.tag)n[e.id]=t.class;let{scope:r,all:i=null}=t||{};return{style:e=>{let t=i;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+` `+r:r;break}}return t},scope:r}}function qR(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+` `+e:e)}return n}function JR(e,t,n,r=0,i=e.length){let a=new YR(r,Array.isArray(t)?t:[t],n);a.highlightRange(e.cursor(),r,i,``,a.highlighters),a.flush(i)}var YR=class{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=``}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,r,i){let{type:a,from:o,to:s}=e;if(o>=n||s<=t)return;a.isTop&&(i=this.highlighters.filter(e=>!e.scope||e.scope(a)));let c=r,l=XR(e)||GR.empty,u=qR(i,l.tags);if(u&&(c&&(c+=` `),c+=u,l.mode==1&&(r+=(r?` `:``)+u)),this.startSpan(Math.max(t,o),c),l.opaque)return;let d=e.tree&&e.tree.prop(uR.mounted);if(d&&d.overlay){let a=e.node.enter(d.overlay[0].from+o,1),l=this.highlighters.filter(e=>!e.scope||e.scope(d.tree.type)),u=e.firstChild();for(let f=0,p=o;;f++){let m=f<d.overlay.length?d.overlay[f]:null,h=m?m.from+o:s,g=Math.max(t,p),_=Math.min(n,h);if(g<_&&u)for(;e.from<_&&(this.highlightRange(e,g,_,r,i),this.startSpan(Math.min(_,e.to),c),!(e.to>=h||!e.nextSibling())););if(!m||h>n)break;p=m.to+o,p>t&&(this.highlightRange(a.cursor(),Math.max(t,m.from+o),Math.min(n,p),``,l),this.startSpan(Math.min(n,p),c))}u&&e.parent()}else if(e.firstChild()){d&&(r=``);do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,r,i),this.startSpan(Math.min(n,e.to),c)}while(e.nextSibling());e.parent()}}};function XR(e){let t=e.type.prop(WR);for(;t&&t.context&&!e.matchContext(t.context);
32)t=t.next;return t||null}var Z=RR.define,ZR=Z(),QR=Z(),$R=Z(QR),ez=Z(QR),tz=Z(),nz=Z(tz),rz=Z(tz),iz=Z(),az=Z(iz),oz=Z(),sz=Z(),cz=Z(),lz=Z(cz),uz=Z(),Q={comment:ZR,lineComment:Z(ZR),blockComment:Z(ZR),docComment:Z(ZR),name:QR,variableName:Z(QR),typeName:$R,tagName:Z($R),propertyName:ez,attributeName:Z(ez),className:Z(QR),labelName:Z(QR),namespace:Z(QR),macroName:Z(QR),literal:tz,string:nz,docString:Z(nz),character:Z(nz),attributeValue:Z(nz),number:rz,integer:Z(rz),float:Z(rz),bool:Z(tz),regexp:Z(tz),escape:Z(tz),color:Z(tz),url:Z(tz),keyword:oz,self:Z(oz),null:Z(oz),atom:Z(oz),unit:Z(oz),modifier:Z(oz),operatorKeyword:Z(oz),controlKeyword:Z(oz),definitionKeyword:Z(oz),moduleKeyword:Z(oz),operator:sz,derefOperator:Z(sz),arithmeticOperator:Z(sz),logicOperator:Z(sz),bitwiseOperator:Z(sz),compareOperator:Z(sz),updateOperator:Z(sz),definitionOperator:Z(sz),typeOperator:Z(sz),controlOperator:Z(sz),punctuation:cz,separator:Z(cz),bracket:lz,angleBracket:Z(lz),squareBracket:Z(lz),paren:Z(lz),brace:Z(lz),content:iz,heading:az,heading1:Z(az),heading2:Z(az),heading3:Z(az),heading4:Z(az),heading5:Z(az),heading6:Z(az),contentSeparator:Z(iz),list:Z(iz),quote:Z(iz),emphasis:Z(iz),strong:Z(iz),link:Z(iz),monospace:Z(iz),strikethrough:Z(iz),inserted:Z(),deleted:Z(),changed:Z(),invalid:Z(),meta:uz,documentMeta:Z(uz),annotation:Z(uz),processingInstruction:Z(uz),definition:RR.defineModifier(),constant:RR.defineModifier(),function:RR.defineModifier(),standard:RR.defineModifier(),local:R
vendor: 15,486 bytes, line 32
32R.defineModifier(),special:RR.defineModifier()};KR([{tag:Q.link,class:`tok-link`},{tag:Q.heading,class:`tok-heading`},{tag:Q.emphasis,class:`tok-emphasis`},{tag:Q.strong,class:`tok-strong`},{tag:Q.keyword,class:`tok-keyword`},{tag:Q.atom,class:`tok-atom`},{tag:Q.bool,class:`tok-bool`},{tag:Q.url,class:`tok-url`},{tag:Q.labelName,class:`tok-labelName`},{tag:Q.inserted,class:`tok-inserted`},{tag:Q.deleted,class:`tok-deleted`},{tag:Q.literal,class:`tok-literal`},{tag:Q.string,class:`tok-string`},{tag:Q.number,class:`tok-number`},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],class:`tok-string2`},{tag:Q.variableName,class:`tok-variableName`},{tag:Q.local(Q.variableName),class:`tok-variableName tok-local`},{tag:Q.definition(Q.variableName),class:`tok-variableName tok-definition`},{tag:Q.special(Q.variableName),class:`tok-variableName2`},{tag:Q.definition(Q.propertyName),class:`tok-propertyName tok-definition`},{tag:Q.typeName,class:`tok-typeName`},{tag:Q.namespace,class:`tok-namespace`},{tag:Q.className,class:`tok-className`},{tag:Q.macroName,class:`tok-macroName`},{tag:Q.propertyName,class:`tok-propertyName`},{tag:Q.operator,class:`tok-operator`},{tag:Q.comment,class:`tok-comment`},{tag:Q.meta,class:`tok-meta`},{tag:Q.invalid,class:`tok-invalid`},{tag:Q.punctuation,class:`tok-punctuation`}]);var dz=new uR;function fz(e){return J.define({combine:e?t=>t.concat(e):void 0})}var pz=new uR,mz=class{constructor(e,t,n=[],r=``){this.data=e,this.name=r,Xj.prototype.hasOwnProperty(`tree`)||Object.defineProperty(Xj.prototype,"tree",{get(){return _z(this)}}),this.parser=t,this.extension=[Ez.of(this),Xj.languageData.of((e,t,n)=>{let r=hz(e,t,n),i=r.type.prop(dz);if(!i)return[];let a=e.facet(i),o=r.type.prop(pz);if(o){let i=r.resolve(t-r.from,n);for(let t of o)if(t.test(i,e)){let n=e.facet(t.facet);return t.type==`replace`?n:n.concat(a)}}return a})].concat(n)}isActiveAt(e,t,n=-1){return hz(e,t,n).type.prop(dz)==this.data}findRegions(e){let t=e.facet(Ez);if(t?.data==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(dz)==this.data){n.push({from:t,to:t+e.length});return}let i=e.prop(uR.mounted);if(i){if(i.tree.prop(dz)==this.data){if(i.overlay)for(let e of i.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}else if(i.overlay){let e=n.length;if(r(i.tree,i.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let i=e.children[n];i instanceof _R&&r(i,e.positions[n]+t)}};return r(_z(e),0),n}get allowsNesting(){return!0}};mz.setState=Fj.define();function hz(e,t,n){let r=e.facet(Ez),i=_z(e).topNode;if(!r||r.allowsNesting)for(let e=i;e;e=e.enter(t,n,gR.ExcludeBuffers))e.type.isTop&&(i=e);return i}var gz=class e extends mz{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(t){let n=fz(t.languageData);return new e(n,t.parser.configure({props:[dz.add(e=>e.isTop?n:void 0)]}),t.name)}configure(t,n){return new e(this.data,this.parser.configure(t),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}};function _z(e){let t=e.field(mz.state,!1);return t?t.tree:_R.empty}var vz=class{constructor(e){this.doc=e,this.cursorPos=0,this.string=``,this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}},yz=null,bz=class e{constructor(e,t,n=[],r,i,a,o,s){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=i,this.viewport=a,this.skipped=o,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(t,n,r){return new e(t,n,[],_R.empty,0,r,[],null)}startParse(){return this.parser.startParse(new vz(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=_R.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{if(typeof e==`number`){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||=this.startParse(),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let n=this.parse.advance();if(n)if(this.fragments=this.withoutTempSkipped(PR.addTree(n,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=this.parse.stoppedAt??this.state.doc.length,this.tree=n,this.parse=null,this.treeLen<(t??this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(PR.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=yz;yz=this;try{return e()}finally{yz=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=xz(e,t.from,t.to);return e}changes(t,n){let{fragments:r,tree:i,treeLen:a,viewport:o,skipped:s}=this;if(this.takeTree(),!t.empty){let e=[];if(t.iterChangedRanges((t,n,r,i)=>e.push({fromA:t,toA:n,fromB:r,toB:i})),r=PR.applyChanges(r,e),i=_R.empty,a=0,o={from:t.mapPos(o.from,-1),to:t.mapPos(o.to,1)},this.skipped.length){s=[];for(let e of this.skipped){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);n<r&&s.push({from:n,to:r})}}}return new e(this.parser,n,r,i,a,o,s,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:n,to:r}=this.skipped[t];n<e.to&&r>e.from&&(this.fragments=xz(this.fragments,n,r),this.skipped.splice(t--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&=(this.takeTree(),null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends FR{createParse(t,n,r){let i=r[0].from,a=r[r.length-1].to;return{parsedPos:i,advance(){let t=yz;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=a,new _R(fR.none,[],[],a-i)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return yz}};function xz(e,t,n){return PR.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}var Sz=class e{constructor(e){this.context=e,this.tree=e.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(t.changes,t.state),r=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new e(n)}static init(t){let n=Math.min(3e3,t.doc.length),r=bz.create(t.facet(Ez).parser,t,{from:0,to:n});return r.work(20,n)||r.takeTree(),new e(r)}};mz.state=mj.define({create:Sz.init,update(e,t){for(let e of t.effects)if(e.is(mz.setState))return e.value;return t.startState.facet(Ez)==t.state.facet(Ez)?e.apply(t):Sz.init(t.state)}});var Cz=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};typeof requestIdleCallback<`u`&&(Cz=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});var wz=typeof navigator<`u`&&navigator.scheduling?.isInputPending?()=>navigator.scheduling.isInputPending():null,Tz=fP.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(mz.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(mz.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=Cz(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:r}}=this.view,i=n.field(mz.state);if(i.tree==i.context.tree&&i.context.isDone(r+1e5))return;let a=Date.now()+Math.min(this.chunkBudget,100,e&&!wz?Math.max(25,e.timeRemaining()-5):1e9),o=i.context.treeLen<r&&n.doc.length>r+1e3,s=i.context.work(()=>wz&&wz()||Date.now()>a,r+(o?0:1e5));this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:mz.setState.of(new Sz(i.context))})),this.chunkBudget>0&&!(s&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&=(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>cP(this.view.state,e)).then(()=>this.workScheduled--),null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Ez=J.define({combine(e){return e.length?e[0]:null},enables:e=>[mz.state,Tz,X.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]}),Dz=class{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}},Oz=J.define(),kz=J.define({combine:e=>{if(!e.length)return` `;let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error(`Invalid indent unit: `+JSON.stringify(e[0]));return t}});function Az(e){let t=e.facet(kz);return t.charCodeAt(0)==9?e.tabSize*t.length:t.length}function jz(e,t){let n=``,r=e.tabSize,i=e.facet(kz)[0];if(i==` `){for(;t>=r;)n+=` `,t-=r;i=` `}for(let e=0;e<t;e++)n+=i;return n}function Mz(e,t){e instanceof Xj&&(e=new Nz(e));for(let n of e.state.facet(Oz)){let r=n(e,t);if(r!==void 0)return r}let n=_z(e.state);return n.length>=t?Fz(e,n,t):null}var Nz=class{constructor(e,t={}){this.state=e,this.options=t,this.unit=Az(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:i}=this.options;return r!=null&&r>=n.from&&r<=n.to?i&&r==e?{text:``,from:e}:(t<0?r<e:r<=e)?{text:n.text.slice(r-n.from),from:r}:{text:n.text.slice(0,r-n.from),from:n.from}:n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return``;let{text:n,from:r}=this.lineAt(e,t);return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.countColumn(n,e-r),a=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return a>-1&&(i+=a-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return hM(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let e=i(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}},Pz=new uR;function Fz(e,t,n){return Rz(t.resolveInner(n).enterUnfinishedNodesBefore(n),n,e)}function Iz(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}function Lz(e){let t=e.type.prop(Pz);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(uR.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>Uz(e,!0,1,void 0,n&&!Iz(e)?t.from:void 0)}return e.parent==null?zz:null}function Rz(e,t,n){for(;e;e=e.parent){let r=Lz(e);if(r)return r(Bz.create(n,t,e))}return null}function zz(){return 0}var Bz=class e extends Nz{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(t,n,r){return new e(t,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(Vz(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){let e=this.node.parent;return e?Rz(e,this.pos,this.base):0}};function Vz(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function Hz(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let i=e.options.simulateBreak,a=e.state.doc.lineAt(n.from),o=i==null||i<=a.from?a.to:Math.min(a.to,i);for(let e=n.to;;){let i=t.childAfter(e);if(!i||i==r)return null;if(!i.type.isSkipped)return i.from<o?n:null;e=i.to}}function Uz(e,t,n,r,i){let a=e.textAfter,o=a.match(/^\s*/)[0].length,s=r&&a.slice(o,o+r.length)==r||i==e.pos+o,c=t?Hz(e):null;return c?s?e.column(c.from):e.column(c.to):e.baseIndent+(s?0:e.unit*n)}function Wz({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}var Gz=200;function Kz(){return Xj.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent(`input.type`)&&!e.isUserEvent(`input.complete`))return e;let t=e.startState.languageDataAt(`indentOnInput`,e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,i=n.lineAt(r);if(r>i.from+Gz)return e;let a=n.sliceString(i.from,r);if(!t.some(e=>e.test(a)))return e;let{state:o}=e,s=-1,c=[];for(let{head:e}of o.selection.ranges){let t=o.doc.lineAt(e);if(t.from==s)continue;s=t.from;let n=Mz(o,t.from);if(n==null)continue;let r=/^\s*/.exec(t.text)[0],i=jz(o,n);r!=i&&c.push({from:t.from,to:t.from+r.length,insert:i})}return c.length?[e,{changes:c,sequential:!0}]:e})}var qz=J.define(),Jz=new uR;function Yz(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function Xz(e,t,n){let r=_z(e);if(r.length<n)return null;let i=r.resolveInner(n,1),a=null;for(let o=i;o;o=o.parent){if(o.to<=n||o.from>n)continue;if(a&&o.from<t)break;let i=o.type.prop(Jz);if(i&&(o.to<r.length-50||r.length==e.doc.length||!Zz(o))){let r=i(o,e);r&&r.from<=n&&r.from>=t&&r.to>n&&(a=r)}}return a}function Zz(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function Qz(e,t,n){for(let r of e.facet(qz)){let i=r(e,t,n);if(i)return i}return Xz(e,t,n)}function $z(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}var eB=Fj.define({map:$z}),tB=Fj.define({map:$z});function nB(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}var rB=mj.define({create(){return zN.none},update(e,t){e=e.map(t.changes);for(let n of t.effects)if(n.is(eB)&&!aB(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(fB),i=r?zN.replace({widget:new gB(r(t.state,n.value))}):hB;e=e.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(tB)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let n=!1,{head:r}=t.selection.main;e.between(r,r,(e,t)=>{e<r&&t>r&&(n=!0)}),n&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>X.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError(`Invalid JSON for fold state`);let t=[];for(let n=0;n<e.length;){let r=e[n++],i=e[n++];if(typeof r!=`number`||typeof i!=`number`)throw RangeError(`Invalid JSON for fold state`);t.push(hB.range(r,i))}return zN.set(t,!0)}});function iB(e,t,n){var r;let i=null;return(r=e.field(rB,!1))==null||r.between(t,n,(e,t)=>{(!i||i.from>e)&&(i={from:e,to:t})}),i}
vendor: 4,467 bytes, line 32
32function aB(e,t,n){let r=!1;return e.between(t,t,(e,i)=>{e==t&&i==n&&(r=!0)}),r}function oB(e,t){return e.field(rB,!1)?t:t.concat(Fj.appendConfig.of(pB()))}var sB=e=>{for(let t of nB(e)){let n=Qz(e.state,t.from,t.to);if(n)return e.dispatch({effects:oB(e.state,[eB.of(n),lB(e,n)])}),!0}return!1},cB=e=>{if(!e.state.field(rB,!1))return!1;let t=[];for(let n of nB(e)){let r=iB(e.state,n.from,n.to);r&&t.push(tB.of(r),lB(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function lB(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return X.announce.of(`${e.state.phrase(n?`Folded lines`:`Unfolded lines`)} ${r} ${e.state.phrase(`to`)} ${i}.`)}var uB=[{key:`Ctrl-Shift-[`,mac:`Cmd-Alt-[`,run:sB},{key:`Ctrl-Shift-]`,mac:`Cmd-Alt-]`,run:cB},{key:`Ctrl-Alt-[`,run:e=>{let{state:t}=e,n=[];for(let r=0;r<t.doc.length;){let i=e.lineBlockAt(r),a=Qz(t,i.from,i.to);a&&n.push(eB.of(a)),r=(a?e.lineBlockAt(a.to):i).to+1}return n.length&&e.dispatch({effects:oB(e.state,n)}),!!n.length}},{key:`Ctrl-Alt-]`,run:e=>{let t=e.state.field(rB,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(tB.of({from:e,to:t}))}),e.dispatch({effects:n}),!0}}],dB={placeholderDOM:null,preparePlaceholder:null,placeholderText:`â¦`},fB=J.define({combine(e){return Zj(e,dB)}});function pB(e){let t=[rB,bB];return e&&t.push(fB.of(e)),t}function mB(e,t){let{state:n}=e,r=n.facet(fB),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=iB(e.state,n.from,n.to);r&&e.dispatch({effects:tB.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);let a=document.createElement(`span`);return a.textContent=r.placeholderText,a.setAttribute(`aria-label`,n.phrase(`folded code`)),a.title=n.phrase(`unfold`),a.className=`cm-foldPlaceholder`,a.onclick=i,a}var hB=zN.replace({widget:new class extends LN{toDOM(e){return mB(e,null)}}}),gB=class extends LN{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return mB(e,this.value)}},_B={openText:`â`,closedText:`âº`,markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},vB=class extends LL{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement(`span`);return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?`Fold line`:`Unfold line`),t}};function yB(e={}){let t=Object.assign(Object.assign({},_B),e),n=new vB(t,!0),r=new vB(t,!1),i=fP.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(Ez)!=e.state.facet(Ez)||e.startState.field(rB,!1)!=e.state.field(rB,!1)||_z(e.startState)!=_z(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new iM;for(let i of e.viewportLineBlocks){let a=iB(e.state,i.from,i.to)?r:Qz(e.state,i.from,i.to)?n:null;a&&t.add(i.from,i.from,a)}return t.finish()}}),{domEventHandlers:a}=t;return[i,VL({class:`cm-foldGutter`,markers(e){return e.plugin(i)?.markers||nM.empty},initialSpacer(){return new vB(t,!1)},domEventHandlers:Object.assign(Object.assign({},a),{click:(e,t,n)=>{if(a.click&&a.click(e,t,n))return!0;let r=iB(e.state,t.from,t.to);if(r)return e.dispatch({effects:tB.of(r)}),!0;let i=Qz(e.state,t.from,t.to);return i?(e.dispatch({effects:eB.of(i)}),!0):!1}})}),pB()]}var bB=X.baseTheme({".cm-foldPlaceholder":{backgroundColor:`#eee`,border:`1px solid #ddd`,color:`#888`,borderRadius:`.2em`,margin:`0 1px`,padding:`0 1px`,cursor:`pointer`},".cm-foldGutter span":{padding:`0 1px`,cursor:`pointer`}}),xB=class e{constructor(e,t){this.specs=e;let n;function r(e){let t=xM.newName();return(n||=Object.create(null))[`.`+t]=e,t}let i=typeof t.all==`string`?t.all:t.all?r(t.all):void 0,a=t.scope;this.scope=a instanceof mz?e=>e.prop(dz)==a.data:a?e=>e==a:void 0,this.style=KR(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:i}).style,this.module=n?new xM(n):null,this.themeType=t.themeType}static define(t,n){return new e(t,n||{})}},SB=J.define(),CB=J.define({combine(e){return e.length?[e[0]]:null}});function wB(e){let t=e.facet(SB);return t.length?t:e.facet(CB)}function TB(e,t){let n=[DB],r;return e instanceof xB&&(e.module&&n.push(X.styleModule.of(e.module)),r=e.themeType),t?.fallback?n.push(CB.of(e)):r?n.push(SB.c
32omputeN([X.darkTheme],t=>t.facet(X.darkTheme)==(r==`dark`)?[e]:[])):n.push(SB.of(e)),n}var EB=class{constructor(e){this.markCache=Object.create(null),this.tree=_z(e.state),this.decorations=this.buildDeco(e,wB(e.state))}update(e){let t=_z(e.state),n=wB(e.state),r=n!=wB(e.startState);t.length<e.view.viewport.to&&!r&&t.type==this.tree.type?this.decorations=this.decorations.map(e.changes):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n))}buildDeco(e,t){if(!t||!this.tree.length)return zN.none;let n=new iM;for(let{from:r,to:i}of e.visibleRanges)JR(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=zN.mark({class:r})))},r,i);return n.finish()}},DB=_j.high(fP.fromClass(EB,{decorations:e=>e.decorations})),OB=xB.define([{tag:Q.meta,color:`#404740`},{tag:Q.link,textDecoration:`underline`},{tag:Q.heading,textDecoration:`underline`,fontWeight:`bold`},{tag:Q.emphasis,fontStyle:`italic`},{tag:Q.strong,fontWeight:`bold`},{tag:Q.strikethrough,textDecoration:`line-through`},{tag:Q.keyword,color:`#708`},{tag:[Q.atom,Q.bool,Q.url,Q.contentSeparator,Q.labelName],color:`#219`},{tag:[Q.literal,Q.inserted],color:`#164`},{tag:[Q.string,Q.deleted],color:`#a11`},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],color:`#e40`},{tag:Q.definition(Q.variableName),color:`#00f`},{tag:Q.local(Q.variableName),color:`#30a`},{tag:[Q.typeName,Q.namespace],color:`#085`},{tag:Q.className,color:`#167`},{tag:[Q.special(Q.variableName),Q.macroName],color:`#256`},{tag:Q.definition(Q.propertyName),color:`#00c`},{tag:Q.comment,color:`#940`},{tag:Q.invalid,color:`#f00`}]),kB=X.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:`#328c8252`},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:`#bb555544`}}),AB=1e4,jB=`()[]{}`,MB=J.define({combine(e){return Zj(e,{afterCursor:!0,brackets:jB,maxScanDistance:AB,renderMatch:FB})}}),NB=zN.mark({class:`cm-matchingBracket`}),PB=zN.mark({class:`cm-nonmatchingBracket`});function FB(e){let t=[],n=e.matched?NB:PB;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}var IB=[mj.define({create(){return zN.none},update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(MB);for(let e of t.state.selection.ranges){if(!e.empty)continue;let i=VB(t.state,e.head,-1,r)||e.head>0&&VB(t.state,e.head-1,1,r)||r.afterCursor&&(VB(t.state,e.head,1,r)||e.head<t.state.doc.length&&VB(t.state,e.head+1,-1,r));i&&(n=n.concat(r.renderMatch(i,t.state)))}return zN.set(n,!0)},provide:e=>X.decorations.from(e)}),kB];function LB(e={}){return[MB.of(e),IB]}var RB=new uR;function zB(e,t,n){let r=e.prop(t<0?uR.openedBy:uR.closedBy);if(r)return r;if(e.name.length==1){let r=n.indexOf(e.name);if(r>-1&&r%2==+(t<0))return[n[r+t]]}return null}function BB(e){let t=e.type.prop(RB);return t?t(e.node):e}function VB(e,t,n,r={}){let i=r.maxScanDistance||AB,a=r.brackets||jB,o=_z(e),s=o.resolveInner(t,n);for(let r=s;r;r=r.parent){let i=zB(r.type,n,a);if(i&&r.from<r.to){let o=BB(r);if(o&&(n>0?t>=o.from&&t<o.to:t>o.from&&t<=o.to))return HB(e,t,n,r,o,i,a)}}return UB(e,t,n,o,s.type,i,a)}function HB(e,t,n,r,i,a,o){let s=r.parent,c={from:i.from,to:i.to},l=0,u=s?.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do if(n<0?u.to<=r.from:u.from>=r.to){if(l==0&&a.indexOf(u.type.name)>-1&&u.from<u.to){let e=BB(u);return{start:c,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}else if(zB(u.type,n,o))l++;else if(zB(u.type,-n,o)){if(l==0){let e=BB(u);return{start:c,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}l--}}while(n<0?u.prevSibling():u.nextSibling());return{start:c,matched:!1}}function UB(e,t,n,r,i,a,o){let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),c=o.indexOf(s);if(c<0||c%2==0!=n>0)return null;let l={from:n<0?t-1:t,to:n>0?t+1:t},u=e.doc.iterRange(t,n>0?e.doc.length:0),d=0;for(let e=0;!u.next().done&&e<=a;){let a=u.value;n<0&&(e+=a.length);let s=t+e*n;for(let e=n>0?0:a.length-1,t=n>0?a.length:-1;e!=t;e+=n){let t=o.indexOf(a[e]);if(!(t<0||r.resolveInner(s+e,1).type!=i))if(t%2==0==n>0)d++;else if(d==1)return{start:l,end:{from:s+e,to:s+e+1},matched:t>>1==c>>1};else d--}n>0&&(e+=a.length)}return u.done?{start:l,matched:!1}:null}var WB=Object.create(null),GB=[fR.none],KB=[],qB=Object.create(null);for(let[e,t]of[[`variable`,`variableName`],[`variable-2`,`variableName.special`],[`string-2`,`string.special`],[`def`,`variableName.definition`],[`tag`,`tagName`],[`attribute`,`attributeName`],[`type`,`typeName`],[`builtin`,`variableName.standard`],[`qualifier`,`modifier`],[`error`,`invalid`],[`header`,`heading`],[`property`,`propertyName`]])qB[e]=YB(WB,t);function JB(e,t){KB.indexOf(e)>-1||(KB.push(e),console.warn(t))}function YB(e,t){let n=null;for(let r of t.split(`.`)){let t=e[r]||Q[r];t?typeof t==`function`?n?n=t(n):JB(r,`Modifier ${r} used at start of tag`):n?JB(r,`Tag ${r} used as modifier`):n=t:JB(r,`Unknown highlighting tag ${r}`)}if(!n)return 0;let r=t.replace(/ /g,`_`),i=fR.define({id:GB.length,name:r,props:[UR({[r]:n})]});return GB.push(i),i.id}var XB=e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=tV(e.state,n.from);return r.line?QB(e):r.block?eV(e):!1};function ZB(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return i?(r(n.update(i)),!0):!1}}var QB=ZB(oV,0),$B=ZB(aV,0),eV=ZB((e,t)=>aV(e,t,iV(t)),0);function tV(e,t){let n=e.languageDataAt(`commentTokens`,t);return n.length?n[0]:{}}var nV=50;function rV(e,{open:t,close:n},r,i){let a=e.sliceDoc(r-nV,r),o=e.sliceDoc(i,i+nV),s=/\s*$/.exec(a)[0].length,c=/^\s*/.exec(o)[0].length,l=a.length-s;if(a.slice(l-t.length,l)==t&&o.slice(c,c+n.length)==n)return{open:{pos:r-s,margin:s&&1},close:{pos:i+c,margin:c&&1}};let u,d;i-r<=2*nV?u=d=e.sliceDoc(r,i):(u=e.sliceDoc(r,r+nV),d=e.sliceDoc(i-nV,i));let f=/^\s*/.exec(u)[0].length,p=/\s*$/.exec(d)[0].length,m=d.length-p-n.length;return u.slice(f,f+t.length)==t&&d.slice(m,m+n.length)==n?{open:{pos:r+f+t.length,margin:+!!/\s/.test(u.charAt(f+t.length))},close:{pos:i-p-n.length,margin:+!!/\s/.test(d.charAt(m-1))}}:null}function iV(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to),a=t.length-1;a>=0&&t[a].to>r.from?t[a].to=i.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return t}function aV(e,t,n=t.selection.ranges){let r=n.map(e=>tV(t,e.from).block);if(!r.every(e=>e))return null;let i=n.map((e,n)=>rV(t,r[n],e.from,e.to));if(e!=2&&!i.every(e=>e))return{changes:t.changes(n.map((e,t)=>i[t]?[]:[{from:e.from,insert:r[t].open+` `},{from:e.to,insert:` `+r[t].close}]))};if(e!=1&&i.some(e=>e)){let e=[];for(let t=0,n;t<i.length;t++)if(n=i[t]){let i=r[t],{open:a,close:o}=n;e.push({from:a.pos-i.open.length,to:a.pos+a.margin},{from:o.pos-o.margin,to:o.pos+i.close.length})}return{changes:e}}return null}function oV(e,t,n=t.selection.ranges){let r=[],i=-1;for(let{from:e,to:a}of n){let n=r.length,o=1e9,s=tV(t,e).line;if(s){for(let n=e;n<=a;){let c=t.doc.lineAt(n);if(c.from>i&&(e==a||a>
vendor: 10,054 bytes, line 32
32c.from)){i=c.from;let e=/^\s*/.exec(c.text)[0].length,t=e==c.length,n=c.text.slice(e,e+s.length)==s?e:-1;e<c.text.length&&e<o&&(o=e),r.push({line:c,comment:n,token:s,indent:e,empty:t,single:!1})}n=c.to+1}if(o<1e9)for(let e=n;e<r.length;e++)r[e].indent<r[e].line.text.length&&(r[e].indent=o);r.length==n+1&&(r[n].single=!0)}}if(e!=2&&r.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:i,empty:a,single:o}of r)(o||!a)&&e.push({from:t.from+i,insert:n+` `});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}else if(e!=1&&r.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:i}of r)if(n>=0){let r=t.from+n,a=r+i.length;t.text[a-t.from]==` `&&a++,e.push({from:r,to:a})}return{changes:e}}return null}var sV=Mj.define(),cV=Mj.define(),lV=J.define(),uV=J.define({combine(e){return Zj(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}});function dV(e){let t=0;return e.iterChangedRanges((e,n)=>t=n),t}var fV=mj.define({create(){return jV.empty},update(e,t){let n=t.state.facet(uV),r=t.annotation(sV);if(r){let i=t.docChanged?q.single(dV(t.changes)):void 0,a=yV.fromTransaction(t,i),o=r.side,s=o==0?e.undone:e.done;return s=a?bV(s,s.length,n.minDepth,a):EV(s,t.startState.selection),new jV(o==0?r.rest:s,o==0?s:r.rest)}let i=t.annotation(cV);if((i==`full`||i==`before`)&&(e=e.isolate()),t.annotation(Ij.addToHistory)===!1)return t.changes.empty?e:e.addMapping(t.changes.desc);let a=yV.fromTransaction(t),o=t.annotation(Ij.time),s=t.annotation(Ij.userEvent);return a?e=e.addChanges(a,o,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,o,s,n.newGroupDelay)),(i==`full`||i==`after`)&&(e=e.isolate()),e},toJSON(e){return{done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}},fromJSON(e){return new jV(e.done.map(yV.fromJSON),e.undone.map(yV.fromJSON))}});function pV(e={}){return[fV,uV.of(e),X.domEventHandlers({beforeinput(e,t){let n=e.inputType==`historyUndo`?hV:e.inputType==`historyRedo`?gV:null;return n?(e.preventDefault(),n(t)):!1}})]}function mV(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(fV,!1);if(!i)return!1;let a=i.pop(e,n,t);return a?(r(a),!0):!1}}var hV=mV(0,!1),gV=mV(1,!1),_V=mV(0,!0),vV=mV(1,!0),yV=class e{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}setSelAfter(t){return new e(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){return{changes:this.changes?.toJSON(),mapped:this.mapped?.toJSON(),startSelection:this.startSelection?.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(t){return new e(t.changes&&QA.fromJSON(t.changes),[],t.mapped&&ZA.fromJSON(t.mapped),t.startSelection&&q.fromJSON(t.startSelection),t.selectionsAfter.map(q.fromJSON))}static fromTransaction(t,n){let r=wV;for(let e of t.startState.facet(lV)){let n=e(t);n.length&&(r=r.concat(n))}return!r.length&&t.changes.empty?null:new e(t.changes.invert(t.startState.doc),r,void 0,n||t.startState.selection,wV)}static selection(t){return new e(void 0,wV,void 0,void 0,t)}};function bV(e,t,n,r){let i=t+1>n+20?t-n-1:0,a=e.slice(i,t);return a.push(r),a}function xV(e,t){let n=[],r=!1;return e.iterChangedRanges((e,t)=>n.push(e,t)),t.iterChangedRanges((e,t,i,a)=>{for(let e=0;e<n.length;){let t=n[e++],o=n[e++];a>=t&&i<=o&&(r=!0)}}),r}function SV(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter((e,n)=>e.empty!=t.ranges[n].empty).length===0}function CV(e,t){return e.length?t.length?e.concat(t):e:t}var wV=[],TV=200;function EV(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-TV));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),bV(e,e.length-1,1e9,n.setSelAfter(r)))}else return[yV.selection([t])]}function DV(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function OV(e,t){if(!e.length)return e;let n=e.length,r=wV;for(;n;){let i=kV(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}else t=i.mapped,n--,r=i.selectionsAfter}return r.length?[yV.selection(r)]:wV}function kV(e,t,n){let r=CV(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):wV,n);if(!e.changes)return yV.selection(r);let i=e.changes.map(t),a=t.mapDesc(e.changes,!0),o=e.mapped?e.mapped.composeDesc(a):a;return new yV(i,Fj.mapEffects(e.effects,t),o,e.startSelection.map(a),r)}var AV=/^(input\.type|delete)($|\.)/,jV=class e{constructor(e,t,n=0,r=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new e(this.done,this.undone):this}addChanges(t,n,r,i,a){let o=this.done,s=o[o.length-1];return o=s&&s.changes&&!s.changes.empty&&t.changes&&(!r||AV.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime<i.newGroupDelay&&i.joinToEvent(a,xV(s.changes,t.changes))||r==`input.type.compose`)?bV(o,o.length-1,i.minDepth,new yV(t.changes.compose(s.changes),CV(t.effects,s.effects),s.mapped,s.startSelection,wV)):bV(o,o.length,i.minDepth,t),new e(o,wV,n,r)}addSelection(t,n,r,i){let a=this.done.length?this.done[this.done.length-1].selectionsAfter:wV;return a.length>0&&n-this.prevTime<i&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&SV(a[a.length-1],t)?this:new e(EV(this.done,t),this.undone,n,r)}addMapping(t){return new e(OV(this.done,t),OV(this.undone,t),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=e==0?this.done:this.undone;if(r.length==0)return null;let i=r[r.length-1];if(n&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:sV.of({side:e,rest:DV(r)}),userEvent:e==0?`select.undo`:`select.redo`,scrollIntoView:!0});if(i.changes){let n=r.length==1?wV:r.slice(0,r.length-1);return i.mapped&&(n=OV(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:sV.of({side:e,rest:n}),filter:!1,userEvent:e==0?`undo`:`redo`,scrollIntoView:!0})}else return null}};jV.empty=new jV(wV,wV);var MV=[{key:`Mod-z`,run:hV,preventDefault:!0},{key:`Mod-y`,mac:`Mod-Shift-z`,run:gV,preventDefault:!0},{linux:`Ctrl-Shift-z`,run:gV,preventDefault:!0},{key:`Mod-u`,run:_V,preventDefault:!0},{key:`Alt-u`,mac:`Mod-Shift-u`,run:vV,preventDefault:!0}];function NV(e,t){return q.create(e.ranges.map(t),e.mainIndex)}function PV(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:`select`})}function FV({state:e,dispatch:t},n){let r=NV(e.selection,n);return r.eq(e.selection)?!1:(t(PV(e,r)),!0)}function IV(e,t){return q.cursor(t?e.to:e.from)}function LV(e,t){return FV(e,n=>n.empty?e.moveByChar(n,t):IV(n,t))}function RV(e){return e.textDirectionAt(e.state.selection.main.head)==TP.LTR}var zV=e=>LV(e,!RV(e)),BV=e=>LV(e,RV(e));function VV(e,t){return FV(e,n=>n.empty?e.moveByGroup(n,t):IV(n,t))}var HV=e=>VV(e,!RV(e)),UV=e=>VV(e,RV(e));typeof Intl<`u`&&Intl.Segmenter;function WV(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function GV(e,t,n){let r=_z(e).resolveInner(t.head),i=n?uR.closedBy:uR.openedBy;for(let a=t.head;;){let t=n?r.childAfter(a):r.childBefore(a);if(!t)break;WV(e,t,i)?r=t:a=n?t.to:t.from}let a=r.type.prop(i),o,s;return s=a&&(o=n?VB(e,r.from,1):VB(e,r.to,-1))&&o.matched?n?o.end.to:o.end.from:n?r.to:r.from,q.cursor(s,n?-1:1)}var KV=e=>FV(e,t=>GV(e.state,t,!RV(e))),qV=e=>FV(e,t=>GV(e.state,t,RV(e)));function JV(e,t){return FV(e,n=>{if(!n.empty)return IV(n,t);let r=e.moveVertically(n,t);return r.head==n.head?e.moveToLineBoundary(n,t):r})}var YV=e=>JV(e,!1),XV=e=>JV(e,!0);function ZV(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,n=0,r=0,i;if(t){for(let t of e.state.facet(X.scrollMargins)){let i=t(e);i?.top&&(n=Math.max(i?.top,n)),i?.bottom&&(r=Math.max(i?.bottom,r))}i=e.scrollDOM.clientHeight-n-r}else i=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:n,marginBottom:r,selfScroll:t,height:Math.max(e.defaultLineHeight,i-5)}}function QV(e,t){let n=ZV(e),{state:r}=e,i=NV(r.selection,r=>r.empty?e.moveVertically(r,t,n.height):IV(r,t));if(i.eq(r.selection))return!1;let a;if(n.selfScroll){let t=e.coordsAtPos(r.selection.main.head),o=e.scrollDOM.getBoundingClientRect(),s=o.top+n.marginTop,c=o.bottom-n.marginBottom;t&&t.top>s&&t.bottom<c&&(a=X.scrollIntoView(i.main.head,{y:`start`,yMargin:t.top-s}))}return e.dispatch(PV(r,i),{effects:a}),!0}var $V=e=>QV(e,!1),eH=e=>QV(e,!0);function tH(e,t,n){let r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){let n=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&t.head!=r.from+n&&(i=q.cursor(r.from+n))}return i}var nH=e=>FV(e,t=>tH(e,t,!0)),rH=e=>FV(e,t=>tH(e,t,!1)),iH=e=>FV(e,t=>tH(e,t,!RV(e))),aH=e=>FV(e,t=>tH(e,t,RV(e))),oH=e=>FV(e,t=>q.cursor(e.lineBlockAt(t.head).from,1)),sH=e=>FV(e,t=>q.cursor(e.lineBlockAt(t.head).to,-1));function cH(e,t,n){let r=!1,i=NV(e.selection,t=>{let i=VB(e,t.head,-1)||VB(e,t.head,1)||t.head>0&&VB(e,t.head-1,1)||t.head<e.doc.length&&VB(e,t.head+1,-1);if(!i||!i.end)return t;r=!0;let a=i.start.from==t.head?i.end.to:i.end.from;return n?q.range(t.anchor,a):q.cursor(a)});return r?(t(PV(e,i)),!0):!1}var lH=({state:e,dispatch:t})=>cH(e,t,!1);function uH(e,t){let n=NV(e.state.selection,e=>{let n=t(e);return q.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)});return n.eq(e.state.selection)?!1:(e.dispatch(PV(e.state,n)),!0)}function dH(e,t){return uH(e,n=>e.moveByChar(n,t))}var fH=e=>dH(e,!RV(e)),pH=e=>dH(e,RV(e));function mH(e,t){return uH(e,n=>e.moveByGroup(n,t))}var hH=e=>mH(e,!RV(e)),gH=e=>mH(e,RV(e)),_H=e=>uH(e,t=>GV(e.state,t,!RV(e))),vH=e=>uH(e,t=>GV(e.state,t,RV(e)));function yH(e,t){return uH(e,n=>e.moveVertically(n,t))}var bH=e=>yH(e,!1),xH=e=>yH(e,!0);function SH(e,t){return uH(e,n=>e.moveVertically(n,t,ZV(e).height))}var CH=e=>SH(e,!1),wH=e=>
32SH(e,!0),TH=e=>uH(e,t=>tH(e,t,!0)),EH=e=>uH(e,t=>tH(e,t,!1)),DH=e=>uH(e,t=>tH(e,t,!RV(e))),OH=e=>uH(e,t=>tH(e,t,RV(e))),kH=e=>uH(e,t=>q.cursor(e.lineBlockAt(t.head).from)),AH=e=>uH(e,t=>q.cursor(e.lineBlockAt(t.head).to)),jH=({state:e,dispatch:t})=>(t(PV(e,{anchor:0})),!0),MH=({state:e,dispatch:t})=>(t(PV(e,{anchor:e.doc.length})),!0),NH=({state:e,dispatch:t})=>(t(PV(e,{anchor:e.selection.main.anchor,head:0})),!0),PH=({state:e,dispatch:t})=>(t(PV(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),FH=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:`select`})),!0),IH=({state:e,dispatch:t})=>{let n=ZH(e).map(({from:t,to:n})=>q.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:q.create(n),userEvent:`select`})),!0},LH=({state:e,dispatch:t})=>(t(PV(e,NV(e.selection,t=>{let n=_z(e).resolveInner(t.head,1);for(;!(n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from||!n.parent?.parent);)n=n.parent;return q.range(n.to,n.from)}))),!0),RH=({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=q.create([n.main]):n.main.empty||(r=q.create([q.cursor(n.main.head)])),r?(t(PV(e,r)),!0):!1};function zH(e,t){if(e.state.readOnly)return!1;let n=`delete.selection`,{state:r}=e,i=r.changeByRange(r=>{let{from:i,to:a}=r;if(i==a){let r=t(i);r<i?(n=`delete.backward`,r=BH(e,r,!1)):r>i&&(n=`delete.forward`,r=BH(e,r,!0)),i=Math.min(i,r),a=Math.max(a,r)}else i=BH(e,i,!1),a=BH(e,a,!0);return i==a?{range:r}:{changes:{from:i,to:a},range:q.cursor(i)}});return i.changes.empty?!1:(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:n==`delete.selection`?X.announce.of(r.phrase(`Selection deleted`)):void 0})),!0)}function BH(e,t,n){if(e instanceof X)for(let r of e.state.facet(X.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}var VH=(e,t)=>zH(e,n=>{let{state:r}=e,i=r.doc.lineAt(n),a,o;if(!t&&n>i.from&&n<i.from+200&&!/[^ \t]/.test(a=i.text.slice(0,n-i.from))){if(a[a.length-1]==` `)return n-1;let e=hM(a,r.tabSize)%Az(r)||Az(r);for(let t=0;t<e&&a[a.length-1-t]==` `;t++)n--;o=n}else o=VA(i.text,n-i.from,t,t)+i.from,o==n&&i.number!=(t?r.doc.lines:1)&&(o+=t?1:-1);return o}
vendor: 4,867 bytes, line 32
32),HH=e=>VH(e,!1),UH=e=>VH(e,!0),WH=(e,t)=>zH(e,n=>{let r=n,{state:i}=e,a=i.doc.lineAt(r),o=i.charCategorizer(r);for(let e=null;;){if(r==(t?a.to:a.from)){r==n&&a.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}let s=VA(a.text,r-a.from,t)+a.from,c=a.text.slice(Math.min(r,s)-a.from,Math.max(r,s)-a.from),l=o(c);if(e!=null&&l!=e)break;(c!=` `||r!=n)&&(e=l),r=s}return r}),GH=e=>WH(e,!1),KH=e=>WH(e,!0),qH=e=>zH(e,t=>{let n=e.lineBlockAt(t).to;return t<n?n:Math.min(e.state.doc.length,t+1)}),JH=e=>zH(e,t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}),YH=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:DA.of([``,``])},range:q.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:`input`})),!0},XH=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||t.from==0||t.from==e.doc.length)return{range:t};let n=t.from,r=e.doc.lineAt(n),i=n==r.from?n-1:VA(r.text,n-r.from,!1)+r.from,a=n==r.to?n+1:VA(r.text,n-r.from,!0)+r.from;return{changes:{from:i,to:a,insert:e.doc.slice(n,a).append(e.doc.slice(i,n))},range:q.cursor(a)}});return n.changes.empty?!1:(t(e.update(n,{scrollIntoView:!0,userEvent:`move.character`})),!0)};function ZH(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),a=e.doc.lineAt(r.to);if(!r.empty&&r.to==a.from&&(a=e.doc.lineAt(r.to-1)),n>=i.number){let e=t[t.length-1];e.to=a.to,e.ranges.push(r)}else t.push({from:i.from,to:a.to,ranges:[r]});n=a.number+1}return t}function QH(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let t of ZH(e)){if(n?t.to==e.doc.length:t.from==0)continue;let a=e.doc.lineAt(n?t.to+1:t.from-1),o=a.length+1;if(n){r.push({from:t.to,to:a.to},{from:t.from,insert:a.text+e.lineBreak});for(let n of t.ranges)i.push(q.range(Math.min(e.doc.length,n.anchor+o),Math.min(e.doc.length,n.head+o)))}else{r.push({from:a.from,to:t.from},{from:t.to,insert:e.lineBreak+a.text});for(let e of t.ranges)i.push(q.range(e.anchor-o,e.head-o))}}return r.length?(t(e.update({changes:r,scrollIntoView:!0,selection:q.create(i,e.selection.mainIndex),userEvent:`move.line`})),!0):!1}var $H=({state:e,dispatch:t})=>QH(e,t,!1),eU=({state:e,dispatch:t})=>QH(e,t,!0);function tU(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of ZH(e))n?r.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):r.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});return t(e.update({changes:r,scrollIntoView:!0,userEvent:`input.copyline`})),!0}var nU=({state:e,dispatch:t})=>tU(e,t,!1),rU=({state:e,dispatch:t})=>tU(e,t,!0),iU=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(ZH(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),r=NV(t.selection,t=>e.moveVertically(t,!0)).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:`delete.line`}),!0};function aU(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=_z(e).resolveInner(t),r=n.childBefore(t),i=n.childAfter(t),a;return r&&i&&r.to<=t&&i.from>=t&&(a=r.type.prop(uR.closedBy))&&a.indexOf(i.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(i.from).from&&!/\S/.test(e.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}var oU=cU(!1),sU=cU(!0);function cU(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{let{from:r,to:i}=n,a=t.doc.lineAt(r),o=!e&&r==i&&aU(t,r);e&&(r=i=(i<=a.to?a:t.doc.lineAt(i)).to);let s=new Nz(t,{simulateBreak:r,simulateDoubleBreak:!!o}),c=Mz(s,r);for(c??=hM(/^\s*/.exec(t.doc.lineAt(r).text)[0],t.tabSize);i<a.to&&/\s/.test(a.text[i-a.from]);)i++;o?{from:r,to:i}=o:r>a.from&&r<a.from+100&&!/\S/.test(a.text.slice(0,r))&&(r=a.from);let l=[``,jz(t,c)];return o&&l.push(jz(t,s.lineIndent(a.from,-1))),{changes:{from:r,to:i,insert:DA.of(l)},range:q.cursor(r+1+l[1].length)}});return n(t.update(r,{scrollIntoView:!0,userEvent:`input`})),!0}}function lU(e,t){let n=-1;return e.changeByRange(r=>{let i=[];for(let a=r.from;a<=r.to;){let o=e.doc.lineAt(a);o.number>n&&(r.empty||r.to>o.from)&&(t(o,i,r),n=o.number),a=o.to+1}let a=e.changes(i);return{changes:i,range:q.range(a.mapPos(r.anchor,1),a.mapPos(r.head,1))}})}var uU=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new Nz(e,{overrideIndentation:e=>n[e]??-1}),i=lU(e,(t,i,a)=>{let o=Mz(r,t.from);if(o==null)return;/\S/.test(t.text)||(o=0);let s=/^\s*/.exec(t.text)[0],c=jz(e,o);(s!=c||a.from<t.from+s.length)&&(n[t.from]=o,i.push({from:t.from,to:t.from+s.length,insert:c}))});return i.changes.empty||t(e.update(i,{userEvent:`indent`})),!0},dU=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(lU(e,(t,n)=>{n.push({from:t.from,insert:e.facet(kz)})}),{userEvent:`input.indent`})),!0),fU=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(lU(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=hM(r,e.tabSize),a=0,o=jz(e,Math.max(0,i-Az(e)));for(;
32a<r.length&&a<o.length&&r.charCodeAt(a)==o.charCodeAt(a);)a++;n.push({from:t.from+a,to:t.from+r.length,insert:o.slice(a)})}),{userEvent:`delete.dedent`})),!0),pU=[{key:`Ctrl-b`,run:zV,shift:fH,preventDefault:!0},{key:`Ctrl-f`,run:BV,shift:pH},{key:`Ctrl-p`,run:YV,shift:bH},{key:`Ctrl-n`,run:XV,shift:xH},{key:`Ctrl-a`,run:oH,shift:kH},{key:`Ctrl-e`,run:sH,shift:AH},{key:`Ctrl-d`,run:UH},{key:`Ctrl-h`,run:HH},{key:`Ctrl-k`,run:qH},{key:`Ctrl-Alt-h`,run:GH},{key:`Ctrl-o`,run:YH},{key:`Ctrl-t`,run:XH},{key:`Ctrl-v`,run:eH}],mU=[{key:`ArrowLeft`,run:zV,shift:fH,preventDefault:!0},{key:`Mod-ArrowLeft`,mac:`Alt-ArrowLeft`,run:HV,shift:hH,preventDefault:!0},{mac:`Cmd-ArrowLeft`,run:iH,shift:DH,preventDefault:!0},{key:`ArrowRight`,run:BV,shift:pH,preventDefault:!0},{key:`Mod-ArrowRight`,mac:`Alt-ArrowRight`,run:UV,shift:gH,preventDefault:!0},{mac:`Cmd-ArrowRight`,run:aH,shift:OH,preventDefault:!0},{key:`ArrowUp`,run:YV,shift:bH,preventDefault:!0},{mac:`Cmd-ArrowUp`,run:jH,shift:NH},{mac:`Ctrl-ArrowUp`,run:$V,shift:CH},{key:`ArrowDown`,run:XV,shift:xH,preventDefault:!0},{mac:`Cmd-ArrowDown`,run:MH,shift:PH},{mac:`Ctrl-ArrowDown`,run:eH,shift:wH},{key:`PageUp`,run:$V,shift:CH},{key:`PageDown`,run:eH,shift:wH},{key:`Home`,run:rH,shift:EH,preventDefault:!0},{key:`Mod-Home`,run:jH,shift:NH},{key:`End`,run:nH,shift:TH,preventDefault:!0},{key:`Mod-End`,run:MH,shift:PH},{key:`Enter`,run:oU},{key:`Mod-a`,run:FH},{key:`Backspace`,run:HH,shift:HH},{key:`Delete`,run:UH},{key:`Mod-Backspace`,mac:`Alt-Backspace`,run:GH},{key:`Mod-Delete`,mac:`Alt-Delete`,run:KH},{mac:`Mod-Backspace`,run:JH},{mac:`Mod-Delete`,run:qH}].concat(pU.map(e=>({mac:e.key,run:e.run,shift:e.shift}))),hU=[{key:`Alt-ArrowLeft`,mac:`Ctrl-ArrowLeft`,run:KV,shift:_H},{key:`Alt-ArrowRight`,mac:`Ctrl-ArrowRight`,run:qV,shift:vH},{key:`Alt-ArrowUp`,run:$H},{key:`Shift-Alt-ArrowUp`,run:nU},{key:`Alt-ArrowDown`,run:eU},{key:`Shift-Alt-ArrowDown`,run:rU},{key:`Escape`,run:RH},{key:`Mod-Enter`,run:sU},{key:`Alt-l`,mac:`Ctrl-l`,run:IH},{key:`Mod-i`,run:LH,preventDefault:!0},{key:`Mod-[`,run:fU},{key:`Mod-]`,run:dU},{key:`Mod-Alt-\\`,run:uU},{key:`Shift-Mod-k`,run:iU},{key:`Shift-Mod-\\`,run:lH},{key:`Mod-/`,run:XB},{key:`Alt-A`,run:$B}].concat(mU),gU={key:`Tab`,run:dU,shift:fU};function _U(){var e=arguments[0];typeof e==`string`&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&typeof n==`object`&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];typeof i==`string`?e.setAttribute(r,i):i!=null&&(e[r]=i)}t++}for(;t<arguments.length;t++)vU(e,arguments[t]);return e}function vU(e,t){if(typeof t==`string`)e.appendChild(document.createTextNode(t));else if(t!=null)if(t.nodeType!=null)e.appendChild(t);else if(Array.isArray(t))for(var n=0;n<t.length;n++)vU(e,t[n]);else throw RangeError(`Unsupported child node: `+t)}var yU=typeof String.prototype.normalize==`function`?e=>e.normalize(`NFKD`):e=>e,bU=class{constructor(e,t,n=0,r=e.length,i,a){this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer=``,this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=i?e=>i(yU(e)):yU,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return KA(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=qA(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=JA(e);let r=this.normalize(t);for(let e=0,i=n;;e++){let a=r.charCodeAt(e),o=this.match(a,i);if(e==r.length-1){if(o)return this.value=o,this;break}i==n&&e<t.length&&t.charCodeAt(e)==a&&i++}}}match(e,t){let n=null;for(let r=0;r<this.matches.length;r+=2){let i=this.matches[r],a=!1;this.query.charCodeAt(i)==e&&(i==this.query.length-1?n={from:this.matches[r+1],to:t+1}:(this.matches[r]++,a=!0)),a||(this.matches.splice(r,2),r-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?n={from:t,to:t+1}:this.matches.push(1,t)),n&&this.test&&!this.test(n.from,n.to,this.buffer,this.bufferPos)&&(n=null),n}};typeof Symbol<`u`&&(bU.prototype[Symbol.iterator]=function(){return this});var xU={from:-1,to:-1,match:/.*/.exec(``)},SU=`gm`+(/x/.unicode==null?``:`u`),CU=class{constructor(e,t,n,r=0,i=e.length){if(this.text=e,this.to=i,this.curLine=``,this.done=!1,this.value=xU,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new EU(e,t,n,r,i);this.re=new RegExp(t,SU+(n?.ignoreCase?`i`:``)),this.test=n?.test,this.iter
32=e.iter();let a=e.lineAt(r);this.curLineStart=a.from,this.matchPos=OU(e,r),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine=``:(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine=``:this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=OU(this.text,r+ +(n==r)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<r||n>this.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}},wU=new WeakMap,TU=class e{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(t,n,r){let i=wU.get(t);if(!i||i.from>=r||i.to<=n){let i=new e(n,t.sliceString(n,r));return wU.set(t,i),i}if(i.from==n&&i.to==r)return i;let{text:a,from:o}=i;return o>n&&(a=t.sliceString(n,o)+a,o=n),i.to<r&&(a+=t.sliceString(i.to,r)),wU.set(t,new e(o,a)),new e(n,a.slice(n-o,r-o))}},EU=class{constructor(e,t,n,r,i){this.text=e,this.to=i,this.done=!1,this.value=xU,this.matchPos=OU(e,r),this.re=new RegExp(t,SU+(n?.ignoreCase?`i`:``)),this.test=n?.test,this.flat=TU.get(e,r,this.chunkEnd(r+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,match:t},this.matchPos=OU(this.text,n+ +(e==n)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=TU.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}};typeof Symbol<`u`&&(CU.prototype[Symbol.iterator]=EU.prototype[Symbol.iterator]=function(){return this});function DU(e){try{return new RegExp(e,SU),!0}catch{return!1}}function OU(e,t){if(t>=e.length)return t;let n=e.lineAt(t),r;for(;t<n.to&&(r=n.text.charCodeAt(t-n.from))>=56320&&r<57344;)t++;return t}function kU(e){let t=_U(`input`,{class:`cm-textfield`,name:`line`}),n=_U(`form`,{class:`cm-gotoLine`,onkeydown:t=>{t.keyCode==27?(t.preventDefault(),e.dispatch({effects:AU.of(!1)}),e.focus()):t.keyCode==13&&(t.preventDefault(),r())},onsubmit:e=>{e.preventDefault(),r()}},_U(`label`,e.state.phrase(`Go to line`),`: `,t),` `,_U(`button`,{class:`cm-button`,type:`submit`},e.state.phrase(`go`)));function r(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!n)return;let{state:r}=e,i=r.doc.lineAt(r.selection.main.head),[,a,o,s,c]=n,l=s?+s.slice(1):0,u=o?+o:i.number;if(o&&c){let e=u/100;a&&(e=e*(a==`-`?-1:1)+i.number/r.doc.lines),u=Math.round(r.doc.lines*e)}else o&&a&&(u=u*(a==`-`?-1:1)+i.number);let d=r.doc.line(Math.max(1,Math.min(r.doc.lines,u))),f=q.cursor(d.from+Math.max(0,Math.min(l,d.length)));e.dispatch({effects:[AU.of(!1),X.scrollIntoView(f.from,{y:`center`})],selection:f}),e.focus()}return{dom:n}}var AU=Fj.define(),jU=mj.define({create(){return!0},update(e,t){for(let n of t.effects)n.is(AU)&&(e=n.value);return e},provide:e=>IL.from(e,e=>e?kU:null)}),MU=e=>{let t=ML(e,kU);if(!t){let n=[AU.of(!0)];e.state.field(jU,!1)??n.push(Fj.appendConfig.of([jU,NU])),e.dispatch({effects:n}),t=ML(e,kU)}return t&&t.dom.querySelector(`input`).focus(),!0},NU=X.baseTheme({".cm-panel.cm-gotoLine":{padding:`2px 6px 4px`,"& label":{fontSize:`80%`}}}),PU={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},FU=J.define({combine(e){return Zj(e,PU,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function IU(e){let t=[HU,VU];return e&&t.push(FU.of(e)),t}var LU=zN.mark({class:`cm-selectionMatch`}),RU=zN.mark({class:`cm-selectionMatch cm-selectionMatch-main`});function zU(e,t,n,r){return(n==0||e(t.sliceDoc(n-1,n))!=Gj.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=Gj.Word)}function BU(e,t,n,r){return e(t.sliceDoc(n,n+1))==Gj.Word&&e(t.sliceDoc(r-1,r))==Gj.Word}var VU=fP.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(FU),{state:n}=e,r=n.selection;if(r.ranges.length>1)return zN.none;let i=r.main,a,o=null;
vendor: 11,176 bytes, lines 32-33
32if(i.empty){if(!t.highlightWordAroundCursor)return zN.none;let e=n.wordAt(i.head);if(!e)return zN.none;o=n.charCategorizer(i.head),a=n.sliceDoc(e.from,e.to)}else{let e=i.to-i.from;if(e<t.minSelectionLength||e>200)return zN.none;if(t.wholeWords){if(a=n.sliceDoc(i.from,i.to),o=n.charCategorizer(i.head),!(zU(o,n,i.from,i.to)&&BU(o,n,i.from,i.to)))return zN.none}else if(a=n.sliceDoc(i.from,i.to).trim(),!a)return zN.none}let s=[];for(let r of e.visibleRanges){let e=new bU(n.doc,a,r.from,r.to);for(;!e.next().done;){let{from:r,to:a}=e.value;if((!o||zU(o,n,r,a))&&(i.empty&&r<=i.from&&a>=i.to?s.push(RU.range(r,a)):(r>=i.to||a<=i.from)&&s.push(LU.range(r,a)),s.length>t.maxMatches))return zN.none}}return zN.set(s)}},{decorations:e=>e.decorations}),HU=X.baseTheme({".cm-selectionMatch":{backgroundColor:`#99ff7780`},".cm-searchMatch .cm-selectionMatch":{backgroundColor:`transparent`}}),UU=({state:e,dispatch:t})=>{let{selection:n}=e,r=q.create(n.ranges.map(t=>e.wordAt(t.head)||q.cursor(t.head)),n.mainIndex);return r.eq(n)?!1:(t(e.update({selection:r})),!0)};function WU(e,t){let{main:n,ranges:r}=e.selection,i=e.wordAt(n.head),a=i&&i.from==n.from&&i.to==n.to;for(let n=!1,i=new bU(e.doc,t,r[r.length-1].to);;)if(i.next(),i.done){if(n)return null;i=new bU(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),n=!0}else{if(n&&r.some(e=>e.from==i.value.from))continue;if(a){let t=e.wordAt(i.value.from);if(!t||t.from!=i.value.from||t.to!=i.value.to)continue}return i.value}}var GU=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return UU({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=r))return!1;let i=WU(e,r);return i?(t(e.update({selection:e.selection.addRange(q.range(i.from,i.to),!1),effects:X.scrollIntoView(i.to)})),!0):!1},KU=J.define({combine(e){return Zj(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new wW(e),scrollToMatch:e=>X.scrollIntoView(e)})}}),qU=class{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||``,this.valid=!!this.search&&(!this.regexp||DU(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>t==`n`?` 33`:t==`r`?`\r`:t==`t`?` `:`\\`)}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new nW(this):new ZU(this)}getCursor(e,t=0,n){let r=e.doc?e:Xj.create({doc:e});return n??=r.doc.length,this.regexp?QU(this,r,t,n):YU(this,r,t,n)}},JU=class{constructor(e){this.spec=e}};function YU(e,t,n,r){return new bU(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?XU(t.doc,t.charCategorizer(t.selection.main.head)):void 0)}function XU(e,t){return(n,r,i,a)=>((a>n||a+i.length<r)&&(a=Math.max(0,n-2),i=e.sliceString(a,Math.min(e.length,r+2))),(t($U(i,n-a))!=Gj.Word||t(eW(i,n-a))!=Gj.Word)&&(t(eW(i,r-a))!=Gj.Word||t($U(i,r-a))!=Gj.Word))}var ZU=class extends JU{constructor(e){super(e)}nextMatch(e,t,n){let r=YU(this.spec,e,n,e.doc.length).nextOverlapping();return r.done&&(r=YU(this.spec,e,0,t).nextOverlapping()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=n;;){let n=Math.max(t,r-1e4-this.spec.unquoted.length),i=YU(this.spec,e,n,r),a=null;for(;!i.nextOverlapping().done;)a=i.value;if(a)return a;if(n==t)return null;r-=1e4}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=YU(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=YU(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}};function QU(e,t,n,r){return new CU(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?tW(t.charCategorizer(t.selection.main.head)):void 0},n,r)}function $U(e,t){return e.slice(VA(e,t,!1),t)}function eW(e,t){return e.slice(t,VA(e,t))}function tW(e){return(t,n,r)=>!r[0].length||(e($U(r.input,r.index))!=Gj.Word||e(eW(r.input,r.index))!=Gj.Word)&&(e(eW(r.input,r.index+r[0].length))!=Gj.Word||e($U(r.input,r.index+r[0].length))!=Gj.Word)}var nW=class extends JU{nextMatch(e,t,n){let r=QU(this.spec,e,n,e.doc.length).next();return r.done&&(r=QU(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let i=Math.max(t,n-r*1e4),a=QU(this.spec,e,i,n),o=null;for(;!a.next().done;)o=a.value;if(o&&(i==t||o.from>i+10))return o;if(i==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>n==`$`?`$`:n==`&`?e.match[0]:n!=`0`&&+n<e.match.length?e.match[n]:t))}matchAll(e,t){let n=QU(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=QU(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}},rW=Fj.define(),iW=Fj.define(),aW=mj.define({create(e){return new oW(vW(e).create(),null)},update(e,t){for(let n of t.effects)n.is(rW)?e=new oW(n.value.create(),e.panel):n.is(iW)&&(e=new oW(e.query,n.value?_W:null));return e},provide:e=>IL.from(e,e=>e.panel)}),oW=class{constructor(e,t){this.query=e,this.panel=t}},sW=zN.mark({class:`cm-searchMatch`}),cW=zN.mark({class:`cm-searchMatch cm-searchMatch-selected`}),lW=fP.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(aW))}update(e){let t=e.state.field(aW);(t!=e.startState.field(aW)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return zN.none;let{view:n}=this,r=new iM;for(let t=0,i=n.visibleRanges,a=i.length;t<a;t++){let{from:o,to:s}=i[t];for(;t<a-1&&s>i[t+1].from-500;)s=i[++t].to;e.highlight(n.state,o,s,(e,t)=>{let i=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);r.add(e,t,i?cW:sW)})}return r.finish()}},{decorations:e=>e.decorations});function uW(e){return t=>{let n=t.state.field(aW,!1);return n&&n.query.spec.valid?e(t,n):xW(t)}}var dW=uW((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let i=q.single(r.from,r.to),a=e.state.facet(KU);return e.dispatch({selection:i,effects:[OW(e,r),a.scrollToMatch(i.main,e)],userEvent:`select.search`}),bW(e),!0}),fW=uW((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,i=t.prevMatch(n,r,r);if(!i)return!1;let a=q.single(i.from,i.to),o=e.state.facet(KU);return e.dispatch({selection:a,effects:[OW(e,i),o.scrollToMatch(a.main,e)],userEvent:`select.search`}),bW(e),!0}),pW=uW((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!n||!n.length?!1:(e.dispatch({selection:q.create(n.map(e=>q.range(e.from,e.to))),userEvent:`select.search.matches`}),!0)}),mW=({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,a=[],o=0;for(let t=new bU(e.doc,e.sliceDoc(r,i));!t.next().done;){if(a.length>1e3)return!1;t.value.from==r&&(o=a.length),a.push(q.range(t.value.from,t.value.to))}return t(e.update({selection:q.create(a,o),userEvent:`select.search.matches`})),!0},hW=uW((e,{query:t})=>{let{state:n}=e,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let a=t.nextMatch(n,r,r);if(!a)return!1;let o=[],s,c,l=[];if(a.from==r&&a.to==i&&(c=n.toText(t.getReplacement(a)),o.push({from:a.from,to:a.to,insert:c}),a=t.nextMatch(n,a.from,a.to),l.push(X.announce.of(n.phrase(`replaced match on line $`,n.doc.lineAt(r).number)+`.`))),a){let t=o.length==0||o[0].from>=a.to?0:a.to-a.from-c.length;s=q.single(a.from-t,a.to-t),l.push(OW(e,a)),l.push(n.facet(KU).scrollToMatch(s.main,e))}return e.dispatch({changes:o,selection:s,effects:l,userEvent:`input.replace`}),!0}),gW=uW((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(e=>{let{from:n,to:r}=e;return{from:n,to:r,insert:t.getReplacement(e)}});if(!n.length)return!1;let r=e.state.phrase(`replaced $ matches`,n.length)+`.`;return e.dispatch({changes:n,effects:X.announce.of(r),userEvent:`input.replace.all`}),!0});function _W(e){return e.state.facet(KU).createPanel(e)}function vW(e,t){let n=e.selection.main,r=n.empty||n.to>n.from+100?``:e.sliceDoc(n.from,n.to);if(t&&!r)return t;let i=e.facet(KU);return new qU({search:t?.literal??i.literal?r:r.replace(/\n/g,`\\n`),caseSensitive:t?.caseSensitive??i.caseSensitive,literal:t?.literal??i.literal,regexp:t?.regexp??i.regexp,wholeWord:t?.wholeWord??i.wholeWord})}function yW(e){let t=ML(e,_W);return t&&t.dom.querySelector(`[main-field]`)}function bW(e){let t=yW(e);t&&t==e.root.activeElement&&t.select()}var xW=e=>{let t=e.state.field(aW,!1);if(t&&t.panel){let n=yW(e);if(n&&n!=e.root.activeElement){let r=vW(e.state,t.query.spec);r.valid&&e.dispatch({effects:rW.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[iW.of(!0),t?rW.of(vW(e.state,t.query.spec)):Fj.appendConfig.of(AW)]});return!0},SW=e=>{let t=e.state.field(aW,!1);if(!t||!t.panel)return!1;let n=ML(e,_W);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:iW.of(!1)}),!0},CW=[{key:`Mod-f`,run:xW,scope:`editor search-panel`},{key:`F3`,run:dW,shift:fW,scope:`editor search-panel`,preventDefault:!0},{key:`Mod-g`,run:dW,shift:fW,scope:`editor search-panel`,preventDefault:!0},{key:`Escape`,run:SW,scope:`editor search-panel`},{key:`Mod-Shift-l`,run:mW},{key:`Alt-g`,run:MU},{key:`Mod-d`,run:GU,preventDefault:!0}],wW=class{constructor(e){this.view=e;let t=this.query=e.state.field(aW).query.spec;this.commit=this.commit.bind(this),this.searchField=_U(`input`,{value:t.search,placeholder:TW(e,`Find`),"aria-label":TW(e,`Find`),class:`cm-textfield`,name:`search`,form:``,"main-field":`true`,onchange:this.commit,onkeyup:this.commit}),this.replaceField=_U(`input`,{value:t.replace,placeholder:TW(e,`Replace`),"aria-label":TW(e,`Replace`),class:`cm-textfield`,name:`replace`,form:``,onchange:this.commit,onkeyup:this.commit}),this.caseField=_U(`input`,{type:`checkbox`,name:`case`,form:``,checked:t.caseSensitive,onchange:this.commit}),this.reField=_U(`input`,{type:`checkbox`,name:`re`,form:``,checked:t.regexp,onchange:this.commit}),this.wordField=_U(`input`,{type:`checkbox`,name:`word`,form:``,checked:t.wholeWord,onchange:this.commit});function n(e,t,n){return _U(`button`,{class:`cm-button`,name:e,onclick:t,type:`button`},n)}this.dom=_U(`div`,{onkeydown:e=>this.keydown(e),class:`cm-search`},[this.searchField,n(`next`,()=>dW(e),[TW(e,`next`)]),n(`prev`,()=>fW(e),[TW(e,`previous`)]),n(`select`,()=>pW(e),[TW(e,`all`)]),_U(`label`,null,[this.caseField,TW(e,`match case`)]),_U(`label`,null,[this.reField,TW(e,`regexp`)]),_U(`label`,null,[this.wordField,TW(e,`by word`)]),...e.state.readOnly?[]:[_U(`br`),this.replaceField,n(`replace`,()=>hW(e),[TW(e,`replace`)]),n(`replaceAll`,()=>gW(e),[TW(e,`replace all`)])],_U(`button`,{name:`close`,onclick:()=>
33SW(e),"aria-label":TW(e,`close`),type:`button`},[`Ã`])])}commit(){let e=new qU({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:rW.of(e)}))}keydown(e){Vie(this.view,e,`search-panel`)?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?fW:dW)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),hW(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(rW)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(KU).top}};function TW(e,t){return e.state.phrase(t)}var EW=30,DW=/[\s\.,:;?!]/;function OW(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),i=e.state.doc.lineAt(n).to,a=Math.max(r.from,t-EW),o=Math.min(i,n+EW),s=e.state.sliceDoc(a,o);if(a!=r.from){for(let e=0;e<EW;e++)if(!DW.test(s[e+1])&&DW.test(s[e])){s=s.slice(e);break}}if(o!=i){for(let e=s.length-1;e>s.length-EW;e--)if(!DW.test(s[e-1])&&DW.test(s[e])){s=s.slice(0,e);break}}return X.announce.of(`${e.state.phrase(`current match`)}. ${s} ${e.state.phrase(`on line`)} ${r.number}.`)}var kW=X.baseTheme({".cm-panel.cm-search":{padding:`2px 6px 4px`,position:`relative`,"& [name=close]":{position:`absolute`,top:`0`,right:`4px`,backgroundColor:`inherit`,border:`none`,font:`inherit`,padding:0,margin:0},"& input, & button, & label":{margin:`.2em .6em .2em 0`},"& input[type=checkbox]":{marginRight:`.2em`},"& label":{fontSize:`80%`,whiteSpace:`pre`}},"&light .cm-searchMatch":{backgroundColor:`#ffff0054`},"&dark .cm-searchMatch":{backgroundColor:`#00ffff8a`},"&light .cm-searchMatch-selected":{backgroundColor:`#ff6a0054`},"&dark .cm-searchMatch-selected":{backgroundColor:`#ff00ff8a`}}),AW=[aW,_j.low(lW),kW],jW=class{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=_z(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(LW(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e==`abort`&&this.abortListeners&&this.abortListeners.push(t)}};function MW(e){let t=Object.keys(e).join(``),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,``)),`[${n?`\\w`:``}${t.replace(/[^\w\s]/g,`\\$&`)}]`}function NW(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)n[r[e]]=!0}let r=MW(t)+MW(n)+`*$`;return[RegExp(`^`+r),new RegExp(r)]}function PW(e){let t=e.map(e=>typeof e==`string`?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:NW(t);return e=>{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}var FW=class{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}};function IW(e){return e.selection.main.from}function LW(e,t){let{source:n}=e,r=t&&n[0]!=`^`,i=n[n.length-1]!=`$`;return!r&&!i?e:RegExp(`${r?`^`:``}(?:${n})${i?`$`:``}`,e.flags??(e.ignoreCase?`i`:``))}var RW=Mj.define();function zW(e,t,n,r){let{main:i}=e.selection,a=n-i.from,o=r-i.from;return Object.assign(Object.assign({},e.changeByRange(s=>s!=i&&n!=r&&e.sliceDoc(s.from+a,s.from+o)!=e.sliceDoc(n,r)?{range:s}:{changes:{from:s.from+a,to:r==i.from?s.to:s.from+o,insert:t},range:q.cursor(s.from+a+t.length)})),{userEvent:`input.complete`})}var BW=new WeakMap;function VW(e){if(!Array.isArray(e))return e;let t=BW.get(e);return t||BW.set(e,t=PW(e)),t}var HW=Fj.define(),UW=Fj.define(),WW=class{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let n=KA(e,t),r=JA(n);this.chars.push(n);let i=e.slice(t,t+r),a=i.toUpperCase();this.folded.push(KA(a==i?i.toLowerCase():a,0)),t+=r}
vendor: 10,550 bytes, line 33
33this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,!0}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return!1;let{chars:t,folded:n,any:r,precise:i,byWord:a}=this;if(t.length==1){let r=KA(e,0),i=JA(r),a=i==e.length?0:-100;if(r!=t[0])if(r==n[0])a+=-200;else return!1;return this.ret(a,[0,i])}let o=e.indexOf(this.pattern);if(o==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let s=t.length,c=0;if(o<0){for(let i=0,a=Math.min(e.length,200);i<a&&c<s;){let a=KA(e,i);(a==t[c]||a==n[c])&&(r[c++]=i),i+=JA(a)}if(c<s)return!1}let l=0,u=0,d=!1,f=0,p=-1,m=-1,h=/[a-z]/.test(e),g=!0;for(let r=0,c=Math.min(e.length,200),_=0;r<c&&u<s;){let c=KA(e,r);o<0&&(l<s&&c==t[l]&&(i[l++]=r),f<s&&(c==t[f]||c==n[f]?(f==0&&(p=r),m=r+1,f++):f=0));let v,y=c<255?c>=48&&c<=57||c>=97&&c<=122?2:+(c>=65&&c<=90):(v=qA(c))==v.toLowerCase()?v==v.toUpperCase()?0:2:1;(!r||y==1&&h||_==0&&y!=0)&&(t[u]==c||n[u]==c&&(d=!0)?a[u++]=r:a.length&&(g=!1)),_=y,r+=JA(c)}return u==s&&a[0]==0&&g?this.result(-100+(d?-200:0),a,e):f==s&&p==0?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):o>-1?this.ret(-700-e.length,[o,o+this.pattern.length]):f==s?this.ret(-900-e.length,[p,m]):u==s?this.result(-100+(d?-200:0)+-700+(g?0:-1100),a,e):t.length==2?!1:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[],i=0;for(let e of t){let t=e+(this.astral?JA(KA(n,e)):1);i&&r[i-1]==e?r[i-1]=t:(r[i++]=e,r[i++]=t)}return this.ret(e-n.length,r)}},GW=J.define({combine(e){return Zj(e,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>``,optionClass:()=>``,aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:qW,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>KW(e(n),t(n)),optionClass:(e,t)=>n=>KW(e(n),t(n)),addToOptions:(e,t)=>e.concat(t)})}});function KW(e,t){return e?t?e+` `+t:e:t}function qW(e,t,n,r,i){let a=e.textDirection==TP.RTL,o=a,s=!1,c=`top`,l,u,d=t.left-i.left,f=i.right-t.right,p=r.right-r.left,m=r.bottom-r.top;if(o&&d<Math.min(p,f)?o=!1:!o&&f<Math.min(p,d)&&(o=!0),p<=(o?d:f))l=Math.max(i.top,Math.min(n.top,i.bottom-m))-t.top,u=Math.min(400,o?d:f);else{s=!0,u=Math.min(400,(a?t.right:i.right-t.left)-30);let e=i.bottom-t.bottom;e>=m||e>t.top?l=n.bottom-t.top:(c=`bottom`,l=t.bottom-n.top)}return{style:`${c}: ${l}px; max-width: ${u}px`,class:`cm-completionInfo-`+(s?a?`left-narrow`:`right-narrow`:o?`left`:`right`)}}function JW(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement(`div`);return t.classList.add(`cm-completionIcon`),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>`cm-completionIcon-`+e)),t.setAttribute(`aria-hidden`,`true`),t},position:20}),t.push({render(e,t,n){let r=document.createElement(`span`);r.className=`cm-completionLabel`;let i=e.displayLabel||e.label,a=0;for(let e=0;e<n.length;){let t=n[e++],o=n[e++];t>a&&r.appendChild(document.createTextNode(i.slice(a,t)));let s=r.appendChild(document.createElement(`span`));s.appendChild(document.createTextNode(i.slice(t,o))),s.className=`cm-completionMatchedText`,a=o}return a<i.length&&r.appendChild(document.createTextNode(i.slice(a))),r},position:50},{render(e){if(!e.detail)return null;let t=document.createElement(`span`);return t.className=`cm-completionDetail`,t.textContent=e.detail,t},position:80}),t.sort((e,t)=>e.position-t.position).map(e=>e.render)}function YW(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}var XW=class{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass=``;let r=e.state.field(t),{options:i,selected:a}=r.open,o=e.state.facet(GW);this.optionContent=JW(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=YW(i.length,a,o.maxRenderedOptions),this.dom=document.createElement(`div`),this.dom.className=`cm-tooltip-autocomplete`,this.updateTooltipClass(e.state),this.dom.addEventListener(`mousedown`,t=>{for(let n=t.target,r;n&&n!=this.dom;n=n.parentNode)if(n.nodeName==`LI`&&(r=/-(\d+)$/.exec(n.id))&&+r[1]<i.length){this.applyCompletion(e,i[+r[1]]),t.preventDefault();return}}),this.dom.addEventListener(`focusout`,t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(GW).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:UW.of(null)})}),this.list=this.dom.appendChild(this.createListBox(i,r.id,this.range)),this.list.addEventListener(`scroll`,()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}mount(){this.updateSel()}update(e){let t=e.state.field(this.stateField),n=e.startState.field(this.stateField);this.updateTooltipClass(e.state),t!=n&&(this.updateSel(),t.open?.disabled!=n.open?.disabled&&this.dom.classList.toggle(`cm-tooltip-autocomplete-disabled`,!!t.open?.disabled))}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(` `))e&&this.dom.classList.remove(e);for(let e of t.split(` `))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=YW(t.options.length,t.selected,this.view.state.facet(GW).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener(`scroll`,()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:n}=t.options[t.selected],{info:r}=n;if(!r)return;let i=typeof r==`string`?document.createTextNode(r):r(n);if(!i)return;`then`in i?i.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,n)}).catch(e=>cP(this.view.state,e,`completion info`)):this.addInfoPane(i,n)}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement(`div`);if(n.className=`cm-tooltip cm-completionInfo`,e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)n.nodeName!=`LI`||!n.id?r--:r==e?n.hasAttribute(`aria-selected`)||(n.setAttribute(`aria-selected`,`true`),t=n):n.hasAttribute(`aria-selected`)&&n.removeAttribute(`aria-selected`);return t&&QW(this.list,t),t}measureInfo(){let e=this.dom.querySelector(`[aria-selected]`);if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),i=this.space;if(!i){let e=this.dom.ownerDocument.defaultView||window;i={left:0,top:0,right:e.innerWidth,bottom:e.innerHeight}}return r.top>Math.min(i.bottom,t.bottom)-10||r.bottom<Math.max(i.top,t.top)+10?null:this.view.state.facet(GW).positionInfo(this.view,t,r,n,i)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className=`cm-tooltip cm-completionInfo `+(e.class||``)):this.info.style.cssText=`top: -1e6px`)}createListBox(e,t,n){let r=document.createElement(`ul`);r.id=t,r.setAttribute(`role`,`listbox`),r.setAttribute(`aria-expanded`,`true`),r.setAttribute(`aria-label`,this.view.state.phrase(`Completions`));let i=null;for(let a=n.from;a<n.to;a++){let{completion:o,match:s}=e[a],{section:c}=o;if(c){let e=typeof c==`string`?c:c.name;if(e!=i&&(a>n.from||n.from==0))if(i=e,typeof c!=`string`&&c.header)r.appendChild(c.header(c));else{let t=r.appendChild(document.createElement(`completion-section`));t.textContent=e}}let l=r.appendChild(document.createElement(`li`));l.id=t+`-`+a,l.setAttribute(`role`,`option`);let u=this.optionClass(o);u&&(l.className=u);for(let e of this.optionContent){let t=e(o,this.view.state,s);t&&l.appendChild(t)}}return n.from&&r.classList.add(`cm-completionListIncompleteTop`),n.to<e.length&&r.classList.add(`cm-completionListIncompleteBottom`),r}destroyInfo(){this.info&&=(this.infoDestroy&&this.infoDestroy(),this.info.remove(),null)}destroy(){this.destroyInfo()}};function ZW(e,t){return n=>new XW(n,e,t)}function QW(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();r.top<n.top?e.scrollTop-=n.top-r.top:r.bottom>n.bottom&&(e.scrollTop+=r.bottom-n.bottom)}function $W(e){return(e.boost||0)*100+(e.apply?10:0)+(e.info?5:0)+ +!!e.type}function eG(e,t){let n=[],r=null,i=e=>{n.push(e);let{section:t}=e.completion;if(t){r||=[];let e=typeof t==`string`?t:t.name;r.some(t=>t.name==e)||r.push(typeof t==`string`?{name:e}:t)}};for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(r.result.filter===!1)for(let t of r.result.options)i(new FW(t,r.source,e?e(t):[],1e9-n.length));else{let n=new WW(t.sliceDoc(r.from,r.to));for(let t of r.result.options)if(n.match(t.label)){let a=t.displayLabel?e?e(t,n.matched):[]:n.matched;i(new FW(t,r.source,a,n.score+(t.boost||0)))}}}if(r){let e=Object.create(null),t=0,i=(e,t)=>(e.rank??1e9)-(t.rank??1e9)||(e.name<t.name?-1:1);for(let n of r.sort(i))t-=1e5,e[n.name]=t;for(let t of n){let{section:n}=t.completion;n&&(t.score+=e[typeof n==`string`?n:n.name])}}let a=[],o=null,s=t.facet(GW).compareCompletions;for(let e of n.sort((e,t)=>t.score-e.score||s(e.completion,t.completion))){let t=e.completion;!o||o.label!=t.label||o.detail!=t.detail||o.type!=null&&t.type!=null&&o.type!=t.type||o.apply!=t.apply||o.boost!=t.boost?a.push(e):$W(e.completion)>$W(o)&&(a[a.length-1]=e),o=e.completion}return a}var tG=class e{constructor(e,t,n,r,i,a){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=i,this.disabled=a}setSelected(t,n){return t==this.selected||t>=this.options.length?this:new e(this.options,aG(n,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,n,r,i,a){let o=eG(t,n);if(!o.length)return i&&t.some(e=>e.state==1)?new e(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let s=n.facet(GW).selectOnOpen?0:-1;if(i&&i.selected!=s&&i.selected!=-1){let e=i.options[i.selected].completion;for(let t=0;t<o.length;t++)if(o[t].completion==e){s=t;break}}return new e(o,aG(r,s),{pos:t.reduce((e,t)=>
33t.hasResult()?Math.min(e,t.from):e,1e8),create:ZW(pG,mG),above:a.aboveCursor},i?i.timestamp:Date.now(),s,!1)}map(t){return new e(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}},nG=class e{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new e(oG,`cm-ac-`+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:n}=t,r=n.facet(GW),i=(r.override||n.languageDataAt(`autocomplete`,IW(n)).map(VW)).map(e=>(this.active.find(t=>t.source==e)||new cG(e,+!!this.active.some(e=>e.state!=0))).update(t,r));i.length==this.active.length&&i.every((e,t)=>e==this.active[t])&&(i=this.active);let a=this.open;a&&t.docChanged&&(a=a.map(t.changes)),t.selection||i.some(e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to))||!rG(i,this.active)?a=tG.build(i,n,this.id,a,r):a&&a.disabled&&!i.some(e=>e.state==1)&&(a=null),!a&&i.every(e=>e.state!=1)&&i.some(e=>e.hasResult())&&(i=i.map(e=>e.hasResult()?new cG(e.source,0):e));for(let e of t.effects)e.is(fG)&&(a&&=a.setSelected(e.value,this.id));return i==this.active&&a==this.open?this:new e(i,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:iG}};function rG(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult;)n++;for(;r<t.length&&!t[r].hasResult;)r++;let i=n==e.length,a=r==t.length;if(i||a)return i==a;if(e[n++].result!=t[r++].result)return!1}}var iG={"aria-autocomplete":`list`};function aG(e,t){let n={"aria-autocomplete":`list`,"aria-haspopup":`listbox`,"aria-controls":e};return t>-1&&(n[`aria-activedescendant`]=e+`-`+t),n}var oG=[];function sG(e){return e.isUserEvent(`input.type`)?`input`:e.isUserEvent(`delete.backward`)?`delete`:null}var cG=class e{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(t,n){let r=sG(t),i=this;r?i=i.handleUserEvent(t,r,n):t.docChanged?i=i.handleChange(t):t.selection&&i.state!=0&&(i=new e(i.source,0));for(let n of t.effects)if(n.is(HW))i=new e(i.source,1,n.value?IW(t.state):-1);else if(n.is(UW))i=new e(i.source,0);else if(n.is(dG))for(let e of n.value)e.source==i.source&&(i=e);return i}handleUserEvent(t,n,r){return n==`delete`||!r.activateOnTyping?this.map(t.changes):new e(this.source,1)}handleChange(t){return t.changes.touchesRange(IW(t.startState))?new e(this.source,0):this.map(t.changes)}map(t){return t.empty||this.explicitPos<0?this:new e(this.source,this.state,t.mapPos(this.explicitPos))}},lG=class e extends cG{constructor(e,t,n,r,i){super(e,2,t),this.result=n,this.from=r,this.to=i}hasResult(){return!0}handleUserEvent(t,n,r){let i=t.changes.mapPos(this.from),a=t.changes.mapPos(this.to,1),o=IW(t.state);if((this.explicitPos<0?o<=i:o<this.from)||o>a||n==`delete`&&IW(t.startState)==this.from)return new cG(this.source,n==`input`&&r.activateOnTyping?1:0);let s=this.explicitPos<0?-1:t.changes.mapPos(this.explicitPos),c;return uG(this.result.validFor,t.state,i,a)?new e(this.source,s,this.result,i,a):this.result.update&&(c=this.result.update(this.result,i,a,new jW(t.state,o,s>=0)))?new e(this.source,s,c,c.from,c.to??IW(t.state)):new cG(this.source,1,s)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new cG(this.source,0):this.map(e.changes)}map(t){return t.empty?this:new e(this.source,this.explicitPos<0?-1:t.mapPos(this.explicitPos),this.result,t.mapPos(this.from),t.mapPos(this.to,1))}};function uG(e,t,n,r){if(!e)return!1;let i=t.sliceDoc(n,r);return typeof e==`function`?e(i,n,r,t):LW(e,!0).test(i)}var dG=Fj.define({map(e,t){return e.map(e=>e.map(t))}}),fG=Fj.define(),pG=mj.define({create(){return nG.start()},update(e,t){return e.update(t)},provide:e=>[xL.from(e,e=>e.tooltip),X.contentAttributes.from(e,e=>e.attrs)]});function mG(e,t){let n=t.completion.apply||t.completion.label,r=e.state.field(pG).active.find(e=>e.source==t.source);return r instanceof lG?(typeof n==`string`?e.dispatch(Object.assign(Object.assign({},zW(e.state,n,r.from,r.to)),{annotations:RW.of(t.completion)})):n(e,t.completion,r.from,r.to),!0):!1}function hG(e,t=`option`){return n=>{let r=n.state.field(pG,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(GW).interactionDelay)return!1;let i=1,a;t==`page`&&(a=kL(n,r.open.tooltip))&&(i=Math.max(2,Math.floor(a.dom.offsetHeight/a.dom.querySelector(`li`).offsetHeight)-1));let{length:o}=r.open.options,s=r.open.selected>-1?r.open.selected+i*(e?1:-1):e?0:o-1;return s<0?s=t==`page`?0:o-1:s>=o&&(s=t==`page`?o-1:0),n.dispatch({effects:fG.of(s)}),!0}}var gG=e=>{let t=e.state.field(pG,!1);return e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(GW).interactionDelay?!1:mG(e,t.open.options[t.open.selected])},_G=e=>e.state.field(pG,!1)?(e.dispatch({effects:HW.of(!0)}),!0):!1,vG=e=>{let t=e.state.field(pG,!1);return!t||!t.active.some(e=>e.state!=0)?!1:(e.dispatch({effects:UW.of(null)}),!0)},yG=class{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}},bG=50,xG=50,SG=1e3,CG=fP.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let t of e.state.field(pG).active)t.state==1&&this.startQuery(t)}update(e){let t=e.state.field(pG);if(!e.selectionSet&&!e.docChanged&&e.startState.field(pG)==t)return;let n=e.transactions.some(e=>(e.selection||e.docChanged)&&!sG(e));for(let t=0;t<this.running.length;t++){let r=this.running[t];if(n||r.updates.length+e.transactions.length>xG&&Date.now()-r.time>SG){for(let e of r.context.abortListeners)try{e()}catch(e){cP(this.view.state,e)}r.context.abortListeners=null,this.running.splice(t--,1)}else r.updates.push(...e.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=t.active.some(e=>e.state==1&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>
33this.startUpdate(),bG):-1,this.composing!=0)for(let t of e.transactions)sG(t)==`input`?this.composing=2:this.composing==2&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:e}=this.view,t=e.field(pG);for(let e of t.active)e.state==1&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e)}startQuery(e){let{state:t}=this.view,n=IW(t),r=new jW(t,n,e.explicitPos==n),i=new yG(e,r);this.running.push(i),Promise.resolve(e.source(r)).then(e=>{i.context.aborted||(i.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:UW.of(null)}),cP(this.view.state,e)})}scheduleAccept(){this.running.every(e=>e.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),bG))}accept(){this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(GW);for(let n=0;n<this.running.length;n++){let r=this.running[n];if(r.done===void 0)continue;if(this.running.splice(n--,1),r.done){let n=new lG(r.active.source,r.active.explicitPos,r.done,r.done.from,r.done.to??IW(r.updates.length?r.updates[0].startState:this.view.state));for(let e of r.updates)n=n.update(e,t);if(n.hasResult()){e.push(n);continue}}let i=this.view.state.field(pG).active.find(e=>e.source==r.active.source);if(i&&i.state==1)if(r.done==null){let n=new cG(r.active.source,0);for(let e of r.updates)n=n.update(e,t);n.state!=1&&e.push(n)}else this.startQuery(i)}e.length&&this.view.dispatch({effects:dG.of(e)})}},{eventHandlers:{blur(e){let t=this.view.state.field(pG,!1);if(t&&t.tooltip&&this.view.state.facet(GW).closeOnBlur){let n=t.open&&kL(this.view,t.open.tooltip);(!n||!n.dom.contains(e.relatedTarget))&&this.view.dispatch({effects:UW.of(null)})}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:HW.of(!1)}),20),this.composing=0}}}),wG=X.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:`monospace`,whiteSpace:`nowrap`,overflow:`hidden auto`,maxWidth_fallback:`700px`,maxWidth:`min(700px, 95vw)`,minWidth:`250px`,maxHeight:`10em`,height:`100%`,listStyle:`none`,margin:0,padding:0,"& > li, & > completion-section":{padding:`1px 3px`,lineHeight:1.2},"& > li":{overflowX:`hidden`,textOverflow:`ellipsis`,cursor:`pointer`},"& > completion-section":{display:`list-item`,borderBottom:`1px solid silver`,paddingLeft:`0.5em`,opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:`#17c`,color:`white`},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:`#777`},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:`#347`,color:`white`},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:`#444`},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:`"···"`,opacity:.5,display:`block`,textAlign:`center`},".cm-tooltip.cm-completionInfo":{position:`absolute`,padding:`3px 9px`,width:`max-content`,maxWidth:`400px`,boxSizing:`border-box`},".cm-completionInfo.cm-completionInfo-left":{right:`100%`},".cm-completionInfo.cm-completionInfo-right":{left:`100%`},".cm-completionInfo.cm-completionInfo-left-narrow":{right:`30px`},".cm-completionInfo.cm-completionInfo-right-narrow":{left:`30px`},"&light .cm-snippetField":{backgroundColor:`#00000022`},"&dark .cm-snippetField":{backgroundColor:`#ffffff22`},".cm-snippetFieldPosition":{verticalAlign:`text-top`,width:0,height:`1.15em`,display:`inline-block`,margin:`0 -0.7px -.7em`,borderLeft:`1.4px dotted #888`},".cm-completionMatchedText":{textDecoration:`underline`},".cm-completionDetail":{marginLeft:`0.5em`,fontStyle:`italic`},".cm-completionIcon":{fontSize:`90%`,width:`.8em`,display:`inline-block`,textAlign:`center`,paddingRight:`.6em`,opacity:`0.6`,boxSizing:`content-box`},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:`'Æ'`}},".cm-completionIcon-class":{"&:after":{content:`'â'`}},".cm-completionIcon-interface":{"&:after":{content:`'â'`}},".cm-completionIcon-variable":{"&:after":{content:`'ð¥'`}},".cm-completionIcon-constant":{"&:after":{content:`'ð¶'`}},".cm-completionIcon-type":{"&:after":{content:`'ð¡'`}},".cm-completionIcon-enum":{"&:after":{content:`'âª'`}},".cm-completionIcon-property":{"&:after":{content:`'â¡'`}},".cm-completionIcon-keyword":{"&:after":{content:`'ðï¸'`}},".cm-completionIcon-namespace":{"&:after":{content:`'â¢'`}},".cm-completionIcon-text":{"&:after":{content:`'abc'`,fontSize:`50%`,verticalAlign:`middle`}}}),TG={brackets:[`(`,`[`,`{`,`'`,`"`],before:`)]}:;>`,stringPrefixes:[]},EG=Fj.define({map(e,t){return t.mapPos(e,-1,XA.TrackAfter)??void 0}}),DG=new class extends Qj{};DG.startSide=1,DG.endSide=-1;var OG=mj.define({create(){return nM.empty},update(e,t){if(t.selection){let n=t.state.doc.lineAt(t.selection.main.head).from,r=t.startState.doc.lineAt(t.startState.selection.main.head).from;n!=t.changes.mapPos(r,-1)&&(e=nM.empty)}e=e.map(t.changes);for(let n of t.effects)n.is(EG)&&(e=e.update({add:[DG.range(n.value,
vendor: 5,810 bytes, line 33
33n.value+1)]}));return e}});function kG(){return[PG,OG]}var AG=`()[]{}<>`;function jG(e){for(let t=0;t<8;t+=2)if(AG.charCodeAt(t)==e)return AG.charAt(t+1);return qA(e<128?e:e+1)}function MG(e,t){return e.languageDataAt(`closeBrackets`,t)[0]||TG}var NG=typeof navigator==`object`&&/Android\b/.test(navigator.userAgent),PG=X.inputHandler.of((e,t,n,r)=>{if((NG?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(r.length>2||r.length==2&&JA(KA(r,0))==1||t!=i.from||n!=i.to)return!1;let a=IG(e.state,r);return a?(e.dispatch(a),!0):!1}),FG=[{key:`Backspace`,run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=MG(e,e.selection.main.head).brackets||TG.brackets,r=null,i=e.changeByRange(t=>{if(t.empty){let r=zG(e.doc,t.head);for(let i of n)if(i==r&&RG(e.doc,t.head)==jG(KA(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:q.cursor(t.head-i.length)}}return{range:r=t}});return r||t(e.update(i,{scrollIntoView:!0,userEvent:`delete.backward`})),!r}}];function IG(e,t){let n=MG(e,e.selection.main.head),r=n.brackets||TG.brackets;for(let i of r){let a=jG(KA(i,0));if(t==i)return a==i?HG(e,i,r.indexOf(i+i+i)>-1,n):BG(e,i,a,n.before||TG.before);if(t==a&&LG(e,e.selection.main.from))return VG(e,i,a)}return null}function LG(e,t){let n=!1;return e.field(OG).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function RG(e,t){let n=e.sliceString(t,t+2);return n.slice(0,JA(KA(n,0)))}function zG(e,t){let n=e.sliceString(t-2,t);return JA(KA(n,0))==n.length?n:n.slice(1)}function BG(e,t,n,r){let i=null,a=e.changeByRange(a=>{if(!a.empty)return{changes:[{insert:t,from:a.from},{insert:n,from:a.to}],effects:EG.of(a.to+t.length),range:q.range(a.anchor+t.length,a.head+t.length)};let o=RG(e.doc,a.head);return!o||/\s/.test(o)||r.indexOf(o)>-1?{changes:{insert:t+n,from:a.head},effects:EG.of(a.head+t.length),range:q.cursor(a.head+t.length)}:{range:i=a}});return i?null:e.update(a,{scrollIntoView:!0,userEvent:`input.type`})}function VG(e,t,n){let r=null,i=e.changeByRange(t=>t.empty&&RG(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:q.cursor(t.head+n.length)}:r={range:t});return r?null:e.update(i,{scrollIntoView:!0,userEvent:`input.type`})}function HG(e,t,n,r){let i=r.stringPrefixes||TG.stringPrefixes,a=null,o=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:EG.of(r.to+t.length),range:q.range(r.anchor+t.length,r.head+t.length)};let o=r.head,s=RG(e.doc,o),c;if(s==t){if(UG(e,o))return{changes:{insert:t+t,from:o},effects:EG.of(o+t.length),range:q.cursor(o+t.length)};if(LG(e,o)){let r=n&&e.sliceDoc(o,o+t.length*3)==t+t+t?t+t+t:t;return{changes:{from:o,to:o+r.length,insert:r},range:q.cursor(o+r.length)}}}else if(n&&e.sliceDoc(o-2*t.length,o)==t+t&&(c=GG(e,o-2*t.length,i))>-1&&UG(e,c))return{changes:{insert:t+t+t+t,from:o},effects:EG.of(o+t.length),range:q.cursor(o+t.length)};else if(e.charCategorizer(o)(s)!=Gj.Word&&GG(e,o,i)>-1&&!WG(e,o,t,i))return{changes:{insert:t+t,from:o},effects:EG.of(o+t.length),range:q.cursor(o+t.length)};return{range:a=r}});return a?null:e.update(o,{scrollIntoView:!0,userEvent:`input.type`})}function UG(e,t){let n=_z(e).resolveInner(t+1);return n.parent&&n.from==t}function WG(e,t,n,r){let i=_z(e).resolveInner(t,-1),a=r.reduce((e,t)=>Math.max(e,t.length),0);for(let o=0;o<5;o++){let o=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+a)),s=o.indexOf(n);if(!s||s>-1&&r.indexOf(o.slice(0,s))>-1){let t=i.firstChild;for(;t&&t.from==i.from&&t.to-t.from>n.length+s;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let c=i.to==t&&i.parent;if(!c)break;i=c}return!1}function GG(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=Gj.Word)return t;for(let i of n){let n=t-i.length;if(e.sliceDoc(n,t)==i&&r(e.sliceDoc(n-1,n))!=Gj.Word)return n}return-1}function KG(e={}){return[pG,GW.of(e),CG,JG,wG]}var qG=[{key:`Ctrl-Space`,run:_G},{key:`Escape`,run:vG},{key:`ArrowDown`,run:hG(!0)},{key:`ArrowUp`,run:hG(!1)},{key:`PageDown`,run:hG(!0,`page`)},{key:`PageUp`,run:hG(!1,`page`)},{key:`Enter`,run:gG}],JG=_j.highest(gI.computeN([GW],e=>e.facet(GW).defaultKeymap?[qG]:[])),YG=class{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}},XG=class e{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(t,n,r){let i=t,a=r.facet(fK).markerFilter;a&&(i=a(i));let o=zN.set(i.map(e=>e.from==e.to||e.from==e.to-1&&r.doc.lineAt(e.from).to==e.from?zN.widget({widget:new gK(e),diagnostic:e}).range(e.from):zN.mark({attributes:{class:`cm-lintRange cm-lintRange-`+e.severity+(e.markClass?` `+e.markClass:``)},diagnostic:e}).range(e.from,e.to)),!0);return new e(o,n,ZG(o))}};function ZG(e,t=null,n=0){let r=null;return e.between(n,1e9,(e,n,{spec:i})=>{if(!(t&&i.diagnostic!=t))return r=new YG(e,n,i.diagnostic),!1}),r}function QG(e,t){let n=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(tK))||e.changes.touchesRange(n.from,n.to))}function $G(e,t){return e.field(iK,!1)?t:t.concat(Fj.appendConfig.of(SK))}function eK(e,t){return{effects:$G(e,[tK.of(t)])}}var tK=Fj.define(),nK=Fj.define(),rK=Fj.define(),iK=mj.define({create(){return new XG(zN.none,null,null)},update(e,t){if(t.docChanged){let n=e.diagnostics.map(t.changes),r=null;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=ZG(n,e.selected.diagnostic,i)||ZG(n,null,i)}e=new XG(n,e.panel,r)}for(let n of t.effects)n.is(tK)?e=XG.init(n.value,e.panel,t.state):n.is(nK)?e=new XG(e.diagnostics,n.value?vK.open:null,e.selected):n.is(rK)&&(e=new XG(e.diagnostics,e.panel,n.value));return e},provide:e=>[IL.from(e,e=>e.panel),X.decorations.from(e,e=>e.diagnostics)]}),aK=zN.mark({class:`cm-lintRange cm-lintRange-active`});function oK(e,t,n){let{diagnostics:r}=e.state.field(iK),i=[],a=2e8,o=0;r.between(t-+(n<0),t+ +(n>0),(e,r,{spec:s}
33)=>{t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t<r||n<0))&&(i.push(s.diagnostic),a=Math.min(e,a),o=Math.max(r,o))});let s=e.state.facet(fK).tooltipFilter;return s&&(i=s(i)),i.length?{pos:a,end:o,above:e.state.doc.lineAt(a).to<o,create(){return{dom:sK(e,i)}}}:null}function sK(e,t){return _U(`ul`,{class:`cm-tooltip-lint`},t.map(t=>hK(e,t,!1)))}var cK=e=>{let t=e.state.field(iK,!1);(!t||!t.panel)&&e.dispatch({effects:$G(e.state,[nK.of(!0)])});let n=ML(e,vK.open);return n&&n.dom.querySelector(`.cm-panel-lint ul`).focus(),!0},lK=e=>{let t=e.state.field(iK,!1);return!t||!t.panel?!1:(e.dispatch({effects:nK.of(!1)}),!0)},uK=[{key:`Mod-Shift-m`,run:cK,preventDefault:!0},{key:`F8`,run:e=>{let t=e.state.field(iK,!1);if(!t)return!1;let n=e.state.selection.main,r=t.diagnostics.iter(n.to+1);return!r.value&&(r=t.diagnostics.iter(0),!r.value||r.from==n.from&&r.to==n.to)?!1:(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)}}],dK=fP.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(fK);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){let e=Date.now();if(e<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-e);else{this.set=!1;let{state:e}=this.view,{sources:t}=e.facet(fK);Promise.all(t.map(e=>Promise.resolve(e(this.view)))).then(t=>{let n=t.reduce((e,t)=>e.concat(t));this.view.state.doc==e.doc&&this.view.dispatch(eK(this.view.state,n))},e=>{cP(this.view.state,e)})}}update(e){let t=e.state.facet(fK);(e.docChanged||t!=e.startState.facet(fK)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),fK=J.define({combine(e){return Object.assign({sources:e.map(e=>e.source)},Zj(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t}))}});function pK(e,t={}){return[fK.of({source:e,config:t}),dK,SK]}function mK(e){let t=[];if(e)actions:for(let{name:n}of e){for(let e=0;e<n.length;e++){let r=n[e];if(/[a-zA-Z]/.test(r)&&!t.some(e=>e.toLowerCase()==r.toLowerCase())){t.push(r);continue actions}}t.push(``)}return t}function hK(e,t,n){let r=n?mK(t.actions):[];return _U(`li`,{class:`cm-diagnostic cm-diagnostic-`+t.severity},_U(`span`,{class:`cm-diagnosticText`},t.renderMessage?t.renderMessage():t.message),t.actions?.map((n,i)=>{let a=!1,o=r=>{if(r.preventDefault(),a)return;a=!0;let i=ZG(e.state.field(iK).diagnostics,t);i&&n.apply(e,i.from,i.to)},{name:s}=n,c=r[i]?s.indexOf(r[i]):-1,l=c<0?s:[s.slice(0,c),_U(`u`,s.slice(c,c+1)),s.slice(c+1)];return _U(`button`,{type:`button`,class:`cm-diagnosticAction`,onclick:o,onmousedown:o,"aria-label":` Action: ${s}${c<0?``:` (access key "${r[i]})"`}.`},l)}),t.source&&_U(`div`,{class:`cm-diagnosticSource`},t.source))}var gK=class extends LN{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return _U(`span`,{class:`cm-lintPoint cm-lintPoint-`+this.diagnostic.severity})}},_K=class{constructor(e,t){this.diagnostic=t,this.id=`item_`+Math.floor(Math.random()*4294967295).toString(16),this.dom=hK(e,t,!0),this.dom.id=this.id,this.dom.setAttribute(`role`,`option`)}},vK=class e{constructor(e){this.view=e,this.items=[];let t=t=>{if(t.keyCode==27)lK(this.view),this.view.focus();else if(t.keyCode==38||t.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(t.keyCode==40||t.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(t.keyCode==36)this.moveSelection(0);else if(t.keyCode==35)this.moveSelection(this.items.length-1);else if(t.keyCode==13)this.view.focus();else if(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:n}=this.items[this.selectedIndex],r=mK(n.actions);for(let i=0;i<r.length;i++)if(r[i].toUpperCase().charCodeAt(0)==t.keyCode){let t=ZG(this.view.state.field(iK).diagnostics,n);t&&n.actions[i].apply(e,t.from,t.to)}}else return;t.preventDefault()},n=e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)};this.list=_U(`ul`,{tabIndex:0,role:`listbox`,"aria-label":this.view.state.phrase(`Diagnostics`),onkeydown:t,onclick:n}),this.dom=_U(`div`,{class:`cm-panel-lint`},this.list,_U(`button`,{type:`button`,name:`close`,"aria-label":this.view.state.phrase(`close`),onclick:()=>lK(this.view)},`Ã`)),this.update()}get selectedIndex(){let e=this.view.state.field(iK).selected;if(!e)return-1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}update(){let{diagnostics:e,selected:t}=this.view.state.field(iK),n=0,r=!1,i=null;for(e.between(0,this.view.state.doc.length,(e,a,{spec:o})=>{let s=-1,c;for(let e=n;e<this.items.length;e++)if(this.items[e].diagnostic==o.diagnostic){s=e;break}s<0?(c=new _K(this.view,o.diagnostic),this.items.splice(n,0,c),r=!0):(c=this.items[s],s>n&&(this.items.splice(n,s-n),r=!0)),t&&c.diagnostic==t.diagnostic?c.dom.hasAttribute(`aria-selected`)||(c.dom.setAttribute(`aria-selected`,`true`),i=c):c.dom.hasAttribute(`aria-selected`)&&c.dom.removeAttribute(`aria-selected`),n++});n<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();this.items.length==0&&(this.items.push(new _K(this.view,{from:-1,to:-1,severity:`info`,message:this.view.state.phrase(`No diagnostics`)})),r=!0),i?(this.list.setAttribute(`aria-activedescendant`,i.id),this.view.requestMeasure({key:this,read:()=>({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{e.top<t.top?this.list.scrollTop-=t.top-e.top:e.bottom>t.bottom&&(this.list.scrollTop+=e.bottom-t.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute(`aria-activedescendant`),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=ZG(this.view.state.field(iK).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:rK.of(t)})}static open(t){return new e(t)}};function yK(e,t=`viewBox="0 0 40 40"`){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}function bK(e){return yK(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,`width="6" height="3"`)}var xK=X.baseTheme({".cm-diagnostic":{padding:`3px 6px 3px 8px`,marginLeft:`
33-1px`,display:`block`,whiteSpace:`pre-wrap`},".cm-diagnostic-error":{borderLeft:`5px solid #d11`},".cm-diagnostic-warning":{borderLeft:`5px solid orange`},".cm-diagnostic-info":{borderLeft:`5px solid #999`},".cm-diagnostic-hint":{borderLeft:`5px solid #66d`},".cm-diagnosticAction":{font:`inherit`,border:`none`,padding:`2px 4px`,backgroundColor:`#444`,color:`white`,borderRadius:`3px`,marginLeft:`8px`,cursor:`pointer`},".cm-diagnosticSource":{fontSize:`70%`,opacity:.7},".cm-lintRange":{backgroundPosition:`left bottom`,backgroundRepeat:`repeat-x`,paddingBottom:`0.7px`},".cm-lintRange-error":{backgroundImage:bK(`#d11`)},".cm-lintRange-warning":{backgroundImage:bK(`orange`)},".cm-lintRange-info":{backgroundImage:bK(`#999`)},".cm-lintRange-hint":{backgroundImage:bK(`#66d`)},".cm-lintRange-active":{backgroundColor:`#ffdd9980`},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:`relative`,"&:after":{content:`""`,position:`absolute`,bottom:0,left:`-2px`,borderLeft:`3px solid transparent`,borderRight:`3px solid transparent`,borderBottom:`4px solid #d11`}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:`orange`}},".cm-lintPoint-info":{"&:after":{borderBottomColor:`#999`}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:`#66d`}},".cm-panel.cm-panel-lint":{position:`relative`,"& ul":{maxHeight:`100px`,overflowY:`auto`,"& [aria-selected]":{backgroundColor:`#ddd`,"& u":{textDecoration:`underline`}},"&:focus [aria-selected]":{background_fallback:`#bdf`,backgroundColor:`Highlight`,color_fallback:`white`,color:`HighlightText`},"& u":{textDecoration:`none`},padding:0,margin:0},"& [name=close]":{position:`absolute`,top:`0`,right:`2px`,background:`inherit`,border:`none`,font:`inherit`,padding:0,margin:0}}}),SK=[iK,X.decorations.compute([iK],e=>{let{selected:t,panel:n}=e.field(iK);return!t||!n||t.from==t.to?zN.none:zN.set([aK.range(t.from,t.to)])}),OL(oK,{hideOn:QG}),xK],CK=function(e){e===void 0&&(e={});var t=[];e.closeBracketsKeymap!==!1&&(t=t.concat(FG)),e.defaultKeymap!==!1&&(t=t.concat(hU)),e.searchKeymap!==!1&&(t=t.concat(CW)),e.historyKeymap!==!1&&(t=t.concat(MV)),e.foldKeymap!==!1&&(t=t.concat(uB)),e.completionKeymap!==!1&&(t=t.concat(qG)),e.lintKeymap!==!1&&(t=t.concat(uK));var n=[];return e.lineNumbers!==!1&&n.push(nR()),e.highlightActiveLineGutter!==!1&&n.push(oR()),e.highlightSpecialChars!==!1&&n.push(KI()),e.history!==!1&&n.push(pV()),e.foldGutter!==!1&&n.push(yB()),e.drawSelection!==!1&&n.push(qie()),e.dropCursor!==!1&&n.push(II()),e.allowMultipleSelections!==!1&&n.push(Xj.allowMultipleSelections.of(!0)),e.indentOnInput!==!1&&n.push(Kz()),e.syntaxHighlighting!==!1&&n.push(TB(OB,{fallback:!0})),e.bracketMatching!==!1&&n.push(LB()),e.closeBrackets!==!1&&n.push(kG()),e.autocompletion!==!1&&n.push(KG()),e.rectangularSelection!==!1&&n.push(lL()),e.crosshairCursor!==!1&&n.push(fL()),e.highlightActiveLine!==!1&&n.push($I()),e.highlightSelectionMatches!==!1&&n.push(IU()),e.tabSize&&typeof e.tabSize==`number`&&n.push(kz.of(` `.repeat(e.tabSize))),n.concat([gI.of(t.flat())]).filter(Boolean)},wK=`#e5c07b`,TK=`#e06c75`,EK=`#56b6c2`,DK=`#ffffff`,OK=`#abb2bf`,kK=`#7d8799`,AK=`#61afef`,jK=`#98c379`,MK=`#d19a66`,NK=`#c678dd`,PK=`#21252b`,FK=`#2c313a`,IK=`#282c34`,LK=`#353a42`,RK=`#3E4451`,zK=`#528bff`,BK=[X.theme({"&":{color:OK,backgroundColor:IK},".cm-content":{caretColor:zK},".cm-cursor, .cm-dropCursor":{borderLeftColor:zK},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:RK},".cm-panels":{backgroundColor:PK,color:OK},".cm-panels.cm-panels-top":{borderBottom:`2px solid black`},".cm-panels.cm-panels-bottom":{borderTop:`2px solid black`},".cm-searchMatch":{backgroundColor:`#72a1ff59`,outline:`1px solid #457dff`},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:`#6199ff2f`},".cm-activeLine":{backgroundColor:`#6699ff0b`},".cm-selectionMatch":{backgroundColor:`#aafe661a`},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:`#bad0f847`},".cm-gutters":{backgroundColor:IK,color:kK,border:`none`},".cm-activeLineGutter":{backgroundColor:FK},".cm-foldPlaceholder":{backgroundColor:`transparent`,border:`none`,color:`#ddd`},".cm-tooltip":{border:`none`,backgroundColor:LK},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:`transparent`,borderBottomColor:`transparent`},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:LK,borderBottomColor:LK},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:FK,color:OK}}},{dark:!0}
33),TB(xB.define([{tag:Q.keyword,color:NK},{tag:[Q.name,Q.deleted,Q.character,Q.propertyName,Q.macroName],color:TK},{tag:[Q.function(Q.variableName),Q.labelName],color:AK},{tag:[Q.color,Q.constant(Q.name),Q.standard(Q.name)],color:MK},{tag:[Q.definition(Q.name),Q.separator],color:OK},{tag:[Q.typeName,Q.className,Q.number,Q.changed,Q.annotation,Q.modifier,Q.self,Q.namespace],color:wK},{tag:[Q.operator,Q.operatorKeyword,Q.url,Q.escape,Q.regexp,Q.link,Q.special(Q.string)],color:EK},{tag:[Q.meta,Q.comment],color:kK},{tag:Q.strong,fontWeight:`bold`},{tag:Q.emphasis,fontStyle:`italic`},{tag:Q.strikethrough,textDecoration:`line-through`},{tag:Q.link,color:kK,textDecoration:`underline`},{tag:Q.heading,fontWeight:`bold`,color:TK},{tag:[Q.atom,Q.bool,Q.special(Q.variableName)],color:MK},{tag:[Q.processingInstruction,Q.string,Q.inserted],color:jK},{tag:Q.invalid,color:DK}]))],VK=X.theme({"&":{backgroundColor:`#fff`}},{dark:!1}),HK=function(e){e===void 0&&(e={});var{indentWithTab:t=!0,editable:n=!0,readOnly:r=!1,theme:i=`light`,placeholder:a=``,basicSetup:o=!0}=e,s=[];switch(t&&s.unshift(gI.of([gU])),o&&(typeof o==`boolean`?s.unshift(CK()):s.unshift(CK(o))),a&&s.unshift(rL(a)),i){case`light`:s.push(VK);break;case`dark`:s.push(BK);break;case`none`:break;default:s.push(i);break}return n===!1&&s.push(X.editable.of(!1)),r&&s.push(Xj.readOnly.of(!0)),[...s]},UK=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)}),WK=Mj.define(),GK=[];function KK(e){var{value:t,selection:n,onChange:r,onStatistics:i,onCreateEditor:a,onUpdate:o,extensions:s=GK,autoFocus:c,theme:l=`light`,height:u=null,minHeight:d=null,maxHeight:f=null,width:p=null,minWidth:m=null,maxWidth:h=null,placeholder:g=``,editable:_=!0,readOnly:v=!1,indentWithTab:y=!0,basicSetup:b=!0,root:x,initialState:S}=e,[C,w]=(0,W.useState)(),[T,E]=(0,W.useState)(),[D,O]=(0,W.useState)(),k=X.theme({"&":{height:u,minHeight:d,maxHeight:f,width:p,minWidth:m,maxWidth:h},"& .cm-scroller":{height:`100% !important`}}),A=[X.updateListener.of(e=>{e.docChanged&&typeof r==`function`&&!e.transactions.some(e=>e.annotation(WK))&&r(e.state.doc.toString(),e),i&&i(UK(e))}),k,...HK({theme:l,editable:_,readOnly:v,placeholder:g,indentWithTab:y,basicSetup:b})];return o&&typeof o==`function`&&A.push(X.updateListener.of(o)),A=A.concat(s),(0,W.useEffect)(()=>{if(C&&!D){var e={doc:t,selection:n,extensions:A},r=S?Xj.fromJSON(S.json,e,S.fields):Xj.create(e);if(O(r),!T){var i=new X({state:r,parent:C,root:x});E(i),a&&a(i,r)}}return()=>{T&&(O(void 0),E(void 0))}},[C,D]),(0,W.useEffect)(()=>w(e.container),[e.container]),(0,W.useEffect)(()=>()=>{T&&(T.destroy(),E(void 0))},[T]),(0,W.useEffect)(()=>{c&&T&&T.focus()},[c,T]),(0,W.useEffect)(()=>{T&&T.dispatch({effects:Fj.reconfigure.of(A)})},[l,s,u,d,f,p,m,h,g,_,v,y,b,r,o]),(0,W.useEffect)(()=>{if(t!==void 0){var e=T?T.state.doc.toString():``;T&&t!==e&&T.dispatch({changes:{from:0,to:e.length,insert:t||``},annotations:[WK.of(!0)]})}},[t,T]),{state:D,setState:O,view:T,setView:E,container:C,setContainer:w}}Ci();var qK=[`className`,`value`,`selection`,`extensions`,`onChange`,`onStatistics`,`onCreateEditor`,`onUpdate`,`autoFocus`,`theme`,`height`,`minHeight`,`maxHeight`,`width`,`minWidth`,`maxWidth`,`basicSetup`,`placeholder`,`indentWithTab`,`editable`,`readOnly`,`root`,`initialState`],JK=(0,W.forwardRef)((e,t)=>{var{className:n,value:r=``,selection:i,extensions:a=[],onChange:o,onStatistics:s,onCreateEditor:c,onUpdate:l,autoFocus:u,theme:d=`light`,height:f,minHeight:p,maxHeight:m,width:h,minWidth:g,maxWidth:_,basicSetup:v,placeholder:y,indentWithTab:b,editable:x,readOnly:S,root:C,initialState:w}=e,T=tee(e,qK),E=(0,W.useRef)(null),{state:D,view:O,container:k}=KK({container:E.current,root:C,value:r,autoFocus:u,theme:d,height:f,minHeight:p,maxHeight:m,width:h,minWidth:g,maxWidth:_,basicSetup:v,placeholder:y,indentWithTab:b,editable:x,readOnly:S,selection:i,onChange:o,onStatistics:s,onCreateEditor:c,onUpdate:l,extensions:a,initialState:w});if((0,W.useImperativeHandle)(t,()=>({editor:E.current,state:D,view:O}),[E,k,D,O]),typeof r!=`string`)throw Error(`value must be typeof string but got `+typeof r);return(0,G.jsx)(`div`,hi({ref:E,className:(typeof d==`string`?`cm-theme-`+d:`cm-theme`)+(n?` `+n:``)},T))});JK.displayName=`CodeMirror`;var YK=class e{constructor(e,t,n,r,i,a,o,s,c,l=0,u){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=i,this.score=a,this.buffer=o,this.bufferBase=s,this.curContext=c,this.lookAhead=l,this.parent=u}toString(){return`[${this.stack.filter((e,t)=>
33t%3==0).concat(this.state)}]@${this.pos}${this.score?`!`+this.score:``}`}static start(t,n,r=0){let i=t.parser.context;return new e(t,[],n,r,r,0,[],0,i?new XK(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=e&65535,{parser:r}=this.p,i=r.dynamicPrecedence(n);if(i&&(this.score+=i),t==0){this.pushState(r.getGoto(this.state,n,!0),this.reducePos),n<r.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,4,!0),this.reduceContext(n,this.reducePos);return}let a=this.stack.length-(t-1)*3-(e&262144?6:0),o=a?this.stack[a-2]:this.p.ranges[0].from,s=this.reducePos-o;s>=2e3&&!this.p.parser.nodeSet.types[n]?.isAnonymous&&(o==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=s):this.p.lastBigReductionSize<s&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=o,this.p.lastBigReductionSize=s));let c=a?this.stack[a-1]:0,l=this.bufferBase+this.buffer.length-c;if(n<r.minRepeatTerm||e&131072){let e=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,o,e,l+4,!0)}if(e&262144)this.state=this.stack[a];else{let e=this.stack[a-3];this.state=r.getGoto(e,n,!0)}for(;this.stack.length>a;)this.stack.pop();this.reduceContext(n,o)}storeNode(e,t,n,r=4,i=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,r=this.buffer.length;if(r==0&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,e=e.parent),r>0&&e.buffer[r-4]==0&&e.buffer[r-1]>-1){if(t==n)return;if(e.buffer[r-2]>=t){e.buffer[r-2]=n;return}}}if(!i||this.pos==n)this.buffer.push(e,t,n,r);else{let i=this.buffer.length;if(i>0&&this.buffer[i-4]!=0)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4);this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=n,this.buffer[i+3]=r}}shift(e,t,n){let r=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(t,r),t<=this.p.parser.maxNode&&this.buffer.push(t,r,n,4);else{let i=e,{parser:a}=this.p;(n>this.pos||t<=a.maxNode)&&(this.pos=n,a.stateFlag(i,1)||(this.reducePos=n)),this.pushState(i,r),this.shiftContext(t,r),t<=a.maxNode&&this.buffer.push(t,r,n,4)}}apply(e,t,n){e&65536?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let t=this,n=t.buffer.length;for(;n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),i=t.bufferBase+n;for(;t&&i==t.bufferBase;)t=t.parent;return new e(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,t)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new ZK(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r=0,i;r<t.length;r+=2)(i=t[r+1])!=this.state&&this.p.parser.hasAction(i,e)&&n.push(t[r],i);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some((e,t)=>t&1&&e==r)||n.push(t[e],r)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let i=this.split();i.pushState(r,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(t[e],this.pos),i.score-=200,n.push(i)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(t&65536))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=t&65535,i=this.stack.length-n*3;if(i<0||e.getGoto(this.stack[i],r,!1)<0){let e=this.findForcedReduction();if(e==null)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,i)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(!(t&393216))if(t&65536){let n=(t>>
vendor: 9,654 bytes, line 33
3319)-i;if(n>1){let r=t&65535,i=this.stack.length-n*3;if(i>=0&&e.getGoto(this.stack[i],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,i+1);if(e!=null)return e}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new XK(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},XK=class{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}},ZK=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}},QK=class e{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new e(t,n,n-t.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new e(this.stack,this.pos,this.index)}};function $K(e,t=Uint16Array){if(typeof e!=`string`)return e;let n=null;for(let r=0,i=0;r<e.length;){let a=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(t==126){a=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),a+=i,n)break;a*=46}n?n[i++]=a:n=new t(a)}return n}var eq=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},tq=new eq,nq=class{constructor(e,t){this.input=e,this.ranges=t,this.chunk=``,this.chunkOff=0,this.chunk2=``,this.chunk2Pos=0,this.next=-1,this.token=tq,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,i=this.pos+e;for(;i<n.from;){if(!r)return null;let e=this.ranges[--r];i-=n.from-e.to,n=e}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];i+=e.from-n.to,n=e}return i}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,r;if(t>=0&&t<this.chunk.length)n=this.pos+e,r=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(t==null)return-1;if(n=t,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=n;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n<this.token.start)throw RangeError(`Token end out of bounds`);this.token.value=e,this.token.end=n}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk=``,this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=tq,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk=``,this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n=``;for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}},rq=class{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;aq(this.data,e,t,this.id,n.data,n.tokenPrecTable)}};rq.prototype.contextual=rq.prototype.fallback=rq.prototype.extend=!1;var iq=class{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e==`string`?$K(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(aq(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(n||r++,i==null)break;e.reset(i,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}};iq.prototype.contextual=rq.prototype.fallback=rq.prototype.extend=!1;function aq(e,t,n,r,i,a){let o=0,s=1<<r,{dialect:c}=n.p.parser;scan:for(;(s&e[o])!=0;){let n=e[o+1];for(let r=o+3;r<n;r+=2)if((e[r+1]&s)>0){let n=e[r];if(c.allows(n)&&(t.token.value==-1||t.token.value==n||sq(n,t.token.value,i,a))){t.acceptToken(n);break}}let r=t.next,l=0,u=e[o+2];if(t.next<0&&u>l&&e[n+u*3-3]==65535&&e[n+u*3-3]==65535){o=e[n+u*3-1];continue scan}for(;l<u;){let i=l+u>>1,a=n+i+(i<<1),s=e[a],c=e[a+1]||65536;if(r<s)u=i;else if(r>=c)l=i+1;else{o=e[a+2],t.advance();continue scan}}break}}function oq(e,t,n){for(let r=t,i;(i=e[r])!=65535;r++)if(i==n)return r-t;return-1}function sq(e,t,n,r){let i=oq(n,r,t);return i<0||oq(n,r,e)<i}var cq=typeof process<`u`&&/\bparse\b/.test({}.LOG),lq=null;function uq(e,t,n){let r=e.cursor(gR.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}var dq=class{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?uq(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?uq(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],r=this.index[t];if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[r],a=this.start[t]+n.positions[r];if(a>e)return this.nextStart=a,null;if(i instanceof _R){if(a==e){if(a<this.safeFrom)return null;let e=a+i.length;if(e<=this.safeTo){let t=i.prop(uR.lookAhead);if(!t||e+t<this.fragment.to)return i}}this.index[t]++,a+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+i.length}}},fq=class{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new eq)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}
vendor: 1,515 bytes, line 33
33=r,a=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<i.length;r++){if(!(1<<r&a))continue;let c=i[r],l=this.tokens[r];if(!(n&&!c.fallback)&&((c.contextual||l.start!=e.pos||l.mask!=a||l.context!=o)&&(this.updateCachedToken(l,c,e),l.mask=a,l.context=o),l.lookAhead>l.end+25&&(s=Math.max(l.lookAhead,s)),l.value!=0)){let r=t;if(l.extended>-1&&(t=this.addActions(e,l.extended,l.end,t)),t=this.addActions(e,l.value,l.end,t),!c.extend&&(n=l,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),!n&&e.pos==this.stream.end&&(n=new eq,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new eq,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let i=t.specializers[r](this.stream.read(e.start,e.end),n);if(i>=0&&n.p.parser.dialect.allows(i>>1)){i&1?e.extended=i>>1:e.value=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let t=0;t<r;t+=3)if(this.actions[t]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:i}=e,{parser:a}=e.p,{data:o}=a;for(let e=0;e<2;e++)for(let s=a.stateSlot(i,e?2:1);;
vendor: 3,699 bytes, line 33
33s+=3){if(o[s]==65535)if(o[s+1]==1)s=_q(o,s+2);else{r==0&&o[s+1]==2&&(r=this.putAction(_q(o,s+2),t,n,r));break}o[s]==t&&(r=this.putAction(_q(o,s+1),t,n,r))}return r}},pq=class{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new nq(t,r),this.tokens=new fq(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[YK.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>e.bufferLength*4?new dq(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],r,i;if(this.bigReductionCount>300&&e.length==1){let[t]=e;for(;t.forceReduce()&&t.stack.length&&t.stack[t.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;a<e.length;a++){let o=e[a];for(;;){if(this.tokens.mainToken=null,o.pos>t)n.push(o);else if(this.advanceStack(o,n,e))continue;else{r||(r=[],i=[]),r.push(o);let e=this.tokens.getMainToken(o);i.push(e.value,e.end)}break}}if(!n.length){let e=r&&vq(r);if(e)return cq&&console.log(`Finish with `+this.stackID(e)),this.stackToTree(e);if(this.parser.strict)throw cq&&r&&console.log(`Stuck with token `+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):`none`)),SyntaxError(`No parse at `+t);this.recovering||=5}if(this.recovering&&r){let e=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,i,n);if(e)return cq&&console.log(`Force-finish `+this.stackID(e)),this.stackToTree(e.forceAll())}if(this.recovering){let e=this.recovering==1?1:this.recovering*3;if(n.length>e)for(n.sort((e,t)=>t.score-e.score);n.length>e;)n.pop();n.some(e=>e.reducePos>t)&&this.recovering--}else if(n.length>1){outer:for(let e=0;e<n.length-1;e++){let t=n[e];for(let r=e+1;r<n.length;r++){let i=n[r];if(t.sameState(i)||t.buffer.length>500&&i.buffer.length>500)if((t.score-i.score||t.buffer.length-i.buffer.length)>0)n.splice(r--,1);else{n.splice(e--,1);continue outer}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let e=1;e<n.length;e++)n[e].pos<this.minStackPos&&(this.minStackPos=n[e].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw RangeError(`Can't move stoppedAt forward`);this.stoppedAt=e}advanceStack(e,t,n){let r=e.pos,{parser:i}=this,a=cq?this.stackID(e)+` -> `:``;if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let o=this.fragments.nodeAt(r);o;){let r=this.parser.nodeSet.types[o.type.id]==o.type?i.getGoto(e.state,o.type.id):-1;if(r>-1&&o.length&&(!t||(o.prop(uR.contextHash)||0)==n))return e.useNode(o,r),cq&&console.log(a+this.stackID(e)+` (via reuse of ${i.getName(o.type.id)})`),!0;if(!(o instanceof _R)||o.children.length==0||o.positions[0]>0)break;let s=o.children[0];if(s instanceof _R&&o.positions[0]==0)o=s;else break}}let o=i.stateSlot(e.state,4);if(o>0)return e.reduce(o),cq&&console.log(a+this.stackID(e)+` (via always-reduce ${i.getName(o&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let s=this.tokens.getActions(e);for(let o=0;o<s.length;){let c=s[o++],l=s[o++],u=s[o++],d=o==s.length||!n,f=d?e:e.split();if(f.apply(c,l,u),cq&&console.log(a+this.stackID(f)+` (via ${c&65536?`reduce of ${i.getName(c&65535)}`:`shift`} for ${i.getName(l)} @ ${r}${f==e?``:`, split`})`),d)return!0;f.pos>r?t.push(f):n.push(f)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>
vendor: 4,682 bytes, line 33
33n)return mq(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let a=0;a<e.length;a++){let o=e[a],s=t[a<<1],c=t[(a<<1)+1],l=cq?this.stackID(o)+` -> `:``;if(o.deadEnd&&(i||(i=!0,o.restart(),cq&&console.log(l+this.stackID(o)+` (restarted)`),this.advanceFully(o,n))))continue;let u=o.split(),d=l;for(let e=0;u.forceReduce()&&e<10&&(cq&&console.log(d+this.stackID(u)+` (via force-reduce)`),!this.advanceFully(u,n));e++)cq&&(d=this.stackID(u)+` -> `);for(let e of o.recoverByInsert(s))cq&&console.log(l+this.stackID(e)+` (via recover-insert)`),this.advanceFully(e,n);this.stream.end>o.pos?(c==o.pos&&(c++,s=0),o.recoverByDelete(s,c),cq&&console.log(l+this.stackID(o)+` (via recover-delete ${this.parser.getName(s)})`),mq(o,n)):(!r||r.score<o.score)&&(r=o)}return r}stackToTree(e){return e.close(),_R.build({buffer:QK.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(lq||=new WeakMap).get(e);return t||lq.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}};function mq(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}var hq=class{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}},gq=class e extends FR{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(` `);this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push(``);let n=Object.keys(e.topRules).map(t=>e.topRules[t][1]),r=[];for(let e=0;e<t.length;e++)r.push([]);function i(e,t,n){r[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];typeof e==`string`&&(e=uR[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)i(r,e,t[n++]);else{let a=t[n+-r];for(let o=-r;o>0;o--)i(t[n++],e,a);n++}}}this.nodeSet=new pR(t.map((t,i)=>fR.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:r[i],top:n.indexOf(i)>-1,error:i==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=sR;let a=$K(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(yq),this.states=$K(e.states,Uint32Array),this.data=$K(e.stateData),this.goto=$K(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>typeof e==`number`?new rq(a,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new pq(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let i=r[t+1];;){let t=r[i++],a=t&1,o=r[i++];if(a&&n)return o;for(let n=i+(t>>1);i<n;i++)if(r[i]==e)return o;if(a)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let i=this.stateSlot(e,r?2:1),a;;i+=3){if((a=n[i])==65535)if(n[i+1]==1)a=n[i=_q(n,i+2)];else if(n[i+1]==2)return _q(n,i+2);else break;if(a==t||a==0)return _q(n,i+1)}return 0}stateSlot(e,t){return this.states[e*6+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t?!0:null)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let n=this.stateSlot(e,1);r==null;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=_q(this.data,n+2);else break;r=t(_q(this.data,n+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=_q(this.data,n+2);else break;if(!(this.data[n+2]&1)){let e=this.data[n+1];t.some((t,n)=>n&1&&t==e)||t.push(this.data[n],e)}}return t}configure(t){let n=Object.assign(Object.create(e.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let e=this.topRules[t.top];if(!e)throw RangeError(`Invalid top rule name ${t.top}`);n.top=e}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(e=>{let n=t.tokenizers.find(t=>t.from==e);return n?n.to:e})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((e,r)=>{let i=t.specializers.find(t=>t.from==e.external);
33if(!i)return e;let a=Object.assign(Object.assign({},e),{external:i.to});return n.specializers[r]=yq(a),a})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let r of e.split(` `)){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n=this.dialects[t[e]],i;(i=this.data[n++])!=65535;)(r||=new Uint8Array(this.maxTerm+1))[i]=1;return new hq(e,n,r)}static deserialize(t){return new e(t)}};function _q(e,t){return e[t]|e[t+1]<<16}function vq(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||e!=null&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}function yq(e){if(e.external){let t=+!!e.extend;return(n,r)=>e.external(n,r)<<1|t}return e.get}var bq=UR({String:Q.string,Number:Q.number,"True False":Q.bool,PropertyName:Q.propertyName,Null:Q.null,",":Q.separator,"[ ]":Q.squareBracket,"{ }":Q.brace}),xq=gq.deserialize({version:14,states:`$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j`,stateData:`#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O`,goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:`â JsonText True False Null Number String } { Object Property PropertyName ] [ Array`,maxTerm:25,nodeProps:[[`openedBy`,7,`{`,12,`[`],[`closedBy`,8,`}`,13,`]`]],propSources:[bq],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),Sq=()=>e=>{try{JSON.parse(e.state.doc.toString())}catch(t){if(!(t instanceof SyntaxError))throw t;let n=Cq(t,e.state.doc);return[{from:n,message:t.message,severity:`error`,to:n}]}return[]};function Cq(e,t){let n;return(n=e.message.match(/at position (\d+)/))?Math.min(+n[1],t.length):(n=e.message.match(/at line (\d+) column (\d+)/))?Math.min(t.line(+n[1]).from+ +n[2]-1,t.length):0}var wq=gz.define({name:`json`,parser:xq.configure({props:[Pz.add({Object:Wz({except:/^\s*\}/}),Array:Wz({except:/^\s*\]/})}),Jz.add({"Object Array":Yz})]}),languageData:{closeBrackets:{brackets:[`[`,`{`,`"`]},indentOnInput:/^\s*[\}\]]$/}});function Tq(){return new Dz(wq)}var Eq=e=>{let{extensions:t=[],className:n=``,lint:r=!0,...i}=e;return(0,G.jsx)(JK,{extensions:r?[Tq(),pK(Sq()),...t]:[Tq(),...t],className:R(`editor-wrapper`,n),...i})},Dq=e=>{let{className:t=``,value:n,readonly:r,onChange:i}=e;return(0,G.jsx)(Eq,{className:t,value:n,onChange:i,theme:`none`,extensions:[Xj.readOnly.of(r),X.lineWrapping]})},Oq={tokenizer:`standard`,filter:[`lowercase`]},kq={tokenizer:`jieba`,filter:[`cnalphanumonly`]},Aq={tokenizer:{type:`jieba`,dict:[`_extend_default_`]},filter:[`removepunct`]},jq={tokenizer:`standard`,filter:[`lowercase`,{type:`stemmer`,language:`english`},{type:`stop`,stop_words:[`_english_`]}]},Mq={tokenizer:`standard`,filter:[`lowercase`,{type:`stemmer`,language:`spanish`},{type:`stop`,stop_words:[`_spanish_`]}]},Nq={tokenizer:`standard`,filter:[`lowercase`,{type:`stemmer`,language:`arabic`}]},Pq=`{ 34 "tokenizer": "icu", 35 "filter": ["lowercase", { 36 "type": "stop", 37 "stop_words": [<put stop words list here>] 38 }] 39}`,Fq=`{ 40 "tokenizer": "standard", 41 "filter": ["lowercase", { 42 "type": "stop", 43 "stop_words": [<put stop words list here>] 44 }] 45}`,Iq={tokenizer:`standard`,filter:[`lowercase`,{type:`stemmer`,language:`portuguese`},{type:`stop`,stop_words:[`_portuguese_`]}]},Lq={tokenizer:`standard`,filter:[`lowercase`,{type:`stemmer`,language:`russian`},{type:`stop`,stop_words:[`_russian_`]}]},Rq={tokenizer:`standard`,filter:[`lowercase`,{type:`stemmer`,language:`french`},{type:`stop`,stop_words:[`_french_`]}]},zq={tokenizer:{type:`lindera`,dict_kind:`ipadic`},filter:[`removepunct`]},Bq={tokenizer:{type:`lindera`,dict_kind:`ipadic`},filter:[`removepunct`]},Vq={tokenizer:`standard`,filter:[`lowercase`,{type:`stemmer`,language:`turkish`}]},Hq={tokenizer:`icu`,filter:[`lowercase`,`removepunct`]},Uq=e=>({analyzers:{english:{type:`english`},chinese:{type:`chinese`},default:{tokenizer:`icu`}},by_field:e,alias:{en:`english`,cn:`chinese`}}),Wq=()=>{let{t:e}=_([`collections`]);return{ANALYZER_TEMPLATE_LIST:[{key:`standard`,label:e(`collections:create.analyzer.template.standard`),code:JSON.stringify(Oq,null,4),tooltip:e(`collections:create.analyzer.template.standardDesc`),order:10},{key:`english`,alias:`en`,label:e(`collections:create.analyzer.template.english`),code:JSON.stringify(jq,null,4),order:20},{key:`chinese`,alias:`cn`,label:e(`collections:create.analyzer.template.chinese`),code:JSON.stringify(kq,null,4),order:B?30:1},{key:`chinese-traditional`,alias:`zh-tw`,label:e(`collections:create.analyzer.template.chineseTraditional`),co
45de:JSON.stringify(Aq,null,4),pinyin:`zhongwenfanti`,hidden:B},{key:`spanish`,alias:`es`,label:e(`collections:create.analyzer.template.spanish`),code:JSON.stringify(Mq,null,4)},{key:`arabic`,alias:`ar`,label:e(`collections:create.analyzer.template.arabic`),code:JSON.stringify(Nq,null,4)},{key:`hindi`,alias:`hi`,label:e(`collections:create.analyzer.template.hindi`),code:Pq},{key:`urdu`,alias:`ur`,label:e(`collections:create.analyzer.template.urdu`),code:Pq},{key:`bengali`,alias:`bn`,label:e(`collections:create.analyzer.template.bengali`),code:Pq},{key:`swahili`,alias:`sw`,label:e(`collections:create.analyzer.template.swahili`),code:Fq},{key:`portuguese`,alias:`pt`,label:e(`collections:create.analyzer.template.portuguese`),code:JSON.stringify(Iq,null,4)},{key:`russian`,alias:`ru`,label:e(`collections:create.analyzer.template.russian`),code:JSON.stringify(Lq,null,4)},{key:`french`,alias:`fr`,label:e(`collections:create.analyzer.template.french`),code:JSON.stringify(Rq,null,4)},{key:`japanese`,alias:`ja`,label:e(`collections:create.analyzer.template.japanese`),code:JSON.stringify(zq,null,4)},{key:`german`,alias:`de`,label:e(`collections:create.analyzer.template.german`),code:JSON.stringify(Bq,null,4)},{key:`turkish`,alias:`tr`,label:e(`collections:create.analyzer.template.turkish`),code:JSON.stringify(Vq,null,4)},{key:`multi-language`,alias:`mul`,label:e(`collections:create.analyzer.template.multiLanguage`),code:JSON.stringify(Hq,null,4),tooltip:e(`collections:create.analyzer.template.multiLanguageDesc`),order:1e3}].filter(e=>!e.hidden).sort((e,t)=>e.order&&t.order?e.order-t.order:!e.order&&!t.order?e.label.localeCompare(t.label):0)}},Gq={selector:`_selector_14rns_3`,menuItem:`_menuItem_14rns_7`,title:`_title_14rns_1`,desc:`_desc_14rns_17`,rotate:`_rotate_14rns_1`},Kq=e=>{let{t}=_([`collections`,`common`]),{value:n,onChange:r,disabled:i}=e,a=[{label:t(`collections:create.analyzer.settingDialog.typeSelector.single`),desc:t(`collections:create.analyzer.settingDialog.typeSelector.singleDesc`),value:EA.Single},{label:t(`collections:create.analyzer.settingDialog.typeSelector.multiple`),desc:t(`collections:create.analyzer.settingDialog.typeSelector.multipleDesc`),value:EA.Multiple}].map(e=>({...e,generateCustomEle:()=>(0,G.jsxs)(ii,{value:e.value,className:Gq.menuItem,disableRipple:!0,disableTouchRipple:!0,children:[(0,G.jsx)(L,{variant:`body1Regular`,className:Gq.title,children:e.label}),(0,G.jsx)(L,{variant:`body3Regular`,className:Gq.desc,children:e.desc})]},e.value)}));return(0,G.jsxs)(Ei,{direction:`row`,spacing:`12px`,alignItems:`center`,children:[(0,G.jsx)(L,{variant:`h3Semibold`,children:t(`collections:create.analyzer.title`)}),(0,G.jsx)(na,{classes:{root:Gq.selector},value:n,options:a,onChange:e=>{r(e.value)},renderValue:e=>a.find(t=>t.value===e)?.label,disabled:i})]})},qq={template:`_template_1iamp_3`,commonTag:`_commonTag_1iamp_6`,templateTag:`_templateTag_1iamp_10`,rotate:`_rotate_1iamp_1`},Jq=e=>{let{onChange:t}=e,{ANALYZER_TEMPLATE_LIST:n}=Wq(),r=e=>()=>{t(e.code??``)};return(0,G.jsx)(Ei,{direction:`row`,spacing:`4px`,useFlexGap:!0,sx:{flexWrap:`wrap`},children:n.map(e=>{let t=(0,G.jsx)(`span`,{className:qq.template,onClick:r(e),children:(0,G.jsx)(br,{label:e.label,className:R(qq.commonTag,{[qq.templateTag]:e.tooltip})})},e.key);return e.tooltip?(0,G.jsx)(ma,{tooltip:{title:e.tooltip,placement:`top`},children:t},e.key):t})})},Yq=class extends eo{results=[];constructor(e){super(e),Object.assign(this,e)}static ANALYZER_TEST_URL=`${this.CLOUD_PREFIX}/instance/vector/run_analyzer`;static async runAnalyzer(e){return super.search({path:this.ANALYZER_TEST_URL,method:`POST`,data:e})}get _tokens(){return this.results.flatMap(e=>e?.tokens||[])}get _count(){return this._tokens.length}},Xq={root:`_root_29l1f_3`,inputRoot:`_inputRoot_29l1f_7`,inputContainer:`_inputContainer_29l1f_27`,runButton:`_runButton_29l1f_30`,resultContainer:`_resultContainer_29l1f_48`,tokenContainer:`_tokenContainer_29l1f_55`,tokenTag:`_tokenTag_29l1f_61`,errorContainer:`_errorContainer_29l1f_66`,errorIcon:`_errorIcon_29l1f_71`,rotate:`_rotate_29l1f_1`},Zq=1e3,Qq=16,$q=68,eJ=23,tJ=6,nJ=e=>{let{analyzerParamsString:t,clusterId:n}=e,{clusterId:r=``}=l(),i=n||r,a=wa(),{t:o}=_([`collections`,`common`]),[s,c]=(0,W.useState)(e.text||o(`collections:create.analyzer.template.testText`)),[u,d]=(0,W.useState)([]),[f,p]=(0,W.useState)(0),[m,h]=(0,W.useState)(!1),[g,v]=(0,W.useState)(``),y=u.length===0,b=(0,W.useRef)(null),[x,S]=(0,W.useState)(tJ);return(0,W.useEffect)(()=>{e.text&&c(e.text.slice(0,Zq))},[e.text]),(0,W.useEffect)(()=>
45{if(!b.current)return;let{height:e}=b.current.getBoundingClientRect(),t=(e-Qq)/5,n=Math.floor(t*2)-$q,r=Math.floor(n/eJ);S(Math.max(r,tJ))},[]),(0,G.jsxs)(Ei,{height:`100%`,children:[(0,G.jsx)(L,{variant:`h3Semibold`,px:`20px`,pt:`20px`,children:o(`collections:create.analyzer.settingDialog.runner.title`)}),(0,G.jsxs)(Ei,{spacing:`16px`,flex:1,className:Xq.root,ref:b,children:[(0,G.jsxs)(Ei,{className:Xq.inputContainer,children:[(0,G.jsx)(mi,{multiline:!0,minRows:x,maxRows:x,classes:{root:Xq.inputRoot},value:s,onChange:e=>{c(e.target.value.slice(0,Zq))},placeholder:o(`common:tooltip.input`)}),(0,G.jsx)(z,{variant:`contained`,color:`primary`,size:`small`,className:Xq.runButton,startIcon:(0,G.jsx)(Vr,{size:14}),onClick:async()=>{try{v(``),d([]),p(0),h(!0);let e=await Yq.runAnalyzer({instanceId:i,texts:[s],analyzerParams:JSON.parse(t)});d(e._tokens),p(e._count)}catch(e){v(e instanceof Error?e.message:e.Message)}finally{h(!1)}},loading:m,children:o(`collections:create.analyzer.settingDialog.runner.test`)})]}),(0,G.jsxs)(Ei,{spacing:`16px`,flex:1,className:Xq.resultContainer,children:[(0,G.jsx)(L,{variant:`body2Medium`,color:a.black.black2,px:`16px`,children:o(`collections:create.analyzer.settingDialog.runner.results`)}),(0,G.jsxs)(Ei,{className:Xq.tokenContainer,children:[g&&(0,G.jsxs)(`div`,{className:Xq.errorContainer,children:[(0,G.jsx)(Ar,{size:14,className:Xq.errorIcon}),(0,G.jsx)(L,{variant:`body3Regular`,color:a.red.red1,children:g})]}),(0,G.jsx)(Ei,{direction:`row`,spacing:`4px`,useFlexGap:!0,sx:{flexWrap:`wrap`},children:u.map((e,t)=>(0,G.jsx)(br,{label:e.token,variant:`outlined`,className:Xq.tokenTag},`${e.token}-${t}`))})]}),(0,G.jsx)(L,{variant:`body4Regular`,color:a.black.black2,px:`16px`,children:o(`collections:create.analyzer.settingDialog.runner.tokenCount`,{token:y?fe.UNKNOWN:f})})]})]})]})},rJ={option:`_option_9bvkt_3`,selected:`_selected_9bvkt_10`,menuRoot:`_menuRoot_9bvkt_28`,menuPaper:`_menuPaper_9bvkt_29`,rotate:`_rotate_9bvkt_1`},iJ=`all`,aJ=e=>{let{options:t,value:n,onChange:r}=e,{t:i}=_([`collections`,`common`]),a=wa(),o=[{label:i(`collections:create.analyzer.settingDialog.all`),value:iJ,generateCustomEle:()=>{let e=n.length===t.length;return(0,G.jsxs)(ii,{className:R(rJ.option,{[rJ.selected]:e}),disableRipple:!0,disableTouchRipple:!0,value:iJ,children:[(0,G.jsx)(Pr,{sx:{padding:`0 8px 0 0`},checked:e}),(0,G.jsx)(L,{variant:`body1Regular`,children:i(`collections:create.analyzer.settingDialog.all`)})]},iJ)}},...t.map(e=>({...e,generateCustomEle:()=>{let t=n.includes(e.value);return(0,G.jsxs)(ii,{className:R(rJ.option,{[rJ.selected]:t}),disableRipple:!0,disableTouchRipple:!0,value:e.value,children:[(0,G.jsx)(Pr,{sx:{padding:`0 8px 0 0`},checked:t}),(0,G.jsx)(L,{variant:`body1Regular`,children:e.label})]},e.value)}}))];return(0,G.jsx)(na,{size:`small`,options:o,multiple:!0,value:n,onChange:e=>{if(e.some(e=>e.value===`all`)){e.length===t.length+1?r([]):r(t.map(e=>e.value));return}r(e.map(e=>e.value))},renderValue:e=>{let n=e;return n.length===0?(0,G.jsx)(L,{color:a.black.black3,children:i(`common:tooltip.select`)}):n.length===t.length?i(`collections:create.analyzer.settingDialog.allTemplates`):t.filter(e=>n.includes(e.value)).map(e=>e.label).join(`, `)},MenuProps:{...Xt.BOTTOM_LEFT,autoFocus:!1,classes:{root:rJ.menuRoot,paper:rJ.menuPaper}}})},oJ={multiTemplates:`_multiTemplates_33fqc_3`,codeBlock:`_codeBlock_33fqc_4`,copyBtn:`_copyBtn_33fqc_29`,tootlePosition:`_tootlePosition_33fqc_38`,toggleBtn:`_toggleBtn_33fqc_44`,added:`_added_33fqc_68`,iconRest:`_iconRest_33fqc_80`,iconHover:`_iconHover_33fqc_84`,toggleIcons:`_toggleIcons_33fqc_94`,rotate:`_rotate_33fqc_1`},sJ=e=>{let{code:t,onChange:n}=e,{t:r}=_([`collections`,`common`]),{ANALYZER_TEMPLATE_LIST:i}=Wq(),[a,o]=(0,W.useState)(i.map(e=>e.key)),s=wa(),c=SA(t),l=CA(t),u=i.map(e=>({label:e.label,value:e.key})),d=i.filter(e=>a.includes(e.key)),f=e=>{o(e)},p=e=>()=>{let r=l.includes(e.key);n(r?TA(t,e):wA(t,e))},m=e=>{let t=l.includes(e.key),n=r(t?`collections:create.analyzer.settingDialog.multiTemplate.remove`:`collections:create.analyzer.settingDialog.multiTemplate.add`),i=`multi-analyzer-template-toggle-${e.key}`;return c?(0,G.jsx)(fr,{size:`small`,withMargin:!1,className:R(oJ.toggleBtn,{[oJ.added]:t}),tooltip:{title:n,placement:`top`},"aria-label":n,onClick:p(e),"data-testid":i,children:t?(0,G.jsxs)(`span`,{className:oJ.toggleIcons,children:[(0,G.jsx)(Sr,{size:16,className:oJ.iconRest}),(0,G.jsx)($r,{size:16,className:oJ.iconHover})]}):(0,G.jsx)(Sa,{size:16})}):(0,G.jsx)(ma,{tooltip:{title:r(`collections:create.analyzer.settingDialog.multiTemplate.invali
45dJsonTip`),placement:`top`},children:(0,G.jsx)(fr,{size:`small`,withMargin:!1,disabled:!0,className:oJ.toggleBtn,"aria-label":n,"data-testid":i,children:(0,G.jsx)(Sa,{size:16})})})};return(0,G.jsxs)(Ei,{spacing:`16px`,className:oJ.multiTemplates,children:[(0,G.jsx)(L,{variant:`h3Semibold`,children:r(`collections:create.analyzer.settingDialog.templates`)}),(0,G.jsxs)(Ei,{spacing:`12px`,children:[(0,G.jsx)(L,{variant:`body3Regular`,color:s.black.black2,children:r(`collections:create.analyzer.settingDialog.multiTemplate.desc`)}),(0,G.jsx)(aJ,{options:u,value:a,onChange:f})]}),d.map(e=>(0,G.jsxs)(Ei,{spacing:`8px`,position:`relative`,children:[(0,G.jsxs)(Ei,{direction:`row`,spacing:`8px`,alignItems:`center`,justifyContent:`space-between`,children:[(0,G.jsx)(L,{variant:`body3Medium`,children:e.label}),(0,G.jsx)(`div`,{className:oJ.tootlePosition,children:m(e)})]}),(0,G.jsx)(eee,{classes:{root:oJ.codeBlock,btn:oJ.copyBtn},code:e.code,language:`JSON`,copyBtnProps:{withMargin:!1}})]},e.key))]})},cJ={content:`_content_bj4je_3`,card:`_card_bj4je_9`,codeWrapper:`_codeWrapper_bj4je_16`,readonly:`_readonly_bj4je_23`,lang:`_lang_bj4je_39`,analyzerEditor:`_analyzerEditor_bj4je_45`,runnerCard:`_runnerCard_bj4je_49`,multiTemplatesCard:`_multiTemplatesCard_bj4je_53`,dialogTitle:`_dialogTitle_bj4je_59`,rotate:`_rotate_bj4je_1`},lJ=`358px`,uJ=tu(e=>{let{t}=_([`collections`,`common`]),{title:n=t(`collections:create.analyzer.settingDialog.title`),lang:r=`JSON`,value:i,readonly:a=!1,text:o,fieldName:s=``,clusterId:c,disableTypeSelector:l=!1,onConfirm:u}=e,[f,p]=(0,W.useState)(yA(i)?EA.Multiple:EA.Single),[m,h]=(0,W.useState)(()=>!i||i===`null`||i===`undefined`?JSON.stringify(Oq,null,4):i),{setNestDialog:g,nestDialog:v}=xe(),{message:y}=Ga(),b=()=>{g({...v,open:!1})},x=()=>{u?.({analyzerType:f,analyzerParams:m}),y.success({title:t(`collections:create.analyzer.settingDialog.message.updated`),message:t(`collections:create.analyzer.settingDialog.message.updatedDesc`)})},S=e=>{h(e)},C=e=>{if(p(e),e===EA.Multiple){let e=Uq(s);h(JSON.stringify(e,null,4))}else h(JSON.stringify(Oq,null,4))},w=()=>(0,G.jsxs)(`div`,{className:R(cJ.codeWrapper,{[cJ.readonly]:a}),children:[(0,G.jsx)(L,{variant:`body4Regular`,align:`right`,component:`div`,className:cJ.lang,children:r}),(0,G.jsx)(Dq,{className:cJ.analyzerEditor,value:m,onChange:S,readonly:a})]});return(0,G.jsx)(St,{title:(0,G.jsxs)(Ei,{direction:`row`,spacing:`16px`,justifyContent:`space-between`,children:[(0,G.jsx)(L,{variant:`h1Bold`,children:n}),(0,G.jsx)(nu,{variant:`textBlack`,url:es,children:(0,G.jsx)(z,{variant:`textBlack`,withMargin:!1,endIcon:(0,G.jsx)(fi,{}),children:t(`collections:create.analyzer.settingDialog.bestPractices`)})})]}),handleConfirm:x,confirmLabel:t(`common:button.save`),onClose:b,classes:{title:cJ.dialogTitle},showActions:!a,showCloseIcon:a,children:(0,G.jsxs)(Ei,{direction:`row`,spacing:`24px`,className:cJ.content,children:[a?w():(0,G.jsxs)(Fa,{flex:1,className:cJ.card,sx:{display:`flex`,flexDirection:`column`,gap:`20px`},children:[(0,G.jsx)(Kq,{value:f,onChange:C,disabled:l}),f===EA.Single&&(0,G.jsx)(Jq,{onChange:S}),w()]}),f===EA.Single&&(0,G.jsx)(Fa,{width:lJ,className:R(cJ.card,cJ.runnerCard),children:(0,G.jsx)(nJ,{analyzerParamsString:m,text:o,clusterId:c})}),!a&&f===EA.Multiple&&(0,G.jsxs)(Ei,{width:lJ,spacing:`16px`,children:[(0,G.jsx)(Fa,{className:R(cJ.card,cJ.multiTemplatesCard),children:(0,G.jsx)(sJ,{code:m,onChange:S})}),(0,G.jsx)(Fa,{sx:{flexShrink:0},children:(0,G.jsx)(ni,{severity:`regular`,children:(0,G.jsx)(d,{t,i18nKey:`collections:create.analyzer.settingDialog.multiTemplatesTips`,components:[(0,G.jsx)(nu,{url:Do})]})})})]})]})})},{size:`xl`,nested:!0}),dJ=()=>{let{t:e}=_([`collections`]);return(0,G.jsx)(br,{label:e(`collections:create.schema.autoId`),size:`xs`,variant:`outlined`,color:`info`})},fJ={primaryKeyTag:`_primaryKeyTag_uevov_3`,rotate:`_rotate_uevov_1`},pJ=()=>(0,G.jsx)(`div`,{className:fJ.primaryKeyTag,children:`PK`}),mJ={tooltipContent:`_tooltipContent_1mcdz_3`,tooltipTitle:`_tooltipTitle_1mcdz_8`,description:`_description_1mcdz_18`,rotate:`_rotate_1mcdz_1`},hJ=e=>{let{title:t,children:n,contentPadding:r=`12px`}=e,i={padding:r};return(0,G.jsxs)(`div`,{className:mJ.tooltipContent,children:[(0,G.jsx)(L,{className:mJ.tooltipTitle,variant:`body3Regular`,children:t}),(0,G.jsx)(`div`,{className:mJ.description,style:i,children:n})]})},gJ=function(e){return e.OpenAI=`openai`,e.Voyage=`voyageai`,e.Cohere=`cohere`,e.SiliconFlow=`siliconflow`,e.HuggingFace=`huggingface`,e.GoogleVertexAI=`googlevertexai`,e.AliDashScope=`alidashscope`,e.AmazonBedrock=`amazonbedrock`,e}({}),_J=function(e){return e.Provider=`provider`,e.Name=`name`,e.Description=`description`,e.APIKey=`apiKey`,e.HFProvider=`hf-provider`,e}({}),vJ={[gJ.OpenAI]:{iconComponent:Xr,labelKey:`integrations:modelProvider.providers.openai`},[gJ.Voyage]:{iconComponent:kr,labelKey:`integrations:modelProvider.providers.voyage`},[gJ.Cohere]:{iconComponent:ree,labelKey:`integrations:modelProvider.providers.cohere`},[gJ.SiliconFlow]:{iconComponent:bi,labelKey:`integrations:modelProvider.providers.sil
45iconFlow`},[gJ.HuggingFace]:{iconComponent:ia,labelKey:`integrations:modelProvider.providers.huggingFace`},[gJ.GoogleVertexAI]:{iconComponent:xr,labelKey:`integrations:modelProvider.providers.googleVertexAI`},[gJ.AliDashScope]:{iconComponent:Gi,labelKey:`integrations:modelProvider.providers.aliDashScope`},[gJ.AmazonBedrock]:{iconComponent:da,labelKey:`integrations:modelProvider.providers.amazonBedrock`}},yJ=B?[gJ.OpenAI,gJ.Voyage,gJ.Cohere,gJ.HuggingFace]:[gJ.SiliconFlow],bJ=B?gJ.OpenAI:gJ.SiliconFlow,xJ=`hf-inference`,SJ=class extends eo{integrationId;name;status;provider;description;config;creatorEmail;createTime;projectId;outputTypes;languages;constructor(e){super(e),Object.assign(this,e)}static MODEL_PROVIDER_LIST_URL=`${this.CLOUD_PREFIX}/integrations/model/page`;static MODEL_PROVIDER_CREATE_URL=`${this.CLOUD_PREFIX}/integrations/model/add`;static MODEL_PROVIDER_DELETE_URL=`${this.CLOUD_PREFIX}/integrations/model/delete`;static MODEL_PROVIDER_VALIDATE_URL=`${this.CLOUD_PREFIX}/integrations/model/validateConfig`;static MODEL_PROVIDER_UPDATE_URL=`${this.CLOUD_PREFIX}/integrations/model/update`;static MODEL_PROVIDER_EMBEDDING_MODELS_URL=`${this.CLOUD_PREFIX}/integrations/model/textEmbeddingModels`;static fetchEmbeddingModels(){return super.findAll({path:this.MODEL_PROVIDER_EMBEDDING_MODELS_URL,method:`GET`},`models`)}static fetchModelProviderList(e){return super.findAll({path:this.MODEL_PROVIDER_LIST_URL,method:`POST`,data:{...e,currentPage:e.currentPage||1,pageSize:e.pageSize||100,providers:e.providers??yJ}},`List`)}static createIntegration(e){return super.search({path:this.MODEL_PROVIDER_CREATE_URL,method:`POST`,data:e})}static deleteIntegration(e){return super.query({path:this.MODEL_PROVIDER_DELETE_URL,method:`POST`,data:e})}static updateIntegration(e){return super.query({path:this.MODEL_PROVIDER_UPDATE_URL,method:`POST`,data:e})}static validateIntegrationConfig(e){return super.query({path:this.MODEL_PROVIDER_VALIDATE_URL,method:`POST`,data:e})}get _integrationId(){return this.integrationId}get _name(){return this.name}get _status(){return this.status}get _provider(){return this.provider}get _description(){return this.description||fe.UNKNOWN}get _apiKey(){return`****${this.config.apiKey.slice(-4)}`}get _hfProvider(){return this.config[`hf-provider`]||`hf-inference`}get _createdBy(){return this.creatorEmail||fe.UNKNOWN}get _createdAt(){return nc(this.createTime*1e3)||fe.UNKNOWN}get _projectId(){return this.projectId}get _outputTypes(){return this.outputTypes?.map(e=>bl[V[Number(e)]])?.join(`, `)||fe.UNKNOWN}get _languages(){return this.languages?.map(e=>e.replace(/^./,e=>e.toUpperCase()))?.join(`, `)||fe.UNKNOWN}},CJ=class extends eo{constructor(e){super(e),Object.assign(this,e)}static INTEGRATION_INSTANCE_VALIDATE_URL=`${this.CLOUD_PREFIX}/instance/checkModelIntegrations`;static INTEGRATION_COLLECTION_VALIDATE_URL=`${this.CLOUD_PREFIX}/instance/collection/checkModelIntegrations`;static INTEGRATION_INSTANCE_UPDATE_URL=`${this.CLOUD_PREFIX}/instance/updateModelIntegrations`;static INTEGRATION_COLLECTION_UPDATE_URL=`${this.CLOUD_PREFIX}/instance/collection/updateFunctionIntegration`;static validateInstanceModelIntegration(e){return super.query({path:this.INTEGRATION_INSTANCE_VALIDATE_URL,data:{instanceId:e},method:`GET`})}static validateCollectionModelIntegration(e,t){return super.query({path:this.INTEGRATION_COLLECTION_VALIDATE_URL,data:e,method:`GET`,signal:t})}static updateInstanceModelIntegration(e,t){return super.create({path:this.INTEGRATION_INSTANCE_UPDATE_URL,data:{instanceId:e,integrationMap:t},method:`POST`})}static updateCollectionModelIntegration(e){return super.create({path:this.INTEGRATION_COLLECTION_UPDATE_URL,data:e,method:`POST`})}},wJ=new Set,TJ=new Set,EJ=({clusterId:e=``,databaseName:t=``,collectionName:n=``})=>JSON.stringify([e,t,n]),DJ=()=>{TJ.forEach(e=>e())},OJ=e=>(TJ.add(e),()=>TJ.delete(e)),kJ=e=>{wJ.add(EJ(e)),DJ()},AJ=e=>{wJ.delete(EJ(e)),DJ()},jJ=e=>{let t=EJ(e);return(0,W.useSyncExternalStore)(OJ,()=>wJ.has(t),()=>!1)},MJ=e=>{let{isByocOrg:t}=Kt(),{checkIsSupportTextEmbeddingFunction:n}=Fn();return n(e)&&!t},NJ=()=>za([SJ.MODEL_PROVIDER_EMBEDDING_MODELS_URL],()=>SJ.fetchEmbeddingModels()),PJ=e=>za(MJ(e)?[CJ.INTEGRATION_INSTANCE_VALIDATE_URL,e]:null,()=>CJ.validateInstanceModelIntegration(e)),FJ=e=>{let{clusterId:t=``,databaseName:n=``,collectionName:r=``}=l(),i=e?.instanceId||t,a=e?.databaseName||n,o=e?.collectionName||r,s=MJ(i),c=(0,W.useRef)(null),u=jJ({clusterId:i,databaseName:a,collectionName:o}),d=!!(e?.isDeletingCollection||u),f=[CJ.INTEGRATION_COLLECTION_VALIDATE_URL,i,a,o],p=(0,W.useMemo)(()=>s&&!d,[s,d]);return(0,W.useEffect)(()=>
45{if(!p){c.current?.abort();return}return()=>{c.current?.abort()}},[p]),za(p?f:null,()=>{c.current?.abort();let e=new AbortController;return c.current=e,CJ.validateCollectionModelIntegration({instanceId:i,databaseName:a,collectionName:o},e.signal)})},IJ=e=>{let{mutate:t}=Ba(),n=MJ(e);return()=>{n&&t([CJ.INTEGRATION_INSTANCE_VALIDATE_URL,e])}},LJ=e=>{let{mutate:t}=Ba(),{clusterId:n=``,databaseName:r=``,collectionName:i=``}=l(),a=e?.instanceId||n,o=e?.databaseName||r,s=e?.collectionName||i,c=MJ(a),u=[CJ.INTEGRATION_COLLECTION_VALIDATE_URL,a,o,s];return()=>{c&&t(u)}},RJ={content:`_content_8u95t_3`,divider:`_divider_8u95t_8`,errorLink:`_errorLink_8u95t_12`,row:`_row_8u95t_17`,label:`_label_8u95t_24`,paramLabel:`_paramLabel_8u95t_30`,section:`_section_8u95t_36`,value:`_value_8u95t_42`,integrationRow:`_integrationRow_8u95t_46`,integrationContent:`_integrationContent_8u95t_54`,integrationName:`_integrationName_8u95t_61`,editIcon:`_editIcon_8u95t_66`,fieldValue:`_fieldValue_8u95t_72`,rotate:`_rotate_8u95t_1`},zJ=e=>{let{authKey:t,method:n,endpoint:r,params:i,headers:a={}}=e;try{return{headers:{Accept:`application/json`,...t?{Authorization:`Bearer ${t}`}:{},"Content-Type":`application/json`,...a},method:n,url:r,data:i}}catch{return{}}},BJ=e=>{let t=e??``;return t.includes(`{{`)?``:t.trim()},VJ={method:Ja.POST,authKey:BJ(``),endpoint:``},HJ=function(e){return e.Subject=`subject`,e.Description=`description`,e.Priority=`priority`,e.Project=`project`,e.Cluster=`cluster`,e}({}),UJ=function(e){return e.Troubleshooting=`troubleshooting`,e.FeatureRequest=`feature_request`,e.Question=`question/others`,e}({}),WJ=function(e){return e.ClusterFree=`cluster_free`,e.ClusterServerless=`cluster_serverless`,e.ClusterDedicatedStandard=`cluster_dedicated_standard`,e.ClusterDedicatedEnterprise=`cluster_dedicated_enterprise`,e.ClusterDedicatedBusinessCritical=`cluster_dedicated_business_critical`,e.ClusterDedicated=`cluster_dedicated`,e.clusterSelfHost=`cluster_self-host`,e}({}),GJ={formContainer:`_formContainer_5el70_3`,supportTypeContainer:`_supportTypeContainer_5el70_8`,optionalTag:`_optionalTag_5el70_17`,submitContainer:`_submitContainer_5el70_23`,contactTip:`_contactTip_5el70_28`,contactEmail:`_contactEmail_5el70_33`,fieldWrapper:`_fieldWrapper_5el70_39`,descArea:`_descArea_5el70_45`,askAIContainer:`_askAIContainer_5el70_57`,askAIText:`_askAIText_5el70_58`,attachFileArea:`_attachFileArea_5el70_63`,errorMessage:`_errorMessage_5el70_69`,errorMessageText:`_errorMessageText_5el70_75`,fileInput:`_fileInput_5el70_84`,uploadButton:`_uploadButton_5el70_91`,uploadButtonLabel:`_uploadButtonLabel_5el70_107`,disabledUploadBtnWrapper:`_disabledUploadBtnWrapper_5el70_119`,emergencyOption:`_emergencyOption_5el70_130`,emergencyOptionEnabled:`_emergencyOptionEnabled_5el70_137`,emergencyOptionDisabled:`_emergencyOptionDisabled_5el70_141`,businessCriticalTagSpacer:`_businessCriticalTagSpacer_5el70_145`,businessCriticalTag:`_businessCriticalTag_5el70_145`,businessCriticalTagDisabled:`_businessCriticalTagDisabled_5el70_163`,link:`_link_5el70_168`,underline:`_underline_5el70_172`,submitTrouble:`_submitTrouble_5el70_177`,submitTroubleTitle:`_submitTroubleTitle_5el70_184`,submitTroubleContent:`_submitTroubleContent_5el70_189`,mailLink:`_mailLink_5el70_192`,bolderText:`_bolderText_5el70_197`,rotate:`_rotate_5el70_1`},KJ={attachedFilesContainer:`_attachedFilesContainer_w2k8v_3`,fileRow:`_fileRow_w2k8v_9`,labelGroup:`_labelGroup_w2k8v_12`,nameContainer:`_nameContainer_w2k8v_16`,size:`_size_w2k8v_19`,rotate:`_rotate_w2k8v_1`},qJ=e=>{let{uploadedFiles:t,setUploadedFiles:n}=e,r=e=>{let r=t.findIndex(t=>t.name===e.name);if(r!==-1){let e=[...t];e.splice(r,1),n(e)}};return(0,G.jsx)(`div`,{className:KJ.attachedFilesContainer,children:t.toReversed().map(e=>(0,G.jsxs)(`div`,{className:KJ.fileRow,children:[(0,G.jsxs)(`div`,{className:KJ.labelGroup,children:[(0,G.jsx)(Ra,{size:14}),(0,G.jsx)(Ur,{typographyProps:{variant:`caption`,className:KJ.nameContainer},children:e.name}),(0,G.jsx)(L,{className:KJ.size,children:qt({size:e.size})})]}),(0,G.jsx)(fr,{onClick:()=>r(e),size:`small`,children:(0,G.jsx)(ci,{size:14})})]}))})},JJ=class extends eo{static FETCH_TICKET_PRIORITY_URL=`${this.CLOUD_PREFIX}/org/ticket/level`;constructor(e){super(e),Object.assign(this,e)}static fetchTicketPriority(e){let{orgId:t,ticketType:n}=e;return super.query({path:this.FETCH_TICKET_PRIORITY_URL,method:`GET`,data:{orgId:t,ticketType:n}})}},YJ={input:`_input_1a9br_3`,btnContainer:`_btnContainer_1a9br_10`,form:`_form_1a9br_15`,requiredContainer:`_requiredContainer_1a9br_19`,required:`_required_1a9br_19`,cidrWrapper:`_cidrWrapper_1a9br_28`,inputTip:`_inputTip_1a9br_33`,inputLabel:`_inputLabel_1a9br_36`,addCurrentIp:`_addCurrentIp_1a9br_39`,formContainer:`_formContainer_1a9br_45`,actions:`_actions_1a9br_46`,tagSelectorPaper:`_tagSelectorPaper_1a9br_51`,tagSelectorListbox:`_tagSelectorListbox_1a9br_52`,selectedTagsWrapper:`_selectedTagsWrapper_1a9br_58`,selectedTag:`_selectedTag_1a9br_58`,deleteIcon:`_deleteIcon_1a9br_75`,selectedMoreTag:`_selectedMoreTag_1a9br_81`,selectedTagDeleteIcon:`_selectedTagDeleteIcon_1a9br_85`,rotate:`_rotate_1a9br_1`},XJ=({componentProps:e={},initialState:t={selectAll:!1,selectedItems:[]},name:n,setValueAs:r=e=>e,handleChange:i,selectAllEllipsisTag:a,...o})=>{let{control:s,setValue:c}=Re(),{options:l=[],inputParams:u={},selectState:d,setSelectState:f,...p}=e,{t:m}=_([`common`]),{helperText:h=``,...g}=u,[v,y]=(0,W.useState)(t);(0,W.useEffect)(()=>{d||(c(n,r(t.selectedItems)),y(t))},[JSON.stringify(t)]);let b=(e,t)=>e.value===t.value;return(0,G.jsx)(_e,{control:s,name:n,render:e=>{let{field:t,formState:{errors:n}}=e,{value:o,...s}=t,c=n,u=t.name.split(`.`);for(let e=0;e<u.length;e++)c=c?.[u[e]];let h=c?.message||``,_=!!c,x=(d||v).selectAll,S=(e,n,a)=>{d||(t.onChange(r(n)),i?.(n))};return(0,G.jsx)(Yi,{...s,fullWidth:!0,options:l,inputParams:{helperText:h,error:_,...g},onChange:S,isOptionEqualToValue:b,selectAllOptionLabel:m(`common:button.selectAll`),showAll:!!a&&x,allText:a,...p,selectState:d||v,setSelectState:f||y,classes:{paper:YJ.tagSelectorPaper,listbox:YJ.tagSelectorListbox,...p.classes||{}}})},...o})};oi();var ZJ={content:`""`,position:`absolute`,top:0,bottom:0,left:0,right:0,background:`linear-gradient(90deg, transparent, rgba(242, 104, 104, 0.08), rgba(242, 104, 104, 0.2), rgba(242, 104, 104, 0.08), transparent)`,backgroundSize:`33% 100%`,backgroundRepeat:`no-repeat`,animation:`${iee` 46 0% { background-position: -33% 0; } 47 100% { background-position: 133% 0; } 48`} 1.5s ease-in-out infinite`,pointerEvents:`none`},QJ=52428800,$J=`50 MB`,eY=4,tY=e=>{let{subject:t,desc:n,uploadedFiles:r,setUploadedFiles:i,supportType:a,setSupportType:o,selectedClusterId:s,contactEmail:c,handleSubmitTicket:u,projectList:f,selectedProjectId:p,loading:m}=e,h=wa(),{fetchClusterList:g}=Fn(),[v,y]=(0,W.useState)(``),{t:b}=_([`support`,`common`]),{setValue:x,getValues:S,resetField:C,watch:w}=Re(),{orgId:T}=l(),[D,O]=(0,W.useState)([]),[k,A]=(0,W.useState)({selectAll:!1,selectedItems:[]}),ee=w(HJ.Project),j=w(HJ.Cluster),[te,ne]=(0,W.useState)(!1),re=(0,W.useMemo)(()=>D.map(e=>({label:e._instanceName,value:e._instanceId})),[D]),ie=(0,W.useMemo)(()=>f.map(e=>({label:e._projectName,value:e._projectId})),[f]),M=(0,W.useMemo)(()=>!!p&&a===UJ.Troubleshooting,[p,a]),ae=(0,W.useMemo)(()=>Object.values(Bo).map(e=>({label:b(`support:severity.${e}`),value:e})),[b]),oe=(0,W.useMemo)(()=>ae.map(e=>e.value===Bo.NORMAL?e:{...e,disabled:!0,generateCustomEle:()=>(0,G.jsx)(Ca,{title:b(`support:severity.freeClusterPriorityTooltip`),placement:`bottom`,children:(0,G.jsx)(`div`,{children:(0,G.jsx)(ii,{value:e.value,disableRipple:!0,disableTouchRipple:!0,disabled:!0,"data-testid":`ticket-priority-disabled-option-${e.value}`,children:e.label})})},e.value)}),[ae,b]),[se,ce]=(0,W.useState)(ae),le=(0,W.useMemo)(()=>
48{if(!M||a!==UJ.Troubleshooting)return!1;let e=(j??[]).map(e=>e.value);if(e.length!==1)return!1;let t=D.find(t=>e.includes(t._instanceId));return t?._instanceType===Hs.Starter||t?._plan===to.Free},[D,M,j,a]),ue=async()=>{let e=S();!e.cluster?.length&&M&&(e.cluster=D.map(e=>({label:e._instanceName,value:e._instanceId})).slice(0,5)),M||(e.project=void 0),u(e)};(0,W.useEffect)(()=>{t&&x(HJ.Subject,t),n&&x(HJ.Description,n)},[t,n]);let de=(0,W.useMemo)(()=>{switch(a){case UJ.Troubleshooting:return b(`support:descPlaceholder.troubleshooting`);case UJ.FeatureRequest:return b(`support:descPlaceholder.featureRequest`);case UJ.Question:return b(`support:descPlaceholder.question`)}},[a]),fe=e=>{let t=e.target.files;if(t&&t?.length+r.length>eY){y(b(`support:attachFile.numberLimit`));return}t&&Array.from(t).forEach(e=>{pe(e)})},pe=e=>{if(e.size>=QJ){y(b(`support:attachFile.sizeLimit`,{size:$J}));return}i(t=>[...t,e]),y(``)},me=e=>{o(e)},he=(e,t)=>{x(HJ.Cluster,t)},ge=[{label:b(`support:tabs.troubleshooting`),value:UJ.Troubleshooting},{label:b(`support:tabs.featureRequest`),value:UJ.FeatureRequest},{label:b(`support:tabs.question`),value:UJ.Question}];return(0,W.useEffect)(()=>{(async()=>{let e=!1;if(le){ce(oe),x(HJ.Priority,Bo.NORMAL);return}if(a===UJ.Troubleshooting&&T)try{let t=await JJ.fetchTicketPriority({orgId:T||``,ticketType:uee.TROUBLESHOOTING});e=t.ticketPriority.includes(Wo.EMERGENCY);let n=t.ticketPriority.filter(e=>e!==Wo.EMERGENCY).map(e=>({label:b(`support:severity.${e}`),value:e})),r={label:(0,G.jsx)(Ca,{title:b(e?`support:severity.emergencyEnabledTooltip`:`support:severity.emergencyTooltip`),placement:`bottom`,children:(0,G.jsxs)(`span`,{"data-emergency":e?`enabled`:`disabled`,className:R(GJ.emergencyOption,e?GJ.emergencyOptionEnabled:GJ.emergencyOptionDisabled),children:[b(`support:severity.Emergency`),(0,G.jsx)(`span`,{className:GJ.businessCriticalTagSpacer}),(0,G.jsx)(`span`,{className:GJ.businessCriticalTag,children:b(`support:severity.businessCriticalTag`)})]})}),value:Wo.EMERGENCY,disabled:!e};ce(e||B?[...n,r]:n)}catch{}else ce(ae)})()},[ae,oe,le,T,x,a,b]),(0,W.useEffect)(()=>{O([]),C(HJ.Cluster,void 0),A({selectAll:!1,selectedItems:[]}),ne(!0),(async()=>{if(ee){let e=await g(ee);O(e);let t=e.filter(e=>e._instanceId===s).map(e=>({label:e._instanceName,value:e._instanceId}))||[];t.length>0&&(A({selectAll:!1,selectedItems:t}),x(HJ.Cluster,t))}ne(!1)})()},[ee,s]),(0,G.jsxs)(`div`,{className:GJ.formContainer,children:[(0,G.jsx)(Oi,{handleActiveCb:me,initialActiveTab:a,tabs:ge,classes:{root:GJ.supportTypeContainer}}),(0,G.jsx)(E,{name:HJ.Subject,componentProps:{placeholder:b(`support:subjectPlaceholder`),fullWidth:!0,label:b(`support:subject`),wrapperClassName:GJ.fieldWrapper},rules:{required:b(`support:subjectRequired`),validate:e=>e.trim()!==``||b(`support:subjectRequired`)}}),(0,G.jsx)(Ne,{name:HJ.Priority,defaultValue:se[0].value,componentProps:{label:b(`support:priority`),fullWidth:!0,options:se,SelectDisplayProps:{"data-testid":`ticket-priority-select`},sxProps:{sxSelect:{"&:has([data-emergency])::before":{...ZJ,borderRadius:`8px`}},sxMenuItem:{position:`relative`,"& > div":{width:`100%`},'&:has([data-emergency="enabled"])::before':ZJ,'&.Mui-selected:has([data-emergency="enabled"])':{"& > .MuiTypography-root":{color:h.red.red1},"& > * span":{color:h.red.red1}}}}}}),(0,G.jsx)(E,{name:HJ.Description,componentProps:{placeholder:de,fullWidth:!0,label:b(`support:desc`),multiline:!0,rows:5,className:GJ.descArea,wrapperClassName:GJ.fieldWrapper},rules:{required:b(`support:descRequired`),validate:e=>e.trim()!==``||b(`support:descRequired`)}}),M&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Ne,{name:HJ.Project,defaultValue:p,componentProps:{label:(0,G.jsx)(d,{t:b,i18nKey:`support:project`,components:[(0,G.jsx)(`span`,{className:GJ.optionalTag},`option-tag`)]}),fullWidth:!0,options:ie}}),(0,G.jsx)(XJ,{name:HJ.Cluster,componentProps:{onChange:he,options:re,selectState:k,setSelectState:A,fullWidth:!0,inputParams:{placeholder:b(`common:tooltip.select`),label:(0,G.jsx)(d,{t:b,i18nKey:`support:cluster`,components:[(0,G.jsx)(`span`,{className:GJ.o
48ptionalTag},`option-tag`)]})}}})]}),(0,G.jsxs)(`div`,{className:GJ.fileUploaderContainer,children:[(0,G.jsxs)(`div`,{className:GJ.attachFileArea,children:[(0,G.jsx)(`span`,{className:R({[GJ.disabledUploadBtnWrapper]:r.length===eY}),children:(0,G.jsxs)(z,{tooltip:{title:r.length===eY?b(`support:attachFile.numberLimitTooltip`):void 0,placement:`right`,margin:0},withMargin:!1,component:`label`,startIcon:(0,G.jsx)(Sa,{size:14}),variant:`textBlue`,className:GJ.uploadButton,disabled:r.length===eY,children:[b(`support:attachFile.btn`),(0,G.jsx)(`input`,{className:GJ.fileInput,type:`file`,multiple:!0,hidden:!0,value:``,onChange:fe,onClick:e=>{e.target.value=``,e.target.files=null},disabled:r.length===eY})]})}),v&&(0,G.jsxs)(`div`,{className:GJ.errorMessage,children:[(0,G.jsx)(Vi,{size:14}),(0,G.jsx)(L,{className:GJ.errorMessageText,children:v})]})]}),r.length>0&&(0,G.jsx)(qJ,{uploadedFiles:r,setUploadedFiles:i})]}),(0,G.jsxs)(`div`,{className:GJ.submitContainer,children:[(0,G.jsx)(z,{loading:m,variant:`contained`,disabled:te,onClick:ue,children:b(`common:button.submit`)}),(0,G.jsx)(L,{variant:`body3Regular`,className:GJ.contactTip,children:(0,G.jsx)(d,{t:b,i18nKey:`support:contact`,components:[(0,G.jsx)(`span`,{className:GJ.contactEmail},`email`),(0,G.jsx)(`br`,{},`line-breaker`)],values:{email:c}})})]})]})},nY={[to.Free]:WJ.ClusterFree,[to.Standard]:B?WJ.ClusterDedicatedStandard:WJ.ClusterDedicated,[to.Enterprise]:B?WJ.ClusterDedicatedEnterprise:WJ.ClusterDedicated,[to.BusinessCritical]:B?WJ.ClusterDedicatedBusinessCritical:WJ.ClusterDedicated,[to.BYOC]:WJ.clusterSelfHost,[to.Serverless]:WJ.ClusterServerless,[to.None]:``},rY=e=>nY[e],iY=B?`https://zilliz.zendesk.com`:`https://zillizcn.zendesk.com`,aY=BJ(``).replace(/\/+$/,``),oY=aY||iY,sY=`${oY}/api/v2/requests`,cY=!!aY,lY=BJ(``).replace(/\/+$/,``),uY=e=>lY?`${lY}/tickets/${e}`:`${Lo}/${e}`,dY=e=>{let{subject:t,desc:n,isNestDialog:r,handleCancel:i,clusterId:a,defaultSupp
48ortType:o=UJ.Troubleshooting}=e,{t:s}=_([`support`,`common`]),[c,u]=(0,W.useState)(!1),[f,p]=(0,W.useState)([]),m=F(A),h=F(Fe),[g,v]=(0,W.useState)(o),{fetchUserProfile:y}=ht(),{_email:b,_userId:x}=$e(ut),{projectId:S=``,orgId:w=``}=l(),{message:T}=Ga(),{projectList:E}=C(),{clusterPlan:D}=Fn();(0,W.useEffect)(()=>{y()},[]);let O=(0,W.useMemo)(()=>D===void 0?``:rY(D),[D]),k=()=>{r?h(e=>({...e,open:!1})):m(e=>({...e,open:!1}))},ee=e=>{k();let t=uY(e);T.success({title:s(`support:success.title`),message:(0,G.jsx)(d,{t:s,i18nKey:`support:success.desc`,values:{ticketId:e,email:b},components:[(0,G.jsx)(`span`,{className:GJ.underline}),(0,G.jsx)(`a`,{href:t,target:`_blank`,rel:`noreferrer`,className:GJ.link,"data-testid":`support-link-ticket-detail`})]})},void 0,{actions:{confirm:{children:s(`support:success.btn`),variant:`textGhost`,"data-testid":`support-btn-view-ticket`,onClick:()=>{window.open(t,`_blank`,`noopener,noreferrer`)}}}})},te=async e=>{u(!0);let t=[];f.length>0&&await M(f,t);let n=[{id:27861857871131,value:g},{id:27127113011867,value:b},{id:27124248965659,value:w},{id:0xf9ff145491b,value:`production`},{id:38789996082203,value:e.priority}];if(e.project){n.push({id:41146646899227,value:e.project});let t=e.cluster.map(e=>e.value).join(`,`);n.push({id:0xf9ff0debd1b,value:t}),n.push({id:18180286622619,value:O})}let r=JSON.stringify({request:{subject:e.subject,comment:{body:e.description,uploads:t},custom_fields:n,requester:{name:x,email:b}}}),i=zJ({...VJ,endpoint:sY,params:r,headers:cY&&x?{"X-Zilliz-User-Id":x}:{}});try{let e=(await ue(i)).data?.request?.id;e?ee(String(e)):T.error(s(`support:error.submitFailed`))}catch(e){T.error(e.message||s(`support:error.submitFailed`))}finally{u(!1)}},ne=e=>new Promise(t=>{let n=new FileReader;n.onload=e=>{let n=e.target?.result;t(n)},n.readAsArrayBuffer(e)}),re=async(e,t)=>{let{authKey:n}=VJ,r=await fetch(`${oY}/api/v2/uploads.json?filename=${e}`,{method:`POST`,body:t,headers:{"Content-Type":`application/binary`,...n?{Authorization:`Bearer ${n}`}:{}}});if(r.ok)return r.json()},ie=async e=>{let t=await ne(e);return re(e.name,t)},M=async(e,t)=>{let n=e.map(async e=>{try{let n=await ie(e);t.push(n.upload.token)}catch{}});await Promise.all(n)};return(0,G.jsxs)(St,{title:s(`support:title`),type:j.Form,isNestDialog:r,handleCancel:()=>{i&&i(),k()},showActions:!1,children:[(0,G.jsx)(tY,{subject:t,desc:n,uploadedFiles:f,setUploadedFiles:p,supportType:g,setSupportType:v,projectList:E,selectedProjectId:S,selectedClusterId:a,contactEmail:b,handleSubmitTicket:te,loading:c}),(0,G.jsxs)(`div`,{className:GJ.submitTrouble,children:[(0,G.jsx)(L,{variant:`h4Semibold`,className:GJ.submitTroubleTitle,children:s(`support:submitTrouble.title`)}),(0,G.jsx)(L,{variant:`body2Regular`,className:GJ.submitTroubleContent,children:(0,G.jsx)(d,{t:s,i18nKey:`support:submitTrouble.content`,components:[(0,G.jsx)(`a`,{href:`mailto:[email protected]`,className:GJ.mailLink},`mail-link`)]})})]})]})},fY={container:`_container_1szy0_3`,mappingSection:`_mappingSection_1szy0_11`,mappingHeader:`_mappingHeader_1szy0_17`,mappingTable:`_mappingTable_1szy0_23`,mappingRow:`_mappingRow_1szy0_32`,originalItem:`_originalItem_1szy0_38`,arrow:`_arrow_1szy0_47`,replacementItem:`_replacementItem_1szy0_51`,providerWrapper:`_providerWrapper_1szy0_55`,emptyOption:`_emptyOption_1szy0_66`,link:`_link_1szy0_70`,nameAndIdContainer:`_nameAndIdContainer_1szy0_75`,rotate:`_rotate_1szy0_1`},pY=`custom-option`,mY=`empty-option`,hY={bottomOptionContainer:`_bottomOptionContainer_m4j5z_3`,bottomOption:`_bottomOption_m4j5z_3`,divider:`_divider_m4j5z_18`,rotate:`_rotate_m4j5z_1`},gY=(0,W.forwardRef)((e,t)=>{let{optionValue:n,children:r,classes:i={bottomOption:``},className:a,value:o,...s}=e;return(0,G.jsxs)(ii,{ref:t,...s,disableRipple:!0,className:R(hY.bottomOptionContainer,a),value:o??n,children:[(0,G.jsx)(`div`,{className:hY.divider}),(0,G.jsx)(`span`,{className:R(hY.bottomOption,i.bottomOption),children:r})]})});gY.displayName=`CustomLastOption`;var _Y=100,vY=1,yY=({provider:e,integrationId:t=``})=>{let{t:n}=_([`common`,`collections`]),{orgId:r=``,projectId:i=``}=l(),{data:a=[],isLoading:o}=za(e?[SJ.MODEL_PROVIDER_LIST_URL,i,e,vY,_Y]:null,()=>
48SJ.fetchModelProviderList({projectId:i,currentPage:vY,pageSize:_Y,providers:[e]}));return(0,G.jsx)(Ne,{name:t,componentProps:{options:(0,W.useMemo)(()=>(a.length>0?a.map(e=>({label:e._name,value:e._integrationId})):[{id:mY,label:mY,value:mY,generateCustomEle:()=>(0,G.jsx)(ii,{className:fY.emptyOption,value:mY,disableRipple:!0,disabled:!0,children:(0,G.jsx)(L,{width:`100%`,textAlign:`center`,variant:`body3Regular`,children:o?(0,G.jsx)(de,{width:20,height:20}):n(`collections:create.function.textEmbedding.placeholder.noIntegration`)})},mY)}]).concat([{id:pY,label:pY,value:pY,generateCustomEle:()=>(0,G.jsx)(gY,{optionValue:pY,children:(0,G.jsx)(d,{i18nKey:`collections:create.function.textEmbedding.customIntegration`,t:n,components:[(0,G.jsx)(`a`,{href:`/orgs/${r}/projects/${i}/integrations/model-providers`,target:`_blank`,className:fY.link})]})},pY)}]),[a,o])},rules:{required:!0}})},bY=({mappingItems:e=[]})=>{let{t}=_([`integrations`,`common`]),n=wa();return(0,G.jsx)(`div`,{className:fY.mappingSection,children:(0,G.jsxs)(`div`,{className:fY.mappingTable,children:[(0,G.jsxs)(Ei,{direction:`row`,gap:`36px`,children:[(0,G.jsx)(L,{variant:`body2Medium`,color:`textSecondary`,flex:`1`,children:t(`integrations:mappingSetting.original`)}),(0,G.jsx)(L,{flex:`1`,variant:`body2Medium`,color:`textSecondary`,children:t(`integrations:mappingSetting.replacement`)})]}),e.map((e,r)=>{let i=vJ[e.original.provider],a=i?.iconComponent;return(0,G.jsxs)(`div`,{className:fY.mappingRow,children:[(0,G.jsxs)(`div`,{className:fY.originalItem,children:[(0,G.jsxs)(`div`,{className:fY.providerWrapper,children:[a&&(0,G.jsx)(a,{size:12}),(0,G.jsx)(L,{variant:`body4Regular`,children:i?.labelKey?t(i.labelKey):e.original.provider})]}),(0,G.jsxs)(`div`,{className:fY.nameAndIdContainer,children:[(0,G.jsx)(Ur,{typographyProps:{variant:`body2Regular`,component:`span`},maxWidth:120,children:e.original.name}),(0,G.jsxs)(L,{variant:`body2Regular`,color:n.black.black2,ml:`4px`,children:[`(`,(0,G.jsx)(Ur,{typographyProps:{variant:`body2Regular`,color:n.black.black2,component:`span`},children:e.original.id}),`)`]})]})]}),(0,G.jsx)(`div`,{className:fY.arrow,children:(0,G.jsx)(ga,{size:12})}),(0,G.jsx)(`div`,{className:fY.replacementItem,children:(0,G.jsx)(yY,{provider:e.original.provider,integrationId:e.original.id})})]},r)})]})})},xY={root:`_root_1w5lh_3`,hideCollectionsBtn:`_hideCollectionsBtn_1w5lh_9`,providerList:`_providerList_1w5lh_13`,providerTag:`_providerTag_1w5lh_20`,collectionList:`_collectionList_1w5lh_30`,rotate:`_rotate_1w5lh_1`},SY=({unsupportedProviders:e,defaultExpanded:t,disableExpand:n=!1})=>{let{t:r}=_([`integrations`,`common`]),[i,a]=(0,W.useState)(t),o=(e,t)=>{let n=vJ[e.provider],i=n?.iconComponent;return(0,G.jsxs)(`div`,{className:xY.providerTag,children:[i&&(0,G.jsx)(i,{size:16}),(0,G.jsx)(L,{variant:`body2Regular`,children:n?.labelKey?r(n.labelKey):e.provider})]},t)};return(0,G.jsx)(`div`,{className:xY.root,children:i?(0,G.jsxs)(Ei,{gap:`20px`,alignItems:`flex-start`,children:[(0,G.jsx)(Ei,{gap:`16px`,children:e.map((e,t)=>(0,G.jsxs)(`div`,{children:[o(e,t),(0,G.jsxs)(L,{className:xY.collectionList,mt:`8px`,variant:`body1Regular`,children:[(0,G.jsx)(L,{variant:`body1Medium`,children:r(`integrations:mappingSetting.collections`)}),e.collections.join(`, `)]})]},t))}),!n&&(0,G.jsx)(z,{variant:`textBlack`,size:`small`,endIcon:(0,G.jsx)(Ri,{size:12}),withMargin:!1,onClick:()=>a(!1),children:r(`integrations:mappingSetting.hideCollections`)})]}):(0,G.jsxs)(Ei,{direction:`row`,alignItems:`center`,gap:`20px`,children:[(0,G.jsx)(`div`,{className:xY.providerList,children:e.map(o)}),(0,G.jsx)(z,{variant:`textBlack`,size:`small`,endIcon:(0,G.jsx)(Mi,{size:12}),withMargin:!1,onClick:()=>a(!0),children:r(`integrations:mappingSetting.showCollections`)})]})})},CY={link:`_link_1ju7z_3`,rotate:`_rotate_1ju7z_1`},wY=tu(({items:e,hideSettingDesc:t=!1,invalidModelDeploymentIds:n=[],onSave:r})=>{let{t:i}=_([`integrations`,`common`]),[a,o]=(0,W.useState)(!1),{setDialog:s}=re(),{message:c}=Ga(),l=(n??[]).length>0,{unsupportedProviders:u,hasUnmatchedProviders:f}=(0,W.useMemo)(()=>{let t=e.filter(e=>!yJ.includes(e.provider)).map(e=>({provider:e.provider,collections:e.collectionNames||[]}));return{unsupportedProviders:t,hasUnmatchedProviders:t.length>0}},[e]),{mappingItems:p,needReconfigured:m}=(0,W.useMemo)(()=>{let t=e.filter(e=>yJ.includes(e.provider)).map(e=>({original:{provider:e.provider,name:e.integrationName,id:e.integrationId||``},replacement:null}));return{mappingItems:t,needReconfigured:t.length>0}},[e]),h=(0,W.useMemo)(()=>i(m?`integrations:mappingSetting.title`:`integrations:mappingSetting.alertTitle`),[f,m]),g=()=>{s({open:!0,children:(0,G.jsx)(dY,{subject:i(`integrations:mappingSetting.ticket.subject`),desc:i(`integrations:mappingSetting.ticket.content`,{models:u.map(e=>e.provider).join(`, `)})})})},v=()=>{s({open:!0,children:(0,G.jsx)(dY,{subject:i(`integrations:mappingSetting.ticket.hostedSubject`),desc:i(`integrations:mappingSetting.ticket.hostedContent`,{ids:(n??[]).join(`, `)})})})},y=async e=>{try{o(!0),await r?.(e),c.success({title:i(`integrations:mappingSetting.message.updated.title`),message:i(`integrations:mappingSetting.message.updated.desc`)}),s(e=>({...e,open:!1}))}finally{o(!1)}},b=[{title:i(`integrations:mappingSetting.unmapped`),content:(()=>{let e=m?{defaultExpanded:!1}:{defaultExpanded:!0,disableExpand:!0};return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(ni,{severity:`error`,children:(0,G.jsx)(d,{t:i,i18nKey:`integrations:mappingSetting.alertDesc`,components:[(0,G.jsx)(`span`,{className:CY.link,onClick:g})]})}),(0,G.jsx)(SY,{...e,unsupportedProviders:u})]})})(),gap:`20px`,visible:f},{title:i(`integrations:mappingSetting.hosted`),content:(0,G.jsx)(ni,{severity:`error`,children:(0,G.jsx)(d,{t:i,i18nKey:`integrations:mappingSetting.hostedDesc`,components:[(0,G.jsx)(`span`,{className:CY.link,onClick:v})]})}),gap:`12px`,visible:l},{title:i(`integrations:mappingSetting.reconfigured`),content:(0,G.jsxs)(G.Fragment,{children:[!t&&(0,G.jsx)(L,{variant:`body2Regular`,component:`div`,children:i(`integrations:mappingSetting.desc`)}),(0,G.jsx)(bY,{mappingItems:p})]}),gap:`16px`,visible:m}].filter(e=>e.visible);return(0,G.jsx)(sc,{title:h,type:j.Form,confirmLabel:i(`common:button.save`),confirmLoading:a,handleConfirm:y,children:b.length>1?(0,G.jsx)(Ei,{gap:`32px`,children:b.map(e=>(0,G.jsxs)(Ei,{gap:`12px`,children:[(0,G.jsx)(L,{variant:`h3Semibold`,children:e.title}),e.content]},e.title))}):b.map(e=>(0,G.jsx)(Ei,{gap:e.gap,children:e.content},e.title))})},{size:`large`}),TY={status:`_status_1x3tk_3`,rotate:`_rotate_1x3tk_1`},EY=e=>{let{value:t=!1,className:n,typographyProps:r={},...i}
48=e,{t:a}=_(`alerts`),{label:o,color:s}=(0,W.useMemo)(()=>({label:a(t===!0?`state.on`:`state.off`),color:t===!0?`success`:`info`}),[t]);return(0,G.jsx)(br,{label:(0,G.jsx)(L,{variant:`body4Regular`,...r,children:o}),color:s,className:R(TY.status,n),...i})},DY=100,OY=1,kY=e=>{if(typeof e==`boolean`)return e;if(e===`true`)return!0;if(e===`false`)return!1},AY=({data:e,isInvalid:t=!1,schemaFields:n=[],onChange:r})=>{let{Name:i,Params:a,Type:o,InputFieldNames:s,OutputFieldNames:c}=e,f=a?.integration_id,p=a?.model_name,m=a?.provider,h=kY(a?.normalize),g=kY(a?.truncate),v=a?.prompt_name,y=a?.truncation_direction,b=s?.[0],x=c?.[0],S=a?.model_deployment_id,{t:C}=_([`collections`,`common`,`integrations`]),w=wa(),{projectId:T=``,orgId:E=``,clusterId:D=``,databaseName:O=``,collectionName:k=``}=l(),A=u(),{setDialog:ee}=re(),j=wY(),{data:{_schemaFields:te=n}={}}=Hl({clusterId:D,collectionName:k,databaseName:O,enabled:!!k}),ne=Vl(),{data:ie=[]}=NJ(),M=LJ(),{data:ae=[]}=za(m?[SJ.MODEL_PROVIDER_LIST_URL,T,m,OY,DY]:null,()=>SJ.fetchModelProviderList({projectId:T,currentPage:OY,pageSize:DY,providers:[m]})),oe=ae.find(e=>e._integrationId===f)?._name??ds.UNKNOWN,se=ie.find(e=>e.name===p),ce=te.find(e=>e._fieldName===b),le=te.find(e=>e._fieldName===x),ue=ce?._dataType,de=le?._dataType,fe=o,pe=a?.provider?vJ[a?.provider]:null,me=pe?.iconComponent,he=!yJ.includes(a?.provider),ge=!!S,_e=!he,ve=m===gJ.HuggingFace&&(typeof h==`boolean`||typeof g==`boolean`||!!v||!!y);return(0,G.jsx)(hJ,{title:C(`collections:create.function.details.title`),contentPadding:`12px 16px 16px`,children:(0,G.jsxs)(`div`,{className:RJ.content,children:[t&&(0,G.jsxs)(Ei,{direction:`row`,alignItems:`center`,gap:`4px`,children:[(0,G.jsx)(Fa,{color:w.red.red2,height:`12px`,children:(0,G.jsx)(Vi,{size:12})}),(0,G.jsx)(L,{variant:`body3Regular`,color:w.red.red1,children:ge||he?(0,G.jsx)(d,{t:C,i18nKey:`integrations:invalid.model`,components:[(0,G.jsx)(`span`,{className:RJ.errorLink,onClick:()=>{let e=ge?{subject:C(`integrations:mappingSetting.ticket.hostedSubject`),desc:C(`integrations:mappingSetting.ticket.hostedContent`,{ids:S})}:{subject:C(`integrations:modelProvider.ticket.subject`),desc:C(`integrations:modelProvider.ticket.desc`)};
48ee({open:!0,size:`medium`,children:(0,G.jsx)(dY,{defaultSupportType:UJ.FeatureRequest,...e})})}})]}):C(`integrations:invalid.function`)})]}),(0,G.jsxs)(`div`,{className:RJ.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:RJ.label,children:C(`collections:create.function.details.functionType`)}),(0,G.jsx)(br,{variant:`outlined`,label:fe,classes:{root:RJ.tag},size:`xs`})]}),S&&(0,G.jsxs)(`div`,{className:RJ.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:RJ.label,children:C(`collections:create.function.details.deployment`)}),(0,G.jsx)(Ur,{typographyProps:{variant:`body3Regular`,className:RJ.value,color:w.black.black3},tooltipProps:{placement:`top`},children:S})]}),pe&&(0,G.jsxs)(`div`,{className:RJ.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:RJ.label,children:C(`collections:create.function.details.integration`)}),(0,G.jsxs)(`div`,{className:RJ.integrationRow,children:[(0,G.jsxs)(`div`,{className:RJ.integrationContent,children:[me&&(0,G.jsx)(br,{variant:`outlined`,label:(0,G.jsxs)(Ei,{direction:`row`,alignItems:`center`,gap:`4px`,children:[(0,G.jsx)(me,{size:12}),pe?C(pe.labelKey):a?.provider]}),size:`xs`}),oe&&(0,G.jsxs)(Ur,{typographyProps:{variant:`body3Regular`,color:w.black.black3},tooltipProps:{placement:`top`},children:[(0,G.jsx)(L,{className:RJ.integrationName,variant:`body3Regular`,color:w.blue.blue1,onClick:()=>{A(`/orgs/${E}/projects/${T}/integrations/model-providers`)},children:oe}),f&&(0,G.jsxs)(L,{variant:`body3Regular`,color:w.black.black2,ml:`4px`,children:[`(`,f,`)`]})]})]}),_e&&(0,G.jsx)(Mr,{size:14,className:RJ.editIcon,onClick:()=>{j.open({items:[{provider:a?.provider,integrationId:f,integrationName:oe}],hideSettingDesc:!t,onSave:async e=>{k&&O&&D&&(await CJ.updateCollectionModelIntegration({instanceId:D,databaseName:O,collectionName:k,functionName:i,integrationId:e[f]}),ne.invalidateDetail({clusterId:D,databaseName:O,collectionName:k}),M()),r?.({integrationId:e[f]})}})}})]})]}),a?.model_name&&(0,G.jsxs)(`div`,{className:RJ.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:RJ.label,children:C(`collections:create.function.details.model`)}),(0,G.jsx)(Ur,{typographyProps:{variant:`body3Regular`,className:RJ.value},tooltipProps:{placement:`top`},children:a?.model_name})]}),se?._languages&&(0,G.jsxs)(`div`,{className:RJ.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:RJ.label,children:C(`collections:create.function.details.language`)}),(0,G.jsx)(Ur,{typographyProps:{variant:`body3Regular`,className:RJ.value},tooltipProps:{placement:`top`},children:se?._languages})]}),ve&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Ta,{className:RJ.divider}),(0,G.jsxs)(`div`,{className:RJ.section,children:[typeof h==`boolean`&&(0,G.jsxs)(`div`,{className:RJ.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:RJ.paramLabel,children:C(`collections:create.function.textEmbedding.normalize`)}),(0,G.jsx)(EY,{size:`small`,value:h})]}),typeof g==`boolean`&&(0,G.jsxs)(`div`,{className:RJ.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:RJ.paramLabel,children:C(`collections:create.function.textEmbedding.truncate`)}),(0,G.jsx)(EY,{size:`small`,value:g})]}),v&&(0,G.jsxs)(`div`,{className:RJ.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:RJ.paramLabel,children:C(`collections:create.function.textEmbedding.promptName`)}),(0,G.jsx)(Ur,{typographyProps:{variant:`body3Regular`,className:RJ.value},tooltipProps:{placement:`top`},children:v})]}),y&&(0,G.jsxs)(`div`,{className:RJ.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:RJ.paramLabel,children:C(`collections:create.function.textEmbedding.truncationDirection`)}),(0,G.jsx)(Ur,{typographyProps:{variant:`body3Regular`,className:RJ.value},tooltipProps:{placement:`top`},children:y})]})]})]}),(0,G.jsx)(Ta,{className:RJ.divider}),(0,G.jsxs)(`div`,{className:RJ.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:RJ.label,children:C(`collections:create.function.details.inputField`)}),(0,G.jsxs)(`div`,{className:RJ.fieldValue,children:[(0,G.jsx)(Ur,{typographyProps:{variant:`body3Regular`,className:RJ.value},tooltipProps:{placement:`top`},children:s?.join(`, `)}),ue&&(0,G.jsxs)(L,{variant:`body3Regular`,color:w.black.black2,children:[`(`,ue,`)`]})]})]}),(0,G.jsxs)(`div`,{className:RJ.row,children:[(0,G.jsx)(L,{variant:`body3Regular`,className:RJ.label,children:C(`collections:create.function.details.outputField`)}),(0,G.jsxs)(`div`,{className:RJ.fieldValue,children:[(0,G.jsx)(Ur,{typographyProps:{variant:`body3Regular`,className:RJ.value},tooltipProps:{placement:`top`},children:c?.join(`, `)}),de&&(0,G.jsxs)(L,{variant:`body3Regular`,color:w.black.black2,children:[`(`,de,`)`]})]})]})]})})},jY={tooltip:`_tooltip_1e83h_3`,rotate:`_rotate_1e83h_1`},MY=e=>{let{data:t,isDeletingCollection:n=!1}=e,{t:r}=_([`collections`]),{data:i}=FJ({isDeletingCollection:n}),a=wa(),o=(i?.invalidFunctionNames||[]).includes(t?.Name||``),s=o?`error`:`info`,c=o?a.red.red1:a.black.black1;return t?(0,G.jsx)(ma,{tooltip:{title:(0,G.jsx)(AY,{data:t,isInvalid:o}),placement:`top`,classes:{tooltip:jY.tooltip}},children:(0,G.jsx)(br,{color:s,variant:`outlined`,label:(0,G.jsxs)(Ei,{direction:`row`,alignItems:`center`,gap:`4px`,children:[(0,G.jsx)(L,{variant:`body3Regular`,color:c,children:r(`collections:create.function.title`)}),o&&(0,G.jsx)(Fa,{color:a.red.red1,height:`12px`,children:(0,G.jsx)(ca,{size:12})})]}),size:`xs`})}):null},NY={details:`_details_k2mhx_3`,indexTipLink:`_indexTipLink_k2mhx_9`,indexTips:`_indexTips_k2mhx_17`,rotate:`_rotate_k2mhx_1`},PY=e=>{let{t}=_([`common`,`collections`]),{data:n,isSupportMmapScalarIndex:r,isSupport2_5:i,hideDynamicTag:a,isDeletingCollection:s}=e,{_fieldType:c,_dataTypeValue:l,_autoId:u,_primaryKey:d,_indexType:f,_isPartitionKey:p,_isNullable:m,_indexParamPairs:h,_rawMmapEnabled:g,_isAnalyzer:v,_isTextMatch:y,_isFunctionOutputField:b,_analyzerParams:x,_params:S,_isMultiAnalyzer:C,_multiAnalyzerParams:w,_indexCount:T,_function:E}=n,D=c===El.DynamicField,O=Hc(l),k=uJ(),A=zs(Al,S?.build_level),ee=(0,W.useMemo)(()=>{let e=h?.find(e=>e.key===ul)?.value===`true`;return e&&g?`all`:e?`index`:g?`raw`:null},[h,g]);return(0,G.jsxs)(G.Fragment,{children:[d&&(0,G.jsx)(ma,{tooltip:{placement:`top`,title:t(`collections:create.tip.primaryKey`)},children:(0,G.jsx)(pJ,{})}),u&&(0,G.jsx)(ma,{tooltip:{placement:`top`,title:t(`collections:detail.schema.autoIdTooltip`)},children:(0,G.jsx)(dJ,{})}),p&&i&&(0,G.jsx)(ma,{tooltip:{placement:`top`,title:t(`collections:detail.schema.partitionKeyTip`)},children:(0,G.jsx)(br,{color:`info`,variant:`outlined`,label:t(`collections:detail.schema.partitionKey`),size:`xs`})}),m&&(i||O)&&(0,G.jsx)(ma,{tooltip:{placement:`top`,title:t(O?`collections:detail.schema.nullableVectorTip`:`collections:detail.schema.nullableTip`)},children:(0,G.jsx)(br,{color:`info`,variant:`outlined`,label:t(`collections:detail.schema.nullable`),size:`xs`})}),!!ee&&r&&(0,G.jsx)(ma,{tooltip:{title:t(`collections:detail.schema.mmapTips.${ee}`),placement:`top`},children:(0,G.jsx)(br,{color:`info`,variant:`outlined`,label:`Mmap`,size:`xs`})}),!!f&&(0,G.jsx)(ma,{tooltip:{title:(()=>{let e=T===1;return(0,G.jsxs)(`div`,{className:NY.indexTips,children:[(0,G.jsx)(L,{variant:`body3Regular`,children:e?t(`collections:detail.schema.indexTips.index`,{indexType:f}):t(`collections:detail.schema.indexTips.multiple`,{count:T})}),e&&(0,G.jsxs)(G.Fragment,{children:[S.metric_type&&(0,G.jsx)(L,{variant:`body3Regular`,children:t(`collections:detail.schema.indexTips.metric`,{metricType:S.metric_type})}),S?.build_level&&(0,G.jsx)(L,{variant:`body3Regular`,children:t(`collections:detail.schema.indexTips.indexBuilder`,{indexBuilder:t(`collections:create.createIndex.indexBuilder.${A}.label`)})})]}),(0,G.jsx)(o,{className:NY.indexTipLink,to:`./indexes`,children:(0,G.jsx)(L,{variant:`body3Regular`,children:t(`collections:viewDetails`)})})]})})(),placement:`top`},children:(0,G.jsx)(br,{color:`info`,variant:`outlined`,label:`Index`,size:`xs`})}),D&&!a&&(0,G.jsx)(ma,{tooltip:{title:t(`collections:detail.schema.dynamicFieldTip`),placement:`top`},children:(0,G.jsx)(br,{color:`info`,variant:`outlined`,label:t(`collections:detail.schema.dynamic`),size:`xs`})}),b&&(0,G.jsx)(MY,{data:E,isDeletingCollection:s}),v&&(0,G.jsx)(ma,{tooltip:{title:(0,G.jsxs)(G.Fragment,{children:[t(`collections:detail.schema.analyzerTip.desc`,{name:t(`collections:detail.schema.analyzerTip.${C?`multi`:`single`}`)}),(0,G.jsx)(`span`,{className:NY.details,onClick:()=>{k.open({value:JSON.stringify(C?w:x,null,2),title:t(`collections:create.analyzer.settingDialog.details`),readonly:!0})},children:t(`collections:viewDetails`)})]}),placement:`top`},children:(0,G.jsx)(br,{color:`info`,variant:`outlined`,label:`Analyzer`,size:`xs`})}),y&&(0,G.jsx)(ma,{tooltip:{title:t(`collections:detail.schema.textMatchTip`),placement:`top`},children:(0,G.jsx)(br,{color:`info`,variant:`outlined`,label:t(`collections:detail.schema.textMatch`),size:`xs`})})]})},FY={terminologyContainer:`_terminologyContainer_ovjqk_3`,text:`_text_ovjqk_9`,normalText:`_normalText_ovjqk_17`,popperRoot:`_popperRoot_ovjqk_22`,tooltipContainer:`_tooltipContainer_ovjqk_28`,topPart:`_topPart_ovjqk_34`,bottomPart:`_bottomPart_ovjqk_41`,tipContent:`_tipContent_ovjqk_48`,askAI:`_askAI_ovjqk_57`,askAIButton:`_askAIButton_ovjqk_61`,rotate:`_rotate_ovjqk_1`},IY=Zt({key:`inkeepStatus`,default:{isOpen:!1}}),LY=()=>{let[e,t]=Lt(IY);return{inkeepStatus:e,handleInkeepStatusChange:e=>{t({isOpen:e})}}},RY=e=>{let{text:t,variant:n=`body2Regular`,classes:r,terminology:i,tip:a,placement:o=`bottom-start`,needIcon:s=!1}=e,{t:c}=_([`metrics`]),{title:l,tip:u,container:f}=r||{},p=(0,W.useRef)(null),[m,h]=(0,W.useState)(!1),{handleInkeepStatusChange:g}=LY(),v=()=>{h(!0)},y=()=>{h(!1)},b=()=>{h(!1),g(!0)};return(0,G.jsxs)(`div`,{className:R(FY.terminologyContainer,f),ref:p,onMouseEnter:v,onMouseLeave:y,children:[(0,G.jsx)(L,{variant:n,component:`p`,className:R(FY.text,l,{[FY.normalText]:!a||!!s}),children:t}),s&&(0,G.jsx)(sa,{}),a&&(0,G.jsx)(Ma,{id:`terminology-with-tip`,open:m,anchorEl:p.current,placement:o,className:FY.popperRoot,modifiers:[{name:`offset`,options:{offset:[0,4]}}],transition:!0,children:({TransitionProps:e})=>(0,G.jsx)(Ii,{...e,timeout:300,children:(0,G.jsxs)(`div`,{className:FY.tooltipContainer,children:[(0,G.jsx)(`div`,{className:FY.topPart,children:(0,G.jsx)(L,{variant:`h3Semibold`,children:i||t})}),(0,G.jsxs)(`div`,{className:FY.bottomPart,children:[(0,G.jsx)(`div`,{className:R(FY.tipContent,u),children:a}),(0,G.jsx)(L,{variant:`body3Regular`,className:FY.askAI,component:`p`,children:(0,G.jsx)(d,{t:c,i18nKey:`metrics:chart.askAI`,components:[(0,G.jsx)(`button`,{className:FY.askAIButton,onClick:b},`ask-ai-button`)]})})]})]})})})]})},zY={groupActions:`_groupActions_1x34l_3`,bordered:`_bordered_1x34l_8`,menuOpened:`_menuOpened_1x34l_44`,rotate:`_rotate_1x34l_1`},BY=e=>{let{items:t,size:n=`small`,bordered:r=!0}=e,[i,a]=(0,W.useState)(null),[o,s]=(0,W.useState)(null),c=e=>t=>{e.onClick?.(),a(e.key),e.menus&&e.menus.length>0&&s(e.key),setTimeout(()=>{a(null)},1e3)},l=()=>{s(null)},u=e=>
48{let t=i===e.key?e.activeTooltip??e.tooltip:e.tooltip,r=e.size?{style:{width:e.size,height:e.size}}:{};return e.menus&&e.menus.length>0?(0,G.jsx)(ae,{items:e.menus,icon:e.icon,tooltip:t,onClick:c(e),onClose:l,disabled:e.disabled,showTooltip:e.showTooltip??e.disabled,classes:{iconBtn:R(e.className,{[zY.menuOpened]:o===e.key})},btnProps:{...e.btnDataAttributes??{},...r},btnSize:n},e.key):(0,G.jsx)(fr,{tooltip:t,onClick:c(e),loading:e.loading,disabled:e.disabled,size:n,className:e.className,...e.btnDataAttributes??{},...r,children:e.icon},e.key)};return(0,G.jsx)(`div`,{className:R(zY.groupActions,{[zY.bordered]:r}),children:t.map(u)})},VY=function(e){return e.Cluster=`Cluster`,e.Volume=`Volume`,e}({}),HY=e=>{let{resourceType:t,resourceId:n,clusterDataResource:r=I.ServingClusterData,clusterManageResource:i=I.ServingCluster}=e,{t:a}=_([`common`]),{resourceActions:o,isLoading:s,isError:c}=ur(),l=t===VY.Cluster,u=l?r:I.VolumeData,d=l?i:I.Volume,f={resourceId:n},p=Kn(o,u,[`read`,`write`,`all`],f),m=Kn(o,u,[`write`,`all`],f),h=Kn(o,d,[`modify`,`all`],f);return{canRead:!c&&p,canWrite:!c&&m,canManage:!c&&h,isLoading:s,tooltip:!s&&(c||!m)?a(`common:permission.missing`):void 0}},UY=(0,W.createContext)({canRead:!0,canWrite:!0,isLoading:!1,tooltip:void 0}),WY=({children:e,resourceType:t,resourceId:n,clusterDataResource:r,clusterManageResource:i})=>{let a=HY({resourceType:t,resourceId:n,clusterDataResource:r,clusterManageResource:i});return(0,G.jsx)(UY.Provider,{value:a,children:e})},GY=()=>(0,W.useContext)(UY),KY=()=>{let{canWrite:e,tooltip:t,isLoading:n}=GY(),r=e=>{if(e)return typeof e==`string`?{title:e,placement:`top`}:e};return{isDisabled:!e,isLoading:n,tooltip:e?void 0:{title:t,placement:`top`},mergeDisabledProps:n=>{let i=!e;if(!n)return{disabled:i,tooltip:i?{title:t,placement:`top`}:void 0};let{disabled:a,tooltip:o}=n,s=a||i,c;return c=i?{title:t,placement:`top`}:r(o),{disabled:s,tooltip:c}},mergeActions:n=>e?n:n.map(e=>({...e,disabled:!0,tooltip:{title:t,placement:`top`}}))}},qY={schemaLoadingContainer:`_schemaLoadingContainer_10etu_3`,checkedIcon:`_checkedIcon_10etu_7`,containTooltipColHeader:`_containTooltipColHeader_10etu_11`,iconWrapper:`_iconWrapper_10etu_13`,indexTypeBtn:`_indexTypeBtn_10etu_18`,creatingIcon:`_creatingIcon_10etu_40`,rotate:`_rotate_10etu_1`,fileNameCellContainer:`_fileNameCellContainer_10etu_45`,textContainer:`_textContainer_10etu_55`,descCell:`_descCell_10etu_62`,indexParamsKey:`_indexParamsKey_10etu_66`,indexParamsValue:`_indexParamsValue_10etu_70`,dynamicTip:`_dynamicTip_10etu_76`,underline:`_underline_10etu_81`,dataTypeWrapper:`_dataTypeWrapper_10etu_86`,structFieldsBtn:`_structFieldsBtn_10etu_90`},JY=e=>Object.assign(Object.create(Object.getPrototypeOf(e)),e),YY=()=>({_indexType:``,_indexName:``,_indexParamPairs:[],_indexStatus:ql.IndexStateNone,_enableMmap:!1,_params:{},_indexCount:0,_indexes:[]}),XY=(e,t=[])=>e.map(e=>{let n=JY(e),r=t.filter(t=>t._structSchemaFieldName===e._fieldName);if(r.length===0)return Object.assign(n,{...YY(),_indexCount:0,_indexes:[]});let i=r[0];return Object.assign(n,{...YY(),_indexType:i._indexType,_indexName:i._indexName,_indexParamPairs:i._indexParamPairs,_indexStatus:i._indexStatus,_enableMmap:i._enableMmap,_params:i._params,_indexCount:r.length,_indexes:r})}),ZY=e=>{let{fields:t,indexes:n=[]}=e,{t:r}=_([`collections`]),{clusterId:i=``}=l(),{checkIsSupport2_5:a,checkCurrentClusterIsSupportFeature:o}=Fn(),s=a(i),c=o(Gs.StructScalarIndex),u=(0,W.useMemo)(()=>XY(t,n),[t,n]),d=[{field:`_fieldName`,headerName:r(`collections:structSchemaPreview.table.fieldName`),renderCell:e=>$Y(e,s,c)},{field:`_dataTypeWithParam`,headerName:r(`collections:structSchemaPreview.table.fieldType`),renderCell:({data:e})=>{let t=e;return(0,G.jsx)(G.Fragment,{children:t._dataTypeWithParam||V[t._dataTypeValue]})}},{field:`_desc`,headerName:r(`collections:structSchemaPreview.table.desc`)}];return(0,G.jsx)(St,{title:r(`collections:structSchemaPreview.title`),showActions:!1,children:(0,G.jsx)(oa,{withBorder:!1,columns:d,rows:u,getRowId:e=>e._fieldName})})},QY=(e,t)=>{let n=[V.VarChar,V.Array];return!t||!n.includes(e._dataTypeValue)?!1:e._arrayTypeValue!==V.Struct},$Y=(e,t,n,r)=>{let{_fieldName:i,_fieldType:a,_autoId:o}=e.data,{t:s}=_([`common`,`collections`]),c=(0,G.jsx)(PY,{data:e.data,isSupport2_5:t,isSupportMmapScalarIndex:n,hideDynamicTag:!0,isDeletingCollection:r});return(0,G.jsxs)(`div`,{className:qY.fileNameCellContainer,children:[(0,G.jsx)(mA,{fieldType:a,enableAutoId:o}),a===El.DynamicField?(0,G.jsx)(RY,{tip:s(`collections:detail.schema.dynamicFieldTip`),text:i}):(0,G.jsx)(Ur,{typographyProps:{className:qY.textContainer,variant:`body1Regular`},children:i}),c]})},eX=({showLoading:e=!0,collectionName:t,databaseName:n,clusterId:r,hideRowActions:i=!1,isDeletingCollectionName:a})=>{let{t:o}=_([`common`,`collections`,`importData`]),{clusterId:s=``,collectionName:c,databaseName:u=``}=l(),d=t??c??``,f=n??u??``,p=r??s??``,{setDialog:m}=re(),{mergeDisabledProps:h}=KY(),{checkIsSupport2_5:g,checkIsSupportAlterField:v,checkCurrentClusterIsSupportFeature:y}=Fn(),b=g(p),x=v(p),S=y(Gs.MmapScalarIndex),C=y(Gs.DropField,p),w=y(Gs.Exter
48nalCollectionSchemaEvolution,p),{isLoading:T,data:E=[]}=jl({clusterId:p,collectionName:d,databaseName:f}),{isLoading:D,data:{_schemaFields:O=[],_enableDynamic:k=!1,_functions:A=[],_isExternal:ee=!1,_ttlField:j}={},refetch:te}=Hl({clusterId:p,collectionName:d,databaseName:f}),ne=e&&(T||D),ie=(0,W.useMemo)(()=>new Set(A.flatMap(e=>e.InputFieldNames||[])),[A]),M=e=>({title:o(e?`collections:detail.schema.drop.disabled.${e}`:`collections:detail.schema.drop.action`),placement:`left`}),ae=(0,W.useMemo)(()=>{let e={_fieldName:o(`collections:detail.schema.dynamicField`),_fieldType:El.DynamicField};return hA(gA(_A((k&&!ee?[...O,e]:O).filter(Boolean)),E),A)},[E,O,k,ee,A,o]),oe=(e,t=[])=>{m({open:!0,size:`large`,children:(0,G.jsx)(ZY,{fields:e,indexes:t})})},se=e=>QY(e,x),ce=[{field:`_fieldName`,headerName:o(`collections:detail.schema.fieldName`),renderCell:e=>$Y(e,b,S,a===d)},{field:`_dataTypeWithParam`,headerName:o(`collections:detail.schema.fieldType`),renderCell:({data:e})=>{let{_dataTypeWithParam:t,_structSchemas:n=[]}=e;return(0,G.jsxs)(`div`,{className:qY.dataTypeWrapper,children:[(0,G.jsx)(L,{children:t}),n.length>0&&(0,G.jsx)(z,{size:`xs`,variant:`outlined`,className:qY.structFieldsBtn,onClick:()=>{let t=e._indexes??E.filter(t=>t._fieldName===e._fieldName);oe(n,t)},children:o(`collections:detail.schema.structFields`,{count:n.length})})]})}},{field:`_externalField`,headerName:o(`collections:detail.schema.externalColumn`),hide:!ee,renderCell:({data:e})=>{let t=e.ExternalField;return(0,G.jsx)(Ur,{typographyProps:{className:qY.descCell,variant:`body1Regular`},children:t||`--`})}},{field:`_defaultValue`,headerName:o(`collections:detail.schema.defaultValue`),hide:!b||ee,renderCell:({data:e})=>{let{_defaultValue:t,_fieldType:n}=e;return n===El.DynamicField?null:(0,G.jsx)(Ur,{typographyProps:{className:qY.descCell},children:t||`--`})}},{field:`_desc`,headerName:o(`collections:detail.schema.desc`),renderCell:({data:e})=>e._fieldType===El.DynamicField?null:(0,G.jsx)(Ur,{typographyProps:{className:qY.descCell},children:e._desc||`--`})},{field:`action`,headerName:o(`collections:list.actions`),headerAlign:`right`,align:`right`,width:75,hide:i,renderCell:({data:e})=>{let{_fieldType:t}=e,n=e,r=e._function,i=!se(n),a=t===El.DynamicField?o(`collections:detail.schema.edit.dynamicDisabled`):o(`collections:detail.schema.edit.disabled`),s=i?{title:a,placement:`left`}:{title:o(`common:button.edit`),placement:`left`},c=fA({field:n,schemaFields:O,functionInputFieldNames:ie,ttlField:j}),l=()=>{r&&m({open:!0,children:(0,G.jsx)(uA,{data:r,clusterId:p,databaseName:f,collectionName:d})})},u=r?{key:o(`collections:detail.schema.dropFunction.menuTooltip`),...h({tooltip:{title:o(`collections:detail.schema.dropFunction.menuTooltip`),placement:`left`}}),showTooltip:!0,btnDataAttributes:{"aria-label":o(`collections:detail.schema.dropFunction.menuTooltip`),"data-testid":`collection-drop-function-menu-${n._fieldName}`},menus:[{key:`drop-function-field`,label:o(`collections:detail.schema.dropFunction.field.action`),disabled:!!c,tooltipConfig:c?M(c):void 0,onItemClick:l,"data-testid":`collection-drop-function-field-action`,sx:{color:`error.main`}}]}:{key:o(`collections:detail.schema.drop.action`),icon:(0,G.jsx)(ci,{}),...h({disabled:!!c,tooltip:M(c)}),btnDataAttributes:{"aria-label":o(`collections:detail.schema.drop.action`),"data-testid":`collection-drop-field-${n._fieldName}`},onClick:()=>{m({open:!0,children:(0,G.jsx)(lA,{clusterId:p,databaseName:f,collectionName:d,fieldName:n._fieldName})})}};return(0,G.jsx)(BY,{items:[...ee?[]:[{key:o(`common:button.edit`),icon:(0,G.jsx)(Mr,{}),...h({disabled:i,tooltip:s}),onClick:()=>{m({open:!0,children:(0,G.jsx)(sA,{data:e,onSuccess:()=>{te(),m(e=>({...e,open:!1}))}})})}}],...(!ee||w)&&(r||C)?[u]:[]]})}}];return(0,G.jsx)(Vt,{loading:ne,loadingText:``,classes:{loading:qY.schemaLoadingContainer},children:(0,G.jsx)(oa,{columns:ce,rows:ae,pageSize:100,showPagination:!1,withBorder:!1,initialState:{columnPinning:{right:[`action`]}}})})},tX={header:`_header_1wrf4_3`,rotate:`_rotate_1wrf4_1`},nX=e=>{let{collection:t,databaseName:n=``,clusterId:r=``}=e,{t:i}=_([`importData`,`common`]),a=F(Fe);return(0,G.jsxs)(sc,{title:i(`importData:importTaskDialog.checkSchema.title`),showCancel:!1,showCloseIcon:!1,confirmVariant:`outlined`,confirmLabel:i(`common:button.close`),handleConfirm:()=>{a(e=>({...e,open:!1}))},children:[(0,G.jsx)(L,{className:tX.header,variant:`h3Medium`,children:t}),(0,G.jsx)(eX,{collectionName:t,databaseName:n,clusterId:r})]})},rX=`cloud/v1`,iX={list:async e=>{let t=await Ce.get(`${rX}/volume/page`,{params:e});return yee.parse(t.data.Data)},detail:async e=>{let t=await Ce.get(`${rX}/volume/describe`,{params:{stageId:e}});return hee.parse(t.data.Data)},create:async e=>(await Ce.post(`${rX}/volume/create`,e)).data,createFreeTrial:async e=>(await Ce.post(`${rX}/volume/create_free`,e)).data,delete:async e=>(await Ce.post(`${rX}/volume/delete`,{stageId:e})).data,updateDescription:async e=>(await Ce.post(`${rX}/volume/description/update`,e)).data,listFiles:async e=>{let t=await Ce.get(`${rX}/volume/file/page`,{params:e});return vee.parse(t.data.Data)},deleteFile:async e=>(await Ce.post(`${rX}/volume/file/delete`,e)).data,storage:async e=>{let t=await Ce.get(`${rX}/volume/storage`,{params:{stageId:e}});return bee.parse(t.data.Data)},price:async e=>{let t=await Ce.get(`${rX}/volume/price`,{params:{cloud:e}});return _ee.parse(t.data.Data)}},aX=100,oX=5,sX={all:[`volumes`],lists:()=>
48[...sX.all,`list`],list:(e,t,n)=>[...sX.lists(),e,t,n],allList:e=>[...sX.lists(),`all`,e],detail:e=>[...sX.all,`detail`,e],filesAll:e=>[...sX.all,`files`,e],files:(e,t)=>[...sX.filesAll(e),t],storage:e=>[...sX.all,`storage`,e],prices:()=>[...sX.all,`price`],price:e=>[...sX.prices(),e]},cX=async e=>{let t=await iX.list({projectId:e,currentPage:1,pageSize:aX}),n=t.total??0,r=Math.ceil(n/aX);if(r<=1)return t.list;let i=Math.min(r,oX),a=await Promise.all(Array.from({length:i-1},(t,n)=>iX.list({projectId:e,currentPage:n+2,pageSize:aX}))),o=[...t.list,...a.flatMap(e=>e.list)];return Array.from(new Map(o.map(e=>[e._id,e])).values())},lX=(e,t)=>{let n=t?.currentPage??1,r=t?.pageSize??25,i=Cn({queryKey:sX.list(e,n,r),queryFn:()=>iX.list({projectId:e,currentPage:n,pageSize:r}),enabled:!!e});return{data:i.data?.list??[],total:i.data?.total??0,isLoading:i.isLoading,isFetching:i.isFetching,error:i.error}},uX=e=>Cn({queryKey:sX.allList(e??``),queryFn:()=>cX(e??``),enabled:!!e}),dX=(e,t=!0,n)=>Cn({queryKey:sX.allList(e??``),queryFn:()=>cX(e??``),enabled:!!e,select:e=>e.filter(n??(()=>!0)).map(e=>({id:e._id,value:e._id,label:t?`${e._name} (${e._regionId})`:e._name}))}),fX=e=>Cn({queryKey:sX.detail(e),queryFn:()=>iX.detail(e),enabled:!!e}),pX=(e,t)=>Cn({queryKey:sX.files(e,t),queryFn:()=>iX.listFiles({stageId:e,prefix:t}),enabled:!!e,placeholderData:On}),mX=(e,t)=>Cn({queryKey:sX.storage(e),queryFn:()=>iX.storage(e),enabled:!!e&&t===xee.FreeTrial}),hX=e=>Cn({queryKey:sX.price(e??``),queryFn:()=>iX.price(e),enabled:!!e}),gX=e=>Cn({queryKey:sX.allList(e??``),queryFn:()=>cX(e??``),enabled:!!e,select:e=>e.reduce((e,t)=>(e[t._id]=t._regionId,e),{})}),_X=()=>{let e=Tn(),t=gn({mutationFn:e=>iX.create(e),onSuccess:()=>{e.invalidateQueries({queryKey:sX.lists()})}});return{createVolume:t.mutateAsync,isPending:t.isPending}},vX=()=>{let e=Tn(),t=gn({mutationFn:e=>iX.createFreeTrial(e),onSuccess:()=>{e.invalidateQueries({queryKey:sX.lists()})}});return{createFreeTrialVolume:t.mutateAsync,isPending:t.isPending}},yX=()=>{let e=Tn(),t=gn({mutationFn:e=>iX.delete(e),onSuccess:()=>{e.invalidateQueries({queryKey:sX.all})}});return{deleteVolume:t.mutateAsync,isPending:t.isPending}},bX=()=>{let e=Tn(),t=gn({mutationFn:e=>iX.updateDescription(e),onSuccess:()=>{e.invalidateQueries({queryKey:sX.all})}});return{updateVolumeDescription:t.mutateAsync,isPending:t.isPending}},xX=()=>{let e=Tn(),t=gn({mutationFn:e=>iX.deleteFile(e),onSuccess:(t,n)=>{e.invalidateQueries({queryKey:sX.filesAll(n.stageId)})}});return{deleteVolumeFile:t.mutateAsync,isPending:t.isPending}},SX=(e,t)=>{let{allowedRegionId:n,getOptionRegionId:r,tooltip:i}=t;return n?e.map(e=>{let t=r(e);if(!t||t===n)return e;let a={title:i,placement:`top`};return{...e,disabled:!0,tooltip:a}}):e},CX=({collectionName:e,databaseName:t,partitionName:n})=>{let{t:r}=_([`importData`,`volume`]),{checkIsSupportPartition:i,fetchCurrentClusterSupportFeatures:a,getInstanceTypeById:o,getClusterRegionById:s}=Fn(),{clusterId:c=``,projectId:u=``}=l(),{resetField:d,watch:f}=Re(),[p,m,h,g]=f([eA.Collection,nw.ClusterAndDbName,nw.SourceType,nw.Volume]),v=o(c)===Hs.Common,[y=``,b=``]=m||[],x=i(y),S=F(Fe),{data:C}=za((()=>{let e=[y,b,p];return e.every(e=>!!e)&&x?[rA.PARTITION_LIST_URL,...e]:null})(),()=>rA.fetchPartitionList({instanceId:y,databaseName:b,collectionName:p})),{data:{_schemaFields:w}={}}=Hl({clusterId:y,collectionName:p,databaseName:b,enabled:!!(y&&b&&p)}),{data:T=[]}=Ll({clusterId:y,databaseName:v?b:void 0,enabled:!!y&&(!v||!!b)}),{clusterDatabaseOptions:E}=iA(),{data:D={}}=gX(h===tw.Volume||g?u:void 0),O=(0,W.useMemo)(()=>h!==tw.Volume||!g?``:D[g]||``,[h,g,D]),k=(0,W.useMemo)(()=>SX(E,{allowedRegionId:O,tooltip:r(`volume:disabled.notSameRegion.cluster`),getOptionRegionId:e=>s(e.value)||``}),[E,O,s,r]),A=(0,W.useMemo)(()=>!w||!Array.isArray(w)?!0:w.some(e=>e._isPartitionKey),[w]),ee=(0,W.useMemo)(()=>!C||!Array.isArray(C)?[]:C.map(e=>({id:e._name,label:e._name,value:e._name})),[C]),j=(0,W.useMemo)(()=>!!c||!!t,[c,t]),ne=x&&!A,re=(0,W.useMemo)(()=>{let t=T.map(e=>({id:e._collectionName,label:e._collectionName,value:e._collectionName}));return e&&!t.some(t=>t.value===e)?[{id:e,label:e,value:e},...t]:t},[T,e]);(0,W.useEffect)(()=>
48{if(n)return;let e=ee[0]?.value;e&&d(eA.Partition,{defaultValue:e})},[n,ee]),(0,W.useEffect)(()=>{y&&a(y)},[y]);let ie=()=>{S({open:!0,children:(0,G.jsx)(nX,{collection:p,databaseName:b,clusterId:y}),size:`large`})};return(0,G.jsxs)(Qk,{title:r(`importData:destination`),classes:{root:$k.root,main:$k.main},renderHeaderAction:()=>p?(0,G.jsx)(te,{handleClick:ie,text:r(`importData:importTaskDialog.checkSchema.title`)}):null,children:[(0,G.jsx)(`div`,{className:`hidden`,children:(0,G.jsx)(Ft,{name:nw.ClusterAndDbName,componentProps:{label:r(`importData:targetCluster`),options:k.filter(e=>!c||e.id===c),disabled:j,classes:{root:$k.clusterSelector}},handleChange:()=>{d(eA.Collection,{defaultValue:``}),d(eA.Partition,{defaultValue:``})},rules:{required:!0}})}),(0,G.jsx)(Ne,{name:eA.Collection,componentProps:{options:re,label:r(`importData:targetCollection.title`),disabled:e!==``,placeholder:r(`importData:targetCollection.placeholder`)},handleChange:()=>{d(eA.Partition,{defaultValue:``})},rules:{validate:e=>e!==``}}),ne&&(0,G.jsx)(Ne,{name:eA.Partition,componentProps:{label:r(`importData:partition`),options:ee,disabled:!!n}})]})},wX={root:`_root_q9lcg_3`,main:`_main_q9lcg_4`,link:`_link_q9lcg_11`,rotate:`_rotate_q9lcg_1`},TX={root:`_root_10ghr_3`,link:`_link_10ghr_4`,rotate:`_rotate_10ghr_1`},EX=e=>{let{clusterId:t}=e,{t:n}=_([`importData`]),r=F(Fe),i=()=>{r(e=>({...e,open:!1}))};return(0,G.jsx)(ni,{severity:`info`,className:TX.root,children:(0,G.jsx)(d,{i18nKey:`importData:sourceData.note`,t:n,components:[(0,G.jsx)(`a`,{href:zo,target:`_blank`,className:TX.link}),(0,G.jsx)(`span`,{onClick:()=>{r({open:!0,size:`medium`,children:(0,G.jsx)(dY,{subject:n(`importData:importDataZendesk.subject`),desc:n(`importData:importDataZendesk.desc`),clusterId:t,handleCancel:i,isNestDialog:!0})})},className:TX.link})]})})},DX={radioGroup:`_radioGroup_3vezi_3`,label:`_label_3vezi_9`,errorMsg:`_errorMsg_3vezi_13`,rotate:`_rotate_3vezi_1`},OX=({name:e,options:t,label:n,defaultValue:r=``,row:i=!0,componentProps:a={},classes:o={group:``},handleChange:s,...c})=>{let{control:l}=Re();return(0,G.jsx)(_e,{control:l,name:e,defaultValue:r,...c,render:({field:e,fieldState:{error:r}})=>(0,G.jsxs)(zi,{component:`fieldset`,children:[n&&(0,G.jsx)(L,{variant:`h4Medium`,component:`legend`,className:DX.label,children:n}),(0,G.jsx)(Ai,{...e,row:i,onChange:n=>{let r=t.find(e=>e.value.toString()===n.target.value)?.value??n.target.value;e.onChange(r),s?.(r)},classes:{root:R(DX.radioGroup,o.group)},children:t.map(t=>{let{testId:n,...r}=t;return(0,W.createElement)(vi,{...r,key:t.value.toString(),checked:e.value.toString()===t.value.toString(),"data-testid":n,...a})})}),r?.message&&(0,G.jsx)(L,{variant:`body3Regular`,className:DX.errorMsg,children:r?.message})]})})},kX={dataFormatSelect:`_dataFormatSelect_1xw8j_3`,dataFormatLabel:`_dataFormatLabel_1xw8j_4`,menuPaper:`_menuPaper_1xw8j_9`,customFormatOption:`_customFormatOption_1xw8j_20`,title:`_title_1xw8j_1`,desc:`_desc_1xw8j_1`,disabled:`_disabled_1xw8j_24`,rotate:`_rotate_1xw8j_1`},AX={customFormatOption:`_customFormatOption_3iy9h_3`,title:`_title_3iy9h_1`,desc:`_desc_3iy9h_1`,nestedMenuContainer:`_nestedMenuContainer_3iy9h_7`,focused:`_focused_3iy9h_19`,nestedPaper:`_nestedPaper_3iy9h_25`,children:`_children_3iy9h_35`,groupItem:`_groupItem_3iy9h_40`,groupTitleRow:`_groupTitleRow_3iy9h_52`,childItem:`_childItem_3iy9h_59`,rotate:`_rotate_3iy9h_1`},jX=e=>[vD.JSON,vD.JSONL,vD.NDJSON].includes(e),MX=e=>{let{parentMenuOpen:t,label:n,limitText:r,selectedValue:i,childrenItems:a}=e,o=(0,W.useRef)(null),[s,c]=(0,W.useState)(!1),l=s&&t,u=jX(i);return(0,G.jsxs)(`div`,{onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),className:R(AX.nestedMenuContainer,{[AX.focused]:l}),children:[(0,G.jsx)(ii,{ref:o,disabled:!0,selected:u,disableRipple:!0,disableTouchRipple:!0,className:R(AX.customFormatOption,AX.groupItem),children:(0,G.jsxs)(`div`,{className:AX.groupTitleRow,children:[(0,G.jsxs)(`div`,{children:[(0,G.jsx)(L,{className:AX.title,children:n}),r?(0,G.jsx)(L,{className:AX.desc,children:r}):null]}),(0,G.jsx)(La,{size:14})]})}),(0,G.jsx)(mr,{style:{pointerEvents:`none`}
48,hideBackdrop:!0,anchorEl:o.current,anchorOrigin:{vertical:`top`,horizontal:`right`},transformOrigin:{vertical:0,horizontal:`left`},open:!!l,autoFocus:!1,disableAutoFocus:!0,disableEnforceFocus:!0,onClose:()=>c(!1),classes:{paper:AX.nestedPaper},children:(0,G.jsx)(`div`,{className:AX.children,children:a.map(e=>(0,G.jsx)(ii,{selected:i===e.key,disableRipple:!0,disableTouchRipple:!0,onClick:t=>{t.stopPropagation(),e.onItemClick(),c(!1)},className:AX.childItem,children:(0,G.jsx)(L,{variant:`body1Regular`,children:e.label})},e.key))})})]})},NX=`__json_group__`,PX=`JSON_GROUP`,FX=[V.Array,V.SparseFloatVector,V.Geometry],IX=e=>(0,G.jsx)(`span`,{style:{display:`none`},"data-value":e.value},e.id),LX=e=>{let{clusterId:t,selectProps:n={}}=e,{classes:r={root:``},...i}=n,{t:a}=_([`importData`]),{watch:o,setValue:s,resetField:c}=Re(),[l,u,d=[]]=o([nw.SourceType,eA.DataFormat,`fieldSchemas`]),[f,p]=(0,W.useState)(!1),m=(0,W.useRef)(i);m.current=i;let{getInstanceTypeById:h}=Fn(),g=h(t)===Hs.Starter,v=d.some(e=>FX.includes(e._dataTypeValue));(0,W.useEffect)(()=>{c(eA.DataFormat)},[l]);let y=(0,W.useCallback)((e,t)=>{if(t)return``;let n=g?`1 GB`:`1 TB`,r=g?`1 GB`:`10 GB`;return a(`importData:dataFormat.limitation.${e}`,{size:n,subSize:r})},[g,a]),b=(0,W.useCallback)(()=>{p(!1),m.current.onClose?.({})},[]),x=(0,W.useCallback)(e=>{s(eA.DataFormat,e,{shouldDirty:!0,shouldValidate:!0}),b()},[b,s]),S=(0,W.useCallback)((e,t)=>(0,G.jsxs)(ii,{disableRipple:!0,className:R(kX.customFormatOption,e.disabled&&kX.disabled),value:e.value,disabled:e.disabled,children:[(0,G.jsx)(L,{className:kX.title,children:e.label}),t&&(0,G.jsx)(L,{className:kX.desc,children:t})]},e.value),[]),C=(0,W.useCallback)((e,t)=>{let n=e.value===vD.NumPy?`numPyFile`:`jsonFile`,r=y(n,t);return e.disabled?(0,G.jsx)(ma,{tooltip:e.tooltip,children:S(e,r)},e.value):S(e,r)},[y,S]),w=(0,W.useMemo)(()=>{let e=l===tw.File,t=y(`jsonFile`,e),n=[{key:vD.JSON,label:bD.JSON,onItemClick:()=>x(vD.JSON)},{key:vD.JSONL,label:bD.JSONL,onItemClick:()=>x(vD.JSONL)},{key:vD.NDJSON,label:bD.NDJSON,onItemClick:()=>x(vD.NDJSON)}];return[{id:PX,label:a(`importData:dataFormat.options.jsonGroup`),value:NX},{id:`JSON`,label:bD.JSON,value:vD.JSON,hideInMenu:!0},{id:`JSONL`,label:bD.JSONL,value:vD.JSONL,hideInMenu:!0},{id:`NDJSON`,label:bD.NDJSON,value:vD.NDJSON,hideInMenu:!0},{id:`Parquet`,label:bD.Parquet,value:vD.Parquet},{id:`NumPy`,label:bD.NumPy,value:vD.NumPy,disabled:v,tooltip:{title:a(`importData:dataFormat.disabledTips.numpy`),children:(0,G.jsx)(`span`,{}),placement:`right`},hide:e}].filter(e=>!e.hide).map(r=>({...r,generateCustomEle:()=>r.id===PX?(0,G.jsx)(MX,{parentMenuOpen:f,label:r.label,limitText:t,selectedValue:u,childrenItems:n}):r.hideInMenu?IX(r):C(r,e)}))},[v,l,f,u,x,y,C,a]);return(0,G.jsx)(ru,{name:eA.DataFormat,componentProps:{...i,options:w,label:a(`dataFormat.title`),MenuProps:{classes:{paper:kX.menuPaper}},classes:{root:R(kX.dataFormatSelect,r.root),label:kX.dataFormatLabel},open:i.open??f,onOpen:e=>{p(!0),i.onOpen?.(e)},onClose:e=>{p(!1),i.onClose?.(e)},renderValue:e=>{let t=w.find(t=>t.value===e)?.label;return(0,G.jsx)(G.Fragment,{children:t})}}})},RX={fileUploadArea:`_fileUploadArea_173ig_3`,uploadLabelArea:`_uploadLabelArea_173ig_13`,rotate:`_rotate_173ig_1`},zX={succeedBanner:`_succeedBanner_zjy2f_3`,file:`_file_zjy2f_12`,fileInfo:`_fileInfo_zjy2f_16`,fileSize:`_fileSize_zjy2f_20`,deleteFile:`_deleteFile_zjy2f_31`,fileNameGroup:`_fileNameGroup_zjy2f_36`,selectedIcon:`_selectedIcon_zjy2f_40`,grayIcon:`_grayIcon_zjy2f_45`,rotate:`_rotate_zjy2f_1`},BX=e=>{let{name:t,size:n,handleDelete:r}=e,i=(0,W.useMemo)(()=>Is(n),[n]);return(0,G.jsx)(G.Fragment,{children:(0,G.jsxs)(`div`,{className:zX.succeedBanner,children:[(0,G.jsxs)(`div`,{className:zX.file,children:[(0,G.jsx)(Ra,{size:32,className:zX.grayIcon}),(0,G.jsxs)(`div`,{className:zX.fileInfo,children:[(0,G.jsxs)(`div`,{className:zX.fileNameGroup,children:[(0,G.jsx)(L,{variant:`body2Regular`,children:t}),(0,G.jsx)(Fr,{className:zX.selectedIcon})]}),(0,G.jsx)(L,{variant:`body3Regular`,className:zX.fileSize,children:i})]})]}),(0,G.jsx)(fr,{size:`large`,className:zX.deleteFile,onClick:r,children:(0,G.jsx)(ci,{size:14})})]})})},VX=e=>e===vD.JSON||e===vD.JSONL||e===vD.NDJSON,HX=e=>e===vD.JSONL||e===vD.NDJSON,UX={[vD.JSON]:`json`,[vD.JSONL]:`jsonl`,[vD.NDJSON]:`ndjson`,[vD.Parquet]:`parquet`,[vD.NumPy]:`npy`},WX=e=>e?UX[e]:void 0,GX=e=>HX(e)?`text/plain;charset=utf-8`:e===vD.JSON?`application/json;charset=utf-8`:`application/octet-stream`,KX=(e,t)=>{let n=WX(t);return n?`${e}.${n}`:e},qX=(e,t)=>{let n=WX(e);return n?t.toLowerCase().endsWith(`.${n}`):!1},JX=e=>{let{clusterId:t}=e,{getInstanceTypeById:n}=Fn(),r=n(t)===Hs.Starter,{t:i}=_([`importData`]),[a,o]=(0,W.useState)(``),{watch:s,setValue:c}=Re(),[l,u]=s([eA.DataFormat,nw.File]),d=()=>{c(nw.File,void 0)};(0,W.useEffect)(()=>{o(``),d()},[l]);let f=()=>{switch(l){case vD.JSON:return bD.JSON;case vD.JSONL:return bD.JSONL;case vD.NDJSON:return bD.NDJSON;case vD.Parquet:return bD.Parquet;default:return l||``}},p=(0,W.useMemo)(()=>{let e=f();return e?[e]:sw},[l]);return(0,G.jsxs)(`div`,{className:RX.fileUploadArea,children:[(0,G.jsx)(L,{variant:`h4Medium`,children:i(`importData:file.label`)}),u?(0,G.jsx)(BX,{name:u.name,size:u.size,handleDelete:d}):(0,G.jsx)(xa,{fileTypes:p,error:!!a,errorMessage:a,label:i(`importData:file.drag`),desc:(0,G.jsx)(L,{variant:`body3Regular`,color:`textSecondary`,children:i(`importData:dataFormat.limitation.localFile`)}),fileIcon:(0,G.jsx)(pa,{size:32}),handleFileChange:e=>{let t=r?aw:iw,n=qX(l,e.name);e.size<t&&n?(c(nw.File,e),o(``)):o(e.size>=t?i(`importData:file.error.fileSize`,{FILE_SIZE_LIMIT:r?ow:`1GB`}):i(`importData:file.error.fileType`,{dataFormat:f()}
48))},directory:{isDir:!1,handleDirectoryChange:()=>{},handleDirectoryDrop:()=>{o(i(`importData:file.error.fileType`))}},classes:{labelWrapper:RX.uploadLabelArea}})]})},YX={row:`_row_14ryk_1`},XX=e=>{let{clusterId:t}=e;return(0,G.jsxs)(`div`,{children:[(0,G.jsx)(`div`,{className:YX.row,children:(0,G.jsx)(LX,{clusterId:t})}),(0,G.jsx)(JX,{clusterId:t})]})},ZX=e=>({[vD.JSON]:`(?:json|jsonl|ndjson|/)$`,[vD.JSONL]:`(?:json|jsonl|ndjson|/)$`,[vD.NDJSON]:`(?:json|jsonl|ndjson|/)$`,[vD.NumPy]:`(?:npy|/)$`,[vD.Parquet]:`(?:parquet|/)$`,all:`(?:npy|json|jsonl|ndjson|parquet|/)$`})[e||`all`],QX=e=>({[vD.JSON]:`(.*.json|.*.jsonl|.*.ndjson|.*/)$`,[vD.JSONL]:`(.*.json|.*.jsonl|.*.ndjson|.*/)$`,[vD.NDJSON]:`(.*.json|.*.jsonl|.*.ndjson|.*/)$`,[vD.NumPy]:`(.*.npy|.*/)$`,[vD.Parquet]:`(.*.parquet|.*/)$`,all:`(.*.npy|.*.json|.*.jsonl|.*.ndjson|.*.parquet|.*/)$`})[e||`all`],$X=(e,t,n)=>{let r=B?`amazonaws\\.com`:`amazonaws\\.com(\\.cn)?`,i=t?`^(s3://|https://.*s3.*${r}/).*?$`:`^(s3://|https://.*s3.*${r}/).*?.${ZX(n)}`;return new RegExp(i).test(e)},eZ=(e,t,n)=>(t?/^(gs:\/\/|https:\/\/.*storage.*cloud.*google.com\/).*?$/:RegExp(`^(gs://|https://.*storage.*cloud.*google.com/).*?.`+ZX(n))).test(e),tZ=(e,t,n)=>(t?/^https:\/\/.*\.blob\.core\.windows\.net\/.*?$/:RegExp(`^https://.*.blob.core.windows.net/.*/`+QX(n))).test(e),nZ=(e,t,n)=>(t?/^(oss:\/\/|https:\/\/.*\.oss-.*\.aliyuncs\.com\/).*?$/:RegExp(`^(oss://|https://.*.oss-.*.aliyuncs.com/).*?`+ZX(n))).test(e),rZ=(e,t,n)=>(t?/^https:\/\/.*\.cos.*\.myqcloud\.com\/.*?$/:RegExp(`^https://.*.cos.*.myqcloud.com/.*`+ZX(n))).test(e),iZ=(e,t,n,r)=>{switch(e){case P.AWS:return $X(t,n,r);case P.GCP:return eZ(t,n,r);case P.AZURE:return tZ(t,n,r);case P.ALI:return nZ(t,n,r);case P.TENCENT:return rZ(t,n,r);default:return!0}},aZ=(e,t,n)=>{switch(t){case P.AWS:return{cloudPath:n(e===tA.ImportData?`importData:vendorCloudPath.title.s3`:`migration:upload.vendorCloudPath.title.s3`)};case P.GCP:return{cloudPath:n(e===tA.ImportData?`importData:vendorCloudPath.title.gcs`:`migration:upload.vendorCloudPath.title.gcs`)};case P.AZURE:return{cloudPath:n(e===tA.ImportData?`importData:vendorCloudPath.title.azure`:`migration:upload.vendorCloudPath.title.common`)};case P.TENCENT:return{cloudPath:n(e===tA.ImportData?`importData:vendorCloudPath.title.tencent`:`migration:upload.vendorCloudPath.title.common`)};default:return{cloudPath:n(e===tA.ImportData?`importData:vendorCloudPath.title.common`:`migration:upload.vendorCloudPath.title.common`)}}},oZ={inputRoot:`_inputRoot_134jo_3`,container:`_container_134jo_7`,keyContainer:`_keyContainer_134jo_15`,sessionTokenContainer:`_sessionTokenContainer_134jo_26`,rotate:`_rotate_134jo_1`},sZ={credentialLink:`_credentialLink_1ka6c_1`},cZ={[P.AWS]:B?hs:ps,[P.GCP]:jo,[P.AZURE]:Yo,[P.ALI]:cee,[P.TENCENT]:Oo,[P.ALIBABA_CLOUD]:as,[P.HUAWEI]:Ho,[P.EMPTY]:``},lZ={[P.AWS]:Zo,[P.GCP]:yo,[P.AZURE]:bo,[P.ALI]:Uo,[P.TENCENT]:lo,[P.ALIBABA_CLOUD]:Ko,[P.HUAWEI]:cs,[P.EMPTY]:``},uZ=e=>{let{cloudInfo:t,credentialType:n}=e,{t:r}=_(`common`),i=(0,W.useMemo)(()=>{switch(n){case nA.ServiceAccountKey:return cZ[t];case nA.SessionToken:return lZ[t]}},[t,n]);return(0,G.jsx)(te,{classes:{root:sZ.credentialLink},link:i,text:r(`objectStorage.howToGetKeys`)})},dZ=e=>{let{cloudInfo:t,accessFieldName:n=eA.AccessKey,secretFieldName:r=eA.SecretKey,customClasses:i,onKeyDown:a}=e,{t:o}=_([`importData`]),{akLabel:s,skLabel:c}=(0,W.useMemo)(()=>{switch(t){case P.AWS:return{akLabel:o(`importData:vendorCloudPath.accessKeyLabel.s3`),skLabel:o(`importData:vendorCloudPath.secretKeyLabel.s3`)};case P.GCP:return{akLabel:o(`importData:vendorCloudPath.accessKeyLabel.gcs`),skLabel:o(`importData:vendorCloudPath.secretKeyLabel.gcs`)};case P.AZURE:return{akLabel:void 0,skLabel:o(`importData:vendorCloudPath.secretKeyLabel.azure`)};case P.TENCENT:return{akLabel:o(`importData:vendorCloudPath.accessKeyLabel.tencent`),skLabel:o(`importData:vendorCloudPath.secretKeyLabel.tencent`)};default:return{akLabel:o(`importData:vendorCloudPath.accessKeyLabel.common`),skLabel:o(`importData:vendorCloudPath.secretKeyLabel.common`)}}},[t]),l=e=>t=>{a?.(t,e)};return(0,G.jsxs)(`div`,{className:oZ.container,children:[(0,G.jsxs)(`div`,{className:R(oZ.keyContainer,i),children:[s&&(0,G.jsx)(E,{name:n,componentProps:{fullWidth:!0,label:s,classes:{root:oZ.inputRoot},onKeyDown:l(n)},setValueAs:e=>e.trim()}),(0,G.jsx)(E,{name:r,componentProps:{fullWidth:!0,label:c,classes:{root:oZ.inputRoot},onKeyDown:l(r)},setValueAs:e=>e.trim()})]}),(0,G.jsx)(uZ,{cloudInfo:t,credentialType:nA.ServiceAccountKey})]})},fZ={cloudStorageInputGroup:`_cloudStorageInputGroup_qh6bs_3`,pathWrapper:`_pathWrapper_qh6bs_7`,placeholder:`_placeholder_qh6bs_9`,credentialFormWrapper:`_credentialFormWrapper_qh6bs_14`,link:`_link_qh6bs_21`,rotate:`_rotate_qh6bs_1`},pZ=e=>{let{cloudInfo:t,accessFieldName:n=eA.AccessKey,secretFieldName:r=eA.SecretKey,tokenFieldName:i=eA.Token,customClasses:a}=e,{t:o}=_([`importData`]),{akLabel:s,skLabel:c,tokenLabel:l}=(0,W.useMemo)(()=>{switch(t){case P.AWS:return{akLabel:o(`importData:sessionTokenForm.accessKeyLabel.aws`),skLabel:o(`importData:sessionTokenForm.secretKeyLabel.aws`),tokenLabel:o(`importData:sessionTokenForm.tokenTitle.aws`)};case P.GCP:return{akLabel:void 0,skLabel:void 0,tokenLabel:o(`importData:sessionTokenForm.tokenTitle.gcs`)};case P.AZURE:return{akLabel:void 0,skLabel:void 0,tokenLabel:o(`importData:sessionTokenForm.tokenTitle.azure`)};case P.TENCENT:return{akLabel:o(`importData:sessionTokenForm.accessKeyLabel.tencent`),skLabel:o(`importData:sessionTokenForm.secretKeyLabel.tencent`),tokenLabel:o(`importData:sessionTokenForm.tokenTitle.tencent`)};case P.ALI:return{akLabel:o(`importData:sessionTokenForm.accessKeyLabel.ali`),skLabel:o(`importData:sessionTokenForm.secretKeyLabel.ali`),tokenLabel:o(`importData:sessionTokenForm.tokenTitle.ali`)};default:return{akLabel:void 0,skLabel:void 0,tokenLabel:void 0}}},[t]);return(0,G.jsxs)(`div`,{className:oZ.container,children:[s&&c&&(0,G.jsxs)(`div`,{className:R(oZ.keyContainer,a),children:[s&&(0,G.jsx)(E,{name:n,componentProps:{fullWidth:!0,label:s,classes:{root:oZ.inputRoot}},setValueAs:e=>e.trim()}),c&&(0,G.jsx)(E,{name:r,componentProps:{fullWidth:!0,label:c,classes:{root:oZ.inputRoot}},setValueAs:e=>e.trim()})]}),l&&(0,G.jsx)(E,{name:i,componentProps:{fullWidth:!0,label:l,classes:{root:oZ.inputRoot}},setValueAs:e=>e.trim()}),(0,G.jsx)(uZ,{cloudInfo:t,credentialType:nA.SessionToken})]})}
48,mZ={radioWrapper:`_radioWrapper_1fb8t_3`,rotate:`_rotate_1fb8t_1`},hZ=e=>{let{credentialType:t,setCredentialType:n,setRadioCb:r}=e,{t:i}=_([`importData`,`migration`]);return(0,G.jsxs)(`div`,{children:[(0,G.jsx)(L,{variant:`h4Medium`,children:i(`importData:sessionTokenForm.credentialType`)}),(0,G.jsxs)(`div`,{className:mZ.radioWrapper,children:[(0,G.jsx)(vi,{label:i(`importData:radio.longTerm`),checked:t===nA.ServiceAccountKey,onClick:()=>{n(nA.ServiceAccountKey),r&&r()}}),(0,G.jsx)(vi,{label:i(`importData:radio.temp`),checked:t===nA.SessionToken,onClick:()=>{n(nA.SessionToken),r&&r()}})]})]})},gZ=e=>{let{cloudInfo:t,isDirPath:n=!1,classes:r={root:``,pathContainer:``,keysContainer:``},cloudFormUsage:i=tA.ImportData,dataFormat:a,needReset:o=!0}=e,{t:s}=_([`importData`,`migration`]),{resetField:c,trigger:l,getValues:u,setValue:f}=Re(),[p,m]=(0,W.useState)(nA.ServiceAccountKey),h=e=>{switch(e){case vD.NumPy:return`importData:tip.uploadTip.numpy`;case vD.JSON:case vD.JSONL:case vD.NDJSON:case vD.Parquet:return`importData:tip.uploadTip.jsonOrParquet`;default:return`importData:tip.uploadTip.migration`}},g=e=>{switch(e){case vD.NumPy:case vD.JSON:case vD.JSONL:case vD.NDJSON:case vD.Parquet:return Jo;default:return po}};(0,W.useEffect)(()=>()=>{o&&(c(eA.Path),c(eA.AccessKey),c(eA.SecretKey))},[]),(0,W.useEffect)(()=>{u(eA.Path)&&l(eA.Path)},[a,t]);let{cloudPath:v}=(0,W.useMemo)(()=>aZ(i,t,s),[i,t]);return(0,G.jsx)(G.Fragment,{children:(0,G.jsxs)(`div`,{className:R(fZ.cloudStorageInputGroup,r.root),children:[(0,G.jsxs)(`div`,{className:R(fZ.pathWrapper,r.pathContainer),children:[(0,G.jsx)(iu,{name:eA.Path,rules:{required:!0,validate:e=>iZ(t,e,n)||s(`importData:vendorCloudPath.error`)},componentProps:{fullWidth:!0,label:(0,G.jsx)(ye,{children:v}),placeholder:s(`importData:tip.input`),prefixComponent:(0,G.jsx)(Qi,{})}}),(0,G.jsx)(L,{variant:`body3Regular`,component:`p`,className:fZ.placeholder,children:(0,G.jsx)(d,{t:s,i18nKey:h(a),components:[(0,G.jsx)(`a`,{href:g(a),target:`_blank`,rel:`noopener noreferrer`,className:fZ.link})]})})]}),(0,G.jsx)(hZ,{credentialType:p,setCredentialType:m,setRadioCb:()=>{f(eA.AccessKey,``),f(eA.SecretKey,``),f(eA.Token,``)}}),(0,G.jsx)(`div`,{className:fZ.credentialFormWrapper,children:p===nA.ServiceAccountKey?(0,G.jsx)(dZ,{cloudInfo:t,customClasses:r.keysContainer}):(0,G.jsx)(pZ,{cloudInfo:t,customClasses:r.keysContainer})})]})})},_Z={remoteCloudPopper:`_remoteCloudPopper_1kj9b_3`,rotate:`_rotate_1kj9b_1`},vZ={inlineChoice:`_inlineChoice_xgpgm_3`,rotate:`_rotate_xgpgm_1`},yZ=e=>{let{t}=_(`importData`),{cloud:n,text:r,classes:i,typographyProps:a={}}=e,{root:o,title:s}=i||{};switch(n){case P.AWS:return(0,G.jsxs)(`div`,{className:R(vZ.inlineChoice,o),children:[B?(0,G.jsx)(Xi,{width:20,height:20}):(0,G.jsx)($i,{height:13,width:`auto`}),(0,G.jsx)(L,{className:R(vZ.title,s),...a,children:r||t(`choice.amazonCloud`)})]});case P.GCP:return(0,G.jsxs)(`div`,{className:R(vZ.inlineChoice,o),children:[(0,G.jsx)(Na,{width:20,height:20}),(0,G.jsx)(L,{className:R(vZ.title,s),...a,children:r||t(`choice.googleCloud`)})]});case P.AZURE:return(0,G.jsxs)(`div`,{className:R(vZ.inlineChoice,o),children:[(0,G.jsx)(ji,{width:20,height:20}),(0,G.jsx)(L,{className:R(vZ.title,s),...a,children:r||t(`choice.azureCloud`)})]});case P.ALIBABA_CLOUD:return(0,G.jsxs)(`div`,{className:R(vZ.inlineChoice,o),children:[(0,G.jsx)(Ji,{width:20,height:20}),(0,G.jsx)(L,{className:R(vZ.title,s),...a,children:r||t(`choice.ali`)})]});case P.ALI:return(0,G.jsxs)(`div`,{className:R(vZ.inlineChoice,o),children:[(0,G.jsx)(Ea,{width:20,height:20}),(0,G.jsx)(L,{className:R(vZ.title,s),...a,children:r||t(`choice.ali`)})]});case P.TENCENT:return(0,G.jsxs)(`div`,{className:R(vZ.inlineChoice,o),children:[(0,G.jsx)(_i,{width:20,height:20}),(0,G.jsx)(L,{className:R(vZ.title,s),...a,children:r||t(`choice.tencent`)})]});case P.HUAWEI:return(0,G.jsxs)(`div`,{className:R(vZ.inlineChoice,o),children:[(0,G.jsx)(Qr,{width:20,height:20}),(0,G.jsx)(L,{className:R(vZ.title,s),children:r||t(`choice.hwc`)})]});default:return n}},bZ=(e,t,n,r)=>{let i=(0,G.jsx)(jc,{cloudProvider:e,...e===P.AWS&&!B?{width:`auto`,height:14}:r??{}}),a=io.S3,o=``;switch(e){case P.AWS:a=io.S3,o=t(n?`cloudProvider.awsFull`:`cloudProvider.aws`);break;case P.GCP:a=io.GCS,o=t(`cloudProvider.gcp`);break;case P.ALI:a=io.OSS,o=t(`cloudProvider.ali`);break;case P.TENCENT:a=io.TENCENT,o=t(`cloudProvider.tc`);break;case P.AZURE:a=io.AZURE,o=t(`cloudProvider.azure`);break;case P.HUAWEI:a=io.S3,o=t(`cloudProvider.hwc`);break;default:a=io.S3;break}return{storageLabel:a,cloudIcon:i,cloudLabel:o}},xZ={[P.AWS]:`AWS`,[P.GCP]:`GCP`,[P.AZURE]:`Azure`,[P.ALI]:`é¿éäº`,[P.TENCENT]:`è
¾è®¯äº`,[P.HUAWEI]:`å为äº`},SZ=[P.ALI,P.TENCENT,P.AWS],CZ=[P.AWS,P.AZURE,P.GCP],wZ=bs?CZ:SZ,TZ=[P.GCP,P.AZURE,P.ALI,P.TENCENT,P.ALIBABA_CLOUD,P.HUAWEI];bs?[P.AWS,...TZ]:[...TZ,P.AWS];var EZ=()=>{let{t:e}=_([`importData`]),t=(0,W.useMemo)(()=>wZ.map(e=>({id:e,value:e,label:(0,G.jsx)(yZ,{cloud:e})})),[]),n=B?P.AWS:P.ALI,r=e=>e===P.ALIBABA_CLOUD?P.ALI:e;return(0,G.jsx)(Ne,{name:eA.CloudProvider,defaultValue:n,setValueAs:e=>
48r(e),componentProps:{options:t,label:e(`importData:choice.oss`),MenuProps:{classes:{paper:_Z.remoteCloudPopper}},fullWidth:!0}})},DZ={root:`_root_1r49k_3`,dataFormatSelect:`_dataFormatSelect_1r49k_4`,cloudFormRoot:`_cloudFormRoot_1r49k_8`,cloudKeysContainer:`_cloudKeysContainer_1r49k_9`,row:`_row_1r49k_14`,rotate:`_rotate_1r49k_1`},OZ=e=>{let{clusterId:t}=e,{watch:n}=Re(),[r,i]=n([eA.CloudProvider,eA.DataFormat]);return(0,G.jsxs)(`div`,{className:DZ.root,children:[(0,G.jsx)(`div`,{className:DZ.row,children:(0,G.jsx)(EZ,{})}),(0,G.jsx)(`div`,{className:DZ.row,children:(0,G.jsx)(LX,{clusterId:t,selectProps:{classes:{root:DZ.dataFormatSelect}}})}),(0,G.jsx)(gZ,{cloudInfo:r,dataFormat:i,classes:{root:DZ.cloudFormRoot,keysContainer:DZ.cloudKeysContainer}})]})},kZ={root:`_root_duool_3`,row:`_row_duool_11`,linkIcon:`_linkIcon_duool_17`,rotate:`_rotate_duool_1`},AZ=({clusterId:e,volumeOptions:t,fromVolume:n,volumeConfig:r})=>{let{t:i}=_([`importData`]);return(0,G.jsxs)(`div`,{className:kZ.root,children:[(0,G.jsx)(`div`,{className:kZ.row,children:(0,G.jsx)(LX,{clusterId:e,selectProps:{disabled:!!r?.dataFormat}})}),(0,G.jsx)(`div`,{className:kZ.row,children:(0,G.jsx)(Ne,{name:nw.Volume,componentProps:{label:i(`importData:volume.select`),options:t,maxWidth:320,disabled:n},rules:{required:!0}})}),(0,G.jsx)(E,{name:nw.VolumePath,componentProps:{fullWidth:!0,prefixComponent:(0,G.jsx)(Qi,{className:kZ.linkIcon}),label:i(`importData:volume.stageFilePath`),disabled:n},rules:{required:!0}})]})},jZ=[P.AWS,P.GCP,P.ALI],MZ=(e=!1)=>e?[...jZ,P.AZURE]:[...jZ],NZ=(e,t)=>e._cloudId!==P.AZURE||t&&e._type===gee.External,PZ=e=>{let{volumeConfig:t,showVolume:n,isExternalVolumeAzureEnabled:r}=e,i=!!t?.stageId,{t:a}=_([`importData`,`betaFeatures`,`volume`]),{projectId:o=``}=l(),{watch:s,setValue:c}=Re(),[u,d,f]=s([nw.SourceType,eA.Collection,nw.ClusterAndDbName]),{isByocOrg:p}=Kt(),{getClusterRegionById:m}=Fn(),[h=``,g=``]=f||[],{data:{_schemaFields:v=[]}={}}=Hl({clusterId:h,collectionName:d,databaseName:g,enabled:!i&&!!h}),y=p?void 0:o,{data:b=[]}=dX(y,!0,(0,W.useCallback)(e=>NZ(e,r),[r])),{data:x={}}=gX(y),S=h&&m(h)||``,C=(0,W.useMemo)(()=>i||!S||u!==tw.Volume?b:b.filter(e=>{let t=x[e.value];return!t||t===S}),[i,S,u,b,x]),w=(0,W.useMemo)(()=>[{label:a(`importData:choice.file`),value:tw.File,disabled:p},{label:a(`importData:choice.oss`),value:tw.CloudStorage},{label:a(`importData:choice.volume`),value:tw.Volume,disabled:!n}].filter(e=>!e.disabled),[n,p]);return(0,W.useEffect)(()=>{c(`fieldSchemas`,v)},[v]),(0,G.jsxs)(Qk,{title:a(`importData:sourceData.title`),classes:{root:wX.root,main:wX.main},children:[(0,G.jsx)(EX,{clusterId:h}),!i&&(0,G.jsx)(OX,{label:a(`importData:dataLocation`),name:nw.SourceType,options:w}),{[tw.File]:(0,G.jsx)(XX,{clusterId:h}),[tw.CloudStorage]:(0,G.jsx)(OZ,{clusterId:h}),[tw.Volume]:(0,G.jsx)(AZ,{clusterId:h,volumeOptions:C,fromVolume:i,volumeConfig:t})}[u]||null]})},FZ=e(Ql()),IZ=()=>{let{t:e}=_([`importData`]),{watch:t}=Re(),[n,r,i=[]]=t([nw.SourceType,eA.DataFormat,`fieldSchemas`]),{filteredFieldSchema:a}=(0,W.useMemo)(()=>{let e=[],t=i.filter(e=>!e._autoId&&!e._isFunctionOutputField);return t.forEach(t=>e.push(` ${t._fieldName}.npy`)),{filteredFieldSchema:t}},[i]);return n!==tw.File||!VX(r)?(0,G.jsx)(`div`,{}):(0,G.jsx)(au,{type:`hide`,children:i.length>0?(0,G.jsx)(z,{onClick:e=>{e.stopPropagation();let t=HX(r)?Gre(a):JSON.stringify(gD(a)),n=KX(cw,r),i=GX(r);(0,FZ.saveAs)(new Blob([t],{type:i}),n)},startIcon:(0,G.jsx)(_r,{size:14}),variant:`textBlack`,withMargin:!1,children:e(`importData:file.exampleFile`)}):(0,G.jsx)(`div`,{children:ds.UNKNOWN})})},LZ=[],RZ=e=>{let{completeCb:t=()=>{},targetClusterId:n,partitionName:r=``,collectionName:i=``,databaseName:a=``,volumeConfig:o={}}=e,{t:s}=_([`common`,`importData`]),{clusterId:c=``,projectId:u=``}=l(),d=n||c,f=F(Fe),{fullClusterList:p}=Fn(),{featureList:m}=bc(),{isByocOrg:h}=Kt(),g=(0,W.useMemo)(()=>p.find(e=>e._instanceId===d),[d,p]),{data:v=[],isLoading:y}=uX(u||g?._projectId||``),[b,x]=(0,W.useState)(TD.BulkLoadStateNone),[S,C]=(0,W.useState)(!1),[w,T]=(0,W.useState)(``),[E,D]=(0,W.useState)([]),[O,k]=(0,W.useState)(lw),[ee,te]=(0,W.useState)([]),[ne,re]=(0,W.useState)(0),[ie,M]=(0,W.useState)(0),ae=(0,W.useRef)(void 0),[oe,se]=Lt(A),[ce]=ou([Gs.ExternalVolumeAzure]),le=(0,W.useMemo)(()=>MZ(ce),[ce]),{defaultRemoteCloud:ue,showVolume:de}=(0,W.useMemo)(()=>{let e=g?._cloudId||P.EMPTY,t=B?P.AWS:P.ALI;return{defaultRemoteCloud:e===P.EMPTY?t:e,showVolume:le.includes(e)}},[g,le]),fe=(0,W.useMemo)(()=>v.find(e=>e._id===o.stageId),[v,o.stageId]),pe=(0,W.useMemo)(()=>o.stageId?!m.isLoaded||y?`loading`:fe&&NZ(fe,ce)?`valid`:`invalid`:`none`,[m.isLoaded,y,ce,fe,o.stageId]),me=`${o.stageId||`no-stage`}-${ie}`;(0,W.useEffect)(()=>
48{if(!o.stageId){ae.current=void 0;return}ae.current!==void 0&&ae.current!==pe&&pe===`valid`&&M(e=>e+1),ae.current=pe},[o.stageId,pe]);let he=pe===`valid`?o:{},ge=(0,W.useMemo)(()=>h?tw.CloudStorage:he.stageId?tw.Volume:tw.File,[he.stageId,h]),_e=async(e,t,n)=>{let r=[{fileHash:t,fileName:e.name,fileSize:e.size}],o=(await wD.bulkloadPartInit({collectionName:i,fileInfos:r,instanceId:d,type:CD.SingleFile,databaseName:a,partitionName:n}))[0]||{};k({completedPartNumber:o._completedPartNumber,isCompleted:o._isCompleted,isStart:o._isStart,uploadId:o._uploadId,oldUploadId:``})},ve=async e=>{let{importFile:t,...n}=e,{partitionName:r}=n;if(T(t.name),Ce(),t.size>5242880){let e=_D(t);D(e);let n=await dD(e);try{await _e(t,n,r),x(TD.MultiUploading)}catch(e){throw e}return!0}let i=new FormData;Object.entries(n).forEach(([e,t])=>{i.append(e,t)});let a=new Blob([t],{type:t.type===`application/json`?`application/json;charset=utf-8`:`application/vnd.apache.parquet;charset=utf-8`});return i.append(`importFile`,a,t.name),await SD.importLocalData(i),!1},ye=async e=>{await SD.importStorageData(e)},be=async e=>{await SD.importVolumeData(e)},xe=async e=>{C(!0);try{let{sourceType:n,clusterAndDbName:r,stagePath:i,path:a,userToken:o,fileType:s,collectionName:c,partitionName:l,accessKey:u,secretKey:d,stageId:f,importFile:p}=e,[m,h=``]=r||[],g=!1,_={collectionName:c,fileType:s,instanceId:m,...h?{databaseName:h}:{},...l?{partitionName:l}:{}};switch(n){case tw.Volume:await be({..._,stageId:f,dataPaths:[[i]]});break;case tw.File:g=await ve({..._,importFile:p});break;case tw.CloudStorage:await ye({..._,objectUrls:[[a]],token:o,accessKey:u,secretKey:d});break}g||(se(e=>({...e,open:!1})),t())}finally{C(!1)}},Se=async e=>{let{index:t,chunk:n,size:r}=e,i=new AbortController,a=i.signal;LZ.push(i);let o=new FormData;o.append(`instanceId`,d),o.append(`partFile`,n),o.append(`partNumber`,t),o.append(`partSize`,r),o.append(`uploadId`,O.uploadId);try{return await wD.fileChunkUpload(o,a)}catch(e){throw e}};(0,W.useEffect)(()=>{if(!E.length||!O.uploadId)return;let e=()=>{let e=O.completedPartNumber||[],t=E.map(({file:e},t)=>({index:(t+1).toString(),chunk:e,size:e.size.toString()})).filter(t=>!e.includes(Number(t.index))),n=[];return t.forEach(e=>{n.push(async()=>await Se(e))}),n};(async()=>{try{await kD(e(),te,2),await wD.bulkloadPartComplete({instanceId:d,uploadId:O.uploadId}),f(e=>({...e,open:!1})),se(e=>({...e,open:!1})),t()}catch{we(O)}})()},[E,O.uploadId]),(0,W.useEffect)(()=>{if(!E.length||!O.uploadId)return;let e=E.length,t=(O.completedPartNumber||[]).length+ee.length,n=Number((t/e*100).toFixed(0));re(n)},[E,ee,O.uploadId]),(0,W.useEffect)(()=>{b===TD.MultiUploading&&f({open:!0,children:(0,G.jsx)(jD,{percent:ne,handleCancel:()=>Te(ED.UserCancel,O),isNestDialog:!0,usage:`import`,fileName:w||``})})},[b,ne]);let Ce=()=>{D([]),k(lw),re(0),te([]),x(TD.BulkLoadStateNone)},we=async e=>{LZ.forEach(e=>e.abort()),LZ=[],Ce(),f(e=>({...e,open:!1})),await wD.bulkloadPartCancel({instanceId:d,uploadId:e.uploadId})},Te=async(e,t,n)=>{x(TD.Cancel),f({open:!0,children:(0,G.jsx)(Xk,{onCancelPartUpload:()=>{n&&n.retry(),we(t),x(TD.BulkLoadStateNone)},cancelType:e,cancelSource:qk.CollectionImport,onBack:()=>x(TD.MultiUploading)})})};return Gk(e=>Te(ED.LeavePage,O,e),O.uploadId!==``&&ne<100),(0,G.jsxs)(sc,{title:s(`importData:title`),confirmLabel:s(S?`importData:importLoadingLabel`:`importData:importLabel`),handleConfirm:xe,confirmLoading:S,handleCancel:()=>{se(e=>({...e,open:!1}))},classes:{root:ew.container,content:ew.content,actions:ew.actions,formMain:ew.formMain},actionChildren:(0,G.jsx)(IZ,{}),type:j.Form,useFormProps:{defaultValues:{...he,[eA.DataFormat]:he.dataFormat||vD.JSON,[nw.ClusterAndDbName]:[d,a].filter(e=>!!e),[nw.SourceType]:ge,[nw.File]:void 0,[eA.CloudProvider]:ue,[eA.Collection]:i,[eA.Partition]:r,fieldSchemas:[]}},confirmBtnProps:{id:ws.Import_500},needTrimValues:!1,showContentSpacingAfterScroll:!0,children:[(0,G.jsx)(CX,{collectionName:i,databaseName:a,partitionName:r}),(0,G.jsx)(PZ,{volumeConfig:he,showVolume:de,isExternalVolumeAzureEnabled:ce})]},me)},zZ={message:`_message_b1ipp_1`},BZ=()=>{let{message:e,closeSnackbar:t}=Ga(),{t:n}=_([`importData`,`common`]),{handleViewJobsClick:r}=su();return{openJobSubmittedMessage:(0,W.useCallback)((i={})=>{let{title:a,msg:o,targetProjectId:s,hideActions:c}=i;e.success({title:(0,G.jsx)(L,{variant:`h4Semibold`,children:a||n(`importData:jobSubmittedDialog.title`)}),message:(0,G.jsx)(L,{variant:`body1Regular`,children:o||n(`importData:jobSubmittedDialog.desc`)})},void 0,{classes:{message:zZ.message},actions:c?void 0:{confirm:{children:n(`importData:jobSubmittedDialog.viewJob`),onClick:()=>{r(s),t()}}}})},[])}},VZ=()=>{let{t:e}=_([`common`,`collections`,`onboard`,`importData`]),{projectId:t=``,collectionName:n=``,databaseName:r=``}=l(),i=F(A),{openJobSubmittedMessage:a}=BZ();return{openImportDialog:o=>{let{onSuccess:s,partitionName:c,collectionName:l,databaseName:u,volumeConfig:d}=o??{};i({open:!0,size:`large`,children:(0,G.jsx)(RZ,{collectionName:l??n,databaseName:u??r,partitionName:c,volumeConfig:d,completeCb:()=>{a({title:e(`importData:jobSubmittedDialog.title`),msg:e(`importData:jobSubmittedDialog.desc`),targetProjectId:t}),s?.()}})})}}},HZ=e=>{let{canWrite:t,tooltip:n,isLoading:r}=GY(),{t:i}=_([`common`]),a=!e,o=!t;return{disabled:a||o,tooltip:(()=>
48{if(o)return n||i(`common:permission.readOnlyNotAllowed`);if(a)return i(`common:tooltip.clusterStatus`)})(),isLoading:r}};function UZ(e=`read`,t){let{canAction:n}=ur();return n(I.OnDemandComputeData,e,{resourceId:t})}function WZ(e){let{clusterId:t=``}=l(),{getCurrentCluster:n}=Fn(),r=e||t;if(!r)return`regular-cluster`;let i=n(r);return i?i._instanceType===Hs.CatalogCluster?`project-database`:`regular-cluster`:`unknown`}function GZ(e){let{clusterId:t=``}=l(),n=e||t,r=WZ(e),i=UZ(`read`,n);return r===`project-database`&&i}var KZ=({clusterId:e,databaseName:t,collectionName:n})=>{let{data:r,isFetching:i}=Hl({clusterId:e,databaseName:t,collectionName:n,refetchOnMount:`always`});return{aliases:(0,W.useMemo)(()=>[...r?._aliases??[]].sort((e,t)=>e.localeCompare(t)),[r?._aliases]),isFetching:i}},qZ=({clusterId:e,databaseName:t,collectionName:n})=>{let{t:r}=_([`collectionAlias`,`common`]),{message:i}=Ga(),{getCollectionNameRules:a}=WC(),{createAlias:o,isPending:s}=Ul();return(0,G.jsx)(sc,{title:r(`collectionAlias:createTitle`,{collectionName:n}),confirmLabel:r(`collectionAlias:create`),confirmLoading:s,type:j.Form,useFormProps:{defaultValues:{aliasName:``}},handleConfirm:async(a,s)=>{try{await o({clusterId:e,databaseName:t,collectionName:n,aliasName:a.aliasName})}catch{return}i.success({title:r(`collectionAlias:createSuccess.title`),message:r(`collectionAlias:createSuccess.message`,{aliasName:a.aliasName,collectionName:n})}),s()},children:(0,G.jsx)(iu,{name:`aliasName`,componentProps:{label:r(`collectionAlias:aliasName`),fullWidth:!0,inputProps:{"data-testid":`collection-alias-input-name`}},rules:a()})})},JZ=({clusterId:e,databaseName:t,collectionName:n})=>{let{t:r}=_([`collectionAlias`,`common`]),{message:i}=Ga(),{aliases:a,isFetching:o}=KZ({clusterId:e,databaseName:t,collectionName:n}),{data:s=[],isFetching:c}=Ll({clusterId:e,databaseName:t}),{alterAlias:l,isPending:u}=Wl(),d=(0,W.useMemo)(()=>a.map(e=>({label:e,value:e})),[a]),f=(0,W.useMemo)(()=>s.map(e=>e._collectionName).filter(e=>e!==n).sort((e,t)=>e.localeCompare(t)).map(e=>({label:e,value:e})),[s,n]);return(0,G.jsx)(sc,{title:r(`collectionAlias:alterTitle`,{collectionName:n}),confirmLabel:r(`collectionAlias:alter`),confirmLoading:u,confirmDisabled:f.length===0,type:j.Form,useFormProps:{defaultValues:{aliasName:``,targetCollectionName:``}},handleConfirm:async(a,o)=>{try{await l({clusterId:e,databaseName:t,sourceCollectionName:n,targetCollectionName:a.targetCollectionName,aliasName:a.aliasName})}catch{return}i.success({title:r(`collectionAlias:alterSuccess.title`),message:r(`collectionAlias:alterSuccess.message`,{aliasName:a.aliasName,collectionName:a.targetCollectionName})}),o()},children:(0,G.jsxs)(`div`,{className:`flex flex-col gap-4`,"data-testid":`alter-alias-dialog`,children:[(0,G.jsx)(Ne,{name:`aliasName`,rules:{required:r(`common:warning.required`,{name:r(`collectionAlias:aliasName`)})},componentProps:{fullWidth:!0,label:r(`collectionAlias:aliasName`),placeholder:r(`collectionAlias:selectAlias`),options:d,loading:o,inputProps:{"data-testid":`alter-alias-select-alias`}}}),(0,G.jsx)(Mt,{name:`targetCollectionName`,rules:{required:r(`common:warning.required`,{name:r(`collectionAlias:targetCollection`)})},componentProps:{label:r(`collectionAlias:targetCollection`),placeholder:r(`collectionAlias:selectTarget`),options:f,disabled:c||f.length===0,noOptionsText:r(`collectionAlias:noTargetCollections`),dataTestId:`alter-alias-select-target`}}),!c&&f.length===0&&(0,G.jsx)(L,{variant:`body2Regular`,color:`text.secondary`,children:r(`collectionAlias:noTargetCollections`)})]})})},YZ=({clusterId:e,databaseName:t,collectionName:n})=>{let{t:r}=_([`collectionAlias`,`common`]),{message:i}=Ga(),{aliases:a,isFetching:o}=KZ({clusterId:e,databaseName:t,collectionName:n}),{dropAlias:s,isPending:c}=See(),l=(0,W.useMemo)(()=>a.map(e=>({label:e,value:e})),[a]);return(0,G.jsx)(sc,{title:r(`collectionAlias:deleteTitle`,{collectionName:n}),confirmLabel:r(`collectionAlias:delete`),confirmType:Ve.Delete,confirmLoading:c,type:j.Form,useFormProps:{defaultValues:{aliasName:``}},handleConfirm:async(a,o)=>{try{await s({clusterId:e,databaseName:t,collectionName:n,aliasName:a.aliasName})}catch{return}i.success({title:r(`collectionAlias:dropSuccess.title`),message:r(`collectionAlias:dropSuccess.message`,{aliasName:a.aliasName,collectionName:n})}),o()},children:(0,G.jsx)(Ne,{name:`aliasName`,rules:{required:r(`common:warning.required`,{name:r(`collectionAlias:aliasName`)})},componentProps:{fullWidth:!0,label:r(`collectionAlias:aliasName`),placeholder:r(`collectionAlias:selectAlias`),options:l,loading:o,inputProps:{"data-testid":`delete-alias-select-alias`}}})})},XZ=tu(qZ,{size:`medium`}),ZZ=tu(JZ,{size:`medium`}),QZ=tu(YZ,{size:`medium`});P.AWS,P.ALI;var $Z=e=>{let{t}=_([`collections`,`common`,`deployments`]),{data:n,loading:r,isSupportRelease:i,disabled:a,tooltip:o}=e;return(0,G.jsx)(z,{variant:r?`contained`:`outlined`,endIcon:r?void 0:(0,G.jsx)(Mi,{}),loading:r,className:R(QC.dropDownRoot,n.className,{[QC.loading]:r}),disabled:r||a,tooltip:{title:o||void 0},size:`small`,children:(0,G.jsx)(L,{variant:`h4Medium`,children:t(r?i?`collections:detail.general.releasing`:`common:loading`:`collections:detail.general.actions`)})})},eQ=e=>{let{handleLoadOrReleaseCollection:t,handleDelete:n,collectionStatus:r,handleRename:i,isStarter:a,isServerless:o,handleCopy:s,handleCopyFromSchema:c,handleCreateSnapshot:d,handleTruncate:f,isAllowCollectionWrite:p,isAllowImport:m,isAllowCopyWithData:h,isAllowCreateBackup:g,clusterInfo:v,collectionCount:y,handleMove:b,handleCreateIndex:x=()=>{},renderCustomMenu:S,collectionName:C,databaseName:w,aliases:T,isNeedDataAction:E=!0,isSupportLoadOrRelease:D=!0,hideLoadOrReleaseActions:O,isExternal:k=!1,hideDataRowActions:A=!1}=e,ee=wa(),{t:j}=_([`deployments`,`project`,`collections`,`common`,`database`,`importData`,`betaFeatures`,`collectionAlias`]),[te,ne]=(0,W.useState)(!1),re=u(),{generateCollectionUrl:ie}=$C(),{openImportDialog:M}=VZ(),{isByocOrg:oe}=Kt(),se=HZ(p),ce=GZ(),le=WZ(),ue=O??le!==`regular-cluster`,{clusterId:de=``}=l(),{checkIsSupportTruncateCollection:fe}=Fn(),{open:pe}=XZ(),{open:me}=ZZ(),{open:he}=QZ(),ge=!oe&&fe(de),{isSupportRelease:_e}=(0,W.useMemo)(()=>({isSupportRelease:r!==Wc.Unloaded}),[r]),ve=(0,W.useMemo)(()=>{let e={key:`divider`,label:(0,G.jsx)(G.Fragment,{})},t=a||o;v._cloudId;let r=T!==void 0,l={key:`releadeOrLoad`,onItemClick:()=>ye(_e),label:j(_e?`collections:detail.general.release`:`collections:detail.general.load`),variant:`text`,hide:!D||ue,"data-event":_e?vs.RELEASE_COLLECTION:vs.LOAD_COLLECTION,"data-from":ys.DROP_DOWN},u={variant:`text`,key:`renameCollection`,label:j(`common:button.rename`),onItemClick:i,hide:!p},_={clusterId:de,databaseName:w,collectionName:C},y={variant:`text`,key:`createCollectionAlias`,label:j(`collectionAlias:create`),onItemClick:()=>pe(_),hide:!r||!p,"data-testid":`collection-alias-menu-create-detail`},S={variant:`text`,key:`alterCollectionAlias`,label:j(`collectionAlias:alter`),onItemClick:()=>me(_),hide:!r||!p||(T?.length??0)===0,"data-testid":`collection-alias-menu-alter-detail`},O={variant:`text`,key:`deleteCollectionAlias`,label:j(`collectionAlias:delete`),onItemClick:()=>he(_),hide:!r||!p||(T?.length??0)===0,"data-testid":`collection-alias-menu-delete-detail`},te={variant:`text`,key:`copyCollectionWithData`,label:j(`collections:copy.menu.cloneWithData`),onItemClick:s,hide:!h||!p||k||A},ne={variant:`text`,key:`copyCollectionFromSchema`,label:j(`collections:copy.menu.cloneFromSchema`),onItemClick:c,hide:!p},ae=!!v._kmsKeyIdentifier,se={variant:`text`,key:`moveCollection`,label:j(`database:move.btn`),onItemClick:b,hide:t||!p||ae||k||A},le={variant:`text`,key:`createSnapshot`,label:j(`deployments:createSnapshot`),onItemClick:d,hide:t||!g||ce||k||A},fe={key:`truncateCollection`,onItemClick:f,label:(0,G.jsx)(L,{color:ee.red.red2,children:j(`collections:detail.general.truncate`)}),variant:`text`,hide:!p||!ge||k||A},ve={key:`deleteCollection`,onItemClick:n,label:(0,G.jsx)(L,{color:ee.red.red2,children:j(`collections:detail.general.delete`)}),variant:`text`,"data-event":vs.DELETE_COLLECTION,"data-from":ys.DROP_DOWN,"data-action":Ds.OPEN,hide:!p},be={key:`insert`,label:j(`collections:detail.general.insert`),variant:`text`,onItemClick:()=>{let e=ie({databaseName:w,collectionName:C});re(`${e}/playground?collection=${C}&type=${qa.INSERT_DATA}`)},hide:!!oe||!p||ce||k||A},xe={key:`import`,label:j(`collections:detail.general.import`),variant:`text`,onItemClick:()=>M({collectionName:C,databaseName:w}),hide:!m||!p||k||A},Se={key:`addIndex`,label:j(`collections:detail.general.createIndex`),variant:`text`,onItemClick:x,hide:!p},Ce=[l,y,S,O,u,te,ne,se,le].filter(e=>!e?.hide),we=[be,xe,Se].filter(e=>!e?.hide),Te=A?[]:[e],Ee=we.length>0?[...Te,...we]:[],De=[fe,ve].filter(e=>!e?.hide),Oe=De.length>0?[e,...De]:[];return(E?[...Ce,...Ee,...Oe]:[...Ce,...Oe]).filter(e=>!e?.hide)},[n,f,a,o,y,v,C,w,T,x,E,D,ue,p,m,h,ce,k,ge,oe,A]),ye=async e=>{ne(!0);try{await t(e)}finally{ne(!1)}};return(0,W.useEffect)(()=>{ne(!1)},[C]),(0,G.jsx)(`div`,{className:QC.btnGroups,children:ve.length===0?null:S?S(ve):(0,G.jsx)(ae,{items:ve,buttonComp:e=>(0,G.jsx)($Z,{data:e,loading:te,isSupportRelease:_e,disabled:se.disabled,tooltip:se.tooltip}),classes:{iconActiveBtn:QC.activeBtn}})})},tQ=(e=10)=>Array.from({length:e},(e,t)=>{let n=t+1;return{id:n,value:n,label:String(n)}}),nQ={_instanceId:``,_instanceName:``,_instanceDescription:``,_instanceStatus:Za.Unknown,_instanceClassName:``,_instanceClassNameWithRawCU:``,_classSpecKey:``,_instanceConnectAddress:``,_instanceConnectAddressStatus:$a.DISABLE,_instanceCreateTime:``,_whiteList:``,_projectName:``,_classType:no.Performance,_regionId:``,_instanceOriginStatusName:``,_instancePrivateLinkAddress:``,_cloudId:P.EMPTY,_displayStatus:Za.Unknown,_plan:to.None,_instanceType:Hs.C
48ommon,_cu:1,_cuType:fe.UNKNOWN,_isDirectMode:!1,_instanceStatusName:Xa.Unknown,_instanceUpdateTime:``,_projectId:``,_snapshotNumber:``,_storeSize:0,_dbVersion:``,_dbVersionNum:0,_displayVersion:``,_processPercent:``,_isBeta:!1,_replica:fe.UNKNOWN,_chargeMethod:Vo.PayAsYouGo,_orderEndTime:``,_fixedTermPlanDisabled:!1,_cuAutoScalingPolicy:{dynamicScalingConfig:{maxSaleCu:2,minSaleCu:1},scheduledScalingConfig:{schedules:[],advancedSchedules:[],timezone:``}},_replicaAutoScalingPolicy:{scheduledScalingConfig:{schedules:[],advancedSchedules:[],timezone:``},dynamicScalingConfig:{maxReplica:2,minReplica:1}},_enableCuDynamicScaling:!1,_enableCuScheduledScaling:!1,_enableReplicaScheduledScaling:!1,_enableReplicaDynamicScaling:!1,_isCuScheduledAdvanced:!1,_isReplicaScheduledAdvanced:!1,_globalClusterRole:Bs.None,_globalClusterId:``,_kmsIntegrationId:``,_kmsKeyIdentifier:``,_kmsStatus:Us.UNKNOWN,_isKmsAvailable:!1,_kmsMessage:``,_scheduledUpgrade:null,_isGlobalClusterEntity:!1,_members:[],_createTimeMilli:0},rQ=tQ(),iQ=e=>e?8:12,aQ=class extends eo{DatabaseName;databaseName;CollectionName;collectionName;CreateTime;Description;description;EnableDynamic;ErrMsg;LoadedPercentage;loadedPercentage;InstanceId;InstanceName;hybridTime;desc;schemaInfo;NumOfEntities;Schemas;ShardsNum;ConsistencyLevel;Properties;Functions;Aliases;stateCode;TimeZone;StructSchemas;constructor(e){super(e),Object.assign(this,e)}static COLLECTION_PREFIX=`${this.CLOUD_PREFIX}/instance/collection`;static COLLECTION_CREATE_URL=`${this.COLLECTION_PREFIX}/create`;static DEMO_COLLECTION_CREATE_URL=`${this.COLLECTION_PREFIX}/demo/create`;static COLLECTION_LIST_URL=`${this.COLLECTION_PREFIX}/list_without_load_info`;static COLLECTION_LIST_BYOC_URL=`${this.COLLECTION_PREFIX}/list`;static COLLECTION_LIST_WITH_PAGINATION_URL=`${this.COLLECTION_PREFIX}/page`;static DESCRIBE_COLLECTION_URL=`${this.COLLECTION_PREFIX}/describe`;static COLLECTION_ENTITIES_NUM_URL=`${this.COLLECTION_PREFIX}/num_of_entities`;static COLLECTION_BATCH_ADD_FIELDS_URL=`${this.COLLECTION_PREFIX}/batch_add_field`;static SEARCH_COLLECTION_URL=`${this.COLLECTION_PREFIX}/search`;static COLLECTION_DELETE_URL=`${this.COLLECTION_PREFIX}/drop`;static COLLECTION_LOAD_URL=`${this.COLLECTION_PREFIX}/load`;static COLLECTION_RELEASE_URL=`${this.COLLECTION_PREFIX}/release`;static COLLECTION_RENAME_URL=`${this.COLLECTION_PREFIX}/rename`;static COLLECTION_MOVE_URL=`${this.COLLECTION_PREFIX}/move`;static COLLECTION_FIELD_ALTER=`${this.COLLECTION_PREFIX}/alter_field`;static COLLECTION_PROPERTIES_ALTER_URL=`${this.COLLECTION_PREFIX}/alter_collection_properties`;static COLLECTION_PROPERTIES_REMOVE_URL=`${this.COLLECTION_PREFIX}/remove_collection_properties`;static COLLECTION_COPY_URL=`${this.COLLECTION_PREFIX}/copy`;static COLLECTION_COPY_WITH_DATA_URL=`${this.COLLECTION_PREFIX}/copy_with_data`;static MIGRATION_LIST_COLLECTIONS_URL=`${this.CLOUD_PREFIX}/migration/list/collections`;static COLLECTION_MMAP_SETTING_URL=`${this.COLLECTION_PREFIX}/batch_modify_mmap_properties`;static COLLECTION_STATUS_URL=`${this.COLLECTION_PREFIX}/load_status/get`;static createCollection(e,t,n){return super.create({path:this.COLLECTION_CREATE_URL,data:{...e,instanceId:t,databaseName:n}})}static createDemoCollection(e){let{clusterId:t,databaseName:n}=e;return super.create({path:`${this.DEMO_COLLECTION_CREATE_URL}`,data:{instanceId:t,databaseName:n}})}static getCollectionStatus(e){let{collectionName:t,clusterId:n,databaseName:r}=e;return super.search({path:this.COLLECTION_STATUS_URL,data:{collectionName:t,instanceId:n,databaseName:r},method:`post`})}static async getCollections(e,t,n){return e?(await super.findAll({path:t?this.COLLECTION_LIST_BYOC_URL:this.COLLECTION_LIST_URL,data:{instanceId:e,databaseName:n}},`Collections`)).sort((e,t)=>t.CreateTime-e.CreateTime):[]}static async getCollectionsWithPagination(e){let{clusterId:t,databaseName:n,searchCollection:r,currentPage:i=1,pageSize:a=10}=e;return t?await super.findAll({path:this.COLLECTION_LIST_WITH_PAGINATION_URL,data:{instanceId:t,databaseName:n,searchCollection:r,currentPage:i,pageSize:a}},`List`):Object.assign([],{_total:0})}static async getMigratedCollections(e){return await super.findAll({path:this.MIGRATION_LIST_COLLECTIONS_URL,data:{jobId:e}},`collections`)}static async describeCollection(e,t){let{clusterId:n,collectionName:r,databaseName:i}=e;return await super.search({method:`post`,path:this.DESCRIBE_COLLECTION_URL,data:{instanceId:n,collectionName:r,databaseName:i}},void 0,t?e=>e:void 0)}static async getNumOfEntities(e,t,n){return await super.search({method:`post`,path:this.COLLECTION_ENTITIES_NUM_URL,data:{collectionName:n,databaseName:t,instanceId:e}})}static async searchCollections(e,t){return await super.findAll({method:`POST`,path:this.SEARCH_COLLECTION_URL,data:{SearchKey:e,ProjectId:t}},`Collections`)}
48static deleteCollection(e){let{collectionName:t,clusterId:n,databaseName:r}=e;return super.delete({path:this.COLLECTION_DELETE_URL,data:{collectionName:t,instanceId:n,databaseName:r}})}static loadCollection(e,t){let{collectionName:n,clusterId:r,databaseName:i}=e,a=t?.signal?{signal:t.signal}:void 0;return super.create({path:this.COLLECTION_LOAD_URL,data:{collectionName:n,instanceId:r,databaseName:i},...a?{option:a}:{}})}static releaseCollection(e,t){let{collectionName:n,clusterId:r,databaseName:i}=e,a=t?.signal?{signal:t.signal}:void 0;return super.create({path:this.COLLECTION_RELEASE_URL,data:{collectionName:n,instanceId:r,databaseName:i},...a?{option:a}:{}})}static moveCollection(e){let{clusterId:t,collectionName:n,databaseName:r,newDatabaseName:i}=e;return super.create({path:this.COLLECTION_MOVE_URL,data:{instanceId:t,collectionName:n,newDatabaseName:i,oldDatabaseName:r}})}static renameCollection(e){let{clusterId:t,oldCollectionName:n,newCollectionName:r,databaseName:i}=e;return super.create({path:this.COLLECTION_RENAME_URL,data:{instanceId:t,oldCollectionName:n,newCollectionName:r,newDatabaseName:i,oldDatabaseName:i}})}static copyCollection(e,t={}){let{withData:n}=t,r=n?this.COLLECTION_COPY_WITH_DATA_URL:this.COLLECTION_COPY_URL;return super.create({path:r,data:{...e,oldDatabaseName:e.databaseName,newDatabaseName:e.databaseName}})}static alterField(e){return super.update({path:this.COLLECTION_FIELD_ALTER,data:e})}static updateMmapSettings(e){return super.update({path:this.COLLECTION_MMAP_SETTING_URL,data:e})}static batchAddFields(e){return super.update({path:this.COLLECTION_BATCH_ADD_FIELDS_URL,data:e})}static enableDynamicField(e){return super.update({path:this.COLLECTION_PROPERTIES_ALTER_URL,data:{...e,properties:{"dynamicfield.enabled":!0}}})}static updateCollectionProperties(e){return super.update({path:this.COLLECTION_PROPERTIES_ALTER_URL,data:e})}static removeCollectionProperties(e){return super.update({path:this.COLLECTION_PROPERTIES_REMOVE_URL,data:e})}get _databaseName(){return this.DatabaseName||this.databaseName}get _collectionName(){return this.CollectionName||this.collectionName}get _collectionStatus(){if(this.stateCode)switch(this.stateCode){case 2:return Wc.Loading;case 3:return Wc.Loaded;default:return Wc.Unloaded}return Yc(Number(this.LoadedPercentage||this.loadedPercentage))}get _errMsg(){return this.ErrMsg||``}get _loadedPercentage(){return(this.LoadedPercentage||this.loadedPercentage)===`-1`?0:Number(this.LoadedPercentage||this.loadedPercentage)||0}get _createTime(){return Ke(this.CreateTime)??ds.UNKNOWN}get _description(){return this.Description||this.description||ds.UNKNOWN}get _enableDynamic(){return this.EnableDynamic}get _instanceId(){return this.InstanceId||``}get _instanceName(){return this.InstanceName||``}get _hybridTime(){return Ke(this.hybridTime?this.hybridTime*1e3:this.hybridTime)}get _collectionSchemaInfo(){return typeof this.schemaInfo==`string`?this.schemaInfo.replace(/"/g,`"`):ds.UNKNOWN}get _numOfEntities(){return this.NumOfEntities===null||this.NumOfEntities===void 0?ds.UNKNOWN:Number(this.NumOfEntities).toLocaleString()}get _schemaFields(){let e=(this.StructSchemas||[]).map(e=>({...e,DataType:V.Array,ElementType:V.Struct,StructSchemas:e.FieldTypes,TypeParams:{[Qc]:e.MaxCapacity}}));return[...this.Schemas,...e].map(e=>new mee(e))}get _createTimeStamp(){return this.CreateTime}get _shardsNum(){return this.ShardsNum}get _consistencyLevel(){return this.ConsistencyLevel}get _mmapEnabled(){if(this.Properties?.[`mmap.enabled`])return`${this.Properties?.[ul]}`==`true`}get _properties(){return this.Properties}get _ttlSeconds(){let e=this.Properties?.[fee];if(e==null)return;let t=`${e}`.trim();if(!/^\d+$/.test(t))return;let n=BigInt(t);return n>0n?n:void 0}get _ttlField(){let e=this.Properties?.[il];if(typeof e==`string`)return e.trim()||void 0}get _allowInsertAutoId(){let e=this.Properties?.[vl];if(e)return`${e}`==`true`}get _alias(){return this.Aliases?.length>0?this.Aliases.join(`, `):ds.UNKNOWN}get _functions(){return this.Functions}get _structSchemas(){return this.StructSchemas}get _timezone(){return this.Properties?.timezone}},oQ={link:`_link_sb8nj_3`,rotate:`_rotate_sb8nj_1`},sQ=({price:e,testIdPrefix:t=`backup-create`})=>{let{t:n}=_(`backup`);return(0,G.jsx)(au,{type:`hide`,children:(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-1 basis-64 items-start gap-2`,"data-testid":`${t}-footer-price`,children:[(0,G.jsx)(gr,{size:14,className:`shrink-0`,style:{marginTop:3},"aria-hidden":`true`}),(0,G.jsxs)(L,{component:`div`,variant:`body2Regular`,className:`min-w-0`,sx:{fontSize:13,lineHeight:`20px`},children:[(0,G.jsx)(`span`,{className:`block`,children:n(`snapshot.create.price.footerStorage`,{price:e||`--`})}),(0,G.jsx)(`span`,{className:`block`,children:(0,G.jsx)(d,{t:n,i18nKey:`snapshot.create.price.footerTransfer`,components:[(0,G.jsx)(`a`,{href:uo,target:`_blank`,rel:`noreferrer`,className:oQ.link,"data-testid":`${t}-pricing-link`})]})})]})]})})}
48,cQ=function(e){return e.Cluster=`cluster`,e.Collection=`collectionNames`,e.Database=`databaseName`,e.CrossRegions=`crossRegions`,e}({}),lQ=function(e){return e[e.Latest=1]=`Latest`,e[e.Original=2]=`Original`,e}({}),uQ=function(e){return e.Manual=`Manual`,e.Auto=`Auto`,e}({}),dQ=function(e){return e.Cluster=`Cluster`,e.Collection=`Collection`,e}({}),fQ=function(e){return e[e.MANUAL_FULL_BACKUP=0]=`MANUAL_FULL_BACKUP`,e[e.AUTO_FULL_BACKUP=1]=`AUTO_FULL_BACKUP`,e}({}),pQ=function(e){return e[e.Creating=0]=`Creating`,e[e.Available=1]=`Available`,e[e.Deleting=2]=`Deleting`,e[e.Deleted=3]=`Deleted`,e[e.Canceling=4]=`Canceling`,e[e.Canceled=5]=`Canceled`,e[e.UnAvailable=6]=`UnAvailable`,e}({}),mQ=function(e){return e.Rename=`RENAME`,e.Delete=`DELETE`,e.Cancel=`CANCEL`,e.RestoreDb=`RESTORE_DB`,e.RestoreCollection=`RESTORE_COLLECTION`,e.ShowCollection=`SHOW_COLLECTION`,e.ExportBucket=`EXPORT_BUCKET`,e}({}),hQ=e=>e.flatMap(e=>(e.collections||[]).map(t=>({collectionName:t.collectionName,databaseName:t.databaseName||e.database}))),gQ=class extends eo{backupId;backupName;createTime;startTime;snapshotType;creationMethod;progress;remainExpireDays;size;status;type;collectionDescs;errMsg;instanceName;instanceId;instanceStatus;regionId;cloudId;databases;databaseCollections;withRBAC;restoreNewInstancePolicies;kmsInfo;static SNAPSHOT_LIST_URL=`${this.CLOUD_PREFIX}/instance/backup/list`;static PROJECT_SNAPSHOT_LIST_URL=`${this.CLOUD_PREFIX}/instance/backup/list_by_project`;static DESCRIBE_SNAPSHOT_URL=`${this.CLOUD_PREFIX}/instance/backup/desc`;static CREATE_SNAPSHOT_URL=`${this.CLOUD_PREFIX}/instance/backup/create`;static EXPORT_BACKUP_URL=`${this.CLOUD_PREFIX}/instance/backup/export`;static CREATE_PARTIAL_SNAPSHOT_URL=`${this.CLOUD_PREFIX}/instance/backup/create_partial`;static SNAPSHOT_MODIFY_PROPERTIES=`${this.CLOUD_PREFIX}/instance/backup/modify_properties`;static CANCEL_SNAPSHOT_URL=`${this.CLOUD_PREFIX}/instance/backup/cancel`;static DELETE_SNAPSHOT_URL=`${this.CLOUD_PREFIX}/instance/backup/delete`;static DESCRIBE_BACKUP_SOURCE_DATABASES_URL=`${this.CLOUD_PREFIX}/instance/backup/desc_database`;static DESCRIBE_BACKUP_SOURCE_COLLECTIONS_URL=`${this.CLOUD_PREFIX}/instance/backup/desc_collection`;static DESCRIBE_BACKUP_FILE_SOURCE_COLLECTIONS_URL=`${this.CLOUD_PREFIX}/instance/backup/desc_storage_collection`;static DESCRIBE_VOLUME_SOURCE_COLLECTIONS_URL=`${this.CLOUD_PREFIX}/instance/backup/desc_stage_collection`;constructor(e){super(e),Object.assign(this,e)}static fetchSnapshotList(e){return super.findAll({method:`POST`,path:e.instanceId?this.SNAPSHOT_LIST_URL:this.PROJECT_SNAPSHOT_LIST_URL,data:e})}static describeSnapshot(e){return super.search({method:`post`,path:this.DESCRIBE_SNAPSHOT_URL,data:e})}static createSnapshot(e){return super.create({path:this.CREATE_SNAPSHOT_URL,data:{backupCategory:fQ.MANUAL_FULL_BACKUP,instanceId:e.instanceId,crossReg
48ions:e.crossRegions,projectId:e.projectId}})}static createPartialSnapshot(e){return super.create({path:this.CREATE_PARTIAL_SNAPSHOT_URL,data:{instanceId:e.instanceId,dbCollections:{[e.databaseName]:e.collectionNames},crossRegions:e.crossRegions}})}static cancelSnapshot(e){return super.create({path:this.CANCEL_SNAPSHOT_URL,data:{instanceId:e.instanceId,backupId:e.backupId}})}static deleteSnapshot(e){return super.create({path:this.DELETE_SNAPSHOT_URL,data:{instanceId:e.instanceId,backupId:e.backupId}})}static rename(e){return super.update({path:this.SNAPSHOT_MODIFY_PROPERTIES,data:e})}static export(e){return super.update({method:`POST`,path:this.EXPORT_BACKUP_URL,data:e})}static integrationExport(e){return super.update({method:`POST`,path:this.EXPORT_BACKUP_URL,data:e})}static getBackupSourceDatabases(e){return super.search({path:this.DESCRIBE_BACKUP_SOURCE_DATABASES_URL,data:e})}static getBackupSourceCollectionsByDb(e){return super.search({path:this.DESCRIBE_BACKUP_SOURCE_COLLECTIONS_URL,data:e})}static getBackupFileSourceCollections(e){return super.search({path:this.DESCRIBE_BACKUP_FILE_SOURCE_COLLECTIONS_URL,method:`POST`,data:e})}static getVolumeSourceCollections(e){return super.search({path:this.DESCRIBE_VOLUME_SOURCE_COLLECTIONS_URL,method:`POST`,data:e})}get _backupId(){return this.backupId}get _backupName(){return this.backupName}get _createTime(){return Ke(this.createTime||this.startTime)}get _snapshotType(){return this.snapshotType}get _creationMethod(){return this.creationMethod}get _progress(){return this.progress}get _remainExpireDays(){return this.remainExpireDays}get _size(){return qt({size:this.size})}get _status(){return this.status}get _isProgressing(){return[pQ.Canceling,pQ.Deleting,pQ.Creating].includes(this._status)}get _allowActions(){return this._type===fQ.AUTO_FULL_BACKUP?this._status===pQ.Available?[mQ.RestoreDb,mQ.ShowCollection,mQ.Rename,mQ.ExportBucket]:[]:this._status===pQ.Available?[mQ.Delete,mQ.RestoreDb,mQ.ShowCollection,mQ.Rename,mQ.RestoreCollection,mQ.ExportBucket]:[]}get _type(){return this.type}get _typeText(){return[`Manual`,`Auto`][this.type]}get _collectionList(){return this.collectionDescs?this.collectionDescs.map(e=>new aQ(e)):[]}get _errorDetail(){return this.errMsg||``}get _clusterName(){return this.instanceName}get _clusterId(){return this.instanceId}get _instanceStatus(){return this.instanceStatus}get _regionId(){return this.regionId}get _databases(){return this.databases}get _sourceCollections(){return hQ(this.databaseCollections)}get _databaseCollections(){return this.databaseCollections}get _withRBAC(){return this.withRBAC}get _restoreInstancePolicy(){return this.restoreNewInstancePolicies||[]}get _cloudId(){return this.cloudId}get _kmsIntegrationId(){return this.kmsInfo?.integrationId||``}get _kmsKeyIdentifier(){return this.kmsInfo?.keyIdentifier||``}get _kmsStatus(){return this.kmsInfo?.status??Us.UNKNOWN}get _isKmsAvailable(){return this.kmsInfo?.status===Us.AVAILABLE}get _kmsMessage(){return this.kmsInfo?.message||``}},_Q={formWrapper:`_formWrapper_15pjv_3`,crossRegionsWrapper:`_crossRegionsWrapper_15pjv_7`,disabledCrossRegionsWrapper:`_disabledCrossRegionsWrapper_15pjv_10`,basicSection:`_basicSection_15pjv_25`,card:`_card_15pjv_31`,databaseCollectionWrapper:`_databaseCollectionWrapper_15pjv_38`,collectionLabel:`_collectionLabel_15pjv_41`,formFieldsWrapper:`_formFieldsWrapper_15pjv_47`,hiddenForm:`_hiddenForm_15pjv_53`,backupScopeSection:`_backupScopeSection_15pjv_59`,scopeOptions:`_scopeOptions_15pjv_65`,scopeOptionsHorizontal:`_scopeOptionsHorizontal_15pjv_71`,scopeOption:`_scopeOption_15pjv_65`,selected:`_selected_15pjv_94`,scopeRadio:`_scopeRadio_15pjv_97`,scopeContent:`_scopeContent_15pjv_102`,scopeTitle:`_scopeTitle_15pjv_107`,originalRegionSelector:`_originalRegionSelector_15pjv_114`,clusterSelector:`_clusterSelector_15pjv_115`,regionSelectDisplay:`_regionSelectDisplay_15pjv_126`,cloudIcon:`_cloudIcon_15pjv_132`,regionName:`_regionName_15pjv_140`,regionTag:`_regionTag_15pjv_144`,priceTip:`_priceTip_15pjv_150`,collectionSelectorListbox:`_collectionSelectorListbox_15pjv_154`,rotate:`_rotate_15pjv_1`},vQ=class extends eo{ClassName;ResourceType;Description;ClassContent;CU;CuType;Disable;Trial;TrialDays;MoreAction;ClassType;ClusterType;Replica;Currency;CpuCore;Price;Unit;constructor(e){super(e),Object.assign(this,e)}static CLOUD_CLASS_LIST_URL=`${this.CLOUD_PREFIX}/user/class/list`;static BYOC_CLOUD_CLASS_LIST_URL=`${this.CLOUD_PREFIX}/user/class/byoc/list`;
48static fetchCloudClassesList(e){let{isByocOrg:t,...n}=e;return t&&!e.projectId?Promise.resolve([]):this.findAll({path:t?this.BYOC_CLOUD_CLASS_LIST_URL:this.CLOUD_CLASS_LIST_URL,data:{...n}},`RegionClasses`)}get _classNameWithRawCU(){return Ls(this.CU.toString(),this.Price,this.Unit,this.Currency)}get _className(){return Ls(this.ClassName,this.Price,this.Unit,this.Currency)}get _classDescription(){return this.Description}get _classSpecKey(){return ao({cu:this.CU,cuType:this.CuType,classType:this.ClassType,clusterType:this.ClusterType})}get _resourceType(){return this.ResourceType}get _cu(){return this.CU}get _cuType(){return this.CuType}get _disabled(){return this.Disable||!1}get _trialDays(){return this.TrialDays}get _trial(){return this.Trial}get _moreAction(){return this.MoreAction}get _classType(){return this.ClassType}get _clusterType(){return this.ClusterType}get _replica(){return this.Replica}get _cpuCore(){return this.CpuCore}get _price(){return this.Price}get _unit(){return this.Unit||``}get _currency(){return qo[this.Currency]}},yQ=class extends eo{item;itemType;price;originPrice;currency;unit;additionalProperties;realAmount;discountAmount;summaryPrice;summaryMonthCost;constructor(e){super(e),Object.assign(this,e)}static SERVERLESS_CLASS_PRICE_URL=`${this.CLOUD_PREFIX}/serverless/price`;static CLASS_PRICE_WITH_REPLICA_URL=`${this.CLOUD_PREFIX}/user/class/price/describe_with_replica`;static SUBSCRIPTION_PLAN_CLASS_PRICE_URL=`${this.CLOUD_PREFIX}/billing/fixedTerm/evalSubscribeAmount`;static SUMMARY_CLASS_PRICE_URL=`${this.CLOUD_PREFIX}/global_cluster/price_summary`;static fetchSummaryClassPrice(e){return this.create({path:this.SUMMARY_CLASS_PRICE_URL,data:{classPriceRequests:e}})}static fetchClassPrice(e){return this.findAll({path:this.CLASS_PRICE_WITH_REPLICA_URL,data:{CU:e.cu,CuType:e.cuType,ClassType:e.classType,ClusterType:e.clusterType,RegionId:e.regionId,Replica:e.replica},signal:e.signal},`prices`)}static fetchServerlessClassPrice(e){return this.findAll({path:this.SERVERLESS_CLASS_PRICE_URL,data:{regionId:e}},`items`)}static fetchSubscriptionClassPrice(e){let{cu:t,cuType:n,classType:r,clusterType:i,regionId:a,replica:o,fixedTermPlanId:s}=e;return this.create({path:this.SUBSCRIPTION_PLAN_CLASS_PRICE_URL,data:{createInstanceRequest:{cu:t,cuType:n,classType:r,clusterType:i,replica:o,regionId:a},fixedTermPlanId:s}})}get _type(){return this.itemType}get _price(){return this.price||this.realAmount}get _originPrice(){return this.originPrice}get _unit(){return Ts?ls(this.unit,lee):Qo(this.unit,this.itemType)}get _currency(){return this.currency===void 0?this.additionalProperties?.currency:this.currency}get _currencyLabel(){return this._currency?qo[this._currency]:qo[js]}get _discountAmount(){return this.discountAmount}get _summaryPrice(){return this.summaryPrice}get _summaryMonthCost(){return this.summaryMonthCost}},bQ={menuItem:`_menuItem_1eoam_3`,plan:`_plan_1eoam_6`,rotate:`_rotate_1eoam_1`},xQ=function(e){return e[e.Admin=0]=`Admin`,e[e.ServerlessAdmin=1]=`ServerlessAdmin`,e[e.ReadWrite=2]=`ReadWrite`,e[e.ReadOnly=3]=`ReadOnly`,e}({}),SQ=function(e){return e.BuiltIn=`builtin`,e.Custom=`custom`,e}({}),CQ=`1`,wQ=[],TQ=e=>{if(e)return{cu:e.cu,cuType:e.cuType,classType:e.classType,clusterType:e.clusterType}},EQ=e=>e&&e!==ds.UNKNOWN?e:CQ,DQ=e=>{let{regionId:t,classSpecKey:n,classSpec:r,isServerless:i=!1,replica:a,abortControllerRef:o}=e,[s,c]=(0,W.useState)([]),{isByocOrg:l}=Kt(),{rawRegionList:u}=Sc(),d=r?.cu,f=r?.cuType,p=r?.classType,m=r?.clusterType,h=(0,W.useMemo)(()=>EQ(a),[a]),g=()=>{if(o)return o.current&&o.current.abort(),o.current=new AbortController,o.current.signal},_=()=>{c([])};return(0,W.useEffect)(()=>{if(!i){if(!t||l||d===void 0||f===void 0||p===void 0||m===void 0){_();return}return(async()=>{try{let e=g(),n=await yQ.fetchClassPrice({cu:d,cuType:f,classType:p,clusterType:m,regionId:t,replica:h,signal:e});c(n)}catch{_()}})(),()=>{o?.current&&o.current.abort()}}},[n,d,f,p,m,t,l,i,h]),(0,W.useEffect)(()=>{let e=u.some(e=>e.regions.find(e=>e.regionId===t)?.supportClusterTypes.includes(to.Serverless));if(!(!i||!e)){if(!t){_();return}(async()=>{try{let e=await yQ.fetchServerlessClassPrice(t);c(e)}catch{_()}})()}},[i,u,t]),{classPrices:s,resetClassPrices:_}},OQ=e=>{let{regionId:t,classSpecKey:n,classSpec:r,replica:i,fixedTermPlanId:a}=e,[o,s]=(0,W.useState)(),c=r?.cu,l=r?.cuType,u=r?.classType,d=r?.clusterType;return(0,W.useEffect)(()=>
48{if(!t||!a||c===void 0||l===void 0||u===void 0||d===void 0){s(void 0);return}(async()=>{try{let e=await yQ.fetchSubscriptionClassPrice({regionId:t,cu:c,cuType:l,classType:u,clusterType:d,replica:i,fixedTermPlanId:a});s(e)}catch{s(void 0)}})()},[n,c,l,u,d,t,i,a]),{subscriptionPrices:o}},kQ=e=>{let{classPriceRequests:t}=e,[n,r]=(0,W.useState)(),{isByocOrg:i}=Kt(),a=()=>{r(void 0)};return(0,W.useEffect)(()=>{let e=t.filter(e=>e.regionId&&e.cu&&e.cuType!==void 0&&e.classType!==void 0&&e.clusterType!==void 0);if(e.length===0||i){a();return}let n=setTimeout(()=>{(async()=>{try{let t=await yQ.fetchSummaryClassPrice(e);r(t)}catch{a()}})()},300);return()=>{clearTimeout(n)}},[JSON.stringify(t),i]),{summaryPrice:n,resetSummaryPrice:a}},AQ=e=>{let{regionId:t,clusterType:n,cloudId:r=P.AWS,classType:i,classSpecKey:a,instanceId:o,upgrade:s,specificProjectId:c,isSubscriptionCluster:u=!1,enabled:d=!0}=e,{regionOptions:f}=cu(r),{featureList:p}=Sc(),{isByocOrg:m}=Kt(),{projectId:h=``}=l(),{t:g}=_(`deployments`),v=c||h,y=(0,W.useMemo)(()=>{let e=[to.Free,to.Serverless,to.None],r=n===void 0||e.includes(n);return d&&!!t&&!r&&(!m||!!v)},[n,v,d,m,t]),{data:b=wQ,isLoading:x,isFetching:S,refetch:C}=Cn({queryKey:[`cloud-class-options`,{regionId:t,clusterType:n,classType:i,classSpecKey:a,instanceId:o,upgrade:s,isByocOrg:m,projectId:v,listPrice:u}],queryFn:()=>vQ.fetchCloudClassesList({RegionId:t,ClusterType:n,ClassType:i,InstanceId:o,Upgrade:s,isByocOrg:m,projectId:v,listPrice:u}),enabled:y,refetchOnWindowFocus:!1,staleTime:30*1e3}),w=(0,W.useMemo)(()=>y?b:wQ,[y,b]),T=(0,W.useCallback)(e=>{let{_classSpecKey:t,_classNameWithRawCU:n,_cu:r,_cuType:i,_disabled:a,_moreAction:o,_classType:s,_clusterType:c,_replica:l,_cpuCore:u,_price:d,_unit:f,_currency:p}=e;return{id:t,label:u?`${n} (${g(`topology.cores`,{count:u})})`:n,value:t,classType:s,clusterType:c,cu:r,cuType:i,replica:l,disabled:a,moreAction:o,price:d,unit:f,currency:p}},[g]),E=(0,W.useMemo)(()=>w.map(T),[w,T]),D=(0,W.useCallback)(async()=>((await C()).data||b).map(T),[T,b,C]);return{classTypeOptions:(0,W.useMemo)(()=>{let e=[{label:g(`create.highPerformance.title`),value:no.Performance,desc:g(`create.highPerformance.desc`)},{label:g(`create.bigData.title`),value:no.Capacity,desc:g(`create.bigData.desc`)},{label:g(`create.costOptimized.title`),value:no.Cost,desc:g(`create.costOptimized.desc`)}];return p.org.includes(Gs.Tiered)&&e.push({label:g(`create.tiered.title`),value:no.Tiered,desc:g(`create.tiered.desc`)}),e.filter(e=>E.find(t=>t.classType===e.value))},[E,p]),classOptions:E,regionOptions:f,isClassOptionsLoading:x,isClassOptionsFetching:S,refetchClassOptions:D}},jQ=()=>{let{t:e}=_([`upgradeCTA`]),{isStandardPlan:t}=C();return{getPlanLabel:n=>{switch(n){case to.Free:return e(`upgradeCTA:pricePlan.free.title`);case to.Enterprise:case to.BusinessCritical:return e(`upgradeCTA:pricePlan.dedicatedEnterprise`);case to.Standard:return e(t?`upgradeCTA:pricePlan.dedicatedEnterprise`:`upgradeCTA:pricePlan.dedicatedStandard`);case to.Serverless:return e(`upgradeCTA:pricePlan.serverless.title`);default:return`--`}}}},MQ=()=>{let{t:e}=_(`deployments`);return[{id:xQ.Admin,label:e(`users.roleOption.admin`),value:xQ.Admin},{id:xQ.ReadWrite,label:e(`users.roleOption.readWrite`),value:xQ.ReadWrite},{id:xQ.ReadOnly,label:e(`users.roleOption.readOnly`),value:xQ.ReadOnly}]},NQ=()=>{let{getPlanLabel:e}=jQ(),{t}=_([`migrations`,`common`]),{clusterMatrix:n}=Sc(),r=t=>{let{id:n,title:r,name:i,plan:a,disabled:o}=t;return()=>o?(0,G.jsx)(ma,{tooltip:{title:r,placement:`right`},children:(0,G.jsxs)(ii,{disableRipple:!0,disabled:o,value:n,id:n,className:bQ.menuItem,children:[(0,G.jsx)(L,{children:i}),(0,G.jsx)(L,{className:bQ.plan,children:e(a)})]})},n):(0,G.jsxs)(ii,{disableRipple:!0,value:n,id:n,className:bQ.menuItem,children:[(0,G.jsx)(L,{children:i}),(0,G.jsx)(L,{className:bQ.plan,children:e(a)})]})};return{generateOptionsByClusterStatus:e=>{let{clusterList:i,displayClusterTypes:a,disabledClusterTypes:o=[],disabledGlobalClusterRoles:s=[],globalClusterRoleTooltip:c=``,sourceVersion:l,checkManualBackup:u=!1}=e,d=e=>({disabled:!0,tooltip:{title:e,placement:`right`}});return i.filter(e=>a.includes(e._instanceType)&&!e._isGlobalClusterEntity).map(e=>{let i={id:e._instanceId,label:e._instanceName,value:e._instanceId},a=e._dbVersion,f=l?eu(l,a):!1;if(o.includes(e._instanceType))return{...i,...d(t(`migrations:selectSource.disabled.instanceTypeNotMatch`)),generateCustomEle:r({id:e._instanceId,name:e._instanceName,title:t(`migrations:selectSource.disabled.instanceTypeNotMatch`),plan:e._plan,disabled:!0})};if(s.length>0&&s.includes(e._globalClusterRole)){let n=c||t(`migrations:selectSource.disabled.globalClusterMember`);return{...i,...d(n),generateCustomEle:r({id:e._instanceId,name:e._instanceName,title:n,plan:e._plan,disabled:!0})}}return f?{...i,...d(t(`migrations:selectSource.disabled.versionNotMatch`)),generateCustomEle:r({id:e._instanceId,name:e._instanceName,title:t(`migrations:selectSource.disabled.versionNotMatch`),plan:e._plan,disabled:!0})}:e._instanceStatus===Qa.Running?u&&!Zc(xc(n,e._instanceType,e._globalClusterRole),e._instanceOriginStatusName).includes(Xc.MANUA
48L_BACKUP)?{...i,...d(t(`common:tooltip.clusterStatus`)),generateCustomEle:r({id:e._instanceId,name:e._instanceName,title:t(`common:tooltip.clusterStatus`),plan:e._plan,disabled:!0})}:{...i,generateCustomEle:r({id:e._instanceId,name:e._instanceName,title:``,plan:e._plan,disabled:!1})}:{...i,...d(t(`migrations:selectSource.disabled.notRunning`)),generateCustomEle:r({id:e._instanceId,name:e._instanceName,title:t(`migrations:selectSource.disabled.notRunning`),plan:e._plan,disabled:!0})}})},getRenderValueFunc:e=>t=>(0,G.jsx)(G.Fragment,{children:e.find(e=>e.value===t)?.label}),generateTooltipMenu:r}},PQ=e=>{let t=e.find(e=>e._type===ro.Backup);if(!t||t._price===null||String(t._price).trim()===``||!Number.isFinite(Number(t._price))||Number(t._price)<0)return`--`;let n=ve[t._currency],{_price:r,_unit:i}=t;return`${n}${r}/${i}`},FQ=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 41 41`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{d:`M1.06641 34.1924C1.06641 34.8231 3.0707 35.428 6.63837 35.8739C10.206 36.3199 15.0448 36.5704 20.0903 36.5704C25.1357 36.5704 29.9745 36.3199 33.5422 35.8739C37.1098 35.428 39.1141 34.8231 39.1141 34.1924C39.1141 33.5618 37.1098 32.9569 33.5422 32.5109C29.9745 32.065 25.1357 31.8145 20.0903 31.8145C15.0448 31.8145 10.206 32.065 6.63837 32.5109C3.0707 32.9569 1.06641 33.5618 1.06641 34.1924Z`,fill:`#F0F2F4`}),(0,G.jsx)(`path`,{d:`M36.2348 18.2114V18.1638C36.2348 18.1163 36.211 18.0925 36.211 18.0449V18.0211L31.0983 7.85131C30.3611 5.59222 28.2685 4.07031 25.8905 4.07031H14.2622C11.8842 4.07031 9.79159 5.59222 9.05441 7.85131L3.94175 18.0211V18.0449C3.91797 18.0925 3.91797 18.1163 3.91797 18.1638V27.7709C3.91797 30.7909 6.36729 33.2402 9.38733 33.2402H30.7892C33.8092 33.2402 36.2585 30.7909 36.2585 27.7709V18.2589C36.2348 18.2352 36.2348 18.2352 36.2348 18.2114ZM10.3861 8.35068C10.3861 8.35068 10.3861 8.3269 10.4099 8.3269C10.933 6.61475 12.5025 5.4971 14.2622 5.4971H25.8667C27.6265 5.4971 29.1959 6.61475 29.7429 8.30312C29.7429 8.30312 29.7429 8.3269 29.7666 8.3269L34.4988 17.5218H23.6314C23.2272 17.5218 22.9181 17.8309 22.9181 18.2352C22.9181 19.8046 21.6339 21.0887 20.0645 21.0887C18.495 21.0887 17.2109 19.8046 17.2109 18.2352C17.2109 17.8309 16.9018 17.5218 16.4975 17.5218H5.6539L10.3861 8.35068Z`,fill:`#D1D6DC`}),(0,G.jsx)(`path`,{d:`M34.8327 27.5329C34.8327 29.7682 33.0254 31.5755 30.7901 31.5755H9.38827C7.15297 31.5755 5.3457 29.7682 5.3457 27.5329V18.7344H15.8802C16.2131 20.7557 17.9728 22.3013 20.0892 22.3013C22.2056 22.3013 23.9653 20.7557 24.2982 18.7344H34.8327V27.5329Z`,fill:`#E0E3E7`})]}),IQ={menuItem:`_menuItem_3eoko_3`,emptyOptionContainer:`_emptyOptionContainer_3eoko_7`,desc:`_desc_3eoko_20`,rotate:`_rotate_3eoko_1`},LQ=e=>{let{desc:t,classes:{desc:n=``,menuItem:r=``}={},disabled:i=!0}=e;return(0,G.jsx)(ii,{disableRipple:!0,disabled:i,className:R(IQ.menuItem,r),children:(0,G.jsxs)(`div`,{className:IQ.emptyOptionContainer,children:[(0,G.jsx)(FQ,{}),(0,G.jsx)(L,{component:`div`,className:R(IQ.desc,n),children:t})]})})},RQ={crossRegionsCard:`_crossRegionsCard_znsd5_3`,description:`_description_znsd5_11`,crossRegionsHeader:`_crossRegionsHeader_znsd5_16`,cardTitle:`_cardTitle_znsd5_24`,regionsContainer:`_regionsContainer_znsd5_29`,regionsContainerRow:`_regionsContainerRow_znsd5_36`,regionCard:`_regionCard_znsd5_42`,regionFormFields:`_regionFormFields_znsd5_57`,regionFieldGroup:`_regionFieldGroup_znsd5_65`,fieldLabel:`_fieldLabel_znsd5_70`,retentionLabel:`_retentionLabel_znsd5_74`,regionGroup:`_regionGroup_znsd5_78`,retentionInputWrapper:`_retentionInputWrapper_znsd5_83`,suffixLabel:`_suffixLabel_znsd5_87`,addButton:`_addButton_znsd5_93`,addRegionButtonTooltip:`_addRegionButtonTooltip_znsd5_97`,addRegionButton:`_addRegionButton_znsd5_97`,deleteButton:`_deleteButton_znsd5_106`,regionSelect:`_regionSelect_znsd5_117`,rotate:`_rotate_znsd5_1`},zQ=({value:e,onChange:t,onBlur:n,options:r,label:i,placeholder:a,testId:o,disabled:s,invalid:c})=>{let l=(0,W.useId)();return(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,"data-testid":o,children:[(0,G.jsx)(L,{id:l,variant:`body2Medium`,className:`whitespace-nowrap`,children:i}),(0,G.jsx)(na,{fullWidth:!0,value:e,options:r,onChange:e=>t(e.value),onBlur:n,disabled:s,error:c,placeholder:a,labelId:l})]})},BQ=_n({list:pn(_n({cloudId:yn(P),regionId:bn().trim().min(1),region:bn().trim().min(1),regionName:bn().trim().min(1)}))}).transform(e=>
48e.list),VQ=`cloud/v1/instance/policy/support_ccm_region`,HQ=async(e,t={})=>{let n=typeof t.scope==`object`?t.scope.orgId:void 0,r=await Ce.get(VQ,{params:{cloudId:e},...n?{headers:{orgId:n}}:{},signal:t.signal,...t.silent?{silentError:!0}:{}});return BQ.parse(r.data.Data)},UQ=(e,t=!0)=>{let{orgId:n=``,projectId:r=``}=l(),{isByocOrg:i}=Kt(),a=Mn({orgId:n,projectId:r}),o=Cn({queryKey:wn(`backupRegions`,a,`crossCloud`,{sourceCloudId:e}),queryFn:({signal:t})=>HQ(e,{signal:t,scope:a}),enabled:!!(t&&n&&e&&!i)});return{...o,data:o.data??[]}},WQ=function(e){return e[e.FULL=1]=`FULL`,e}({}),GQ=function(e){return e[e.DISABLE=0]=`DISABLE`,e[e.ENABLE=1]=`ENABLE`,e}({}),KQ=function(e){return e.scheduled=`backupScheduled`,e.timezone=`backupTimezone`,e.mode=`backupScheduleMode`,e.schedules=`backupSchedules`,e.advancedSchedules=`backupAdvancedSchedules`,e}({}),qQ=function(e){return e.Basic=`basic`,e.Advanced=`advanced`,e}({}),JQ=function(e){return e.Weekly=`weekly`,e.Monthly=`monthly`,e}({}),YQ=n((e=>{Object.defineProperty(e,"__esModule",{value:!0})})),XQ=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronField=void 0,e.CronField=class e{#e=!1;#t=!1;#n=!1;#r=[];options={rawValue:``};static get min(){throw Error(`min must be overridden`)}static get max(){throw Error(`max must be overridden`)}static get chars(){return Object.freeze([])}static get validChars(){return/^[?,*\dH/-]+$|^.*H\(\d+-\d+\)\/\d+.*$|^.*H\(\d+-\d+\).*$|^.*H\/\d+.*$/}static get constraints(){return{min:this.min,max:this.max,chars:this.chars,validChars:this.validChars}}constructor(t,n={rawValue:``}){if(!Array.isArray(t))throw Error(`${this.constructor.name} Validation error, values is not an array`);if(!(t.length>0))throw Error(`${this.constructor.name} Validation error, values contains no values`);this.options={...n,rawValue:n.rawValue??``},this.#r=t.sort(e.sorter),this.#n=this.options.wildcard===void 0?this.#i():this.options.wildcard,this.#e=this.options.rawValue.includes(`L`)||t.includes(`L`),this.#t=this.options.rawValue.includes(`?`)||t.includes(`?`)}get min(){return this.constructor.min}get max(){return this.constructor.max}get chars(){return this.constructor.chars}get hasLastChar(){return this.#e}get hasQuestionMarkChar(){return this.#t}get isWildcard(){return this.#n}get values(){return this.#r}static sorter(e,t){let n=typeof e==`number`,r=typeof t==`number`;return n&&r?e-t:!n&&!r?e.localeCompare(t):n?-1:1}serialize(){return{wildcard:this.#n,values:this.#r}}validate(){let e,t=this.chars.length>0?` or chars ${this.chars.join(``)}`:``,n=e=>t=>RegExp(`^\\d{0,2}${t}$`).test(e);if(!this.#r.every(t=>(e=t,typeof t==`number`?t>=this.min&&t<=this.max:this.chars.some(n(t)))))throw Error(`${this.constructor.name} Validation error, got value ${e} expected range ${this.min}-${this.max}${t}`);let r=this.#r.find((e,t)=>this.#r.indexOf(e)!==t);if(r)throw Error(`${this.constructor.name} Validation error, duplicate values found: ${r}`)}#i(){return this.options.rawValue.length>0?[`*`,`?`].includes(this.options.rawValue):Array.from({length:this.max-this.min+1},(e,t)=>t+this.min).every(e=>this.#r.includes(e))}}})),ZQ=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronDayOfMonth=void 0;var t=XQ(),n=1,r=31,i=Object.freeze([`L`]);e.CronDayOfMonth=class extends t.CronField{static get min(){return n}static get max(){return r}static get chars(){return i}static get validChars(){return/^[?,*\dLH/-]+$|^.*H\(\d+-\d+\)\/\d+.*$|^.*H\(\d+-\d+\).*$|^.*H\/\d+.*$/}constructor(e,t){super(e,t),this.validate()}get values(){return super.values}}})),QQ=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronDayOfWeek=void 0;var t=XQ(),n=0,r=7,i=Object.freeze([`L`]);e.CronDayOfWeek=class extends t.CronField{static get min(){return n}static get max(){return r}static get chars(){return i}static get validChars(){return/^[?,*\dLH#/-]+$|^.*H\(\d+-\d+\)\/\d+.*$|^.*H\(\d+-\d+\).*$|^.*H\/\d+.*$/}constructor(e,t){super(e,t),this.validate()}get values(){return super.values}get nthDay(){return this.options.nthDayOfWeek??0}}})),$Q=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronHour=void 0;var t=XQ(),n=0,r=23,i=Object.freeze([]);e.CronHour=class extends t.CronField{static get min(){return n}static get max(){return r}static get chars(){return i}constructor(e,t){super(e,t),this.validate()}get values(){return super.values}}})),e$=n((e=>
vendor: 70,000 bytes, line 48
48{Object.defineProperty(e,"__esModule",{value:!0}),e.CronMinute=void 0;var t=XQ(),n=0,r=59,i=Object.freeze([]);e.CronMinute=class extends t.CronField{static get min(){return n}static get max(){return r}static get chars(){return i}constructor(e,t){super(e,t),this.validate()}get values(){return super.values}}})),t$=n((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=class extends Error{},n=class extends t{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},r=class extends t{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},i=class extends t{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},a=class extends t{},o=class extends t{constructor(e){super(`Invalid unit ${e}`)}},s=class extends t{},c=class extends t{constructor(){super(`Zone is an abstract class`)}},l=`numeric`,u=`short`,d=`long`,f={year:l,month:l,day:l},p={year:l,month:u,day:l},m={year:l,month:u,day:l,weekday:u},h={year:l,month:d,day:l},g={year:l,month:d,day:l,weekday:d},_={hour:l,minute:l},v={hour:l,minute:l,second:l},y={hour:l,minute:l,second:l,timeZoneName:u},b={hour:l,minute:l,second:l,timeZoneName:d},x={hour:l,minute:l,hourCycle:`h23`},S={hour:l,minute:l,second:l,hourCycle:`h23`},C={hour:l,minute:l,second:l,hourCycle:`h23`,timeZoneName:u},w={hour:l,minute:l,second:l,hourCycle:`h23`,timeZoneName:d},T={year:l,month:l,day:l,hour:l,minute:l},E={year:l,month:l,day:l,hour:l,minute:l,second:l},D={year:l,month:u,day:l,hour:l,minute:l},O={year:l,month:u,day:l,hour:l,minute:l,second:l},k={year:l,month:u,day:l,weekday:u,hour:l,minute:l},A={year:l,month:d,day:l,hour:l,minute:l,timeZoneName:u},ee={year:l,month:d,day:l,hour:l,minute:l,second:l,timeZoneName:u},j={year:l,month:d,day:l,weekday:d,hour:l,minute:l,timeZoneName:d},te={year:l,month:d,day:l,weekday:d,hour:l,minute:l,second:l,timeZoneName:d},ne=class{get type(){throw new c}get name(){throw new c}get ianaName(){return this.name}get isUniversal(){throw new c}offsetName(e,t){throw new c}formatOffset(e,t){throw new c}offset(e){throw new c}equals(e){throw new c}get isValid(){throw new c}},re=null,ie=class e extends ne{static get instance(){return re===null&&(re=new e),re}get type(){return`system`}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return Ut(e,t,n)}formatOffset(e,t){return Kt(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type===`system`}get isValid(){return!0}},M=new Map;function ae(e){let t=M.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,era:`short`}),M.set(e,t)),t}var oe={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function se(e,t){let n=e.format(t).replace(/\u200E/g,``),[,r,i,a,o,s,c,l]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n);return[a,r,i,o,s,c,l]}function ce(e,t){let n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){let{type:t,value:i}=n[e],a=oe[t];t===`era`?r[a]=i:yt(a)||(r[a]=parseInt(i,10))}return r}var le=new Map,ue=class e extends ne{static create(t){let n=le.get(t);return n===void 0&&le.set(t,n=new e(t)),n}static resetCache(){le.clear(),M.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat(`en-US`,{timeZone:e}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=e.isValidZone(t)}get type(){return`iana`}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return Ut(e,t,n,this.name)}formatOffset(e,t){return Kt(this.offset(e),t)}offset(e){if(!this.valid)return NaN;let t=new Date(e);if(isNaN(t))return NaN;let n=ae(this.name),[r,i,a,o,s,c,l]=n.formatToParts?ce(n,t):se(n,t);o===`BC`&&(r=-Math.abs(r)+1);let u=Bt({year:r,month:i,day:a,hour:s===24?0:s,minute:c,second:l,millisecond:0}),d=+t,f=d%1e3;return d-=f>=0?f:1e3+f,(u-d)/(60*1e3)}equals(e){return e.type===`iana`&&e.name===this.name}get isValid(){return this.valid}},de={};function fe(e,t={}){let n=JSON.stringify([e,t]),r=de[n];return r||(r=new Intl.ListFormat(e,t),de[n]=r),r}var pe=new Map;function me(e,t={}){let n=JSON.stringify([e,t]),r=pe.get(n);return r===void 0&&(r=new Intl.DateTimeFormat(e,t),pe.set(n,r)),r}var he=new Map;function ge(e,t={}){let n=JSON.stringify([e,t]),r=he.get(n);return r===void 0&&(r=new Intl.NumberFormat(e,t),he.set(n,r)),r}var _e=new Map;function ve(e,t={}){let{base:n,...r}=t,i=JSON.stringify([e,r]),a=_e.get(i);return a===void 0&&(a=new Intl.RelativeTimeFormat(e,t),_e.set(i,a)),a}var ye=null;function be(){return ye||(ye=new Intl.DateTimeFormat().resolvedOptions().locale,ye)}var xe=new Map;function Se(e){let t=xe.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),xe.set(e,t)),t}var Ce=new Map;function we(e){let t=Ce.get(e);if(!t){let n=new Intl.Locale(e);t=`getWeekInfo`in n?n.getWeekInfo():n.weekInfo,`minimalDays`in t||(t={...Pe,...t}),Ce.set(e,t)}return t}function Te(e){let t=e.indexOf(`-x-`);t!==-1&&(e=e.substring(0,t));let n=e.indexOf(`-u-`);if(n===-1)return[e];{let t,r;try{t=me(e).resolvedOptions(),r=e}catch{let i=e.substring(0,n);t=me(i).resolvedOptions(),r=i}let{numberingSystem:i,calendar:a}=t;return[r,i,a]}}function Ee(e,t,n){return n||t?(e.includes(`-u-`)||(e+=`-u`),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`),e):e}function De(e){let t=[];for(let n=1;n<=12;n++){let r=ji.utc(2009,n,1);t.push(e(r))}return t}function Oe(e){let t=[];for(let n=1;n<=7;n++){let r=ji.utc(2016,11,13+n);t.push(e(r))}return t}function ke(e,t,n,r){let i=e.listingMode();return i===`error`?null:i===`en`?n(t):r(t)}function Ae(e){return e.numberingSystem&&e.numberingSystem!==`latn`?!1:e.numberingSystem===`latn`||!e.locale||e.locale.startsWith(`en`)||Se(e.locale).numberingSystem===`latn`}var je=class{constructor(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:r,floor:i,...a}=n;if(!t||Object.keys(a).length>0){let t={useGrouping:!1,...n};n.padTo>0&&(t.minimumIntegerDigits=n.padTo),this.inf=ge(e,t)}}format(e){if(this.inf){let t=this.floor?Math.floor(e):e;return this.inf.format(t)}else return Mt(this.floor?Math.floor(e):It(e,3),this.padTo)}},Me=class{constructor(e,t,n){this.opts=n,this.originalZone=void 0;let r;if(this.opts.timeZone)this.dt=e;else if(e.zone.type===`fixed`){let t=-1*(e.offset/60),n=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;e.offset!==0&&ue.create(n).valid?(r=n,this.dt=e):(r=`UTC`,this.dt=e.offset===0?e:e.setZone(`UTC`).plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type===`system`?this.dt=e:e.zone.type===`iana`?(this.dt=e,r=e.zone.name):(r=`UTC`,this.dt=e.setZone(`UTC`).plus({minutes:e.offset}),this.originalZone=e.zone);let i={...this.opts};i.timeZone=i.timeZone||r,this.dtf=me(t,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(``):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if(e.type===`timeZoneName`){let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}else return e}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},Ne=class{constructor(e,t,n){this.opts={style:`long`,...n},!t&&wt()&&(this.rtf=ve(e,n))}format(e,t){return this.rtf?this.rtf.format(e,t):fn(t,e,this.opts.numeric,this.opts.style!==`long`)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}},Pe={firstDay:1,minimalDays:4,weekend:[6,7]},Fe=class e{static fromOpts(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,i,a=!1){let o=t||tt.defaultLocale,s=o||(a?`en-US`:be()),c=n||tt.defaultNumberingSystem,l=r||tt.defaultOutputCalendar,u=kt(i)||tt.defaultWeekSettings;return new e(s,c,l,u,o)}static resetCache(){ye=null,pe.clear(),he.clear(),_e.clear(),xe.clear(),Ce.clear()}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:i}={}){return e.create(t,n,r,i)}constructor(e,t,n,r,i){let[a,o,s]=Te(e);this.locale=a,this.numberingSystem=t||o||null,this.outputCalendar=n||s||null,this.weekSettings=r,this.intl=Ee(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached??=Ae(this),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),t=(this.numberingSystem===null||this.numberingSystem===`latn`)&&(this.outputCalendar===null||this.outputCalendar===`gregory`);return e&&t?`en`:`intl`}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,kt(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return ke(this,e,Zt,()=>{let n=this.intl===`ja`||this.intl.startsWith(`ja-`);t&=!n;let r=t?{month:e,day:`numeric`}:{month:e},i=t?`format`:`standalone`;if(!this.monthsCache[i][e]){let t=n?e=>this.dtFormatter(e,r).format():e=>this.extract(e,r,`month`);this.monthsCache[i][e]=De(t)}return this.monthsCache[i][e]})}weekdays(e,t=!1){return ke(this,e,tn,()=>{let n=t?{weekday:e,year:`numeric`,month:`long`,day:`numeric`}:{weekday:e},r=t?`format`:`standalone`;return this.weekdaysCache[r][e]||(this.weekdaysCache[r][e]=Oe(e=>this.extract(e,n,`weekday`))),this.weekdaysCache[r][e]})}meridiems(){return ke(this,void 0,()=>nn,()=>{if(!this.meridiemCache){let e={hour:`numeric`,hourCycle:`h12`};this.meridiemCache=[ji.utc(2016,11,13,9),ji.utc(2016,11,13,19)].map(t=>this.extract(t,e,`dayperiod`))}return this.meridiemCache})}eras(e){return ke(this,e,sn,()=>{let t={era:e};return this.eraCache[e]||(this.eraCache[e]=[ji.utc(-40,1,1),ji.utc(2017,1,1)].map(e=>this.extract(e,t,`era`))),this.eraCache[e]})}extract(e,t,n){let r=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===n);return r?r.value:null}numberFormatter(e={}){return new je(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new Me(e,this.intl,t)}relFormatter(e={}){return new Ne(this.intl,this.isEnglish(),e)}listFormatter(e={}){return fe(this.intl,e)}isEnglish(){return this.locale===`en`||this.locale.toLowerCase()===`en-us`||Se(this.intl).locale.startsWith(`en-us`)}getWeekSettings(){return this.weekSettings?this.weekSettings:N()?we(this.locale):Pe}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},Ie=null,Le=class e extends ne{static get utcInstance(){return Ie===null&&(Ie=new e(0)),Ie}static instance(t){return t===0?e.utcInstance:new e(t)}static parseSpecifier(t){if(t){let n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new e(Wt(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return`fixed`}get name(){return this.fixed===0?`UTC`:`UTC${Kt(this.fixed,`narrow`)}`}get ianaName(){return this.fixed===0?`Etc/UTC`:`Etc/GMT${Kt(-this.fixed,`narrow`)}`}offsetName(){return this.name}formatOffset(e,t){return Kt(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type===`fixed`&&e.fixed===this.fixed}get isValid(){return!0}},Re=class extends ne{constructor(e){super(),this.zoneName=e}get type(){return`invalid`}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return``}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function ze(e,t){if(yt(e)||e===null)return t;if(e instanceof ne)return e;if(St(e)){let n=e.toLowerCase();return n==="default"?t:n===`local`||n===`system`?ie.instance:n===`utc`||n===`gmt`?Le.utcInstance:Le.parseSpecifier(n)||ue.create(e)}else if(bt(e))return Le.instance(e);else if(typeof e==`object`&&`offset`in e&&typeof e.offset==`function`)return e;else return new Re(e)}var Be={arab:`[Ù -Ù©]`,arabext:`[Û°-Û¹]`,bali:`[á-á]`,beng:`[০-৯]`,deva:`[०-९]`,fullwide:`[ï¼-ï¼]`,gujr:`[૦-૯]`,hanidec:`[ã|ä¸|äº|ä¸|å|äº|å
|ä¸|å
«|ä¹]`,khmr:`[á -á©]`,knda:`[೦-೯]`,laoo:`[à»-à»]`,limb:`[á¥-á¥]`,mlym:`[൦-൯]`,mong:`[á -á ]`,mymr:`[á-á]`,orya:`[à¦-à¯]`,tamldec:`[௦-௯]`,telu:`[౦-౯]`,thai:`[à¹-à¹]`,tibt:`[༠-༩]`,latn:`\\d`},Ve={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},He=Be.hanidec.replace(/[\[|\]]/g,``).split(``);function Ue(e){let t=parseInt(e,10);if(isNaN(t)){t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(e[n].search(Be.hanidec)!==-1)t+=He.indexOf(e[n]);else for(let e in Ve){let[n,i]=Ve[e];r>=n&&r<=i&&(t+=r-n)}}return parseInt(t,10)}else return t}var We=new Map;function Ge(){We.clear()}function Ke({numberingSystem:e},t=``){let n=e||`latn`,r=We.get(n);r===void 0&&(r=new Map,We.set(n,r));let i=r.get(t);return i===void 0&&(i=RegExp(`${Be[n]}${t}`),r.set(t,i)),i}var qe=()=>Date.now(),Je=`system`,Ye=null,Xe=null,Ze=null,Qe=60,$e,et=null,tt=class{static get now(){return qe}static set now(e){qe=e}static set defaultZone(e){Je=e}static get defaultZone(){return ze(Je,ie.instance)}static get defaultLocale(){return Ye}static set defaultLocale(e){Ye=e}static get defaultNumberingSystem(){return Xe}static set defaultNumberingSystem(e){Xe=e}static get defaultOutputCalendar(){return Ze}static set defaultOutputCalendar(e){Ze=e}static get defaultWeekSettings(){return et}static set defaultWeekSettings(e){et=kt(e)}static get twoDigitCutoffYear(){return Qe}static set twoDigitCutoffYear(e){Qe=e%100}static get throwOnInvalid(){return $e}static set throwOnInvalid(e){$e=e}static resetCaches(){Fe.resetCache(),ue.resetCache(),ji.resetCache(),Ge()}},nt=class{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},rt=[0,31,59,90,120,151,181,212,243,273,304,334],it=[0,31,60,91,121,152,182,213,244,274,305,335];function at(e,t){return new nt(`unit out of range`,`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function ot(e,t,n){let r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);let i=r.getUTCDay();return i===0?7:i}function st(e,t,n){return n+(Lt(e)?it:rt)[t-1]}function ct(e,t){let n=Lt(e)?it:rt,r=n.findIndex(e=>e<t),i=t-n[r];return{month:r+1,day:i}}function lt(e,t){return(e-t+7)%7+1}function ut(e,t=4,n=1){let{year:r,month:i,day:a}=e,o=st(r,i,a),s=lt(ot(r,i,a),n),c=Math.floor((o-s+14-t)/7),l;return c<1?(l=r-1,c=P(l,t,n)):c>P(r,t,n)?(l=r+1,c=1):l=r,{weekYear:l,weekNumber:c,weekday:s,...qt(e)}}function dt(e,t=4,n=1){let{weekYear:r,weekNumber:i,weekday:a}=e,o=lt(ot(r,1,t),n),s=Rt(r),c=i*7+a-o-7+t,l;c<1?(l=r-1,c+=Rt(l)):c>s?(l=r+1,c-=Rt(r)):l=r;let{month:u,day:d}=ct(l,c);return{year:l,month:u,day:d,...qt(e)}}function ft(e){let{year:t,month:n,day:r}=e;return{year:t,ordinal:st(t,n,r),...qt(e)}}function pt(e){let{year:t,ordinal:n}=e,{month:r,day:i}=ct(t,n);return{year:t,month:r,day:i,...qt(e)}}function mt(e,t){if(!yt(e.localWeekday)||!yt(e.localWeekNumber)||!yt(e.localWeekYear)){if(!yt(e.weekday)||!yt(e.weekNumber)||!yt(e.weekYear))throw new a(`Cannot mix locale-based week fields with ISO-based week fields`);return yt(e.localWeekday)||(e.weekday=e.localWeekday),yt(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),yt(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function ht(e,t=4,n=1){let r=xt(e.weekYear),i=At(e.weekNumber,1,P(e.weekYear,t,n)),a=At(e.weekday,1,7);return r?i?a?!1:at(`weekday`,e.weekday):at(`week`,e.weekNumber):at(`weekYear`,e.weekYear)}function gt(e){let t=xt(e.year),n=At(e.ordinal,1,Rt(e.year));return t?n?!1:at(`ordinal`,e.ordinal):at(`year`,e.year)}function _t(e){let t=xt(e.year),n=At(e.month,1,12),r=At(e.day,1,zt(e.year,e.month));return t?n?r?!1:at(`day`,e.day):at(`month`,e.month):at(`year`,e.year)}function vt(e){let{hour:t,minute:n,second:r,millisecond:i}=e,a=At(t,0,23)||t===24&&n===0&&r===0&&i===0,o=At(n,0,59),s=At(r,0,59),c=At(i,0,999);return a?o?s?c?!1:at(`millisecond`,i):at(`second`,r):at(`minute`,n):at(`hour`,t)}function yt(e){return e===void 0}function bt(e){return typeof e==`number`}function xt(e){return typeof e==`number`&&e%1==0}function St(e){return typeof e==`string`}function Ct(e){return Object.prototype.toString.call(e)===`[object Date]`}function wt(){try{return typeof Intl<`u`&&!!Intl.RelativeTimeFormat}catch{return!1}}function N(){try{return typeof Intl<`u`&&!!Intl.Locale&&(`weekInfo`in Intl.Locale.prototype||`getWeekInfo`in Intl.Locale.prototype)}catch{return!1}}function Tt(e){return Array.isArray(e)?e:[e]}function Et(e,t,n){if(e.length!==0)return e.reduce((e,r)=>{let i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i},null)[1]}function Dt(e,t){return t.reduce((t,n)=>(t[n]=e[n],t),{})}function Ot(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function kt(e){if(e==null)return null;if(typeof e!=`object`)throw new s(`Week settings must be an object`);if(!At(e.firstDay,1,7)||!At(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!At(e,1,7)))throw new s(`Invalid week settings`);return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function At(e,t,n){return xt(e)&&e>=t&&e<=n}function jt(e,t){return e-t*Math.floor(e/t)}function Mt(e,t=2){let n=e<0,r;return r=n?`-`+(``+-e).padStart(t,`0`):(``+e).padStart(t,`0`),r}function Nt(e){if(!(yt(e)||e===null||e===``))return parseInt(e,10)}function Pt(e){if(!(yt(e)||e===null||e===``))return parseFloat(e)}function Ft(e){if(!(yt(e)||e===null||e===``)){let t=parseFloat(`0.`+e)*1e3;return Math.floor(t)}}function It(e,t,n=`round`){let r=10**t;switch(n){case`expand`:return e>0?Math.ceil(e*r)/r:Math.floor(e*r)/r;case`trunc`:return Math.trunc(e*r)/r;case`round`:return Math.round(e*r)/r;case`floor`:return Math.floor(e*r)/r;case`ceil`:return Math.ceil(e*r)/r;default:throw RangeError(`Value rounding ${n} is out of range`)}}function Lt(e){return e%4==0&&(e%100!=0||e%400==0)}function Rt(e){return Lt(e)?366:365}function zt(e,t){let n=jt(t-1,12)+1,r=e+(t-n)/12;return n===2?Lt(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Bt(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function Vt(e,t,n){return-lt(ot(e,1,t),n)+t-1}function P(e,t=4,n=1){let r=Vt(e,t,n),i=Vt(e+1,t,n);return(Rt(e)-r+i)/7}function Ht(e){return e>99?e:e>tt.twoDigitCutoffYear?1900+e:2e3+e}function Ut(e,t,n,r=null){let i=new Date(e),a={hourCycle:`h23`,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`};r&&(a.timeZone=r);let o={timeZoneName:t,...a},s=new Intl.DateTimeFormat(n,o).formatToParts(i).find(e=>e.type.toLowerCase()===`timezonename`);return s?s.value:null}function Wt(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);let r=parseInt(t,10)||0,i=n<0||Object.is(n,-0)?-r:r;return n*60+i}function Gt(e){let t=Number(e);if(typeof e==`boolean`||e===``||!Number.isFinite(t))throw new s(`Invalid unit value ${e}`);return t}function F(e,t){let n={};for(let r in e)if(Ot(e,r)){let i=e[r];if(i==null)continue;n[t(r)]=Gt(i)}return n}function Kt(e,t){let n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?`+`:`-`;switch(t){case`short`:return`${i}${Mt(n,2)}:${Mt(r,2)}`;case`narrow`:return`${i}${n}${r>0?`:${r}`:``}`;case`techie`:return`${i}${Mt(n,2)}${Mt(r,2)}`;default:throw RangeError(`Value format ${t} is out of range for property format`)}}function qt(e){return Dt(e,[`hour`,`minute`,`second`,`millisecond`])}var Jt=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Yt=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],Xt=[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`];function Zt(e){switch(e){case`narrow`:return[...Xt];case`short`:return[...Yt];case`long`:return[...Jt];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`];case`2-digit`:return[`01`,`02`,`03`,`04`,`05`,`06`,`07`,`08`,`09`,`10`,`11`,`12`];default:return null}}var Qt=[`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],$t=[`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`,`Sun`],en=[`M`,`T`,`W`,`T`,`F`,`S`,`S`];function tn(e){switch(e){case`narrow`:return[...en];case`short`:return[...$t];case`long`:return[...Qt];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`];default:return null}}var nn=[`AM`,`PM`],rn=[`Before Christ`,`Anno Domini`],an=[`BC`,`AD`],on=[`B`,`A`];function sn(e){switch(e){case`narrow`:return[...on];case`short`:return[...an];case`long`:return[...rn];default:return null}}function cn(e){return nn[e.hour<12?0:1]}function ln(e,t){return tn(t)[e.weekday-1]}function un(e,t){return Zt(t)[e.month-1]}function dn(e,t){return sn(t)[e.year<0?0:1]}function fn(e,t,n=`always`,r=!1){let i={years:[`year`,`yr.`],quarters:[`quarter`,`qtr.`],months:[`month`,`mo.`],weeks:[`week`,`wk.`],days:[`day`,`day`,`days`],hours:[`hour`,`hr.`],minutes:[`minute`,`min.`],seconds:[`second`,`sec.`]},a=[`hours`,`minutes`,`seconds`].indexOf(e)===-1;if(n===`auto`&&a){let n=e===`days`;switch(t){case 1:return n?`tomorrow`:`next ${i[e][0]}`;case-1:return n?`yesterday`:`last ${i[e][0]}`;case 0:return n?`today`:`this ${i[e][0]}`}}let o=Object.is(t,-0)||t<0,s=Math.abs(t),c=s===1,l=i[e],u=r?c?l[1]:l[2]||l[1]:c?i[e][0]:e;return o?`${s} ${u} ago`:`in ${s} ${u}`}function pn(e,t){let n=``;for(let r of e)r.literal?n+=r.val:n+=t(r.val);return n}var mn={D:f,DD:p,DDD:h,DDDD:g,t:_,tt:v,ttt:y,tttt:b,T:x,TT:S,TTT:C,TTTT:w,f:T,ff:D,fff:A,ffff:j,F:E,FF:O,FFF:ee,FFFF:te},hn=class e{static create(t,n={}){return new e(t,n)}static parseFormat(e){let t=null,n=``,r=!1,i=[];for(let a=0;a<e.length;a++){let o=e.charAt(a);o===`'`?((n.length>0||r)&&i.push({literal:r||/^\s+$/.test(n),val:n===``?`'`:n}),t=null,n=``,r=!r):r||o===t?n+=o:(n.length>0&&i.push({literal:/^\s+$/.test(n),val:n}),n=o,t=o)}return n.length>0&&i.push({literal:r||/^\s+$/.test(n),val:n}),i}static macroTokenToFormatOpts(e){return mn[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,n=void 0){if(this.opts.forceSimple)return Mt(e,t);let r={...this.opts};return t>0&&(r.padTo=t),n&&(r.signDisplay=n),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(t,n){let r=this.loc.listingMode()===`en`,i=this.loc.outputCalendar&&this.loc.outputCalendar!==`gregory`,a=(e,n)=>this.loc.extract(t,e,n),o=e=>t.isOffsetFixed&&t.offset===0&&e.allowZ?`Z`:t.isValid?t.zone.formatOffset(t.ts,e.format):``,s=()=>r?cn(t):a({hour:`numeric`,hourCycle:`h12`},`dayperiod`),c=(e,n)=>r?un(t,e):a(n?{month:e}:{month:e,day:`numeric`},`month`),l=(e,n)=>r?ln(t,e):a(n?{weekday:e}:{weekday:e,month:`long`,day:`numeric`},`weekday`),u=n=>{let r=e.macroTokenToFormatOpts(n);return r?this.formatWithSystemDefault(t,r):n},d=e=>r?dn(t,e):a({era:e},`era`);return pn(e.parseFormat(n),e=>{switch(e){case`S`:return this.num(t.millisecond);case`u`:case`SSS`:return this.num(t.millisecond,3);case`s`:return this.num(t.second);case`ss`:return this.num(t.second,2);case`uu`:return this.num(Math.floor(t.millisecond/10),2);case`uuu`:return this.num(Math.floor(t.millisecond/100));case`m`:return this.num(t.minute);case`mm`:return this.num(t.minute,2);case`h`:return this.num(t.hour%12==0?12:t.hour%12);case`hh`:return this.num(t.hour%12==0?12:t.hour%12,2);case`H`:return this.num(t.hour);case`HH`:return this.num(t.hour,2);case`Z`:return o({format:`narrow`,allowZ:this.opts.allowZ});case`ZZ`:return o({format:`short`,allowZ:this.opts.allowZ});case`ZZZ`:return o({format:`techie`,allowZ:this.opts.allowZ});case`ZZZZ`:return t.zone.offsetName(t.ts,{format:`short`,locale:this.loc.locale});case`ZZZZZ`:return t.zone.offsetName(t.ts,{format:`long`,locale:this.loc.locale});case`z`:return t.zoneName;case`a`:return s();case`d`:return i?a({day:`numeric`},`day`):this.num(t.day);case`dd`:return i?a({day:`2-digit`},`day`):this.num(t.day,2);case`c`:return this.num(t.weekday);case`ccc`:return l(`short`,!0);case`cccc`:return l(`long`,!0);case`ccccc`:return l(`narrow`,!0);case`E`:return this.num(t.weekday);case`EEE`:return l(`short`,!1);case`EEEE`:return l(`long`,!1);case`EEEEE`:return l(`narrow`,!1);case`L`:return i?a({month:`numeric`,day:`numeric`},`month`):this.num(t.month);case`LL`:return i?a({month:`2-digit`,day:`numeric`},`month`):this.num(t.month,2);case`LLL`:return c(`short`,!0);case`LLLL`:return c(`long`,!0);case`LLLLL`:return c(`narrow`,!0);case`M`:return i?a({month:`numeric`},`month`):this.num(t.month);case`MM`:return i?a({month:`2-digit`},`month`):this.num(t.month,2);case`MMM`:return c(`short`,!1);case`MMMM`:return c(`long`,!1);case`MMMMM`:return c(`narrow`,!1);case`y`:return i?a({year:`numeric`},`year`):this.num(t.year);case`yy`:return i?a({year:`2-digit`},`year`):this.num(t.year.toString().slice(-2),2);case`yyyy`:return i?a({year:`numeric`},`year`):this.num(t.year,4);case`yyyyyy`:return i?a({year:`numeric`},`year`):this.num(t.year,6);case`G`:return d(`short`);case`GG`:return d(`long`);case`GGGGG`:return d(`narrow`);case`kk`:return this.num(t.weekYear.toString().slice(-2),2);case`kkkk`:return this.num(t.weekYear,4);case`W`:return this.num(t.weekNumber);case`WW`:return this.num(t.weekNumber,2);case`n`:return this.num(t.localWeekNumber);case`nn`:return this.num(t.localWeekNumber,2);case`ii`:return this.num(t.localWeekYear.toString().slice(-2),2);case`iiii`:return this.num(t.localWeekYear,4);case`o`:return this.num(t.ordinal);case`ooo`:return this.num(t.ordinal,3);case`q`:return this.num(t.quarter);case`qq`:return this.num(t.quarter,2);case`X`:return this.num(Math.floor(t.ts/1e3));case`x`:return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,n){let r=this.opts.signMode===`negativeLargestOnly`?-1:1,i=e=>{switch(e[0]){case`S`:return`milliseconds`;case`s`:return`seconds`;case`m`:return`minutes`;case`h`:return`hours`;case`d`:return`days`;case`w`:return`weeks`;case`M`:return`months`;case`y`:return`years`;default:return null}},a=(e,t)=>n=>{let a=i(n);if(a){let i=t.isNegativeDuration&&a!==t.largestUnit?r:1,o;return o=this.opts.signMode===`negativeLargestOnly`&&a!==t.largestUnit?`never`:this.opts.signMode===`all`?`always`:`auto`,this.num(e.get(a)*i,n.length,o)}else return n},o=e.parseFormat(n),s=o.reduce((e,{literal:t,val:n})=>t?e:e.concat(n),[]),c=t.shiftTo(...s.map(i).filter(e=>e));return pn(o,a(c,{isNegativeDuration:c<0,largestUnit:Object.keys(c.values)[0]}))}},gn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _n(...e){let t=e.reduce((e,t)=>e+t.source,``);return RegExp(`^${t}$`)}function vn(...e){return t=>e.reduce(([e,n,r],i)=>{let[a,o,s]=i(t,r);return[{...e,...a},o||n,s]},[{},null,1]).slice(0,2)}function yn(e,...t){if(e==null)return[null,null];for(let[n,r]of t){let t=n.exec(e);if(t)return r(t)}return[null,null]}function bn(...e){return(t,n)=>{let r={},i;for(i=0;i<e.length;i++)r[e[i]]=Nt(t[n+i]);return[r,null,n+i]}}var xn=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Sn=`(?:${xn.source}?(?:\\[(${gn.source})\\])?)?`,Cn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,wn=RegExp(`${Cn.source}${Sn}`),Tn=RegExp(`(?:[Tt]${wn.source})?`),En=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Dn=/(\d{4})-?W(\d\d)(?:-?(\d))?/,On=/(\d{4})-?(\d{3})/,kn=bn(`weekYear`,`weekNumber`,`weekDay`),An=bn(`year`,`ordinal`),jn=/(\d{4})-(\d\d)-(\d\d)/,Mn=RegExp(`${Cn.source} ?(?:${xn.source}|(${gn.source}))?`),Nn=RegExp(`(?: ${Mn.source})?`);function Pn(e,t,n){let r=e[t];return yt(r)?n:Nt(r)}function Fn(e,t){return[{year:Pn(e,t),month:Pn(e,t+1,1),day:Pn(e,t+2,1)},null,t+3]}function In(e,t){return[{hours:Pn(e,t,0),minutes:Pn(e,t+1,0),seconds:Pn(e,t+2,0),milliseconds:Ft(e[t+3])},null,t+4]}function Ln(e,t){let n=!e[t]&&!e[t+1],r=Wt(e[t+1],e[t+2]);return[{},n?null:Le.instance(r),t+3]}function Rn(e,t){return[{},e[t]?ue.create(e[t]):null,t+1]}var zn=RegExp(`^T?${Cn.source}$`),Bn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vn(e){let[t,n,r,i,a,o,s,c,l]=e,u=t[0]===`-`,d=c&&c[0]===`-`,f=(e,t=!1)=>e!==void 0&&(t||e&&u)?-e:e;return[{years:f(Pt(n)),months:f(Pt(r)),weeks:f(Pt(i)),days:f(Pt(a)),hours:f(Pt(o)),minutes:f(Pt(s)),seconds:f(Pt(c),c===`-0`),milliseconds:f(Ft(l),d)}]}var Hn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Un(e,t,n,r,i,a,o){let s={year:t.length===2?Ht(Nt(t)):Nt(t),month:Yt.indexOf(n)+1,day:Nt(r),hour:Nt(i),minute:Nt(a)};return o&&(s.second=Nt(o)),e&&(s.weekday=e.length>3?Qt.indexOf(e)+1:$t.indexOf(e)+1),s}var Wn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Gn(e){let[,t,n,r,i,a,o,s,c,l,u,d]=e,f=Un(t,i,r,n,a,o,s),p;return p=c?Hn[c]:l?0:Wt(u,d),[f,new Le(p)]}function Kn(e){return e.replace(/\([^()]*\)|[\n\t]/g,` `).replace(/(\s\s+)/g,` `).trim()}var qn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Jn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function I(e){let[,t,n,r,i,a,o,s]=e;return[Un(t,i,r,n,a,o,s),Le.utcInstance]}function Xn(e){let[,t,n,r,i,a,o,s]=e;return[Un(t,s,n,r,i,a,o),Le.utcInstance]}var Zn=_n(En,Tn),Qn=_n(Dn,Tn),$n=_n(On,Tn),er=_n(wn),tr=vn(Fn,In,Ln,Rn),nr=vn(kn,In,Ln,Rn),rr=vn(An,In,Ln,Rn),ir=vn(In,Ln,Rn);function ar(e){return yn(e,[Zn,tr],[Qn,nr],[$n,rr],[er,ir])}function or(e){return yn(Kn(e),[Wn,Gn])}function sr(e){return yn(e,[qn,I],[Jn,I],[Yn,Xn])}function cr(e){return yn(e,[Bn,Vn])}var lr=vn(In);function ur(e){return yn(e,[zn,lr])}var dr=_n(jn,Nn),fr=_n(Mn),pr=vn(In,Ln,Rn);function mr(e){return yn(e,[dr,tr],[fr,pr])}var hr=`Invalid Duration`,gr={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},_r={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...gr},vr=146097/400,yr=146097/4800,br={years:{quarters:4,months:12,weeks:vr/7,days:vr,hours:vr*24,minutes:vr*24*60,seconds:vr*24*60*60,milliseconds:vr*24*60*60*1e3},quarters:{months:3,weeks:vr/28,days:vr/4,hours:vr*24/4,minutes:vr*24*60/4,seconds:vr*24*60*60/4,milliseconds:vr*24*60*60*1e3/4},months:{weeks:yr/7,days:yr,hours:yr*24,minutes:yr*24*60,seconds:yr*24*60*60,milliseconds:yr*24*60*60*1e3},...gr},xr=[`years`,`quarters`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`],Sr=xr.slice(0).reverse();function Cr(e,t,n=!1){return new Er({values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix})}function L(e,t){let n=t.milliseconds??0;for(let r of Sr.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function wr(e,t){let n=L(e,t)<0?-1:1;xr.reduceRight((r,i)=>{if(yt(t[i]))return r;if(r){let a=t[r]*n,o=e[i][r],s=Math.floor(a/o);t[i]+=s*n,t[r]-=s*o*n}return i},null),xr.reduce((n,r)=>{if(yt(t[r]))return n;if(n){let i=t[n]%1;t[n]-=i,t[r]+=i*e[n][r]}return r},null)}function Tr(e){let t={};for(let[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}var Er=class e{constructor(e){let t=e.conversionAccuracy===`longterm`||!1,n=t?br:_r;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||Fe.create(),this.conversionAccuracy=t?`longterm`:`casual`,this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,n){return e.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(typeof t!=`object`||!t)throw new s(`Duration.fromObject: argument expected to be an object, got ${t===null?`null`:typeof t}`);return new e({values:F(t,e.normalizeUnit),loc:Fe.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(bt(t))return e.fromMillis(t);if(e.isDuration(t))return t;if(typeof t==`object`)return e.fromObject(t);throw new s(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){let[r]=cr(t);return r?e.fromObject(r,n):e.invalid(`unparsable`,`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){let[r]=ur(t);return r?e.fromObject(r,n):e.invalid(`unparsable`,`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new s(`need to specify a reason the Duration is invalid`);let r=t instanceof nt?t:new nt(t,n);if(tt.throwOnInvalid)throw new i(r);return new e({invalid:r})}static normalizeUnit(e){let t={year:`years`,years:`years`,quarter:`quarters`,quarters:`quarters`,month:`months`,months:`months`,week:`weeks`,weeks:`weeks`,day:`days`,days:`days`,hour:`hours`,hours:`hours`,minute:`minutes`,minutes:`minutes`,second:`seconds`,seconds:`seconds`,millisecond:`milliseconds`,milliseconds:`milliseconds`}[e&&e.toLowerCase()];if(!t)throw new o(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){let n={...t,floor:t.round!==!1&&t.floor!==!1};return this.isValid?hn.create(this.loc,n).formatDurationFromString(this,e):hr}toHuman(e={}){if(!this.isValid)return hr;let t=e.showZeros!==!1,n=xr.map(n=>{let r=this.values[n];return yt(r)||r===0&&!t?null:this.loc.numberFormatter({style:`unit`,unitDisplay:`long`,...e,unit:n.slice(0,-1)}).format(r)}).filter(e=>e);return this.loc.listFormatter({type:`conjunction`,style:e.listStyle||`narrow`,...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e=`P`;return this.years!==0&&(e+=this.years+`Y`),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+`M`),this.weeks!==0&&(e+=this.weeks+`W`),this.days!==0&&(e+=this.days+`D`),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+=`T`),this.hours!==0&&(e+=this.hours+`H`),this.minutes!==0&&(e+=this.minutes+`M`),(this.seconds!==0||this.milliseconds!==0)&&(e+=It(this.seconds+this.milliseconds/1e3,3)+`S`),e===`P`&&(e+=`T0S`),e}toISOTime(e={}){if(!this.isValid)return null;let t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:`extended`,...e,includeOffset:!1},ji.fromMillis(t,{zone:`UTC`}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?L(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;let n=e.fromDurationLike(t),r={};for(let e of xr)(Ot(n.values,e)||Ot(this.values,e))&&(r[e]=n.get(e)+this.get(e));return Cr(this,{values:r},!0)}minus(t){if(!this.isValid)return this;let n=e.fromDurationLike(t);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;let t={};for(let n of Object.keys(this.values))t[n]=Gt(e(this.values[n],n));return Cr(this,{values:t},!0)}get(t){return this[e.normalizeUnit(t)]}set(t){if(!this.isValid)return this;let n={...this.values,...F(t,e.normalizeUnit)};return Cr(this,{values:n})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:n,matrix:r}={}){let i={loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:r,conversionAccuracy:n};return Cr(this,i)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return wr(this.matrix,e),Cr(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=Tr(this.normalize().shiftToAll().toObject());return Cr(this,{values:e},!0)}shiftTo(...t){if(!this.isValid||t.length===0)return this;t=t.map(t=>e.normalizeUnit(t));let n={},r={},i=this.toObject(),a;for(let e of xr)if(t.indexOf(e)>=0){a=e;let t=0;for(let n in r)t+=this.matrix[n][e]*r[n],r[n]=0;bt(i[e])&&(t+=i[e]);let o=Math.trunc(t);n[e]=o,r[e]=(t*1e3-o*1e3)/1e3}else bt(i[e])&&(r[e]=i[e]);for(let e in r)r[e]!==0&&(n[a]+=e===a?r[e]:r[e]/this.matrix[a][e]);return wr(this.matrix,n),Cr(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo(`years`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`):this}negate(){if(!this.isValid)return this;let e={};for(let t of Object.keys(this.values))e[t]=this.values[t]===0?0:-this.values[t];return Cr(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=Tr(this.values);return Cr(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(e,t){return e===void 0||e===0?t===void 0||t===0:e===t}for(let n of xr)if(!t(this.values[n],e.values[n]))return!1;return!0}},Dr=`Invalid Interval`;function R(e,t){return!e||!e.isValid?Or.invalid(`missing or invalid start`):!t||!t.isValid?Or.invalid(`missing or invalid end`):t<e?Or.invalid(`end before start`,`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}var Or=class e{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new s(`need to specify a reason the Interval is invalid`);let i=t instanceof nt?t:new nt(t,n);if(tt.throwOnInvalid)throw new r(i);return new e({invalid:i})}static fromDateTimes(t,n){let r=Mi(t),i=Mi(n);return R(r,i)??new e({start:r,end:i})}static after(t,n){let r=Er.fromDurationLike(n),i=Mi(t);return e.fromDateTimes(i,i.plus(r))}static before(t,n){let r=Er.fromDurationLike(n),i=Mi(t);return e.fromDateTimes(i.minus(r),i)}static fromISO(t,n){let[r,i]=(t||``).split(`/`,2);if(r&&i){let t,a;try{t=ji.fromISO(r,n),a=t.isValid}catch{a=!1}let o,s;try{o=ji.fromISO(i,n),s=o.isValid}catch{s=!1}if(a&&s)return e.fromDateTimes(t,o);if(a){let r=Er.fromISO(i,n);if(r.isValid)return e.after(t,r)}else if(s){let t=Er.fromISO(r,n);if(t.isValid)return e.before(o,t)}}return e.invalid(`unparsable`,`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e=`milliseconds`){return this.isValid?this.toDuration(e).get(e):NaN}count(e=`milliseconds`,t){if(!this.isValid)return NaN;let n=this.start.startOf(e,t),r;return r=t!=null&&t.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(e,t),Math.floor(r.diff(n,e).get(e))+(r.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:t,end:n}={}){return this.isValid?e.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];let n=t.map(Mi).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),r=[],{s:i}=this,a=0;for(;i<this.e;){let t=n[a]||this.e,o=+t>+this.e?this.e:t;r.push(e.fromDateTimes(i,o)),i=o,a+=1}return r}splitBy(t){let n=Er.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as(`milliseconds`)===0)return[];let{s:r}=this,i=1,a,o=[];for(;r<this.e;){let t=this.start.plus(n.mapUnits(e=>e*i));a=+t>+this.e?this.e:t,o.push(e.fromDateTimes(r,a)),r=a,i+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(t){if(!this.isValid)return this;let n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:e.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;let n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return e.fromDateTimes(n,r)}static merge(e){let[t,n]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],n)=>t?t.overlaps(n)||t.abutsStart(n)?[e,t.union(n)]:[e.concat([t]),n]:[e,n],[[],null]);return n&&t.push(n),t}static xor(t){let n=null,r=0,i=[],a=t.map(e=>[{time:e.s,type:`s`},{time:e.e,type:`e`}]),o=Array.prototype.concat(...a).sort((e,t)=>e.time-t.time);for(let t of o)r+=t.type===`s`?1:-1,r===1?n=t.time:(n&&+n!=+t.time&&i.push(e.fromDateTimes(n,t.time)),n=null);return e.merge(i)}difference(...t){return e.xor([this].concat(t)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} â ${this.e.toISO()})`:Dr}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=f,t={}){return this.isValid?hn.create(this.s.loc.clone(t),e).formatInterval(this):Dr}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Dr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Dr}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Dr}toFormat(e,{separator:t=` â `}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:Dr}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Er.invalid(this.invalidReason)}mapEndpoints(t){return e.fromDateTimes(t(this.s),t(this.e))}},kr=class{static hasDST(e=tt.defaultZone){let t=ji.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return ue.isValidZone(e)}static normalizeZone(e){return ze(e,tt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Fe.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Fe.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Fe.create(e)).getWeekendDays().slice()}static months(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i=`gregory`}={}){return(r||Fe.create(t,n,i)).months(e)}static monthsFormat(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i=`gregory`}={}){return(r||Fe.create(t,n,i)).months(e,!0)}static weekdays(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||Fe.create(t,n,null)).weekdays(e)}static weekdaysFormat(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||Fe.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Fe.create(e).meridiems()}static eras(e=`short`,{locale:t=null}={}){return Fe.create(t,null,`gregory`).eras(e)}static features(){return{relative:wt(),localeWeek:N()}}};function Ar(e,t){let n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf(`day`).valueOf(),r=n(t)-n(e);return Math.floor(Er.fromMillis(r).as(`days`))}function jr(e,t,n){let r=[[`years`,(e,t)=>t.year-e.year],[`quarters`,(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],[`months`,(e,t)=>t.month-e.month+(t.year-e.year)*12],[`weeks`,(e,t)=>{let n=Ar(e,t);return(n-n%7)/7}],[`days`,Ar]],i={},a=e,o,s;for(let[c,l]of r)n.indexOf(c)>=0&&(o=c,i[c]=l(e,t),s=a.plus(i),s>t?(i[c]--,e=a.plus(i),e>t&&(s=e,i[c]--,e=a.plus(i))):e=s);return[e,i,s,o]}function Mr(e,t,n,r){let[i,a,o,s]=jr(e,t,n),c=t-i,l=n.filter(e=>[`hours`,`minutes`,`seconds`,`milliseconds`].indexOf(e)>=0);l.length===0&&(o<t&&(o=i.plus({[s]:1})),o!==i&&(a[s]=(a[s]||0)+c/(o-i)));let u=Er.fromObject(a,r);return l.length>0?Er.fromMillis(c,r).shiftTo(...l).plus(u):u}var Nr=`missing Intl.DateTimeFormat.formatToParts support`;function Pr(e,t=e=>e){return{regex:e,deser:([e])=>t(Ue(e))}}var Fr=`[ \xA0]`,Ir=new RegExp(Fr,`g`);function Lr(e){return e.replace(/\./g,`\\.?`).replace(Ir,Fr)}function Rr(e){return e.replace(/\./g,``).replace(Ir,` `).toLowerCase()}function zr(e,t){return e===null?null:{regex:RegExp(e.map(Lr).join(`|`)),deser:([n])=>e.findIndex(e=>Rr(n)===Rr(e))+t}}function Br(e,t){return{regex:e,deser:([,e,t])=>Wt(e,t),groups:t}}function Vr(e){return{regex:e,deser:([e])=>e}}function Hr(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,`\\$&`)}function Ur(e,t){let n=Ke(t),r=Ke(t,`{2}`),i=Ke(t,`{3}`),a=Ke(t,`{4}`),o=Ke(t,`{6}`),s=Ke(t,`{1,2}`),c=Ke(t,`{1,3}`),l=Ke(t,`{1,6}`),u=Ke(t,`{1,9}`),d=Ke(t,`{2,4}`),f=Ke(t,`{4,6}`),p=e=>({regex:RegExp(Hr(e.val)),deser:([e])=>e,literal:!0}),m=(m=>{if(e.literal)return p(m);switch(m.val){case`G`:return zr(t.eras(`short`),0);case`GG`:return zr(t.eras(`long`),0);case`y`:return Pr(l);case`yy`:return Pr(d,Ht);case`yyyy`:return Pr(a);case`yyyyy`:return Pr(f);case`yyyyyy`:return Pr(o);case`M`:return Pr(s);case`MM`:return Pr(r);case`MMM`:return zr(t.months(`short`,!0),1);case`MMMM`:return zr(t.months(`long`,!0),1);case`L`:return Pr(s);case`LL`:return Pr(r);case`LLL`:return zr(t.months(`short`,!1),1);case`LLLL`:return zr(t.months(`long`,!1),1);case`d`:return Pr(s);case`dd`:return Pr(r);case`o`:return Pr(c);case`ooo`:return Pr(i);case`HH`:return Pr(r);case`H`:return Pr(s);case`hh`:return Pr(r);case`h`:return Pr(s);case`mm`:return Pr(r);case`m`:return Pr(s);case`q`:return Pr(s);case`qq`:return Pr(r);case`s`:return Pr(s);case`ss`:return Pr(r);case`S`:return Pr(c);case`SSS`:return Pr(i);case`u`:return Vr(u);case`uu`:return Vr(s);case`uuu`:return Pr(n);case`a`:return zr(t.meridiems(),0);case`kkkk`:return Pr(a);case`kk`:return Pr(d,Ht);case`W`:return Pr(s);case`WW`:return Pr(r);case`E`:case`c`:return Pr(n);case`EEE`:return zr(t.weekdays(`short`,!1),1);case`EEEE`:return zr(t.weekdays(`long`,!1),1);case`ccc`:return zr(t.weekdays(`short`,!0),1);case`cccc`:return zr(t.weekdays(`long`,!0),1);case`Z`:case`ZZ`:return Br(RegExp(`([+-]${s.source})(?::(${r.source}))?`),2);case`ZZZ`:return Br(RegExp(`([+-]${s.source})(${r.source})?`),2);case`z`:return Vr(/[a-z_+-/]{1,256}?/i);case` `:return Vr(/[^\S\n\r]/);default:return p(m)}})(e)||{invalidReason:Nr};return m.token=e,m}var Wr={year:{"2-digit":`yy`,numeric:`yyyyy`},month:{numeric:`M`,"2-digit":`MM`,short:`MMM`,long:`MMMM`},day:{numeric:`d`,"2-digit":`dd`},weekday:{short:`EEE`,long:`EEEE`},dayperiod:`a`,dayPeriod:`a`,hour12:{numeric:`h`,"2-digit":`hh`},hour24:{numeric:`H`,"2-digit":`HH`},minute:{numeric:`m`,"2-digit":`mm`},second:{numeric:`s`,"2-digit":`ss`},timeZoneName:{long:`ZZZZZ`,short:`ZZZ`}};function Gr(e,t,n){let{type:r,value:i}=e;if(r===`literal`){let e=/^\s+$/.test(i);return{literal:!e,val:e?` `:i}}let a=t[r],o=r;r===`hour`&&(o=t.hour12==null?t.hourCycle==null?n.hour12?`hour12`:`hour24`:t.hourCycle===`h11`||t.hourCycle===`h12`?`hour12`:`hour24`:t.hour12?`hour12`:`hour24`);let s=Wr[o];if(typeof s==`object`&&(s=s[a]),s)return{literal:!1,val:s}}function Kr(e){return[`^${e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,``)}$`,e]}function qr(e,t,n){let r=e.match(t);if(r){let e={},t=1;for(let i in n)if(Ot(n,i)){let a=n[i],o=a.groups?a.groups+1:1;!a.literal&&a.token&&(e[a.token.val[0]]=a.deser(r.slice(t,t+o))),t+=o}return[r,e]}else return[r,{}]}function Jr(e){let t=e=>{switch(e){case`S`:return`millisecond`;case`s`:return`second`;case`m`:return`minute`;case`h`:case`H`:return`hour`;case`d`:return`day`;case`o`:return`ordinal`;case`L`:case`M`:return`month`;case`y`:return`year`;case`E`:case`c`:return`weekday`;case`W`:return`weekNumber`;case`k`:return`weekYear`;case`q`:return`quarter`;default:return null}},n=null,r;return yt(e.z)||(n=ue.create(e.z)),yt(e.Z)||(n||=new Le(e.Z),r=e.Z),yt(e.q)||(e.M=(e.q-1)*3+1),yt(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),yt(e.u)||(e.S=Ft(e.u)),[Object.keys(e).reduce((n,r)=>{let i=t(r);return i&&(n[i]=e[r]),n},{}),n,r]}var Yr=null;function Xr(){return Yr||=ji.fromMillis(1555555555555),Yr}function Zr(e,t){if(e.literal)return e;let n=ni(hn.macroTokenToFormatOpts(e.val),t);return n==null||n.includes(void 0)?e:n}function Qr(e,t){return Array.prototype.concat(...e.map(e=>Zr(e,t)))}var $r=class{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=Qr(hn.parseFormat(t),e),this.units=this.tokens.map(t=>Ur(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){let[e,t]=Kr(this.units);this.regex=RegExp(e,`i`),this.handlers=t}}explainFromTokens(e){if(this.isValid){let[t,n]=qr(e,this.regex,this.handlers),[r,i,o]=n?Jr(n):[null,null,void 0];if(Ot(n,`a`)&&Ot(n,`H`))throw new a(`Can't include meridiem when specifying 24-hour format`);return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:n,result:r,zone:i,specificOffset:o}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function ei(e,t,n){return new $r(e,n).explainFromTokens(t)}function ti(e,t,n){let{result:r,zone:i,specificOffset:a,invalidReason:o}=ei(e,t,n);return[r,i,a,o]}function ni(e,t){if(!e)return null;let n=hn.create(t,e).dtFormatter(Xr()),r=n.formatToParts(),i=n.resolvedOptions();return r.map(t=>Gr(t,e,i))}var ri=`Invalid DateTime`,ii=864e13;function ai(e){return new nt(`unsupported zone`,`the zone "${e.name}" is not supported`)}function oi(e){return e.weekData===null&&(e.weekData=ut(e.c)),e.weekData}function si(e){return e.localWeekData===null&&(e.localWeekData=ut(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function ci(e,t){let n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new ji({...n,...t,old:n})}function li(e,t,n){let r=e-t*60*1e3,i=n.offset(r);if(t===i)return[r,t];r-=(i-t)*60*1e3;let a=n.offset(r);return i===a?[r,i]:[e-Math.min(i,a)*60*1e3,Math.max(i,a)]}function ui(e,t){e+=t*60*1e3;let n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function di(e,t,n){return li(Bt(e),t,n)}function fi(e,t){let n=e.o,r=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,a={...e.c,year:r,month:i,day:Math.min(e.c.day,zt(r,i))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},o=Er.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as(`milliseconds`),[s,c]=li(Bt(a),n,e.zone);return o!==0&&(s+=o,c=e.zone.offset(s)),{ts:s,o:c}}function pi(e,t,n,r,i,a){let{setZone:o,zone:s}=n;if(e&&Object.keys(e).length!==0||t){let r=t||s,i=ji.fromObject(e,{...n,zone:r,specificOffset:a});return o?i:i.setZone(s)}else return ji.invalid(new nt(`unparsable`,`the input "${i}" can't be parsed as ${r}`))}function mi(e,t,n=!0){return e.isValid?hn.create(Fe.create(`en-US`),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function hi(e,t,n){let r=e.c.year>9999||e.c.year<0,i=``;if(r&&e.c.year>=0&&(i+=`+`),i+=Mt(e.c.year,r?6:4),n===`year`)return i;if(t){if(i+=`-`,i+=Mt(e.c.month),n===`month`)return i;i+=`-`}else if(i+=Mt(e.c.month),n===`month`)return i;return i+=Mt(e.c.day),i}function gi(e,t,n,r,i,a,o){let s=!n||e.c.millisecond!==0||e.c.second!==0,c=``;switch(o){case`day`:case`month`:case`year`:break;default:if(c+=Mt(e.c.hour),o===`hour`)break;if(t){if(c+=`:`,c+=Mt(e.c.minute),o===`minute`)break;s&&(c+=`:`,c+=Mt(e.c.second))}else{if(c+=Mt(e.c.minute),o===`minute`)break;s&&(c+=Mt(e.c.second))}if(o===`second`)break;s&&(!r||e.c.millisecond!==0)&&(c+=`.`,c+=Mt(e.c.millisecond,3))}return i&&(e.isOffsetFixed&&e.offset===0&&!a?c+=`Z`:e.o<0?(c+=`-`,c+=Mt(Math.trunc(-e.o/60)),c+=`:`,c+=Mt(Math.trunc(-e.o%60))):(c+=`+`,c+=Mt(Math.trunc(e.o/60)),c+=`:`,c+=Mt(Math.trunc(e.o%60)))),a&&(c+=`[`+e.zone.ianaName+`]`),c}var _i={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},vi={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},yi={ordinal:1,hour:0,minute:0,second:0,millisecond:0},bi=[`year`,`month`,`day`,`hour`,`minute`,`second`,`millisecond`],xi=[`weekYear`,`weekNumber`,`weekday`,`hour`,`minute`,`second`,`millisecond`],Si=[`year`,`ordinal`,`hour`,`minute`,`second`,`millisecond`];function Ci(e){let t={year:`year`,years:`year`,month:`month`,months:`month`,day:`day`,days:`day`,hour:`hour`,hours:`hour`,minute:`minute`,minutes:`minute`,quarter:`quarter`,quarters:`quarter`,second:`second`,seconds:`second`,millisecond:`millisecond`,milliseconds:`millisecond`,weekday:`weekday`,weekdays:`weekday`,weeknumber:`weekNumber`,weeksnumber:`weekNumber`,weeknumbers:`weekNumber`,weekyear:`weekYear`,weekyears:`weekYear`,ordinal:`ordinal`}[e.toLowerCase()];if(!t)throw new o(e);return t}function wi(e){switch(e.toLowerCase()){case`localweekday`:case`localweekdays`:return`localWeekday`;case`localweeknumber`:case`localweeknumbers`:return`localWeekNumber`;case`localweekyear`:case`localweekyears`:return`localWeekYear`;default:return Ci(e)}}function Ti(e){if(ki===void 0&&(ki=tt.now()),e.type!==`iana`)return e.offset(ki);let t=e.name,n=Ai.get(t);return n===void 0&&(n=e.offset(ki),Ai.set(t,n)),n}function Ei(e,t){let n=ze(t.zone,tt.defaultZone);if(!n.isValid)return ji.invalid(ai(n));let r=Fe.fromObject(t),i,a;if(yt(e.year))i=tt.now();else{for(let t of bi)yt(e[t])&&(e[t]=_i[t]);let t=_t(e)||vt(e);if(t)return ji.invalid(t);let r=Ti(n);[i,a]=di(e,r,n)}return new ji({ts:i,zone:n,loc:r,o:a})}function Di(e,t,n){let r=yt(n.round)?!0:n.round,i=yt(n.rounding)?`trunc`:n.rounding,a=(e,a)=>(e=It(e,r||n.calendary?0:2,n.calendary?`round`:i),t.loc.clone(n).relFormatter(n).format(e,a)),o=r=>n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r);if(n.unit)return a(o(n.unit),n.unit);for(let e of n.units){let t=o(e);if(Math.abs(t)>=1)return a(t,e)}return a(e>t?-0:0,n.units[n.units.length-1])}function Oi(e){let t={},n;return e.length>0&&typeof e[e.length-1]==`object`?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}var ki,Ai=new Map,ji=class e{constructor(e){let t=e.zone||tt.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new nt(`invalid input`):null)||(t.isValid?null:ai(t));this.ts=yt(e.ts)?tt.now():e.ts;let r=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[r,i]=[e.old.c,e.old.o];else{let a=bt(e.o)&&!e.old?e.o:t.offset(this.ts);r=ui(this.ts,a),n=Number.isNaN(r.year)?new nt(`invalid input`):null,r=n?null:r,i=n?null:a}this._zone=t,this.loc=e.loc||Fe.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}static now(){return new e({})}static local(){let[e,t]=Oi(arguments),[n,r,i,a,o,s,c]=t;return Ei({year:n,month:r,day:i,hour:a,minute:o,second:s,millisecond:c},e)}static utc(){let[e,t]=Oi(arguments),[n,r,i,a,o,s,c]=t;return e.zone=Le.utcInstance,Ei({year:n,month:r,day:i,hour:a,minute:o,second:s,millisecond:c},e)}static fromJSDate(t,n={}){let r=Ct(t)?t.valueOf():NaN;if(Number.isNaN(r))return e.invalid(`invalid input`);let i=ze(n.zone,tt.defaultZone);return i.isValid?new e({ts:r,zone:i,loc:Fe.fromObject(n)}):e.invalid(ai(i))}static fromMillis(t,n={}){if(!bt(t))throw new s(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`);return t<-864e13||t>ii?e.invalid(`Timestamp out of range`):new e({ts:t,zone:ze(n.zone,tt.defaultZone),loc:Fe.fromObject(n)})}static fromSeconds(t,n={}){if(bt(t))return new e({ts:t*1e3,zone:ze(n.zone,tt.defaultZone),loc:Fe.fromObject(n)});throw new s(`fromSeconds requires a numerical input`)}static fromObject(t,n={}){t||={};let r=ze(n.zone,tt.defaultZone);if(!r.isValid)return e.invalid(ai(r));let i=Fe.fromObject(n),o=F(t,wi),{minDaysInFirstWeek:s,startOfWeek:c}=mt(o,i),l=tt.now(),u=yt(n.specificOffset)?r.offset(l):n.specificOffset,d=!yt(o.ordinal),f=!yt(o.year),p=!yt(o.month)||!yt(o.day),m=f||p,h=o.weekYear||o.weekNumber;if((m||d)&&h)throw new a(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(p&&d)throw new a(`Can't mix ordinal dates with month/day`);let g=h||o.weekday&&!m,_,v,y=ui(l,u);g?(_=xi,v=vi,y=ut(y,s,c)):d?(_=Si,v=yi,y=ft(y)):(_=bi,v=_i);let b=!1;for(let e of _){let t=o[e];yt(t)?b?o[e]=v[e]:o[e]=y[e]:b=!0}let x=(g?ht(o,s,c):d?gt(o):_t(o))||vt(o);if(x)return e.invalid(x);let[S,C]=di(g?dt(o,s,c):d?pt(o):o,u,r),w=new e({ts:S,zone:r,o:C,loc:i});return o.weekday&&m&&t.weekday!==w.weekday?e.invalid(`mismatched weekday`,`you can't specify both a weekday of ${o.weekday} and a date of ${w.toISO()}`):w.isValid?w:e.invalid(w.invalid)}static fromISO(e,t={}){let[n,r]=ar(e);return pi(n,r,t,`ISO 8601`,e)}static fromRFC2822(e,t={}){let[n,r]=or(e);return pi(n,r,t,`RFC 2822`,e)}static fromHTTP(e,t={}){let[n,r]=sr(e);return pi(n,r,t,`HTTP`,t)}static fromFormat(t,n,r={}){if(yt(t)||yt(n))throw new s(`fromFormat requires an input string and a format`);let{locale:i=null,numberingSystem:a=null}=r,[o,c,l,u]=ti(Fe.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),t,n);return u?e.invalid(u):pi(o,c,r,`format ${n}`,t,l)}static fromString(t,n,r={}){return e.fromFormat(t,n,r)}static fromSQL(e,t={}){let[n,r]=mr(e);return pi(n,r,t,`SQL`,e)}static invalid(t,r=null){if(!t)throw new s(`need to specify a reason the DateTime is invalid`);let i=t instanceof nt?t:new nt(t,r);if(tt.throwOnInvalid)throw new n(i);return new e({invalid:i})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){let n=ni(e,Fe.fromObject(t));return n?n.map(e=>e?e.val:null).join(``):null}static expandFormat(e,t={}){return Qr(hn.parseFormat(e),Fe.fromObject(t)).map(e=>e.val).join(``)}static resetCache(){ki=void 0,Ai.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?oi(this).weekYear:NaN}get weekNumber(){return this.isValid?oi(this).weekNumber:NaN}get weekday(){return this.isValid?oi(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?si(this).weekday:NaN}get localWeekNumber(){return this.isValid?si(this).weekNumber:NaN}get localWeekYear(){return this.isValid?si(this).weekYear:NaN}get ordinal(){return this.isValid?ft(this.c).ordinal:NaN}get monthShort(){return this.isValid?kr.months(`short`,{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?kr.months(`long`,{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?kr.weekdays(`short`,{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?kr.weekdays(`long`,{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:`short`,locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:`long`,locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,t=6e4,n=Bt(this.c),r=this.zone.offset(n-e),i=this.zone.offset(n+e),a=this.zone.offset(n-r*t),o=this.zone.offset(n-i*t);if(a===o)return[this];let s=n-a*t,c=n-o*t,l=ui(s,a),u=ui(c,o);return l.hour===u.hour&&l.minute===u.minute&&l.second===u.second&&l.millisecond===u.millisecond?[ci(this,{ts:s}),ci(this,{ts:c})]:[this]}get isInLeapYear(){return Lt(this.year)}get daysInMonth(){return zt(this.year,this.month)}get daysInYear(){return this.isValid?Rt(this.year):NaN}get weeksInWeekYear(){return this.isValid?P(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?P(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:t,numberingSystem:n,calendar:r}=hn.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:n,outputCalendar:r}}toUTC(e=0,t={}){return this.setZone(Le.instance(e),t)}toLocal(){return this.setZone(tt.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=ze(t,tt.defaultZone),t.equals(this.zone))return this;if(t.isValid){let e=this.ts;if(n||r){let n=t.offset(this.ts),r=this.toObject();[e]=di(r,n,t)}return ci(this,{ts:e,zone:t})}else return e.invalid(ai(t))}reconfigure({locale:e,numberingSystem:t,outputCalendar:n}={}){let r=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:n});return ci(this,{loc:r})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let t=F(e,wi),{minDaysInFirstWeek:n,startOfWeek:r}=mt(t,this.loc),i=!yt(t.weekYear)||!yt(t.weekNumber)||!yt(t.weekday),o=!yt(t.ordinal),s=!yt(t.year),c=!yt(t.month)||!yt(t.day),l=s||c,u=t.weekYear||t.weekNumber;if((l||o)&&u)throw new a(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(c&&o)throw new a(`Can't mix ordinal dates with month/day`);let d;i?d=dt({...ut(this.c,n,r),...t},n,r):yt(t.ordinal)?(d={...this.toObject(),...t},yt(t.day)&&(d.day=Math.min(zt(d.year,d.month),d.day))):d=pt({...ft(this.c),...t});let[f,p]=di(d,this.o,this.zone);return ci(this,{ts:f,o:p})}plus(e){if(!this.isValid)return this;let t=Er.fromDurationLike(e);return ci(this,fi(this,t))}minus(e){if(!this.isValid)return this;let t=Er.fromDurationLike(e).negate();return ci(this,fi(this,t))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;let n={},r=Er.normalizeUnit(e);switch(r){case`years`:n.month=1;case`quarters`:case`months`:n.day=1;case`weeks`:case`days`:n.hour=0;case`hours`:n.minute=0;case`minutes`:n.second=0;case`seconds`:n.millisecond=0;break}if(r===`weeks`)if(t){let e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(n.weekNumber=this.weekNumber-1),n.weekday=e}else n.weekday=1;return r===`quarters`&&(n.month=(Math.ceil(this.month/3)-1)*3+1),this.set(n)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?hn.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):ri}toLocaleString(e=f,t={}){return this.isValid?hn.create(this.loc.clone(t),e).formatDateTime(this):ri}toLocaleParts(e={}){return this.isValid?hn.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e=`extended`,suppressSeconds:t=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:i=!1,precision:a=`milliseconds`}={}){if(!this.isValid)return null;a=Ci(a);let o=e===`extended`,s=hi(this,o,a);return bi.indexOf(a)>=3&&(s+=`T`),s+=gi(this,o,t,n,r,i,a),s}toISODate({format:e=`extended`,precision:t=`day`}={}){return this.isValid?hi(this,e===`extended`,Ci(t)):null}toISOWeekDate(){return mi(this,`kkkk-'W'WW-c`)}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:i=!1,format:a=`extended`,precision:o=`milliseconds`}={}){return this.isValid?(o=Ci(o),(r&&bi.indexOf(o)>=3?`T`:``)+gi(this,a===`extended`,t,e,n,i,o)):null}toRFC2822(){return mi(this,`EEE, dd LLL yyyy HH:mm:ss ZZZ`,!1)}toHTTP(){return mi(this.toUTC(),`EEE, dd LLL yyyy HH:mm:ss 'GMT'`)}toSQLDate(){return this.isValid?hi(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:n=!0}={}){let r=`HH:mm:ss.SSS`;return(t||e)&&(n&&(r+=` `),t?r+=`z`:e&&(r+=`ZZ`)),mi(this,r,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():ri}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t=`milliseconds`,n={}){if(!this.isValid||!e.isValid)return Er.invalid(`created by diffing an invalid DateTime`);let r={locale:this.locale,numberingSystem:this.numberingSystem,...n},i=Tt(t).map(Er.normalizeUnit),a=e.valueOf()>this.valueOf(),o=Mr(a?this:e,a?e:this,i,r);return a?o.negate():o}diffNow(t=`milliseconds`,n={}){return this.diff(e.now(),t,n)}until(e){return this.isValid?Or.fromDateTimes(this,e):this}hasSame(e,t,n){if(!this.isValid)return!1;let r=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(t,n)<=r&&r<=i.endOf(t,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(t={}){if(!this.isValid)return null;let n=t.base||e.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0,i=[`years`,`months`,`days`,`hours`,`minutes`,`seconds`],a=t.unit;return Array.isArray(t.unit)&&(i=t.unit,a=void 0),Di(n,this.plus(r),{...t,numeric:`always`,units:i,unit:a})}toRelativeCalendar(t={}){return this.isValid?Di(t.base||e.fromObject({},{zone:this.zone}),this,{...t,numeric:`auto`,units:[`years`,`months`,`days`],calendary:!0}):null}static min(...t){if(!t.every(e.isDateTime))throw new s(`min requires all arguments be DateTimes`);return Et(t,e=>e.valueOf(),Math.min)}static max(...t){if(!t.every(e.isDateTime))throw new s(`max requires all arguments be DateTimes`);return Et(t,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,n={}){let{locale:r=null,numberingSystem:i=null}=n;return ei(Fe.fromOpts({locale:r,numberingSystem:i,defaultToEN:!0}),e,t)}static fromStringExplain(t,n,r={}){return e.fromFormatExplain(t,n,r)}static buildFormatParser(e,t={}){let{locale:n=null,numberingSystem:r=null}=t;return new $r(Fe.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),e)}static fromFormatParser(t,n,r={}){if(yt(t)||yt(n))throw new s(`fromFormatParser requires an input string and a format parser`);let{locale:i=null,numberingSystem:a=null}=r,o=Fe.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});if(!o.equals(n.locale))throw new s(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`);let{result:c,zone:l,specificOffset:u,invalidReason:d}=n.explainFromTokens(t);
48return d?e.invalid(d):pi(c,l,r,`format ${n.format}`,t,u)}static get DATE_SHORT(){return f}static get DATE_MED(){return p}static get DATE_MED_WITH_WEEKDAY(){return m}static get DATE_FULL(){return h}static get DATE_HUGE(){return g}static get TIME_SIMPLE(){return _}static get TIME_WITH_SECONDS(){return v}static get TIME_WITH_SHORT_OFFSET(){return y}static get TIME_WITH_LONG_OFFSET(){return b}static get TIME_24_SIMPLE(){return x}static get TIME_24_WITH_SECONDS(){return S}static get TIME_24_WITH_SHORT_OFFSET(){return C}static get TIME_24_WITH_LONG_OFFSET(){return w}static get DATETIME_SHORT(){return T}static get DATETIME_SHORT_WITH_SECONDS(){return E}static get DATETIME_MED(){return D}static get DATETIME_MED_WITH_SECONDS(){return O}static get DATETIME_MED_WITH_WEEKDAY(){return k}static get DATETIME_FULL(){return A}static get DATETIME_FULL_WITH_SECONDS(){return ee}static get DATETIME_HUGE(){return j}static get DATETIME_HUGE_WITH_SECONDS(){return te}};function Mi(e){if(ji.isDateTime(e))return e;if(e&&e.valueOf&&bt(e.valueOf()))return ji.fromJSDate(e);if(e&&typeof e==`object`)return ji.fromObject(e);throw new s(`Unknown datetime argument: ${e}, of type ${typeof e}`)}e.DateTime=ji,e.Duration=Er,e.FixedOffsetZone=Le,e.IANAZone=ue,e.Info=kr,e.Interval=Or,e.InvalidZone=Re,e.Settings=tt,e.SystemZone=ie,e.VERSION=`3.7.2`,e.Zone=ne})),n$=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronDate=e.DAYS_IN_MONTH=e.DateMathOp=e.TimeUnit=void 0;var t=t$(),n;(function(e){e.Second=`Second`,e.Minute=`Minute`,e.Hour=`Hour`,e.Day=`Day`,e.Month=`Month`,e.Year=`Year`})(n||(e.TimeUnit=n={}));var r;(function(e){e.Add=`Add`,e.Subtract=`Subtract`})(r||(e.DateMathOp=r={})),e.DAYS_IN_MONTH=Object.freeze([31,29,31,30,31,30,31,31,30,31,30,31]);var i=class i{#e;#t=null;#n=null;#r={add:{[n.Year]:this.addYear.bind(this),[n.Month]:this.addMonth.bind(this),[n.Day]:this.addDay.bind(this),[n.Hour]:this.addHour.bind(this),[n.Minute]:this.addMinute.bind(this),[n.Second]:this.addSecond.bind(this)},subtract:{[n.Year]:this.subtractYear.bind(this),[n.Month]:this.subtractMonth.bind(this),[n.Day]:this.subtractDay.bind(this),[n.Hour]:this.subtractHour.bind(this),[n.Minute]:this.subtractMinute.bind(this),[n.Second]:this.subtractSecond.bind(this)}};constructor(e,n){let r={zone:n};if(e?e instanceof i?(this.#e=e.#e,this.#t=e.#t,this.#n=e.#n):e instanceof Date?this.#e=t.DateTime.fromJSDate(e,r):typeof e==`number`?this.#e=t.DateTime.fromMillis(e,r):(this.#e=t.DateTime.fromISO(e,r),this.#e.isValid||(this.#e=t.DateTime.fromRFC2822(e,r)),this.#e.isValid||(this.#e=t.DateTime.fromSQL(e,r)),this.#e.isValid||(this.#e=t.DateTime.fromFormat(e,`EEE, d MMM yyyy HH:mm:ss`,r))):this.#e=t.DateTime.local(),!this.#e.isValid)throw Error(`CronDate: unhandled timestamp: ${e}`);n&&n!==this.#e.zoneName&&(this.#e=this.#e.setZone(n))}static#i(e){return e%4==0&&e%100!=0||e%400==0}get dstStart(){return this.#t}set dstStart(e){this.#t=e}get dstEnd(){return this.#n}set dstEnd(e){this.#n=e}addYear(){this.#e=this.#e.plus({years:1})}addMonth(){this.#e=this.#e.plus({months:1}).startOf(`month`)}addDay(){this.#e=this.#e.plus({days:1}).startOf(`day`)}addHour(){this.#e=this.#e.plus({hours:1}).startOf(`hour`)}addMinute(){this.#e=this.#e.plus({minutes:1}).startOf(`minute`)}addSecond(){this.#e=this.#e.plus({seconds:1})}subtractYear(){this.#e=this.#e.minus({years:1})}subtractMonth(){this.#e=this.#e.minus({months:1}).endOf(`month`).startOf(`second`)}subtractDay(){this.#e=this.#e.minus({days:1}).endOf(`day`).startOf(`second`)}subtractHour(){this.#e=this.#e.minus({hours:1}).endOf(`hour`).startOf(`second`)}subtractMinute(){this.#e=this.#e.minus({minutes:1}).endOf(`minute`).startOf(`second`)}subtractSecond(){this.#e=this.#e.minus({seconds:1})}addUnit(e){this.#r.add[e]()}subtractUnit(e){this.#r.subtract[e]()}invokeDateOperation(e,t){if(e===r.Add){this.addUnit(t);return}if(e===r.Subtract){this.subtractUnit(t);return}throw Error(`Invalid verb: ${e}`)}getDate(){return this.#e.day}getFullYear(){return this.#e.year}getDay(){let e=this.#e.weekday;return e===7?0:e}getMonth(){return this.#e.month-1}getHours(){return this.#e.hour}getMinutes(){return this.#e.minute}getSeconds(){return this.#e.second}getMilliseconds(){return this.#e.millisecond}getTime(){return this.#e.valueOf()}getUTCDate(){return this.#a().day}getUTCFullYear(){return this.#a().year}getUTCDay(){let e=this.#a().weekday;return e===7?0:e}
48getUTCMonth(){return this.#a().month-1}getUTCHours(){return this.#a().hour}getUTCMinutes(){return this.#a().minute}getUTCSeconds(){return this.#a().second}toISOString(){return this.#e.toUTC().toISO()}toJSON(){return this.#e.toJSON()}setDate(e){this.#e=this.#e.set({day:e})}setFullYear(e){this.#e=this.#e.set({year:e})}setDay(e){this.#e=this.#e.set({weekday:e})}setMonth(e){this.#e=this.#e.set({month:e+1})}setHours(e){this.#e=this.#e.set({hour:e})}setMinutes(e){this.#e=this.#e.set({minute:e})}setSeconds(e){this.#e=this.#e.set({second:e})}setMilliseconds(e){this.#e=this.#e.set({millisecond:e})}toString(){return this.toDate().toString()}toDate(){return this.#e.toJSDate()}isLastDayOfMonth(){let{day:t,month:n}=this.#e;if(n===2){let r=i.#i(this.#e.year);return t===e.DAYS_IN_MONTH[n-1]-+!r}return t===e.DAYS_IN_MONTH[n-1]}isLastWeekdayOfMonth(){let{day:t,month:n}=this.#e,r;return r=n===2?e.DAYS_IN_MONTH[n-1]-+!i.#i(this.#e.year):e.DAYS_IN_MONTH[n-1],t>r-7}applyDateOperation(e,t,r){if(t===n.Month||t===n.Day){this.invokeDateOperation(e,t);return}let i=this.getHours();this.invokeDateOperation(e,t);let a=this.getHours(),o=a-i;o===2?r!==24&&(this.dstStart=a):o===0&&this.getMinutes()===0&&this.getSeconds()===0&&r!==24&&(this.dstEnd=a)}#a(){return this.#e.toUTC()}};e.CronDate=i,e.default=i})),r$=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronMonth=void 0;var t=n$(),n=XQ(),r=1,i=12,a=Object.freeze([]);e.CronMonth=class extends n.CronField{static get min(){return r}static get max(){return i}static get chars(){return a}static get daysInMonth(){return t.DAYS_IN_MONTH}constructor(e,t){super(e,t),this.validate()}get values(){return super.values}}})),i$=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronSecond=void 0;var t=XQ(),n=0,r=59,i=Object.freeze([]);e.CronSecond=class extends t.CronField{static get min(){return n}static get max(){return r}static get chars(){return i}constructor(e,t){super(e,t),this.validate()}get values(){return super.values}}})),a$=n((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(YQ(),e),n(ZQ(),e),n(QQ(),e),n(XQ(),e),n($Q(),e),n(e$(),e),n(r$(),e),n(i$(),e)})),o$=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronFieldCollection=void 0;var t=a$();e.CronFieldCollection=class e{#e;#t;#n;#r;#i;#a;static from(n,r){return new e({second:this.resolveField(t.CronSecond,n.second,r.second),minute:this.resolveField(t.CronMinute,n.minute,r.minute),hour:this.resolveField(t.CronHour,n.hour,r.hour),dayOfMonth:this.resolveField(t.CronDayOfMonth,n.dayOfMonth,r.dayOfMonth),month:this.resolveField(t.CronMonth,n.month,r.month),dayOfWeek:this.resolveField(t.CronDayOfWeek,n.dayOfWeek,r.dayOfWeek)})}static resolveField(e,n,r){return r?r instanceof t.CronField?r:new e(r):n}constructor({second:e,minute:n,hour:r,dayOfMonth:i,month:a,dayOfWeek:o}){if(!e)throw Error(`Validation error, Field second is missing`);if(!n)throw Error(`Validation error, Field minute is missing`);if(!r)throw Error(`Validation error, Field hour is missing`);if(!i)throw Error(`Validation error, Field dayOfMonth is missing`);if(!a)throw Error(`Validation error, Field month is missing`);if(!o)throw Error(`Validation error, Field dayOfWeek is missing`);if(a.values.length===1&&!i.hasLastChar&&!(parseInt(i.values[0],10)<=t.CronMonth.daysInMonth[a.values[0]-1]))throw Error(`Invalid explicit day of month definition`);this.#e=e,this.#t=n,this.#n=r,this.#i=a,this.#a=o,this.#r=i}get second(){return this.#e}get minute(){return this.#t}get hour(){return this.#n}get dayOfMonth(){return this.#r}get month(){return this.#i}get dayOfWeek(){return this.#a}static compactField(e){if(e.length===0)return[];let t=[],n;return e.forEach((e,r,i)=>{if(n===void 0){n={start:e,count:1};return}let a=i[r-1]||n.start,o=i[r+1];if(e===`L`||e===`W`){t.push(n),t.push({start:e,count:1}),n=void 0;return}if(n.step===void 0&&o!==void 0){let t=e-a;if(t<=o-e){n={...n,count:2,end:e,step:t};return}n.step=1}e-(n.end??0)===n.step?(n.count++,n.end=e):(n.count===1?t.push({start:n.start,count:1}):n.count===2?(t.push({start:n.start,count:1}),t.push({start:n.end??a,count:1})):t.push(n),n={start:e,count:1})}),n&&t.push(n),t}static#o(e,t,n){let r=t.step;return r?r===1&&t.start===e.min&&t.end&&t.end>=n?e.hasQuestionMarkChar?`?`:`*`:r!==1&&t.start===e.min&&t.end&&t.end>=n-r+1?`*/${r}`:null:null}static#s(e,t){let n=e.step;if(n===1)return`${e.start}-${e.end}`;let r=e.start===0?e.count-1:e.count;if(!n)throw Error(`Unexpected range step`);if(!e.end)throw Error(`Unexpected range end`);
48if(n*r>e.end){let t=(t,r)=>{if(typeof e.start!=`number`)throw Error(`Unexpected range start`);return r%n===0?e.start+r:null};if(typeof e.start!=`number`)throw Error(`Unexpected range start`);let r={length:e.end-e.start+1};return Array.from(r,t).filter(e=>e!==null).join(`,`)}return e.end===t-n+1?`${e.start}/${n}`:`${e.start}-${e.end}/${n}`}stringifyField(n){let r=n.max,i=n.values;if(n instanceof t.CronDayOfWeek){r=6;let e=this.#a.values;i=e[e.length-1]===7?e.slice(0,-1):e}n instanceof t.CronDayOfMonth&&(r=this.#i.values.length===1?t.CronMonth.daysInMonth[this.#i.values[0]-1]:n.max);let a=e.compactField(i);if(a.length===1){let t=e.#o(n,a[0],r);if(t)return t}return a.map(i=>{let a=i.count===1?i.start.toString():e.#s(i,r);return n instanceof t.CronDayOfWeek&&n.nthDay>0?`${a}#${n.nthDay}`:a}).join(`,`)}stringify(e=!1){let t=[];return e&&t.push(this.stringifyField(this.#e)),t.push(this.stringifyField(this.#t),this.stringifyField(this.#n),this.stringifyField(this.#r),this.stringifyField(this.#i),this.stringifyField(this.#a)),t.join(` `)}serialize(){return{second:this.#e.serialize(),minute:this.#t.serialize(),hour:this.#n.serialize(),dayOfMonth:this.#r.serialize(),month:this.#i.serialize(),dayOfWeek:this.#a.serialize()}}}})),s$=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronExpression=e.LOOPS_LIMIT_EXCEEDED_ERROR_MESSAGE=e.TIME_SPAN_OUT_OF_BOUNDS_ERROR_MESSAGE=void 0;var t=n$();e.TIME_SPAN_OUT_OF_BOUNDS_ERROR_MESSAGE=`Out of the time span range`,e.LOOPS_LIMIT_EXCEEDED_ERROR_MESSAGE=`Invalid expression, loop limit exceeded`;var n=1e4,r=class r{#e;#t;#n;#r;#i;#a;constructor(e,n){this.#e=n,this.#t=n.tz,this.#r=n.startDate?new t.CronDate(n.startDate,this.#t):null,this.#i=n.endDate?new t.CronDate(n.endDate,this.#t):null;let r=n.currentDate??n.startDate;if(r){let e=new t.CronDate(r,this.#t);this.#r&&e.getTime()<this.#r.getTime()?r=this.#r:this.#i&&e.getTime()>this.#i.getTime()&&(r=this.#i)}this.#n=new t.CronDate(r,this.#t),this.#a=e}get fields(){return this.#a}static fieldsToExpression(e,t){return new r(e,t||{})}static#o(e,t){return t.some(t=>t===e)}static#s(e,t){let n=t.isLastWeekdayOfMonth();return e.some(e=>{let r=parseInt(e.toString().charAt(0),10)%7;if(Number.isNaN(r))throw Error(`Invalid last weekday of the month expression: ${e}`);return t.getDay()===r&&n})}next(){return this.#d()}prev(){return this.#d(!0)}hasNext(){let e=this.#n;try{return this.#d(),!0}catch{return!1}finally{this.#n=e}}hasPrev(){let e=this.#n;try{return this.#d(!0),!0}catch{return!1}finally{this.#n=e}}take(e){let t=[];if(e>=0)for(let n=0;n<e;n++)try{t.push(this.next())}catch{return t}else for(let n=0;n>e;n--)try{t.push(this.prev())}catch{return t}return t}reset(e){this.#n=new t.CronDate(e||this.#e.currentDate)}stringify(e=!1){return this.#a.stringify(e)}includesDate(e){let{second:n,minute:r,hour:i,month:a}=this.#a,o=new t.CronDate(e,this.#t);return!(!n.values.includes(o.getSeconds())||!r.values.includes(o.getMinutes())||!i.values.includes(o.getHours())||!a.values.includes(o.getMonth()+1)||!this.#c(o)||this.#a.dayOfWeek.nthDay>0&&Math.ceil(o.getDate()/7)!==this.#a.dayOfWeek.nthDay)}toString(){return this.#e.expression||this.stringify(!0)}#c(e){let t=this.#a.dayOfMonth.isWildcard,n=!t,i=this.#a.dayOfWeek.isWildcard,a=!i,o=r.#o(e.getDate(),this.#a.dayOfMonth.values)||this.#a.dayOfMonth.hasLastChar&&e.isLastDayOfMonth(),s=r.#o(e.getDay(),this.#a.dayOfWeek.values)||this.#a.dayOfWeek.hasLastChar&&r.#s(this.#a.dayOfWeek.values,e);return!!(n&&a&&(o||s)||o&&!a||t&&!i&&s)}#l(e,n,i){let a=e.getHours(),o=r.#o(a,this.#a.hour.values),s=e.dstStart===a,c=e.dstEnd===a;return!o&&!s?(e.dstStart=null,e.applyDateOperation(n,t.TimeUnit.Hour,this.#a.hour.values.length),!1):s&&!r.#o(a-1,this.#a.hour.values)?(e.invokeDateOperation(n,t.TimeUnit.Hour),!1):c&&!i?(e.dstEnd=null,e.applyDateOperation(t.DateMathOp.Add,t.TimeUnit.Hour,this.#a.hour.values.length),!1):!0}#u(t){if(!this.#r&&!this.#i)return;let n=t.getTime();if(this.#r&&n<this.#r.getTime()||this.#i&&n>this.#i.getTime())throw Error(e.TIME_SPAN_OUT_OF_BOUNDS_ERROR_MESSAGE)}#d(i=!1){let a=i?t.DateMathOp.Subtract:t.DateMathOp.Add,o=new t.CronDate(this.#n),s=o.getTime(),c=0;for(;++c<n;){if(this.#u(o),!this.#c(o)){o.applyDateOperation(a,t.TimeUnit.Day,this.#a.hour.values.length);continue}if(!(this.#a.dayOfWeek.nthDay<=0||Math.ceil(o.getDate()/7)===this.#a.dayOfWeek.nthDay)){o.applyDateOperation(a,t.TimeUnit.Day,this.#a.hour.values.length);continue}if(!r.#o(o.getMonth()+1,this.#a.month.values)){o.applyDateOperation(a,t.TimeUnit.Month,this.#a.hour.values.length);continue}if(this.#l(o,a,i)){if(!r.#o(o.getMinutes(),this.#a.minute.values)){o.applyDateOperation(a,t.TimeUnit.Minute,this.#a.hour.values.length);continue}if(!r.#o(o.getSeconds(),this.#a.second.values)){o.applyDateOperation(a,t.TimeUnit.Second,this.#a.hour.values.length);continue}if(s===o.getTime()){(a===`Add`||o.getMilliseconds()===0)&&o.applyDateOperation(a,t.TimeUnit.Second,this.#a.hour.values.length);continue}break}}if(c>n)throw Error(e.LOOPS_LIMIT_EXCEEDED_ERROR_MESSAGE);return o.getMilliseconds()!==0&&o.setMilliseconds(0),this.#n=o,o}[Symbol.iterator](){return{next:()=>({value:this.#d(),done:!this.hasNext()})}}};e.CronExpression=r,e.default=r})),c$=n((e=>
48{Object.defineProperty(e,"__esModule",{value:!0}),e.seededRandom=r;function t(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return()=>t>>>0}function n(e){return()=>{let t=e+=1831565813;return t=Math.imul(t^t>>>15,t|1),t^=t+Math.imul(t^t>>>7,t|61),((t^t>>>14)>>>0)/4294967296}}function r(e){return n(e?t(e)():Math.floor(Math.random()*1e10))}})),l$=n((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronExpressionParser=e.DayOfWeek=e.Months=e.CronUnit=e.PredefinedExpressions=void 0;var t=o$(),n=s$(),r=c$(),i=a$(),a;(function(e){e[`@yearly`]=`0 0 0 1 1 *`,e[`@annually`]=`0 0 0 1 1 *`,e[`@monthly`]=`0 0 0 1 * *`,e[`@weekly`]=`0 0 0 * * 0`,e[`@daily`]=`0 0 0 * * *`,e[`@hourly`]=`0 0 * * * *`,e[`@minutely`]=`0 * * * * *`,e[`@secondly`]=`* * * * * *`,e[`@weekdays`]=`0 0 0 * * 1-5`,e[`@weekends`]=`0 0 0 * * 0,6`})(a||(e.PredefinedExpressions=a={}));var o;(function(e){e.Second=`Second`,e.Minute=`Minute`,e.Hour=`Hour`,e.DayOfMonth=`DayOfMonth`,e.Month=`Month`,e.DayOfWeek=`DayOfWeek`})(o||(e.CronUnit=o={}));var s;(function(e){e[e.jan=1]=`jan`,e[e.feb=2]=`feb`,e[e.mar=3]=`mar`,e[e.apr=4]=`apr`,e[e.may=5]=`may`,e[e.jun=6]=`jun`,e[e.jul=7]=`jul`,e[e.aug=8]=`aug`,e[e.sep=9]=`sep`,e[e.oct=10]=`oct`,e[e.nov=11]=`nov`,e[e.dec=12]=`dec`})(s||(e.Months=s={}));var c;(function(e){e[e.sun=0]=`sun`,e[e.mon=1]=`mon`,e[e.tue=2]=`tue`,e[e.wed=3]=`wed`,e[e.thu=4]=`thu`,e[e.fri=5]=`fri`,e[e.sat=6]=`sat`})(c||(e.DayOfWeek=c={})),e.CronExpressionParser=class e{static parse(s,c={}){let{strict:l=!1,hashSeed:u}=c,d=(0,r.seededRandom)(u);s=a[s]||s;let f=e.#e(s,l);if(!(f.dayOfMonth===`*`||f.dayOfWeek===`*`||!l))throw Error(`Cannot use both dayOfMonth and dayOfWeek together in strict mode!`);let p=e.#t(o.Second,f.second,i.CronSecond.constraints,d),m=e.#t(o.Minute,f.minute,i.CronMinute.constraints,d),h=e.#t(o.Hour,f.hour,i.CronHour.constraints,d),g=e.#t(o.Month,f.month,i.CronMonth.constraints,d),_=e.#t(o.DayOfMonth,f.dayOfMonth,i.CronDayOfMonth.constraints,d),{dayOfWeek:v,nthDayOfWeek:y}=e.#u(f.dayOfWeek),b=e.#t(o.DayOfWeek,v,i.CronDayOfWeek.constraints,d),x=new t.CronFieldCollection({second:new i.CronSecond(p,{rawValue:f.second}),minute:new i.CronMinute(m,{rawValue:f.minute}),hour:new i.CronHour(h,{rawValue:f.hour}),dayOfMonth:new i.CronDayOfMonth(_,{rawValue:f.dayOfMonth}),month:new i.CronMonth(g,{rawValue:f.month}),dayOfWeek:new i.CronDayOfWeek(b,{rawValue:f.dayOfWeek,nthDayOfWeek:y})});return new n.CronExpression(x,{...c,expression:s})}static#e(e,t){if(t&&!e.length)throw Error(`Invalid cron expression`);e||=`0 * * * * *`;let n=e.trim().split(/\s+/);if(t&&n.length<6)throw Error(`Invalid cron expression, expected 6 fields`);if(n.length>6)throw Error(`Invalid cron expression, too many fields`);let r=[`*`,`*`,`*`,`*`,`*`,`0`];n.length<r.length&&n.unshift(...r.slice(n.length));let[i,a,o,s,c,l]=n;return{second:i,minute:a,hour:o,dayOfMonth:s,month:c,dayOfWeek:l}}static#t(e,t,n,r){if((e===o.Month||e===o.DayOfWeek)&&(t=t.replace(/[a-z]{3}/gi,e=>{e=e.toLowerCase();let t=s[e]||c[e];if(t===void 0)throw Error(`Validation error, cannot resolve alias "${e}"`);return t.toString()})),!n.validChars.test(t))throw Error(`Invalid characters, got value: ${t}`);return t=this.#n(t,n),t=this.#r(t,n,r),this.#i(e,t,n)}static#n(e,t){return e.replace(/[*?]/g,t.min+`-`+t.max)}static#r(e,t,n){let r=n();return e.replace(/H(?:\((\d+)-(\d+)\))?(?:\/(\d+))?/g,(e,n,i,a)=>{if(n&&i&&a){let e=parseInt(n,10),o=parseInt(i,10),s=parseInt(a,10);if(e>o)throw Error(`Invalid range: ${e}-${o}, min > max`);if(s<=0)throw Error(`Invalid step: ${s}, must be positive`);let c=Math.max(e,t.min),l=Math.floor(r*s),u=[];for(let e=Math.floor(c/s)*s+l;e<=o;e+=s)e>=c&&u.push(e);return u.join(`,`)}else if(n&&i){let e=parseInt(n,10),t=parseInt(i,10);if(e>t)throw Error(`Invalid range: ${e}-${t}, min > max`);return String(Math.floor(r*(t-e+1))+e)}else if(a){let e=parseInt(a,10);if(e<=0)throw Error(`Invalid step: ${e}, must be positive`);let n=Math.floor(r*e),i=[];for(let r=Math.floor(t.min/e)*e+n;r<=t.max;r+=e)r>=t.min&&i.push(r);return i.join(`,`)}else return String(Math.floor(r*(t.max-t.min+1)+t.min))})}static#i(t,n,r){let i=[];function a(n,r){if(Array.isArray(n))i.push(...n);else if(e.#d(r,n))i.push(n);else{let e=parseInt(n.toString(),10);if(!(e>=r.min&&e<=r.max))throw Error(`Constraint error, got value ${n} expected range ${r.min}-${r.max}`);i.push(t===o.DayOfWeek?e%7:n)}}return n.split(`,`).forEach(n=>{if(!(n.length>0))throw Error(`Invalid list value format`);a(e.#a(t,n,r),r)}),i}static#a(t,n,r){let i=n.split(`/`);if(i.length>2)throw Error(`Invalid repeat: ${n}`);return i.length===2?(isNaN(parseInt(i[0],10))||(i[0]=`${i[0]}-${r.max}`),e.#l(t,i[0],parseInt(i[1],10),r)):e.#l(t,n,1,r)}static#o(e,t,n){if(!(!isNaN(e)&&!isNaN(t)&&e>=n.min&&t<=n.max))throw Error(`Constraint error, got range ${e}-${t} expected range ${n.min}-${n.max}`);if(e>t)throw Error(`Invalid range: ${e}-${t}, min(${e}) > max(${t})`)}static#s(e){if(!(!isNaN(e)&&e>0))throw Error(`Constraint error, cannot repeat at every ${e} time.`)}static#c(e,t,n,r){let i=[];e===o.DayOfWeek&&n%7==0&&i.push(0);for(let e=t;e<=n;e+=r)i.indexOf(e)===-1&&i.push(e);return i}static#l(e,t,n,r){let i=t.split(`-`);if(i.length<=1)return isNaN(+t)?t:+t;let[a,o]=i.map(e=>parseInt(e,10));return this.#o(a,o,r),this.#s(n),this.#c(e,a,o,n)}static#u(e){let t=e.split(`#`);if(t.length<=1)return{dayOfWeek:t[0]};let n=+t[t.length-1],r=e.match(/([,-/])/);if(r!==null)throw Error(`Constraint error, invalid dayOfWeek \`#\` and \`${r?.[0]}\` special characters are incompatible`);
48if(!(t.length<=2&&!isNaN(n)&&n>=1&&n<=5))throw Error(`Constraint error, invalid dayOfWeek occurrence number (#)`);return{dayOfWeek:t[0],nthDayOfWeek:n}}static#d(e,t){return e.chars.some(e=>t.toString().includes(e))}}})),u$=n(((e,t)=>{t.exports={}})),d$=n((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a=e(r),o=0;o<a.length;o++)a[o]!=="default"&&t(i,r,a[o]);return n(i,r),i}})();Object.defineProperty(e,"__esModule",{value:!0}),e.CronFileParser=void 0;var i=l$();e.CronFileParser=class e{static async parseFile(t){let{readFile:n}=await Promise.resolve().then(()=>r(u$())),i=await n(t,`utf8`);return e.#e(i)}static parseFileSync(t){let{readFileSync:n}=u$(),r=n(t,`utf8`);return e.#e(r)}static#e(t){let n=t.split(` 49`),r={variables:{},expressions:[],errors:{}};for(let t of n){let n=t.trim();if(n.length===0||n.startsWith(`#`))continue;let i=n.match(/^(.*)=(.*)$/);if(i){let[,e,t]=i;r.variables[e]=t.replace(/["']/g,``);continue}try{let t=e.#t(n);r.expressions.push(t.interval)}catch(e){r.errors[n]=e}}return r}static#t(e){let t=e.split(` `);return{interval:i.CronExpressionParser.parse(t.slice(0,5).join(` `)),command:t.slice(5,t.length)}}}})),f$=n((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.CronFileParser=e.CronExpressionParser=e.CronExpression=e.CronFieldCollection=e.CronDate=void 0;var r=l$(),i=n$();Object.defineProperty(e,"CronDate",{enumerable:!0,get:function(){return i.CronDate}});var a=o$();Object.defineProperty(e,"CronFieldCollection",{enumerable:!0,get:function(){return a.CronFieldCollection}});var o=s$();Object.defineProperty(e,"CronExpression",{enumerable:!0,get:function(){return o.CronExpression}});var s=l$();Object.defineProperty(e,"CronExpressionParser",{enumerable:!0,get:function(){return s.CronExpressionParser}});var c=d$();Object.defineProperty(e,"CronFileParser",{enumerable:!0,get:function(){return c.CronFileParser}}),n(a$(),e),e.default=r.CronExpressionParser})),p$=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define(`cronstrue`,[],r):typeof e==`object`?e.cronstrue=r():n.cronstrue=r()})(globalThis,()=>(()=>{var e={949:((e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CronParser=void 0;var r=n(515);t.CronParser=function(){function e(e,t,n){t===void 0&&(t=!0),n===void 0&&(n=!1),this.expression=e,this.dayOfWeekStartIndexZero=t,this.monthStartIndexZero=n}return e.prototype.parse=function(){var e,t=this.expression??``;if(t===`@reboot`)return e=[`@reboot`,``,``,``,``,``,``],e;if(t.startsWith(`@`)){var n=this.parseSpecial(this.expression);e=this.extractParts(n)}else e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},e.prototype.parseSpecial=function(e){var t={"@yearly":`0 0 1 1 *`,"@annually":`0 0 1 1 *`,"@monthly":`0 0 1 * *`,"@weekly":`0 0 * * 0`,"@daily":`0 0 * * *`,"@midnight":`0 0 * * *`,"@hourly":`0 * * * *`,"@reboot":`@reboot`}[e];if(!t)throw Error(`Unknown special expression.`);return t},e.prototype.extractParts=function(e){if(!this.expression)throw Error(`cron expression is empty`);for(var t=e.trim().split(/[ ]+/),n=0;n<t.length;n++)if(t[n].includes(`,`)){var r=t[n].split(`,`).map(function(e){return e.trim()}).filter(function(e){return e!==``}).map(function(e){return isNaN(Number(e))?e:Number(e)}).filter(function(e){return e!==null&&e!==``});r.length===0&&r.push(`*`),r.sort(function(e,t){return e!==null&&t!==null?e-t:0}),t[n]=r.map(function(e){return e===null?``:e.toString()}).join(`,`)}if(t.length<5)throw Error(`Expression has only ${t.length} part${t.length==1?``:`s`}. At least 5 parts are required.`);
49if(t.length==5)t.unshift(``),t.push(``);else if(t.length==6)/\d{4}$/.test(t[5])||t[4]==`?`||t[2]==`?`?t.unshift(``):t.push(``);else if(t.length>7)throw Error(`Expression has ${t.length} parts; too many!`);return t},e.prototype.normalize=function(e){var t=this;if(e[3]=e[3].replace(`?`,`*`),e[5]=e[5].replace(`?`,`*`),e[2]=e[2].replace(`?`,`*`),e[0].indexOf(`0/`)==0&&(e[0]=e[0].replace(`0/`,`*/`)),e[1].indexOf(`0/`)==0&&(e[1]=e[1].replace(`0/`,`*/`)),e[2].indexOf(`0/`)==0&&(e[2]=e[2].replace(`0/`,`*/`)),e[3].indexOf(`1/`)==0&&(e[3]=e[3].replace(`1/`,`*/`)),e[4].indexOf(`1/`)==0&&(e[4]=e[4].replace(`1/`,`*/`)),e[6].indexOf(`1/`)==0&&(e[6]=e[6].replace(`1/`,`*/`)),e[5]=e[5].replace(/(^\d)|([^#/\s]\d)/g,function(e){var n=e.replace(/\D/,``),r=n;return t.dayOfWeekStartIndexZero?n==`7`&&(r=`0`):r=(parseInt(n)-1).toString(),e.replace(n,r)}),e[5]==`L`&&(e[5]=`6`),e[3]==`?`&&(e[3]=`*`),e[3].indexOf(`W`)>-1&&(e[3].indexOf(`,`)>-1||e[3].indexOf(`-`)>-1))throw Error(`The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.`);var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)e[5]=e[5].replace(new RegExp(r,`gi`),n[r].toString());e[4]=e[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(e){var n=e.replace(/\D/,``),r=n;return t.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),e.replace(n,r)});var i={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var a in i)e[4]=e[4].replace(new RegExp(a,`gi`),i[a].toString());e[0]==`0`&&(e[0]=``),!/\*|\-|\,|\//.test(e[2])&&(/\*|\//.test(e[1])||/\*|\//.test(e[0]))&&(e[2]+=`-${e[2]}`);for(var o=0;o<e.length;o++)if(e[o].indexOf(`,`)!=-1&&(e[o]=e[o].split(`,`).filter(function(e){return e!==``}).join(`,`)||`*`),e[o]==`*/1`&&(e[o]=`*`),e[o].indexOf(`/`)>-1&&!/^\*|\-|\,/.test(e[o])){var s=null;switch(o){case 4:s=`12`;break;case 5:s=`6`;break;case 6:s=`9999`;break;default:s=null;break}if(s!==null){var c=e[o].split(`/`);e[o]=`${c[0]}-${s}/${c[1]}`}}},e.prototype.validate=function(e){var t=`0-9,\\-*/`;this.validateOnlyExpectedCharactersFound(e[0],t),this.validateOnlyExpectedCharactersFound(e[1],t),this.validateOnlyExpectedCharactersFound(e[2],t),this.validateOnlyExpectedCharactersFound(e[3],`0-9,\\-*/LW`),this.validateOnlyExpectedCharactersFound(e[4],t),this.validateOnlyExpectedCharactersFound(e[5],`0-9,\\-*/L#`),this.validateOnlyExpectedCharactersFound(e[6],t),this.validateAnyRanges(e)},e.prototype.validateAnyRanges=function(e){r.default.secondRange(e[0]),r.default.minuteRange(e[1]),r.default.hourRange(e[2]),r.default.dayOfMonthRange(e[3]),r.default.monthRange(e[4],this.monthStartIndexZero),r.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)},e.prototype.validateOnlyExpectedCharactersFound=function(e,t){var n=e.match(RegExp(`[^${t}]+`,`gi`));if(n&&n.length)throw Error(`Expression contains invalid values: '${n.toString()}'`)},e}()}),333:((e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionDescriptor=void 0;var r=n(823),i=n(949);t.ExpressionDescriptor=function(){function e(t,n){if(this.expression=t,this.options=n,this.expressionParts=[,,,,,],!this.options.locale&&e.defaultLocale&&(this.options.locale=e.defaultLocale),!e.locales[this.options.locale]){var r=Object.keys(e.locales)[0];console.warn(`Locale '${this.options.locale}' could not be found; falling back to '${r}'.`),this.options.locale=r}this.i18n=e.locales[this.options.locale],n.use24HourTimeFormat===void 0&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return e.toString=function(t,n){var r=n===void 0?{}:n,i=r.throwExceptionOnParseError,a=i===void 0?!0:i,o=r.verbose,s=o===void 0?!1:o,c=r.dayOfWeekStartIndexZero,l=c===void 0?!0:c,u=r.monthStartIndexZero,d=u===void 0?!1:u,f=r.use24HourTimeFormat,p=r.locale,m=p===void 0?null:p,h=r.logicalAndDayFields,g={throwExceptionOnParseError:a,verbose:s,dayOfWeekStartIndexZero:l,monthStartIndexZero:d,use24HourTimeFormat:f,locale:m,logicalAndDayFields:h===void 0?!1:h};return g.tzOffset&&console.warn(`'tzOffset' option has been deprecated and is no longer supported.`),new e(t,g).getFullDescription()},e.initialize=function(t,n){n===void 0&&(n=`en`),e.specialCharacters=[`/`,`-`,`,`,`*`],e.defaultLocale=n,t.load(e.locales)},e.prototype.getFullDescription=function(){var e,t=``;try{var n=new i.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=n.parse(),this.expressionParts[0]===`@reboot`)return(e=this.i18n).atReboot?.call(e)||`Run once, at startup`;var r=this.getTimeOfDayDescription(),a=this.getDayOfMonthDescription(),o=this.getMonthDescription(),s=this.getDayOfWeekDescription(),c=this.getYearDescription();t+=r+a+s+o+c,t=this.transformVerbosity(t,!!this.options.verbose),t=t.charAt(0).toLocaleUpperCase()+t.substr(1)}catch(e){if(!this.options.throwExceptionOnParseError)t=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw`${e}`}return t},e.prototype.getTimeOfDayDescription=function(){var t=this.expressionParts[0],n=this.expressionParts[1],i=this.expressionParts[2],a=``;if(!r.StringUtilities.containsAny(n,e.specialCharacters)&&!r.StringUtilities.containsAny(i,e.specialCharacters)&&!r.StringUtilities.containsAny(t,e.specialCharacters))a+=this.i18n.atSpace()+this.formatTime(i,n,t);else if(!t&&n.indexOf(`-`)>-1&&!(n.indexOf(`,`)>-1)&&!(n.indexOf(`/`)>
49-1)&&!r.StringUtilities.containsAny(i,e.specialCharacters)){var o=n.split(`-`);a+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(i,o[0],``),this.formatTime(i,o[1],``))}else if(!t&&i.indexOf(`,`)>-1&&i.indexOf(`-`)==-1&&i.indexOf(`/`)==-1&&!r.StringUtilities.containsAny(n,e.specialCharacters)){var s=i.split(`,`);a+=this.i18n.at();for(var c=0;c<s.length;c++)a+=` `,a+=this.formatTime(s[c],n,``),c<s.length-2&&(a+=`,`),c==s.length-2&&(a+=this.i18n.spaceAnd())}else{var l=this.getSecondsDescription(),u=this.getMinutesDescription(),d=this.getHoursDescription();if(a+=l,a&&u&&(a+=`, `),a+=u,u===d)return a;a&&d&&(a+=`, `),a+=d}return a},e.prototype.getSecondsDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Seconds(t),t)},function(t){return e.i18n.secondsX0ThroughX1PastTheMinute()},function(t){return t==`0`?``:parseInt(t)<20?e.i18n.atX0SecondsPastTheMinute(t):e.i18n.atX0SecondsPastTheMinuteGt20()||e.i18n.atX0SecondsPastTheMinute(t)})},e.prototype.getMinutesDescription=function(){var e=this,t=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(e){return e},function(t){return r.StringUtilities.format(e.i18n.everyX0Minutes(t),t)},function(t){return e.i18n.minutesX0ThroughX1PastTheHour()},function(r){try{return r==`0`&&n.indexOf(`/`)==-1&&t==``?e.i18n.everyHour():parseInt(r)<20?e.i18n.atX0MinutesPastTheHour(r):e.i18n.atX0MinutesPastTheHourGt20()||e.i18n.atX0MinutesPastTheHour(r)}catch{return e.i18n.atX0MinutesPastTheHour(r)}})},e.prototype.getHoursDescription=function(){var e=this,t=this.expressionParts[2],n=0,i=[];t.split(`/`)[0].split(`,`).forEach(function(e){var t=e.split(`-`);t.length===2&&i.push({value:t[1],index:n+1}),n+=t.length});var a=0;return this.getSegmentDescription(t,this.i18n.everyHour(),function(t){var n=i.find(function(e){return e.value===t&&e.index===a})&&e.expressionParts[1]!==`0`;return a++,n?e.formatTime(t,`59`,``):e.formatTime(t,`0`,``)},function(t){return r.StringUtilities.format(e.i18n.everyX0Hours(t),t)},function(t){return e.i18n.betweenX0AndX1()},function(t){return e.i18n.atX0()})},e.prototype.getDayOfWeekDescription=function(){var e=this,t=this.i18n.daysOfTheWeek(),n=null;return n=this.expressionParts[5]==`*`?``:this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(n,r){var i=n;n.indexOf(`#`)>-1?i=n.substring(0,n.indexOf(`#`)):n.indexOf(`L`)>-1&&(i=i.replace(`L`,``));var a=parseInt(i),o=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(r)[a]:t[a];if(n.indexOf(`#`)>-1){var s=null,c=n.substring(n.indexOf(`#`)+1),l=n.substring(0,n.indexOf(`#`));switch(c){case`1`:s=e.i18n.first(l);break;case`2`:s=e.i18n.second(l);break;case`3`:s=e.i18n.third(l);break;case`4`:s=e.i18n.fourth(l);break;case`5`:s=e.i18n.fifth(l);break}o=s+` `+o}return o},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(t),t)},function(t){var n=t.substring(0,t.indexOf(`-`));return e.expressionParts[3]==`*`?e.i18n.commaX0ThroughX1(n):e.i18n.commaAndX0ThroughX1(n)},function(t){var n=null;if(t.indexOf(`#`)>-1){var r=t.substring(t.indexOf(`#`)+1),i=t.substring(0,t.indexOf(`#`));n=e.i18n.commaOnThe(r,i).trim()+e.i18n.spaceX0OfTheMonth()}else n=t.indexOf(`L`)>-1?e.i18n.commaOnTheLastX0OfTheMonth(t.replace(`L`,``)):e.expressionParts[3]==`*`||e.options.logicalAndDayFields?e.i18n.commaOnlyOnX0(t):e.i18n.commaAndOnX0();return n}),n},e.prototype.getMonthDescription=function(){var e=this,t=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],``,function(n,r){return r&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:t[parseInt(n)-1]},function(t){return parseInt(t)==1?``:r.StringUtilities.format(e.i18n.commaEveryX0Months(t),t)},function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()})},e.prototype.getDayOfMonthDescription=function(){var e=this,t=null,n=this.expressionParts[3];switch(n){case`L`:t=this.i18n.commaOnTheLastDayOfTheMonth();break;case`WL`:case`LW`:t=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var i=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(i){var a=parseInt(i[0].replace(`W`,``)),o=a==1?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),a.toString());t=r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),o);break}else{var s=n.match(/L-(\d{1,2})/);if(s){var c=s[1];t=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(c),c);break}else if(n==`*`&&this.expressionParts[5]!=`*`)return``;else t=this.getSegmentDescription(n,this.i18n.commaEveryDay(),function(t){return t==`L`?e.i18n.lastDay():e.i18n.dayX0?r.StringUtilities.format(e.i18n.dayX0(),t):t},function(t){return t==`1`?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(t)},function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(t)},function(t){return e.i18n.commaOnDayX0OfTheMonth(t)});break}}return t},e.prototype.getYearDescription=function(){var e=this;
49return this.getSegmentDescription(this.expressionParts[6],``,function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e},function(t){return r.StringUtilities.format(e.i18n.commaEveryX0Years(t),t)},function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()})},e.prototype.getSegmentDescription=function(e,t,n,i,a,o){var s=null,c=e.indexOf(`/`)>-1,l=e.indexOf(`-`)>-1,u=e.indexOf(`,`)>-1;if(!e)s=``;else if(e===`*`)s=t;else if(!c&&!l&&!u)s=r.StringUtilities.format(o(e),n(e));else if(u){for(var d=e.split(`,`),f=``,p=0;p<d.length;p++)if(p>0&&d.length>2&&(f+=`,`,p<d.length-1&&(f+=` `)),p>0&&d.length>1&&(p==d.length-1||d.length==2)&&(f+=`${this.i18n.spaceAnd()} `),d[p].indexOf(`/`)>-1||d[p].indexOf(`-`)>-1){var m=d[p].indexOf(`-`)>-1&&d[p].indexOf(`/`)==-1,h=this.getSegmentDescription(d[p],t,n,i,m?this.i18n.commaX0ThroughX1:a,o);m&&(h=h.replace(`, `,``)),f+=h}else c?f+=this.getSegmentDescription(d[p],t,n,i,a,o):f+=n(d[p]);s=c?f:r.StringUtilities.format(o(e),f)}else if(c){var d=e.split(`/`);if(s=r.StringUtilities.format(i(d[1]),d[1]),d[0].indexOf(`-`)>-1){var g=this.generateRangeSegmentDescription(d[0],a,n);g.indexOf(`, `)!=0&&(s+=`, `),s+=g}else if(d[0].indexOf(`*`)==-1){var _=r.StringUtilities.format(o(d[0]),n(d[0]));_=_.replace(`, `,``),s+=r.StringUtilities.format(this.i18n.commaStartingX0(),_)}}else l&&(s=this.generateRangeSegmentDescription(e,a,n));return s},e.prototype.generateRangeSegmentDescription=function(e,t,n){var i=``,a=e.split(`-`),o=n(a[0],1),s=n(a[1],2),c=t(e);return i+=r.StringUtilities.format(c,o,s),i},e.prototype.formatTime=function(e,t,n){var r=0,i=0,a=parseInt(e)+r,o=parseInt(t)+i;o>=60?(o-=60,a+=1):o<0&&(o+=60,--a),a>=24?a-=24:a<0&&(a=24+a);var s=``,c=!1;this.options.use24HourTimeFormat||(c=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),s=c?`${this.getPeriod(a)} `:` ${this.getPeriod(a)}`,a>12&&(a-=12),a===0&&(a=12));var l=``;return n&&(l=`:${(`00`+n).substring(n.length)}`),`${c?s:``}${(`00`+a.toString()).substring(a.toString().length)}:${(`00`+o.toString()).substring(o.toString().length)}${l}${c?``:s}`},e.prototype.transformVerbosity=function(e,t){if(!t&&(e=e.replace(RegExp(`, ${this.i18n.everyMinute()}`,`g`),``),e=e.replace(RegExp(`, ${this.i18n.everyHour()}`,`g`),``),e=e.replace(new RegExp(this.i18n.commaEveryDay(),`g`),``),e=e.replace(/\, ?$/,``),this.i18n.conciseVerbosityReplacements))for(var n=0,r=Object.entries(this.i18n.conciseVerbosityReplacements());n<r.length;n++){var i=r[n],a=i[0],o=i[1];e=e.replace(new RegExp(a,`g`),o)}return e},e.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||`PM`:this.i18n.am&&this.i18n.am()||`AM`},e.locales={},e}()}),747:((e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.enLocaleLoader=void 0;var r=n(486);t.enLocaleLoader=function(){function e(){}return e.prototype.load=function(e){e.en=new r.en},e}()}),486:((e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.en=void 0,t.en=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`An error occurred when generating the expression description. Check the cron expression syntax.`},e.prototype.everyMinute=function(){return`every minute`},e.prototype.everyHour=function(){return`every hour`},e.prototype.atSpace=function(){return`At `},e.prototype.everyMinuteBetweenX0AndX1=function(){return`Every minute between %s and %s`},e.prototype.at=function(){return`At`},e.prototype.spaceAnd=function(){return` and`},e.prototype.everySecond=function(){return`every second`},e.prototype.everyX0Seconds=function(){return`every %s seconds`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`seconds %s through %s past the minute`},e.prototype.atX0SecondsPastTheMinute=function(){return`at %s seconds past the minute`},e.prototype.everyX0Minutes=function(){return`every %s minutes`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`minutes %s through %s past the hour`},e.prototype.atX0MinutesPastTheHour=function(){return`at %s minutes past the hour`},e.prototype.everyX0Hours=function(){return`every %s hours`},e.prototype.betweenX0AndX1=function(){return`between %s and %s`},e.prototype.atX0=function(){return`at %s`},e.prototype.commaEveryDay=function(){return`, every day`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, every %s days of the week`},e.prototype.commaX0ThroughX1=function(){return`, %s through %s`},e.prototype.commaAndX0ThroughX1=function(){return`, %s through %s`},e.prototype.first=function(){return`first`},e.prototype.second=function(){return`second`},e.prototype.third=function(){return`third`},e.prototype.fourth=function(){return`fourth`},e.prototype.fifth=function(){return`fifth`},e.prototype.commaOnThe=function(){return`, on the `},e.prototype.spaceX0OfTheMonth=function(){return` %s of the month`},e.prototype.lastDay=function(){return`the last day`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, on the last %s of the month`},e.prototype.commaOnlyOnX0=function(){return`, only on %s`},e.prototype.commaAndOnX0=function(){return`, and on %s`},e.prototype.commaEveryX0Months=function(){return`, every %s months`},e.prototype.commaOnlyInX0=function(){return`, only in %s`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, on the last day of the month`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, on the last weekday of the month`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, %s days before the last day of the month`},e.prototype.firstWeekday=function(){return`first weekday`},e.prototype.weekdayNearestDayX0=function(){return`weekday nearest day %s`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, on the %s of the month`},e.prototype.commaEveryX0Days=function(){return`, every %s days`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, between day %s and %s of the month`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, on day %s of the month`},e.prototype.commaEveryHour=function(){return`, every hour`},e.prototype.commaEveryX0Years=function(){return`, every %s years`},e.prototype.commaStartingX0=function(){return`, starting %s`},e.prototype.daysOfTheWeek=function(){return[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},e.prototype.monthsOfTheYear=function(){return[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},e.prototype.atReboot=function(){return`Run once, at startup`},e}()}),515:((e,t)=>
49{Object.defineProperty(t,"__esModule",{value:!0});function n(e,t){if(!e)throw Error(t)}t.default=function(){function e(){}return e.secondRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=59,`seconds part must be >= 0 and <= 59`)}},e.minuteRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=59,`minutes part must be >= 0 and <= 59`)}},e.hourRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=0&&i<=23,`hours part must be >= 0 and <= 23`)}},e.dayOfMonthRange=function(e){for(var t=e.split(`,`),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var i=parseInt(t[r],10);n(i>=1&&i<=31,`DOM part must be >= 1 and <= 31`)}},e.monthRange=function(e,t){for(var r=e.split(`,`),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var a=parseInt(r[i],10);n(a>=1&&a<=12,t?`month part must be >= 0 and <= 11`:`month part must be >= 1 and <= 12`)}},e.dayOfWeekRange=function(e,t){for(var r=e.split(`,`),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var a=parseInt(r[i],10);n(a>=0&&a<=6,t?`DOW part must be >= 0 and <= 6`:`DOW part must be >= 1 and <= 7`)}},e}()}),823:((e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtilities=void 0,t.StringUtilities=function(){function e(){}return e.format=function(e){var t=[...arguments].slice(1);return e.replace(/%s/g,function(e){return t.shift()})},e.containsAny=function(e,t){return t.some(function(t){return e.indexOf(t)>-1})},e}()})},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.toString=void 0;var t=n(333),i=n(747);t.ExpressionDescriptor.initialize(new i.enLocaleLoader),e.default=t.ExpressionDescriptor,e.toString=t.ExpressionDescriptor.toString})(),r})())})),m$=n(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r(p$()):typeof define==`function`&&define.amd?define(`locales/zh_CN`,[`cronstrue`],r):typeof e==`object`?e["locales/zh_CN"]=r(p$()):n[`locales/zh_CN`]=r(n.cronstrue)})(globalThis,e=>(()=>{var t={93:(t=>{t.exports=e})},n={};function r(e){var i=n[e];if(i!==void 0)return i.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i);var a=r(93),o=r.n(a),s=i;Object.defineProperty(s,"__esModule",{value:!0}),s.zh_CN=void 0;var c=function(){function e(){}return e.prototype.setPeriodBeforeTime=function(){return!0},e.prototype.pm=function(){return`ä¸å`},e.prototype.am=function(){return`ä¸å`},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return`, ä»%så¹´è³%så¹´`},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.everyMinute=function(){return`æ¯åé`},e.prototype.everyHour=function(){return`æ¯å°æ¶`},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return`çæè¡¨è¾¾å¼æè¿°æ¶åçäºé误ï¼è¯·æ£æ¥cron表达å¼è¯æ³ã`},e.prototype.atSpace=function(){return`å¨`},e.prototype.everyMinuteBetweenX0AndX1=function(){return`å¨ %s è³ %s ä¹é´çæ¯åé`},e.prototype.at=function(){return`å¨`},e.prototype.spaceAnd=function(){return` å`},e.prototype.everySecond=function(){return`æ¯ç§`},e.prototype.everyX0Seconds=function(){return`æ¯é %s ç§`},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return`å¨ä¸åéåç第 %s å° %s ç§`},e.prototype.atX0SecondsPastTheMinute=function(){return`å¨ä¸åéåç第 %s ç§`},e.prototype.everyX0Minutes=function(){return`æ¯é %s åé`},e.prototype.minutesX0ThroughX1PastTheHour=function(){return`卿´ç¹åç第 %s å° %s åé`},e.prototype.atX0MinutesPastTheHour=function(){return`卿´ç¹åç第 %s åé`},e.prototype.everyX0Hours=function(){return`æ¯é %s å°æ¶`},e.prototype.betweenX0AndX1=function(){return`å¨ %s å %s ä¹é´`},e.prototype.atX0=function(){return`å¨%s`},e.prototype.commaEveryDay=function(){return`, æ¯å¤©`},e.prototype.commaEveryX0DaysOfTheWeek=function(){return`, æ¯å¨çæ¯ %s 天`},e.prototype.commaX0ThroughX1=function(){return`, %sè³%s`},e.prototype.commaAndX0ThroughX1=function(){return`, å%sè³%s`},e.prototype.first=function(){return`第ä¸ä¸ª`},e.prototype.second=function(){return`第äºä¸ª`},e.prototype.third=function(){return`第ä¸ä¸ª`},e.prototype.fourth=function(){return`第å个`},e.prototype.fifth=function(){return`第äºä¸ª`},e.prototype.commaOnThe=function(){return`, 鿝æç`},e.prototype.spaceX0OfTheMonth=function(){return`%s`},e.prototype.lastDay=function(){return`æ¬ææåä¸å¤©`},e.prototype.commaOnTheLastX0OfTheMonth=function(){return`, 鿝æçæåä¸ä¸ª%s`},e.prototype.commaOnlyOnX0=function(){return`, ä»
%s`},e.prototype.commaAndOnX0=function(){return`, æè
为%s`},e.prototype.commaEveryX0Months=function(){return`, æ¯é %s 个æ`},e.prototype.commaOnlyInX0=function(){return`, ä»
é%s`},e.prototype.commaOnlyInMonthX0=function(){return`, ä»
äº%s份`},e.prototype.commaOnlyInYearX0=function(){return`, ä»
äº %s å¹´`},e.prototype.commaOnTheLastDayOfTheMonth=function(){return`, 鿝æçæåä¸å¤©`},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return`, 鿝æçæåä¸ä¸ªå·¥ä½æ¥`},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return`, 鿝ææå%s天`},e.prototype.firstWeekday=function(){return`第ä¸ä¸ªå·¥ä½æ¥`},e.prototype.weekdayNearestDayX0=function(){return`ææ¥è¿ %s å·ç工使¥`},e.prototype.commaOnTheX0OfTheMonth=function(){return`, 鿝æç%s`},e.prototype.commaEveryX0Days=function(){return`, æ¯é %s 天`},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return`, 鿝æç %s è³ %s ä¹é´`},e.prototype.commaOnDayX0OfTheMonth=function(){return`, 鿝æ%s`},e.prototype.commaEveryX0Years=function(){return`, æ¯é %s å¹´`},e.prototype.commaStartingX0=function(){return`, %så¼å§`},e.prototype.dayX0=function(){return` %s å·`},e.prototype.daysOfTheWeek=function(){return[`æææ¥`,`ææä¸`,`ææäº`,`ææä¸`,`ææå`,`ææäº`,`ææå
`]},e.prototype.monthsOfTheYear=function(){return[`䏿`,`äºæ`,`䏿`,`åæ`,`äºæ`,`å
æ`,`䏿`,`å
«æ`,`乿`,`åæ`,`å䏿`,`åäºæ`]},e}();return s.zh_CN=c,o().locales.zh_CN=new c,i})())})),h$=f$(),g$=e(p$());m$();var _$=`At`,v$=Ts?`zh_CN`:`en`,y$=e=>{if(!e)return!0;try{return e.trim().split(/\s+/).length===5?!!h$.CronExpressionParser.parse(e):!1}catch{return!1}},b$=e=>{try{return g$.default.toString(e,{locale:v$,use24HourTimeFormat:!0}).replace(_$,``).replace(/^./,e=>e.toLowerCase())}catch{return fe.UNKNOWN}};function x$(e){let t=new Set;if(e=e.trim(),e===`*`){for(let e=0;e<60;e++)t.add(e);return Array.from(t).sort((e,t)=>
49e-t)}if(e.startsWith(`*/`)){let n=parseInt(e.substring(2));if(isNaN(n)||n<=0||n>59)throw Error(`Invalid minute step value: ${e}`);for(let e=0;e<60;e+=n)t.add(e);return Array.from(t).sort((e,t)=>e-t)}return e.includes(`,`)?(e.split(`,`).forEach(e=>{S$(e.trim(),t)}),Array.from(t).sort((e,t)=>e-t)):(S$(e,t),Array.from(t).sort((e,t)=>e-t))}function S$(e,t){if(e.includes(`-`)){let[n,r]=e.split(`-`),i=parseInt(n.trim()),a=parseInt(r.trim());if(isNaN(i)||isNaN(a)||i<0||a>59||i>a)throw Error(`Invalid minute range: ${e}`);for(let e=i;e<=a;e++)t.add(e);return}let n=parseInt(e);if(isNaN(n)||n<0||n>59)throw Error(`Invalid minute value: ${e}`);t.add(n)}function C$(e){let t=new Set;if(e=e.trim(),e===`*`){for(let e=0;e<24;e++)t.add(e);return Array.from(t).sort((e,t)=>e-t)}if(e.startsWith(`*/`)){let n=parseInt(e.substring(2));if(isNaN(n)||n<=0||n>23)throw Error(`Invalid hour step value: ${e}`);for(let e=0;e<24;e+=n)t.add(e);return Array.from(t).sort((e,t)=>e-t)}return e.includes(`,`)?(e.split(`,`).forEach(e=>{w$(e.trim(),t)}),Array.from(t).sort((e,t)=>e-t)):(w$(e,t),Array.from(t).sort((e,t)=>e-t))}function w$(e,t){if(e.includes(`-`)){let[n,r]=e.split(`-`),i=parseInt(n.trim()),a=parseInt(r.trim());if(isNaN(i)||isNaN(a)||i<0||a>23||i>a)throw Error(`Invalid hour range: ${e}`);for(let e=i;e<=a;e++)t.add(e);return}let n=parseInt(e);if(isNaN(n)||n<0||n>23)throw Error(`Invalid hour value: ${e}`);t.add(n)}function T$(e,t=30){try{let n=e.trim().split(/\s+/);if(n.length!==5)return{valid:!1,minInterval:null,execTimes:[]};let[r,i]=n,a=x$(r),o=C$(i),s=[];for(let e of o)for(let t of a)s.push(e*60+t);s.sort((e,t)=>e-t);let c=1/0;for(let e=1;e<s.length;e++){let t=s[e]-s[e-1];c=Math.min(c,t)}if(s.length>0){let e=1440-s[s.length-1]+s[0];c=Math.min(c,e)}return s.length===0&&(c=1/0),{valid:c>=t,minInterval:c===1/0?null:c,execTimes:s}}catch{return{valid:!1,minInterval:null,execTimes:[]}}}function E$(e,t=30){if(e.length===0)return{valid:!0,minInterval:null,execTimes:[]};try{let n=new Set;for(let r of e){let e=T$(r,t);if(!e.valid)return e;e.execTimes.forEach(e=>n.add(e))}let r=Array.from(n).sort((e,t)=>e-t);if(r.length<=1)return{valid:!0,minInterval:null,execTimes:r};let i=1/0;for(let e=1;e<r.length;e++){let t=r[e]-r[e-1];i=Math.min(i,t)}let a=1440-r[r.length-1]+r[0];return i=Math.min(i,a),{valid:i>=t,minInterval:i===1/0?null:i,execTimes:r}}catch{return{valid:!1,minInterval:null,execTimes:[]}}}var D$=(e,t=30)=>{if(!e||Array.isArray(e)&&e.length===0)return!0;try{return Array.isArray(e)?E$(e,t).valid:T$(e,t).valid}catch{return!1}},O$=e=>!e||e.length===0?!1:new Set(e).size!==e.length,k$=(e,t=[])=>t.find(t=>t.value===e)?.timezone??e,A$=(e,t=[])=>{let n=t.find(t=>t.timezone===e);return n?String(n.value):e},j$=2,M$=e=>{let t=e,n=0;return t<0?(t+=24,n=-1):t>=24&&(t-=24,n=1),{hour:t,dayShift:n}},N$=e=>{let[t,n=`00`]=(e||`00:00`).split(`:`),r=Number(t)||0,{hour:i}=M$(r+j$);return{backupWindowStart:`${Qs(r)}:${n}`,backupWindowEnd:`${Qs(i)}:${n}`}},P$=()=>{let{t:e}=_([`common`,`organization`]);return{getRequiredRule:t=>({required:e(`common:warning.required`,{name:t})}),getPatternRule:(e,t)=>({pattern:{value:e,message:t}}),getDefaultOrgName:t=>{let{firstName:n,lastName:r}=t,i=B?`${n} ${r}`:`${r}${n}`,a=B?i.substring(0,58):i.substring(0,61);return e(`organization:createDialog.initialOrgName`,{name:a})}}},F$=3,I$=2,L$=()=>{let{t:e}=_([`backup`,`common`,`backupPolicy`]),{getRequiredRule:t}=P$(),{timezoneInfo:n,timezoneList:r}=lu(),i=e(`common:dayOfWeekList`,{returnObjects:!0}),[a,o]=(0,W.useState)([{label:e(`backupPolicy:policy.create.configs.frequency.option.daily`),value:$s(oc.Daily)},{label:e(`backupPolicy:policy.create.configs.frequency.option.weekday`),value:$s(oc.Weekday)},{label:e(`backupPolicy:policy.create.configs.frequency.option.custom`),value:oc.Custom}]),s=[{label:e(`backupPolicy:policy.create.configs.retentionPeriod.option.day`),value:Js.Day},{label:e(`backupPolicy:policy.create.configs.retentionPeriod.option.month`),value:Js.MONTH},{label:e(`backupPolicy:policy.create.configs.retentionPeriod.option.year`),value:Js.YEAR}],c=e=>{let[t,n]=e.split(`-`),r=Zs(t),i=Zs(n),a=e=>e===24?0:e;return{beginTime:`${Qs(a(r))}:00`,endTime:`${Qs(a(i))}:00`}},l=e=>{let{frequency:t,retentionPeriod:r,timePeriod:i,clusterId:a=``,crossReg
49ions:o}=e,{beginTime:s=null,endTime:l=null}=i?c(i):{},u={cornExpr:Ys(t,i?-rc(i,n.offset):0),category:WQ.FULL,keepDays:r===``?null:Number(r),beginTime:s,endTime:l,crossRegions:o?.map(e=>({regionId:e.value,keepDays:Number(e.retention)}))};return a?{...u,instanceId:a}:u},u=e=>{let t=e[KQ.mode]??qQ.Basic,n=k$(e[KQ.timezone]??``,r),i=e[KQ.schedules]??[],a=e[KQ.advancedSchedules]??[],o=e[ac.RetentionPeriod],s=e[ac.CrossRegions],c=e.clusterId??``,l=t===qQ.Advanced,u=l?[]:i.map(e=>{let{backupWindowStart:t,backupWindowEnd:n}=N$(e.time),r=e.recurrence??JQ.Weekly,i=r===JQ.Monthly;return{recurrence:r,daysOfWeek:i?void 0:e.daysOfWeek,daysOfMonth:i?e.daysOfMonth:void 0,time:e.time,backupWindowStart:t,backupWindowEnd:n}}),d=l?a.map(e=>({cron:e.cron})):[];return{instanceId:c,timezone:n,keepDays:o!==``&&o!=null?Number(o):null,crossRegions:s?.map(e=>({regionId:e.value,keepDays:Number(e.retention)})),schedules:u,advancedSchedules:d}},d=e=>u(e),f=e=>e.map(e=>{let t=qs[e],n=i[t];return Ee(n)}).join(`, `),p=t=>{let n=f(t),r=ec(t.map(e=>Xs(e)));return{label:e(`backupPolicy:policy.create.configs.frequency.custom.option`,{days:n}),value:r}},m=e=>{let[t,...n]=Os(qs),r=[...n,t],[i=``]=e.split(` `).reverse();return i.split(`,`).filter(e=>e!==``).map(e=>r[Number(e)-1]||``)},h=e=>{let[t=``]=e.split(` `).reverse();return t.split(`,`).filter(e=>e!==``).map(e=>Number(e)%7)},g=(t,n)=>{let r=m(t),i=f(r);
49return n?e(`backupPolicy:policy.create.configs.frequency.custom.title`):e(`backupPolicy:policy.create.configs.frequency.custom.option`,{days:i})};return{frequencyOptions:a,retentionPeriodOptions:s,getSnapshotScheduleParams:l,getBackupPolicyModifyV2Params:u,getBackupPolicyEnableV2Params:d,setFrequencyOptions:o,generateNewFrequencyOption:p,updateFrequencyOptions:e=>{let t=a.length===F$?[...a.slice(0,I$),e,...a.slice(I$)]:Fs(a,I$,e);o(t)},generateSelectedListFromExpr:m,generateCustomFrequencyTextFromExpr:g,generateCustomFrequencyOptionFromExpr:e=>({label:g(e),value:e}),getRetentionPeriodRules:()=>({...t(e(`backup:message.error.retentionPeriod`)),min:{value:1,message:e(`backup:message.error.minRetentionPeriod`)},max:{value:30,message:e(`backup:message.error.maxRetentionPeriod`)},validate:t=>Number.isInteger(Number(t))||e(`common:warning.integer`,{name:e(`backup:message.error.retentionPeriod`)})}),generateCustomDaysFromExpr:h}},R$=({index:e,fieldName:t,options:n=[],disabled:r,regionDisabled:i,showRetention:a,onRemove:o})=>{let{t:s}=_([`backupPolicy`,`common`]),c=(0,W.useId)(),{control:l,setValue:u}=Re(),d=Ie({control:l,name:t}),{getRetentionPeriodRules:f}=L$(),p=n.map(t=>({...t,disabled:t.disabled||d.some((n,r)=>r!==e&&n.value===t.value)}));return(0,G.jsxs)(`div`,{className:`flex min-w-0 items-start gap-3`,children:[(0,G.jsxs)(`div`,{className:a?`grid min-w-0 flex-1 grid-cols-1 gap-3 sm:grid-cols-[minmax(0,1fr)_160px]`:`min-w-0 flex-1`,children:[(0,G.jsx)(_e,{control:l,name:`${t}.${e}.value`,render:({field:r,fieldState:a})=>(0,G.jsx)(zQ,{value:r.value??``,onChange:i=>{r.onChange(i),u(`${t}.${e}.label`,n.find(e=>e.value===i)?.label??``,{shouldDirty:!0})},onBlur:r.onBlur,options:p,label:s(`backupPolicy:policy.create.configs.cloudRegion.title`),placeholder:s(`backupPolicy:policy.crossRegions.selectRegions`),testId:`backup-cross-region-region-${e}`,disabled:i,invalid:a.invalid})}),a&&(0,G.jsx)(_e,{control:l,name:`${t}.${e}.retention`,rules:f(),render:({field:t,fieldState:n})=>(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,G.jsx)(L,{component:`label`,htmlFor:c,variant:`body2Medium`,className:`whitespace-nowrap`,children:s(`backupPolicy:policy.create.configs.retentionPeriod.title`)}),(0,G.jsx)(Ir,{...t,id:c,value:t.value??``,type:`number`,size:`small`,disabled:r,error:n.invalid,helperText:n.error?.message,inputProps:{"data-testid":`backup-cross-region-retention-${e}`},InputProps:{endAdornment:(0,G.jsx)(ya,{position:`end`,children:s(`backupPolicy:policy.create.configs.retentionPeriod.option.day`)})}})]})})]}),(0,G.jsx)(fr,{size:`small`,disableRipple:!0,className:`mt-7!`,disabled:r,"aria-label":s(`common:button.delete`),"data-testid":`backup-cross-region-remove-${e}`,onClick:()=>o(e),children:(0,G.jsx)(ci,{})})]})},z$=({disabled:e=!1,disabledTooltip:t,cloudId:n,classes:r={},fieldName:i=`crossRegions`,defaultCrossRegions:a=[],defaultClusterRegion:o,showRetention:s=!0,title:c,description:l,addButtonText:u})=>{let{t:d}=_([`backup`,`backupPolicy`]),{clearErrors:f,control:p,getFieldState:m,formState:h}=Re(),{rawRegionList:g}=Sc(),{data:v,isFetching:y,isError:b}=UQ(n,!e),x=JSON.stringify(a),S=(0,W.useRef)(a);S.current=a;let C=(0,W.useRef)(),w=(0,W.useRef)(),[T,E]=(0,W.useState)(n),D=e,O=T===n&&n===P.AZURE,{fields:k,append:A,remove:ee,replace:j}=ln({control:p,name:i,rules:{validate:{sameCloud:e=>D||e.every(e=>ie(e.value)===T)||d(`backupPolicy:policy.crossRegions.singleCloud`)}}}),te=m(i,h).error,ne=te?.root?.message??te?.message,re=(0,W.useCallback)(e=>d(`backup:locationProviders.${e}`,{defaultValue:e}),[d]),ie=(0,W.useCallback)(e=>v?.find(t=>t.regionId===e)?.cloudId??g.find(t=>t.regions.some(t=>t.regionId===e))?.cloudId,[v,g]),M=(0,W.useMemo)(()=>{for(let e of a){let t=ie(e.value);if(t)return t}},[a,ie]),{regionOptions:ae}=cu(n,void 0,!0),oe=n!==P.AZURE&&ae.some(e=>e.value!==o),se=Ie({control:p,name:i,defaultValue:[]}),ce=(0,W.useMemo)(()=>se.map(e=>e.value),[se]);(0,W.useEffect)(()=>{j(S.current),f(i)},[f,x,i,j]),(0,W.useEffect)(()=>{C.current!==x&&(a.length&&!M||(E(M??n),C.current=x))},[n,a.length,x,M]),(0,W.useEffect)(()=>{let e=`${n??``}:${o??``}`;if(w.current===void 0){w.current=e;return}w.current!==e&&(w.current=e,E(n),j([]),f(i))},[n,o,i,j,f]);let le=(0,W.useMemo)(()=>{let e=new Set(b?[]:v?.map(e=>
49e.cloudId)),t=[...e].filter(e=>e!==n);return n&&oe&&t.unshift(n),M&&!t.includes(M)&&t.push(M),t.map(t=>({label:(0,G.jsxs)(`span`,{className:`inline-flex min-w-0 items-center gap-2`,children:[(0,G.jsx)(`span`,{"aria-hidden":`true`,className:`shrink-0`,children:(0,G.jsx)(jc,{cloudProvider:t,width:18,height:18,iconWidth:18,iconHeight:18})}),(0,G.jsx)(`span`,{className:`truncate`,children:re(t)})]}),value:t,disabled:t===n?!oe:!e.has(t)}))},[n,v,b,re,oe,M]),ue=(0,W.useMemo)(()=>{let e=T===n?O?[]:ae:b?[]:(v??[]).filter(e=>e.cloudId===T).map(e=>({value:e.regionId,label:e.regionName})),t=Array.from(new Map(e.map(e=>({value:String(e.value),label:String(e.label)})).filter(e=>e.value!==o).map(e=>[e.value,e])).values()),r=new Set(t.map(e=>e.value)),i=se.filter(e=>!r.has(e.value)).filter(e=>ie(e.value)===T).map(e=>({value:e.value,label:e.label,disabled:!0}));return[...t,...i]},[o,n,O,v,b,ae,se,T,ie]),de=t??(O?d(`backupPolicy:policy.crossRegions.azureUnavailable`):void 0),fe=c??d(`backupPolicy:policy.crossCloud.title`),pe=l??d(`backupPolicy:policy.crossCloud.description`),me=e=>{let t=e;t!==T&&(E(t),j([]),f(i))},he=ue.find(e=>!e.disabled&&!ce.includes(e.value)),ge=D||O||T===void 0||T!==n&&(y||b),_e=()=>{ge||!he||(A({value:he.value,label:he.label,retention:7}),f(i))},ve=e=>{ee(e),f(i)},ye=(0,G.jsx)(z,{disableRipple:!0,variant:`outlined`,size:`small`,className:`h-9! shrink-0`,startIcon:(0,G.jsx)(Sa,{}),"data-testid":`backup-cross-region-add`,disabled:ge||!he,onClick:_e,children:u??d(`backupPolicy:policy.crossRegions.addButton`)});return(0,G.jsx)(au,{type:`hide`,children:(0,G.jsxs)(`section`,{className:R(RQ.crossRegionsCard,`min-w-0`,r.root),"data-testid":`backup-cross-region-selector`,children:[(0,G.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,G.jsx)(`div`,{className:`flex items-center justify-between gap-4`,children:(0,G.jsx)(L,{variant:`h3Semibold`,children:fe})}),(0,G.jsx)(L,{variant:`body2Regular`,color:`text.secondary`,className:`leading-5`,children:pe})]}),(0,G.jsxs)(`div`,{className:`flex flex-wrap items-end gap-4`,children:[(0,G.jsx)(`div`,{className:`min-w-0 flex-1 md:max-w-[50%]`,children:(0,G.jsx)(zQ,{testId:`backup-cross-region-cloud-select`,disabled:D,label:d(`backupPolicy:policy.crossRegions.targetCloud`),onChange:me,options:le,placeholder:d(`backupPolicy:policy.crossRegions.selectCloud`),value:le.find(e=>e.value===T)?.value??``})}),ye]}),(D||O)&&de?(0,G.jsx)(L,{variant:`body2Regular`,color:`text.secondary`,className:`leading-5`,children:de}):null,ne&&(0,G.jsx)(L,{variant:`body2Regular`,color:`error`,role:`alert`,children:ne}),se.length>0?(0,G.jsx)(`div`,{className:`flex flex-col gap-4`,"data-testid":`backup-cross-region-rows`,children:k.map((e,t)=>{let n=se[t];return n?(0,G.jsx)(`div`,{className:`flex min-w-0 flex-col gap-2`,"data-testid":`backup-cross-region-row-${n.value}`,children:(0,G.jsx)(R$,{index:t,fieldName:i,options:ue,disabled:D,regionDisabled:ge,showRetention:s,onRemove:ve})},e.id):null})}):null]})})},B$={optionLabel:`_optionLabel_1vnhw_3`,selected:`_selected_1vnhw_8`,disabled:`_disabled_1vnhw_12`,iconDisabled:`_iconDisabled_1vnhw_16`,rotate:`_rotate_1vnhw_1`},V$=e=>{let{cloudId:t,disabled:n}=e,r={size:16,className:R({[B$.iconDisabled]:n})};switch(t){case P.AWS:return(0,G.jsx)(Xi,{...r});case P.ALI:return(0,G.jsx)(Ji,{...r});case P.ALIBABA_CLOUD:return(0,G.jsx)(Ji,{...r});case P.AZURE:return(0,G.jsx)(ji,{...r});case P.GCP:return(0,G.jsx)(Na,{...r});case P.TENCENT:return(0,G.jsx)(_i,{...r});case P.HUAWEI:return(0,G.jsx)(Qr,{...r});default:return null}},H$=e=>{let{cloudId:t,region:n,disabled:r=!1,selected:i=!1}=e;return(0,G.jsxs)(L,{variant:`body1Regular`,className:R(B$.optionLabel,{[B$.disabled]:r,[B$.selected]:i}),children:[(0,G.jsx)(V$,{cloudId:t,disabled:r}),n]})},U$=e=>{let{index:t,fieldName:n,cloudId:r,disabled:i=!1,showRetention:a=!0,onRemove:o,customClasses:s={},defaultClusterRegion:c,options:l,testIdPrefix:u,regionDisabled:d=i}=e,{t:f}=_([`backupPolicy`,`common`]),{setValue:p}=Re(),{regionOptions:m}=cu(r,void 0,!0),h=l??m,{retentionPeriodOptions:g,getRetentionPeriodRules:v}=L$(),[y,b]=Ie({name:[n,`${n}.${t}.value`]}),x=(0,W.useMemo)(()=>
49{if(!r)return[];let e=(y||[]).map((e,n)=>n===t?null:e?.value).filter(Boolean);return h.map(t=>{let n=t.value===b,i=e.includes(t.value),a=t.value===c,o=!!(`disabled`in t&&t.disabled)||i||a;return{...t,label:(0,G.jsx)(H$,{cloudId:r,region:t.label,disabled:o,selected:n}),disabled:o}})},[r,h,y,b,t,c]);return(0,G.jsxs)(`div`,{className:`flex min-w-0 items-start gap-3`,children:[(0,G.jsxs)(`div`,{className:a?`grid min-w-0 flex-1 grid-cols-1 gap-3 sm:grid-cols-[minmax(0,1fr)_160px]`:`min-w-0 flex-1`,children:[(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,"data-testid":u?`${u}-region-${t}`:void 0,children:[(0,G.jsx)(L,{variant:`body2Medium`,className:`whitespace-nowrap`,children:f(`backupPolicy:policy.create.configs.cloudRegion.title`)}),(0,G.jsx)(ru,{name:`${n}.${t}.value`,handleChange:l?e=>{let r=l.find(t=>t.value===e)?.label;r!==void 0&&p(`${n}.${t}.label`,r,{shouldDirty:!0})}:void 0,componentProps:{fullWidth:!0,options:x,disabled:d,classes:{root:RQ.regionSelect},renderValue:e=>{let t=h.find(t=>t.value===e)?.label;return(0,G.jsx)(H$,{cloudId:r,region:t})}}})]}),a&&(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-2`,children:[(0,G.jsx)(L,{variant:`body2Medium`,className:`whitespace-nowrap`,children:f(`backupPol
49icy:policy.create.configs.retentionPeriod.title`)}),(0,G.jsx)(iu,{name:`${n}.${t}.retention`,componentProps:{fullWidth:!0,wrapperClassName:RQ.retentionInputWrapper+` `+(s.retentionInput||``),inputComponentType:Si.suffixSelect,inputType:`number`,options:g,defaultSelectedValue:Js.Day,disableSelect:!0,selectClasses:{label:RQ.suffixLabel},disabled:i},rules:v()})]})]}),(0,G.jsx)(fr,{disableRipple:!0,"aria-label":f(`common:button.delete`),size:`small`,"data-testid":`${u??`backup-same-cloud`}-remove-${t}`,disabled:i,onClick:()=>{o(t)},className:`mt-7! shrink-0`,children:(0,G.jsx)(ci,{})})]})},W$=({disabled:e=!1,disabledTooltip:t,cloudId:n,classes:r={root:``,retentionInput:``},fieldName:i=`crossRegions`,defaultCrossRegions:a=[],showRetention:o=!0,defaultClusterRegion:s,title:c,description:l,addButtonText:u})=>{let{t:d}=_([`backup`,`backupPolicy`]),{control:f}=Re(),p=c??d(`backupPolicy:policy.crossRegions.title`),m=l??d(`backupPolicy:policy.crossRegions.description`),h=u??d(`backupPolicy:policy.crossRegions.addButton`),{fields:g,append:v,remove:y,replace:b}=ln({control:f,name:i}),{regionOptions:x}=cu(n,void 0,!0),S=(0,W.useMemo)(()=>{let e=g.map(e=>e.value);return x.some(t=>!e.includes(t.value)&&t.value!==s)},[x,g,s]),C=()=>{let e=g.map(e=>e.value),t=x.find(t=>!e.includes(t.value)&&t.value!==s);t&&v({value:t.value,label:t.label,retention:7})};(0,W.useEffect)(()=>{b(a)},[JSON.stringify(a),b]);let{addRegionDisabled:w,tooltip:T}=(0,W.useMemo)(()=>n===P.AZURE?{addRegionDisabled:!0,tooltip:d(`backup:snapshot.create.crossRegions.azureTooltip`)}:{addRegionDisabled:e||!S,tooltip:e?t??``:S?``:d(`backup:snapshot.create.crossRegions.allRegionsAddedTooltip`)},[e,t,S,n,d]);return(0,G.jsx)(au,{type:`hide`,children:(0,G.jsxs)(`div`,{className:R(RQ.crossRegionsCard,`min-w-0`,r.root),"data-testid":`backup-same-cloud-selector`,children:[(0,G.jsxs)(`div`,{className:R(RQ.crossRegionsHeader,`flex-wrap`),children:[(0,G.jsx)(L,{variant:`h3Semibold`,className:RQ.cardTitle,children:p}),(e=>(0,G.jsx)(z,{disableRipple:!0,"data-testid":`backup-same-cloud-add`,variant:`outlined`,size:`small`,onClick:C,className:R(e,`h-9! shrink-0`),startIcon:(0,G.jsx)(Sa,{}),disabled:w,tooltip:{title:T,classes:{tooltip:RQ.addRegionButtonTooltip},leaveDelay:t?1e3:void 0},children:h}))(RQ.addButton)]}),(0,G.jsx)(L,{variant:`body2Regular`,className:RQ.description,children:m}),g.length>0&&(0,G.jsx)(`div`,{className:`flex min-w-0 flex-col gap-4`,"data-testid":`backup-same-cloud-rows`,children:g.map((t,a)=>(0,G.jsx)(U$,{index:a,fieldName:i,cloudId:n,disabled:e,showRetention:o,onRemove:y,customClasses:r,defaultClusterRegion:s},t.id))})]})})},G$=e=>{let[t]=ou([Gs.CrossCloudMigration]);return t?(0,G.jsx)(z$,{...e}):(0,G.jsx)(W$,{...e})},{retentionPeriod:K$}=ic(),q$=class extends eo{retentionPeriodInDays;status;region;regionId;regionName;timezone;crossPolicies;schedules;advancedSchedules;nextTriggerTime;lastTriggerTime;static SNAPSHOT_SCHEDULE_PREFIX=`${this.CLOUD_PREFIX}/instance/policy`;static SNAPSHOT_SCHEDULE_V2_URL=`${this.SNAPSHOT_SCHEDULE_PREFIX}/v2/get`;static MODIFY_SNAPSHOT_SCHEDULE_V2_URL=`${this.SNAPSHOT_SCHEDULE_PREFIX}/v2/modify`;static ENABLE_SNAPSHOT_SCHEDULE_V2_URL=`${this.SNAPSHOT_SCHEDULE_PREFIX}/v2/enable`;static DISABLE_SNAPSHOT_SCHEDULE_V2_URL=`${this.SNAPSHOT_SCHEDULE_PREFIX}/v2/disable`;constructor(e){super(e),Object.assign(this,e)}static modifySnapshotScheduleV2(e){return super.create({path:this.MODIFY_SNAPSHOT_SCHEDULE_V2_URL,data:e})}static enableSnapshotScheduleV2(e){return super.create({path:this.ENABLE_SNAPSHOT_SCHEDULE_V2_URL,data:e})}static disableSnapshotScheduleV2(e){return super.create({path:this.DISABLE_SNAPSHOT_SCHEDULE_V2_URL,data:{instanceId:e}})}static fetchSnapshotScheduleV2(e){return super.create({path:this.SNAPSHOT_SCHEDULE_V2_URL,data:{instanceId:e}})}get _retentionPeriodNumber(){return this.retentionPeriodInDays||K$}get _enableSnapshotSchedule(){return this.status===GQ.ENABLE}get _crossPolicies(){return this.crossPolicies?this.crossPolicies.map(e=>({value:e.regionId,label:e.regionName,retention:e.keepDays})):[]}get _region(){return this.region||``}get _regionId(){return this.regionId||``}get _regionName(){return this.regionName||``}get _nextTriggerTime(){return nc(this.nextTriggerTime,`ll HH:mm`,this.timezone)}get _lastTriggerTime(){return nc(this.lastTriggerTime,`ll HH:mm`,this.timezone)}get _allRegionIds(){return[this._regionId,...this._crossPolicies?.map(e=>e.value)]}get _timezone(){return this.timezone||``}get _mode(){return this.advancedSchedules?.length?qQ.Advanced:qQ.Basic}get _schedules(){return(this.schedules||[]).map(e=>({recurrence:e.recurrence,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,time:e.time}))}get _advancedSchedules(){return(this.advancedSchedules||[]).map(e=>({cron:e.cron}))}},J$=[Hs.Common],Y$=e=>{let{targetCollectionName:t,defaultDatabaseName:n,defaultRegionId:r,onPriceChange:i}=e,a=!!t,{t:o}
49=_([`backup`,`backupPolicy`,`common`,`snapshot`]),[s]=ou([Gs.CrossCloudMigration]),[c,u]=(0,W.useState)(a?dQ.Collection:dQ.Cluster),{clusterId:d=``,collectionName:f=``}=l(),{clusterList:p}=Fn(),m=(0,W.useMemo)(()=>gc(p,r??null),[p,r]),h=(0,W.useMemo)(()=>new Set(m.map(e=>e._instanceId)),[m]),{canAction:g}=ur(),v=Il(),{watch:y,resetField:b,unregister:x,setValue:S}=Re(),[C,w,T]=y([cQ.Database,cQ.Cluster,cQ.Collection]),[E,D]=C||[],O=Q$(),[k,A]=(0,W.useState)([]),ee=t||f,{clusterDatabaseOptions:j}=iA({displayClusterTypes:J$}),{generateOptionsByClusterStatus:te,getRenderValueFunc:ne}=NQ(),{isByocOrg:re}=Kt(),ie=(0,W.useMemo)(()=>c===dQ.Cluster?w||d:E||d,[c,w,d,E]),{data:M}=za(ie?[`snapshot-schedule`,ie]:null,([e,t])=>q$.fetchSnapshotScheduleV2(t)),{regionId:ae,classSpecKey:oe,classSpec:se,isServerless:ce,cloudId:le}=(0,W.useMemo)(()=>{let e=p.find(e=>e._instanceId===ie)||nQ;return{regionId:e._regionId,classSpecKey:e._classSpecKey,classSpec:typeof e._cu==`number`&&typeof e._cuType==`number`?{cu:e._cu,cuType:e._cuType,classType:e._classType,clusterType:e._plan,replica:e._replica}:void 0,cloudId:e._cloudId,isServerless:e._instanceType===Hs.Serverless}},[ie,p]),{classPrices:ue}=DQ({regionId:ae,classSpecKey:oe,classSpec:se,isServerless:ce}),de=PQ(ue);(0,W.useEffect)(()=>{i?.(de)},[de,i]);let fe=r||ae,pe=r?Ks(r):le,{regionOptions:me,getRegionNameById:he}=cu(pe),{clusterOptions:ge,renderValue:_e}=(0,W.useMemo)(()=>{let e=te({clusterList:m.filter(e=>g(I.Backup,`manage`,{resourceId:e._instanceId})),displayClusterTypes:J$,checkManualBackup:!0});return{renderValue:ne(e),clusterOptions:e}},[g,te,ne,m]),ve=(0,W.useMemo)(()=>c===dQ.Cluster?!w&&!d:!T||T.length===0,[c,w,d,T]);return(0,W.useEffect)(()=>{!D||!E||(async()=>{let e=await v(E,D),t=e.length===0?[O]:e.map(e=>({id:e._collectionName,label:e._collectionName,value:e._collectionName}));A(t)})()},[O,v,E,D]),(0,W.useEffect)(()=>{S(cQ.Database,[d,n||`default`])},[d,n,S]),(0,W.useEffect)(()=>{!a||!t||S(cQ.Collection,t)},[t,a,S]),(0,G.jsxs)(`div`,{className:_Q.formWrapper,children:[(0,G.jsxs)(`div`,{className:R(_Q.basicSection,{[_Q.card]:!re}),children:[!re&&(0,G.jsx)(L,{variant:`h3Semibold`,component:`div`,children:o(`backup:snapshot.create.basic`)}),(0,G.jsxs)(`div`,{className:_Q.formFieldsWrapper,children:[!a&&(0,G.jsxs)(`div`,{className:_Q.backupScopeSection,children:[(0,G.jsx)(L,{variant:`h4Medium`,component:`div`,children:o(`backup:snapshot.create.backupScope.title`)}),(0,G.jsxs)(`div`,{className:_Q.scopeOptionsHorizontal,children:[(0,G.jsx)(`div`,{className:R(_Q.scopeOption,{[_Q.selected]:c===dQ.Cluster}),onClick:()=>{u(dQ.Cluster),x(cQ.Collection)},children:(0,G.jsxs)(`div`,{className:_Q.scopeContent,children:[(0,G.jsxs)(L,{variant:`h4Semibold`,component:`div`,className:_Q.scopeTitle,children:[o(`backup:snapshot.create.backupScope.cluster.title`),(0,G.jsx)(vi,{label:``,checked:c===dQ.Cluster,onClick:()=>{},className:_Q.scopeRadio})]}),(0,G.jsx)(L,{variant:`body2Regular`,component:`div`,children:o(`backup:snapshot.create.backupScope.cluster.description`)})]})}),(0,G.jsx)(`div`,{className:R(_Q.scopeOption,{[_Q.selected]:c===dQ.Collection}),onClick:()=>{u(dQ.Collection)},children:(0,G.jsxs)(`div`,{className:_Q.scopeContent,children:[(0,G.jsxs)(L,{variant:`h4Semibold`,component:`div`,className:_Q.scopeTitle,children:[o(`backup:snapshot.create.backupScope.collections.title`),(0,G.jsx)(vi,{label:``,checked:c===dQ.Collection,onClick:()=>{},className:_Q.scopeRadio})]}),(0,G.jsx)(L,{variant:`body2Regular`,component:`div`,children:o(`backup:snapshot.create.backupScope.collections.description`)})]})})]})]}),(0,G.jsx)(na,{label:o(`backup:snapshot.create.form.region`),value:fe,options:me,disabled:!0,onChange:()=>{},renderValue:e=>{let t=e,n=he(t),r=me.find(e=>e.value===t);return(0,G.jsxs)(`div`,{className:_Q.regionSelectDisplay,children:[(0,G.jsx)(jc,{cloudProvider:r?.cloudId||pe}),(0,G.jsx)(L,{variant:`body1Regular`,component:`span`,className:_Q.regionName,children:n}),(0,G.jsx)(L,{variant:`body3Regular`,component:`span`,className:_Q.regionTag,children:o(`backup:snapshot.create.regions.original`)})]})},classes:{root:_Q.originalRegionSelector},placeholder:o(`common:tooltip.select`)}),c===dQ.Cluster&&(0,G.jsx)(Ne,{name:cQ.Cluster,defaultValue:d,componentProps:{options:ge,label:o(`backup:snapshot.create.form.cluster`),fullWidth:!0,renderValue:_e,disabled:!!d,classes:{root:_Q.clusterSelector}}}),c===dQ.Collection&&(0,G.jsxs)(`div`,{className:_Q.databaseCollectionWrapper,children:[(0,G.jsx)(Ft,{name:cQ.Database,componentProps:{label:o(`backup:snapshot.create.form.database`),options:j.filter(e=>h.has(e.id)&&(!d||e.id===d)&&g(I.Backup,`manage`,{resourceId:e.id})),disabled:!!d&&!!f,classes:{root:_Q.clusterSelector}},handleChange:()=>{b(cQ.Collection)},rules:{required:!0}}),a&&t&&(0,G.jsx)(Ne,{name:cQ.Collection,componentProps:{options:[{label:t,value:t}],label:o(`backup:snapshot.create.form.collection`),fullWidth:!0,disabled:!0,classes:{root:_Q.clusterSelector,label:_Q.collectionLabel}}})]}),!a&&c===dQ.Collection&&(0,G.jsx)(XJ,{name:cQ.Collection,componentProps:{options:k,fullWidth:!0,inputParams:{label:o(`backup:snapshot.create.form.collection`)},isVirtualized:!0,supportSelectAll:!k.find(e=>e.value===O.value),classes:{listbox:_Q.collectionSelectorListbox}},initialState:{selectAll:!1,selectedItems:ee?[{label:ee,value:ee}]:[]},rules:{required:!0}})]})]}
49),(0,G.jsxs)(`div`,{className:_Q.crossRegionsWrapper,children:[(0,G.jsx)(G$,{disabled:ve,description:o(s?`backup:snapshot.create.crossRegions.crossCloudDescription`:`backup:snapshot.create.crossRegions.description`),cloudId:pe,fieldName:cQ.CrossRegions,showRetention:!1,defaultCrossRegions:M?._crossPolicies||[],classes:{root:``,retentionInput:``},defaultClusterRegion:ae}),(0,G.jsx)(`div`,{className:R({[_Q.disabledCrossRegionsWrapper]:ve})})]})]})},X$=`emptyCluster`,Z$=`emptyCollection`,Q$=e=>{let{t}=_([`migration`]),n=t(`migration:cloudMigrate.sourceCollection.disabledStatusTooltip`);return(0,W.useMemo)(()=>({id:Z$,value:Z$,label:Z$,generateCustomEle:()=>(0,G.jsx)(LQ,{desc:e||n},X$)}),[n,e])},$$=e=>{let{collectionName:t,handleCb:n,defaultDatabaseName:r,regionId:i}=e,{t:a}=_([`backup`,`common`,`snapshot`]),o=F(A),[s,c]=(0,W.useState)(!1),[u,d]=(0,W.useState)(),{openJobSubmittedMessage:f}=BZ(),{projectId:p}=l(),m=async e=>{try{c(!0);let t=e[cQ.CrossRegions]?.map(e=>({regionId:e.value}));if(e[cQ.Collection]){let[n,r]=e[cQ.Database],i=e[cQ.Collection];await gQ.createPartialSnapshot({instanceId:n,collectionNames:Array.isArray(i)?i.map(e=>e.value):[i],databaseName:r,crossRegions:t})}else await gQ.createSnapshot({instanceId:e[cQ.Cluster],crossRegions:t,projectId:p});h(),n&&n()}finally{c(!1)}},h=()=>{o(e=>({...e,open:!1})),f()};return(0,G.jsx)(sc,{title:a(t?`backup:snapshot.create.title.collection`:`backup:snapshot.create.title.cluster`),handleConfirm:m,type:j.Form,confirmLoading:s,confirmLabel:a(`common:button.create`),classes:{actions:`flex-wrap items-center! gap-3 basis-auto!`,actionsMain:`ml-auto shrink-0`},actionChildren:(0,G.jsx)(sQ,{price:u}),showContentSpacingAfterScroll:!0,children:(0,G.jsx)(Y$,{targetCollectionName:t,defaultDatabaseName:r,defaultRegionId:i,onPriceChange:d})})},e1={inner:`_inner_r56t0_3`,expandItem:`_expandItem_r56t0_9`,column:`_column_r56t0_10`,underline:`_underline_r56t0_17`,shardInput:`_shardInput_r56t0_24`,optional:`_optional_r56t0_28`,link:`_link_r56t0_32`,loading:`_loading_r56t0_36`,rotate:`_rotate_r56t0_1`},t1=function(e){return e.Name=`newCollectionName`,e.Desc=`description`,e.OldName=`oldCollectionName`,e.ClusterId=`instanceId`,e.Shard=`shardsNum`,e.Policy=`policy`,e}({}),n1=function(e){return e[e.AsBefore=0]=`AsBefore`,e[e.Unload=1]=`Unload`,e}({}),r1=3e8,i1=e=>e!==void 0&&e>=r1,a1=e=>{let{name:t,rules:n,...r}=e,{control:i}=Re();return(0,G.jsx)(_e,{control:i,defaultValue:e.defaultValue,name:e.name,rules:n,render:({field:t,fieldState:{error:n}})=>{let i=!!n;return(0,G.jsxs)(`div`,{className:`flex flex-col gap-[4px]`,children:[(0,G.jsx)(ai,{...t,...r,className:wee(r.className,{"[&_fieldset]:border-red-2":i}),onChange:n=>{t.onChange(n),e.onChange?.(n)}}),(0,G.jsx)(Xe,{errMsg:n?.message})]})}})},o1=e=>{let{collectionName:t,databaseName:n,clusterId:r}=e,{clusterId:i=``}=l(),a=r||i,{fullClusterList:o}=Fn(),s=o.find(e=>e._instanceId===a)?._dbVersionNum,c=i1(s),{t:u}=_([`collections`,`common`,`migrations`]),{copyCollection:f,isPending:p}=Rl(),m=F(A),{getCollectionNameRules:h}=WC(),{openJobSubmittedMessage:g}=BZ(),{data:{_shardsNum:v}={},isLoading:y}=Hl({clusterId:a,collectionName:t,databaseName:n}),{data:b}=Ll({clusterId:a,databaseName:n}),x=s!==void 0&&v!==void 0&&!y,S=qc(t,(0,W.useMemo)(()=>b?.map(e=>e._collectionName)??[],[b])),C=()=>{m(e=>({...e,open:!1}))},w=[{label:u(`collections:copy.policy.asBefore.label`),value:n1.AsBefore},{label:u(`collections:copy.policy.unload.label`),value:n1.Unload}];return(0,G.jsx)(sc,{title:u(`collections:copy.title`),type:j.Form,confirmLoading:p,confirmDisabled:!x,confirmLabel:u(`common:button.clone`),handleConfirm:async e=>{if(!x)return;let r={[t1.Name]:e[t1.Name],[t1.Desc]:e[t1.Desc],[t1.ClusterId]:a,[t1.OldName]:t,[t1.Shard]:c?v:e[t1.Shard],[t1.Policy]:Number(e[t1.Policy]),databaseName:n};await f({params:r,options:{withData:!0}}),C(),g({title:u(`collections:copy.success.title`),msg:u(`collections:copy.success.desc`)})},useFormProps:{defaultValues:{[t1.Name]:S}},children:(0,G.jsxs)(`div`,{className:e1.inner,children:[(0,G.jsx)(iu,{name:t1.Name,componentProps:{fullWidth:!0,label:(0,G.jsx)(L,{variant:`h4Medium`,children:u(`collections:copy.name`)})},rules:h()}),(0,G.jsx)(iu,{name:t1.Desc,componentProps:{fullWidth:!0,label:(0,G.jsx)(L,{variant:`h4Medium`,children:(0,G.jsx)(d,{t:u,i18nKey:`collections:copy.desc`,components:[(0,G.jsx)(L,{variant:`body4Regular`,className:e1.optional})]})})}}),(0,G.jsx)(Vt,{loading:y,loadingText:``,classes:{loading:e1.loading},children:(0,G.jsxs)(`div`,{className:R(e1.expandItem,e1.column),children:[(0,G.jsx)(L,{variant:`h4Medium`,className:e1.underline,children:(0,G.jsx)(ma,{tooltip:{title:(0,G.jsx)(d,{t:u,i18nKey:`migrations:schemaMapping.advanceSetting.shard.desc`,components:[(0,G.jsx)(`a`,{href:No,className:e1.link})]}),placement:`right`},children:u(`collections:create.shard.title`)})}),(0,G.jsx)(a1,{"data-testid":`copy-collection-shard-input`,name:t1.Shard,min:1,max:16,size:`small`,className:e1.shardInput,defaultValue:v,disabled:c||!x})]})}),(0,G.jsx)(OX,{name:t1.Policy,defaultValue:n1.AsBefore,options:w,label:u(`collections:copy.policy.label`)}),(0,G.jsx)(s1,{})]})})},s1=()=>{let{t:e}=_([`collections`]),{watch:t}=Re(),n=t(t1.Policy,n1.AsBefore);return Number(n)===n1.AsBefore?(0,G.jsx)(ni,{severity:`warning`,children:e(`collections:copy.policy.asBefore.warning`)}):null};function c1(e){let{t}=_(`collections`),{selectedList:n=[],clusterId:r,collectionName:i=``,onConfirmCallback:a=()=>{},onDeleteStart:o=()=>{},onDeleteEnd:s=()=>{},databaseName:c,isExternal:l=!1}=e,{deleteCollection:u}=Cee(),{message:f}=Ga(),{keyword:p,successMsg:m}=(0,W.useMemo)(()=>{let e=n.length>1,r=n[0]||i;return{keyword:e?`${n.length}`:r,successMsg:{title:t(`list.deleteCollectionSuccessTitle`),message:e?t(`list.deleteMultipleCollectionSuccess`):t(`list.deleteSingleCollectionSuccess`,{name:r})}}},[n,i]),h=(0,W.useMemo)(()=>{let e=n.length>1;return!e&&l?`list.deleteExternalCollectionText`:e?`list.deleteMultipleCollectionsText`:`list.deleteText`},[n,l]);return(0,G.jsx)(cA,{title:t(`list.deleteTitle`),tip:(0,G.jsx)(d,{i18nKey:h,t,components:[(0,G.jsx)(`strong`,{})]}),keyword:p,onConfirm:async()=>{let e=n.length?n:[i];
49e.forEach(e=>{kJ({clusterId:r,databaseName:c,collectionName:e})}),o();try{for(let t of e)await u({clusterId:r,collectionName:t,databaseName:c});f.success(m),a(),queueMicrotask(()=>{e.forEach(e=>{AJ({clusterId:r,databaseName:c,collectionName:e})})})}catch(t){throw e.forEach(e=>{AJ({clusterId:r,databaseName:c,collectionName:e})}),s(),t}},confirmLabel:t(`list.dropLabel`)})}function l1(e){let{t}=_(`collections`),{clusterId:n,collectionName:r,databaseName:i,onConfirmCallback:a=()=>{}}=e,{truncateCollection:o}=Nl(),{message:s}=Ga();return(0,G.jsx)(cA,{title:t(`truncate.title`),tip:(0,G.jsx)(d,{i18nKey:`truncate.tip`,t,values:{name:r},components:[(0,G.jsx)(`strong`,{})]}),keyword:r,onConfirm:async()=>{await o({clusterId:n,collectionName:r,databaseName:i}),s.success({title:t(`truncate.successTitle`),message:t(`truncate.successMessage`,{name:r})}),a()},confirmLabel:t(`truncate.confirmLabel`)})}var u1={wrapper:`_wrapper_tr53x_3`,dbNameWrapper:`_dbNameWrapper_tr53x_7`,rotate:`_rotate_tr53x_1`},d1=_n({databaseNames:pn(bn()).nullish().transform(e=>e??[])}).transform(e=>e.databaseNames),f1=`cloud/v1`,p1={list:async e=>{let t=await Ce.get(`${f1}/vectorlake/database/list`,{params:e});return d1.parse(t.data.Data)},create:async e=>(await Ce.post(`${f1}/vectorlake/database/create`,e)).data,drop:async e=>(await Ce.post(`${f1}/vectorlake/database/drop`,e)).data},m1={all:[`projectDatabase`],list:(e,t)=>[...m1.all,`list`,e,t]},h1=()=>{let{projectId:e=``}=l(),{catalogClusters:t}=Fn(),{clusterMatrix:n}=Sc(),{canAction:r}=ur(),i=(0,W.useMemo)(()=>t.filter(t=>t._projectId===e),[t,e]),a=(0,W.useMemo)(()=>i.filter(e=>Jc(xc(n,Hs.Common,e._globalClusterRole),e._instanceOriginStatusName)&&r(I.OnDemandComputeData,`read`,{resourceId:e._instanceId})),[r,i,n]),o=a.length>0,s=tr({queries:(0,W.useMemo)(()=>a.map(t=>({queryKey:m1.list(e,t._regionId),queryFn:()=>p1.list({projectId:e,regionId:t._regionId}),enabled:!!e&&!!t._regionId&&o,staleTime:3e4,refetchOnWindowFocus:!1})),[a,o,e])}),c=(0,W.useMemo)(()=>{let e=[];return a.forEach((t,n)=>{(s[n]?.data??[]).forEach(n=>{e.push({name:n,catalogClusterId:t._instanceId,regionId:t._regionId})})}),e},[a,s]),u=s.some(e=>e.isLoading),d=s.some(e=>e.isFetching);return{hasCatalogCluster:i.length>0,canAccess:o,catalogClusters:a,catalogClusterIds:a.map(e=>e._instanceId),databases:c,isLoading:u,isFetching:d,refetch:()=>Promise.all(s.map(e=>e.refetch()))}},g1=()=>{let e=Tn(),{catalogClusters:t}=Fn(),{canAction:n}=ur(),r=gn({mutationFn:e=>{let r=t.find(t=>t._projectId===e.projectId&&t._regionId===e.regionId);return!r||!n(I.OnDemandComputeData,`write`,{resourceId:r._instanceId})?Promise.reject(Error(`On-demand Databases require project member permission.`)):p1.create(e)},onSuccess:()=>{e.invalidateQueries({queryKey:m1.all})}});return{createProjectDatabase:r.mutateAsync,isPending:r.isPending}},_1=()=>{let e=Tn(),{catalogClusters:t}=Fn(),{canAction:n}=ur(),r=gn({mutationFn:e=>{let r=t.find(t=>t._projectId===e.projectId&&t._regionId===e.regionId);return!r||!n(I.OnDemandComputeData,`write`,{resourceId:r._instanceId})?Promise.reject(Error(`On-demand Databases require project write permission.`)):p1.drop(e)},onSuccess:()=>{e.invalidateQueries({queryKey:m1.all})}});return{dropProjectDatabase:r.mutateAsync,isPending:r.isPending}},v1=e=>{let{collectionName:t,databaseName:n,clusterId:r}=e,{orgId:i=``,projectId:a=``,clusterId:o=``}=l(),s=r||o,{t:c}=_([`database`,`common`]),{moveCollection:d,isPending:f}=Pl(),{message:m}=Ga(),h=GZ(s),{databases:g}=h1(),{databaseOptions:v}=iA(),y=h?g.filter(e=>e.catalogClusterId===s).map(e=>({id:e.name,label:e.name,value:e.name})):v,{getRequiredRule:b}=P$(),x=u(),S=p(),C=F(A),w=S.pathname.includes(`/on-demand/clusters/`)?`on-demand/clusters`:`clusters`;return(0,G.jsx)(sc,{title:c(`database:move.title`),showCloseIcon:!0,type:j.Form,confirmLoading:f,confirmLabel:c(`common:button.confirm`),handleConfirm:async e=>{let r=e.databaseName;await d({clusterId:s,collectionName:t,newDatabaseName:r,databaseName:n}),C(e=>({...e,open:!1})),x(`/orgs/${i}/projects/${a}/${w}/${s}/databases/${r}/collections/${t}`),m.success({title:c(`database:move.success.title`),message:c(`database:move.success.message`,{name:t,databaseName:r})})},children:(0,G.jsxs)(`div`,{className:u1.wrapper,children:[(0,G.jsxs)(`div`,{className:u1.dbNameWrapper,children:[(0,G.jsx)(L,{variant:`h4Medium`,children:c(`database:move.current`)}),(0,G.jsx)(L,{className:u1.curDatabase,children:n})]}),(0,G.jsx)(Ne,{name:`databaseName`,componentProps:{options:y.filter(e=>e.value!==n),label:c(`database:move.target`)},rules:{...b(c(`database:move.target`))}})]})})},y1=function(e){return e.Name=`name`,e}({}),b1=({oldCollectionName:e,databaseName:t,isCollectionList:n=!0,clusterId:r})=>{let{clusterId:i=``}=l(),a=r||i,{t:o}=_([`common`,`collections`]),s=F(A),{getCollectionNameRules:c}=WC(),{navigateToCollectionPage:u}=$C({clusterId:a}),{renameCollection:d,isPending:f}=kl(),{message:p}=Ga();return(0,G.jsx)(sc,{title:o(`collections:rename.title`),confirmLabel:o(`common:button.save`),handleConfirm:async r=>{await d({clusterId:a,oldCollectionName:e,newCollectionName:r.name,databaseName:t}),s(e=>({...e,open:!1})),p.success({title:o(`collections:rename.success.title`),message:o(`collections:rename.success.message`,{name:e,newName:r.name})}),n||u({databaseName:t,collectionName:r.name})},type:j.Form,confirmLoading:f,useFormProps:{defaultValues:{[y1.Name]:e}},children:(0,G.jsx)(iu,{name:y1.Name,componentProps:{label:o(`collections:rename.name`),fullWidth:!0},rules:c()})})},x1=function(e){return e.CollectionMmap=`collectionRawData`,e.FieldMmap=`fields`,e}({}),S1=function(e){return e.RawData=`rawData`,e.Index=`index`,e.Custom=`$tempJsonPaths`,e}({}
49),$=function(e){return e.None=`none`,e.Enable=`true`,e.Disable=`false`,e.Custom=`custom`,e}({}),C1={link:`_link_1ynb8_3`,content:`_content_1ynb8_7`,metricTypeOption:`_metricTypeOption_1ynb8_14`,metricTypeSelect:`_metricTypeSelect_1ynb8_18`,metricTypeLabel:`_metricTypeLabel_1ynb8_22`,titleLink:`_titleLink_1ynb8_27`,mmapSelect:`_mmapSelect_1ynb8_31`,mmapTitle:`_mmapTitle_1ynb8_37`,selectedOption:`_selectedOption_1ynb8_41`,fieldOption:`_fieldOption_1ynb8_42`,fieldName:`_fieldName_1ynb8_43`,fieldType:`_fieldType_1ynb8_64`,fieldIcon:`_fieldIcon_1ynb8_68`,structVectorFields:`_structVectorFields_1ynb8_73`,structVectorsTable:`_structVectorsTable_1ynb8_77`,rotate:`_rotate_1ynb8_1`},w1=e=>{let t=e.indexOf(`[`);return t===-1?{baseName:e,innerName:void 0}:{baseName:e.substring(0,t),innerName:e.substring(t+1,e.length-1)}},T1=function(e){return e.metricType=`metric_type`,e}({}),E1=class extends eo{FieldName;IndexName;Params;Status;constructor(e){super(e),Object.assign(this,e)}static INDEX_PREFIX=`${this.CLOUD_PREFIX}/instance/index`;static INDEX_DETAIL_URL=`${this.INDEX_PREFIX}/describe`;static INDEX_CREATE_URL=`${this.INDEX_PREFIX}/create`;static INDEX_BATCH_CREATE_URL=`${this.INDEX_PREFIX}/batch/create`;static INDEX_DROP_URL=`${this.INDEX_PREFIX}/drop`;static INDEX_ALERT_PROPERTIES_URL=`${this.INDEX_PREFIX}/alter_properties`;static INDEX_REMOVE_PROPERTIES_URL=`${this.INDEX_PREFIX}/remove_properties`;static getIndexes(e){let{clusterId:t,collectionName:n,databaseName:r}=e;return super.findAll({path:this.INDEX_DETAIL_URL,method:`post`,data:{instanceId:t,collectionName:n,databaseName:r}},`Indexs`)}static createIndex(e){return super.create({path:this.INDEX_CREATE_URL,data:e})}static batchCreateIndex(e){return super.create({path:this.INDEX_BATCH_CREATE_URL,data:e})}static dropIndex(e){return super.delete({path:this.INDEX_DROP_URL,data:{...e}})}static alterIndexProperties(e){return super.update({path:this.INDEX_ALERT_PROPERTIES_URL,data:e})}static removeIndexProperties(e){return super.update({path:this.INDEX_REMOVE_PROPERTIES_URL,data:e})}get _fieldName(){return w1(this.FieldName).baseName}get _structSchemaFieldName(){return w1(this.FieldName).innerName??``}get _indexName(){return this.IndexName}get _indexType(){return this.Params?.index_type||fe.UNKNOWN}get _indexParamPairs(){if(!this.Params)return[];let e=this.Params.hasOwnProperty(`metric_type`)?this.Params.metric_type:void 0,t=this.Params||{},n=e?[{key:`metric_type`,value:e}]:[];return[...Rs(t),...n]}get _enableMmap(){return this._indexParamPairs.find(e=>e.key===ul)?.value===`true`}get _indexMmapValue(){return this._indexParamPairs.find(e=>e.key===ul)?.value}get _indexStatus(){return this.Status}get _params(){return this.Params||{}}get _indexBuilderKey(){if(this._params?.build_level)return zs(Al,this._params?.build_level)}get _isDynamicField(){return this.IndexName.includes(xl)}},D1=function(e){return e.JsonPaths=`jsonPaths`,e.MmapSetting=`mmapSetting`,e.MetricType=`metricType`,e.IndexBuilder=`indexBuilder`,e.FieldName=`fieldName`,e}({}),O1=/^(.*?)\[(.*?)\]$/,k1=e=>{let t=e.match(O1);if(!t)return null;let[,n,r]=t;return!n||!r?null:{parentFieldName:n,childFieldName:r}},A1=(e,t)=>`${e}[${t}]`,j1={option:`_option_m83tg_3`,title:`_title_m83tg_1`,desc:`_desc_m83tg_1`,indexBuilderOption:`_indexBuilderOption_m83tg_7`,optionLabel:`_optionLabel_m83tg_12`,rotate:`_rotate_m83tg_1`},M1=e=>e._structSchemaFieldName?A1(e._fieldName,e._structSchemaFieldName):e._fieldName,N1=(e,t,n)=>n?e.filter(e=>e._indexName.includes(xl)):e.filter(e=>M1(e)===t),P1=e=>{let t=k1(e);return t?`${t.parentFieldName}_${t.childFieldName}`:`${e}_index`},F1=(e,t,n)=>{let r=N1(t,n);return{...e,FieldName:n,DataType:e._dataTypeValue,Index:!!r.length,_fieldType:e._fieldType,_rawMmapValue:e._rawMmapValue,_indexMmapValue:r?.[0]?._indexMmapValue,_indexName:e._dataTypeValue===V.JSON?void 0:r?.[0]?._indexName,[wl.JsonPaths]:z1(t,n)}},I1=(e,t)=>Gc(e._dataTypeValue)||e._structSchemas?.length?(e._structSchemas??[]).filter(e=>{let t=e._dataTypeValue;return t===void 0||!V1(t)?!1:hl.some(e=>e.value===t)}).map(n=>F1(n,t,A1(e._fieldName,n._fieldName))):[],L1=(e,t,n)=>{let r=k1(t);if(!r){e[t]=n;return}let{parentFieldName:i,childFieldName:a}=r;e[i]={...e[i],[a]:n}},R1=e=>{if(!e)return{[x1.CollectionMmap]:$.None,[x1.FieldMmap]:$.None};let t=JSON.parse(JSON.stringify(e))[x1.FieldMmap]??[],n=t.reduce((e,t)=>
49(L1(e,t.fieldName,{[S1.RawData]:t[S1.RawData]?.toString()??$.None,[S1.Index]:t[S1.Index]?.toString()??$.None}),e),{});return{[x1.CollectionMmap]:e[x1.CollectionMmap]?.toString()??$.None,[x1.FieldMmap]:t.length>0?$.Custom:$.None,...n}},z1=(e,t,n)=>N1(e,t,n).map(e=>{let n=Ps(e._params?.json_cast_type,bl,V,V.None);return{path:e._params?.json_path,type:n,indexMmap:e._params?.[`mmap.enabled`]||$.None,indexName:e._indexName,parentField:t}}),B1=e=>{let{collectionDetail:t,indexes:n=[]}=e,r=(t?._schemaFields??[]).flatMap(e=>[F1(e,n,e._fieldName),...I1(e,n)]),i={FieldName:xl,DataType:V.JSON,Index:!0,_fieldType:El.DynamicField,_rawMmapValue:void 0,_indexMmapValue:$.None,_indexName:void 0,[wl.JsonPaths]:z1(n,xl,!0)},a=[...r,i];return{fields:a,defaultValue:{collectionRawData:t?._mmapEnabled,fields:a.reduce((e,t)=>{let{_rawMmapValue:r,_indexMmapValue:i,DataType:a}=t,o=N1(n,t.FieldName),s=a===V.JSON;if(r!==void 0||i!==void 0){let n={fieldName:t.FieldName};if(r!==void 0&&(n.rawData=r===$.Enable),i!==void 0){if(s){let e=o.map(e=>e._indexMmapValue);if(!e.every(t=>t===e[0]))n.index=$.Custom;else switch(e[0]){case $.Enable:n.index=!0;break;case $.Disable:n.index=!1;break;case $.None:n.index=void 0;break;default:n.index=void 0}}else n.index=i===$.Enable;n.indexName=t._indexName??P1(t.FieldName)}e.push(n)}return e},[])}}},V1=e=>e===void 0?!1:![V.Geometry,V.TimeStamptz].includes(e),H1={title:`_title_h1fib_3`,link:`_link_h1fib_7`,content:`_content_h1fib_11`,card:`_card_h1fib_16`,label:`_label_h1fib_20`,select:`_select_h1fib_27`,gridContainer:`_gridContainer_h1fib_31`,fieldName:`_fieldName_h1fib_40`,innerText:`_innerText_h1fib_50`,item:`_item_h1fib_55`,customOption:`_customOption_h1fib_61`,rotate:`_rotate_h1fib_1`},U1=function(e){return e.Paths=`paths`,e.IndexMmap=`indexMmap`,e}({}),W1={root:`_root_lbb7i_3`,content:`_content_lbb7i_7`,title:`_title_lbb7i_14`,link:`_link_lbb7i_19`,gridContainer:`_gridContainer_lbb7i_28`,fieldName:`_fieldName_lbb7i_32`,innerText:`_innerText_lbb7i_38`,item:`_item_lbb7i_43`,cell:`_cell_lbb7i_47`,text:`_text_lbb7i_53`,grid:`_grid_lbb7i_28`,table:`_table_lbb7i_61`,tableHeader:`_tableHeader_lbb7i_67`,tableHeaderCell:`_tableHeaderCell_lbb7i_73`,tableBody:`_tableBody_lbb7i_80`,tableRow:`_tableRow_lbb7i_84`,pathCell:`_pathCell_lbb7i_91`,fieldIcon:`_fieldIcon_lbb7i_95`,pathInfo:`_pathInfo_lbb7i_100`,mmapCell:`_mmapCell_lbb7i_106`,select:`_select_lbb7i_110`,rotate:`_rotate_lbb7i_1`},G1=tu(e=>{let{jsonPaths:t=[],onSuccess:n,fieldName:r}=e,{t:i}=_([`collections`,`common`]),a=F(Fe),o=[{label:i(`collections:create.mmap.setting.option.none`),value:$.None},{label:i(`collections:create.mmap.setting.option.enable`),value:$.Enable},{label:i(`collections:create.mmap.setting.option.disable`),value:$.Disable}];return(0,G.jsx)(St,{type:j.Form,title:(0,G.jsxs)(`div`,{children:[(0,G.jsx)(`div`,{children:i(`collections:create.createIndex.mmapIndex.title`)}),(0,G.jsx)(L,{variant:`body2Regular`,component:`div`,mt:`8px`,children:(0,G.jsx)(d,{i18nKey:`collections:create.createIndex.mmapIndex.tips`,t:i,values:{fieldName:r},components:[(0,G.jsx)(`strong`,{})]})})]}),confirmLabel:i(`common:button.save`),handleConfirm:async e=>{n(e)},onClose:()=>{a(e=>({...e,open:!1}))},classes:{title:W1.title},isNestDialog:!0,children:(0,G.jsx)(`div`,{className:W1.content,children:(0,G.jsxs)(`div`,{className:W1.table,children:[(0,G.jsxs)(`div`,{className:W1.tableHeader,children:[(0,G.jsx)(`div`,{className:W1.tableHeaderCell,children:i(`collections:create.mmap.setting.grid.field`)}),(0,G.jsx)(`div`,{className:W1.tableHeaderCell,children:i(`collections:create.mmap.setting.grid.index`)})]}),(0,G.jsx)(`div`,{className:W1.tableBody,children:t.map((e,t)=>(0,G.jsxs)(`div`,{className:W1.tableRow,children:[(0,G.jsxs)(`div`,{className:W1.pathCell,children:[(0,G.jsx)(`div`,{className:W1.fieldIcon,children:(0,G.jsx)(mA,{fieldType:El.ScalarField})}),(0,G.jsxs)(`div`,{className:W1.pathInfo,children:[(0,G.jsx)(L,{variant:`body2Regular`,children:e.path}),(0,G.jsx)(L,{variant:`body3Regular`,color:`textSecondary`,children:Uc(e.type)})]})]}),(0,G.jsx)(`div`,{className:W1.mmapCell,children:(0,G.jsx)(Ne,{name:`${U1.Paths}.${t}.${U1.IndexMmap}`,componentProps:{size:`small`,options:o,classes:{root:W1.select}},defaultValue:e.indexMmap})})]},e.path))})]})})})},{nested:!0}),K1=e=>{let{isJsonField:t,formNames:n,isMmapSelectorDisabled:r,size:i=`small`}=e,{t:a}=_([`collections`,`common`]),o=Tr(),s=G1(),{setValue:c}=Re(),l=[{label:a(`collections:create.mmap.setting.option.none`),value:$.None},{label:a(`collections:create.mmap.setting.option.enable`),value:$.Enable},{label:a(`collections:create.mmap.setting.option.disable`),value:$.Disable}],u=(e,t)=>
49{let{isJsonField:n,jsonPaths:r,formNames:i,fieldName:a}=t;if(n)if(e===$.Custom)s.open({onSuccess:e=>{let t=r.map((t,n)=>({...t,indexMmap:e.paths?.[n]?.indexMmap}));c(i.jsonPaths,t),s.close()},jsonPaths:r,fieldName:a});else{let t=r.map(t=>({...t,indexMmap:e}));c(i.jsonPaths,t)}},d=t?[...l,{label:a(`collections:create.mmap.setting.option.custom`),value:$.Custom,handleClick:t=>{u($.Custom,e)}}]:l;return(0,G.jsx)(Ne,{name:n.select,componentProps:{options:d,disabled:r,placeholder:a(`common:tooltip.select`),sxProps:{sxMenu:{"& .MuiPaper-root":{"& .MuiButtonBase-root:last-child":{borderTop:t?`1px solid ${o.black.black4}`:`none`}}}},size:i},handleChange:t=>u(t,e),defaultValue:$.None})},q1=e=>{let{fields:t,isEditingMode:n=!1,defaultValue:r}=e,{t:i}=_([`common`,`collections`]),{getValues:a}=Re(),[o]=Ie({name:[x1.FieldMmap]}),s=o===$.Custom,c=wa(),{clusterId:u=``}=l(),{checkIsSupportCollectionProperties:d,checkIsSupportJsonPathIndex:f}=Fn(),p=(e,t)=>{let n=k1(e);return n?`${n.parentFieldName}.${n.childFieldName}.${t}`:`${e}.${t}`},m=(e,t)=>a(p(e,t)),h=d(u),g=f(u),v=[{label:i(`collections:create.mmap.setting.option.enable`),value:$.Enable,order:1},{label:i(`collections:create.mmap.setting.option.disable`),value:$.Disable,order:2},{label:i(`collections:create.mmap.setting.option.none`),value:$.None,order:0}],y=[{label:i(`collections:create.mmap.setting.option.none`),value:$.None},{label:i(`collections:create.mmap.setting.option.custom`),value:$.Custom,generateCustomEle:()=>(0,G.jsx)(ii,{disableRipple:!0,disableTouchRipple:!0,className:H1.customOption,value:$.Custom,children:i(`collections:create.mmap.setting.option.custom`)},$.Custom)}],b=[{field:`FieldName`,headerName:i(`collections:create.mmap.setting.grid.field`),renderCell:e=>{let{data:t}=e,n=t.FieldName===`$meta`?i(`collections:detail.schema.dynamicField`):t.FieldName;return(0,G.jsxs)(`div`,{className:H1.fieldName,children:[(0,G.jsx)(mA,{fieldType:t._fieldType}),(0,G.jsxs)(`div`,{className:H1.innerText,children:[(0,G.jsx)(Ur,{typographyProps:{variant:`body2Regular`,component:`div`},children:n}),t.FieldName!==`$meta`&&(0,G.jsx)(Ur,{typographyProps:{variant:`body4Regular`,component:`div`,mt:`2px`,color:c.black.black2},children:gl(t.DataType)})]})]})}},{field:`rawData`,headerName:i(`collections:create.mmap.setting.grid.raw`),renderCell:e=>{let{data:t}=e,a=t.FieldName===xl,o=(r?.fields??[]).find(e=>e.fieldName===t.FieldName)?.hasOwnProperty(`rawData`),s=n&&o,c=v.map(e=>e.value===$.None&&s?{...e,disabled:!0,tooltip:{title:i(`collections:detail.schema.mmapTips.noneOption`),placement:`left`,children:(0,G.jsx)(G.Fragment,{})}}:e);return(0,G.jsx)(ma,{tooltip:{title:a?i(`collections:create.mmap.setting.grid.disabledDynamicRowMmap`):void 0,placement:`bottom`},children:(0,G.jsx)(Ne,{name:p(t.FieldName,S1.RawData),componentProps:{size:`small`,options:c,classes:{root:H1.item},disabled:a},defaultValue:$.None})})}},{field:`index`,headerName:i(`collections:create.mmap.setting.grid.index`),renderCell:e=>{let{data:t}=e,n=t.DataType===V.JSON,r=!V1(t.DataType);if(Hc(t.DataType)||r)return(0,G.jsx)(ma,{tooltip:{title:i(r?`collections:create.mmap.setting.grid.disableMmap`:`collections:create.mmap.setting.grid.disabledTip`),placement:`top`},children:(0,G.jsx)(na,{value:$.None,options:[{label:i(`collections:create.mmap.setting.grid.disabledNone`),value:$.None}],disabled:!0,onChange:()=>{},size:`small`})});if(!t.Index||n&&!g)return(0,G.jsx)(L,{variant:`body2Regular`,color:c.black.black3,className:H1.item,children:i(`collections:create.mmap.setting.grid.noIndex`)});{let e=t[wl.JsonPaths]??[];return(0,G.jsx)(K1,{isJsonField:n,isMmapSelectorDisabled:!1,jsonPaths:m(t.FieldName,S1.Custom)||e,fieldName:t[wl.Name],formNames:{select:p(t.FieldName,S1.Index),jsonPaths:p(t.FieldName,S1.Custom)}})}}}],x=()=>{let e=n&&(r?.fields??[]).length>0,t=y.map(t=>t.value===$.None&&e?{...t,disabled:!0,tooltip:{title:i(`collections:detail.schema.mmapTips.noneOption`),placement:`left`,children:(0,G.jsx)(G.Fragment,{})}}:t);return(0,G.jsx)(Ne,{name:x1.FieldMmap,componentProps:{size:`small`,className:H1.select,options:t}})};return(0,G.jsxs)(`div`,{className:H1.content,children:[h&&(0,G.jsx)(`div`,{className:H1.card,children:(0,G.jsxs)(`div`,{className:H1.label,children:[(0,G.jsx)(L,{variant:`body2Medium`,children:i(`collections:create.mmap.setting.collectionLabel`)}),(0,G.jsx)(Ne,{name:x1.CollectionMmap,componentProps:{size:`small`,className:H1.select,options:[...v].sort((e,t)=>
49e.order-t.order)}})]})}),(0,G.jsxs)(`div`,{className:H1.card,children:[(0,G.jsxs)(`div`,{className:H1.label,children:[(0,G.jsx)(L,{variant:`body2Medium`,children:i(`collections:create.mmap.setting.fieldLabel`)}),x()]}),s&&(0,G.jsx)(`div`,{className:H1.gridContainer,children:(0,G.jsx)(oa,{columns:b,rows:t,withBorder:!1,pageSize:1e3,showPagination:!1,showRowHover:!1})})]})]})},J1=tu(e=>{let{t}=_([`common`,`collections`]),{fields:n,defaultValue:r,indexes:i=[],onSave:a}=e,{clusterId:o=``}=l(),{checkIsSupportFeature:s}=Fn(),c=s(o,Gs.StructScalarIndex),u=new Set(hl.map(e=>e.value)),f=n??[],p=e=>e===void 0||!V1(e)?!1:c&&u.has(e),m=new Set(f.map(e=>k1(e.FieldName??``)?.parentFieldName).filter(e=>!!e)),h=f.flatMap(e=>{let t=e._dataTypeValue??e.DataType,n=e.FieldName??e._fieldName,r=k1(n||``);if(!n)return[];if(r)return!c||!p(t)?[]:[{...e,FieldName:n}];let i=Array.isArray(e.structSchemas)&&e.structSchemas.length>0||Array.isArray(e._structSchemas)&&e._structSchemas.length>0;if(!Gc(t)&&!i)return[{...e,FieldName:n}];if(!c)return[];let a={...e,FieldName:n,DataType:t,Index:!1};if(m.has(n))return[a];let o=Array.isArray(e.structSchemas)?e.structSchemas:Array.isArray(e._structSchemas)?e._structSchemas:[],s=[];for(let e of o){let t=e._dataTypeValue??e.DataType;p(t)&&s.push(e)}return s.reduce((e,t)=>{let r=t.FieldName||t._fieldName,i=t._dataTypeValue??t.DataType;return!r||!i||e.push({...t,FieldName:A1(n,r),DataType:i}),e},[a])}),g=e=>e._structSchemaFieldName?A1(e._fieldName,e._structSchemaFieldName):e._fieldName,v=e=>{let t=k1(e);return t?`${t.parentFieldName}_${t.childFieldName}`:`${e}_index`},[y,b]=(0,W.useState)(!1);return(0,G.jsx)(St,{title:(0,G.jsxs)(`div`,{children:[(0,G.jsx)(`div`,{children:t(`collections:create.mmap.setting.title`)}),(0,G.jsx)(L,{variant:`body2Regular`,component:`div`,mt:`8px`,children:(0,G.jsx)(d,{t,i18nKey:`collections:create.mmap.setting.desc`,components:[(0,G.jsx)(`a`,{className:H1.link,href:mo})]})})]}),type:j.Form,confirmLabel:t(`common:button.save`),handleConfirm:async e=>{let t=t=>{let n=k1(t);if(!n)return e[t]??{};let r=e[n.parentFieldName];return!r||typeof r!=`object`?{}:r[n.childFieldName]??{}};try{b(!0);let n=e[x1.CollectionMmap],r=e[x1.FieldMmap],o={},s=[];if(n!==$.None&&(o[x1.CollectionMmap]=n===$.Enable),r!==$.None){let e=h.reduce((e,n)=>{let{FieldName:r,DataType:a}=n,o=a===V.JSON,c=t(r),l=c?.[S1.RawData],u=c?.[S1.Index],d=c?.[S1.Custom],f={};if((l===$.Enable||l===$.Disable)&&(f.fieldName=r,f[S1.RawData]=l===$.Enable),u===$.Enable||u===$.Disable||u===$.Custom){let e=i.find(e=>g(e)===r);f.fieldName=r,f.indexName=e?._indexName??v(r),f.dataType=a,f[S1.Index]=u===$.Custom?u:u===$.Enable,o&&s.push(...d??[])}return Object.keys(f).length>0&&e.push(f),e},[]);o[x1.FieldMmap]=e}await a?.(o,s)}finally{b(!1)}},confirmLoading:y,classes:{title:H1.title},useFormProps:{defaultValues:R1(r)},children:(0,G.jsx)(q1,{...e,fields:h})})},{size:`large`}),Y1=(e,t,n,r=!1)=>{let i=n&&r,a=n?[...nl,...i?$c:[]]:$c,o=n?[...tl,...i?ml:[]]:ml;switch(e){case V.SparseFloatVector:return t?pee:ol;case V.BinaryVector:return o;default:return a}},X1=e=>{let{vectorDataType:t,clusterId:n,isOutputField:r,isStructVectorField:i,classes:a={option:``,optionLabel:``,title:``,desc:``}}=e,{t:o}=_(`collections`),{clusterId:s}=l(),{checkIsSupportFeature:c}=Fn(),u=n||s;return Y1(t,r,i,!!i&&!!u&&c(u,Gs.StructSupportMoreVector)).map(e=>({value:e,generateCustomEle:()=>(0,G.jsxs)(ii,{disableRipple:!0,className:R(j1.option,a.option),value:e,children:[(0,G.jsx)(`div`,{className:R(j1.optionLabel,a.optionLabel),children:(0,G.jsx)(L,{variant:`body1Regular`,className:j1.title,children:o(`metric.${e}`)})}),(0,G.jsx)(L,{variant:`body3Regular`,className:R(j1.desc,a.desc),children:o(`metricDesc.${e}`)})]},e),label:o(`metric.${e}`)}))},Z1=()=>{let{t:e}=_([`collections`]);return[Al.BALANCED,Al.HIGH_CAPACITY,Al.HIGH_RECALL].map(t=>{let n=zs(Al,t);return{value:t,generateCustomEle:()=>(0,G.jsxs)(ii,{disableRipple:!0,className:R(j1.option,j1.indexBuilderOption),value:t,children:[(0,G.jsx)(`div`,{className:j1.optionLabel,children:(0,G.jsx)(L,{variant:`body1Regular`,className:j1.title,children:e(`collections:create.createIndex.indexBuilder.${n}.label`)})}),(0,G.jsx)(L,{variant:`body3Regular`,className:j1.desc,children:e(`collections:create.createIndex.indexBuilder.${n}.desc`)})]},t),label:e(`collections:create.createIndex.indexBuilder.${n}.label`)}})},Q1=()=>{let{clusterId:e=``,collectionName:t=``,databaseName:n=``}=l(),r=J1(),{checkIsSupportMmapSetting:i}=Fn(),a=i(e),{message:o}=Ga(),{t:s}=_([`collections`]),{data:c}=Hl({clusterId:e,collectionName:t,databaseName:n}),u=Vl(),d=Ml(),{updateMmapSettings:f}=Ol(),{data:p=[],isLoading:m}=jl({clusterId:e,collectionName:t,databaseName:n}),h=r=>{d.invalidateList({clusterId:e,collectionName:t,databaseName:n}
49),r||u.invalidateDetail({clusterId:e,collectionName:t,databaseName:n})};return{collectionDetail:c,indexes:p,openMmapSettingDialog:()=>{let{fields:i,defaultValue:a}=B1({collectionDetail:c,indexes:p});r.open({fields:i,defaultValue:a,isEditingMode:!0,indexes:p,onSave:async(i,a)=>{let c=(a||[]).map(e=>({fieldName:e.parentField,indexName:e.indexName,index:e.indexMmap===$.None?void 0:e.indexMmap===$.Enable})),l=[...i.fields?.filter(e=>e.dataType!==V.JSON)??[],...c];await f({instanceId:e,collectionName:t,databaseName:n,...i,fields:l}),h(),o.success({title:s(`collections:detail.mmap.updated.title`),message:s(`collections:detail.mmap.updated.message`)}),r.close()}})},isMmapSettingSupported:a,refreshData:h,isLoadingIndexes:m}},$1={withTips:`_withTips_101mp_3`,solid:`_solid_101mp_8`,title:`_title_101mp_13`,wrapper:`_wrapper_101mp_17`,rotate:`_rotate_101mp_1`},e0=e=>{let{className:t,variant:n,tips:r,children:i,placement:a=`top`,tipsIcon:o,classes:s,borderStyle:c=`dashed`}=e,l=!!r,u=()=>{let e=R(s?.title,$1.title,{[$1.withTips]:l,[$1[c]]:c});return(0,G.jsx)(L,{variant:n,className:e,children:i})},d=()=>!l||!o?null:(0,G.jsx)(ma,{tooltip:{title:r,placement:a},children:o}),f=R($1.wrapper,t);return l?o?(0,G.jsxs)(`div`,{className:f,children:[u(),d()]}):(0,G.jsx)(`div`,{className:f,children:(0,G.jsx)(ma,{tooltip:{title:r,placement:a},children:u()})}):(0,G.jsx)(`div`,{className:f,children:u()})},t0={popoverPaper:`_popoverPaper_xjrl0_3`,content:`_content_xjrl0_10`,menu:`_menu_xjrl0_16`,menuContent:`_menuContent_xjrl0_25`,tips:`_tips_xjrl0_30`,tipsContent:`_tipsContent_xjrl0_38`,title:`_title_xjrl0_44`,rotate:`_rotate_xjrl0_1`},n0=e=>{let[t,n]=(0,W.useState)(null),[r,i]=(0,W.useState)(!1),a=e.open!==void 0,o=a?!!e.open:r,s=t=>{n(t.currentTarget),a||i(!0),e.onOpenChange?.(!0)},c=()=>{n(null),a||i(!1),e.onOpenChange?.(!1)},l=()=>{let t={open:o},n=typeof e.trigger==`function`?e.trigger(t):e.trigger;return(0,G.jsx)(`div`,{onClick:s,children:n})},u=e=>e?(0,G.jsx)(L,{className:t0.title,variant:`body3Regular`,children:e}):null;return(0,G.jsxs)(G.Fragment,{children:[l(),(0,G.jsx)(Ui,{open:o,anchorEl:t,onClose:c,classes:{paper:t0.popoverPaper},children:(0,G.jsxs)(`div`,{className:t0.content,children:[(0,G.jsxs)(`div`,{className:t0.menu,children:[u(e.menuTitle),(0,G.jsx)(`div`,{className:t0.menuContent,children:e.children})]}),e.tips&&(0,G.jsxs)(`div`,{className:t0.tips,children:[u(e.tipsTitle),(0,G.jsx)(L,{className:t0.tipsContent,variant:`body3Regular`,children:e.tips})]})]})})]})},r0={line:`_line_1axwy_3`,deleteBtn:`_deleteBtn_1axwy_7`,input:`_input_1axwy_12`,arrow:`_arrow_1axwy_16`,wrapper:`_wrapper_1axwy_22`,typeItem:`_typeItem_1axwy_36`,noType:`_noType_1axwy_42`,dropdownTrigger:`_dropdownTrigger_1axwy_47`,error:`_error_1axwy_49`,tipsDesc:`_tipsDesc_1axwy_54`,rotate:`_rotate_1axwy_1`},i0=[{label:bl.Bool,value:V.Bool},{label:bl.Double,value:V.Double},{label:bl.VarChar,value:V.VarChar},{label:bl.ARRAY_BOOL,value:V.ARRAY_BOOL},{label:bl.ARRAY_DOUBLE,value:V.ARRAY_DOUBLE},{label:bl.ARRAY_VARCHAR,value:V.ARRAY_VARCHAR}],a0=({index:e,onDelete:t,formPrefix:n,disableDelete:r,isDynamic:i})=>{let{t:a}=_([`collections`,`common`]),{getValues:o}=Re(),{getRequiredRule:s}=P$(),[c,l]=(0,W.useState)(!1),u=wa(),{checkIsSupportFeature2_6:f}=Fn(),p=f()?[...i0,{label:bl.JSON,value:V.JSON}]:i0,m=t=>(o(n)||[]).find((n,r)=>r!==e&&n.path===t)?a(`collections:create.createIndex.jsonPath.duplicatePath`):!0,h=(e,t)=>{let n=t?u.blue.blue1:u.black.black1;return(0,G.jsx)(`div`,{className:r0.wrapper,children:(0,G.jsx)(L,{variant:`body2Medium`,color:n,children:e.label})},e.value)},g=(e,t)=>{let n=p.find(t=>t.value===e);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(it,{open:c,value:n?(0,G.jsx)(L,{variant:`body2Regular`,color:u.black.black1,children:n.label}):null,placeholder:a(`collections:create.createIndex.jsonPath.typePlaceholder`),className:R(r0.dropdownTrigger,{[r0.error]:!!t?.message})}),t&&(0,G.jsx)(L,{variant:`body3Regular`,color:u.red.red1,children:t.message})]})};return(0,G.jsxs)(`div`,{className:r0.line,children:[(0,G.jsx)(E,{name:`${n}.${e}.path`,componentProps:{wrapperClassName:r0.input,fullWidth:!0,placeholder:a(i?`collections:create.createIndex.jsonPath.dynamicPlaceholder`:`collections:create.createIndex.jsonPath.jsonPlaceholder`)},rules:{...s(a(`collections:create.createIndex.jsonPath.title`)),validate:m}}
49),(0,G.jsx)(ga,{className:r0.arrow}),(0,G.jsx)(_e,{name:`${n}.${e}.type`,rules:{...s(a(`collections:create.createIndex.jsonPath.typePlaceholder`))},render:({field:{onChange:e,value:t},fieldState:{error:n}})=>(0,G.jsx)(n0,{trigger:g(t,n),menuTitle:a(`collections:create.createIndex.jsonCastType.title`),tipsTitle:a(`collections:create.createIndex.jsonCastType.tipsTitle`),tips:(0,G.jsx)(d,{i18nKey:`collections:create.createIndex.jsonCastType.tipsDesc`,t:a,components:[(0,G.jsx)(`div`,{className:r0.tipsDesc})]}),onOpenChange:l,open:c,children:(0,G.jsx)(`div`,{children:p.map(n=>(0,G.jsx)(`div`,{onClick:()=>{e(n.value),l(!1)},children:h(n,n.value===t)},n.value))})})}),(0,G.jsx)(fr,{onClick:()=>t(e),size:`small`,className:r0.deleteBtn,disabled:r,tooltip:r?{title:a(`collections:create.createIndex.jsonPath.cannotDeleteLastLine`),placement:`top`}:void 0,children:(0,G.jsx)(ci,{})})]})},o0={panel:`_panel_1jj0q_1`,content:`_content_1jj0q_7`,addBtn:`_addBtn_1jj0q_13`},s0=({formName:e,isDynamic:t})=>{let{t:n}=_([`collections`,`common`]),{control:r}=Re(),{fields:i,append:a,remove:o}=ln({control:r,name:e}),{watch:s}=Re(),[c]=s([D1.MmapSetting]);(0,W.useEffect)(()=>{i.length===0&&l()},[]);let l=()=>{let e=$.None;switch(c){case $.Enable:e=$.Enable;break;case $.Disable:e=$.Disable;break;default:e=$.None;break}a({path:``,type:void 0,indexMmap:e})},u=e=>{o(e)};return(0,G.jsxs)(`div`,{className:o0.panel,children:[(0,G.jsx)(e0,{variant:`h4Medium`,tips:(0,G.jsx)(d,{i18nKey:`collections:create.createIndex.jsonPath.tips`,t:n,components:[(0,G.jsx)(`a`,{href:ts,target:`_blank`,className:o0.link})]}),children:n(`collections:create.createIndex.jsonPath.title`)}),(0,G.jsxs)(`div`,{className:o0.content,children:[i.map((n,r)=>(0,G.jsx)(a0,{index:r,onDelete:u,formPrefix:e,disableDelete:i.length===1,isDynamic:t},n.id)),(0,G.jsx)(z,{size:`small`,variant:`outlined`,onClick:l,className:o0.addBtn,startIcon:(0,G.jsx)(Sa,{}),children:n(`collections:create.createIndex.jsonPath.addPath`)})]})]})},c0={root:`_root_m6dvn_3`,label:`_label_m6dvn_7`,selectContainer:`_selectContainer_m6dvn_12`,rotate:`_rotate_m6dvn_1`},l0=e=>{let{index:t=0,formItemName:n=``,fullWidth:r,classes:i={root:``,label:``},selectorProps:a}=e,o=n||`${Cl.FieldTypes}.${t}.${wl.TypeParams}.${Tl.IndexBuilder}`,s=Z1();return(0,G.jsx)(Ne,{name:o,componentProps:{options:s,classes:{root:R(c0.root,i.root),label:R(c0.label,i.label),container:c0.selectContainer},fullWidth:r,renderValue:e=>{let t=s.find(t=>t.value===e)?.label;return(0,G.jsx)(G.Fragment,{children:t})},...a},rules:{required:!0}})},u0={fieldName:`_fieldName_j11rk_3`,metricTypeSelect:`_metricTypeSelect_j11rk_14`,metricTypeTitle:`_metricTypeTitle_j11rk_18`,link:`_link_j11rk_21`,rotate:`_rotate_j11rk_1`},d0={root:`_root_1x44g_3`,label:`_label_1x44g_6`,selectContainer:`_selectContainer_1x44g_10`,popper:`_popper_1x44g_15`,rotate:`_rotate_1x44g_1`},f0=e=>{let{defaultDataType:t=V.FloatVector,clusterId:n,index:r=0,formItemName:i=``,label:a,fullWidth:o,classes:s={root:``,label:``},selectorProps:c,isOutputField:l=!1,isStructVectorField:u=!1}=e,d=i||`${Cl.FieldTypes}.${r}.${wl.TypeParams}.${Tl.MetricType}`,f=X1({vectorDataType:t,clusterId:n,isOutputField:l,isStructVectorField:u});return(0,G.jsx)(Ne,{name:d,componentProps:{options:f,classes:{root:R(d0.root,s.root),label:R(d0.label,s.label)},fullWidth:o,size:`small`,renderValue:e=>{let t=f.find(t=>t.value===e)?.label;return(0,G.jsx)(G.Fragment,{children:t})},...c},rules:{required:!0}})},p0=({componentProps:e={},handleChange:t,defaultValue:n,...r})=>{let{control:i}=Re();return(0,G.jsx)(_e,{control:i,defaultValue:n,...r,render:({field:n})=>(0,G.jsx)(Pr,{...n,checked:n.value,ref:n.ref,onChange:e=>{let{target:{checked:r}}=e;n.onChange(r),t&&t(r)},...e})})},m0=e=>`_dataTypeValue`in e?e._dataTypeValue:e.DataType,h0=e=>{let t=`_fieldName`in e?e._fieldName:e.FieldName;if(!t)return``;let n=`_structFieldName`in e?e._structFieldName:void 0;return n?`${n}.${t}`:t},g0=e=>{let t=m0(e);return t?Hc(t):!1},_0=e=>!!(`_structFieldName`in e&&e._structFieldName),v0=(e,t)=>{let n=h0(e);return n?`${n}.${t}`:``},y0=(e,t)=>typeof t==`function`?t(e):!!t,b0=(e,t)=>typeof t==`function`?t(e):!!t,x0=(e,t)=>typeof t==`function`?t(e):!!t,S0=e=>{let{data:t,clusterId:n,emptyText:r,selectable:i=!1,showMmapSelect:a,mmapSelectFieldName:o=D1.MmapSetting,mmapSelectDisabled:s=!1,tableProps:c}=e,{t:l}=_([`collections`]),{checkIsSupportFeature2_6:u}=Fn(),f=e=>{let t=e.data,n=g0(t)?(0,G.jsx)(Fi,{size:14}):(0,G.jsx)(si,{size:14});return(0,G.jsxs)(`div`,{className:u0.fieldName,children:[n,h0(t)]})},p=t.some(e=>b0(e,a)),m=[{field:`checkbox`,headerName:``,hide:!(typeof i==`function`||typeof i==`boolean`&&i),renderCell:e=>{let t=e.data;return y0(t,i)?(0,G.jsx)(p0,{name:v0(t,`index`)}):null}},{field:`FieldName`,headerName:l(`collections:create.schema.fieldName`),renderCell:f},{field:`DataType`,headerName:l(`collections:create.schema.fieldType`),renderCell:e=>{let t=m0(e.data);if(Array.isArray(t)){let[e,n]=t;return`${Uc(e)} / ${Uc(n)}`}return Uc(t)}},{field:`metric_type`,headerName:(0,G.jsx)(RY,{text:l(`collections:create.createIndex.vector.dialog.metricType.name`),tip:(0,G.jsx)(d,{t:l,i18nKey:`collections:create.createIndex.vector.dialog.metricType.tips`,components:[(0,G.jsx)(`a`,{href:ms,target:`_blank`,className:u0.link},`link`)]}),variant:`h4Medium`,needIcon:!0}),renderCell:e=>{let t=e.data;if(!g0(t))return(0,G.jsx)(G.Fragment,{children:fe.UNKNOWN});let r=m0(t),i=v0(t,Tl.MetricType),a=`_isOutputField`in t&&t._isOutputField;return(0,G.jsx)(f0,{formItemName:i,clusterId:n,defaultDataType:r,isStructVectorField:_0(t),selectorProps:{size:`medium`,className:u0.metricTypeSelect},isOutputField:a})}},{field:`mmap_setting`,headerName:l(`collections:create.mmap.setting.title`),hide:!p,renderCell:e=>{let t=e.data;if(!V1(m0(t))||!b0(t,a))return(0,G.jsx)(G.Fragment,{children:fe.UNKNOWN});let n=v0(t,o);return(0,G.jsx)(K1,{isJsonField:!1,isMmapSelectorDisabled:x0(t,s),jsonPaths:[],fieldName:h0(t),formNames:{select:n,jsonPaths:D1.JsonPaths}})}},{field:`index_builder`,headerName:(0,G.jsx)(RY,{text:l(`collections:create.createIndex.vector.dialog.indexBuildLevel.title`),tip:l(`collections:create.createIndex.vector.dialog.indexBuildLevel.tips`),variant:`h4Medium`,needIcon:!0}),hide:!u(),renderCell:e=>{let t=e.data;if(!g0(t))return(0,G.jsx)(G.Fragment,{children:fe.UNKNOWN});let n=v0(t,Tl.IndexBuilder),r=m0(t);return typeof r==`number`&&sl.includes(r)?(0,G.jsx)(l0,{formItemName:n}):(0,G.jsx)(G.Fragment,{children:fe.UNKNOWN})}}].filter(e=>e.hide!==!0);return(0,G.jsx)(oa,{classes:{tableContainer:u0.list},withBorder:!1,columns:m,rows:t,renderEmptyState:()=>(0,G.jsx)(`div`,{className:u0.emptyText,children:r}),...c})},C0=new Set(hl.map(e=>e.value)),w0=e=>{if(`_dataTypeValue`in e&&typeof e._dataTypeValue==`number`)return e._dataTypeValue;if(`DataType`in e&&typeof e.DataType==`number`)return e.DataType},T0=()=>{let{t:e}=_([`collections`]);return(0,G.jsx)(RY,{text:e(`collections:create.schema.metricType`),tip:(0,G.jsx)(d,{t:e,i18nKey:`collections:create.createIndex.vector.dialog.metricType.tips`,components:[(0,G.jsx)(`a`,{href:ms,target:`_blank`,className:C1.link},`link`)]}),variant:`h4Medium`})},E0=e=>{let{t}
49=_([`common`]),{dataType:n,clusterId:r,isOutputField:i,isStructVectorField:a,classes:o={option:``}}=e,s=X1({vectorDataType:n,clusterId:r,isOutputField:i,isStructVectorField:a,classes:{option:o.option}});return(0,G.jsxs)(`div`,{className:C1.metricTypeSelect,children:[(0,G.jsx)(T0,{}),(0,G.jsx)(Ne,{name:D1.MetricType,componentProps:{options:s,placeholder:t(`common:tooltip.select`),renderValue:e=>{let t=s.find(t=>t.value===e)?.label;return(0,G.jsx)(G.Fragment,{children:t})}}})]})},D0=(e,t)=>(0,G.jsxs)(`div`,{className:R(C1.fieldOption,{[C1.selected]:t}),children:[(0,G.jsx)(mA,{fieldType:e._fieldType,enableAutoId:e._autoId}),(0,G.jsx)(Ur,{typographyProps:{className:C1.fieldName,variant:`body2Medium`},children:e._fieldName}),(0,G.jsx)(L,{variant:`body3Regular`,className:C1.fieldType,children:e._dataTypeWithParam})]}),O0=e=>{let{clusterId:t=``,fields:n,structArrayIndexes:r,isExternal:i,isSupportStructScalarIndex:a=!1,isOptimizedTypes:o=!1}=e,{t:s}=_([`collections`,`common`]),{checkIsSupportFeature:c,checkIsSupportFeature2_6:l}=Fn(),u=c(t,Gs.MmapScalarIndex),{watch:f}=Re(),[p,m]=f([D1.FieldName,D1.JsonPaths]),h=n.find(e=>e._fieldName===p),g=h?._dataTypeValue,v=h?._isFunctionOutputField,y=!!h?._structFieldName,b=Hc(g),x=g===V.JSON,S=u&&!i&&p&&!y&&V1(g),C=b,w=l(t),T=()=>!g||!b?null:(0,G.jsx)(E0,{dataType:g,clusterId:t,isOutputField:v,isStructVectorField:y,classes:{option:C1.metricTypeOption}}),E=()=>
49{if(!y)return null;let e=(h?._structSchemas||[]).filter(e=>{let t=h?._fieldName;return r?.some(n=>n._fieldName===t&&n._structSchemaFieldName===e._fieldName)?!1:Hc(e._dataTypeValue)?!0:a&&C0.has(e._dataTypeValue)}).map(e=>({...e,_structFieldName:h?._fieldName}));return e.length===0?null:(0,G.jsxs)(`div`,{className:C1.structVectorFields,children:[(0,G.jsx)(T0,{}),(0,G.jsx)(S0,{data:e,clusterId:t,selectable:e=>{let t=w0(e);return a&&!Hc(t)},showMmapSelect:e=>{let t=w0(e);return!i&&a&&!Hc(t)&&V1(t)},mmapSelectDisabled:e=>Hc(w0(e))||!a||!o,tableProps:{withBorder:!0,classes:{tableContainer:C1.structVectorsTable}}})]})},D=()=>!g||!sl.includes(g)||!w?null:(0,G.jsx)(l0,{formItemName:D1.IndexBuilder,selectorProps:{label:(0,G.jsx)(RY,{text:s(`collections:create.createIndex.vector.dialog.indexBuildLevel.title`),tip:s(`collections:create.createIndex.vector.dialog.indexBuildLevel.tips`),variant:`h4Medium`})}}),O=()=>x?(0,G.jsx)(s0,{formName:D1.JsonPaths,isDynamic:h?._fieldType===El.DynamicField}):null,k=(0,W.useMemo)(()=>n.map(e=>({label:e._fieldName,value:e._fieldName,generateCustomEle:()=>(0,G.jsx)(ii,{disableRipple:!0,value:e._fieldName,classes:{selected:C1.selectedOption},children:D0(e,e._fieldName===p)},e._fieldName)})),[p,n]);return(0,G.jsxs)(`div`,{className:C1.content,children:[(0,G.jsx)(Ne,{name:D1.FieldName,componentProps:{label:s(`collections:detail.index.field`),options:k,renderValue:e=>{let t=n.find(t=>t._fieldName===e);return t?D0(t,!1):null},MenuProps:{PaperProps:{sx:{maxHeight:300}}}}}),T(),D(),E(),O(),S&&(0,G.jsxs)(`div`,{className:C1.mmapSelect,children:[(0,G.jsx)(e0,{variant:`h4Medium`,tips:(0,G.jsx)(d,{i18nKey:`collections:create.mmap.setting.desc`,t:s,components:[(0,G.jsx)(`a`,{className:C1.link,href:mo,target:`_blank`})]}),className:C1.mmapTitle,children:s(`collections:create.mmap.setting.title`)}),(0,G.jsx)(K1,{isJsonField:x,isMmapSelectorDisabled:C,jsonPaths:m,fieldName:p,formNames:{select:D1.MmapSetting,jsonPaths:D1.JsonPaths},size:`medium`})]})]})},k0=new Set(hl.map(e=>e.value)),A0=({schemaFields:e,indexes:t,enableDynamic:n,isExternal:r,isSupportJsonPathIndex:i,isSupportStructScalarIndex:a=!1,dynamicFieldName:o})=>{let s=e.reduce((e,n)=>{let r=n._dataTypeValue===V.JSON,o=!!n._structFieldName;if(r&&!i||n._dataTypeValue===V.Text)return e;if(o){let r=n._structSchemas?.filter(e=>Hc(e._dataTypeValue))??[],i=n._structSchemas?.filter(e=>e._dataTypeValue!==V.Text&&k0.has(e._dataTypeValue))??[],o=r.some(e=>!t.some(t=>t._fieldName===n._fieldName&&t._structSchemaFieldName===e._fieldName)),s=a?i.filter(e=>!t.some(t=>t._fieldName===n._fieldName&&t._structSchemaFieldName===e._fieldName)):[];return(o||s.length>0)&&e.push(n),e}return!n._primaryKey&&!t.some(e=>e._fieldName===n._fieldName&&n._dataTypeValue!==V.JSON&&!e._structSchemaFieldName)&&e.push(n),e},[]);return n&&i&&!r&&s.push({_fieldName:o,_dataType:`JSON`,_dataTypeValue:V.JSON,_fieldType:El.DynamicField}),s},j0=(e,t)=>{if(t)return`${e}_${t}`;let n=k1(e);return n?`${n.parentFieldName}_${n.childFieldName}`:e},M0=e=>e===$.None?void 0:e,N0=(e,t)=>t.isSupportMmapScalarIndex&&!t.isExternal&&!e.isVectorField&&t.isOptimizedTypes,P0=(e,t)=>t.isSupportIndexBuilder&&e.dataType&&sl.includes(e.dataType),F0=(e,t,n)=>{let r={};return N0(e,n)&&(r[ul]=M0(t[D1.MmapSetting])),P0(e,n)&&(r[el]=t[D1.IndexBuilder]),r},I0=(e,t,n)=>{let r=F0(e,t,n);return[{fieldName:e.fieldName,indexName:e.indexName??j0(e.fieldName),indexType:cl,metricType:t[D1.MetricType],indexParam:JSON.stringify(r)}]},L0=(e,t,n)=>t[D1.JsonPaths].map(t=>{let r={json_path:t.path,json_cast_type:gl(t.type)};return N0(e,n)&&(r[ul]=M0(t.indexMmap)),{fieldName:e.fieldName,indexType:cl,indexParam:JSON.stringify(r)}}),R0=e=>{let t={};return e.index_builder&&(t[el]=e.index_builder),t},z0=(e,t,n)=>{let r={};if(n.isSupportStructScalarIndex&&!n.isExternal&&!e.isVectorField&&n.isOptimizedTypes){let e=t?.mmapSetting;e!==void 0&&(r[ul]=M0(e))}return r},B0=e=>R0(e||{}),V0={json:L0,structArray:(e,t,n)=>{let r=e.fieldName,i=t[r]??{};return(e.target?._structSchemas??[]).filter(t=>{let r=Hc(t._dataTypeValue);return e.existingStructIndexes?.some(n=>n._fieldName===e.fieldName&&n._structSchemaFieldName===t._fieldName)?!1:r?!0:!n.isSupportStructScalarIndex||!k0.has(t._dataTypeValue)?!1:i?.[t._fieldName]?.index===!0}).map(t=>{let a=t._fieldName,o=A1(r,a),s=Hc(t._dataTypeValue),c=i?.[a];return s?{fieldName:o,indexName:j0(r,a),indexType:cl,metricType:c?.metric_type,indexParam:JSON.stringify(B0(c))}:{fieldName:o,indexName:j0(r,a),indexType:cl,indexParam:JSON.stringify(z0(e,c,n))}})},normal:I0},H0=(e,t,n)=>V0[e.fieldType](e,t,n),U0=tu(e=>{let{clusterId:t=``,collectionName:n=``,databaseName:r=``,schemaFields:i,indexes:a,onSuccess:o}=e,{t:s}=_([`collections`,`common`]),[c,l]=(0,W.useState)(!1),{checkIsSupportFeature:u,getCurrentCluster:f,checkIsSupportJsonPathIndex:p,checkIsSupportFeature2_6:m}=Fn(),h=u(t,Gs.MmapScalarIndex),g=u(t,Gs.StructScalarIndex),{message:v}=Ga(),y=f(t),b=p(t),x=m(t),S=[no.Capacity,no.Performance].includes(y?._classType),{data:C}=za(a?null:[E1.INDEX_DETAIL_URL,t,n,r],()=>E1.getIndexes({clusterId:t,collectionName:n,databaseName:r})),{data:{_schemaFields:w=[],_enableDynamic:T,_isExternal:E=!1}={}}=Hl({clusterId:t,collectionName:n,databaseName:r}),D=a??C??[],O=i??w??[],k=(0,W.useMemo)(()=>A0({schemaFields:O,indexes:D,enableDynamic:T,isExternal:E,isSupportJsonPathIndex:b,isSupportStructScalarIndex:g,dynamicFieldName:s(`collections:create.dynamic.title`)}),[O,D,T,E,b,g,s]),A=D.filter(e=>!!e._structSchemaFieldName),ee=(e,t)=>
49e===V.JSON?`json`:t?._structFieldName?`structArray`:`normal`,te=(e,t)=>{let n=k.find(t=>t._fieldName===e),r=n?._dataTypeValue,i=ee(r,n),a=t.filter(t=>t._fieldName===e&&!!t._structSchemaFieldName);return{target:n,dataType:r,fieldName:e,indexName:j0(e),fieldType:i,existingStructIndexes:a,isVectorField:Hc(r)}};return(0,G.jsxs)(St,{type:j.Form,title:s(`collections:create.createIndex.title`),confirmLabel:s(`common:button.create`),handleConfirm:async e=>{l(!0);try{let i=te(e[D1.FieldName],D),a=H0(i,e,{isSupportMmapScalarIndex:h,isSupportStructScalarIndex:g,isSupportIndexBuilder:x,isOptimizedTypes:S,isExternal:E}),c={collectionName:n,instanceId:t,databaseName:r,indexes:a};await E1.batchCreateIndex(c),v.success({title:s(`collections:create.index.success.title`),message:s(`collections:create.index.success.message`,{name:i.fieldName})}),o()}finally{l(!1)}},confirmLoading:c,useFormProps:{defaultValues:{[D1.JsonPaths]:[],[D1.MmapSetting]:$.None,[D1.IndexBuilder]:Al.BALANCED}},isAlwaysAllowed:!0,children:[(0,G.jsx)(ni,{children:(0,G.jsx)(d,{i18nKey:`collections:detail.index.createAlert`,t:s,components:[(0,G.jsx)(`a`,{className:C1.link,href:rs,target:`_blank`})]})}),(0,G.jsx)(O0,{...e,fields:k,structArrayIndexes:A,isExternal:E,isSupportStructScalarIndex:g,isOptimizedTypes:S})]})},{size:`large`}),W0={messageTitle:`_messageTitle_1nby4_3`,rotate:`_rotate_1nby4_1`},G0=e=>{let{clusterId:t=``,collectionName:n=``,databaseName:r=``,isExternal:i=!1,enabled:a=!0}=e,{orgId:o=``,projectId:s=``}=l(),{t:c}=_([`collections`,`project`,`common`]),{clusterList:f}=Fn(),m=GZ(t),h=WZ(t)===`project-database`,{data:g=[]}=Ll({clusterId:t,databaseName:r,enabled:a}),{message:v}=Ga(),{setDialog:y}=re(),b=u(),{pathname:x}=p(),S=x.includes(`/on-demand/`)?`on-demand/clusters`:`clusters`,{clusterMatrix:C}=Sc(),w=U0(),{mutate:T}=Ba(),E=Vl(),[D,O]=(0,W.useState)(``),{isAllowCollectionWrite:k,isAllowImport:A,isAllowCopyWithData:ee,isAllowCreateBackup:j}=(0,W.useMemo)(()=>{if(m)return{isAllowCollectionWrite:!0,isAllowImport:!0,isAllowCopyWithData:!0,isAllowCreateBackup:!1};let e=f.find(e=>e._instanceId===t),n=xc(C,e?._instanceType,e?._globalClusterRole);if(!e||!n)return{isAllowCollectionWrite:!1,isAllowImport:!1,isAllowCopyWithData:!1,isAllowCreateBackup:!1};let r=Kc(n,e._instanceOriginStatusName),i=Zc(n,e._instanceOriginStatusName);return{isAllowCollectionWrite:r,isAllowImport:i.includes(Xc.IMPORT),isAllowCopyWithData:i.includes(Xc.COPY_COLLECTION_WITH_DATA),isAllowCreateBackup:i.includes(Xc.CREATE_BACKUP)}},[m,C,f,t]),{isStarter:te,isServerless:ne,clusterInfo:ie,collectionCount:M}=(0,W.useMemo)(()=>{let e=f.find(e=>e._instanceId===t)||nQ;return{clusterName:e?._instanceName||``,cloudProvider:e?._cloudId||P.EMPTY,isStarter:e?._instanceType===Hs.Starter,isServerless:e._instanceType===Hs.Serverless,clusterInfo:e,collectionCount:g.length}},[g,t,f,n,r,k]);return{handleLoadOrReleaseCollection:async(e,i)=>{let a=i?.clusterId??t,o=i?.collectionName??n,s=i?.databaseName??r;await(e?aQ.releaseCollection.bind(aQ):aQ.loadCollection.bind(aQ))({clusterId:a,collectionName:o,databaseName:s}),e&&v.success({title:(0,G.jsx)(L,{variant:`body1Regular`,className:W0.messageTitle,children:c(`collections:list.releaseSuccessTitle`)}),message:(0,G.jsx)(L,{children:(0,G.jsx)(d,{i18nKey:`collections:list.releaseSuccess`,t:c,values:{collectionName:o},components:[(0,G.jsx)(`strong`,{})]})})}),E.invalidateLists(),E.invalidateAll()},handleDelete:e=>{let a=e?.clusterId??t,c=e?.collectionName??n,l=e?.databaseName??r,u=e?.isExternal??i;y({open:!0,children:(0,G.jsx)(c1,{clusterId:a,collectionName:c,isExternal:u,onDeleteStart:()=>{O(c)},onDeleteEnd:()=>{O(``)},onConfirmCallback:()=>{let e=S===`on-demand/clusters`?`/orgs/${o}/projects/${s}/on-demand/clusters/${a}/databases/${l}`:`/orgs/${o}/projects/${s}/clusters/${a}/collections?${Sl}=${l}`;b(e)},databaseName:l})})},handleTruncate:e=>{let i=e?.clusterId??t,a=e?.collectionName??n,o=e?.databaseName??r;y({open:!0,children:(0,G.jsx)(l1,{clusterId:i,collectionName:a,databaseName:o})})},handleRename:e=>{let i=e?.clusterId??t,a=e?.collectionName??n,o=e?.databaseName??r;y({open:!0,children:(0,G.jsx)(b1,{oldCollectionName:a,databaseName:o,isCollectionList:!1,clusterId:i})})},handleCopy:e=>{let i=e?.clusterId??t,a=e?.collectionName??n,o=e?.databaseName??r;y({open:!0,size:`large`,children:(0,G.jsx)(o1,{collectionName:a,databaseName:o,clusterId:i})})},handleCopyFromSchema:e=>{let i=e?.clusterId??t,a=e?.collectionName??n,c=e?.databaseName??r;b(`/orgs/${o}/projects/${s}/${S}/${i}/create/collection?${Sl}=${c}&${al}=${a}`)},handleMove:e=>{let i=e?.clusterId??t,a=e?.collectionName??n,o=e?.databaseName??r;y({open:!0,children:(0,G.jsx)(v1,{databaseName:o,collectionName:a,clusterId:i})})},handleCreateSnapshot:e=>{let t=e?.collectionName??n,i=e?.databaseName??r;y({open:!0,children:(0,G.jsx)($$,{collectionName:t,defaultDatabaseName:i}),size:`large`})},handleCreateIndex:e=>{let i=e?.clusterId??t,a=e?.collectionName??n,o=e?.databaseName??r;w.open({clusterId:i,collectionName:a,databaseName:o,onSuccess:()=>{w.close(),T([E1.INDEX_DETAIL_URL,i,a,o])}})},isStarter:te,isServerless:ne,clusterInfo:ie,collectionCount:M,isAllowCollectionWrite:k,isAllowImport:A,isAllowCopyWithData:ee,
49isAllowCreateBackup:j,isProjectDatabaseCluster:h,collectionName:n,databaseName:r,deletingCollectionName:D}};(class extends eo{cluster=[];volume=[];role;projects;_clusterGroups=[];_volumeGroups=[];_includeAllClusters=!1;_includeAllVolumes=!1;static PROJECT_ACCESS_SUMMARY_URL=`${this.CLOUD_PREFIX}/prj/member/access_summary`;static ORG_ACCESS_SUMMARY_URL=`${this.CLOUD_PREFIX}/org/member/access_summary`;constructor(e){super(e),e.summaries&&(this.cluster=e.summaries.cluster||[],this.volume=e.summaries.volume||[]),e.role!==void 0&&(this.role=e.role),e.projects!==void 0&&(this.projects=e.projects),this._clusterGroups=this._computeResourceGroups(this.cluster),this._volumeGroups=this._computeResourceGroups(this.volume),this._includeAllClusters=this._computeIncludeAll(this.cluster),this._includeAllVolumes=this._computeIncludeAll(this.volume)}static fetchProjectAccessSummary(e){return super.search({path:this.PROJECT_ACCESS_SUMMARY_URL,method:`GET`,data:e})}static fetchOrgAccessSummary(e){return super.search({path:this.ORG_ACCESS_SUMMARY_URL,method:`GET`,data:e})}_computeResourceGroups(e){return!e||e.length===0?[]:e.map(e=>({resourceIds:e.ids.filter(e=>e!==`*`),role:e.role}))}_computeIncludeAll(e){return!e||e.length===0?!1:e.some(e=>e.ids.includes(`*`))}});var K0=(e={})=>{let{clusterId:t}=e,{t:n}=_([`common`]),{canManage:r,canWrite:i,canRead:a,isLoading:o}=HY({resourceType:VY.Cluster,resourceId:t});return{canManage:r,canWrite:i,canRead:a,isLoading:o,manageTooltip:r?void 0:n(`common:permission.clusterAdminRequired`)}},q0={iconRoot:`_iconRoot_nerd0_3`,rotate:`_rotate_nerd0_1`},J0=e=>{let{clusterId:t,collection:n,onClick:r,onClose:i,isSupportLoadOrRelease:a=!0,isAllowCollectionWrite:o,isAllowImport:s,isAllowCopyWithData:c}=e,{canRead:l,canWrite:u,isLoading:d,tooltip:f}=HY({resourceType:VY.Cluster,resourceId:t}),p=G0({clusterId:t,databaseName:n._databaseName,collectionName:n._collectionName,enabled:l&&!d}),m=e=>{e.stopPropagation(),e.preventDefault()},h=e=>
49(0,G.jsx)(ae,{btnSize:`small`,btnProps:{classes:{root:q0.iconRoot},withMargin:!1},items:e,onClick:r,onClose:i,disabled:!u,tooltip:u?void 0:{title:f,placement:`left`},showTooltip:!u});return(0,G.jsx)(`span`,{onClick:m,children:(0,G.jsx)(eQ,{...p,renderCustomMenu:h,isSupportLoadOrRelease:a,hideLoadOrReleaseActions:p.isProjectDatabaseCluster,isAllowCollectionWrite:o??p.isAllowCollectionWrite,isAllowImport:s??p.isAllowImport,isAllowCopyWithData:c??p.isAllowCopyWithData,hideDataRowActions:!0})})},Y0=hn().nullable().optional().transform(e=>e??0),X0=bn().nullish().transform(e=>e??``),Z0=hn().nullable().optional(),Q0={CREATING:Za.Creating,RUNNING:Za.Running,DELETING:Za.Deleting,DELETED:Za.Deleted,RESIZING:Za.Resizing,UPGRADING:Za.Upgrading,STOPPING:Za.Stopping,SUSPENDING:Za.Stopping,RESUMING:Za.Resuming,MODIFYING:Za.Modifying,STOPPED:Za.Stopped,SUSPENDED:Za.Stopped,ABNORMAL:Za.Abnormal,SET_WHITELIST:Za.SetWhitelist,WAITING_OPERATION:Za.WaitingOperation,SET_PRIVATE_LINK:Za.SetPrivateLink,CREATE_DEMO_COLLECTION:Za.CreateSampleCollection,CREATE_SAMPLE_COLLECTION:Za.CreateSampleCollection,MIGRATING:Za.Migrating,RESTORE_BACKUP:Za.Restoring,LOCKING:Za.Locking,LOCKED:Za.Locked,RESTARTING:Za.Restarting,ENABLE_PUBLIC_DOMAIN:Za.EnablingPublicDomain,DISABLE_PUBLIC_DOMAIN:Za.DisablingPublicDomain,SYNCING:Za.Syncing,SWITCHING:Za.Switching,CU_MODIFYING:Za.CuModifying,REPLICA_MODIFYING:Za.ReplicaModifying},$0=e=>{let t=e?.toUpperCase();switch(t){case`SUSPENDING`:return`STOPPING`;case`SUSPENDED`:return`STOPPED`;default:return t}},e2=_n({clusterId:bn().optional().default(``),clusterName:bn().optional().default(``),description:X0,instanceId:bn().optional().default(``),kiteInstanceId:bn().optional().default(``),regionId:bn().optional().default(``),cu:hn().optional().default(0),replicas:Y0,readyReplicas:Y0,status:bn().optional().default(``),endpoint:bn().optional().default(``),connectAddressStatus:hn().nullable().optional(),ConnectAddressStatus:hn().nullable().optional(),privateLink:bn().nullable().optional().default(``),createdBy:bn().optional().default(``),createTime:hn().optional().default(0),ttlSeconds:Z0,autoSuspend:Z0,whitelists:pn(_n({WhitelistId:bn().optional(),Whitelist:bn(),Description:bn().optional(),Effective:Dn()})).optional().default([])}).transform(e=>{let t=e.clusterId||e.instanceId,n=e.autoSuspend??e.ttlSeconds??void 0,r=$0(e.status),i=r?Q0[r]:void 0,a=i===void 0?{}:{Status:i,DisplayStatus:i};return{InstanceId:t,instanceId:t,InstanceName:e.clusterName,InstanceDescription:e.description,RegionId:e.regionId,CU:e.cu,Replica:e.replicas,ReadyReplicas:e.readyReplicas,KiteInstanceId:e.kiteInstanceId,...r?{StatusName:r}:{},...a,ConnectAddress:e.endpoint,ConnectAddressStatus:e.connectAddressStatus??e.ConnectAddressStatus??(e.endpoint?$a.ENABLE:$a.DISABLE),PrivateLinkAddress:e.privateLink??``,DisplayCreator:e.createdBy,CreateTimeMilli:e.createTime,AutoSuspend:n,autoSuspend:n,Whitelists:e.whitelists}}),t2=`cloud/v1/vectorlake/query-cluster`,n2={create:async e=>(await Ce.post(t2,e)).data,remove:async e=>{let{clusterId:t,regionId:n,projectId:r}=e;return(await Ce.delete(`${t2}/${t}`,{params:{regionId:n,projectId:r}})).data},describe:async(e,t={})=>{let{clusterId:n,regionId:r,projectId:i}=e,a=await Ce.get(`${t2}/${n}`,{params:{regionId:r,projectId:i},signal:t.signal});return e2.parse(a.data.Data)},modifyProperties:async e=>{let{clusterId:t,regionId:n,projectId:r,clusterName:i,description:a}=e,o={regionId:n,projectId:r,...i===void 0?{}:{newName:i},...a===void 0?{}:{description:a}};return(await Ce.post(`${t2}/${t}/properties`,{...o})).data},modifyAutoSuspend:async e=>{let{clusterId:t,regionId:n,projectId:r,autoSuspend:i}=e;return(await Ce.post(`${t2}/${t}/modify`,{regionId:n,projectId:r,autoSuspend:i})).data}
49,modifySettings:async e=>{let{clusterId:t,regionId:n,projectId:r,clusterName:i,description:a,autoSuspend:o,cuSize:s}=e;return(await Ce.post(`${t2}/${t}/modify`,{regionId:n,projectId:r,clusterName:i,description:a,autoSuspend:o,...s===void 0?{}:{cuSize:s}})).data}},r2=()=>{let{fetchClusterList:e}=Fn(),t=gn({mutationFn:e=>n2.create(e),onSuccess:(t,n)=>{n.projectId&&e(n.projectId)}});return{createQueryCluster:t.mutateAsync,isPending:t.isPending}},i2=()=>{let{fetchClusterList:e}=Fn(),t=gn({mutationFn:e=>n2.remove(e),onSuccess:async(t,n)=>{if(n.projectId)try{await e(n.projectId)}catch(e){console.warn(`[useDeleteQueryCluster] post-delete refresh failed`,e)}}});return{deleteQueryCluster:t.mutateAsync,isPending:t.isPending}},a2=(e,t)=>{let n=t.clusterName??e._instanceName,r=t.description??e._instanceDescription,i=new Ws(e);return i.InstanceName=n,i.InstanceDescription=r,i.Description=r,i.instanceDescription=r,i.description=r,i},o2=(e,t)=>{let n=du(t.autoSuspend);if(!n)return e instanceof Ws?e:new Ws(e);let r=new Ws(e);return r.AutoSuspend=Number(n),r.autoSuspend=Number(n),r.ttlSeconds=Number(n),r},s2=(e,t)=>{if(t.cuSize===void 0)return e instanceof Ws?e:new Ws(e);let n=new Ws(e);return n.CU=t.cuSize,n},c2=(e,t)=>s2(o2(a2(e,t),t),t),l2=()=>{let{fetchClusterList:e,setClusterList:t}=Fn(),n=Tn(),r=e=>{e.clusterName===void 0&&e.description===void 0||t(t=>t.map(t=>t._instanceId!==e.clusterId||t._projectId!==e.projectId?t:a2(t,e)))},i=e=>{n.setQueryData([`queryClusterDetail`,e.projectId,e.regionId,e.clusterId],t=>t&&a2(t,e))},a=gn({mutationFn:e=>n2.modifyProperties(e),onSuccess:async(t,a)=>{i(a),r(a);try{await n.invalidateQueries({queryKey:[`queryClusterDetail`,a.projectId,a.regionId,a.clusterId]})}catch(e){console.warn(`[useModifyQueryCluster] detail invalidation failed`,e)}if(a.projectId)try{await e(a.projectId)}catch(e){console.warn(`[useModifyQueryCluster] post-modify refresh failed`,e)}r(a),i(a)}});return{modifyQueryCluster:a.mutateAsync,isPending:a.isPending}},u2=()=>{let{fetchClusterList:e,setClusterList:t}=Fn(),n=Tn(),r=e=>{t(t=>t.map(t=>t._instanceId!==e.clusterId||t._projectId!==e.projectId?t:c2(t,e)))},i=e=>{n.setQueryData([`queryClusterDetail`,e.projectId,e.regionId,e.clusterId],t=>t&&c2(t,e))},a=gn({mutationFn:e=>n2.modifySettings(e),onSuccess:async(t,a)=>{i(a),r(a);try{await n.invalidateQueries({queryKey:[`queryClusterDetail`,a.projectId,a.regionId,a.clusterId]})}catch(e){console.warn(`[useModifyQueryClusterSettings] detail invalidation failed`,e)}if(a.projectId)try{await e(a.projectId)}catch(e){console.warn(`[useModifyQueryClusterSettings] post-modify refresh failed`,e)}r(a),i(a)}});return{modifyQueryClusterSettings:a.mutateAsync,isPending:a.isPending}},d2=(e,t={})=>{let{clusterId:n,regionId:r,projectId:i}=e,{fullClusterList:a}=Fn(),o=a.find(e=>e._instanceId===n),s=!!(n&&r&&i)&&o?._instanceType===Hs.QueryCluster,c=Cn({queryKey:[`queryClusterDetail`,i,r,n],enabled:s,refetchInterval:t.refetchInterval,queryFn:async({signal:e})=>{let t=await n2.describe({clusterId:n,regionId:r,projectId:i},{signal:e});return new Ws({...o??{},...t})}});return{clusterDetail:c.data,isLoading:c.isLoading,refetch:c.refetch}},f2={container:`_container_1verr_3`,label:`_label_1verr_8`,tooltip:`_tooltip_1verr_13`,rotate:`_rotate_1verr_1`},p2=e=>{let{provider:t,regionId:n,className:r=``,useRegionId:i,cloudContainerSize:a=24,cloudIconSize:o,regionTypographyProps:s={}}=e,{getRegionNameById:c}=cu(t),l=(0,W.useMemo)(()=>{let e=o?{iconWidth:o,iconHeight:o}:{};return{...a?{width:a,height:a}:{},...e}},[a,o]);return(0,G.jsxs)(`div`,{className:R(f2.container,r),children:[(0,G.jsx)(jc,{...l,cloudProvider:t}),(0,G.jsx)(Ur,{tooltipProps:{classes:{popper:f2.tooltip}},typographyProps:{className:f2.label,component:`span`,variant:`body1Regular`,...s},children:i?n:c(n)})]})},m2={suffix:`_suffix_gofqu_1`,ttlInput:`_ttlInput_gofqu_7`,formatExamplesTooltip:`_formatExamplesTooltip_gofqu_12`},h2=e=>{let{name:t,enabled:n,placeholder:r,inputProps:i={},defaultHelperText:a,tooltipTitle:o,validationMessages:s,validateSeconds:c,unregisterOnUnmount:l=!0}=e,{t:u}=_([`collections`]),d=Ie({name:t}),f=e=>s?.[e.error]?s[e.error]:u(Dee(e.error)),p=(0,W.useMemo)(()=>n?du(d):void 0,[n,d]);if(!n)return null;let m=Oee(p);return(0,G.jsx)(ma,{tooltip:{title:o??u(`collections:ttl.formatExamples`),placement:`bottom`,classes:{tooltip:m2.formatExamplesTooltip}},children:(0,G.jsx)(iu,{name:t,shouldUnregister:l,componentProps:{placeholder:r??u(`collections:ttl.placeholder`),suffix:(0,G.jsxs)(`span`,{className:m2.suffix,children:[`(`,m,`)`]}),size:`small`,fullWidth:!0,wrapperClassName:m2.ttlInput,...i},rules:{required:s?.required??u(`collections:ttl.validation.required`),validate:e=>{let t=Tee(e);return t.ok?c?.(t.seconds)??!0:f(t)}},defaultHelperText:a})})},g2=`Cluster-`,_2=60n,v2=Array.from({length:128}
49,(e,t)=>{let n=8+t*8;return{label:`${n} CU`,value:n}}),y2=({generateRandomClusterName:e,clusters:t})=>e({clusters:t,prefix:g2})||``,b2=e=>{let t=du(e);if(!(!t||t<60n||t>2147483647n))return t},x2=e=>`${(b2(e)??60n).toString()}s`,S2=e=>{let{projectId:t,regionId:n=``}=e,{t:r}=_([`onDemandCluster`,`common`]),{createQueryCluster:i,isPending:a}=r2(),{message:o}=Ga(),s=F(A),{generateRandomClusterName:c,fullClusterList:l}=Fn(),u=n,d=u?Ks(u):void 0,f=y2({generateRandomClusterName:c,clusters:l});return(0,G.jsx)(St,{type:j.Form,title:r(`onDemandCluster:create.title`),confirmLabel:r(`common:button.create`),confirmLoading:a,handleConfirm:async e=>{let n=u;if(!n){o.error({title:r(`onDemandCluster:create.regionRequired`)});return}let a=e.clusterName;await i({projectId:t,regionId:n,clusterName:a,description:e.description,cu:Number(e.cu),sessionTTL:x2(e.autoSuspend)}),o.success({title:r(`onDemandCluster:create.success.title`),message:r(`onDemandCluster:create.success.message`,{name:a})}),s(e=>({...e,open:!1}))},useFormProps:{defaultValues:{clusterName:f,cu:8,autoSuspend:`1m`}},children:(0,G.jsxs)(Ei,{spacing:`20px`,children:[(0,G.jsx)(E,{name:`clusterName`,rules:{required:!0},componentProps:{fullWidth:!0,label:(0,G.jsx)(ye,{children:r(`onDemandCluster:create.clusterName`)})}}),(0,G.jsx)(E,{name:`description`,componentProps:{fullWidth:!0,label:r(`onDemandCluster:create.description`)},rules:{maxLength:255}}),(0,G.jsxs)(Ei,{spacing:`8px`,children:[(0,G.jsx)(L,{variant:`body2Regular`,children:r(`onDemandCluster:create.region`)}),d&&u?(0,G.jsx)(p2,{provider:d,regionId:u}):(0,G.jsx)(L,{variant:`body1Regular`,children:`--`})]}),(0,G.jsx)(Ne,{name:`cu`,rules:{required:!0},componentProps:{label:(0,G.jsx)(ye,{children:r(`onDemandCluster:create.cu`)}),options:v2},setValueAs:e=>Number(e)}),(0,G.jsx)(`div`,{"data-testid":`create-on-demand-auto-suspend-input`,children:(0,G.jsx)(h2,{name:`autoSuspend`,enabled:!0,placeholder:r(`onDemandCluster:create.autoSuspendPlaceholder`),tooltipTitle:r(`onDemandCluster:create.autoSuspendFormatExamples`),validationMessages:{required:r(`onDemandCluster:create.autoSuspendRequired`),invalid:r(`onDemandCluster:create.autoSuspendInvalid`),invalidFormat:r(`onDemandCluster:create.autoSuspendInvalidFormat`),outOfRange:r(`onDemandCluster:create.autoSuspendOutOfRange`)},validateSeconds:e=>e<60n?r(`onDemandCluster:create.autoSuspendMin`,{min:_2.toString()}):e>2147483647n?r(`onDemandCluster:create.autoSuspendOutOfRange`):!0,inputProps:{fullWidth:!0,wrapperClassName:``,label:(0,G.jsx)(ye,{children:r(`onDemandCluster:create.autoSuspend`)})},defaultHelperText:r(`onDemandCluster:create.autoSuspendTip`)})})]})})},C2=class extends eo{static FEEDBACK_URL=`${this.CLOUD_PREFIX}/deletion-feedback`;static FEEDBACK_EXISTS_URL=`${this.CLOUD_PREFIX}/deletion-feedback/exists`;static submitFeedback(e){return super.create({path:this.FEEDBACK_URL,data:e})}static async checkExists(){return!!await super.search({path:this.FEEDBACK_EXISTS_URL})}},w2=function(e){return e.Cluster=`Cluster`,e.Account=`Account`,e}({}),T2=function(e){return e.MISSING_FEATURE=`MISSING_PRODUCT_FEATURES`,e.BAD_EXPERIENCE=`BAD_EXPERIENCE`,e.TOO_EXPENSIVE=`TOO_EXPENSIVE`,e.FOUND_ANOTHER=`FOUND_ANOTHER_SOLUTION`,e.EXPERIENCING_PERFORMANCE_ISSUES=`EXPERIENCING_PERFORMANCE_ISSUES`,e.NO_LONGER_NEED=`NO_LONGER_NEEDED`,e.SWITCHING_ZILLIZ_OFFERING=`SWITCHING_ZILLIZ_OFFERING`,e.SIGNED_UP_BY_ACCIDENT=`SIGNED_UP_BY_ACCIDENT`,e.OTHERS=`OTHERS`,e}({}),E2=function(e){return e.TextInput=`textInput`,e.MultiChoice=`multiChoice`,e.SingleChoice=`singleChoice`,e.DisplayBanner=`displayBanner`,e}({}),D2=e=>{let{t}=_([`account`,`deployments`]),n=[{type:T2.MISSING_FEATURE,label:t(`account:deleteAccount.survey.reasons.featureOrRegion`),followUp:{type:E2.MultiChoice,title:t(`account:deleteAccount.survey.followUp.featureTitle`),showBanner:!0,options:[{value:`namespace`,label:t(`account:deleteAccount.survey.followUp.featureChips.namespace`)},{value:`vectorLake`,label:t(`account:deleteAccount.survey.followUp.featureChips.vectorLake`)},{value:`ragDev`,label:t(`account:deleteAccount.survey.followUp.featureChips.ragDev`)},{value:`others`,label:t(`account:deleteAccount.survey.followUp.featureChips.others`)}],textInput:{placeholder:t(`account:deleteAccount.survey.followUp.featurePlaceholder`)}}},{type:T2.BAD_EXPERIENCE,label:t(`account:deleteAccount.survey.reasons.experience`),followUp:{type:E2.MultiChoice,title:t(`account:deleteAccount.survey.followUp.experienceTitle`),options:[{value:`reliability`,label:t(`account:deleteAccount.survey.followUp.experienceOptions.reliability`)},{value:`errors`,label:t(`account:deleteAccount.survey.followUp.experienceOptions.errors`)},{value:`support`,label:t(`account:deleteAccount.survey.followUp.experienceOptions.support`)},{value:`gui`,label:t(`account:deleteAccount.survey.followUp.experienceOptions.gui`)},{value:`sdk`,label:t(`account:deleteAccount.survey.followUp.experienceOptions.sdk`)},{value:`docs`,label:t(`account:deleteAccount.survey.followUp.experienceOptions.docs`)}],textInput:{placeholder:t(`account:deleteAccount.survey.followUp.experiencePlaceholder`)}}},{type:T2.TOO_EXPENSIVE,label:t(`account:deleteAccount.survey.reasons.expensive`),followUp:{type:E2.DisplayBanner}},{type:T2.FOUND_ANOTHER,label:t(`account:deleteAccount.survey.reasons.alternative`),followUp:{type:E2.SingleChoice,title:t(`account:deleteAccount.survey.followUp.alternativeTitle`),options:[{value:`saas`,label:t(`account:deleteAccount.survey.followUp.alternativeOptions.saas`)},{value:`selfhosted`,label:t(`account:deleteAccount.survey.followUp.alternativeOptions.selfhosted`)}],textInput:{label:t(`account:deleteAccount.survey.followUp.alternativeTextLabel`),placeholder:t(`account:deleteAccount.survey.followUp.alternativeTextPlaceholder`)}}},{type:T2.EXPERIENCING_PERFORMANCE_ISSUES,label:t(`account:deleteAccount.survey.reasons.performanceIssues`),followUp:{type:E2.TextInput,placeholder:t(`account:deleteAccount.survey.followUp.experiencePlaceholder`)}},{type:T2.NO_LONGER_NEED,label:t(`account:deleteAccount.survey.reasons.noLongerNeed`),followUp:{type:E2.SingleChoice,title:t(`account:deleteAccount.survey.followUp.noLongerNeedTitle`),options:[{value:`poc`,label:t(`account:deleteAccount.survey.followUp.noLongerNeedOptions.poc`)},{value:`project`,label:t(`account:deleteAccount.survey.followUp.noLongerNeedOptions.project`)}],textInput:{label:t(`account:deleteAccount.survey.followUp.noLongerNeedTextLabel`),placeholder:t(`account:deleteAccount.survey.followUp.noLongerNeedTextPlaceholder`)}}}],r=[{type:T2.SWITCHING_ZILLIZ_OFFERING,label:t(`deployments:deletionFeedback.switchingZillizOffering`),followUp:{type:E2.SingleChoice,title:t(`deployments:deletionFeedback.switchingZillizOfferingTitle`),options:[{value:`free`,label:t(`deployments:deletionFeedback.switchingOptions.free`)},{value:`serverless`,label:t(`deployments:deletionFeedback.switchingOptions.serverless`)},{value:`byoc`,label:t(`deployments:deletionFeedback.switchingOptions.byoc`)}]}}],i=[{type:T2.SIGNED_UP_BY_ACCIDENT,label:t(`account:deleteAccount.survey.reasons.signedUpByAccident`),followUp:{type:E2.TextInput,placeholder:t(`account:deleteAccount.survey.followUp.accidentPlaceholder`)}}],a={type:T2.OTHERS,label:t(`account:deleteAccount.survey.reasons.others`),followUp:{type:E2.TextInput,placeholder:t(`account:deleteAccount.survey.followUp.experiencePlaceholder`)}};return{deleteReasons:e===w2.Cluster?[...n,...r,a]:[...n,...i,a],serializeFormData:(e,t)=>{let{message:n,selectedOptions:r,selectedOption:i}=t,a=``;return r?.length?(a=r.join(`, `),n&&(a+=`: ${n}`)):i?(a=i,n&&(a+=`: ${n}`)):a=n||``,{deleteReasons:[{deleteReason:e,message:a}]}}}},O2=Zt({key:`deletionFeedbackExists`,default:!1}),k2=()=>{let[e,t]=Lt(O2);return{feedbackExists:e,fetchDeletionFeedbackExists:async()=>{let e=await C2.checkExists();t(e)},setFeedbackSubmitted:()=>{t(!0)}}},A2={item:`_item_1vd9h_3`,active:`_active_1vd9h_10`,label:`_label_1vd9h_20`,checkIcon:`_checkIcon_1vd9h_26`,followUp:`_followUp_1vd9h_33`,rotate:`_rotate_1vd9h_1`},j2=e=>{let{label:t,selected:n,onClick:r,followUpContent:i}=e;return(0,G.jsxs)(L,{component:`div`,variant:`body1Medium`,className:R(A2.item,{[A2.active]:n}),onClick:r,children:[(0,G.jsxs)(`div`,{className:A2.label,children:[n&&(0,G.jsx)(Sr,{className:A2.checkIcon}),t]}),(0,G.jsx)(ra,{in:n&&!!i,children:(0,G.jsx)(`div`,{className:A2.followUp,children:i})})]})},M2={textArea:`_textArea_it4g4_1`},N2=e=>{let{name:t,placeholder:n,required:r}=e;return(0,G.jsx)(E,{name:t,componentProps:{placeholder:n,multiline:!0,fullWidth:!0,rows:2,className:M2.textArea},rules:r?{required:!0}:void 0})},P2={root:`_root_wxrdn_3`,chips:`_chips_wxrdn_9`,chip:`_chip_wxrdn_9`,textArea:`_textArea_wxrdn_37`,rotate:`_rotate_wxrdn_1`},F2=e=>{let{name:t,options:n,textInputName:r,textPlaceholder:i}=e,{setValue:a,watch:o}=Re(),s=o(t)||[],c=e=>{let n=s.includes(e)?s.filter(t=>t!==e):[...s,e];a(t,n,{shouldValidate:!0})};return(0,G.jsxs)(`div`,{className:P2.root,children:[(0,G.jsx)(`div`,{className:P2.chips,children:n.map(e=>{let t=s.includes(e.label);return(0,G.jsx)(`button`,{type:`button`,className:P2.chip,"data-selected":t||void 0,onClick:()=>c(e.label),children:e.label},e.value)})}),r&&(0,G.jsx)(E,{name:r,componentProps:{placeholder:i,multiline:!0,fullWidth:!0,rows:2,className:P2.textArea}})]})},I2={root:`_root_wxrdn_3`,chips:`_chips_wxrdn_9`,chip:`_chip_wxrdn_9`,textArea:`_textArea_wxrdn_37`,rotate:`_rotate_wxrdn_1`},L2=e=>{let{name:t,options:n,textInputName:r,textPlaceholder:i}=e,{setValue:a,watch:o}=Re(),s=o(t)||``,c=e=>{a(t,s===e?``:e,{shouldValidate:!0})};return(0,G.jsxs)(`div`,{className:I2.root,children:[(0,G.jsx)(`div`,{className:I2.chips,children:n.map(e=>{let t=s===e.label;return(0,G.jsx)(`button`,{type:`button`,className:I2.chip,"data-selected":t||void 0,onClick:()=>c(e.label),children:e.label},e.value)})}),r&&(0,G.jsx)(E,{name:r,componentProps:{placeholder:i,multiline:!0,fullWidth:!0,rows:2,className:I2.textArea}})]})},R2={banner:`_banner_1f6ww_3`,rotate:`_rotate_1f6ww_1`}
49,z2=e=>{let{children:t}=e;return(0,G.jsx)(`div`,{className:R2.banner,children:t})},B2={root:`_root_1p7h0_3`,followUpWrapper:`_followUpWrapper_1p7h0_9`,followUpHeader:`_followUpHeader_1p7h0_15`,multiSelectHint:`_multiSelectHint_1p7h0_21`,tip:`_tip_1p7h0_25`,tipIcon:`_tipIcon_1p7h0_39`,rotate:`_rotate_1p7h0_1`},V2=e=>{let{deletionType:t,required:n,bannerContent:r,onValidChange:i}=e,{t:a}=_(`deployments`),{deleteReasons:o}=D2(t),[s,c]=(0,W.useState)(null),{watch:l,setValue:u,resetField:d}=Re(),f=l(`message`),p=l(`selectedOptions`),m=l(`selectedOption`),h=e=>{e!==s&&(d(`message`),d(`selectedOptions`),d(`selectedOption`)),c(e),u(`selectedReason`,e)};(0,W.useEffect)(()=>{if(!i)return;if(!s){i(!1);return}let e=o.find(e=>e.type===s);if(e)switch(e.followUp.type){case E2.DisplayBanner:i(!0);break;case E2.TextInput:i(n?!!f:!0);break;case E2.MultiChoice:i(Array.isArray(p)&&p.length>0);break;case E2.SingleChoice:i(!!m);break;default:i(!0)}},[s,f,p,m,n,i,o]);let g=e=>{let t=!!e.title,n=e.type===E2.MultiChoice;return!t&&!n?null:(0,G.jsxs)(`div`,{className:B2.followUpHeader,children:[t&&(0,G.jsx)(L,{variant:`body2Medium`,color:`textSecondary`,children:e.title}),n&&(0,G.jsx)(L,{variant:`body3Regular`,className:B2.multiSelectHint,children:a(`deletionFeedback.multiSelectHint`)})]})},v=e=>{let t=null;switch(e.type){case E2.TextInput:t=(0,G.jsx)(N2,{name:`message`,placeholder:e.placeholder,required:n});break;case E2.MultiChoice:t=(0,G.jsx)(F2,{name:`selectedOptions`,options:e.options||[],textInputName:e.textInput?`message`:void 0,textPlaceholder:e.textInput?.placeholder});break;case E2.SingleChoice:t=(0,G.jsx)(L2,{name:`selectedOption`,options:e.options||[],textInputName:e.textInput?`message`:void 0,textPlaceholder:e.textInput?.placeholder});break;case E2.DisplayBanner:return(0,G.jsx)(z2,{children:r?r(e):e.bannerContent});default:return null}let i=g(e);return e.showBanner&&r?(0,G.jsxs)(`div`,{className:B2.followUpWrapper,children:[i,t,(0,G.jsxs)(`div`,{className:B2.tip,children:[(0,G.jsx)(sa,{className:B2.tipIcon}),r(e)]})]}):i?(0,G.jsxs)(`div`,{className:B2.followUpWrapper,children:[i,t]}):t};return(0,G.jsx)(`div`,{className:B2.root,children:o.map(e=>(0,G.jsx)(j2,{label:e.label,selected:s===e.type,onClick:()=>h(e.type),followUpContent:v(e.followUp)},e.type))})},H2={subtitle:`_subtitle_vewui_3`,rotate:`_rotate_vewui_1`},U2=e=>{let{deletionType:t,title:n,subtitle:r,required:i,bannerContent:a,onSubmit:o}=e,{t:s}=_(`common`),{resetDialog:c}=re(),[l,u]=(0,W.useState)(!1);return(0,G.jsxs)(St,{isAlwaysAllowed:!0,type:j.Form,title:n,confirmLabel:s(`button.next`),cancelLabel:s(`button.cancel`),confirmDisabled:!l,handleCancel:()=>{c()},handleConfirm:async(e,t,n)=>{let r=n?.getValues();o(r?.selectedReason||``,{message:r?.message,selectedOptions:r?.selectedOptions,selectedOption:r?.selectedOption})},children:[r&&(0,G.jsx)(L,{variant:`body1Regular`,color:`textSecondary`,className:H2.subtitle,children:r}),(0,G.jsx)(V2,{deletionType:t,required:i,onValidChange:u,bannerContent:a})]})},W2={dialogTip:`_dialogTip_12oi2_3`,desc:`_desc_12oi2_6`,warning:`_warning_12oi2_12`,contactTip:`_contactTip_12oi2_16`,link:`_link_12oi2_20`,hide:`_hide_12oi2_25`,rotate:`_rotate_12oi2_1`},G2=(e,t)=>!(e===Hs.Starter||t);function K2(e){let{t}=_(`deployments`),{fetchClusterList:n,clusterList:r,fullClusterList:i}=Fn(),{deleteQueryCluster:a}=i2(),{message:o}=Ga(),{contactSalesLink:s,profileSearchParams:c}=Pc(),{feedbackExists:l,setFeedbackSubmitted:u}=k2(),{serializeFormData:f}=D2(w2.Cluster),p=(0,W.useMemo)(()=>`${oo}?${c||``}`,[c]),{projectId:m,clusterName:h,clusterId:g,onDeleteCallback:v=()=>{}}=e,y=i.find(e=>e._instanceId===g),b=y?._instanceType,x=G2(b,l),[S,C]=(0,W.useState)(null);
49return x&&!S?(0,G.jsx)(U2,{deletionType:w2.Cluster,title:t(`deletionFeedback.title`),subtitle:t(`deletionFeedback.subtitle`),bannerContent:e=>e.type===E2.DisplayBanner?(0,G.jsxs)(`span`,{children:[t(`deletionFeedback.discountBanner.text`),` `,(0,G.jsx)(`a`,{href:s,target:`_blank`,rel:`noopener noreferrer`,children:t(`deletionFeedback.discountBanner.link`)})]}):e.showBanner?(0,G.jsxs)(G.Fragment,{children:[t(`deletionFeedback.regionBanner.text`),(0,G.jsx)(`a`,{href:p,target:`_blank`,rel:`noopener noreferrer`,children:t(`deletionFeedback.regionBanner.link`)})]}):null,onSubmit:(e,t)=>{C({selectedReason:e,formData:t})}}):(0,G.jsx)(cA,{title:t(`detail.deleteTitle`),tip:(()=>{let e=b===Hs.Starter;return(0,G.jsx)(d,{t,i18nKey:`detail.deleteWarning`,components:[(0,G.jsx)(`span`,{className:R({[W2.hide]:e})})]})})(),classes:{root:W2.dialogTip},keyword:h,confirmLabel:t(`deleteLabel`),onConfirm:async()=>{if(S){let e=S.selectedReason?f(S.selectedReason,S.formData):{deleteReasons:[]};try{await C2.submitFeedback({questionnaire:e,clusterId:g}),u()}catch{}}if(b===Hs.QueryCluster)await a({clusterId:g,regionId:y?._regionId??``,projectId:m});else{let e=r.find(e=>e._instanceId===g)?._globalClusterRole===Bs.Secondary;await Ws.deleteDeploymentInstance({instanceId:g,isSecondary:e})}o.success({title:t(`detail.deleteSuccess.title`),message:t(`detail.deleteSuccess.desc`,{name:h})}),v(),n(m)},gaEvent:vs.DELETE_DB,contactTip:(0,G.jsx)(L,{variant:`body3Regular`,className:W2.contactTip,children:(0,G.jsx)(d,{t,i18nKey:`detail.deleteContactText`,components:[(0,G.jsx)(`a`,{href:s,target:`_blank`,className:W2.link})]})})})}var q2=new Set(v2.map(e=>e.value)),J2=e=>{let t=Number(e);return Number.isFinite(t)&&q2.has(t)?t:void 0},Y2=e=>Number.isFinite(e)&&q2.has(e),X2=e=>!e||e===fe.UNKNOWN?``:e,Z2=({projectId:e,regionId:t,clusterId:n,clusterName:r,description:i,autoSuspend:a,clusterCu:o})=>{let{t:s}=_([`onDemandCluster`,`common`]),{modifyQueryClusterSettings:c,isPending:l}=u2(),{message:u}=Ga(),d=F(A),f=X2(i),p=Eee(a),m=J2(o);return(0,G.jsx)(sc,{type:j.Form,title:s(`onDemandCluster:modify.title`),confirmLabel:s(`common:button.save`),confirmLoading:l,handleConfirm:async i=>{let o=i.clusterName.trim(),l=i.description?.trim()??``,p=b2(i.autoSuspend),h=i.cu,g=h!==void 0,_=Number(h);if(!p||g&&!Y2(_))return;let v=typeof a==`number`&&a>0?BigInt(a):void 0;if((r??``)===o&&f===l&&v===p&&(m===void 0?!g:m===_)){d(e=>({...e,open:!1}));return}let y={projectId:e,regionId:t,clusterId:n,clusterName:o,description:l,autoSuspend:`${p.toString()}s`};await c(g&&_!==m?{...y,cuSize:_}:y),u.success({title:s(`onDemandCluster:modify.success.title`),message:s(`onDemandCluster:modify.success.message`,{name:r||n})}),d(e=>({...e,open:!1}))},useFormProps:{defaultValues:{clusterName:r??``,description:f,autoSuspend:p,cu:m}},children:(0,G.jsxs)(Ei,{spacing:`20px`,children:[(0,G.jsx)(iu,{name:`clusterName`,rules:{required:!0},componentProps:{fullWidth:!0,label:(0,G.jsx)(ye,{children:s(`onDemandCluster:create.clusterName`)})}}),(0,G.jsx)(iu,{name:`description`,componentProps:{fullWidth:!0,label:s(`onDemandCluster:create.description`)},rules:{maxLength:255}}),(0,G.jsx)(ru,{name:`cu`,rules:{required:m!==void 0},componentProps:{SelectDisplayProps:{"data-testid":`modify-on-demand-query-cu-select`},label:(0,G.jsx)(ye,{children:s(`onDemandCluster:create.cu`)}),options:v2},setValueAs:e=>Number(e)}),(0,G.jsx)(h2,{name:`autoSuspend`,enabled:!0,placeholder:s(`onDemandCluster:create.autoSuspendPlaceholder`),tooltipTitle:s(`onDemandCluster:create.autoSuspendFormatExamples`),validationMessages:{required:s(`onDemandCluster:create.autoSuspendRequired`),invalid:s(`onDemandCluster:create.autoSuspendInvalid`),invalidFormat:s(`onDemandCluster:create.autoSuspendInvalidFormat`),outOfRange:s(`onDemandCluster:create.autoSuspendOutOfRange`)},validateSeconds:e=>e<60n?s(`onDemandCluster:create.autoSuspendMin`,{min:_2.toString()}):e>2147483647n?s(`onDemandCluster:create.autoSuspendOutOfRange`):!0,inputProps:{fullWidth:!0,wrapperClassName:``,label:(0,G.jsx)(ye,{children:s(`onDemandCluster:create.autoSuspend`)})},defaultHelperText:s(`onDemandCluster:create.autoSuspendTip`)})]})})}
49,Q2=(e,t,n)=>n?Zc(xc(e,Hs.Common,n._globalClusterRole),n._instanceOriginStatusName):[],$2=({cluster:e,catalogCluster:t,onClick:n,onClose:r})=>{let{t:i}=_([`onDemandCluster`,`project`,`common`]),a=F(A),o=u(),{orgId:s=``,projectId:c=``}=l(),{clusterMatrix:d}=Sc(),{canAction:f}=ur(),p=f(I.OnDemandCluster,`modify`,{resourceId:e._instanceId}),m=f(I.OnDemandCluster,`delete`,{resourceId:e._instanceId}),h=(0,W.useMemo)(()=>{let n=Q2(d,e,t),r=[];return p&&n.includes(Xc.MODIFY)&&r.push({label:i(`modify.action`),key:`modify`,onItemClick:()=>{a({open:!0,children:(0,G.jsx)(Z2,{projectId:c,regionId:e._regionId,clusterId:e._instanceId,clusterName:e._instanceName,description:e._instanceDescription,autoSuspend:e._autoSuspend,clusterCu:e._cu})})}}),m&&n.includes(Xc.DELETE)&&r.push({label:i(`detail.actions.delete`),key:`delete`,onItemClick:()=>{a({open:!0,children:(0,G.jsx)(K2,{projectId:c,clusterId:e._instanceId,clusterName:e._instanceName,onDeleteCallback:()=>o(`/orgs/${s}/projects/${c}/on-demand/clusters`)})})}}),r},[t,e,d,m,p,s,c,a,o,i]),g=e=>{e.stopPropagation(),e.preventDefault()},v=h.length===0,y=i(p||m?`common:tooltip.clusterStatus`:`common:permission.missing`);return(0,G.jsx)(`span`,{onClick:g,children:(0,G.jsx)(ae,{btnSize:`small`,btnProps:{classes:{root:q0.iconRo
49ot},withMargin:!1},items:h,onClick:n,onClose:r,disabled:v,showTooltip:v,tooltip:{title:y,placement:`left`}})})},e4=({queryCluster:e,catalogClusters:t,projectId:n,regionId:r})=>{if(!e)return;let i=e._kiteInstanceId;if(i)return t.find(e=>e._instanceId===i);let a=n||e._projectId,o=r||e._regionId,s=t.filter(e=>e._instanceType===Hs.CatalogCluster&&e._projectId===a&&e._regionId===o);return s.length===1?s[0]:void 0},t4=({regionId:e=``})=>{let{t}=_([`projectDatabase`,`database`,`common`]),{projectId:n=``}=l(),{getCollectionNameRules:r}=WC(),{createProjectDatabase:i,isPending:a}=g1(),{message:o}=Ga(),s=F(A),c=e?Ks(e):void 0;return(0,G.jsx)(St,{type:j.Form,title:t(`projectDatabase:create.title`),confirmLabel:t(`common:button.create`),confirmLoading:a,handleConfirm:async r=>{if(!e){o.error({title:t(`projectDatabase:create.regionRequired`)});return}let a=r.databaseName;try{await i({projectId:n,regionId:e,databaseName:a})}catch{return}o.success({title:t(`projectDatabase:create.success.title`),message:t(`projectDatabase:create.success.message`,{name:a})}),s(e=>({...e,open:!1}))},useFormProps:{defaultValues:{databaseName:``}},children:(0,G.jsxs)(Ei,{spacing:`20px`,children:[(0,G.jsx)(E,{name:`databaseName`,rules:r(t(`projectDatabase:create.name`)),componentProps:{fullWidth:!0,label:(0,G.jsx)(ye,{children:t(`projectDatabase:create.name`)})}}),e&&c?(0,G.jsxs)(Ei,{spacing:`8px`,children:[(0,G.jsx)(L,{variant:`body2Regular`,children:t(`projectDatabase:create.region`)}),(0,G.jsx)(p2,{provider:c,regionId:e})]}):null]})})},n4=e=>{let{databaseName:t,regionId:n,cb:i}=e,{projectId:a=``}=l(),{t:o}=_([`projectDatabase`,`common`]),{dropProjectDatabase:s,isPending:c}=_1(),{message:u}=Ga(),d=F(A),[,f]=r();return(0,G.jsx)(wt,{title:o(`projectDatabase:delete.title`),tip:o(`projectDatabase:delete.tips`),keyword:t,onConfirm:async()=>{await s({projectId:a,regionId:n,databaseName:t}),i?.(),f({}),u.success({title:o(`projectDatabase:delete.success.title`),message:o(`projectDatabase:delete.success.message`,{name:t})}),d(e=>({...e,open:!1}))},confirmLabel:o(`common:button.drop`),confirmLoading:c})},r4=e=>{let{clusterId:t,databaseName:n,collectionNames:r=[]}=e;return new Set([`${t}/${n}`,...r.map(e=>`${t}/${n}-${e}`)])},i4={collection:qr,cluster:aa,database:Hr,globalCluster:aa,primary:aa,secondary:aa,onDemandCluster:({size:e=20,...t})=>(0,G.jsx)(lS,{width:e,height:e,...t})},a4=({clusterId:e,items:t,handleClick:n,handleClose:r})=>{let{canWrite:i,tooltip:a}=HY({resourceType:VY.Cluster,resourceId:e,clusterDataResource:I.OnDemandComputeData});return(0,G.jsx)(`span`,{onClick:e=>{e.stopPropagation(),e.preventDefault()},children:(0,G.jsx)(ae,{btnSize:`small`,btnProps:{classes:{root:K.iconRoot},withMargin:!1},onClick:n,onClose:r,items:t,disabled:!i,tooltip:i?void 0:{title:a,placement:`left`},showTooltip:!i})})},o4=({clusterId:e,children:t})=>{let{canWrite:n}=HY({resourceType:VY.Cluster,resourceId:e,clusterDataResource:I.OnDemandComputeData});return n?(0,G.jsx)(G.Fragment,{children:t}):null},s4=null,c4=e=>{let{show:t}=e,{orgId:n=``,projectId:i=``,clusterId:a=``,collectionName:o=``,databaseName:s=``}=l(),{fullClusterList:c,ondemandClusters:d,loading:f,fetchClusterList:m,setClusterLoading:h}=Fn(),g=Tn(),{clusterMatrix:v,rawRegionList:y}=Sc(),{canManageBillingAccess:b}=Yn(),{orgStatus:x,isByocOrg:S}=Kt(),{projectList:w}=C(),{selectedRegionId:T}=hS(),{canAction:E,isLoading:D,isError:O,resourceActions:k}=ur(),ee=E(I.ServingCluster,`create`),j=E(I.OnDemandCluster,`create`),{allDatabases:te,allDatabasesLoading:ne,setAllDatabases:re}=Yl(),[ie]=r(),{t:M}=_([`common`,`collections`,`project`,`database`,`globalCluster`,`onDemandCluster`,`projectDatabase`]),{onCreateCluster:ae}=IC(),{sendFrozenErrorMessage:oe}=NC(),se=(0,W.useMemo)(()=>c.filter(e=>e._instanceType!==Hs.QueryCluster&&e._instanceType!==Hs.CatalogCluster&&E(I.ServingCluster,`view`,{resourceId:e._instanceId})),[c,k]),ce=(0,W.useMemo)(()=>gc(se,T),[se,T]),le=(0,W.useMemo)(()=>gc(d.filter(e=>E(I.OnDemandCluster,`view`,{resourceId:e._instanceId})),T),[d,k,T]),ue=w.find(e=>e._projectId===i)?._regionIds??[],de=p(),fe=(0,W.useMemo)(()=>{let e=de.pathname;return e.includes(`/on-demand/clusters/`)&&e.includes(`/databases/`)||e.includes(`/on-demand/databases`)?`ondemand-databases`:e.includes(`/on-demand/clusters`)?`ondemand-clusters`:e.includes(`/on-demand`)?`ondemand-databases`:`serving`},[de.pathname]),pe=()=>
49{xe({open:!0,children:(0,G.jsx)(S2,{projectId:i,regionId:T??void 0}),size:`medium`})},me=u(),[he,ge]=(0,W.useState)(``),[_e,ve]=(0,W.useState)(a?[a]:[]),[ye,be]=(0,W.useState)([]),xe=F(A),Se=s||ie.get(`databaseName`),{hasCatalogCluster:Ce,canAccess:we,catalogClusters:Te,databases:Ee,refetch:De,isFetching:Oe}=h1(),ke=(0,W.useMemo)(()=>gc(Te,T),[Te,T]),Ae=(0,W.useMemo)(()=>[...ce,...ke],[ke,ce]),je=Te.some(e=>E(I.OnDemandComputeData,`write`,{resourceId:e._instanceId})),Me=e=>{let t=e?._instanceType===Hs.CatalogCluster?I.OnDemandComputeData:I.ServingClusterData;return!e||!E(t,`read`,{resourceId:e._instanceId})?!1:Jc(xc(v,e._instanceType||Hs.Common,e._globalClusterRole),e._instanceOriginStatusName)},Ne=[],Pe=new Set;_e.forEach(e=>{if(e.includes(`/`)){let[t,n]=e.split(`/`),r=Ae.find(e=>e._instanceId===t);if(!r||r._instanceType!==Hs.Common||r._isGlobalClusterEntity)return;let i=`${t}:${n}`;if(Pe.has(i))return;Pe.add(i),Ne.push({clusterId:t,databaseName:n,enabled:Me(r)})}else{let t=Ae.find(t=>t._instanceId===e);if(!t||t._instanceType===Hs.Common||t._instanceType===Hs.QueryCluster||t._instanceType===Hs.CatalogCluster)return;let n=`${e}:`;if(Pe.has(n))return;Pe.add(n),Ne.push({clusterId:e,enabled:Me(t)})}}),ye.forEach(e=>{if(!e.includes(`/`))return;let[t,n]=e.split(`/`),r=ke.find(e=>e._instanceId===t);if(!r||r._instanceType!==Hs.CatalogCluster||!Ee.some(e=>e.catalogClusterId===t&&e.name===n))return;let i=`${t}:${n}`;if(Pe.has(i))return;Pe.add(i);let a=Jc(xc(v,Hs.Common,r._globalClusterRole),r._instanceOriginStatusName)??!0;Ne.push({clusterId:t,databaseName:n,enabled:a})});let Fe=tr({queries:Ne.map(e=>({queryKey:Gl.list(e.clusterId,e.databaseName,S),queryFn:()=>Dl.list({clusterId:e.clusterId,databaseName:e.databaseName,isByoc:S}),enabled:e.enabled}))}),Ie=(e,t)=>{let n=Ne.findIndex(n=>n.clusterId===e&&(n.databaseName??``)===(t??``));if(n<0)return;let r=Fe[n];return{collectionList:r?.data??[],loading:r?.isLoading??!1,databaseName:t}},Le=(0,W.useMemo)(()=>{let e=new Map,t=[];return ce.forEach(n=>{if(n._instanceType!==Hs.QueryCluster&&n._instanceType!==Hs.CatalogCluster)if(n._isGlobalClusterEntity){let t=e.get(n._instanceId);t?t.entity=n:e.set(n._instanceId,{entity:n,members:[]})}else if(n._globalClusterId&&n._globalClusterRole!==Bs.None){let t=n._globalClusterId;e.has(t)||e.set(t,{entity:null,members:[]}),e.get(t).members.push(n)}else t.push(n)}),{globalClusterMap:e,normalClusterList:t}},[ce]),Re=(e,t)=>Array(e).fill(1).map((e,n)=>({id:`${t}-loading-${n}`,type:Zi.LOADING,label:``})),ze=(0,W.useMemo)(()=>{if(f)return Re(6,`cluster-list`);let e=[],t=e=>{let{clusterId:t,collectionList:n,href:r,databaseName:i,isAllowCollectionWrite:a}=e;return n.map(e=>{let n=i?`${t}/${i}-${e._collectionName}`:`${t}-${e._collectionName}`,o=i?`${r}/collections/${e._collectionName}?databaseName=${i}`:`${r}/collections/${e._collectionName}`;return{id:n,label:e._collectionName,href:o,iconType:`collection`,actionNode:(n,r)=>(0,G.jsx)(J0,{clusterId:t,collection:e,onClick:()=>{n?.()},onClose:()=>{r?.()},isSupportLoadOrRelease:!1,isAllowCollectionWrite:a})}})},r=(e,t=!0,n=!1)=>{let r=!t||n,i=()=>M(n?`globalCluster:tooltip.secondaryCannotCreateDatabase`:t?`database:create.title`:`database:disableCreateDatabase`),a=t=>{t.stopPropagation(),xe({open:!0,children:(0,G.jsx)(JC,{clusterId:e}),size:`medium`})};return()=>(0,G.jsx)(fr,{classes:{root:K.createIconRoot},onClick:a,disabled:r,size:`xs`,className:K.actionNode,tooltip:{placement:`right`,title:i(),margin:8},component:`span`,children:(0,G.jsx)(Sa,{size:14,className:K.createIcon})})},o=e=>{let{databaseList:r,clusterId:a,isAllowCollectionRead:o,isAllowCollectionWrite:s,emptyNode:c,handleCreateCollection:l}=e;return r.map(e=>{let r=Ie(a,e),u=r&&!r.loading&&r.collectionList.length===0||!o,d=o&&!r||r?.loading,f=`/orgs/${n}/projects/${i}/clusters/${a}/databases/${e}`,p=async()=>{if(S)return(await Dl.list({clusterId:a,databaseName:e,isByoc:!0})).length>0;let t=await Dl.listPaginated({clusterId:a,databaseName:e,currentPage:1,pageSize:1});return(t._total??t.length)>0},m=async()=>{let t=await p();xe({open:!0,children:t?(0,G.jsx)(xre,{}):(0,G.jsx)(bre,{clusterId:a,keyword:e,cb:()=>{let t=r4({clusterId:a,databaseName:e,collectionNames:(r?.collectionList||[]).map(e=>e._collectionName)});ve(e=>e.filter(e=>!t.has(e)))}}),size:`medium`})},h=[{label:M(`collections:create.title`),onItemClick:()=>{l(e)},key:`createCollection`}];return e!=="default"&&h.push({label:M(`database:delete.title`),onItemClick:m,key:`dropD
49atabase`}),{id:`${a}/${e}`,label:e,href:`/orgs/${n}/projects/${i}/clusters/${a}/collections?${Sl}=${e}`,iconType:`database`,actionNode:s?(e,t)=>(0,G.jsx)(a4,{clusterId:a,items:h,handleClick:e,handleClose:t}):void 0,children:d?Re(2,`${a}-${e}-col`):u?[{id:`${a}-${e}-empty`,type:Zi.NONE,label:c[0].label,classes:c[0].classes}]:t({clusterId:a,href:f,collectionList:r?.collectionList||[],databaseName:e,isAllowCollectionWrite:s})}})},c=e=>{let c=te.find(t=>t.clusterId===e._instanceId),l=Ie(e._instanceId??``),u=e._instanceType,d=u===Hs.Common,f=xc(v,u||Hs.Common,e._globalClusterRole),p=E(u===Hs.CatalogCluster?I.OnDemandComputeData:I.ServingClusterData,`read`,{resourceId:e._instanceId}),m=E(u===Hs.CatalogCluster?I.OnDemandComputeData:I.ServingClusterData,`write`,{resourceId:e._instanceId}),h=p&&Jc(f,e._instanceOriginStatusName),g=e._instanceStatus===Ya.Creating,_=m&&Kc(f,e._instanceOriginStatusName),y=f?ne:!0,b=h&&!l||l?.loading,S=c?.databases?c.databases.length===0:!0,C=l&&!l.loading&&l.collectionList.length===0||!h,w=`/orgs/${n}/projects/${i}/clusters/${e._instanceId}`,T=e=>{me(`/orgs/${n}/projects/${i}/clusters/${a}/create/collection?databaseName=${e}`)},D=(e,t)=>{e.stopPropagation(),T(t)},O=[{id:`${e._instanceId}-empty`,type:Zi.NONE,label:M(h?`collections:list.empty.title`:g?`collections:list.unavailable.tree`:`collections:list.unavailable.title`),classes:{root:K.notSupport}}],k=()=>(0,G.jsx)(fr,{classes:{root:K.createIconRoot},onClick:e=>D(e,s),id:ws.Collection_240_Entry,size:`xs`,className:K.actionNode,component:`span`,disabled:!_,tooltip:{placement:`right`,title:_?void 0:M(`common:tooltip.clusterStatus`),margin:8},children:(0,G.jsx)(Sa,{size:14,className:K.createIcon})}),A=e._globalClusterRole===Bs.Secondary,ee=r(e._instanceId,_,A),j=h?y?Re(2,`${e._instanceId}-db`):S?O:o({clusterId:e._instanceId,databaseList:c?.databases||[],isAllowCollectionRead:h,isAllowCollectionWrite:_,emptyNode:O,handleCreateCollection:T}):O,re=b?Re(2,`${e._instanceId}-col`):C?O:t({clusterId:e._instanceId,href:w,collectionList:l?.collectionList||[],isAllowCollectionWrite:_});return{id:e._instanceId,iconType:`cluster`,label:e._instanceName,labelTag:``,actionNode:()=>(0,G.jsx)(o4,{clusterId:e._instanceId,children:d?ee():k()}),children:d?j:re,href:w,disable:e._instanceType!==Hs.Starter&&x?._isFrozen}},l=new Set;return ce.forEach(t=>{if(t._instanceType!==Hs.QueryCluster&&t._instanceType!==Hs.CatalogCluster)if(t._isGlobalClusterEntity){let a=t._instanceId;if(l.has(a))return;l.add(a);let o=Le.globalClusterMap.get(a);if(!o?.entity)return;let{entity:s,members:u}=o,d=[],f=[...u].sort((e,t)=>e._globalClusterRole-t._globalClusterRole),p=f.find(e=>e._globalClusterRole===Bs.Primary);f.forEach(e=>{let t=c(e);t.iconType=e._globalClusterRole===Bs.Primary?`primary`:`secondary`,d.push(t)});let m={id:s._instanceId,label:s._instanceName,iconType:`globalCluster`,children:d,href:`/orgs/${n}/projects/${i}/clusters/${s._instanceId}`,actionNode:p&&E(I.ServingClusterData,`write`,{resourceId:p._instanceId})?r(p._instanceId):void 0,data:{isGlobalCluster:!0,globalClusterId:s._instanceId}};e.push(m)}else(!t._globalClusterId||t._globalClusterRole===Bs.None)&&e.push(c(t))}),e},[ce,Fe,f,v,a,te,ne,Le,n,i,M,x,k]),Be=(0,W.useMemo)(()=>{let e=new Map;return y.forEach(t=>{t.regions.forEach(t=>{e.set(t.regionId,t.regionName||t.regionId)})}),e},[y]),Ve=()=>{xe({open:!0,children:(0,G.jsx)(t4,{regionId:T??void 0}),size:`medium`})},He=(0,W.useMemo)(()=>{if(!Ce)return[];let e=(e,t,r)=>{let a=()=>{xe({open:!0,children:(0,G.jsx)(n4,{databaseName:e,regionId:r}),size:`medium`})},o=encodeURIComponent(e),s=`${t}/${e}`,c=Ie(t,e),l=!c||c.loading,u=c?.collectionList||[],d=!l&&u.length===0,f=Te.find(e=>e._instanceId===t),p=f?Kc(xc(v,Hs.Common,f._globalClusterRole),f._instanceOriginStatusName):!1,m=E(I.OnDemandComputeData,`write`,{resourceId:t}),h=l?[,,].fill(1).map((n,r)=>({id:`${t}-${e}-col-loading-${r}`,type:Zi.LOADING,label:``})):d?[{id:`${t}-${e}-empty`,type:Zi.NONE,label:M(`collections:list.empty.title`)}]:u.map(e=>({id:`${s}-${e._collectionName}`,label:e._collectionName,iconType:`collection`,href:`/orgs/${n}/projects/${i}/on-demand/clusters/${t}/databases/${o}/collections/${e._collectionName}`,actionNode:(n,r)=>(0,G.jsx)(J0,{collection:e,onClick:n,onClose:r,isSupportLoadOrRelease:!1,isAllowCollectionWrite:p,clusterId:t})}));return{id:s,label:e,href:`/orgs/${n}/projects/${i}/on-demand/clusters/${t}/databases/${o}`,iconType:`database`,actionNode:m?(r,s)=>{let c=[{label:M(`collections:create.title`),onItemClick:()=>{me(`/orgs/${n}/projects/${i}/on-demand/clusters/${t}/create/collection?databaseName=${o}`)},key:`createCollection`}];return e!=="default"&&c.push({label:M(`common:button.drop`),onItemClick:a,key:`dropProjectDatabase`}),(0,G.jsx)(a4,{clusterId:t,items:c,handleClick:r,handleClose:s})}:void 0,children:h}};return ke.map(t=>{let n=t._regionId,r=Ee.filter(e=>e.catalogClusterId===t._instanceId).map(({name:t,catalogClusterId:n,regionId:r})=>e(t,n,r));return{catalogClusterId:t._instanceId,regionId:n,regionName:Be.get(n)||n,nodes:r}})},[Ce,Te,ke,Ee,Be,Fe,n,i,me,xe,M]),Ue=(0,W.useMemo)(()=>He.flatMap(e=>e.nodes),[He]),We=ke.length>1,Ge=e=>{let t=[],n=e=>
49{e.forEach(e=>{t.push(String(e.id)),e.children&&n(e.children)})};return n(e),t},Ke=(e,t)=>{if(!t){be(e);return}be(n=>[...n.filter(e=>!t.has(e)),...e])},qe=e=>e.reduce((e,t)=>{let n=ye.includes(String(t.id))&&t.children?t.children.length:0;return e+1+n},0),Je=ZC({min:248});(0,W.useEffect)(()=>{ve([]),ge(``)},[i]),(0,W.useEffect)(()=>{if(!T||!a||f)return;let e=c.find(e=>e._instanceId===a);if(!e||vc(e,T))return;let t=fe===`ondemand-clusters`?`/orgs/${n}/projects/${i}/on-demand/clusters`:fe===`ondemand-databases`?`/orgs/${n}/projects/${i}/on-demand/databases`:`/orgs/${n}/projects/${i}/clusters`;me(t,{replace:!0})},[a,f,c,me,n,i,T,fe]),(0,W.useEffect)(()=>{let e=o,t=le.some(e=>e._instanceId===a),n=``;t?n=`ondemand-${a}`:Se?n+=`${a}/${Se}`:n+=a,!t&&e&&(n+=`-${e}`),ge(n)},[a,o,ze,Se,le]);let Ye=Ae.find(e=>e._instanceId===a),Xe=Ye?._instanceId,Ze=Ye?._globalClusterRole===Bs.None?void 0:Ye?._globalClusterId,Qe=Ye?._instanceType===Hs.Common&&!Ye?._isGlobalClusterEntity;(0,W.useEffect)(()=>{if(!a)return;let e=[];Xe&&(Ze&&e.push(Ze),e.push(a),Qe&&e.push(`${a}/${Se||`default`}`)),ve(t=>t.length===e.length&&t.every((t,n)=>t===e[n])?t:e)},[a,Se,Xe,Ze,Qe]);let $e=Te.some(e=>e._instanceId===a&&e._instanceType===Hs.CatalogCluster);(0,W.useEffect)(()=>{if(!a||!Se||!$e)return;let e=`${a}/${Se}`;be(t=>t.includes(e)?t:[...t,e])},[a,Se,$e]);let et=(e,t)=>{for(let n=0;n<e.length;n++){if(e[n].id===t)return e[n];let r=et(e[n].children||[],t);if(r)return r}},tt=(e,t)=>{let n=et(ze,t);n?.disable?oe(b,!!x?._hasPayMethod):n?.href&&me(n.href)},nt=(e,t)=>{let n=t.length<_e.length,r=n?_e.filter(e=>!t.includes(e)):t.filter(e=>!_e.includes(e));if(et(ze,r[0])?.disable)return;if(!n&&r[0]?.includes(`/`)){let[e,t]=r[0].split(`/`),n=Ae.find(t=>t._instanceId===e);e&&t&&Me(n)&&g.invalidateQueries({queryKey:Gl.list(e,t,S)})}let i=e=>{let t=Ae.find(t=>t._instanceId===e);return t?._isGlobalClusterEntity?e:!e.includes(`/`)&&t?t._globalClusterId&&t._globalClusterRole!==Bs.None?t._globalClusterId:e:null},a=new Set(_e.map(i).filter(Boolean)),o=new Set(t.map(i).filter(Boolean));!n&&o.size>a.size&&o.size>1?ve(r):ve(t)},rt=()=>{h(!0),re([]),s4!==null&&clearTimeout(s4),s4=setTimeout(async()=>{try{await m(i),g.invalidateQueries({queryKey:Gl.lists()})}finally{h(!1)}},500)},it=fe===`ondemand-clusters`&&!f&&le.length===0;return D?t?(0,G.jsx)(Vt,{loading:!0,loadingText:``}):null:O||it?null:(0,G.jsxs)(`div`,{className:R(K.wrapper,{[K.hide]:!t||fe!==`ondemand-clusters`&&!Ae.length}),ref:Je.ref,children:[(0,G.jsxs)(`div`,{className:K.dbTreeWrapper,children:[fe===`serving`&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`div`,{className:R(K.menuBar),children:[(0,G.jsx)(L,{variant:`body2Medium`,className:K.sectionTitle,children:M(`common:layout.tree.servingTitle`)}),(0,G.jsxs)(`div`,{className:K.menuBarActions,children:[(0,G.jsx)(fr,{size:`xs`,onClick:rt,tooltip:{title:M(`common:button.refresh`)},children:(0,G.jsx)(Er,{})}),(()=>{let e=!S&&ue.length===0,t=ee?e?M(`project:alert.noRegion.message`):void 0:LO(M,[{resource:I.ServingCluster,action:`create`}]);return(0,G.jsx)(fr,{size:`xs`,onClick:ae,disabled:!ee||e,tooltip:t?{title:t}:void 0,children:(0,G.jsx)(Sa,{size:16})})})()]})]}),(0,G.jsx)(`div`,{className:R(K.treeWrapper,{[K.loading]:f}),children:f?(0,G.jsx)(Vt,{loading:!0,loadingText:``,classes:{container:K.treeLoadingContainer}}):ze.length>0?(0,G.jsx)(ua,{items:ze,iconMap:i4,onNodeSelect:tt,onNodeToggle:nt,selected:he,expanded:_e,indentWidth:24,classes:{treeNode:K.treeContentWrapper,staticNode:K.staticNode,level1:K.noCollection,level2:K.noCollection,level3:K.level3,level4:K.level4,loadingNode:K.loadingNode,virtualTreeList:K.virtualTreeList},isSupportRightClick:!0}):(0,G.jsx)(L,{variant:`body2Regular`,className:K.noResult,children:M(`common:layout.tree.noResult`)})})]}),fe===`ondemand-clusters`&&(0,G.jsxs)(`div`,{className:K.menuBar,children:[(0,G.jsx)(L,{variant:`body2Medium`,className:K.sectionTitle,children:M(`onDemandCluster:tree.clustersSectionTitle`)}),(0,G.jsxs)(`div`,{className:K.menuBarActions,children:[(0,G.jsx)(fr,{size:`xs`,onClick:rt,tooltip:{title:M(`common:button.refresh`)},children:(0,G.jsx)(Er,{})}),(()=>{let e=d.length>=20,t=j?e?M(`onDemandCluster:create.exceedLimit`,{limit:20}):void 0:LO(M,[{resource:I.OnDemandCluster,action:`create`}]);return(0,G.jsx)(fr,{size:`xs`,onClick:pe,disabled:!j||e,tooltip:t?{title:t}:void 0,children:(0,G.jsx)(Sa,{size:16})})})()]})]}),fe===`ondemand-clusters`&&(0,G.jsx)(`div`,{className:R(K.treeWrapper,{[K.loading]:f}),children:f?(0,G.jsx)(Vt,{loading:!0,loadingText:``,classes:{container:K.treeLoadingContainer}}
49):le.length>0?(0,G.jsx)(ua,{items:le.map(e=>{let t=e4({queryCluster:e,catalogClusters:Te,projectId:i});return{id:`ondemand-${e._instanceId}`,label:e._instanceName||e._instanceId,iconType:`onDemandCluster`,href:`/orgs/${n}/projects/${i}/on-demand/clusters/${e._instanceId}`,actionNode:(n,r)=>(0,G.jsx)($2,{cluster:e,catalogCluster:t,onClick:n,onClose:r})}}),iconMap:i4,onNodeSelect:(e,t)=>{let r=t.replace(/^ondemand-/,``);me(`/orgs/${n}/projects/${i}/on-demand/clusters/${r}`)},selected:he,expanded:[],indentWidth:24,classes:{treeNode:K.treeContentWrapper,staticNode:K.staticNode,level1:K.noCollection,virtualTreeList:K.virtualTreeList}}):(0,G.jsx)(L,{variant:`body2Regular`,className:K.noResult,children:M(`common:layout.tree.noResult`)})}),fe===`ondemand-databases`&&Ce&&(0,G.jsxs)(`div`,{className:K.otherDbSection,children:[(0,G.jsxs)(`div`,{className:K.otherDbHeader,children:[(0,G.jsx)(`div`,{className:K.otherDbTitleRow,children:(0,G.jsx)(L,{variant:`body2Medium`,className:K.otherDbTitle,children:M(`onDemandCluster:page.title.databases`)})}),we&&(0,G.jsxs)(`div`,{className:K.otherDbActions,children:[(0,G.jsx)(fr,{size:`xs`,onClick:()=>De(),disabled:Oe,tooltip:{title:M(`common:button.refresh`)},children:(0,G.jsx)(Er,{})}),(0,G.jsx)(fr,{size:`xs`,onClick:Ve,disabled:!je,tooltip:je?void 0:{title:LO(M,[{resource:I.OnDemandComputeData,action:`write`}])},children:(0,G.jsx)(Sa,{size:16})})]})]}),we?Oe?(0,G.jsx)(Vt,{loading:!0,loadingText:``,classes:{container:K.treeLoadingContainer}}):Ue.length>0?(0,G.jsx)(`div`,{className:K.otherDbTreeWrapper,children:We?He.filter(e=>e.nodes.length>0).map(e=>{let t=new Set(Ge(e.nodes)),n=ye.filter(e=>t.has(e));return(0,G.jsxs)(`div`,{className:K.otherDbRegionGroup,children:[(0,G.jsx)(L,{variant:`caption`,className:K.otherDbRegionLabel,children:e.regionName}),(0,G.jsx)(`div`,{className:K.otherDbRegionTree,style:{height:qe(e.nodes)*36},children:(0,G.jsx)(ua,{items:e.nodes,iconMap:i4,onNodeSelect:(t,n)=>{let r=et(e.nodes,n);r?.href&&me(r.href)},onNodeToggle:(e,n)=>Ke(n,t),selected:he,expanded:n,indentWidth:24,classes:{treeNode:K.treeContentWrapper,staticNode:K.staticNode,level1:K.otherDbCollection,level2:K.noCollection,level3:K.level3,virtualTreeList:K.virtualTreeList}})})]},e.catalogClusterId)}):(0,G.jsx)(`div`,{className:K.otherDbRegionTree,style:{height:qe(Ue)*36},children:(0,G.jsx)(ua,{items:Ue,iconMap:i4,onNodeSelect:(e,t)=>{let n=et(Ue,t);n?.href&&me(n.href)},onNodeToggle:(e,t)=>Ke(t),selected:he,expanded:ye,indentWidth:24,classes:{treeNode:K.treeContentWrapper,staticNode:K.staticNode,level1:K.otherDbCollection,level2:K.noCollection,level3:K.level3,virtualTreeList:K.virtualTreeList}})})}):(0,G.jsxs)(`div`,{className:K.emptyContainer,children:[(0,G.jsx)(`span`,{className:K.emptyIconBox,children:(0,G.jsx)(Hr,{size:22,className:K.emptyIcon})}),(0,G.jsx)(L,{variant:`body2Medium`,className:K.emptyTitle,children:M(`projectDatabase:section.emptyState.title`)}),(0,G.jsx)(L,{variant:`body3Regular`,className:K.emptyDescription,children:M(`projectDatabase:section.emptyState.description`)})]}):(0,G.jsxs)(`div`,{className:K.emptyContainer,children:[(0,G.jsx)(`span`,{className:K.emptyIconBox,children:(0,G.jsx)(Hr,{size:22,className:K.emptyIcon})}),(0,G.jsx)(L,{variant:`body3Regular`,className:K.emptyDescription,children:M(`projectDatabase:section.noPermissionTip`)})]})]})]}),Je.renderTrigger()]})},l4=class extends eo{BeginTime;EndTime;eligible;constructor(e){super(e),Object.assign(this,e)}static USER_MAINTENANCE_TIME_PREFIX=`${this.CLOUD_PREFIX}/user/maintenancetime`;static USER_MAINTENANCE_TIME_QUERY_URL=`${this.USER_MAINTENANCE_TIME_PREFIX}/query`;static USER_MAINTENANCE_TIME_MODIFY_URL=`${this.USER_MAINTENANCE_TIME_PREFIX}/modify`;static SYSTEM_MAINTENANCE_ELIGIBILITY_URL=`${this.USER_MAINTENANCE_TIME_PREFIX}/eligibility`;static queryUserMaintenanceTime(){return super.search({path:this.USER_MAINTENANCE_TIME_QUERY_URL})}static querySystemMaintenanceStatus(){return super.search({path:this.SYSTEM_MAINTENANCE_ELIGIBILITY_URL})}static modifyUserMaintenanceTime(e,t){return super.create({path:this.USER_MAINTENANCE_TIME_MODIFY_URL,data:{beginTime:e,endTime:t}})}get _beginHour(){return Zs(this.BeginTime||``)}get _endHour(){return Zs(this.EndTime||``)}get _beginTime(){return this.BeginTime||ds.UNKNOWN}get _endTime(){return this.EndTime||ds.UNKNOWN}
49get _value(){return`${this._beginHour}:00:00-${this._endHour}:00:00`}get _canModifyMaintenanceWindow(){return this.eligible}},u4={dialogWrapper:`_dialogWrapper_1myco_3`,iconWrapper:`_iconWrapper_1myco_7`,title:`_title_1myco_17`,desc:`_desc_1myco_22`,rotate:`_rotate_1myco_1`},d4=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 60 61`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`circle`,{cx:30,cy:30.5,r:30,fill:`#FFC700`}),(0,G.jsx)(`path`,{d:`M29.6282 41.4625H31.1663V39.3092C34.1783 39.0785 36.7034 37.3481 36.7034 34.272V34.2592C36.7034 31.5547 34.8577 30.196 31.5636 29.4014L31.1663 29.3116V23.4285C32.8966 23.6464 34.1014 24.7102 34.2809 26.3252L34.2937 26.4406H36.5239L36.5111 26.2483C36.3317 23.5566 34.1143 21.6725 31.1663 21.4033V19.25H29.6282V21.4161C26.6033 21.6981 24.4243 23.5566 24.4243 26.2996V26.3124C24.4243 28.8502 26.1418 30.2729 29.3334 31.042L29.6282 31.1189V37.2841C27.4236 37.0405 26.4751 35.7972 26.2188 34.3232L26.1931 34.1694H23.9629L23.9757 34.3489C24.1808 37.2072 26.5905 39.0272 29.6282 39.2964V41.4625ZM26.6545 26.197V26.1842C26.6545 24.9409 27.6799 23.6976 29.6282 23.4285V28.9399C27.4364 28.4016 26.6545 27.4531 26.6545 26.197ZM31.2432 31.5034C33.7682 32.1187 34.4731 33.0031 34.4731 34.4001V34.413C34.4731 35.8998 33.5503 37.1174 31.1663 37.3097V31.4906L31.2432 31.5034Z`,fill:`white`})]}),f4=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 60 60`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`circle`,{cx:30,cy:30,r:30,fill:`#FFC700`}),(0,G.jsx)(`path`,{d:`M25.7443 20L30.9545 31.3352L29.0455 32.1307L23 20H25.7443ZM29.6023 31.3352L34.8125 20H37.5568L31.5114 32.1307L29.6023 31.3352ZM31.5114 29.6648V40.3636H29.0455V29.6648H31.5114ZM35.9659 30.2216V32.0114H24.5909V30.2216H35.9659ZM35.9659 34.1591V35.9489H24.5909V34.1591H35.9659Z`,fill:`white`})]});function p4(e){let{t}=_(`common`),[n,r]=Lt(A),{title:i,desc:a,onClose:o=()=>{},btnLabel:s,btnVariant:c=`outlined`,icon:l}=e;return(0,G.jsxs)(`div`,{className:u4.dialogWrapper,children:[(0,G.jsx)(`div`,{className:u4.iconWrapper,children:l||(Ts?(0,G.jsx)(f4,{}):(0,G.jsx)(d4,{}))}),(0,G.jsx)(L,{variant:`h1Semibold`,className:u4.title,children:i}),(0,G.jsx)(L,{component:`div`,variant:`body1Regular`,className:u4.desc,children:a}),(0,G.jsx)(z,{variant:c,onClick:()=>{r({...n,open:!1}),o()},children:s||t(`button.close`)})]})}var m4=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 45 45`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{d:`M16.4756 26.8066C19.3364 30.0894 20.7954 37.2612 20.7119 39.6299C20.624 41.9985 22.4521 42.2358 24.5175 41.9678C26.583 41.6953 27.1762 41.2954 26.684 36.9053C26.1919 32.5151 18.5454 23.5371 16.6557 22.0825C14.7661 20.6323 14.063 24.4248 16.4756 26.8066Z`,fill:`#A4BEFF`}),(0,G.jsx)(`path`,{d:`M26.1743 35.0288C25.0361 31.1616 19.332 24.1392 16.6557 22.0825C14.7661 20.6323 14.063 24.4248 16.4756 26.8066C19.1167 30.1597 20.0879 34.5322 20.2197 36.3164C21.56 35.3101 24.7768 34.752 26.1743 35.0288Z`,fill:`#5B79FB`}),(0,G.jsx)(`path`,{d:`M25.6905 2.96198C29.3423 1.52057 34.4268 5.72174 37.0371 12.3443C39.6519 18.9669 38.8081 25.5059 35.1563 26.9473C34.5806 27.1758 33.9654 27.2637 33.3326 27.2198C26.9429 26.8023 21.4453 27.5406 16.4927 28.7403C14.7788 27.9493 12.8628 25.5455 11.6104 22.377C10.3623 19.2086 10.1206 16.1456 10.8282 14.4009C15.1875 11.9356 19.8062 8.65289 24.1743 4.00348C24.6094 3.54645 25.1148 3.19049 25.6905 2.96198Z`,fill:`#6C97F6`}),(0,G.jsx)(`path`,{d:`M14.6339 29.2236C12.8937 27.9668 11.2282 25.7476 10.1295 22.9658C9.03089 20.1885 8.73206 17.4287 9.14515 15.3237C8.79358 15.5083 8.44641 15.6885 8.10364 15.8643C6.02063 16.686 5.54163 20.4126 7.03138 24.1875C8.52112 27.9624 11.4171 30.3574 13.5001 29.5356C13.8781 29.4302 14.256 29.3247 14.6339 29.2236Z`,fill:`#5B79FB`}),(0,G.jsx)(`path`,{d:`M34.5453 25.4004C37.3973 24.2754 37.8631 18.6855 35.5868 12.9199C33.3104 7.15428 29.1532 3.38816 26.3011 4.51316C24.2269 5.33055 23.8446 11.7729 25.8177 16.9892C27.8788 22.4297 32.4447 26.2309 34.5453 25.4004Z`,fill:`#FFAB39`}),(0,G.jsx)(`path`,{d:`M27.1497 2.68065C30.4719 2.63231 34.4534 6.27977 36.7781 11.7114C36.844 11.874 36.9143 12.0366 36.9802 12.2036C39.7268 19.1689 38.4085 25.5674 35.4202 26.7495C32.4319 27.9272 27.2903 23.9941 24.803 17.4199C22.4168 11.1225 23.3396 3.94628 25.8401 2.95751C26.2576 2.79491 26.697 2.70262 27.1497 2.68065ZM34.5457 25.4004C37.3977 24.2754 37.8635 18.6855 35.5872 12.9199C33.3108 7.15428 29.1536 3.38817 26.3015 4.51317C24.2273 5.33055 23.845 11.7729 25.8181 16.9892C27.8792 22.4297 32.4451 26.2309 34.5457 25.4004Z`,fill:`#FF6357`}),(0,G.jsx)(`path`,{d:`M28.3404 27.233C26.3584 27.4131 22.8516 23.1373 21.2696 18.5801C19.6084 13.8077 19.793 8.04645 21.0498 7.05768C22.087 6.02936 24.4688 3.44977 25.6949 2.96637C29.3467 1.52496 34.4312 5.72614 37.0415 12.3487C39.6563 18.9713 38.8125 25.5103 35.1607 26.9517C33.7852 27.4922 30.1158 27.1627 28.3404 27.233Z`,fill:`#5B79FB`}),(0,G.jsx)(`path`,{d:`M34.5453 25.4004C37.3973 24.2754 37.8631 18.6855 35.5868 12.9199C33.3104 7.15428 29.1532 3.38816 26.3011 4.51316C24.2269 5.33055 23.8446 11.7729 25.8177 16.9892C27.8788 22.4297 32.4447 26.2309 34.5453 25.4004Z`,fill:`white`}),(0,G.jsx)(`path`,{d:`M27.5493 12.5244C29.5708 12.5244 31.2144 14.1636 31.2144 16.1895C31.2144 17.9165 30.019 19.3667 28.4106 19.7534C27.7251 18.8174 27.1099 17.7187 26.6528 16.5146C26.2222 15.3721 25.9365 14.1548 25.7871 12.9814C26.3101 12.687 26.9121 12.5244 27.5493 12.5244Z`,fill:`#FF6A5C`})]}),h4=`/assets/beta_features_cn-CVQ2rxuJ.png`,g4=`/assets/beta_features_en-DOiKvIDx.png`,_4={betaFeatureWrapper:`_betaFeatureWrapper_vpd8q_3`,sectionWrapper:`_sectionWrapper_vpd8q_9`,titleBar:`_titleBar_vpd8q_15`,featureNew:`_featureNew_vpd8q_21`,link:`_link_vpd8q_24`,featuresWrapper:`_featuresWrapper_vpd8q_30`,upgradeTitle:`_upgradeTitle_vpd8q_34`,upgradeTip:`_upgradeTip_vpd8q_38`,imgWrapper:`_imgWrapper_vpd8q_47`,image:`_image_vpd8q_50`,rotate:`_rotate_vpd8q_1`};function v4(e){let{t}=_([`common`,`deployments`]),{description:n}=e,r=F(A);return(0,W.useMemo)(()=>bs?g4:h4,[bs]),(0,G.jsx)(sc,{title:t(`deployments:beta.features.title`),confirmLabel:t(`common:button.OKGotIt`),showCancel:!1,confirmBtnProps:{variant:`contained`},showScrollDivider:!1,handleConfirm:()=>{r(e=>({...e,open:!1}))},children:(0,G.jsx)(`div`,{className:_4.betaFeatureWrapper,children:(0,G.jsxs)(`div`,{className:_4.sectionWrapper,children:[(0,G.jsx)(`div`,{className:_4.titleBar,children:(0,G.jsx)(L,{variant:`h4Medium`,className:_4.featureNew,children:(0,G.jsx)(d,{t,i18nKey:`deployments:beta.features.new`,components:[(0,G.jsx)(`a`,{href:vo,className:_4.link})]})})}),(0,G.jsx)(`div`,{className:_4.featuresWrapper,dangerouslySetInnerHTML:{__html:n}})]})})})}var y4=class extends eo{isRead;level;message;title;id;orgId;constructor(e){super(e),Object.assign(this,e)}static ORG_MESSAGE_UNREAD_LIST_URL=`${this.CLOUD_PREFIX}/user/message/unread/list`;static UPDATE_ORG_MESSAGE_STATUS_URL=`${this.CLOUD_PREFIX}/user/message/read`;static fetchOrgMessageUnreadList(){return super.findAll({path:this.ORG_MESSAGE_UNREAD_LIST_URL})}static updateOrgMessageStatus(e){return super.update({path:`${this.UPDATE_ORG_MESSAGE_STATUS_URL}/${e}`})}get _id(){return this.id}get _isRead(){return this.isRead}get _level(){return this.level}
49get _message(){return this.message.replace(/\\n/g,` 50`)}get _orgId(){return this.orgId}get _title(){return this.title}},b4=Zt({key:`orgMessage`,default:void 0}),x4=()=>{let[e,t]=Lt(b4);return{fetchOrgMessage:async()=>{let e=await y4.fetchOrgMessageUnreadList();if(!e.length)return;let n=await As(e[0]._message);t({_id:e[0]._id,_isRead:e[0]._isRead,_title:e[0]._title,_message:n})},orgMessage:e,resetOrgMessage:ot(b4)}},S4=he,C4=function(e){return e.firstName=`firstName`,e.lastName=`lastName`,e.company=`company`,e.country=`country`,e.scale=`scale`,e.reason=`reason`,e.phone=`phone`,e.phoneCode=`phoneCode`,e.jobTitle=`jobTitle`,e.jobTitleOther=`jobTitleOther`,e.cloudId=`cloudId`,e.regionId=`regionId`,e}({}),w4=function(e){return e.UseCase=`useCase`,e.ThreeMonthVector=`3monthVector`,e.SixMonthVector=`6monthVector`,e.LaunchTime=`launchTime`,e.Milvus=`milvus`,e.Message=`message`,e}({}),T4=function(e){return e.Survey=`survey`,e.InitAccount=`initAccount`,e}({}),E4=[{label:`Less than 1M vectors`,value:`Less than 1M vectors`},{label:`1M to 10M vectors`,value:`1M to 10M vectors`},{label:`10M to 100M vectors`,value:`10M to 100M vectors`},{label:`More than 100M vectors`,value:`More than 100M vectors`}],D4=[{label:`RAG / Text Search / Product Search`,value:`RAG / Text Search / Product Search`},{label:`Image / Video / Audio Search`,value:`Image / Video / Audio Search`},{label:`Recommender System`,value:`Recommender System`},{label:`Anomaly Detection`,value:`Anomaly Detection`},{label:`Other`,value:`Other`}],O4=[{label:`Within the next month (Urgent)`,value:`Within the next month (Urgent)`},{label:`In 1-3 months`,value:`In 1-3 months`},{label:`In 3-6 months`,value:`In 3-6 months`},{label:`In 6-12 months`,value:`In 6-12 months`}],k4={main:`_main_1y8ti_3`,header:`_header_1y8ti_16`,text:`_text_1y8ti_23`,divider:`_divider_1y8ti_27`,content:`_content_1y8ti_35`,rotate:`_rotate_1y8ti_1`},A4=`/assets/sa-avatar-DZWgC3gF.png`,j4=e=>{let{children:t,classes:n={main:``,header:``,content:``}}=e,{t:r}=_(`information`);return(0,G.jsxs)(`div`,{className:R(k4.main,n.main),children:[(0,G.jsxs)(`div`,{className:R(k4.header,n.header),children:[(0,G.jsx)(`img`,{width:32,height:32,alt:`onboarding-survey-header`,src:A4}),(0,G.jsxs)(`div`,{className:k4.text,children:[(0,G.jsx)(L,{variant:`body2Medium`,children:r(`survey.header.name`)}),(0,G.jsx)(`div`,{className:k4.divider}),(0,G.jsx)(L,{variant:`body3Regular`,color:`textSecondary`,children:r(`survey.header.desc`)})]})]}),(0,G.jsx)(`div`,{className:R(k4.content,n.content),children:t})]})},M4={container:`_container_yqv6u_3`,stepCard:`_stepCard_yqv6u_7`,stepHeader:`_stepHeader_yqv6u_12`,questionTitle:`_questionTitle_yqv6u_15`,rewardLabel:`_rewardLabel_yqv6u_16`,formField:`_formField_yqv6u_37`,messageField:`_messageField_yqv6u_41`,actions:`_actions_yqv6u_47`,rotate:`_rotate_yqv6u_1`},N4={optionsGrid:`_optionsGrid_1dv3h_3`,optionButton:`_optionButton_1dv3h_9`,optionSelected:`_optionSelected_1dv3h_21`,rotate:`_rotate_1dv3h_1`},P4=e=>{let{name:t,control:n,options:r,rules:i,multiple:a=!1}=e,{field:{value:o,onChange:s}}=De({name:t,control:n,rules:i}),c=e=>{if(!a){s(e);return}let t=o??[],n=t.includes(e)?t.filter(t=>t!==e):[...t,e];s(n)};return(0,G.jsx)(`div`,{className:N4.optionsGrid,children:r.map(e=>(0,G.jsx)(L,{role:`button`,component:`span`,className:R(N4.optionButton,{[N4.optionSelected]:a?(o??[]).includes(e.value):o===e.value}),onClick:()=>c(e.value),children:e.label},e.value))})},F4=``,I4=`hubspotutk`,L4=window.location.href,R4=`signUp`,z4=`0-1`,B4=async e=>{let{fields:t}=e,n=t.map(e=>({objectTypeId:z4,name:e.name,value:e.value})),r=``;try{let[e,t]=document.cookie.split(`; ${I4}=`);r=t.split(`;`)[0]}catch{r=``}let i={pageUri:L4,pageName:R4};r&&(i.hutk=r);try{await ue.post(F4,{submittedAt:new Date().getTime(),fields:n,context:i})}catch(e){throw e}},V4={firstName:`firstname`,lastName:`lastname`,email:`email`,company:`company`,phone:`phone`,country:`country`,jobTitle:`jobtitle`,[w4.UseCase]:`cloud_use_case`,[w4.ThreeMonthVector]:`data_scale_estimate`,[w4.SixMonthVector]:`yearly_data_scale`,[w4.LaunchTime]:`launch_time`,[w4.Milvus]:`are_you_using_self_hosted__open_source__milvus_`,[w4.Message]:`message`},H4=e=>{let t=e.phoneCode;return Object.entries(e).filter(([e])=>e in V4&&e!==`phoneCode`).map(([e,n])=>{let r=V4[e],i=n||ds.UNKNOWN;return e===`phone`&&t&&(i=`${t}${n||``}`||ds.UNKNOWN),{name:r,value:i}})},U4=()=>{let[e,t]=(0,W.useState)(!1);return{submitSurvey:(0,W.useCallback)(async e=>{let{surveyInfo:n,userInfo:r={},orgId:i}=e;t(!0);try{let e=H4(r),t=H4(n),a=[{name:`cloud_submit_notes`,value:i?`New user survey submission, orgId: ${i}`:`New user survey submission`}];await B4({fields:[...e,...t,...a]})}finally{t(!1)}},[]),loading:e}},W4={welcomeContainer:`_welcomeContainer_14fw7_3`,rewardIcon:`_rewardIcon_14fw7_8`,rewardDesc:`_rewardDesc_14fw7_12`,divider:`_divider_14fw7_25`,rotate:`_rotate_14fw7_1`},G4=()=>{let{t:e}=_(`information`);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`div`,{className:W4.welcomeContainer,children:[(0,G.jsx)(L,{variant:`h2Semibold`,children:e(`survey.dialog.introTitle`)}),(0,G.jsx)(L,{variant:`body2Regular`,children:e(`survey.dialog.introDesc`)}),(0,G.jsx)(ni,{severity:`gradient`,icon:(0,G.jsx)(ta,{className:W4.rewardIcon}),children:(0,G.jsx)(L,{variant:`body3Regular`,className:W4.rewardDesc,children:e(`survey.dialog.rewardDesc`)})})]}
50),(0,G.jsx)(`div`,{className:W4.divider})]})},K4=(e,t)=>{let n=!!e.optional,r=typeof t==`string`?t.trim():t,i=e.type===`textarea`?!r:t===``||t===void 0;return{canProceed:n||!i}},q4=({orgId:e,onClose:t})=>{let{t:n}=_([`information`,`common`]),{resetDialog:r}=re(),{control:i,handleSubmit:a,watch:o}=Re(),{profile:s}=Pc(),{submitSurvey:c,loading:l}=U4(),[u,f]=(0,W.useState)(0),p=(0,W.useMemo)(()=>[{value:`Yes`,label:n(`common:button.yes`)},{value:`No`,label:n(`common:button.no`)}],[n]),m=(0,W.useMemo)(()=>{let e=n(`survey.form.vector.label`);return[{id:w4.UseCase,title:n(`survey.form.useCase`),type:`select`,options:D4,reward:20},{id:w4.ThreeMonthVector,title:`${e} ${n(`survey.form.vector.3month`)}?`,type:`select`,options:E4,reward:20},{id:w4.SixMonthVector,title:`${e} ${n(`survey.form.vector.6month`)}?`,type:`select`,options:E4,reward:20},{id:w4.LaunchTime,title:n(`survey.form.when`),type:`select`,options:O4,reward:20},{id:w4.Milvus,title:n(`survey.form.milvus`),type:`select`,options:p,reward:10},{id:w4.Message,title:(0,G.jsx)(d,{t:n,i18nKey:`survey.form.help.label`,components:[(0,G.jsx)(L,{component:`span`,color:`textSecondary`})]}),type:`textarea`,placeholder:n(`survey.form.help.placeholder`),optional:!0,reward:10}]},[n,p]),h=m[u],{canProceed:g}=K4(h,o(h.id)),{leftActionLabel:v,isFirstStep:y,isLastStep:b,confirmLabel:x}=(0,W.useMemo)(()=>{let e=u===0,t=u===m.length-1;return{leftActionLabel:n(e?`survey.actions.skip`:`survey.actions.back`),isFirstStep:e,isLastStep:t,confirmLabel:n(t?`survey.actions.submit`:`survey.actions.continue`)}},[u,m.length]),S=async n=>{try{await c({surveyInfo:n,userInfo:{firstName:s._firstName,lastName:s._lastName,email:s._email,company:s._company,phone:s._phone,country:s._country,jobTitle:s._jobTitle},orgId:e})}catch(e){console.error(`Failed to submit onboarding survey`,e)}finally{r(),t?.()}};return(0,G.jsxs)(`div`,{className:M4.container,children:[y&&(0,G.jsx)(G4,{}),(0,G.jsxs)(`div`,{className:M4.stepCard,children:[(0,G.jsx)(L,{variant:`body3Regular`,color:`textSecondary`,children:`${u+1}/${m.length}`}),(0,G.jsxs)(`div`,{className:M4.stepHeader,children:[(0,G.jsx)(L,{variant:`h2Semibold`,component:`span`,className:M4.questionTitle,children:h.title}),(0,G.jsx)(L,{variant:`body3Medium`,component:`span`,className:M4.rewardLabel,children:n(`survey.dialog.rewardPerStep`,{credits:h.reward})})]}),(0,G.jsx)(`div`,{className:M4.formField,children:h.type===`textarea`?(0,G.jsx)(iu,{name:h.id,componentProps:{fullWidth:!0,multiline:!0,rows:2,placeholder:h.placeholder,className:M4.messageField}},h.id):(0,G.jsx)(P4,{name:h.id,control:i,options:h.options??[],rules:{required:!h.optional}},h.id)}),(0,G.jsxs)(`div`,{className:M4.actions,children:[(0,G.jsx)(z,{variant:`textBlack`,withMargin:!1,onClick:()=>{if(y){r(),t?.();return}f(e=>Math.max(e-1,0))},startIcon:y?null:(0,G.jsx)(Aa,{size:16}),children:v}),(0,G.jsx)(z,{onClick:async()=>{if(b){if(l)return;await a(S)();return}f(e=>Math.min(e+1,m.length-1))},disabled:!g||b&&l,loading:b&&l,children:x})]})]})]})},J4=tu(e=>{let{orgId:t,onClose:n}=e;return(0,G.jsx)(S4,{showActions:!1,useFormProps:{defaultValues:(0,W.useMemo)(()=>({[w4.UseCase]:``,[w4.ThreeMonthVector]:``,[w4.SixMonthVector]:``,[w4.LaunchTime]:``,[w4.Milvus]:``,[w4.Message]:``}),[])},children:(0,G.jsx)(j4,{children:(0,G.jsx)(q4,{orgId:t,onClose:n})})})},{size:`custom`,width:520,disableEscapeKeyDown:!0}),Y4={container:`_container_1h6td_3`,bannerContainer:`_bannerContainer_1h6td_12`,banner:`_banner_1h6td_12`,closeBtn:`_closeBtn_1h6td_30`,content:`_content_1h6td_37`,desc:`_desc_1h6td_41`,rotate:`_rotate_1h6td_1`},X4=e=>{let{t}=_(`onboard`),{onClose:n,onCreateCluster:r,remainingCredits:i}=e;return!i||i===fe.AMOUNT?null:(0,G.jsxs)(`div`,{className:Y4.container,children:[(0,G.jsxs)(`div`,{className:Y4.bannerContainer,children:[(0,G.jsx)(`div`,{lang:Es,className:Y4.banner}),(0,G.jsx)(fr,{withMargin:!1,className:Y4.closeBtn,onClick:n,children:(0,G.jsx)($r,{})})]}),(0,G.jsxs)(`div`,{className:Y4.content,children:[(0,G.jsx)(L,{variant:`h4Semibold`,children:t(`registerCreditsGuide.title`,{remainingCredits:i})}),(0,G.jsx)(L,{variant:`body1Regular`,className:Y4.desc,children:t(`registerCreditsGuide.desc`,{remainingCredits:i})}),(0,G.jsx)(z,{variant:`outlined`,onClick:r,children:t(`registerCreditsGuide.button`)})]})]})},Z4=[`pointerdown`,`mousedown`,`pointerup`,`mouseup`,`click`],Q4=new WeakMap;function $4(e,t,n){e3(e);let r=r=>{let i=r.target;e.contains(i)&&((!n||n(i))&&(r.preventDefault(),r.stopPropagation(),r.stopImmediatePropagation()),r.type===`click`&&t?.(r))};for(let e of Z4)document.addEventListener(e,r,!0);Q4.set(e,r)}function e3(e){let t=Q4.get(e);if(t){for(let e of Z4)document.removeEventListener(e,t,!0);Q4.delete(e)}}function t3(e,t){let n=e.wrapper.getBoundingClientRect();return{width:n.width+t,height:n.height+t,realWidth:n.width,realHeight:n.height}}function n3(e,t){let{elementDimensions:n,popoverDimensions:r,popoverPadding:i,popoverArrowDimensions:a}=t;return e===`start`?Math.max(Math.min(n.top-i,window.innerHeight-r.realHeight-a.width),a.width):e===`end`?Math.max(Math.min(n.top-r?.realHeight+n.height+i,window.innerHeight-r?.realHeight-a.width),a.width):e===`center`?Math.max(Math.min(n.top+n.height/2-r?.realHeight/2,window.innerHeight-r?.realHeight-a.width),a.width):0}function r3(e,t){let{elementDimensions:n,popoverDimensions:r,popoverPadding:i,popoverArrowDimensions:a}=t;return e===`start`?Math.max(Math.min(n.left-i,window.innerWidth-r.realWidth-a.width),a.width):e===`end`?Math.max(Math.min(n.left-r?.realWidth+n.width+i,window.innerWidth-r?.realWidth-a.width),a.width):e===`center`?Math.max(Math.min(n.left+n.width/2-r?.realWidth/2,window.innerWidth-r?.realWidth-a.width),a.width):0}function i3(e,t,n){let{align:r,side:i}=n,a=n.centered?`over`:i,o=n.padding,s=t3(e,n.offset),c=e.arrow.getBoundingClientRect(),l=t.getBoundingClientRect(),u=l.top-s.height,d=u>=0,f=window.innerHeight-(l.bottom+s.height),p=f>=0,m=l.left-s.width,h=m>=0,g=window.innerWidth-(l.right+s.width),_=g>=0,v=!d&&!p&&!h&&!_,y=a;if(a===`top`&&d?_=h=p=!1:a===`bottom`&&p?_=h=d=!1:a===`left`&&h?_=d=p=!1:a===`right`&&_&&(h=d=p=!1),a===`over`){let t=window.innerWidth/2-s.realWidth/2,n=window.innerHeight/2-s.realHeight/2;e.wrapper.style.left=`${t}px`,e.wrapper.style.right=`auto`,e.wrapper.style.top=`${n}px`,e.wrapper.style.bottom=`auto`}else if(v){let t=window.innerWidth/2-s?.realWidth/2;e.wrapper.style.left=`${t}px`,e.wrapper.style.right=`auto`,e.wrapper.style.bottom=`10px`,e.wrapper.style.top=`auto`}else if(h){let t=Math.min(m,window.innerWidth-s?.realWidth-c.width),n=n3(r,{elementDimensions:l,popoverDimensions:s,popoverPadding:o,popoverArrowDimensions:c});e.wrapper.style.left=`${t}px`,e.wrapper.style.top=`${n}px`,e.wrapper.style.bottom=`auto`,e.wrapper.style.right=`auto`,y=`left`}else if(_){let t=Math.min(g,window.innerWidth-s?.realWidth-c.width),n=n3(r,{elementDimensions:l,popoverDimensions:s,popoverPadding:o,popoverArrowDimensions:c});e.wrapper.style.right=`${t}px`,e.wrapper.style.top=`${n}px`,e.wrapper.style.bottom=`auto`,e.wrapper.style.left=`auto`,y=`right`}else if(d){let t=Math.min(u,window.innerHeight-s.realHeight-c.width),n=r3(r,{elementDimensions:l,popoverDimensions:s,popoverPadding:o,popoverArrowDimensions:c});e.wrapper.style.top=`${t}px`,e.wrapper.style.left=`${n}px`,e.wrapper.style.bottom=`auto`,e.wrapper.style.right=`auto`,y=`top`}else if(p){let t=Math.min(f,window.innerHeight-s?.realHeight-c.width),n=r3(r,{elementDimensions:l,popoverDimensions:s,popoverPadding:o,popoverArrowDimensions:c});e.wrapper.style.left=`${n}px`,e.wrapper.style.bottom=`${t}px`,e.wrapper.style.top=`auto`,e.wrapper.style.right=`auto`,y=`bottom`}c3(e,v?`over`:y,r,t),[...e.wrapper.classList].filter(e=>e.startsWith(`driver-popover-side-`)||e.startsWith(`driver-popover-align-`)).forEac
vendor: 19,813 bytes, lines 50-51
50h(t=>e.wrapper.classList.remove(t)),e.wrapper.classList.add(`driver-popover-side-${y}`),e.wrapper.classList.add(`driver-popover-align-${r}`)}function a3(e,t,n,r,i,a=10){let o=r-n;return e<=n&&t>=r?i===`start`?15+a/2:i===`end`?o-15-a/2:o/2:(Math.min(Math.max(e,n),r)+Math.min(Math.max(t,n),r))/2-n}function o3(e,t,n=10){let r=t-15-n;if(r<15)return Math.max(0,(t-n)/2);let i=e-n/2;return Math.min(Math.max(i,15),r)}function s3(e,t,n){return e===`left`||e===`right`?t.bottom>n.top&&t.top<n.bottom?e:t.bottom<=n.top?`bottom`:`top`:t.right>n.left&&t.left<n.right?e:t.right<=n.left?`right`:`left`}function c3(e,t,n,r){let i=e.arrow;if(i.className=`driver-popover-arrow`,i.style.top=``,i.style.right=``,i.style.bottom=``,i.style.left=``,t===`over`){i.classList.add(`driver-popover-arrow-none`);return}let a=r.getBoundingClientRect(),o=e.wrapper.getBoundingClientRect(),s=s3(t,a,o);i.classList.add(`driver-popover-arrow-side-${s}`);let c=i.getBoundingClientRect().width||10;if(s===`left`||s===`right`){let e=a3(a.top,a.bottom,o.top,o.bottom,n,c);i.style.top=`${o3(e,o.height,c)}px`}else{let e=a3(a.left,a.right,o.left,o.right,n,c);i.style.left=`${o3(e,o.width,c)}px`}}function l3(e){return typeof e==`function`?e():typeof e==`string`?document.querySelector(e):e}function u3(e){let t=window.getComputedStyle(e);return[t.overflow,t.overflowX,t.overflowY].some(e=>e===`auto`||e===`scroll`)}function d3(e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}function f3(e){let t=`a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])`;return e.flatMap(e=>{let n=e.matches(t),r=Array.from(e.querySelectorAll(t));return[...n?[e]:[],...r]}).filter(e=>getComputedStyle(e).pointerEvents!==`none`&&g3(e))}function p3(e,t){if(!e||h3(e))return;let n=e.offsetHeight>window.innerHeight;e.scrollIntoView({behavior:!t||m3(e)?`auto`:`smooth`,inline:`center`,block:n?`start`:`center`})}function m3(e){if(!e||!e.parentElement)return;let t=e.parentElement;return t.scrollHeight>t.clientHeight}function h3(e){let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function g3(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function _3(e){e&&(e.wrapper.style.display=`none`)}function v3(e,t){let n=b3();document.body.appendChild(n.wrapper);let{title:r,description:i,showButtons:a,disableButtons:o,showProgress:s,nextBtnText:c,prevBtnText:l,progressText:u}=t;n.nextButton.innerHTML=c,n.previousButton.innerHTML=l,n.progress.innerHTML=u,t.doneButton&&n.nextButton.classList.add(`driver-popover-done-btn`),r?(n.title.innerHTML=r,n.title.style.display=`block`):n.title.style.display=`none`,i?(n.description.innerHTML=i,n.description.style.display=`block`):n.description.style.display=`none`;let d=a.includes(`next`)||a.includes(`previous`)||s;n.closeButton.style.display=a.includes(`close`)?`block`:`none`,d?(n.footer.style.display=`flex`,n.progress.style.display=s?`block`:`none`,n.nextButton.style.display=a.includes(`next`)?`block`:`none`,n.previousButton.style.display=a.includes(`previous`)?`block`:`none`):n.footer.style.display=`none`,o.includes(`next`)&&(n.nextButton.disabled=!0,n.nextButton.classList.add(`driver-popover-btn-disabled`)),o.includes(`previous`)&&(n.previousButton.disabled=!0,n.previousButton.classList.add(`driver-popover-btn-disabled`)),o.includes(`close`)&&(n.closeButton.disabled=!0,n.closeButton.classList.add(`driver-popover-btn-disabled`));let f=n.wrapper;f.style.display=`block`,f.style.left=``,f.style.top=``,f.style.bottom=``,f.style.right=``,f.id=`driver-popover-content`,f.setAttribute(`role`,`dialog`),f.setAttribute(`aria-labelledby`,`driver-popover-title`),f.setAttribute(`aria-describedby`,`driver-popover-description`);let p=n.arrow;p.className=`driver-popover-arrow`,f.className=`driver-popover ${t.popoverClass||``}`.trim(),$4(n.wrapper,e=>{let n=e.target;if(n.closest(`.driver-popover-next-btn`))return t.onNextClick?.();if(n.closest(`.driver-popover-prev-btn`))return t.onPrevClick?.();if(n.closest(`.driver-popover-close-btn`))return t.onCloseClick?.()},e=>n.description.contains(e)||n.title.contains(e)?!1:!!e.closest(`.driver-popover-prev-btn, .driver-popover-next-btn, .driver-popover-close-btn`)),t.onRender?.(n),i3(n,e,t.position),y3(n,e,t.position),p3(f,t.smoothScroll);let m=f3([f,e]);return m.length>0&&m[0].focus(),n}function y3(e,t,n){e.wrapper.querySelectorAll(`img`).forEach(r=>{if(r.complete)return;let i=()=>i3(e,t,n);r.addEventListener(`load`,i,{once:!0}),r.addEventListener(`error`,i,{once:!0})})}function b3(){let e=document.createElement(`div`);e.classList.add(`driver-popover`);let t=document.createElement(`div`);t.classList.add(`driver-popover-arrow`);let n=document.createElement(`header`);n.id=`driver-popover-title`,n.classList.add(`driver-popover-title`),n.style.display=`none`,n.innerText=`Popover Title`;let r=document.createElement(`div`);r.id=`driver-popover-description`,r.classList.add(`driver-popover-description`),r.style.display=`none`,r.innerText=`Popover description is here`;let i=document.createElement(`button`);i.type=`button`,i.classList.add(`driver-popover-close-btn`),i.setAttribute(`aria-label`,`Close`),i.innerHTML=`×`;let a=document.createElement(`footer`);a.classList.add(`driver-popover-footer`);let o=document.createElement(`span`);o.classList.add(`driver-popover-progress-text`),o.innerText=``;let s=document.createElement(`span`);s.classList.add(`driver-popover-navigation-btns`);let c=document.createElement(`button`);c.type=`button`,c.classList.add(`driver-popover-prev-btn`,`driver-popover-footer-btn`),c.innerHTML=`Previous`;let l=document.createElement(`button`);return l.type=`button`,l.classList.add(`driver-popover-next-btn`,`driver-popover-footer-btn`),l.innerHTML=`Next`,s.appendChild(c),s.appendChild(l),a.appendChild(o),a.appendChild(s),e.appendChild(i),e.appendChild(t),e.appendChild(n),e.appendChild(r),e.appendChild(a),{wrapper:e,arrow:t,title:n,description:r,footer:a,previousButton:c,nextButton:l,closeButton:i,footerButtons:s,progress:o}}function x3(e){e&&(e3(e.wrapper),e.wrapper.parentElement?.removeChild(e.wrapper))}function S3(e,t){let n=window.innerWidth,r=window.innerHeight,i=t.padding,a=t.radius,o=e.width+i*2,s=e.height+i*2,c=Math.min(a,o/2,s/2),l=Math.floor(Math.max(c,0)),u=e.x-i+l,d=e.y-i,f=o-l*2,p=s-l*2;return`M${n},0L0,0L0,${r}L${n},${r}L${n},0Z 51 M${u},${d} h${f} a${l},${l} 0 0 1 ${l},${l} v${p} a${l},${l} 0 0 1 -${l},${l} h-${f} a${l},${l} 0 0 1 -${l},-${l} v-${p} a${l},${l} 0 0 1 ${l},-${l} z`}function C3(e,t,n,r,i){let a=e.getState(`__activeStagePosition`),o=a||r.getBoundingClientRect(),s=i.getBoundingClientRect();a={x:d3(t,o.x,s.x-o.x,n),y:d3(t,o.y,s.y-o.y,n),width:d3(t,o.width,s.width-o.width,n),height:d3(t,o.height,s.height-o.height,n)},D3(e,a),e.setState(`__activeStagePosition`,a)}function w3(e,t){if(!t)return;let n=t.getBoundingClientRect(),r={x:n.x,y:n.y,width:n.width,height:n.height};e.setState(`__activeStagePosition`,r),D3(e,r)}function T3(e){let t=e.getState(`__activeStagePosition`),n=e.getState(`__overlaySvg`);if(!t)return;if(!n){console.warn(`No stage svg found.`);return}let r=window.innerWidth,i=window.innerHeight;n.setAttribute(`viewBox`,`0 0 ${r} ${i}`)}function E3(e,t){let n=k3(e,t);document.body.appendChild(n),$4(n,t=>{t.target.tagName===`path`&&e.emit(`overlayClick`)}),e.setState(`__overlaySvg`,n)}function D3(e,t){let n=e.getState(`__overlaySvg`);if(!n){E3(e,t);return}let r=n.firstElementChild;if(r?.tagName!==`path`)throw Error(`no path element found in stage svg`);r.setAttribute(`d`,S3(t,O3(e)))}function O3(e){return{padding:e.getConfig(`stagePadding`)||0,radius:e.getConfig(`stageRadius`)||0}}function k3(e,t){let n=window.innerWidth,r=window.innerHeight,i=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);i.classList.add(`driver-overlay`,`driver-overlay-animated`),i.setAttribute(`viewBox`,`0 0 ${n} ${r}`),i.setAttribute(`xmlSpace`,`preserve`),i.setAttribute(`xmlnsXlink`,`http://www.w3.org/1999/xlink`),i.setAttribute(`version`,`1.1`),i.setAttribute(`preserveAspectRatio`,`xMinYMin slice`),i.style.fillRule=`evenodd`,i.style.clipRule=`evenodd`,i.style.strokeLinejoin=`round`,i.style.strokeMiterlimit=`2`,i.style.zIndex=`10000`,i.style.position=`fixed`,i.style.top=`0`,i.style.left=`0`,i.style.width=`100%`,i.style.height=`100%`;let a=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return a.setAttribute(`d`,S3(t,O3(e))),a.style.fill=e.getConfig(`overlayColor`)||`rgb(0,0,0)`,a.style.opacity=`${e.getConfig(`overlayOpacity`)}`,a.style.pointerEvents=`auto`,a.style.cursor=`auto`,i.appendChild(a),i}function A3(e){let t=e.getState(`__overlaySvg`);t&&(e3(t),t.remove())}var j3=`{{current}} of {{total}}`;function M3(e,t){return!(t.skipMissingElement??e.getConfig(`skipMissingElement`))||!t.element?!1:!l3(t.element)}function N3(e,t,n){let r=e.getConfig(`steps`)||[];for(let i=t;i>=0&&i<r.length;i+=n)if(!M3(e,r[i]))return i}function P3(e,t){let n=e.getState(`activeIndex`),r=n!==void 0&&N3(e,n+1,1)===void 0,i=t?.popover?.onDoneClick||e.getConfig(`onDoneClick`);return r&&i?i:t?.popover?.onNextClick||e.getConfig(`onNextClick`)}function F3(e,t){return t?.popover?.onPrevClick||e.getConfig(`onPrevClick`)}function I3(e,t){return t?.popover?.onCloseClick||e.getConfig(`onCloseClick`)}function L3(e,t,n){let r=e.getConfig(`steps`)||[],i=r[t],a=i.popover||{},o=N3(e,t+1,1)!==void 0,s=N3(e,t-1,-1)!==void 0,c=a.doneBtnText||e.getConfig(`doneBtnText`)||`Done`,l=e.getConfig(`allowClose`),u=a.showProgress===void 0?e.getConfig(`showProgress`):a.showProgress,d=(a.progressText||e.getConfig(`progressText`)||j3).replace(`{{current}}`,`${t+1}`).replace(`{{total}}`,`${r.length}`),f=a.showButtons||e.getConfig(`showButtons`),p=[`next`,`previous`,...l?[`close`]:[]].filter(e=>!f?.length||f.includes(e)),m=a.onNextClick||e.getConfig(`onNextClick`),h=a.onPrevClick||e.getConfig(`onPrevClick`),g=a.onCloseClick||e.getConfig(`onCloseClick`);return{...i,popover:{showButtons:p,nextBtnText:o?void 0:c,disableButtons:[...s?[]:[`previous`]],showProgress:u,onNextClick:m||n.onNextClick,onPrevClick:h||n.onPrevClick,onCloseClick:g||n.onCloseClick,...a,progressText:d}}}function R3(e,t,n){let r=e.getConfig(`stagePadding`)||0;return{side:n.popover?.side||`bottom`,align:n.popover?.align||`start`,offset:r+(e.getConfig(`popoverOffset`)||0),padding:r,centered:t.id===`driver-dummy-element`}}function z3(e,t,n){let r=n.popover||{},i=e.getState(`activeIndex`),a=i!==void 0&&N3(e,i+1,1)===void 0;return{title:r.title,description:r.description,showButtons:r.showButtons||e.getConfig(`showButtons`),disableButtons:r.disableButtons||e.getConfig(`disableButtons`)||[],showProgress:r.showProgress||e.getConfig(`showProgress`)||!1,progressText:r.progressText??(e.getConfig(`progressText`)||j3),nextBtnText:r.nextBtnText??(e.getConfig(`nextBtnText`)||`Next`),prevBtnText:r.prevBtnText??(e.getConfig(`prevBtnText`)||`Previous`),doneButton:a,popoverClass:r.popoverClass||e.getConfig(`popoverClass`)||``,smoothScroll:e.getConfig(`smoothScroll`),onNextClick:()=>{let r=P3(e,n);return r?r(t,n,e.getHookOpts()):e.emit(`nextClick`)},onPrevClick:()=>{let r=F3(e,n);return r?r(t,n,e.getHookOpts()):e.emit(`prevClick`)},onCloseClick:()=>{let r=I3(e,n);return r?r(t,n,e.getHookOpts()):e.emit(`closeClick`)},onRender:t=>{e.setState(`popover`,t),(r.onPopoverRender||e.getConfig(`onPopoverRender`))?.(t,e.getHookOpts())},position:R3(e,t,n)}}function B3(e,t,n){x3(e.getState(`popover`)),v3(t,z3(e,t,n))}function V3(e,t,n){let r=e.getState(`popover`);r&&i3(r,t,R3(e,t,n))}function H3(){let e=document.getElementById(`driver-dummy-element`);if(e)return e;let t=document.createElement(`div`);return t.id=`driver-dummy-element`,t.style.width=`0`,t.style.height=`0`,t.style.pointerEvents=`none`,t.style.opacity=`0`,t.style.position=`fixed`,t.style.top=`50%`,t.style.left=`50%`,document.body.appendChild(t),t}function U3(e,t){let n=l3(t.element);n||=H3(),G3(e,n,t)}function W3(e){let t=e.getState(`__activeElement`),n=e.getState(`__activeStep`);t&&(w3(e,t),T3(e),V3(e,t,n))}function G3(e,t,n){let r=e.getConfig(`duration`)||400,i=Date.now(),a=e.getState(`__activeStep`),o=e.getState(`__activeElement`)||t,s=!o||o===t,c=t.id===`driver-dummy-element`,l=o.id===`driver-dummy-element`,u=e.getConfig(`animate`),d=n.onHighlightStarted||e.getConfig(`onHighlightStarted`),f=n?.onHighlighted||e.getConfig(`onHighlighted`),p=a?.onDeselected||e.getConfig(`onDeselected`),m=e.getHookOpts();!s&&p&&p(l?void 0:o,a,m),d&&d(c?void 0:t,n,m);let h=!s&&u,g=!1;_3(e.getState(`popover`)),e.setState(`previousStep`,a),e.setState(`previousElement`,o),e.setState(`activeStep`,n),e.setState(`activeElement`,t);let _=()=>{if(e.getState(`__transitionCallback`)!==_)return;let s=Date.now()-i,l=r-s<=r/2;n.popover&&l&&!g&&h&&(B3(e,t,n),g=!0),e.getConfig(`animate`)&&s<r?C3(e,s,r,o,t):(w3(e,t),f&&f(c?void 0:t,n,e.getHookOpts()),e.setState(`__transitionCallback`,void 0),e.setState(`__previousStep`,a),e.setState(`__previousElement`,o),e.setState(`__activeStep`,n),e.setState(`__activeElement`,t)),window.requestAnimationFrame(_)};e.setState(`__transitionCallback`,_),window.requestAnimationFrame(_),p3(t,e.getConfig(`smoothScroll`)),!h&&n.popover&&B3(e,t,n),document.querySelectorAll(`.driver-active-element-parent`).forEach(e=>{e.classList.remove(`driver-active-element-parent`,`driver-active-element-parent-no-scroll`)}),o.classList.remove(`driver-active-element`,`driver-no-interaction`),o.removeAttribute(`aria-haspopup`),o.removeAttribute(`aria-expanded`),o.removeAttribute(`aria-controls`),(n.disableActiveInteraction??e.getConfig(`disableActiveInteraction`))&&t.classList.add(`driver-no-interaction`);let v=t.parentElement;v&&v!==document.body&&(v.classList.add(`driver-active-element-parent`),u3(v)&&v.classList.add(`driver-active-element-parent-no-scroll`)),t.classList.add(`driver-active-element`),t.setAttribute(`aria-haspopup`,`dialog`),t.setAttribute(`aria-expanded`,`true`),t.setAttribute(`aria-controls`,`driver-popover-content`)}function K3(){document.getElementById(`driver-dummy-element`)?.remove(),document.querySelectorAll(`.driver-active-element`).forEach(e=>{let t=e.parentElement;t&&t!==document.body&&t.classList.remove(`driver-active-element-parent`,`driver-active-element-parent-no-scroll`),e.classList.remove(`driver-active-element`,`driver-no-interaction`),e.removeAttribute(`aria-haspopup`),e.removeAttribute(`aria-expanded`),e.removeAttribute(`aria-controls`)})}function q3(e){let t=e.getState(`__resizeTimeout`);t&&window.cancelAnimationFrame(t),e.setState(`__resizeTimeout`,window.requestAnimationFrame(()=>W3(e)))}function J3(e,t){if(!e.getState(`isInitialized`)||!(t.key===`Tab`||t.keyCode===9))return;let n=e.getState(`__activeElement`),r=e.getState(`popover`)?.wrapper,i=f3([...r?[r]:[],...n?[n]:[]]),a=i[0],o=i[i.length-1];t.preventDefault(),t.shiftKey?(i[i.indexOf(document.activeElement)-1]||o)?.focus():(i[i.indexOf(document.activeElement)+1]||a)?.focus()}function Y3(e,t){(e.getConfig(`allowKeyboardControl`)??!0)&&(t.key===`Escape`?e.emit(`escapePress`):t.key===`ArrowRight`?e.emit(`arrowRightPress`):t.key===`ArrowLeft`&&e.emit(`arrowLeftPress`))}function X3(e,t){let n=e.getState(`__activeElement`),r=t.target;!n||!r||!n.contains(r)||e.emit(`activeElementClick`)}function Z3(e){let t=t=>Y3(e,t),n=t=>J3(e,t),r=()=>q3(e),i=()=>q3(e),a=t=>X3(e,t);e.setState(`__events`,{onKeyup:t,onKeydown:n,onResize:r,onScroll:i,onClick:a}),window.addEventListener(`keyup`,t,!1),window.addEventListener(`keydown`,n,!1),window.addEventListener(`resize`,r),window.addEventListener(`scroll`,i),document.addEventListener(`click`,a,!1)}function Q3(e){let t=e.getState(`__events`);t&&(window.removeEventListener(`keyup`,t.onKeyup),window.removeEventListener(`keydown`,t.onKeydown),window.removeEventListener(`resize`,t.onResize),window.removeEventListener(`scroll`,t.onScroll),document.removeEventListener(`click`,t.onClick,!1))}function $3(){let e={};function t(t={}){e={animate:!0,duration:400,allowClose:!0,allowScroll:!0,overlayClickBehavior:`close`,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,advanceOnClick:!1,skipMissingElement:!1,waitForElement:0,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:[`next`,`previous`,`close`],disableButtons:[],overlayColor:`#000`,...t}}return t(),{getConfig:(t=>t?e[t]:e),configure:t}}function e6(){let e={},t=(t=>t?e[t]:e),n=(t,n)=>{e[t]=n};function r(){e={}}return{getState:t,setState:n,resetState:r}}function t6(){let e={};function t(t,n){e[t]=n}function n(t){e[t]?.()}function r(){e={}}return{listen:t,emit:n,reset:r}}function n6(e={}){let t=$3();t.configure(e);let n=e6(),r=t6(),i;return{getConfig:t.getConfig,setConfig:t.configure,getState:n.getState,setState:n.setState,resetState:n.resetState,listen:r.listen,emit:r.emit,resetEmitter:r.reset,getDriver:()=>i,setDriver:e=>{i=e},getHookOpts:e=>{let r=e||n.getState();return{config:t.getConfig(),state:r,driver:i,index:r.activeIndex}}}}function r6(e={}){let t=n6(e);function n(){t.getConfig(`allowClose`)&&m()}function r(){let e=t.getConfig(`overlayClickBehavior`);if(t.getConfig(`allowClose`)&&e===`close`){m();return}if(typeof e==`function`){let n=t.getState(`__activeStep`);e(t.getState(`__activeElement`),n,t.getHookOpts());return}if(e===`nextStep`){let e=t.getState(`activeStep`),n=t.getState(`activeElement`),r=P3(t,e);if(r){r(n,e,t.getHookOpts());return}i()}}function i(){let e=t.getState(`activeIndex`),n=t.getConfig(`steps`)||[];if(e===void 0)return;let r=e+1;n[r]?p(r):m()}function a(){let e=t.getState(`activeIndex`),n=t.getConfig(`steps`)||[];if(e===void 0)return;let r=e-1;n[r]?p(r):m()}function o(e){(t.getConfig(`steps`)||[])[e]?p(e):m()}function s(){if(t.getState(`__transitionCallback`))return;let e=t.getState(`__activeStep`);if(!e||!(e.advanceOnClick??t.getConfig(`advanceOnClick`)))return;let n=t.getState(`__activeElement`),r=P3(t,e);if(r){r(n,e,t.getHookOpts());return}i()}function c(){if(t.getState(`__transitionCallback`))return;let e=t.getState(`activeIndex`),n=t.getState(`__activeStep`),r=t.getState(`__activeElement`);if(e===void 0||n===void 0||!(t.getConfig(`steps`)||[])[e-1])return;let i=F3(t,n);if(i)return i(r,n,t.getHookOpts());a()}function l(){if(t.getState(`__transitionCallback`))return;let e=t.getState(`activeIndex`),n=t.getState(`__activeStep`),r=t.getState(`__activeElement`);if(e===void 0||n===void 0)return;let a=P3(t,n);if(a)return a(r,n,t.getHookOpts());i()}function u(){t.getState(`isInitialized`)||(t.setState(`isInitialized`,!0),document.body.classList.add(`driver-active`,t.getConfig(`animate`)?`driver-fade`:`driver-simple`),t.getConfig(`allowScroll`)||document.body.classList.add(`driver-no-scroll`),document.body.style.setProperty(`--driver-animation-duration`,`${t.getConfig(`duration`)||400}ms`),Z3(t),t.listen(`overlayClick`,r),t.listen(`activeElementClick`,s),t.listen(`escapePress`,n),t.listen(`closeClick`,n),t.listen(`arrowLeftPress`,c),t.listen(`arrowRightPress`,l))}function d(){let e=t.getState(`__pendingWaitCancel`);e&&(t.setState(`__pendingWaitCancel`,void 0),e())}function f(e,n,r){let i=()=>{a.disconnect(),window.clearTimeout(o),t.setState(`__pendingWaitCancel`,void 0),r()},a=new MutationObserver(()=>{l3(e.element)&&i()}),o=window.setTimeout(i,n);t.setState(`__pendingWaitCancel`,()=>{a.disconnect(),window.clearTimeout(o)}),a.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0})}function p(e=0,n=!1){d();let r=t.getConfig(`steps`);if(!r){console.error(`No steps to drive through`),m();return}if(!r[e]){m();return}let i=r[e],a=i.waitForElement??t.getConfig(`waitForElement`)??0;if(!n&&a>0&&i.element&&!l3(i.element)){f(i,a,()=>p(e,!0));return}
51if(M3(t,i)){let n=t.getState(`activeIndex`),i=typeof n==`number`&&e<n?-1:1;r[e+i]?p(e+i):i===1&&m();return}t.setState(`__activeOnDestroyed`,document.activeElement),t.setState(`activeIndex`,e);let o=r[e+1];U3(t,L3(t,e,{onNextClick:()=>{o?p(e+1):m()},onPrevClick:()=>{p(e-1)},onCloseClick:()=>{m()}}))}function m(e=!0){let n=t.getState(`__activeElement`),r=t.getState(`__activeStep`),i=t.getState(`__activeOnDestroyed`),a=t.getConfig(`onDestroyStarted`);if(e&&a){a(!n||n?.id===`driver-dummy-element`?void 0:n,r,t.getHookOpts());return}let o=r?.onDeselected||t.getConfig(`onDeselected`),s=t.getConfig(`onDestroyed`);document.body.classList.remove(`driver-active`,`driver-fade`,`driver-simple`,`driver-no-scroll`),document.body.style.removeProperty(`--driver-animation-duration`),d(),Q3(t),x3(t.getState(`popover`)),K3(),A3(t),t.resetEmitter();let c=t.getState();if(t.resetState(),n&&r){let e=n.id===`driver-dummy-element`;o&&o(e?void 0:n,r,t.getHookOpts(c)),s&&s(e?void 0:n,r,t.getHookOpts(c))}i&&i.focus()}let h={isActive:()=>t.getState(`isInitialized`)||!1,refresh:()=>q3(t),drive:(e=0)=>{u(),p(e)},setConfig:t.setConfig,setSteps:e=>{d(),t.resetState(),t.setConfig({...t.getConfig(),steps:e})},getConfig:t.getConfig,getState:t.getState,getActiveIndex:()=>t.getState(`activeIndex`),isFirstStep:()=>{let e=t.getState(`activeIndex`);return e!==void 0&&N3(t,e-1,-1)===void 0},isLastStep:()=>{let e=t.getState(`activeIndex`);return e!==void 0&&N3(t,e+1,1)===void 0},getActiveStep:()=>t.getState(`activeStep`),getActiveElement:()=>t.getState(`activeElement`),getPreviousElement:()=>t.getState(`previousElement`),getPreviousStep:()=>t.getState(`previousStep`),getNextStep:()=>{let e=t.getConfig(`steps`)||[],n=t.getState(`activeIndex`);if(n===void 0)return;let r=N3(t,n+1,1);return r===void 0?void 0:e[r]},moveNext:i,movePrevious:a,moveTo:o,hasNextStep:()=>{let e=t.getState(`activeIndex`);return e!==void 0&&N3(t,e+1,1)!==void 0},hasPreviousStep:()=>{let e=t.getState(`activeIndex`);return e!==void 0&&N3(t,e-1,-1)!==void 0},highlight:e=>{u(),U3(t,{...e,popover:e.popover?{showButtons:[],showProgress:!1,progressText:``,...e.popover}:void 0})},destroy:()=>{m(!1)}};return t.setDriver(h),h}var i6={action:`Latest_LayoutSelectorMoved`,projectSelector:`[data-testid="header-project-selector"]`,regionSelector:`[data-testid="left-nav-region-selector"]`,popoverClass:`layout-selector-onboarding-popover`,projectPopoverClass:`layout-selector-onboarding-project-popover`,actionMountClass:`layout-selector-onboarding-action`,activeBodyClass:`layout-selector-onboarding-active`},a6=()=>document.body.classList.contains(i6.activeBodyClass)||document.body.classList.contains(`driver-active`)&&!!document.querySelector(`.${i6.popoverClass}`),Yie=e=>!!e[i6.action]&&!a6(),Xie=(e,t,n)=>{let r=!1,i=()=>{r=!0,a.destroy()},a=r6({overlayOpacity:.45,stagePadding:6,stageRadius:8,popoverOffset:24,showProgress:!1,animate:!0,allowClose:!0,skipMissingElement:!0,waitForElement:4e3,nextBtnText:e.next,doneBtnText:e.done,popoverClass:i6.popoverClass,showButtons:[`next`,`close`],steps:[{element:i6.projectSelector,popover:{title:e.projectTitle,description:e.projectDesc,side:`bottom`,align:`start`,popoverClass:`${i6.popoverClass} ${i6.projectPopoverClass}`}},{element:i6.regionSelector,popover:{title:e.regionTitle,description:e.regionDesc,side:`right`,align:`start`}}],onPopoverRender:(e,{driver:t})=>{e.previousButton.style.display=`none`,e.nextButton.style.display=`none`;let r=e.footerButtons.querySelector(`.${i6.actionMountClass}`);r||(r=document.createElement(`div`),r.className=i6.actionMountClass,e.footerButtons.appendChild(r)),n?.(r,{isLastStep:t.isLastStep(),advance:()=>{if(t.isLastStep()){i();return}t.moveNext()}})},onCloseClick:()=>{i()},onDoneClick:()=>{i()},overlayClickBehavior:(e,t,{driver:n})=>{r=!0,n.destroy()},onDestroyed:()=>{r&&t?.()}});return a},Zie=`02:00:00`,Qie=`06:00:00`,o6=`register-credits-guide-toast`,s6=void 0,c6=void 0,$ie=e=>{let{marketPlaceInfo:t,profile:n}=Pc(),{creditStatus:r,organizationList:i,orgStatus:a,curUserActiveOrg:o}=Kt(),{onboardingStatus:s,fetchOnboardingStatus:c,globalMessageKey:f,setGlobalMessageKey:p,resetGlobalKey:m}=kc(),{timezoneList:h}=Sc(),{projectList:g}=C(),{effectiveTimezone:v,getUserTimezone:y,timezoneInfo:b,userTimezone:x}=lu(),{latestVersionInfo:S}
51=fu(),{orgMessage:w}=x4(),{message:T,closeSnackbar:E}=Ga(),{orgId:D=``,projectId:O=``}=l(),ee=F(A),{open:j}=J4(),te=u(),{t:ne}=_([`auth`,`billing`,`common`,`deployments`]),{resourceActions:re,isPermissionLoading:ie}=Yn(),M=Kn(re,`org_control_ops`,[`modify`]),{storedValue:ae,removeStorageValue:oe}=k(Ge.SIGNUP_SURVEY_INFO),[se,ce]=(0,W.useState)(!B||!ae?.orgId),{isBindMarketplace:le,marketplaceType:ue}=(0,W.useMemo)(()=>{let e=t?._type||``;return{isBindMarketplace:!!e,marketplaceType:e===P.AZURE?Ee(e):e.toUpperCase()}},[t]),de=a?._hasPayMethod,{isShowFirstBindMarketplace:pe,isShowFirstLogin:me,isShow200CreditsDirectly:he,remainingCredits:ge}=(0,W.useMemo)(()=>{let{_sentAddPaymentCredit:e,_sentRegisterCredit:t,_totalBalanceAmount:n}=r||{};return{isShowFirstBindMarketplace:e&&!s._showAddMarketplaceCredit&&le,isShowFirstLogin:t&&!s._showRegisterCredit&&!de&&n!==fe.AMOUNT,isShow200CreditsDirectly:e&&t&&!s._showAddMarketplaceCredit&&!s._showRegisterCredit&&le,remainingCredits:n}},[r,s,le,de]),_e=async e=>{e===Ec.BothCredits?await Promise.all([Dc.updateOnboardingStatus(Ec.ShowRegisterCredit),Dc.updateOnboardingStatus(Ec.ShowAddPaymentCredit)]):await Dc.updateOnboardingStatus(e),await c()},ve=()=>{Wa.dismiss(o6),_e(Ec.ShowRegisterCredit)},ye=()=>{let e=O||g[0]?._projectId,t=`/orgs/${D}/projects`,n=e?`${t}/${e}/create/cluster`:t;te(n),ve()};return(0,W.useEffect)(()=>{window.recaptchaOptions={useRecaptchaNet:!0}},[]),(0,W.useEffect)(()=>{D||Wa.dismiss(o6)},[D]),(0,W.useEffect)(()=>{eS.default.tz.setDefault(v)},[v]),(0,W.useEffect)(()=>{if(!h.length||x===void 0||x.length||a?._isFrozen)return;let e;try{e=eS.default.tz.guess()}catch{return}if(!uu(e))return;let t=h.find(t=>t.timezone===e)||h.find(e=>e.offset===Math.floor((0,eS.default)().utcOffset()/60));!t?.label||!uu(t.timezone)||(async()=>{await wc.updateUserTimezone(t.label),await y()})()},[y,a?._isFrozen,h,x]),(0,W.useEffect)(()=>{let e=i.length>0;!b.value||!e||!D||ie||!M||(async()=>{let{_canModifyMaintenanceWindow:e}=await l4.querySystemMaintenanceStatus();if(!e)return;let{_beginTime:t,_endTime:n}=await l4.queryUserMaintenanceTime();(t===fe.UNKNOWN||n===fe.UNKNOWN)&&l4.modifyUserMaintenanceTime(Zie,Qie)})()},[M,ie,i.length,D,b.value]),(0,W.useEffect)(()=>{me&&se?Wa.custom(e=>(0,G.jsx)(X4,{remainingCredits:ge??``,onClose:ve,onCreateCluster:ye}),{id:o6,duration:1/0,position:`bottom-right`}):Wa.dismiss(o6),B&&(pe&&ee({open:!0,children:(0,G.jsx)(p4,{title:ne(`b
51illing:creditsDistribute.addMarketplace.title`),desc:(0,G.jsx)(d,{i18nKey:`billing:creditsDistribute.addMarketplace.desc`,t:ne,values:{marketplaceType:ue},components:[(0,G.jsx)(`strong`,{})]}),btnLabel:ne(`common:button.continueToExplore`),btnVariant:`contained`,onClose:()=>{_e(Ec.ShowAddPaymentCredit)}})}),he&&ee({open:!0,children:(0,G.jsx)(p4,{title:ne(`billing:creditsDistribute.sendAll.title`),desc:(0,G.jsx)(d,{i18nKey:`billing:creditsDistribute.sendAll.desc`,t:ne,values:{marketplaceType:ue},components:[(0,G.jsx)(`strong`,{})]}),btnLabel:ne(`common:button.exploreNow`),btnVariant:`contained`,onClose:()=>{_e(Ec.BothCredits)}})}))},[pe,me,he,se,ge]),(0,W.useEffect)(()=>{let e=ae?.orgId||``;!B||!e||(ce(!1),j({orgId:e,onClose:()=>ce(!0)}),oe())},[ae?.orgId]),(0,W.useEffect)(()=>{let e=()=>{s6&&E(s6)},t=async()=>{try{await Dc.updateOnboardingStatus(`${Ac}_${S._betaDbVersion}`),e()}catch{}},n=async()=>{try{await t()}finally{ee({open:!0,children:(0,G.jsx)(v4,{description:S._betaDescription}),size:`large`})}};if(!S._betaDbVersion)return;let r=`${Ac}_${S._betaDbVersion}`;if(s.beta===!1&&Yie(s)&&!s[r]&&!f?.beta&&s._showRegisterCredit===!0){let r=T.info({title:(0,G.jsx)(L,{variant:`h4Semibold`,children:ne(`deployments:beta.alert.title`)}),message:(0,G.jsx)(L,{variant:`body1Regular`,children:ne(`deployments:beta.alert.desc`)})},{persist:!0,preventDuplicate:!0},{actions:{confirm:{children:ne(`common:link.learnMore`),variant:`textBlue`,onClick:n},cancel:{children:ne(`deployments:beta.features.cancel`),variant:`text`,onClick:t}},icon:(0,G.jsx)(m4,{className:Jx.trumpetIcon}),handleClose:e,classes:{message:Jx.betaMessage}});s6=r,p(e=>({...e||{},beta:r}))}},[s,S._betaDbVersion]),(0,W.useEffect)(()=>{s6&&E(s6),c6&&E(c6),m()},[D]),(0,W.useEffect)(()=>{if(!w)return;let e=()=>{c6&&E(c6)},t=T.warning({title:(0,G.jsx)(L,{variant:`h2Medium`,children:w._title}),message:(0,G.jsx)(`div`,{className:Jx.messageContent,dangerouslySetInnerHTML:{__html:w._message}})},{persist:!0,preventDuplicate:!0},{actions:{confirm:{children:ne(`common:button.gotIt`),variant:`contained`,onClick:e},cancel:{children:ne(`deployments:beta.features.cancel`),variant:`text`,onClick:async()=>{try{await y4.updateOrgMessageStatus(w._id),e()}catch{}}}},classes:{message:Jx.warningMessage}});c6=t,p(e=>({...e,orgMsg:t}))},[w]),(0,G.jsx)(G.Fragment,{children:e.children})},eae=1e4,l6=e=>M(e)&&(e.response?.status===401||e.response?.status===403),tae=e=>{let{pathname:t}=p(),n=Gt(t),r=at(t),{applyPolledClusterList:i,setClusterList:a,setClusterLoading:o}=Fn(),s=(0,W.useRef)(i);(0,W.useEffect)(()=>{s.current=i},[i]);let{token:c,sessionVersion:l}=zn(r),u=(0,W.useMemo)(()=>({orgId:n,projectId:r,token:c,sessionVersion:l}),[n,r,c,l]),d=!!(u.token&&n&&n===e&&r),f=(0,W.useCallback)(()=>d&&Vn(u),[d,u]),m=Cn({queryKey:Pn(u),queryFn:async({signal:e})=>{if(!f()||e.aborted)throw new En({revert:!0});let t=await Ln(r,{includeCatalog:!0,isCurrent:()=>!e.aborted&&f()});if(e.aborted||!Vn(u))throw new En({revert:!0});return t},enabled:e=>f()&&!l6(e.state.error),retry:!1,refetchInterval:e=>f()&&!t.includes(`migrate-data`)&&!l6(e.state.error)?eae:!1,refetchOnWindowFocus:!1,refetchOnReconnect:e=>f()&&!l6(e.state.error)});(0,W.useEffect)(()=>{a([]),o(d)},[d,u.orgId,u.projectId,u.sessionVersion,a,o]),(0,W.useEffect)(()=>{f()&&!m.isPending&&o(!1),m.data&&f()&&s.current(m.data,u)},[m.data,m.dataUpdatedAt,m.isPending,f,o,u])},u6=Zt({key:`globalSearchKey`,default:``}),d6={root:`_root_1ehln_3`,closeHeader:`_closeHeader_1ehln_8`,actionBtn:`_actionBtn_1ehln_12`,container:`_container_1ehln_19`,img:`_img_1ehln_25`,title:`_title_1ehln_30`,desc:`_desc_1ehln_33`,rotate:`_rotate_1ehln_1`},nae=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 120 120`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`rect`,{width:120,height:120,fill:`white`}),(0,G.jsx)(`rect`,{x:8,y:46,width:96,height:56,rx:2,fill:`#F0F2F4`}),(0,G.jsx)(`path`,{d:`M8 48C8 46.8954 8.89543 46 10 46H32V102H10C8.89543 102 8 101.105 8 100V48Z`,fill:`url(#paint0_linear_8911_92465)`}),(0,G.jsx)(`path`,{d:`M36 50H74V57H36V50Z`,fill:`#E0E3E7`}),(0,G.jsx)(`path`,{d:`M36 61H100V77.5H36V61Z`,fill:`#E0E3E7`}),(0,G.jsx)(`path`,{d:`M36 81.5H100V98H36V81.5Z`,fill:`#E0E3E7`}),(0,G.jsx)(`path`,{d:`M78 50H100V57H78V50Z`,fill:`#E0E3E7`}),(0,G.jsx)(`circle`,{cx:103.5,cy:46,r:12,fill:`white`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M103.5 58C110.127 58 115.5 52.6274 115.5 46C115.5 39.3726 110.127 34 103.5 34C96.8726 34 91.5 39.3726 91.5 46C91.5 52.6274 96.8726 58 103.5 58ZM110.152 42.4207L108.848 41.1793L101.5 48.895L98.1517 45.3793L96.8483 46.6207L101.5 51.505L110.152 42.4207Z`,fill:`#2ABC80`}),(0,G.jsx)(`circle`,{cx:79,cy:36,r:1,fill:`#29B8FF`}),(0,G.jsx)(`circle`,{cx:53,cy:54,r:1,fill:`#D298FF`}),(0,G.jsx)(`circle`,{cx:107,cy:25,r:1,fill:`#D298FF`}),(0,G.jsx)(`circle`,{cx:44,cy:22,r:2,fill:`#29B8FF`}),(0,G.jsx)(`circle`,{cx:8,cy:35,r:3,fill:`#D298FF`}),(0,G.jsx)(`rect`,{x:13.25,y:83.25,width:13.5,height:13.5,rx:6.75,fill:`white`}),(0,G.jsx)(`circle`,{cx:20,cy:89,r:2,fill:`#1D5CF1`}),(0,G.jsx)(`path`,{d:`M15.2155 95.9223C15.6717 93.6417 17.6742 92 20 92C22.3258 92 24.3283 93.6417 24.7845 95.9223L25 97H15L15.2155 95.9223Z`,fill:`#1D5CF1`}),(0,G.jsx)(`rect`,{x:13.25,y:83.25,width:13.5,height:13.5,rx:6.75,stroke:`white`,strokeWidth:.5}),(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`linearGradient`,{id:`paint0_linear_8911_92465`,x1:20,y1:46,x2:20,y2:102,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#142A9E`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#1E64FF`})]})})]}),f6={hint:`_hint_cpvqy_3`,text:`_text_cpvqy_10`,link:`_link_cpvqy_17`,rotate:`_rotate_cpvqy_1`},p6=({show:e=!1,orgId:t=``,canManageProjects:n=!1,className:r})=>!e||!t?null:(0,G.jsx)(rae,{orgId:t,canManageProjects:n,className:r}),rae=({orgId:e,canManageProjects:t,className:n})=>{let{t:r}=_(`billing`),i=F(A);return(0,G.jsx)(ni,{severity:`info`,classes:{root:R(f6.hint,n)},children:(0,G.jsx)(L,{component:`p`,variant:`body2Regular`,className:f6.text,children:t?(0,G.jsx)(d,{i18nKey:`deletedClusterRestoreHint.owner`,t:r,components:[(0,G.jsx)(o,{to:`/orgs/${e}/recycle`,onClick:()=>{i(e=>({...e,open:!1}))},className:f6.link})]}):r(`deletedClusterRestoreHint.nonOwner`)})})},iae=({showRestoreHint:e=!1,orgId:t=``,canManageProjects:n=!1})=>{let{t:r}=_(`billing`),[i,a]=Lt(A);return(0,G.jsx)(sc,{confirmLabel:r(`reactive.refreshBtnLabel`),handleConfirm:()=>{a({...i,open:!1})},showCancel:!1,classes:{root:d6.root,title:d6.closeHeader,actions:d6.actionBtn},children:(0,G.jsxs)(`div`,{className:d6.container,children:[(0,G.jsx)(nae,{className:d6.img}),(0,G.jsx)(L,{variant:`h1Semibold`,className:d6.title,children:r(`reactive.title`)}),(0,G.jsx)(L,{variant:`body1Regular`,className:d6.desc,children:r(`reactive.desc`)}),(0,G.jsx)(p6,{show:e,orgId:t,canManageProjects:n})]})})},m6=function(e){return e[e.Pending=0]=`Pending`,e[e.Certified=1]=`Certified`,e[e.Failed=2]=`Failed`,e[e.Unknown=3]=`Unknown`,e}({}),aae=()=>{let{orgStatus:e,fetchTransferBankInfo:t}=Kt(),{balanceInfo:n}=Pc(),{hasBillingAllAccess:r}=MC();(0,W.useEffect)(()=>{i()},[e,r,n]);let i=async()=>{let i=e?._enterpriseCertificationStatus===m6.Certified,a=n?._offlineContract!==!1;!i||!r||a||await t()}},h6=class e{static instance;listeners=new Set;isRefreshing=!1;pendingRefresh=!1;constructor(){}static getInstance(){return e.instance||=new e,e.instance}addListener(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}async triggerRefresh(){if(this.isRefreshing){this.pendingRefresh=!0;return}try{this.isRefreshing=!0,await Promise.all(Array.from(this.listeners).map(e=>e()))}finally{this.isRefreshing=!1,this.pendingRefresh&&(this.pendingRefresh=!1,setTimeout(()=>{this.triggerRefresh()},100))}}}.getInstance(),g6=class extends eo{domain;org_id;sp_entity_id;login_url;cert_data;enable;create_time;acs_url;metadata_url;metadata;idp_type;cert_data_expired_at;okta_domain;client_id;client_secret;enforced;constructor(e){super(e),Object.assign(this,e)}static SSO_CONFIG_GET_URL=`${this.ACCOUNT_PREFIX}/sso/get`;static SSO_CONFIG_SAVE_URL=`${this.ACCOUNT_PREFIX}/sso/save`;static SSO_SAML_CONFIG_SAVE_URL=`${this.ACCOUNT_PREFIX}/auth0/sso/saml/save`;static SSO_SAML_CONFIG_GET_URL=`${this.ACCOUNT_PREFIX}/auth0/sso/saml/get`;static SSO_OKTA_CONFIG_SAVE_URL=`${this.ACCOUNT_PREFIX}/auth0/sso/okta/save`;static SSO_OKTA_CONFIG_GET_URL=`${this.ACCOUNT_PREFIX}/auth0/sso/okta/get`;static SSO_ORG_CHECK_URL=`${this.CLOUD_ORG_PREFIX}/can_create_sso`;static SSO_ENFORCEMENT_ENABLE_URL=`${this.ACCOUNT_PREFIX}/sso/enforcement/enable`;static SSO_ENFORCEMENT_DISABLE_URL=`${this.ACCOUNT_PREFIX}/sso/enforcement/disable`;static SSO_ENFORCEMENT_STATUS_URL=`${this.ACCOUNT_PREFIX}/sso/enforcement/status`;static async fetchSSOConfig(e){let t=await super.query({path:this.SSO_CONFIG_GET_URL,data:{org_id:e}});return new this(t)}static async checkCanCreateSSO(){return await super.query({method:`GET`,path:this.SSO_ORG_CHECK_URL}
51)}static saveSamlConfig(e){return super.update({path:this.SSO_SAML_CONFIG_SAVE_URL,data:{...e,sp_entity_id:`zilliz`}})}static saveOktaConfig(e){return super.update({path:this.SSO_OKTA_CONFIG_SAVE_URL,data:e})}static getSamlConfig(){return super.search({path:this.SSO_SAML_CONFIG_GET_URL})}static getOktaConfig(){return super.search({path:this.SSO_OKTA_CONFIG_GET_URL})}static enableSsoEnforcement(){return super.create({path:this.SSO_ENFORCEMENT_ENABLE_URL,method:`POST`})}static disableSsoEnforcement(){return super.create({path:this.SSO_ENFORCEMENT_DISABLE_URL,method:`POST`})}static getSsoEnforcementStatus(){return super.search({path:this.SSO_ENFORCEMENT_STATUS_URL})}get _domain(){return this.domain}get _orgId(){return this.org_id}get _idpEntityId(){return this.sp_entity_id}get _loginUrl(){return this.login_url}get _certData(){return window.atob(this.cert_data??``)}get _enable(){return this.enable}get _acsUrl(){return this.acs_url}get _clientId(){return this.client_id}get _clientSecret(){return this.client_secret}get _oktaDomain(){return this.okta_domain}get _metadataUrl(){return this.metadata_url}get _metadata(){return this.metadata}get _originSamlData(){return{domain:this.domain,org_id:this.org_id,sp_entity_id:this.sp_entity_id,login_url:this.login_url,enable:this.enable,cert_data:this.cert_data,metadata_url:this.metadata_url,metadata:this.metadata,idp_type:this.idp_type}}get _originOktaData(){return{enable:this.enable,client_id:this.client_id,client_secret:this.client_secret,okta_domain:this.okta_domain,idp_type:this.idp_type}}get _idp_type(){return this.idp_type}get _certDataExpiredAt(){return Ke(this.cert_data_expired_at,`ll`)}get _isExpired(){return this.cert_data_expired_at?(0,eS.default)(this.cert_data_expired_at).isBefore((0,eS.default)()):!1}get _isSSOEnforced(){return this.enforced}},oae=_n({enforced:Dn(),ssoEnabled:Dn(),canEnable:Dn(),ssoAllowBypass:Dn().nullable().optional()}),sae=_n({ssoAllowBypass:Dn()}),_6=`account/v1`,v6=(e,t={})=>({headers:{orgId:e},signal:t.signal,scope:t.scope??{orgId:e},...t.silent?{silentError:!0}:{}}),cae={getStatus:async(e,t={})=>{let n=await Ce.get(`${_6}/sso/enforcement/status`,v6(e,t));return oae.parse(n.data.Data)}};async function lae(e,t,n={}){await Ce.post(`${_6}/sso/enforcement/enable`,t,v6(e,n))}async function uae(e,t={}){await Ce.post(`${_6}/sso/enforcement/disable`,void 0,v6(e,t))}var y6={all:[`sso`],status:e=>wn(`sso`,Mn({orgId:e}),`status`)},b6=e=>{let{orgId:t=``}=l();return e||t||Gt(window.location.pathname)},x6=e=>{let t=b6(e?.orgId);return Cn({queryKey:y6.status(t),queryFn:({signal:e})=>cae.getStatus(t,{signal:e,scope:{orgId:t}}),enabled:!!t&&e?.enabled!==!1,refetchOnWindowFocus:!1})},dae=e=>{let t=Tn();return gn({meta:{silent:!0},mutationFn:async t=>(await lae(e,t,{scope:{orgId:e},silent:!0}),e),onSuccess:(e,n)=>{t.setQueryData(y6.status(e),{enforced:!0,ssoEnabled:!0,canEnable:!1,ssoAllowBypass:n.ssoAllowBypass}),t.invalidateQueries({queryKey:y6.status(e)})}})},fae=e=>{let t=Tn();return gn({meta:{silent:!0},mutationFn:async()=>(await uae(e,{scope:{orgId:e},silent:!0}),e),onSuccess:e=>{t.setQueryData(y6.status(e),e=>e&&{...e,enforced:!1,canEnable:e.ssoEnabled,ssoAllowBypass:null}),t.invalidateQueries({queryKey:y6.status(e)})}})},pae=Zt({key:`ssoConfig`,default:void 0}),S6=()=>{let[e,t]=Lt(pae),n=b6(),r=x6({orgId:n}),i=()=>n?r.refetch():Promise.resolve(),a=async()=>{let[e,n]=await Promise.all([g6.getSamlConfig(),g6.getOktaConfig(),i()]);t({saml:e,okta:n})},o=async()=>{let e=await g6.checkCanCreateSSO(),t=e?.Data;return t===void 0?e:t},{isSsoEnable:s,isSamlActive:c,isOktaActive:l,activeSsoConfig:u}=(0,W.useMemo)(()=>{let t=e?.saml?._enable,n=e?.okta?._enable,r=t||n,i=t?e?.saml:e?.okta;return{isSamlActive:t,isOktaActive:n,isSsoEnable:r,activeSsoConfig:i?._idp_type?i:void 0}},[e]);return{fetchSsoConfig:a,ssoConfig:e,isSsoEnable:s,isSamlActive:c,isOktaActive:l,activeSsoConfig:u,fetchCanCreateSSO:o,isSsoEnforcementEnabled:r.data?.enforced??!1,ssoEnforcementStatus:r.data,isSsoEnforcementStatusPending:r.isPending,isSsoEnforcementStatusError:r.isError,fetchSsoEnforcementStatus:i}},C6=function(e){return e[e.Personal=1]=`Personal`,e[e.Shared=2]=`Shared`,e}({}),mae=function(e){return e[e.Member=0]=`Member`,e[e.Owner=1]=`Owner`,e[e.Readonly=2]=`Readonly`,e}({}),w6=function(e){return e.Acl=`acl`,e.Legacy=`legacy`,e}({}),hae={1:`personal`,2:`shared`},gae={[O.Member]:`orgMember`,[O.Owner]:`orgOwner`,[O.BillingAdmin]:`billingAdmin`,[O.Unknown]:`orgMember`},_ae={0:`member`,1:`owner`,2:`readonly`},T6=_n({id:bn(),name:bn()}),vae=_n({allCluster:Dn().catch(!1),clusterIds:pn(bn()).optional().catch(void 0),allStage:Dn().catch(!1),stageIds:pn(bn()).optional().catch(void 0),id:bn(),role:yn(mae).catch(0),name:bn(),cluster
51s:pn(T6).optional().catch(void 0),stages:pn(T6).optional().catch(void 0)}),E6=_n({bindingId:bn().catch(``),roleId:bn().catch(``),roleName:bn().optional().catch(``),name:bn().optional().catch(``),roleType:bn().catch(``)}).transform(e=>({bindingId:e.bindingId,roleId:e.roleId,roleName:e.roleName||e.name||fe.UNKNOWN,roleType:e.roleType})),yae=_n({projectId:bn().catch(``),projectName:bn().optional().catch(``),roles:pn(E6).catch([])}).transform(e=>({projectId:e.projectId,projectName:e.projectName||e.projectId||fe.UNKNOWN,roles:e.roles})),D6=_n({keys:pn(_n({id:bn(),shortId:bn().catch(``),key:bn().catch(``),name:bn().catch(``),description:bn().nullish().catch(``),Description:bn().nullish().catch(``),projects:pn(vae).nullish().transform(e=>e??[]),role:yn(O).catch(O.Member),type:yn(C6).catch(1),permissionModel:yn(w6).catch(`legacy`),orgRoles:pn(E6).catch([]),projectRoles:pn(yae).catch([]),createTime:hn().catch(0),createdBy:bn().catch(``),creatorEmail:bn().catch(``),creatorName:bn().catch(``),isYourself:Dn().catch(!1)}).transform(e=>({id:e.id,shortId:e.shortId,key:e.key||fe.UNKNOWN,name:mn(()=>T(e.name),``)||fe.UNKNOWN,description:e.description||e.Description||``,projects:e.projects,role:e.role,roleText:gae[e.role]??`orgMember`,type:e.type,typeText:hae[e.type]??`personal`,permissionModel:e.permissionModel,orgRoles:e.orgRoles,projectRoles:e.projectRoles,createTimeMillis:e.createTime,createTime:mn(()=>Ke(e.createTime),fe.UNKNOWN),createdBy:e.createdBy,creatorEmail:e.creatorEmail||fe.UNKNOWN,creatorName:e.creatorName||fe.UNKNOWN,isYou:e.isYourself})))}).transform(e=>e.keys),O6=`cloud/v1`,k6={listManagedKeys:async(e,t={})=>{let n=await Ce.get(`${O6}/apikey/list-managed-key`,{headers:{orgId:e},signal:t.signal,...t.silent?{silentError:!0}:{}});return D6.parse(n.data.Data)},listMembersKeys:async()=>{let e=await Ce.get(`${O6}/apikey/list-members-key`);return D6.parse(e.data.Data)},createApiKey:async e=>(await Ce.post(`${O6}/apikey/add`,e)).data,editApiKey:async e=>(await Ce.post(`${O6}/apikey/edit`,e)).data,deleteApiKey:async e=>(await Ce.post(`${O6}/apikey/delete`,{id:e})).data,resetApiKey:async e=>(await Ce.post(`${O6}/apikey/reset`,{id:e})).data},A6={all:[`apiKeys`],managed:e=>[...A6.all,e,`managed`],members:e=>[...A6.all,e,`members`]},j6=e=>{let{orgId:t=``}=l();return e||t||Gt(window.location.pathname)},bae=(e=[])=>e.find(e=>e.type===C6.Personal)??null,xae=(e,t)=>{e.removeQueries({queryKey:A6.all,type:t?`inactive`:void 0})},M6=e=>Sn({queryKey:A6.managed(e),queryFn:({signal:t})=>k6.listManagedKeys(e,{signal:t,scope:{orgId:e},silent:!0}),enabled:!!e,retry:1}),N6=e=>Cn(M6(j6(e))),Sae=e=>{let t=j6(e);return Cn({queryKey:A6.members(t),queryFn:k6.listMembersKeys,enabled:!!t})},Cae=e=>Cn({...M6(j6(e)),select:bae}),wae=()=>{let e=Tn(),t=gn({mutationFn:e=>k6.createApiKey(e),onSuccess:()=>{e.invalidateQueries({queryKey:A6.all})}});return{createApiKey:t.mutateAsync,isPending:t.isPending}},Tae=()=>{let e=Tn(),t=gn({mutationFn:e=>k6.deleteApiKey(e),onSuccess:()=>{e.invalidateQueries({queryKey:A6.all})}});return{deleteApiKey:t.mutateAsync,isPending:t.isPending}},Eae=()=>{let e=Tn(),t=gn({mutationFn:e=>k6.editApiKey(e),onSuccess:()=>{e.invalidateQueries({queryKey:A6.all})}});return{editApiKey:t.mutateAsync,isPending:t.isPending}},Dae=()=>{let e=Tn(),t=gn({mutationFn:e=>k6.resetApiKey(e),onSuccess:()=>{e.invalidateQueries({queryKey:A6.all})}});return{resetApiKey:t.mutateAsync,isPending:t.isPending}},Oae=`unfrozenRestoreHint:`,kae=600*1e3,Aae=(e,t)=>!!e&&!!t,P6=e=>`${Oae}${e}`,F6=()=>{if(!(typeof window>`u`))return window.sessionStorage},jae=(e,t)=>{if(!t||typeof t!=`object`)return null;let n=t;return n.orgId!==e||typeof n.canManageProjects!=`boolean`||typeof n.createdAt!=`number`||Date.now()-n.createdAt>kae?null:{orgId:n.orgId,canManageProjects:n.canManageProjects,createdAt:n.createdAt}},Mae=e=>{let t=F6();if(!t||!e.orgId)return;let n={orgId:e.orgId,canManageProjects:e.canManageProjects,createdAt:Date.now()};t.setItem(P6(e.orgId),JSON.stringify(n))},Nae=e=>{let t=F6();if(!t||!e)return null;let n=P6(e),r=t.getItem(n);if(!r)return null;try{let i=jae(e,JSON.parse(r));return i||t.removeItem(n),i}catch{return t.removeItem(n),null}},I6=e=>{let t=Nae(e);return t&&F6()?.removeItem(P6(e)),t},Pae=1e3,Fae=e=>{let t=p(),[n,r]=Lt(A),{activeProject:i,setClusterList:a,fetchCurrentClusterSupportFeatures:o,clusterList:s,fullClusterList:c}=Fn(),{clusterId:u=``}=l(),{fetchLatestBetaVersionInfo:d}=fu(),{fetchProjectList:f}=C(),{fetchCountries:m,fetchRegionList:h,fetchClusterMatrix:g,fetchAllClouds:_,rawAllClouds:v,fetchTimezoneList:y,fetchRestfulApiDomainList:b,fetchFeatureList:x,clusterMatrix:S}=Sc(),{getUserTimezone:w}=lu(),{fetchOnboardingStatus:T}=kc(),{fetchSsoEnforcementStatus:E}=S6(),{fetchDeletionFeedbackExists:D}=k2(),{fetchAccountInfo:O,fetchPayMethodInfo:k,fetchRequestFeedback:ee,profile:j,fetchBalanceInfo:te}=Pc(),ne=F(u6),re=Vl(),{curUserActiveOrg:ie,fetchOrgStatus:M,fetchOrgStatusCredit:ae,orgStatus:oe,checkHistoryInvoices:se,clearInvoiceState:ce,isByocOrg:le}=Kt();N6(ie?.orgId);let{fetchOrgMessage:ue}
51=x4(),{fetchDatabaseByClusterId:de,setAllDatabasesLoading:fe,allDatabases:pe}=Yl(),me=(0,W.useRef)(pe);me.current=pe;let{fetchByocRegionOptions:he,fetchByocInfo:ge,isByocStandard:_e}=dc(),{pollingJobSummary:ve,fetchJobSummary:ye,clearJobSummaryTimer:be}=cS(),{hasBillingAllAccess:xe}=MC(),{myOrgPermission:Se,resourceActions:Ce,isPermissionLoading:we}=Yn(),Te=dr(Ce,`project`,`create`),{canAction:Ee,isLoading:De,isFetching:Oe,isError:ke,resourceActions:Ae}=ur(i.id),je=Ee(I.Observability,`view`),Me=Se[un.Billing]?.includes(Le.View)??!1,Ne=c.find(e=>e._instanceId===u),{clearTimer:Pe,pollingData:Fe}=$n(Xn),Ie=(0,W.useRef)(!1),Re=(0,W.useRef)(null),{clearTimer:ze,pollingData:Be}=$n(or),Ve=async e=>{if(!ie?.orgId){ce();return}let t=await M();if(!e.cancelled){if(t._isFrozen&&t._isCleaned&&(Ie.current=!0),!t._isFrozen){se(Me);let e=Ie.current;Ie.current=!1,Ue({showRestoreHint:e,canManageProjects:Te}),Pe();return}t._isFrozen&&Fe(()=>Ve(e),8e3)}};(0,W.useEffect)(()=>{Ie.current=!1,Re.current=null},[ie?.orgId]),(0,W.useEffect)(()=>{oe?._isFrozen&&oe?._isCleaned&&(Ie.current=!0)},[oe?._isFrozen,oe?._isCleaned]),(0,W.useEffect)(()=>{if(!ie?.orgId)return;let e={cancelled:!1};return oe?._isFrozen&&Ve(e),()=>{e.cancelled=!0,Pe()}},[oe?._isFrozen,ie?.orgId]);let He=async e=>{if(!Me){ze();return}let t=!!j?._useBusinessEmail,n=!!oe?._hasPayMethod,r=await ae();if(!e.cancelled){if(!st({hasBusinessEmail:t,hasPayMethod:n,creditStatus:r})){ze();return}Be(()=>He(e),Pae)}};(0,W.useEffect)(()=>{if(!ie?.orgId||we||!Me){ze();return}let e={cancelled:!1};return He(e),()=>{e.cancelled=!0,ze()}},[ie?.orgId,Me,we,j?._useBusinessEmail,oe?._hasPayMethod]);let Ue=(e={})=>{r({open:!0,children:(0,G.jsx)(iae,{showRestoreHint:e.showRestoreHint,orgId:ie?.orgId,canManageProjects:e.canManageProjects??Te})})};return(0,W.useEffect)(()=>{if(!ie?.orgId||!oe||oe._isFrozen)return;let e=t.state?.unfrozenRestoreHint,n=e?.orgId===ie.orgId?e:I6(ie.orgId);if(!n)return;let r=`${n.orgId}:${n.createdAt}`;Re.current!==r&&(Re.current=r,Ue({showRestoreHint:!0,canManageProjects:n.canManageProjects}))},[ie?.orgId,t.state,oe]),(0,W.useEffect)(()=>{m(),y(),g()},[]),(0,W.useEffect)(()=>{ie?.orgId&&(le||(T(),d()),le&&(he(),ge()),O(),f(!0),ee(),w(),b(),ue(),x(),E(),D())},[ie?.orgId,le]),(0,W.useEffect)(()=>{!ie?.orgId||le||we||!Me||ae()},[ie?.orgId,Me,le,we]),(0,W.useEffect)(()=>{v.length>0&&h(v)},[v]),(0,W.useEffect)(()=>{if(!ie?.orgId||!xe){ce();return}se(),k(),te()},[ie?.orgId,xe]),(0,W.useEffect)(()=>{if(ie?.orgId)return _(),ne(``),re.removeInactiveAll(),i.id?!De&&je?ve(i.id):be():a([]),()=>{be()}},[i.id,je,ie?.orgId,De]),(0,W.useEffect)(()=>{let e=()=>{};return i.id&&!De&&je&&(e=h6.addListener(()=>ye(i.id))),e},[i.id,je,De]),tae(ie?.orgId),(0,W.useEffect)(()=>{Ne?._instanceId&&(Ne._isGlobalClusterEntity||Ne._instanceType===Hs.QueryCluster||o(Ne._instanceId).catch(()=>{}))},[Ne?._displayStatus,Ne?._instanceId]),(0,W.useEffect)(()=>{if(De||Oe||ke)return;let e=me.current,t=s.filter(t=>{if(t._instanceType!==Hs.Common||!dr(Ae,I.ServingClusterData,`read`,{resourceId:t._instanceId}))return!1;let n=e.find(e=>e.clusterId===t._instanceId);return Jc(xc(S,t._instanceType,t._globalClusterRole),t._instanceOriginStatusName)?!n?.databases:!1}).map(e=>async function(){return await de(e._instanceId)});t.length!==0&&(async()=>{try{fe(!0),await Promise.all(t.map(e=>e()))}finally{fe(!1)}})()},[s,S,ke,Oe,De,Ae]),aae(),e.children},L6={container:`_container_1j22j_4`,cloud:`_cloud_1j22j_8`,rotate:`_rotate_1j22j_1`},Iae=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 78 32`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`rect`,{x:37.041,y:10,width:9.12,height:2,fill:`black`}),(0,G.jsx)(`rect`,{x:68.6406,y:10,width:9.12,height:2,fill:`black`}),(0,G.jsx)(`rect`,{x:53.9219,y:5.36035,width:2.16,height:16.64,fill:`black`}),(0,G.jsx)(`rect`,{x:49.1211,y:10,width:2.16,height:12,fill:`black`}),(0,G.jsx)(`rect`,{width:2.16,height:2.16,transform:`matrix(1 0 0 -1 49.1211 7.52051)`,fill:`black`}),(0,G.jsx)(`rect`,{x:36.8008,y:20,width:9.6,height:2,fill:`black`}),(0,G.jsx)(`path`,{d:`M36.8008 20L43.6016 12L46.1608 12L39.36 20L36.8008 20Z`,fill:`black`}),(0,G.jsx)(`path`,{d:`M68.4004 20L75.2012 12L77.7604 12L70.9596 20L68.4004 20Z`,fill:`black`}),(0,G.jsx)(`rect`,{x:58.7207,y:5.36035,width:2.16,height:16.64,fill:`black`}),(0,G.jsx)(`rect`,{x:68.4004,y:20,width:9.6,height:2,fill:`black`}),(0,G.jsx)(`rect`,{x:63.5215,y:10,width:2.16,height:12,fill:`black`}),(0,G.jsx)(`rect`,{width:2.16,height:2.16,transform:`matrix(1 0 0 -1 63.5215 7.52051)`,fill:`black`}),(0,G.jsx)(`path`,{d:`M15 21.7553V32H17V19.732L22.3182 28.9435C22.92 28.6491 23.4983 28.3141 24.0494 27.9419L18.2277 17.8584L24.6389 20.1919C24.9282 19.5969 25.1578 18.9674 25.3199 18.3114L21.7168 17H32V15H19.732L28.9435 9.68174C28.6492 9.07994 28.3141 8.50169 27.9419 7.95059L17.9181 13.7378L20.2319 7.38074C19.6381 7.08866 19.0098 6.85612 18.3546 6.69092L17 10.4128V0H15V12.2679L9.68176 3.05649C9.07996 3.35081 8.50171 3.68586 7.95061 4.05805L13.7481 14.0996L7.3749 11.78C7.08364 12.3741 6.85197 13.0028 6.68768 13.6582L10.3742 15H0V17H12.2679L3.0565 22.3182C3.35082 22.92 3.68587 23.4982 4.05806 24.0493L14.1594 18.2174L11.82 24.6447C12.4154 24.9331 13.0452 25.1619 13.7014 25.3231L15 21.7553Z`,fill:`url(#paint0_linear_2722_7213)`}),(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`linearGradient`,{id:`paint0_linear_2722_7213`,x1:6.8,y1:3.4,x2:23.36,y2:30.24,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#9D41FF`}),(0,G.jsx)(`stop`,{offset:.468794,stopColor:`#2858FF`}),(0,G.jsx)(`stop`,{offset:.770884,stopColor:`#29B8FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#00F0FF`})]})})]}),R6=`cloud/v1/instance/collection`,z6={refresh:`${R6}/external/refresh`,refreshProgress:`${R6}/external/refresh/progress`,refreshJobs:`${R6}/external/refresh/jobs`},B6={refresh:async e=>{let t=await Ce.post(z6.refresh,{instanceId:e.clusterId,databaseName:e.databaseName,collectionName:e.collectionName,volumeId:e.volumeId,path:e.path,externalSource:e.externalSource,externalSpec:e.externalSpec});return hu.parse(t.data?.Data??{})},refreshProgress:async e=>{let t=await Ce.post(z6.refreshProgress,{instanceId:e.clusterId,jobId:e.jobId});return mu.parse(t.data?.Data??{})},listRefreshJobs:async(e,t)=>{let n=await Ce.post(z6.refreshJobs,{instanceId:e.clusterId,databaseName:e.databaseName,collectionName:e.collectionName},t);return gu.parse(n.data?.Data??{})}},V6={all:[`externalCollection`],refreshProgress:(e,t)=>
51[...V6.all,`refreshProgress`,e,t??``],refreshJobsAll:(e,t,n)=>[...V6.all,`refreshJobs`,e,t??``,n]},Lae=500,Rae=3e3,zae=2,Bae=e=>Cn({queryKey:V6.refreshProgress(e?.clusterId??``,e?.jobId),queryFn:()=>B6.refreshProgress(e),enabled:!!e?.jobId,retry:!1,refetchInterval:e=>e.state.data?._isTerminal||e.state.status===`error`?!1:e.state.dataUpdateCount<=zae?Lae:Rae}),Vae=e=>Cn({queryKey:V6.refreshJobsAll(e?.clusterId??``,e?.databaseName??``,e?.collectionName??``),queryFn:({signal:t})=>B6.listRefreshJobs(e,{signal:t}),enabled:!!(e?.clusterId&&e?.collectionName),retry:!1}),Hae=()=>{let e=Tn(),t=gn({mutationFn:e=>B6.refresh(e),onSuccess:(t,n)=>{e.invalidateQueries({queryKey:V6.refreshJobsAll(n.clusterId,n.databaseName,n.collectionName)}),e.invalidateQueries({queryKey:Bl.list(n.clusterId,n.databaseName,n.collectionName)})}});return{refreshExternalCollection:t.mutateAsync,isPending:t.isPending}},H6=Zt({key:`playgroundCacheAtom`,default:bu}),Uae=Zt({key:`lastViewedItemSearchParamAtom`,default:vu}),U6=Zt({key:`playgroundRequestParamsAtom`,default:_u}),W6=Zt({key:`playgroundResponseAtom`,default:yu}),G6=Zt({key:`playgroundPageLoadingAtom`,default:!0}),K6=Zt({key:`playgroundCollectionSchemaAtom`,default:[]}),q6=Zt({key:`playgroundCollectionUniqueKeyAtom`,default:``}),Wae=Zt({key:`isFinishInitPlaygroundData`,default:!1}),J6=Zt({key:`currentCluster`,default:{id:``,trigger:`manual`}}),Gae=()=>{let{projectId:e=``}=l(),[t,n]=Lt(H6),[r,i]=Lt(Uae),[a,o]=Lt(U6),[s,c]=Lt(W6),u=ot(U6),d=ot(W6),[f,p]=Lt(G6),[m,h]=Lt(K6),[g,_]=Lt(q6),[v,y]=Lt(Wae),[b,x]=Lt(J6),S=ot(J6);return{playgroundCache:t,updatePlaygroundCache:e=>{let{clusterId:r,regionId:i,requestType:a,from:o,requestParams:s,uniqueKey:c}=e,l=t[o],u=a||``;if(!l||!u||!c)return;let d=l[c]||{};
51n(e=>({...e,[o]:{...l,[c]:{...d,[u]:{...d[u],clusterId:r,regionId:i,requestType:a,requestParams:s}}}}))},lastViewedItemSearchParam:r,updateLastViewedItemSearchParam:e=>{let{from:t,searchParam:n,type:r}=e;i(e=>({...e,[t]:{type:r,search:n}}))},resetPlayground:()=>{u(),d(),y(!1),S()},playgroundRequestParams:a,updatePlaygroundRequestParams:e=>{o(t=>({...t,...e,trigger:`update`}))},setPlaygroundRequestParams:o,playgroundResponse:s,updatePlaygroundResponse:e=>{c(e)},fetchData:async e=>{let{collectionName:t,clusterId:n,needLoading:r,databaseName:i}=e;if(!t&&!n){p(!1),y(!0);return}y(!1),r&&p(!0);try{let[e]=await Promise.all([t&&n?Dl.describe({clusterId:n,collectionName:t,databaseName:i}):void 0]),{_createTimeStamp:r=``,_schemaFields:a=[]}=e||{};h(a);let o=`${n}-${t}-${r}`;_(o)}finally{p(!1),y(!0)}},playgroundPageLoading:f,collectionSchema:m,collectionUniqueKey:g,isFinishInitPlaygroundData:v,currentCluster:b,setCurrentCluster:x,resetCurrentCluster:S}},Y6=()=>{let{removeStorageValue:e}=k(In.TOKEN),{removeStorageValue:t,setStorageValue:n}=k(In.IS_LOGIN),{removeStorageValue:r}=k(In.CREATE_DB_FORM),{removeStorageValue:i}=k(In.MARKETPLACE),{removeStorageValue:a}=k(In.ENT_ID_VERIFIED),{removeStorageValue:o}=k(In.NEED_SET_PHONE),{saveUser:s,removeUserInfo:c}=Be(),l=ot(Rn),u=ot(Zl),d=ot(we),f=Vl(),p=ot(u6),m=ot(Wt),h=ot(Pt),g=ot(ut),_=ot(Qt),v=ot(Oc),y=ot(Rt),b=ot(et),x=ot(Ic),S=ot(xt),C=ot(Lc),w=ot(Fc),T=ot(b4),E=ot(pu),D=e=>xae(Bn,e),O=ot(Cc),A=ot(_c),ee=ot(yc),j=ot(pc),te=ot(mc),ne=ot(fc),re=ot(H6),ie=ot(U6),M=ot(W6),ae=ot(K6),oe=ot(q6),se=ot(G6),ce=ot(sr),le=ot(ft),{resetTimezone:ue}=lu(),de=()=>{re(),ie(),M(),ae(),oe(),se()},fe=e=>{e?f.removeInactiveAll():f.removeAll(),Bn.removeQueries({queryKey:V6.all,type:e?`inactive`:void 0}),l(),u(),d(),p(),ue(),h(),v(),y(),b(),x(),S(),C(),w(),T(),E(),D(e),O(),A(),de(),ee(),j(),te(),ne(),ce(),e||(g(),_(),m(),le())},pe=()=>{i(),a()};return{saveUser:s,removeUser:n=>{ar(),An(Bn),e(),t(),c(),o(),r(),!n&&pe(),fe()},resetData:fe,saveIsLogin:n}},X6=()=>{let{setProfile:e,accountInfo:t}=Pc(),n=F(Me),{resetData:r}=Y6(),{setActiveOrgs:i}=Kt(),a=Vl(),o=u();return{handleSwitchOrg:(s,c)=>{let l=t._userId;n(e=>({...e,orgProjectLayer:s!==Xx.viewAll}));let u=s===Xx.viewAll?`/orgs`:`/orgs/${s}/emptyLoading`;o(u,{flushSync:!0}),r(!0),e(e=>({...e,_myOrgRoles:[]})),i(e=>({...e,[l]:{orgId:s===Xx.viewAll?``:s.toString(),name:c}})),window.setTimeout(()=>{a.removeInactiveAll(),Bn.removeQueries({queryKey:V6.all,type:`inactive`})})}}},Z6=e=>{let{iconProps:t={},containerClassName:n=``}=e,{width:r,height:i}=t,{handleSwitchOrg:a}=X6();return(0,G.jsx)(`div`,{onClick:()=>{a(Xx.viewAll,``)},className:`${L6.container} ${n}`,children:(0,G.jsx)(Iae,{className:L6.cloud,width:r,height:i})})},Q6={container:`_container_10njy_3`,hasBanner:`_hasBanner_10njy_11`,header:`_header_10njy_20`,iconBtnRoot:`_iconBtnRoot_10njy_42`,actions:`_actions_10njy_56`,links:`_links_10njy_64`,line:`_line_10njy_74`,linkBtn:`_linkBtn_10njy_80`,prjLink:`_prjLink_10njy_84`,buttonGroup:`_buttonGroup_10njy_89`,orgSelectRoot:`_orgSelectRoot_10njy_103`,divider:`_divider_10njy_114`,orgSelect:`_orgSelect_10njy_103`,orgSelectOpen:`_orgSelectOpen_10njy_125`,logo:`_logo_10njy_131`,primaryNavigation:`_primaryNavigation_10njy_135`,logoWrapper:`_logoWrapper_10njy_147`,bottomOptionContainer:`_bottomOptionContainer_10njy_1`,bottomOption:`_bottomOption_10njy_1`,selectedItem:`_selectedItem_10njy_159`,black1Icon:`_black1Icon_10njy_174`,byocTag:`_byocTag_10njy_178`,tooltip:`_tooltip_10njy_186`,openIcon:`_openIcon_10njy_190`,rotate:`_rotate_10njy_1`},$6=bs?Ht:pe,e8={[Te.INCORRECT_ACCOUNT_OR_PWD]:$6(Te.INCORRECT_ACCOUNT_OR_PWD)},t8=B&&!0;ge.isUseAuth0=t8;var n8=ge,r8={root:`_root_tle2y_3`,btn:`_btn_tle2y_4`,active:`_active_tle2y_10`,btnIcon:`_btnIcon_tle2y_15`,popover:`_popover_tle2y_22`,content:`_content_tle2y_29`,fullName:`_fullName_tle2y_35`,email:`_email_tle2y_41`,actions:`_actions_tle2y_48`,link:`_link_tle2y_53`,arrowIcon:`_arrowIcon_tle2y_65`,rotate:`_rotate_tle2y_1`},i8={settings:`_settings_pw2e2_3`,titleWrapper:`_titleWrapper_pw2e2_8`,profileInfo:`_profileInfo_pw2e2_15`,unlinkWrapper:`_unlinkWrapper_pw2e2_19`,oAuthIcon:`_oAuthIcon_pw2e2_24`,contentTitle:`_contentTitle_pw2e2_29`,section:`_section_pw2e2_34`,ellipse:`_ellipse_pw2e2_39`,infoWrapper:`_infoWrapper_pw2e2_45`,emptyInfo:`_emptyInfo_pw2e2_52`,text:`_text_pw2e2_56`,mfaWrapper:`_mfaWrapper_pw2e2_61`,mfaTag:`_mfaTag_pw2e2_66`,deleteAccount:`_deleteAccount_pw2e2_77`,dangerZone:`_dangerZone_pw2e2_81`,content:`_content_pw2e2_29`,header:`_header_pw2e2_94`,deleteTip:`_deleteTip_pw2e2_102`,editBtn:`_editBtn_pw2e2_107`,password:`_password_pw2e2_112`,passwordInput
51:`_passwordInput_pw2e2_113`,unlinkTitle:`_unlinkTitle_pw2e2_118`,icon:`_icon_pw2e2_122`,unlinkText:`_unlinkText_pw2e2_127`,link:`_link_pw2e2_131`,unlinkConfirm:`_unlinkConfirm_pw2e2_136`,mfaOffBtn:`_mfaOffBtn_pw2e2_142`,mfaVerifyTitle:`_mfaVerifyTitle_pw2e2_147`,infoIcon:`_infoIcon_pw2e2_154`,turnOffIcon:`_turnOffIcon_pw2e2_161`,turnOffMfaTitle:`_turnOffMfaTitle_pw2e2_172`,title:`_title_pw2e2_8`,rotate:`_rotate_pw2e2_1`},a8=function(e){return e.Settings=`Settings`,e.EditProfile=`EditProfile`,e.EditPassword=`EditPassword`,e.UnlinkGoogle=`UnlinkGoogle`,e.UnlinkGithub=`UnlinkGithub`,e.TurnOnMFAVerifyPwd=`TurnOnMFAVerifyPwd`,e.TurnOnMFAVerifyCode=`TurnOnMFAVerifyCode`,e.TurnOffMFA=`TurnOffMFA`,e.TurnOffMFAVerifyCode=`TurnOffMFAVerifyCode`,e}({}),o8=function(e){return e.FirstName=`firstName`,e.LastName=`lastName`,e.Company=`company`,e.Country=`country`,e}({}),s8=function(e){return e.NewPassword=`NewPassword`,e.OldPassword=`OldPassword`,e.ConfirmPassword=`ConfirmPassword`,e}({}),c8={desc:`_desc_ioz4h_3`,checkList:`_checkList_ioz4h_8`,item:`_item_ioz4h_14`,text:`_text_ioz4h_19`,pass:`_pass_ioz4h_24`,error:`_error_ioz4h_25`,rotate:`_rotate_ioz4h_1`},l8=({desc:e=``,checklist:t=[],onClose:n,...r})=>{let{t:i}=_([`organization`]),a=F(A);return(0,G.jsxs)(sc,{confirmLabel:i(`organization:deleteOrg.fail.confirm`),confirmBtnProps:{variant:`outlined`},handleConfirm:()=>{a(e=>({...e,open:!1})),n&&n()},showCancel:!1,...r,children:[e&&(0,G.jsx)(L,{component:`div`,className:c8.desc,children:e}),(0,G.jsx)(`ul`,{className:c8.checkList,children:t.map(e=>(0,G.jsxs)(`li`,{className:c8.item,children:[e.checked?(0,G.jsx)(Fr,{size:14,className:c8.pass}):(0,G.jsx)(Ar,{size:14,className:c8.error}),(0,G.jsx)(L,{component:`div`,className:c8.text,children:e.label})]},e.id))})]})},u8={container:`_container_3yk09_3`,icon:`_icon_3yk09_7`,warning:`_warning_3yk09_17`,error:`_error_3yk09_25`,rotate:`_rotate_3yk09_1`},d8=e=>{let{value:t,type:n=`info`,classes:r={container:``,icon:``}}=e,i=n===`error`?Vi:Bi;return(0,G.jsxs)(`div`,{className:R(u8.container,r.container),children:[(0,G.jsx)(i,{size:24,className:R(u8.icon,{[u8.warning]:n===`warning`,[u8.error]:n===`error`},r.icon)}),t]})},f8=function(e){return e.Name=`name`,e.Code=`code`,e}({}),Kae=function(e){return e.Org=`org`,e}({}),qae={hide:`_hide_1etvv_1`},Jae=e=>{let{passOrgCheck:t}=e,{t:n}=_([`account`,`common`]),r=(0,W.useMemo)(()=>[{id:Kae.Org,checked:t,label:(0,G.jsx)(d,{t:n,i18nKey:`account:deleteAccount.fail.reason.org`,components:[(0,G.jsx)(`span`,{className:R({[qae.hide]:t})})]})}],[t]);return(0,G.jsx)(l8,{title:(0,G.jsx)(d8,{type:`error`,value:n(`account:deleteAccount.fail.title`)}),desc:n(`account:deleteAccount.fail.desc`),checklist:r})},p8=(e=!0,t=60)=>{let[n,r]=(0,W.useState)(t),[i,a]=(0,W.useState)(!1),o=async()=>{a(!0)};return(0,W.useEffect)(()=>{e&&o()},[e]),{initCounter:n,disabled:i,handleCounterStart:o,handleCounterOver:()=>{r(t),a(!1)}}},m8=()=>{let[e,t]=(0,W.useState)(``),[n,r]=(0,W.useState)(``),{t:i}=_(`auth`);return{code:e,onCodeChange:e=>{t(e),r(``)},errorMessage:n,onErrorMessageChange:(e,t)=>
51{let n=t||``;switch(e){case Te.VERIFY_CODE_INVALID:n=i(`confirmCodeError`);break;case Te.VERIFY_CODE_EXPIRED:n=i(`confirmCodeExpired`);break;default:break}r(n)},resetErrorMessage:()=>{r(``)}}},h8=e=>{let{time:t,cb:n,counterChangeCb:r,className:i=``,isPure:a=!1}=e,[o,s]=(0,W.useState)(t);return(0,W.useEffect)(()=>{o>0&&setTimeout(()=>s(o-1),1e3),o===0&&n&&n(),r&&r(o)},[o]),(0,G.jsx)(`span`,{className:i,children:(0,W.useMemo)(()=>o===0?``:a?o:`(${o}s)`,[o])})},g8={confirmStep:`_confirmStep_1k4m7_3`,tip:`_tip_1k4m7_8`,code:`_code_1k4m7_15`,codeInputWrapper:`_codeInputWrapper_1k4m7_22`,button:`_button_1k4m7_26`,verifyMsg:`_verifyMsg_1k4m7_31`,error:`_error_1k4m7_37`,checkList:`_checkList_1k4m7_42`,checkItem:`_checkItem_1k4m7_46`,rotate:`_rotate_1k4m7_1`},Yae=e=>{let{email:t,feedbackPayload:n,onBack:r}=e,{t:i}=_([`account`,`common`]),[a,o]=(0,W.useState)(!1),{resetDialog:s}=re(),{removeUser:c}=Y6(),l=u(),{initCounter:f,disabled:p,handleCounterStart:m,handleCounterOver:h}=p8(!1),{errorMessage:g,onErrorMessageChange:v,resetErrorMessage:y}=m8(),b=i(`account:deleteAccount.checkList`,{returnObjects:!0}).map((e,t)=>({id:`check-${t}`,text:e})),x=async()=>{p||await tn.sendDeleteAccountVerifyCode(),m()},S=()=>{s(),l(`/login`),setTimeout(()=>c(),0)};return(0,G.jsx)(St,{isAlwaysAllowed:!0,type:j.Form,title:i(`account:deleteAccount.title`),showLeftCancel:!0,confirmLabel:i(`account:deleteAccount.feedback.submit`),cancelLabel:i(`common:button.back`),confirmLoading:a,handleCancel:r,handleConfirm:async e=>{o(!0);try{let{code:t}=e;await tn.deleteAccount(n,t),S()}catch(e){let{response:t}=e,n=t?.data?.Code;v(n)}finally{o(!1)}},confirmType:Ve.Delete,children:(0,G.jsxs)(`div`,{className:g8.confirmStep,children:[(0,G.jsx)(L,{variant:`body2Regular`,className:g8.tip,children:i(`account:deleteAccount.tip`)}),(0,G.jsx)(E,{componentProps:{label:(0,G.jsx)(L,{variant:`h4Medium`,children:(0,G.jsx)(d,{t:i,i18nKey:`account:deleteAccount.form.email`,values:{email:t},components:[(0,G.jsx)(L,{component:`span`,variant:`h4Semibold`})]})}),fullWidth:!0},name:f8.Name,rules:{validate:e=>e===t}}),(0,G.jsxs)(`div`,{className:g8.code,children:[(0,G.jsx)(`div`,{className:g8.codeInputWrapper,children:(0,G.jsx)(E,{componentProps:{label:(0,G.jsx)(L,{variant:`h4Medium`,children:i(`account:deleteAccount.form.code`)}),fullWidth:!0},name:f8.Code,rules:{required:!0},handleChange:()=>y()})}),(0,G.jsxs)(z,{variant:`outlined`,className:g8.button,onClick:x,disabled:p,children:[i(`account:deleteAccount.form.send`),p&&(0,G.jsx)(h8,{time:f,cb:h})]})]}),(0,G.jsx)(L,{className:R(g8.verifyMsg,{[g8.error]:g}),children:g}),(0,G.jsx)(`ul`,{className:g8.checkList,children:b.map(e=>(0,G.jsx)(`li`,{className:g8.checkItem,children:(0,G.jsx)(p0,{name:e.id,componentProps:{label:e.text},rules:{validate:e=>!!e}})},e.id))})]})})},Xae=e=>{let{email:t}=e,{t:n}=_(`account`),{serializeFormData:r}=D2(w2.Account),{contactSalesLink:i,profileSearchParams:a}=Pc(),o=(0,W.useMemo)(()=>`${oo}?${a||``}`,[a]),[s,c]=(0,W.useState)(null);return s?(0,G.jsx)(Yae,{email:t,feedbackPayload:r(s.selectedReason,s.formData),onBack:()=>c(null)}
51):(0,G.jsx)(U2,{deletionType:w2.Account,title:n(`deleteAccount.survey.title`),required:!0,bannerContent:e=>e.type===E2.DisplayBanner?(0,G.jsxs)(`span`,{children:[n(`deleteAccount.survey.discountBanner.text`),` `,(0,G.jsx)(`a`,{href:i,target:`_blank`,rel:`noopener noreferrer`,children:n(`deleteAccount.survey.discountBanner.link`)})]}):e.showBanner?(0,G.jsxs)(G.Fragment,{children:[n(`deleteAccount.survey.regionBanner.text`),(0,G.jsx)(`a`,{href:o,target:`_blank`,rel:`noopener noreferrer`,children:n(`deleteAccount.survey.regionBanner.link`)})]}):null,onSubmit:(e,t)=>{c({selectedReason:e,formData:t})}})},Zae=()=>{let{t:e}=_([`account`,`common`]),t=F(A),{fetchUserProfile:n}=Pc(),[r,i]=(0,W.useState)(!1),a=()=>{t({open:!0,children:(0,G.jsx)(O8,{})})};return(0,G.jsx)(St,{title:e(`account:profile.editPhone.title`),type:j.Form,onClose:a,handleCancel:a,confirmLoading:r,confirmLabel:e(`common:button.submit`),handleConfirm:async e=>{try{i(!0),await tn.modifyProfile(e),await n(),a()}finally{i(!1)}},children:(0,G.jsx)(E,{name:`phone`,componentProps:{fullWidth:!0,label:e(`account:profile.editPhone.label`)},rules:{required:e(`common:warning.required`,{name:e(`account:profile.editPhone.label`)})}})})};Cs(xs.Mobilephone);var Qae=Cs(xs.CountryAndRegion),$ae=({enableMfa:e,onCurrentStepChange:t,loginWay:n})=>{let{t:r}=_([`account`,`common`]),i=u(),{profile:a,accountInfo:o,checkIsContainAccountType:s}=Pc(),{_email:c,_fullName:l,_company:f,_country:p,_jobTitle:m,_phone:h}=a,{_userId:g,_enableTOTP:v}=o,y=F(A),{setActiveOrgs:b}=Kt(),[x,S]=(0,W.useState)(!1),[C,w]=(0,W.useState)({email:!1,phone:!1}),T=s(Ze.sso),E=s(Ze.google),D=s(Ze.github),O=s(Ze.email),k=E||D||T,ee=v>=Pe.FORCE_OPEN,{oAuthTextMap:j}=(0,W.useMemo)(()=>({oAuthTextMap:{[nn.sso]:{unlink:{text:``,icon:(0,G.jsx)(G.Fragment,{})}},[nn.github]:{unlink:{text:r(`account:profile.githubUnlink`),icon:(0,G.jsx)(pi,{width:14,height:14,className:i8.oAuthIcon})}},[nn.google]:{unlink:{text:r(`account:profile.googleUnlink`),icon:(0,G.jsx)(wr,{width:14,height:14,className:i8.oAuthIcon})}}}}),[n]),te=()=>{t(a8.EditProfile)},ne=()=>{t(a8.EditPassword)},re=()=>{y(e=>({...e,open:!1}))},ie=e=>{re(),b(e=>({...e,[g]:{orgId:``,name:``}})),i(e)},M=()=>{ie(`/account/edit/email`)},ae=()=>{y({open:!0,children:(0,G.jsx)(Zae,{})})},oe=()=>{if(B){ae();return}ie(`/account/edit/phone`)},se=()=>{y({open:!0,children:(0,G.jsx)(Xae,{email:c})})},ce=e=>{y({open:!0,size:`large`,children:(0,G.jsx)(Jae,{passOrgCheck:e})})},le=async()=>{S(!0);try{let{passOrgCheck:e}=await ue();e?se():ce(e)}finally{S(!1)}},ue=async()=>{let{_onlyOrgOwner:e}=await tn.checkCanDeleteAccount();return{passOrgCheck:!e}};return(0,G.jsxs)(`div`,{className:i8.settings,children:[(0,G.jsxs)(`div`,{className:i8.section,children:[(0,G.jsxs)(`div`,{className:i8.titleWrapper,children:[(0,G.jsx)(L,{variant:`h3Semibold`,className:R(i8.contentTitle,i8.accountTitle),children:r(`account:profile.profileTitle`)}),(0,G.jsx)(z,{size:`xs`,variant:`outlined`,onClick:te,className:i8.editBtn,children:r(`account:profile.edit`)})]}),(0,G.jsx)(L,{variant:`body1Regular`,className:i8.profileInfo,children:[l||fe.UNKNOWN,Qae?p||fe.UNKNOWN:``,f||fe.UNKNOWN,m||fe.UNKNOWN].filter(Boolean).join(`, `)})]}),(0,G.jsx)(`div`,{className:i8.section,children:(0,G.jsxs)(`div`,{className:i8.titleWrapper,children:[(0,G.jsxs)(`div`,{className:i8.content,children:[(0,G.jsx)(L,{variant:`h3Semibold`,className:i8.contentTitle,children:r(`account:profile.emailAddressTitle`)}),(0,G.jsx)(L,{variant:`body1Regular`,children:c})]}),(0,G.jsxs)(`div`,{className:i8.unlinkWrapper,children:[!k&&(0,G.jsx)(z,{size:`xs`,variant:`outlined`,onClick:M,loading:C.email,className:i8.editBtn,children:r(`account:profile.update`)}),E&&(0,G.jsx)(z,{variant:`outlined`,size:`xs`,startIcon:j[nn.google].unlink.icon,onClick:()=>t(a8.UnlinkGoogle),children:(0,G.jsx)(L,{variant:`body3Regular`,children:j[nn.google].unlink.text})}),D&&(0,G.jsx)(z,{variant:`outlined`,size:`xs`,startIcon:j[nn.github].unlink.icon,onClick:()=>t(a8.UnlinkGithub),children:(0,G.jsx)(L,{variant:`body3Regular`,children:j[nn.github].unlink.text})})]})]})}),(0,G.jsx)(`div`,{className:i8.section,children:(0,G.jsxs)(`div`,{className:i8.titleWrapper,children:[(0,G.jsxs)(`div`,{children:[(0,G.jsx)(L,{variant:`h3Semibold`,className:i8.contentTitle,children:r(`account:profile.phoneTitle`)}),(0,G.jsx)(L,{variant:`body1Regular`,children:h})]}),(0,G.jsx)(z,{size:`xs`,variant:`outlined`,loading:C.phone,onClick:oe,className:i8.editBtn,children:r(`account:profile.update`)})]})}),(0,G.jsxs)(`div`,{className:i8.section,children:[(0,G.jsxs)(`div`,{className:i8.titleWrapper,children:[(0,G.jsxs)(`div`,{children:[(0,G.jsx)(L,{variant:`h3Semibold`,className:i8.contentTitle,children:r(`account:profile.password`)}),(0,G.jsx)(L,{className:R(i8.item,i8.ellipse),children:Array(9).fill(0).map((e,t)=>(0,G.jsx)(`span`,{children:`*`},t))})]}),O&&(0,G.jsx)(z,{size:`xs`,variant:`outlined`,className:i8.editBtn,onClick:ne,children:r(`account:profile.editPwd`)})]}),!O&&(0,G.jsx)(`div`,{className:R(i8.tip),children:(0,G.jsx)(L,{className:i8.text,children:r(`account:profile.thirdPartyPwdTip`)})})]}),(0,G.jsxs)(`div`,{className:R(i8.section,i8.mfaWrapper),children:[(0,G.jsxs)(`div`,{className:i8.titleWrapper,children:[(0,G.jsx)(L,{variant:`h3Semibold`,className:i8.contentTitle,children:r(`account:profile.mfaTitle`)}),n===nn.email&&(0,G.jsx)(ma,{tooltip:{title:ee?(0,G.jsx)(d,{t:r,i18nKey:`profile.mfaRequiredTooltip`}):``,placement:`top`},children:(0,G.jsx)(ja,{checked:e,disabled:ee,onChange:e=>{let{target:{checked:n}}=e;
51t(n?a8.TurnOnMFAVerifyPwd:a8.TurnOffMFA)},"data-event":vs.MFA,"data-action":Ds.OPEN})})]}),(0,G.jsx)(`div`,{className:R(i8.tip,i8.mfaTip),children:(0,G.jsx)(L,{className:i8.text,variant:`body3Regular`,children:r(`account:profile.mfaTip`)})}),n!==nn.email&&(0,G.jsx)(br,{label:r(`account:profile.mfaManagedByThirdParty`),variant:`filled`,size:`small`,color:`success`,className:i8.mfaTag,icon:(0,G.jsx)(yi,{size:14})})]}),(0,G.jsxs)(`div`,{className:R(i8.section,i8.deleteAccount),children:[(0,G.jsx)(`div`,{className:i8.titleWrapper,children:(0,G.jsxs)(`div`,{className:i8.content,children:[(0,G.jsxs)(`div`,{className:i8.header,children:[(0,G.jsx)(L,{variant:`h3Semibold`,className:i8.contentTitle,children:r(`account:profile.delete.title`)}),(0,G.jsx)(z,{severity:`error`,size:`xs`,loading:x,onClick:le,children:r(`account:profile.delete.btn`)})]}),(0,G.jsx)(L,{variant:`body3Regular`,className:i8.text,children:r(`account:profile.delete.desc`)})]})}),(0,G.jsx)(L,{variant:`body3Regular`,className:i8.dangerZone,children:r(`account:profile.delete.dangerZone`)})]})]})},_8={formWrapper:`_formWrapper_bbuag_1`,inlineWrapper:`_inlineWrapper_bbuag_8`,input:`_input_bbuag_11`,reverse:`_reverse_bbuag_15`},v8=(e,t,n)=>n?t.split(`.`).reduce((e,t)=>e?.[t],e):e[t],y8=({componentProps:e={},onChange:t,defaultValue:n,isFieldArray:r=!1,notTriggerSelectChangeValues:i=[],...a})=>{let{control:o,formState:{errors:s}}=Re(),{options:c=[],...l}=e;return(0,G.jsx)(_e,{control:o,defaultValue:n,...a,render:({field:e})=>{let a=v8(s,e.name,r)?.message,o=!!v8(s,e.name,r),{value:u,...d}=e;return(0,G.jsx)(nee,{...d,ref:e.ref,options:c,value:u,defaultValue:n,onInputChange:(n,r)=>{let i=r.trim(),a=n?.target?.value||``;e.onChange(i),t&&t(i,a)},onChange:(n,r)=>{let a=r?r.value.trim():``;i.includes(a)||e.onChange(a),t&&t(a,``)},...l,inputParams:{helperText:a,error:o,...l.inputParams},clearOnBlur:!1})}})},eoe={root:`_root_cha7y_3`,rotate:`_rotate_cha7y_1`},b8=({children:e,show:t,fieldNames:n,parentFieldName:r=``,deps:i=[],hiddenValues:a})=>{let{unregister:o,control:s,getValues:c,setValue:l}=Re(),u=Ie({control:s,name:i}),d=(0,W.useMemo)(()=>i.reduce((e,t,n)=>(e[t]=u[n],e),{}),[i,u]),f=(0,W.useMemo)(()=>t(d),[t,d]),p=!!a;return(0,W.useEffect)(()=>{if(p){Object.entries(a).forEach(([e,t])=>{l(e,t)});return}f||(async()=>{if(await Promise.all(n.map(e=>o(e))),r){let e=c(r);(!e||Object.keys(e).length===0)&&await o(r)}})()},[f,p]),f?(0,G.jsx)(G.Fragment,{children:e}):null},toe=[`account:profile.jobs.productManager`,`account:profile.jobs.dataAnalytics`,`account:profile.jobs.engineeringManagement`,`account:profile.jobs.solutionsSalesEngineer`,`account:profile.jobs.executiveBusiness`,`account:profile.jobs.developer`,`account:profile.jobs.devopsSre`,`account:profile.jobs.other`],x8=e=>{let{t}=_([`common`,`account`]),{defaultValue:n=``}=e,r=(0,W.useMemo)(()=>toe.map(e=>{let n=t(e);return{label:n,value:n}}),[t]),{defaultOptionValue:i,defaultInputValue:a}=(0,W.useMemo)(()=>{if(!n)return{defaultOptionValue:void 0,defaultInputValue:void 0};let e=r.find(e=>e.value===n);return e?{defaultOptionValue:e.value,defaultInputValue:void 0}:{defaultOptionValue:t(`account:profile.jobs.other`),defaultInputValue:n}},[n,r,t]);return(0,G.jsxs)(`div`,{className:eoe.root,children:[(0,G.jsx)(ru,{name:C4.jobTitle,defaultValue:i,rules:{required:t(`common:warning.required`,{name:t(`account:profile.jobTitle`)})},componentProps:{label:t(`account:profile.jobTitle`),options:r,inputProps:{"data-testid":`information-form-job-title-select`}}}),(0,G.jsx)(b8,{fieldNames:[C4.jobTitleOther],show:({[C4.jobTitle]:e})=>e===t(`account:profile.jobs.other`),deps:[C4.jobTitle],children:(0,G.jsx)(E,{name:C4.jobTitleOther,defaultValue:a,componentProps:{fullWidth:!0,placeholder:t(`account:profile.jobTitleOtherPlaceholder`)},rules:{required:t(`account:profile.jobTitleOtherPlaceholder`)}})})]})},noe=({profile:{_firstName:e=``,_lastName:t=``,_company:n=``,_country:r=``,_jobTitle:i=``}})=>{let{t:a}=_([`account`,`common`]),{getRequiredRule:o}=P$(),{countryList:s}=Sc(),c=e=>({...o(e),maxLength:{value:64,message:a(`account:profile.editProfile.errorMsg.maxLength`,{number:64})},validate:t=>!qn.test(t)||a(`account:profile.editProfile.errorMsg.name`,{name:e})});return(0,G.jsxs)(`div`,{className:_8.formWrapper,children:[(0,G.jsxs)(`div`,{className:R(_8.inlineWrapper,{[_8.reverse]:Ss!==_s.Cloud}),children:[(0,G.jsx)(iu,{defaultValue:e,name:o8.FirstName,rules:c(a(`account:profile.editProfile.firstName`)),componentProps:{wrapperClassName:_8.input,fullWidth:!0,label:(0,G.jsx)(ye,{children:a(`account:profile.editProfile.firstName`)})}}),(0,G.jsx)(iu,{defaultValue:t,name:o8.LastName,rules:c(a(`account:profile.editProfile.lastName`)),componentProps:{wrapperClassName:_8.input,fullWidth:!0,label:(0,G.jsx)(ye,{children:a(`account:profile.editProfile.lastName`)})}})]}),(0,G.jsx)(iu,{defaultValue:n,name:o8.Company,rules:{required:a(`common:warning.required`,{name:a(`account:profile.company`)}),maxLength:{value:64,message:a(`account:profile.editProfile.errorMsg.maxLength`,{number:64})}},componentProps:{fullWidth:!0,label:(0,G.jsx)(ye,{children:a(`account:profile.company`)})}}),(0,G.jsx)(DC,{feature:xs.CountryAndRegion,children:(0,G.jsx)(y8,{name:o8.Country,defaultValue:r,rules:{validate:e=>e===void 0?!0:s.some(t=>t.value===e)||a(`common:warning.required`,{name:a(`account:profile.country`)})},componentProps:{options:s,fullWidth:!0,inputParams:{label:(0,G.jsx)(ye,{children:a(`account:profile.country`)})},onInputChange:()=>{}}})}),(0,G.jsx)(x8,{defaultValue:i})]})},S8=sn,roe=({errorMsg:e,setErrorMsg:t})=>{let{t:n}=_([`account`,`auth`,`common`]),{getRequiredRule:r}=P$(),{pwdValidate:i}=ce(),{getValues:a,trigger:o}=Re(),s=a(s8.NewPassword),c=a(s8.ConfirmPassword);return(0,W.useEffect)(()=>{c&&o(s8.ConfirmPassword)},[s]),(0,G.jsxs)(`div`,{className:i8.password,children:[(0,G.jsx)(S8,{name:s8.OldPassword,showOverlay:!1,rules:r(n(`account:profile.changePassword.curPassword`)),componentProps:{fullWidth:!0,label:n(`account:profile.changePassword.curPassword`)},handleChange:()=>t(``)}),(0,G.jsx)(Xe,{errMsg:e}),(0,G.jsx)(S8,{name:s8.NewPassword,showOverlay:!0,componentProps:{label:n(`account:profile.changePassword.newPassword`)},classes:{inputWrapper:i8.passwordInput},rules:{validate:i}}),(0,G.jsx)(S8,{name:s8.ConfirmPassword,showOverlay:!1,componentProps:{fullWidth:!0,label:n(`account:profile.changePassword.confirmedPwd`)},classes:{inputWrapper:i8.passwordInput},rules:{validate:e=>e===s||n(`common:password.pwdConfirmError`)}})]})},ioe=e=>{let{email:t,hasMultipleLoginWays:n}=e,{t:r}=_(`account`);return(0,G.jsx)(L,{component:`p`,className:i8.unlinkText,children:n?r(`profile.unlinkContent.hasEmail`):(0,G.jsx)(d,{i18nKey:`profile.unlinkContent.noEmail`,t:r,values:{email:t},components:[(0,G.jsx)(`a`,{target:`_blank`,className:i8.link,href:`mailto:${t}`})]})})},aoe=()=>{let{t:e}=_(`account`);return(0,G.jsx)(L,{component:`p`,children:e(`delete.tip`)})},C8={verifyTips:`_verifyTips_13zln_3`,verifyPwd:`_verifyPwd_13zln_7`,tip:`_tip_13zln_8`,verifyPwdInput:`_verifyPwdInput_13zln_12`,error:`_error_13zln_17`,rotate:`_rotate_13zln_1`},ooe=()=>{let{t:e}=_(`account`);return(0,G.jsxs)(`div`,{className:C8.verifyPwd,children:[(0,G.jsx)(L,{className:C8.tip,children:e(`verify.pwdTip`)}),(0,G.jsx)(S8,{name:`password`,showOverlay:!1,rules:{required:!0},classes:{inputWrapper:C8.verifyPwdInput}})]})},w8={tip:`_tip_12pn7_3`,resendContainer:`_resendContainer_12pn7_7`,text:`_text_12pn7_14`,resend:`_resend_12pn7_7`,disabled:`_disabled_12pn7_21`,codeContainer:`_codeContainer_12pn7_27`,error:`_error_12pn7_31`,show:`_show_12pn7_36`,rotate:`_rotate_12pn7_1`},T8=e=>{let{resendEmail:t,onCodeChange:n,email:r,errorMsg:i=``}=e,{t:a}=_(`account`),{initCounter:o,disabled:s,handleCounterStart:c,handleCounterOver:l}=p8(),u=()=>{s||t(),c()},f=e=>{let t=e.filter(e=>e!==``);if(t.length===6){let e=t.join(``);n(e)}};return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(L,{className:w8.tip,children:(0,G.jsx)(d,{i18nKey:`verify.codeTipOne`,t:a,values:{email:r},components:[(0,G.jsx)(`strong`,{})]})}),(0,G.jsxs)(`div`,{className:w8.resendContainer,children:[(0,G.jsx)(L,{className:R(w8.tip,w8.text),children:a(`verify.codeTipTwo`)}),(0,G.jsxs)(L,{className:R({[w8.disabled]:s,[w8.resend]:!s}),onClick:u,children:[a(`verify.resend`),s&&(0,G.jsx)(h8,{time:o,cb:l})]})]}),(0,G.jsx)(`div`,{className:w8.codeContainer,children:(0,G.jsx)(ei,{count:6,onGroupChange:f})}),(0,G.jsx)(L,{className:R(w8.error,{[w8.show]:i}),children:i})]})}
51,E8={content:`_content_xaz16_3`,link:`_link_xaz16_7`,contact:`_contact_xaz16_12`,icon:`_icon_xaz16_18`,rotate:`_rotate_xaz16_1`},soe=e=>{let{className:t=``}=e,{t:n}=_(`account`),r=F(Fe),i=()=>{r(e=>({...e,open:!1}))};return(0,G.jsx)(L,{className:R(E8.content,t),component:`div`,children:(0,G.jsx)(d,{i18nKey:`verify.moreHelp`,t:n,components:[(0,G.jsx)(`span`,{className:E8.link,onClick:()=>{r({open:!0,size:`medium`,children:(0,G.jsx)(dY,{subject:``,desc:``,isNestDialog:!0,handleCancel:i})})}}),(0,G.jsx)(`a`,{className:E8.link,target:`_blank`,href:Go})]})})},coe=({resendEmail:e,email:t,onCodeChange:n,errorMsg:r=``})=>(0,G.jsxs)(`div`,{children:[(0,G.jsx)(T8,{email:t,onCodeChange:n,resendEmail:e}),r&&(0,G.jsx)(L,{className:C8.error,children:r}),(0,G.jsx)(soe,{className:C8.verifyTips})]}),D8=e=>{let{jobTitle:t,jobTitleOther:n}=e;return t?t===`Other`?n||ds.UNKNOWN:t:ds.UNKNOWN},O8=()=>{let{t:e}=_([`account`,`common`]),{profile:t,accountInfo:{_enableMfa:n,_loginWay:r,_accountType:i},fetchAccountInfo:a,fetchUserProfile:o}=Pc(),s=u(),{message:c}=Ga(),{removeUser:l}=Y6(),d=F(A),[f,p]=(0,W.useState)(a8.Settings),[m,h]=(0,W.useState)(``),[g,v]=(0,W.useState)(!1),[y,b]=(0,W.useState)(``),{errorMessage:x,onErrorMessageChange:S,resetErrorMessage:C}=m8();(0,W.useEffect)(()=>{a()},[]);let{dialogTitle:w,dialogType:T,confirmLabel:E,confirmType:D}=(0,W.useMemo)(()=>{let t=e=>(0,G.jsx)(`div`,{className:i8.mfaVerifyTitle,children:(0,G.jsx)(L,{variant:`h1Bold`,className:i8.text,children:e.text})}),n=e=>(0,G.jsxs)(`div`,{className:i8.unlinkTitle,children:[(0,G.jsx)(Vi,{size:28,className:i8.icon}),(0,G.jsx)(L,{component:`p`,variant:`h1Bold`,children:e})]}),r={[a8.EditProfile]:e(`account:profile.editProfile.title`),[a8.Settings]:e(`account:profile.title`),[a8.EditPassword]:e(`account:profile.changePassword.title`),[a8.UnlinkGoogle]:n(e(`account:profile.unlinkGoogleTitle`)),[a8.UnlinkGithub]:n(e(`account:profile.unlinkGitHubTitle`)),[a8.TurnOnMFAVerifyPwd]:(0,G.jsx)(t,{text:e(`account:verify.enableMFA`)}),[a8.TurnOnMFAVerifyCode]:(0,G.jsx)(t,{text:e(`account:verify.title`)}),[a8.TurnOffMFA]:(0,G.jsxs)(`div`,{className:i8.turnOffMfaTitle,children:[(0,G.jsx)(Vi,{size:24,className:i8.icon}),(0,G.jsx)(L,{component:`p`,variant:`h1Bold`,className:i8.title,children:e(`account:delete.title`)})]}),[a8.TurnOffMFAVerifyCode]:(0,G.jsx)(t,{text:e(`account:delete.title`)})},i=[a8.EditProfile,a8.EditPassword,a8.TurnOnMFAVerifyPwd].includes(f)?j.Form:j.Common,a=``;switch(f){case a8.TurnOnMFAVerifyCode:a=e(`common:button.confirm`);break;case a8.UnlinkGithub:case a8.UnlinkGoogle:a=e(`common:button.unlink`);break;case a8.TurnOnMFAVerifyPwd:a=e(`common:button.enable`);break;case a8.EditPassword:a=e(`common:button.save`);break;case a8.TurnOffMFAVerifyCode:case a8.TurnOffMFA:a=e(`account:delete.btn`);break;default:a=e(`common:button.save`);break}let o=[a8.UnlinkGithub,a8.UnlinkGoogle,a8.TurnOffMFA,a8.TurnOffMFAVerifyCode].includes(f)?Ve.Delete:Ve.Common;return{dialogTitle:r[f],dialogType:i,confirmLabel:a,confirmType:o}},[f,r]),O=(0,W.useCallback)(()=>{switch(f){case a8.EditProfile:return(0,G.jsx)(noe,{profile:t});case a8.EditPassword:return(0,G.jsx)(roe,{errorMsg:y,setErrorMsg:b});case a8.UnlinkGithub:case a8.UnlinkGoogle:let e=a8.UnlinkGithub?i>Ze.github:a8.UnlinkGoogle?i>Ze.google:!1;return(0,G.jsx)(ioe,{email:t._email,hasMultipleLoginWays:e});case a8.TurnOnMFAVerifyPwd:return(0,G.jsx)(ooe,{});case a8.TurnOnMFAVerifyCode:return(0,G.jsx)(T8,{resendEmail:ae,onCodeChange:oe,email:t._email,errorMsg:x});case a8.TurnOffMFA:return(0,G.jsx)(aoe,{});case a8.TurnOffMFAVerifyCode:return(0,G.jsx)(coe,{email:t._email,onCodeChange:h,resendEmail:ae,errorMsg:x});default:return(0,G.jsx)($ae,{profile:t,enableMfa:n,onCurrentStepChange:ee,loginWay:r})}},[f,y,x]);(0,W.useEffect)(()=>{f===a8.TurnOffMFA?d(e=>({...e,size:`small`})):d(e=>({...e,size:`medium`}))},[f]);let k=()=>{d(e=>({...e,open:!1}))},ee=e=>{p(e),C()},te=async t=>{let{jobTitle:n,jobTitleOther:r,...i}=t;try{v(!0),await tn.modifyProfile({...i,jobTitle:D8({jobTitle:n,jobTitleOther:r})}),await o(),c.success({title:e(`account:profile.editProfile.success.title`),message:e(`account:profile.editProfile.success.message`)}),p(a8.Settings)}finally{v(!1)}},ne=async n=>{delete n[s8.ConfirmPassword];try{v(!0),await n8.changeUserPassword({Email:t._email,...n}),c.success({title:e(`account:profile.changePassword.success.title`),message:e(`account:profile.changePassword.success.message`)}),await re(),s(`/login`)}finally{v(!1)}},re=async()=>
51{l(),k(),s(`/login`)},ie=async e=>{try{await n8.unbindOAuthAccount(t._email,e),r===e&&await re(),await a()}finally{k()}},M=async n=>{let{password:r}=n;v(!0);try{await n8.openMfa(t._email,r),B?(c.success({title:e(`account:verify.success.title`),message:e(`account:verify.success.message`)}),await re(),s(`/login`)):p(a8.TurnOnMFAVerifyCode)}catch(e){let{response:t}=e;throw t?.data.Code===Te.INCORRECT_ACCOUNT_OR_PWD&&c.error(t?.data.Message),e}finally{v(!1)}},ae=async()=>{await n8.resendMfaVerifyEmail(t._email)},oe=async n=>{v(!0);try{await n8.confirmOpenMfa(t._email,n),c.success({title:e(`account:verify.success.title`),message:e(`account:verify.success.message`)}),await re(),s(`/login`)}catch(e){let{response:t}=e;S(t?.data.Code)}finally{v(!1)}},se=async()=>{v(!0);try{await n8.closeMfa(t._email),p(a8.TurnOffMFAVerifyCode)}finally{v(!1)}},ce=async()=>{v(!0);try{await n8.confirmCloseMfa(t._email,m),await a(),c.success({title:e(`account:delete.success.title`),message:e(`account:delete.success.message`)}),p(a8.Settings)}catch(e){let{response:t}=e;S(t?.data.Code)}finally{v(!1)}},le=async t=>{b(``);try{switch(v(!0),f){case a8.EditProfile:await te(t);break;case a8.EditPassword:try{await ne(t)}catch(t){let{response:n}=t;n?.data.Code===Te.OLD_PASSWORD_WRONG&&b(e(`account:profile.changePassword.wrongPassword`))}break;case a8.UnlinkGoogle:await ie(nn.google);break;case a8.UnlinkGithub:await ie(nn.github);break;case a8.TurnOnMFAVerifyPwd:await M(t);break;case a8.TurnOffMFA:await se();break;case a8.TurnOffMFAVerifyCode:await ce();break;default:break}}finally{v(!1)}},ue=()=>{if(f===a8.Settings){k();return}de()},de=()=>{p(a8.Settings),b(``)};return(0,G.jsx)(sc,{type:T,title:w,handleConfirm:le,confirmLabel:E,confirmLoading:g,handleCancel:de,onClose:ue,confirmType:D,showActions:f!==a8.Settings,confirmBtnProps:f!==a8.Settings&&D===Ve.Delete?{className:R(i8.unlinkConfirm,{[i8.mfaOffBtn]:f===a8.TurnOffMFA||f===a8.TurnOffMFAVerifyCode})}:void 0,children:(0,G.jsx)(O,{})})},loe=e=>(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 32 33`,fill:`none`,...e,children:[(0,G.jsxs)(`g`,{clipPath:`url(#clip0_2900_7255)`,children:[(0,G.jsx)(`circle`,{cx:16,cy:16.5,r:16,fill:`#3F46FF`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M5.66772 28.717C7.21014 24.5055 11.2541 21.5 16 21.5C20.7459 21.5 24.7898 24.5055 26.3322 28.717C23.5445 31.077 19.9384 32.5 16 32.5C12.0615 32.5 8.45536 31.077 5.66772 28.717Z`,fill:`#DBE0FF`}),(0,G.jsx)(`circle`,{cx:16,cy:13.5,r:5,fill:`#DBE0FF`})]}),(0,G.jsx)(`defs`,{children:(0,G.jsx)(`clipPath`,{id:`clip0_2900_7255`,children:(0,G.jsx)(`rect`,{width:32,height:32,fill:`white`,transform:`translate(0 0.5)`})})})]}),uoe=({onLogout:e})=>{let{t}=_(),n=F(A),{profile:r,contactSalesLink:i}=Pc(),a=(0,W.useRef)(null),[o,s]=W.useState(null),c=e=>{s(e.currentTarget)},l=()=>{s(null)},u=()=>{n({open:!0,children:(0,G.jsx)(O8,{})}),l()},d=()=>{window.open(i,`_blank`),l()},f=!!o;return(0,G.jsxs)(`div`,{className:r8.root,ref:a,children:[(0,G.jsx)(z,{endIcon:(0,G.jsx)(Mi,{}),variant:`textBlack`,size:`small`,className:R(r8.btn,{[r8.active]:o!==null}),onClick:c,"data-event":vs.MENU_USER,children:(0,G.jsx)(Pa,{className:r8.btnIcon})}),(0,G.jsxs)(Ui,{open:f,anchorEl:o,onClose:l,classes:{paper:r8.popover},children:[(0,G.jsxs)(`div`,{className:r8.content,children:[(0,G.jsx)(loe,{width:32,height:32}),(0,G.jsxs)(`div`,{children:[r._fullName&&(0,G.jsx)(Ur,{typographyProps:{className:r8.fullName},children:r._fullName}),(0,G.jsx)(Ur,{typographyProps:{variant:`caption`,className:r8.email},children:r._email})]})]}),(0,G.jsx)(Ta,{}),(0,G.jsxs)(`div`,{className:r8.actions,children:[(0,G.jsx)(L,{variant:`body1Regular`,role:`button`,className:r8.link,onClick:u,children:t(`layout.user.profile`)}),(0,G.jsxs)(L,{variant:`body1Regular`,role:`button`,className:r8.link,onClick:d,children:[t(`layout.user.talkToSales`),(0,G.jsx)(ga,{className:r8.arrowIcon})]}),(0,G.jsx)(L,{variant:`body1Regular`,role:`button`,className:r8.link,onClick:e,children:t(`layout.user.logout`)})]})]})]})},k8={navPopover:`_navPopover_14s74_3`,orgList:`_orgList_14s74_10`,successIcon:`_successIcon_14s74_17`,curOrg:`_curOrg_14s74_20`,switchOrg:`_switchOrg_14s74_25`,orgWrapper:`_orgWrapper_14s74_33`,orgIcon:`_orgIcon_14s74_38`,infos:`_infos_14s74_45`,orgName:`_orgName_14s74_48`,prjLinks:`_prjLinks_14s74_56`,link:`_link_14s74_60`,viewAll:`_viewAll_14s74_61`,label:`_label_14s74_69`,nameWrapper:`_nameWrapper_14s74_78`,orgBtn:`_orgBtn_14s74_84`,active:`_active_14s74_92`,orgListOpen:`_orgListOpen_14s74_100`,popper:`_popper_14s74_104`,rotate:`_rotate_14s74_1`},A8=e=>{let{t}=_([`organization`]);return(0,G.jsx)(br,{label:t(`organization:orgCard.byocTag`),variant:`filled`,size:`small`,color:`info`,...e})},doe={tag:`_tag_1ng56_3`,rotate:`_rotate_1ng56_1`};function j8(e){let{t}=_([`common`]),{className:n=``}=e;return(0,G.jsx)(br,{variant:`filled`,classes:{root:R(doe.tag,n)},label:t(`common:tag.frozen`),size:`small`})}var M8={chipContainer:`_chipContainer_9sikn_3`,greenIcon:`_greenIcon_9sikn_14`,rotate:`_rotate_9sikn_1`},N8=e=>{let{tooltipProps:t={title:``},copyContent:n,onCopySuccess:r=()=>{},onCopyFailed:i=()=>{},resetDelay:a=2e3,copyIcon:o=(0,G.jsx)(Pi,{})}=e,{t:s}=_([`common`]),[c,l]=(0,W.useState)(!1),u=(0,G.jsx)(Fa,{className:M8.chipContainer,onClick:async e=>{e.stopPropagation();try{await navigator.clipboard.writeText(n),r(n),l(!0),setTimeout(()=>{l(!1)},a)}catch(e){i(n,e)}},children:c?(0,G.jsx)(Fr,{className:M8.greenIcon}):o});return(0,G.jsx)(Ca,{placement:`top`,...(0,W.useMemo)(()=>c?{...t,title:s(`common:tooltip.copied`)}:t,[t,c]),children:u})},P8=e=>{let{desc:t=``,onClick:n=()=>{},icon:r,orgInfo:i,classes:a={desc:``,root:``},showCopyId:o=!1,onMouseEnter:s,onMouseLeave:c}=e,{t:l}=_(`common`);return(0,G.jsxs)(`div`,{className:R(k8.switchOrg,a.root),onMouseEnter:s,onMouseLeave:c,onClick:n,children:[(0,G.jsxs)(`div`,{className:k8.orgWrapper,children:[(0,G.jsx)(`div`,{className:k8.orgIcon,children:(0,G.jsx)(Zr,{})}),(0,G.jsxs)(`div`,{className:k8.infos,children:[(0,G.jsxs)(`div`,{className:k8.nameWrapper,children:[(0,G.jsx)(Ur,{typographyProps:{className:k8.orgName,variant:`h4Medium`},children:i?._name}),o&&i?._orgId&&(0,G.jsx)(N8,{copyContent:i?._orgId,tooltipProps:{title:l(`tooltip.copyId`,{value:i?._orgId})}}),i?._isByoc&&(0,G.jsx)(A8,{variant:`outlined`}),i?._isFrozen&&(0,G.jsx)(j8,{})]}),(0,G.jsx)(L,{variant:`body3Regular`,className:a.desc,children:t})]})]}),r]})},foe=new Set([`Owner`,`Org Owner`,`Organization Owner`]),poe=new Set([`pre-defined`,`builtin`,`system`]),F8=e=>poe.has(e.roleKind.trim().toLowerCase()),moe=e=>F8(e)&&foe.has(e.name),hoe=(e,t)=>{if(!F8(e))return e.name;let n=e.name;switch(n){case`Owner`:case`Org Owner`:case`Organization Owner`:return t(`accessControl:roleName.organizationOwner`);case`Billing Admin`:return t(`accessControl:roleName.billingAdmin`);case`Public`:case`Member`:return t(`orgUsers:roles.member`);case`Project Admin`:return t(`accessControl:roleName.projectAdmin`);case`Cluster Admin`:return t(`accessControl:roleName.clusterAdmin`);case`Data Operator`:return t(`accessControl:roleName.dataOperator`);case`Data Viewer`:return t(`accessControl:roleName.dataViewer`);default:return n}},I8=(e,t,n=`--`)=>{let r=(e||[]).map(e=>
51hoe(e,t)).filter(Boolean);return r.length?r.join(`, `):n},L8=null,goe=()=>{let{t:e}=_([`orgUsers`,`common`]),[t,n]=(0,W.useState)(null),[r,i]=(0,W.useState)(!1),[a,o]=(0,W.useState)(!1),{organizationList:s}=Kt(),{profile:c}=Pc(),{handleSwitchOrg:d}=X6(),{orgId:f=``}=l(),p=u(),m=!!t,{myOrgPermission:h}=Yn(),g=W.useRef(null),v=(0,W.useMemo)(()=>f?s.find(e=>e._orgId===f):{_name:e(`common:project.viewAll`),_isByoc:!1,_isFrozen:!1},[s,f]),y=e=>{n(e.currentTarget),o(!0)},b=e=>{L8&&clearTimeout(L8),L8=setTimeout(()=>{i(!0)},200)},x=()=>{L8&&clearTimeout(L8),L8=setTimeout(()=>{i(!1)},300)},S=()=>{L8&&clearTimeout(L8),i(!0)},C=e=>{i(!1),!e&&n(null)},w=(0,W.useMemo)(()=>[{label:e(`common:orgNav.projects`),icon:(0,G.jsx)(Gr,{}),href:`/orgs/${f}/projects`},{label:e(`common:orgNav.accessControl`),icon:(0,G.jsx)(Ia,{}),href:`/orgs/${f}/members`},{label:e(`common:orgNav.monitor`),icon:(0,G.jsx)(la,{}),href:`/orgs/${f}/alert/history`,isSupport:h[un.Monitoring]?.includes(Le.View)},{label:e(`common:orgNav.activities`),icon:(0,G.jsx)(ha,{}),href:`/orgs/${f}/events`,isSupport:h[un.Events]?.includes(Le.View)},{label:e(`common:orgNav.settings`),icon:(0,G.jsx)(gi,{}),href:`/orgs/${f}/system/setting`},{label:e(`common:orgNav.recycleBin`),icon:(0,G.jsx)(ci,{}),href:`/orgs/${f}/recycle`,isSupport:h[un.Projects]?.includes(Le.View)}].filter(e=>e.isSupport!==!1),[f,h]),T=e=>{p(e)},E=async e=>{let{id:t,name:n}=e;d(t,n)},D=()=>(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`div`,{ref:g,children:(0,G.jsx)(P8,{orgInfo:v,desc:e(`common:layout.header.switchOrg`),onMouseEnter:b,onMouseLeave:x,icon:(0,G.jsx)(La,{}),classes:{desc:k8.curOrg,root:r?k8.orgListOpen:``},showCopyId:!0})}),(0,G.jsx)(Ma,{open:r,anchorEl:g.current,placement:`left-start`,transition:!0,className:k8.popper,children:({TransitionProps:t})=>(0,G.jsx)(Ni,{...t,style:{transformOrigin:`right top`},children:(0,G.jsx)(`div`,{onMouseEnter:S,onMouseLeave:x,className:R(k8.navPopover,k8.orgList),children:(0,G.jsxs)(`ul`,{children:[s.map(t=>(0,G.jsx)(P8,{orgInfo:t,onClick:()=>{if(t._orgId===f){C(!0);return}E({id:t._orgId,name:t._name}),C()},desc:I8(t._orgId===f?c._myOrgRoles:t._myOrgRoles,e),icon:t._orgId===f?(0,G.jsx)(Fr,{className:k8.successIcon}):null},t._orgId)),(0,G.jsx)(L,{variant:`h4Medium`,className:k8.viewAll,onClick:()=>{d(oe.viewAll,e(`common:orgNav.viewAllOrgs`)),C(),o(!1)},children:e(`common:orgNav.viewAllOrgs`)})]})})})})]});return(0,G.jsxs)(`div`,{children:[(0,G.jsx)(z,{startIcon:(0,G.jsx)(Zr,{}),endIcon:(0,G.jsx)(Mi,{}),variant:`textBlack`,size:`small`,onClick:y,classes:{root:R(k8.orgBtn,{[k8.active]:a})},children:(0,G.jsxs)(`span`,{className:k8.orgName,children:[(0,G.jsx)(L,{variant:`body2Medium`,children:v?._name}),v?._isByoc&&(0,G.jsx)(A8,{variant:`outlined`}),v?._isFrozen&&(0,G.jsx)(j8,{})]})}),(0,G.jsx)(Ui,{open:m,anchorEl:t,onClose:()=>{C(),o(!1)},anchorOrigin:{vertical:`bottom`,horizontal:`right`},transformOrigin:{vertical:`top`,horizontal:`right`},classes:{paper:k8.navPopover},children:(0,G.jsxs)(`div`,{children:[D(),(0,G.jsx)(`ul`,{className:k8.prjLinks,children:w.map(e=>(0,G.jsxs)(`li`,{className:k8.link,onClick:()=>{T(e.href),C(),o(!1)},children:[e.icon,(0,G.jsx)(L,{variant:`body1Regular`,className:k8.label,children:e.label})]},e.label))})]})})]})},_oe=function(e){return e.created=`created`,e.pending_confirm=`pending_confirm`,e.canceled=`canceled`,e.confirmed=`confirmed`,e.payment_expired=`payment_expired`,e.paid=`paid`,e.valid=`valid`,e.upgraded=`upgraded`,e.refunded=`refunded`,e.grace_period=`grace_period`,e.pending_freeze=`pending_freeze`,e.pending_delete=`pending_delete`,e.deleted=`deleted`,e.renewed=`renewed`,e}({}),R8=function(e){return e.created=`created`,e.pending_confirm=`pending_confirm`,e.confirmed=`confirmed`,e}({}),voe=function(e){return e.created=`created`,e.pending_confirm=`pending_confirm`,e.confirmed=`confirmed`,e.payment_expired=`payment_expired`,e.canceled=`canceled`,e}({}),yoe=function(e){return e.paid=`paid`,e.valid=`valid`,e.upgraded=`upgraded`,e.refunded=`refunded`,e.grace_period=`grace_period`,e.pending_freeze=`pending_freeze`,e.pending_delete=`pending_delete`,e.deleted=`deleted`,e.renewed=`renewed`,e}({}),boe=function(e){return e.unpaid=`unpaid`,e.canceled=`canceled`,e.expired=`expired`,e.paid=`paid`,e.grace_peri
51od=`grace_period`,e.pending_freeze=`pending_freeze`,e.pending_delete=`pending_delete`,e.deleted=`deleted`,e.renewed=`renewed`,e.refunded=`refunded`,e}({}),z8=function(e){return e.new=`new`,e.renewal=`renewal`,e.upgrade=`upgrade`,e}({}),B8=function(e){return e.AdvancePay=`wallet`,e.Marketplace=`marketplace`,e}({}),V8=e=>{let{clusterId:t,replica:n,planId:r,classSpecKey:i,upgradeType:a,cu:o,cuType:s,classType:c,clusterType:l,...u}=e,d={instanceId:t,createInstanceRequest:{cu:o,cuType:s,classType:c,clusterType:l,replica:n}},f=r?{upgradeType:a,upgradePlanId:r}:{upgradeType:a};return{...d,...f,...u}},xoe=(e,t)=>{let n=eS.default.utc(e);return`${eS.default.utc(t).diff(n,`day`)} 天`},H8=function(e){return e.Current=`align`,e.Extend=`shift`,e}({}),U8=class e extends eo{List;Total;orderId;currency;state;type;createTime;startTime;endTime;paymentTime;payExpireTime;realAmount;originAmount;walletAmount;instanceId;orderInstance;projectId;projectName;termLengthDisplay;receiptInfo;creator;upgradeType;oldOrderInstance;discountAmount;paymentType;marketplaceAmount;renewable;upgradeable;constructor(e){super(e),Object.assign(this,e)}static PREFIX=`${this.CLOUD_PREFIX}/billing/fixedTerm`;static ORDER_LIST_URL=`${this.PREFIX}/order/pageList`;static ORDER_DETAIL_URL=`${this.PREFIX}/order/query`;static ORDER_CREATE_URL=`${this.PREFIX}/subscribe`;static ORDER_PAY_URL=`${this.PREFIX}/payOrderAndCreateInstanceAndBind`;static EXISTING_ORDER_PAY_URL=`${this.PREFIX}/payOrder`;static ORDER_CANCEL_URL=`${this.PREFIX}/cancel`;static UPGRADE_CLUSTER_URL=`${this.PREFIX}/upgrade`;static getOrderList(e,t={}){return super.create({path:this.ORDER_LIST_URL,data:e,option:t.signal?{signal:t.signal}:void 0})}static getOrderDetail(e){let t=`${this.ORDER_DETAIL_URL}/${e}`;return super.search({path:t})}static createOrder(e){return super.create({path:this.ORDER_CREATE_URL,data:e})}static payOrder(e){let{orderType:t,...n}=e;return super.create({path:t===z8.new?this.ORDER_PAY_URL:this.EXISTING_ORDER_PAY_URL,data:n})}static cancelOrder(e){return super.create({path:this.ORDER_CANCEL_URL,data:e})}static upgradeCluster(e){let t=V8(e);return super.create({path:this.UPGRADE_CLUSTER_URL,data:t})}get _list(){return this.List.map(t=>new e(t))}get _listTotal(){return this.Total}get _orderId(){return this.orderId}get _status(){return this.state}get _currency(){return ve[this.currency]}get _realAmount(){return this.realAmount}get _originAmount(){return this.originAmount}get _walletAmount(){return this.walletAmount}get _discountAmount(){return this.discountAmount}get _paymentMethod(){return this.paymentType}get _marketplaceAmount(){return this.marketplaceAmount}get _marketplaceAmountWithCurrency(){return dt(this.marketplaceAmount,this._currency)}get _realAmountWithCurrency(){return dt(this.realAmount,this._currency)}get _originAmountWithCurrency(){return dt(this.originAmount,this._currency)}get _walletAmountWithCurrency(){return dt(this.walletAmount,this._currency)}get _discountAmountWithCurrency(){return dt(this.discountAmount,this._currency)}get _orderType(){return this.type}get _createTime(){return nc(this.createTime,`ll`)}get _endTime(){return nc(this.endTime,`ll`)}get _startTime(){return nc(this.startTime,`ll`)}get _paidTime(){return nc(this.paymentTime,`ll`)}get _payExpireTime(){return nc(this.payExpireTime,`ll`)}get _receiptStatus(){return this.receiptInfo.receiptStatus}get _receiptableAmount(){return this.receiptInfo.receiptableAmount}get _receiptNotifyEmails(){return this.receiptInfo.receiptNotifyEmails||[]}get _projectId(){return this.projectId}get _projectName(){return this.projectName}get _duration(){return this.type===z8.upgrade&&this.upgradeType===H8.Current?xoe(this.startTime,this.endTime):this.termLengthDisplay}get _createdBy(){return this.creator}get _renewable(){return this.renewable}get _upgradeable(){return this.upgradeable}get _clusterId(){return this.instanceId}get _clusterDetail(){return this.orderInstance}get _upgradeType(){return this.upgradeType}get _oldClusterDetail(){return this.oldOrderInstance}},Soe=_n({orderId:bn(),projectId:bn(),type:vn(`renewal`),currency:Nn([vn(ie.USD),vn(ie.CNY)]),createTime:hn(),realAmount:bn(),originAmount:bn(),discountAmount:bn(),instanceId:bn(),termLengthDisplay:bn(),orderInstance:_n({regionId:bn(),cuSize:hn(),replica:hn()}).passthrough(),renewable:Dn().nullish().transform(Boolean),upgradeable:Dn().nullish().transform(Boolean)}).passthrough(),W8=_n({enabled:Dn()}),Coe=`cloud/v1/billing/fixedTerm/renew`,G8=`cloud/v1/billing/fixedTerm/autoRenewal`,K8=(e,t={})=>({headers:{OrgId:e},signal:t.signal,...t.silent?{silentError:!0}:{}}),q8={getAutoRenewalSetting:async(e,t={})=>{let n=await Ce.get(G8,K8(e,t));return W8.parse(n.data.Data)},updateAutoRenewalSetting:async(e,t,n={})=>{let r=await Ce.put(G8,t,K8(e,n));return W8.parse(r.data.Data)},renew:async(e,t={})=>{let{orgId:n,signal:r,...i}=e,a=await Ce.post(Coe,i,K8(n,{...t,signal:r??t.signal,silent:!0}));return new U8(Soe.parse(a.data.Data))}},J8={all:[`fixedTermOrders`],lists:e=>wn(`fixedTermOrders`,Mn({orgId:e}),`list`),list:(e,t)=>
51wn(`fixedTermOrders`,Mn({orgId:e}),`list`,t),autoRenewalSetting:e=>wn(`fixedTermOrders`,Mn({orgId:e}),`autoRenewalSetting`)},woe=(e,t)=>Sn({queryKey:J8.list(e,t),queryFn:({signal:e})=>U8.getOrderList(t,{signal:e}),enabled:!!e,staleTime:0,refetchOnMount:`always`,refetchOnWindowFocus:!0}),Toe=(e,t)=>Cn(woe(e,t)),Y8=(e,t)=>e.invalidateQueries({queryKey:J8.lists(t)}),Eoe=e=>Sn({queryKey:J8.autoRenewalSetting(e),queryFn:({signal:t})=>q8.getAutoRenewalSetting(e,{signal:t,scope:{orgId:e}}),enabled:!!e}),Doe=e=>Cn(Eoe(e)),Ooe=()=>{let e=Tn();return gn({mutationFn:({orgId:e,enabled:t})=>q8.updateAutoRenewalSetting(e,{enabled:t}),onSuccess:(t,{orgId:n})=>{e.invalidateQueries({queryKey:J8.autoRenewalSetting(n)})}})},koe=()=>{let e=Tn();return gn({mutationFn:e=>q8.renew(e),onSuccess:(t,{orgId:n})=>Y8(e,n)})},Aoe=()=>{let e=Tn();return gn({mutationFn:({orgId:e,...t})=>U8.payOrder(t),onSuccess:(t,{orgId:n})=>Y8(e,n)})},joe=()=>{let e=Tn();return gn({mutationFn:({orgId:e,...t})=>U8.cancelOrder(t),onSuccess:(t,{orgId:n})=>Y8(e,n)})},Moe=e=>{let{detail:{_orderId:t,_projectId:n},onFinish:r}=e,{t:i}=_([`order`]),{orgId:a=``}=l(),{mutateAsync:o,isPending:s}=joe(),c=F(A),u=()=>{c(e=>({...e,open:!1})),r&&r()};return(0,G.jsx)(St,{title:(0,G.jsx)(d8,{type:`info`,value:i(`order:cancelConfirmDialog.title`)}),confirmLoading:s,cancelLabel:i(`order:cancelConfirmDialog.cancel`),confirmLabel:i(`order:cancelConfirmDialog.confirm`),handleConfirm:async()=>{await o({orgId:a,orderId:t,projectId:n}),u()},children:(0,G.jsx)(L,{children:i(`order:cancelConfirmDialog.desc`)})})},X8={root:`_root_12y46_3`,order:`_order_12y46_9`,payment:`_payment_12y46_20`,cards:`_cards_12y46_25`,bankInfoRoot:`_bankInfoRoot_12y46_30`,bankInfoMain:`_bankInfoMain_12y46_33`,bankInfoList:`_bankInfoList_12y46_37`,bankInfoTips:`_bankInfoTips_12y46_42`,contactAlert:`_contactAlert_12y46_47`,rotate:`_rotate_12y46_1`},Noe=e=>{let{_address:t,_optionalAddress:n,_postalCode:r,_state:i,_city:a,_country:o}=e,s=`${!a||a===fe.UNKNOWN?``:a}, ${!i||i===fe.UNKNOWN?``:i}`,c=[fe.UNKNOWN,`,`],l=[t,n,s,r,o].map(e=>e?.trim()).filter(e=>!!e&&!c.includes(e));return l.length===0?fe.UNKNOWN:(0,G.jsx)(`ul`,{children:l.map((e,t)=>(0,G.jsx)(`li`,{children:e},t))})};function Poe(e,t){return e.reduce((e,n,r)=>{let i=r%t;return e[i]=[...e[i]||[],n],e},Array.from({length:t},()=>[]))}var Foe=(e,t)=>{let n=e=>/^-?\d+(\.\d+)?$/.test(e.trim());return!n(e)||!n(t)?!1:parseFloat(e)>=parseFloat(t)},Z8={downloadIcon:`_downloadIcon_1ljrc_3`,contentWrapper:`_contentWrapper_1ljrc_7`,infoWrapper:`_infoWrapper_1ljrc_13`,valueWrapper:`_valueWrapper_1ljrc_17`,value:`_value_1ljrc_17`,btnWrapper:`_btnWrapper_1ljrc_33`,rotate:`_rotate_1ljrc_1`},Ioe=(e,t)=>`zilliz-cloud-${e}-${t?`api-key`:`username-password`}.txt`,Loe=e=>{let{credentials:t,clusterName:n,isStarter:r=!1}=e;(0,FZ.default)(new Blob([t],{type:`text/plain;charset=utf-8`}),Ioe(n,r))},Roe=e=>{let{showKey:t,setShowKey:n,className:r}=e;return(0,G.jsx)(fr,{onClick:()=>{n(!t)},className:r,children:t?(0,G.jsx)(Di,{size:20}):(0,G.jsx)(Ti,{size:20})})},Q8=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 266 6`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`circle`,{cx:2.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:11.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:20.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:29.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:38.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:47.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:56.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:65.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:74.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:83.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:92.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:101.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:110.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:119.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:128.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:137.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:146.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:155.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:164.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:173.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:182.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:191.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:200.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:209.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:218.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:227.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:236.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:245.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:254.5,cy:3,r:2.5,fill:`#1D2939`}),(0,G.jsx)(`circle`,{cx:263.5,cy:3,r:2.5,fill:`#1D2939`})]}),$8=e=>{let{username:t,password:n,clusterName:r}=e,{t:i}=_([`connect`,`deployments`,`common`]),a=F(A),[o,s]=(0,W.useState)(!1),c=()=>{a(e=>({...e,open:!1}))},l=(0,W.useMemo)(()=>`${i(`connect:username`)}: ${t}\n${i(`connect:password`)}: ${n}`,[t,n]);return(0,G.jsx)(sc,{title:i(`connect:userPwdTitle`),showActions:!1,children:(0,G.jsxs)(`div`,{className:Z8.contentWrapper,children:[(0,G.jsx)(ni,{children:i(`connect:usernamePwdWarning`)}),(0,G.jsxs)(`div`,{className:Z8.infoWrapper,children:[(0,G.jsx)(L,{variant:`h4Medium`,children:i(`connect:username`)}),(0,G.jsxs)(`div`,{className:Z8.valueWrapper,children:[(0,G.jsxs)(L,{variant:`body1Regular`,component:`div`,className:Z8.value,children:[(0,G.jsx)(Pa,{size:14}),t]}),(0,G.jsx)(li,{value:t,btnType:`icon`})]})]}),(0,G.jsxs)(`div`,{className:Z8.infoWrapper,children:[(0,G.jsx)(L,{variant:`h4Medium`,children:i(`connect:password`)}),(0,G.jsxs)(`div`,{className:Z8.valueWrapper,children:[(0,G.jsxs)(L,{variant:`body1Regular`,component:`div`,className:Z8.value,children:[(0,G.jsx)(Ki,{size:14}),o?n:(0,G.jsx)(Q8,{width:200})]}),(0,G.jsxs)(`div`,{className:Z8.btnWrapper,children:[(0,G.jsx)(Roe,{setShowKey:s,showKey:o}),(0,G.jsx)(li,{value:n,btnType:`icon`})]})]})]}),(0,G.jsx)(z,{variant:`contained`,fullWidth:!0,onClick:()=>{Loe({credentials:l,clusterName:r}),c()},startIcon:(0,G.jsx)(_r,{size:14,className:Z8.downloadIcon}),children:i(`connect:buttons.downloadTxtBtnLabel`)})]})})},e5={list:`_list_1f4sv_3`,item:`_item_1f4sv_8`,label:`_label_1f4sv_13`,value:`_value_1f4sv_18`,divider:`_divider_1f4sv_24`,discountItem:`_discountItem_1f4sv_31`,rotate:`_rotate_1f4sv_1`},zoe=({order:e})=>{let{t}=_([`order`]),{_orderId:n,orderType:r,config:i,_chargeMethod:a,_duration:o,_createTime:s,_originAmountWithCurrency:c,_discountAmountWithCurrency:l,_realAmountWithCurrency:u}=e,d=[{label:t(`order:pay.order.columns.orderId`),value:n},{label:t(`order:pay.order.columns.orderType`),value:r},{label:t(`order:pay.order.columns.config`),value:i},{label:t(`order:pay.order.columns.chargeMethod`),value:a},{label:t(`order:pay.order.columns.duration`),value:o},{label:t(`order:pay.order.columns.createTime`),value:s}],f=[{label:(0,G.jsx)(L,{variant:`body2Medium`,component:`span`,children:t(`order:pay.order.columns.originAmount`)}),value:(0,G.jsx)(L,{variant:`h4Medium`,component:`span`,children:c})},{label:(0,G.jsx)(L,{variant:`body2Medium`,className:e5.discountItem,component:`span`,children:t(`order:pay.order.columns.discountAmount`)}),value:(0,G.jsx)(L,{variant:`h4Medium`,className:e5.discountItem,component:`span`,children:l})}],p=e=>e.map((e,t)=>(0,G.jsxs)(`li`,{className:e5.item,children:[(0,G.jsx)(L,{variant:`body2Regular`,component:`span`,className:e5.label,children:e.label}),(0,G.jsx)(Ur,{typographyProps:{variant:`body1Regular`,component:`span`,className:e5.value},children:e.value})]},t));return(0,G.jsxs)(`ul`,{className:e5.list,children:[p(d),(0,G.jsx)(`li`,{className:e5.divider}),p(f),(0,G.jsx)(`li`,{className:e5.divider}),(0,G.jsxs)(`li`,{className:e5.item,children:[(0,G.jsx)(L,{variant:`h3Medium`,component:`span`,children:t(`order:pay.order.columns.orderAmount`)}),(0,G.jsx)(L,{variant:`h2Semibold`,component:`span`,children:u})]})]})},t5={card:`_card_9920h_3`,main:`_main_9920h_16`,disabled:`_disabled_9920h_22`,selected:`_selected_9920h_28`,title:`_title_9920h_38`,desc:`_desc_9920h_39`,disabledWithTooltip:`_disabledWithTooltip_9920h_48`,rotate:`_rotate_9920h_1`},n5=({title:e,desc:t,icon:n,disabled:r=!1,tooltip:i=``,selected:a=!1,classes:o={card:``,t
51itle:``,desc:``},onClick:s})=>{let c=()=>{r||!s||s()};return(0,G.jsx)(ma,{tooltip:{title:r?i:void 0,placement:`top`},children:(0,G.jsxs)(`div`,{className:R(t5.card,{[t5.disabled]:r,[t5.disabledWithTooltip]:r&&!!i,[t5.selected]:a},o.card),onClick:c,children:[(0,G.jsxs)(`div`,{className:t5.main,children:[(0,G.jsx)(L,{variant:`body1Medium`,className:R(t5.title,o.title),children:e}),(0,G.jsx)(L,{variant:`body1Regular`,className:R(t5.desc,o.desc),children:t})]}),(0,G.jsx)(`div`,{className:t5.icon,children:n})]})})},r5={contactLink:`_contactLink_1ihj7_3`,titleWrapper:`_titleWrapper_1ihj7_7`,desc:`_desc_1ihj7_11`,transferRoot:`_transferRoot_1ihj7_16`,transferMain:`_transferMain_1ihj7_17`,alert:`_alert_1ihj7_22`,rotate:`_rotate_1ihj7_1`},Boe=({isBalanceInsufficient:e,closeDialog:t,onSelect:n,selected:r})=>{let{t:i}=_([`order`]),{rechargeDisabled:a,disableTooltip:s}=SC(),{balanceInfo:c}=Pc(),{canManageBillingAccess:u}=Yn(),{orgId:f=``}=l(),p=()=>a?`AUTHENTICATION_REQUIRED`:e?u?`INSUFFICIENT_ADMIN`:`INSUFFICIENT_MEMBER`:`AVAILABLE`,m=e=>{let a=i(`order:pay.payMethod.balance.title`);return{AUTHENTICATION_REQUIRED:{title:a,desc:i(`order:pay.payMethod.balance.amount`,{amount:Ms}),disabled:!0,tooltip:s},AVAILABLE:{title:a,desc:i(`order:pay.payMethod.balance.amount`,{amount:c?._balance}),disabled:!1,tooltip:void 0,onClick:n,selected:r},INSUFFICIENT_MEMBER:{title:a,desc:i(`order:pay.payMethod.balance.insufficient.desc`,{amount:c?._balance}),disabled:!0,tooltip:(0,G.jsx)(d,{t:i,i18nKey:`order:pay.payMethod.balance.insufficient.memberTip`,components:[(0,G.jsx)(o,{className:r5.contactLink,to:`/orgs/${f}/members`,onClick:()=>{t()}})]})}}[e]},h=()=>(0,G.jsxs)(`div`,{className:r5.titleWrapper,children:[(0,G.jsx)(L,{variant:`body1Medium`,children:i(`order:pay.payMethod.balance.title`)}),(0,G.jsx)(L,{variant:`body1Regular`,className:r5.desc,children:i(`order:pay.payMethod.balance.insufficient.desc`,{amount:c?._balance})})]}),g=()=>(0,G.jsx)(ni,{severity:`info`,className:r5.alert,children:i(`order:pay.payMethod.balance.insufficient.tip`)});return(e=>{if(e===`INSUFFICIENT_ADMIN`)return(0,G.jsx)(CC,{renderTitle:h,showExpandText:!1,classes:{root:r5.transferRoot,main:r5.transferMain},renderMoreInfo:g});let t=m(e);return t?(0,G.jsx)(n5,{...t}):null})(p())},i5={titleWrapper:`_titleWrapper_1lk1g_3`,desc:`_desc_1lk1g_8`,link:`_link_1lk1g_13`,rotate:`_rotate_1lk1g_1`},Voe=({selected:e,onSelect:t,marketplaceBindType:n,closeDialog:r,onBindMarketplaceClick:i})=>{let{canManageBillingAccess:a}=Yn(),{t:s}=_([`order`]),{orgId:c}=l(),u=()=>(0,G.jsxs)(`div`,{className:i5.titleWrapper,children:[(0,G.jsx)(L,{variant:`body1Medium`,children:s(`order:pay.payMethod.marketplace.title`)}),(0,G.jsx)(L,{variant:`body1Regular`,className:i5.desc,children:s(`order:pay.payMethod.marketplace.desc`)})]});if(n!==P.EMPTY){let r=n===P.AZURE?(0,G.jsx)(Kr,{width:42,height:42}):(0,G.jsx)(jc,{className:i5.logo,cloudProvider:n,withFont:!0,iconWidth:`auto`,iconHeight:42,width:`fit-content`,height:`fit-content`});return(0,G.jsx)(n5,{title:s(`order:pay.payMethod.marketplace.title`),desc:s(`order:pay.payMethod.marketplace.desc`),selected:e,onClick:t,icon:r})}return(0,G.jsx)(_C,{disabled:!a,tooltip:(0,G.jsx)(d,{t:s,i18nKey:`order:pay.payMethod.marketplace.memberTip`,components:[(0,G.jsx)(o,{className:i5.link,to:`/orgs/${c}/members`,onClick:()=>{r()}})]}),renderTitle:u,classes:{root:i5.root,main:i5.main},onBindMarketplaceClick:i})},a5={root:`_root_18ry3_3`,successIcon:`_successIcon_18ry3_6`,title:`_title_18ry3_10`,desc:`_desc_18ry3_15`,actions:`_actions_18ry3_19`,rotate:`_rotate_18ry3_1`},o5=e=>{let{title:t,desc:n,cancelBtnProps:r={},confirmBtnProps:i={},classes:a={},...o}=e;return(0,G.jsxs)(St,{showCloseIcon:!1,cancelBtnProps:{fullWidth:!0,variant:`outlined`,...r},confirmBtnProps:{fullWidth:!0,variant:`outlined`,...i},classes:{root:a5.root,actionsMain:a5.actions,...a},...o,children:[(0,G.jsx)(Fr,{size:42,className:a5.successIcon}),(0,G.jsx)(L,{variant:`h1Bold`,className:a5.title,children:t}),(0,G.jsx)(L,{className:a5.desc,children:n})]})},Hoe=e=>{let{onClose:t}=e,{t:n}=_([`subscriptionPlan`]),r=F(A),i=()=>{r(e=>({...e,open:!1}))};return(0,G.jsx)(o5,{title:n(`subscriptionPlan:create.success.payOrder.title`),desc:n(`subscriptionPlan:create.success.payOrder.desc`),handleConfirm:()=>{i(),t()},showCancel:!1,confirmLabel:n(`subscriptionPlan:create.success.payOrder.action.close`)})},Uoe=({order:e,onFinish:t,onCancel:n})=>{let{_projectId:r,_orderId:i,_orderType:a,_clusterDetail:o,_realAmount:s}=e,{t:c}=_([`order`,`common`,`subscriptionPlan`]),d=F(A),{balanceInfo:f,marketPlaceInfo:p}=Pc(),{fetchClusterList:m}=Fn(),{getOrderTypeLabel:h,getClusterConfig:g}=E5(),v=u(),{orgId:y=``}=l(),{mutateAsync:b,isPending:x}=Aoe(),{fetchBalanceInfo:S}=Pc(),[C,w]=(0,W.useState)(void 0),T=(0,W.useMemo)(()=>Object.assign(e,{orderType:h(a),config:g(o),_chargeMethod:c(`subscriptionPlan:create.panel.subscription.title`)}),[e]),E=(0,W.useMemo)(()=>!Foe(f?._balanceValue||``,s),[f,s]),D=(0,W.useMemo)(()=>p?._type||P.EMPTY,[p]);(0,W.useEffect)(()=>
51{if(!E){w(B8.AdvancePay);return}D!==P.EMPTY&&w(B8.Marketplace)},[E,D]);let O=()=>{d(e=>({...e,open:!1}))},k=e=>{let{instanceId:t,projectId:n,...r}=e;v(`/orgs/${y}/projects/${n}/clusters/${t}`),setTimeout(()=>{d({size:`medium`,open:!0,children:(0,G.jsx)($8,{...r,clusterName:t})})},200)},ee=e=>{d({size:`medium`,open:!0,children:(0,G.jsx)(Hoe,{onClose:()=>k(e)})})},j=e=>{let{instanceId:n}=e;O(),n&&ee(e),S(),t&&t()};return(0,G.jsxs)(St,{title:c(`order:pay.title`),confirmLabel:c(`common:button.pay`),handleConfirm:async()=>{if(!C)return;let e=await b({orgId:y,projectId:r,orderId:i,paymentMethod:C,orderType:a});await m(r),j({...e,projectId:r})},handleCancel:()=>{O(),n&&n()},confirmLoading:x,confirmDisabled:!C,classes:{content:X8.root},children:[(0,G.jsxs)(`div`,{className:X8.payment,children:[(0,G.jsx)(L,{variant:`h3Semibold`,children:c(`order:pay.payMethod.title`)}),(0,G.jsxs)(`div`,{className:X8.cards,children:[(0,G.jsx)(Boe,{isBalanceInsufficient:E,closeDialog:O,selected:C===B8.AdvancePay,onSelect:()=>w(B8.AdvancePay)}),(0,G.jsx)(Voe,{closeDialog:O,selected:C===B8.Marketplace,onSelect:()=>w(B8.Marketplace),marketplaceBindType:D,onBindMarketplaceClick:()=>{n?.()}}),(0,G.jsx)(n5,{disabled:!0,title:c(`order:pay.payMethod.creditLimitControl.title`),desc:c(`order:pay.payMethod.creditLimitControl.desc`)})]})]}),(0,G.jsxs)(`div`,{className:X8.order,children:[(0,G.jsx)(L,{variant:`h3Semibold`,children:c(`order:pay.order.title`)}),(0,G.jsx)(zoe,{order:T})]})]})},s5={alert:`_alert_7w1sd_3`,infoBlock:`_infoBlock_7w1sd_9`,dialogActions:`_dialogActions_7w1sd_13`,rotate:`_rotate_7w1sd_1`},c5=function(e){return e[e.Company=0]=`Company`,e[e.Personal=1]=`Personal`,e}({}),l5=function(e){return e.Normal=`PLAIN`,e.Special=`VAT`,e}({}),u5=function(e){return e.ReceiptTitle=`buyerName`,e.Code=`code`,e.Address=`address`,e.Phone=`phone`,e.Bank=`bankName`,e.BankAccount=`bankAccount`,e.Emails=`emails`,e.Backup=`userRemark`,e.InvoiceIds=`invoiceIds`,e.OrderIds=`orderIds`,e}({}),d5=function(e){return e.Invoice=`Invoice`,e.Order=`Order`,e}({}),f5={formWrapper:`_formWrapper_1r8ty_3`,radioGroup:`_radioGroup_1r8ty_9`,group:`_group_1r8ty_13`,remark:`_remark_1r8ty_20`,optional:`_optional_1r8ty_25`,emailsWrapper:`_emailsWrapper_1r8ty_34`,desc:`_desc_1r8ty_35`,formChip:`_formChip_1r8ty_42`,rotate:`_rotate_1r8ty_1`},p5=class extends eo{certifyTime;enterpriseName;legalName;registrationAddress;registrationPhone;socialCreditCode;status;bankAccount;bankName;constructor(e){super(e),Object.assign(this,e)}static CERTIFICATION_INFO_URL=`${this.CLOUD_PREFIX}/billing/certification/enterprise`;static APPLY_CERTIFICATION_URL=`${this.CLOUD_PREFIX}/billing/certification/enterprise/apply`;static fetchCertification(){return super.search({path:this.CERTIFICATION_INFO_URL,data:{}})}static applyCertification(e){return super.create({path:this.APPLY_CERTIFICATION_URL,data:e,option:{headers:{"Content-Type":`multipart/form-data`}}})}get _certifyTime(){return Ke(this.certifyTime)}get _enterpriseName(){return this.enterpriseName||ds.UNKNOWN}get _legalName(){return this.legalName||ds.UNKNOWN}get _registrationAddress(){return this.registrationAddress||ds.UNKNOWN}get _registrationPhone(){return this.registrationPhone||ds.UNKNOWN}get _socialCreditCode(){return this.socialCreditCode||ds.UNKNOWN}get _status(){return this.status}get _bankAccount(){return this.bankAccount||ds.UNKNOWN}get _bankName(){return this.bankName||ds.UNKNOWN}},m5=e=>e.trim().toLowerCase(),h5=({currentUserEmail:e,orgUserList:t,maxUser:n=10})=>{let r=new Set,i=[],a=e.trim();a&&(r.add(m5(a)),i.push({label:a,value:a}));for(let e of t){let t=e._email.trim(),a=m5(t);if(!(e._role!==O.BillingAdmin||e._status!==nr.Verified||!t||r.has(a))&&(r.add(a),i.push({label:t,value:t}),i.length>=n))break}return i},Woe=e=>{let t=new Set;return e.reduce((e,n)=>{let r=n._email.trim(),i=m5(r);return n._status!==nr.Verified||!r||t.has(i)?e:(t.add(i),e.push({label:r,value:r}),e)},[])},g5={root:`_root_9v4li_3`,optional:`_optional_9v4li_8`,rotate:`_rotate_9v4li_1`},_5=e=>{let{typographyProps:t,children:n}=e,{t:r}=_([`common`]);return(0,G.jsxs)(`div`,{className:g5.root,children:[(0,G.jsx)(L,{variant:`h4Medium`,component:`span`,...t,children:n}),(0,G.jsx)(L,{variant:`body4Regular`,component:`span`,className:g5.optional,children:r(`common:label.optional`)})]})},Goe=e=>{let{t}=_([`receipt`]),{receiptTitle:n,receiptType:r,emailValue:i,emailOptions:a,setEmailValue:o,setReceiptTitle:s,setReceiptType:c,emailError:l=!1,setEmailError:u}=e,[f,p]=(0,W.useState)(),{setValue:m}=Re(),{isSingleEmailValid:h,isTotalEmailValid:g,getEmailHelperText:v}=Un({emailValue:i,emailsList:[],source:cr.Org,maxUser:10,blackEmailList:[],showDefaultHelperText:!1}),{receiptTypeOptions:y,receiptTitleOptions:b}=(0,W.useMemo)(()=>{let e=[{label:t(`receipt:request.receiptTitleType.company`),value:c5.Company},{label:t(`receipt:request.receiptTitleType.person`),value:c5.Personal}],r=[{label:t(`receipt:request.type.normal`),value:l5.Normal}];return n===c5.Company&&r.unshift({label:t(`receipt:request.type.special`),value:l5.Special}),{receiptTypeOptions:r,receiptTitleOptions:e}},[n]),x=e=>{s(e),c(l5.Normal)};return(0,W.useEffect)(()=>{(async()=>{let e=await p5.fetchCertification();p(e)})()},[]),(0,W.useEffect)(()=>{m(u5.ReceiptTitle,f?._enterpriseName),m(u5.Address,f?._registrationAddress),m(u5.Phone,f?._registrationPhone),m(u5.Code,f?._socialCredit
51Code)},[f,n]),(0,G.jsxs)(`div`,{className:f5.formWrapper,children:[(0,G.jsxs)(`div`,{className:f5.radioGroup,children:[(0,G.jsx)(L,{variant:`h4Medium`,children:t(`receipt:request.receiptTitleType.title`)}),(0,G.jsx)(Ai,{row:!0,className:f5.group,children:b.map(e=>(0,G.jsx)(vi,{label:e.label,checked:e.value===n,onClick:()=>x(e.value)}))})]}),(0,G.jsxs)(`div`,{className:f5.radioGroup,children:[(0,G.jsx)(L,{variant:`h4Medium`,children:t(`receipt:request.type.title`)}),(0,G.jsx)(Ai,{row:!0,className:f5.group,children:y.map(e=>(0,G.jsx)(vi,{label:e.label,checked:e.value===r,onClick:()=>c(e.value)}))})]}),(0,G.jsx)(iu,{name:u5.ReceiptTitle,componentProps:{label:t(`receipt:request.receiptTitle`),fullWidth:!0,disabled:n===c5.Company},rules:{required:!0}}),n===c5.Company&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(iu,{name:u5.Code,componentProps:{label:t(`receipt:request.code`),fullWidth:!0,disabled:!0}}),r===l5.Special&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(iu,{name:u5.Address,componentProps:{label:t(`receipt:request.address`),fullWidth:!0,disabled:!0}}),(0,G.jsx)(iu,{name:u5.Phone,componentProps:{label:t(`receipt:request.phone`),fullWidth:!0,disabled:!0}}),(0,G.jsx)(iu,{name:u5.Bank,componentProps:{label:(0,G.jsx)(_5,{children:t(`receipt:request.bank`)}),fullWidth:!0,wrapperClassName:f5.input,inputProps:{"data-testid":`billing-receipt-bank-name-input`}}}),(0,G.jsx)(iu,{name:u5.BankAccount,componentProps:{label:(0,G.jsx)(_5,{children:t(`receipt:request.bankAccount`)}),fullWidth:!0,inputProps:{"data-testid":`billing-receipt-bank-account-input`}}})]})]}),(0,G.jsx)(iu,{name:u5.Backup,componentProps:{label:(0,G.jsx)(d,{t,i18nKey:`receipt:request.backup`,components:[(0,G.jsx)(`span`,{className:f5.optional})]}),wrapperClassName:f5.remark,fullWidth:!0,multiline:!0,rows:3}}),(0,G.jsxs)(`div`,{className:f5.emailsWrapper,children:[(0,G.jsx)(L,{variant:`h4Medium`,children:t(`receipt:request.emails.title`)}),(0,G.jsx)(L,{variant:`body3Regular`,className:f5.desc,children:t(`receipt:request.emails.desc`,{max:10})}),(0,G.jsx)(Jn,{name:u5.Emails,componentProps:{fullWidth:!0,checkIsSingleChipValidate:h,isValid:g&&!l,options:a,value:i,setValue:e=>{u&&u(!1),o(e)},classes:{root:f5.formChip}},getHelperText:v})]})]})},Koe=function(e){return e.Order=`ORDER`,e.Invoice=`INVOICE`,e.Unknown=`UNKNOWN`,e}({}),qoe={0:Oe.Success,2:Oe.Processing,3:Oe.Receiptable,4:Oe.NotSupported,1:Oe.Failed},v5=class extends eo{id;amount;applicantUserId;applicantEmail;applyTime;status;invoices;pdfLink;header;remark;currency;errorMessage;taxRate;productName;notifyEmails;source;static RECEIPT_HISTORY_URL=`${this.CLOUD_PREFIX}/billing/receipt/list`;static RECEIPT_APPLY_URL=`${this.CLOUD_PREFIX}/billing/receipt/apply`;static RECEIPT_ORDER_APPLY_URL=`${this.CLOUD_PREFIX}/billing/receipt/applyForOrders`;static RECEIPT_PROPERTIES_URL=`${this.CLOUD_PREFIX}/billing/receipt/properties`;constructor(e){super(e),Object.assign(this,e)}static fetchReceiptHistory(e){return super.findAll({path:this.RECEIPT_HISTORY_URL,data:{CurrentPage:e.page,PageSize:e.pageSize}})}static applyReceipt(e){return super.create({path:this.RECEIPT_APPLY_URL,data:e})}static applyOrderReceipt(e){return super.create({path:this.RECEIPT_ORDER_APPLY_URL,data:e})}static fetchReceiptProperties(){return super.create({path:this.RECEIPT_PROPERTIES_URL})}get _amount(){return dt(this.amount,this._currency)}get _applicantEmail(){return this.applicantEmail}get _applicantUserId(){return this.applicantUserId}get _applyTime(){return Ke(this.applyTime)}get _header(){return this.header}get _dateRange(){return this.invoices.map(e=>`${Ke(e.startPeriodMilli,`YYYYå¹´MMæDDæ¥`)} - ${Ke(e.displayEndPeriodMilli,`YYYYå¹´MMæDDæ¥`)}`).join(`, `)}get _remark(){return this.remark}get _pdfLink(){return this.pdfLink}get _status(){return qoe[this.status]??Oe.Failed}get _id(){return this.id}get _currency(){return qo[this.currency]}get _errorMessage(){return this.errorMessage}get _taxRate(){return this.taxRate?`${this.taxRate}%`:ds.UNKNOWN}get _serviceName(){return this.productName||ds.UNKNOWN}get _notifyEmails(){return this.notifyEmails||[]}get _source(){return this.source||`UNKNOWN`}},y5={infoBlock:`_infoBlock_11pg5_3`,pair:`_pair_11pg5_14`,rotate:`_rotate_11pg5_1`},Joe=({serviceName:e,taxRate:t,classes:n={root:``}})=>{let{t:r}=_([`receipt`]),i=wa(),a=[{label:r(`receipt:request.grid.contentTitle`),value:e},{label:r(`receipt:request.grid.tax`),value:t}];return(0,G.jsx)(`ul`,{className:R(y5.infoBlock,n.root),children:a.map(e=>(0,G.jsxs)(`li`,{className:y5.pair,children:[(0,G.jsx)(L,{variant:`body3Regular`,color:i.black.black2,children:e.label}),(0,G.jsx)(L,{variant:`body3Regular`,children:e.value})]},e.label))})},b5={list:`_list_18toa_3`,pair:`_pair_18toa_9`,first:`_first_18toa_13`,rotate:`_rotate_18toa_1`}
51,x5=({currency:e,total:t,receiptableAmount:n=``,receiptedAmount:r=``,source:i=d5.Invoice})=>{let{t:a}=_([`receipt`]),o=t=>t?`${e}${t}`:fe.UNKNOWN;return(0,G.jsxs)(`ul`,{className:b5.list,children:[(0,G.jsxs)(`li`,{className:R(b5.pair,b5.first),children:[(0,G.jsx)(L,{variant:`h4Medium`,children:a(`receipt:request.amountSummary.receiptableAmount`)}),(0,G.jsx)(L,{variant:`h1Semibold`,children:o(n)})]}),i===d5.Invoice&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(`li`,{className:b5.pair,children:[(0,G.jsx)(L,{variant:`h4Medium`,children:a(`receipt:request.amountSummary.receiptedAmount`)}),(0,G.jsx)(L,{variant:`h3Semibold`,children:o(r)})]}),(0,G.jsxs)(`li`,{className:b5.pair,children:[(0,G.jsx)(L,{variant:`h4Medium`,children:a(`receipt:request.amountSummary.total`)}),(0,G.jsx)(L,{variant:`h3Semibold`,children:o(t)})]})]})]})},S5=({currentUserEmail:e,orgId:t})=>{let{fetchOrgUserList:n,orgUserList:r}=ir(),[i,a]=(0,W.useState)(()=>h5({currentUserEmail:e,orgUserList:[]})),[o,s]=(0,W.useState)(!1),c=(0,W.useRef)(!0),l=(0,W.useCallback)(e=>{c.current=!1,a(e)},[]);return(0,W.useEffect)(()=>{let r=!0;return c.current=!0,s(!t),a(h5({currentUserEmail:e,orgUserList:[]})),t&&(async()=>{try{await n(t)}catch{}finally{r&&s(!0)}})(),()=>{r=!1}},[e,t]),(0,W.useEffect)(()=>{!o||!c.current||a(h5({currentUserEmail:e,orgUserList:r}))},[e,o,r]),{emailValue:i,emailOptions:(0,W.useMemo)(()=>o?Woe(r):[],[o,r]),setEmailValue:l,isReceiptEmailLoading:!o}},Yoe=e=>{let{total:t,ids:n,currency:r,confirmCb:i,taxRate:a,serviceName:o,source:s=d5.Invoice,receiptableAmount:c=``,receiptedAmount:u=``}=e,{t:d}=_([`receipt`]),[f,p]=(0,W.useState)(c5.Company),[m,h]=(0,W.useState)(l5.Normal),{profile:{_email:g}}=Pc(),{orgId:v=``}=l(),{emailValue:y,emailOptions:b,setEmailValue:x,isReceiptEmailLoading:S}=S5({currentUserEmail:g,orgId:v}),[C,w]=(0,W.useState)(!1),[T,E]=(0,W.useState)(!1),{disableAddRequest:D}=Un({emailValue:y,emailsList:[],source:cr.Org,maxUser:10,blackEmailList:[]});return(0,W.useEffect)(()=>{w(D)},[D]),(0,G.jsxs)(sc,{title:d(`receipt:request.title`),confirmLabel:d(`receipt:request.confirm`),type:j.Form,handleConfirm:async e=>{if(C||S)return;E(!0);let t=s===d5.Invoice,r={receiptType:m,userRemark:e[u5.Backup],emails:y.map(e=>e.value)},a=t?u5.InvoiceIds:u5.OrderIds;r[a]=n,f===c5.Company&&(r[u5.Bank]=e[u5.Bank],r[u5.BankAccount]=e[u5.BankAccount]),f===c5.Personal&&(r[u5.ReceiptTitle]=e[u5.ReceiptTitle]);try{t?await v5.applyReceipt(r):await v5.applyOrderReceipt(r),i()}finally{E(!1)}},isAlwaysAllowed:!0,customTrigger:()=>{D&&w(!0)},confirmLoading:T,confirmBtnProps:{disabled:S},children:[(0,G.jsx)(ni,{severity:`info`,classes:{root:s5.alert},children:d(`receipt:request.desc`)}),(0,G.jsx)(x5,{source:s,currency:r,total:t,receiptedAmount:u,receiptableAmount:c}),(0,G.jsx)(Joe,{serviceName:o,taxRate:a,classes:{root:s5.infoBlock}}),(0,G.jsx)(Goe,{receiptTitle:f,receiptType:m,emailValue:y,emailOptions:b,setEmailValue:x,setReceiptTitle:p,setReceiptType:h,emailError:C,setEmailError:w})]})},Xoe=Zt({key:`receiptInfo`,default:{taxRate:ds.UNKNOWN,serviceName:ds.UNKNOWN}}),Zoe=Cs(xs.Receipt),C5=()=>{let[e,t]=Lt(Xoe);return{receiptInfo:e,fetchReceiptInfo:async()=>{if(!Zoe)return;let{_taxRate:e,_serviceName:n}=await v5.fetchReceiptProperties();t({taxRate:e,serviceName:n})}}},Qoe={content:`_content_acvds_3`,rotate:`_rotate_acvds_1`},$oe={content:`<p><strong>çæ¬ç¼å·ï¼V1.1</strong></p> 52<p><em><u>éè¦æç¤ºï¼</u></em></p> 53<p><em><u>请ä»ç»é 读æ¬Zilliz Cloudæå¡æ¡æ¬¾ï¼âæ¬åè®®âï¼çå ¨é¨æ¡æ¬¾ï¼ç¹å«æ¯å ç²ä¸ä¸å线æç¤ºçéè¦æ¡æ¬¾åå 责声æã责任éå¶ãèµå¿çæ¡æ¬¾ã</u></em></p> 54<p><em><u>
54Zillizå¨ä¸å½ï¼ä» å°±æ¬åè®®èè¨ï¼ä¸å æ¬ä¸å½é¦æ¸¯ãä¸å½æ¾³é¨åä¸å½å°æ¹¾ï¼é¢åZillizä¸å½å®ç½åå¹³å°ç注åç¨æ·ï¼âç¨æ·âï¼æä¾äº§ååæå¡ï¼å¦æç¨æ·ä¸åææ¬åè®®ç任使¡æ¬¾ï¼è¯·ç«å³åæ¢ä½¿ç¨äº§ååæå¡ã</u></em></p> 55<p><em><u>ç¨æ·åºå ·æå®å ¨æ°äºè¡ä¸ºè½åãå¦æç¨æ·æªæ»¡18å¨å²æä¸å ·å¤å®å ¨æ°äºè¡ä¸ºè½åï¼è¯·ç«å³åæ¢ä½¿ç¨äº§ååæå¡ã</u></em></p> 56<p><em><u>䏿¬åè®®ç¸å ³çååãè§åãéç¥ãå ¬åã声æåæ¿ççï¼âç¸å ³è§åâï¼ä¸ºæ¬åè®®çç»æé¨åï¼éç¨äºZillizåç¨æ·æä¾ç产ååæå¡ã</u></em></p> 57<p><em><u>å¦æç¨æ·å¯¹æ¬åè®®æä»»ä½çé®ï¼è¯·éè¿æ¬åè®®åæçèç³»æ¹å¼èç³»Zillizã</u></em></p> 58<p>1.<strong>éç¨èå´</strong></p> 59<p>1.1æ¬åè®®ç±ä¸æµ·èµç¿ä¿¡æ¯ç§ææéå ¬å¸ï¼âZillizâï¼ä¸ç¨æ·è®¢ç«ï¼éç¨äºZillizå¨ä¸å½æä¾ä»¥åç¨æ·å¨ä¸å½è®¿é®å使ç¨äº§ååæå¡ã</p> 60<p>1.2Zillizå¯ä¸ç¨æ·å°±äº§ååæå¡è®¢ç«å ¶ä»ä¹¦é¢åè®®ï¼âå ¶ä»åè®®âï¼ãè¥å ¶ä»åè®®ä¸æ¬åè®®åå¨å²çªï¼å¨å ¶ä»åè®®æç¡®çº¦å®çèå´å ï¼ä»¥å ¶ä»åè®®ç约å®ä¸ºåã</p> 61<p>2.<strong>产ååæå¡</strong></p> 62<p>2.1Zillizåç¨æ·æä¾Zilliz Cloudåéæ°æ®åºäº§ååæå¡ï¼â产ååæå¡âï¼ã</p> 63<p>2.2Zillizåç¨æ·æä¾çæå¡çæå¡ççº§ä»¥åæ¬å议约å®åã<a href="https://zilliz.com.cn/sla">Zillizæå¡ç级åè®®</a>ãã</p> 64<p>3.<strong>è´¹ç¨åæ¯ä»ï¼</strong></p> 65<p>3.1å ³äºè´¹ç¨</p> 66<p>3.1.1é¤éæ¬åè®®æå ¶ä»åè®®å¦æçº¦å®ï¼ç¨æ·åºæ<a href="https://zilliz.com.cn/pricing">Zillizä¸å½å®ç½çå®ä»·é¡µé¢</a>åå¸çå·²çæçä»·æ ¼æ¯ä»æå¡è´¹ç¨ã</p> 67<p>3.1.2å åå æ´»å¨ãç¨æ·ç级æç¨æ·ç±»åçä¸åï¼ç¨æ·å¯è½ä¼äº«åä¸åçæå¡æ¨¡å¼ãèµè´¹æç¦å©ã</p> 68<p>3.1.3Zillizææè°æ´æå¡è´¹ç¨æå®ä»·æ¨¡å¼ï¼ä¸åºè³å°æå30æ¥å¨Zillizä¸å½å®ç½åå¸éç¥å¹¶éè¿ç¨æ·æä¾çé®ç®±éç¥ç¨æ·ãè°æ´åçä»·æ ¼æå®ä»·æ¨¡å¼å¨åè¿°æé´å±æ»¡åçæã</p> 69<p>3.1.4 Zillizéç¨å å¹´åæéä»è´¹ï¼ä¸¤ç§ä»è´¹æ¹å¼ï¼ç¨æ·å¯æ ¹æ®è´ä¹°ç Zilliz Cloud æå¡èªè¡éå®ç¸åºçä»è´¹æ¹å¼ãZilliz Cloud æå¡çæäºåè½ææ¨¡åå¯è½ä» æ¯ææä¸ç§ç¹å®çä»è´¹æ¹å¼ï¼å ·ä½å¯åè§è´ä¹°é¡µé¢ä¸çç¸å ³æç¤ºã)</p> 70<p>3.2 æ¯ä»</p> 71<p>3.2.1ç¨æ·åºè¯¥éè¿ç°éä½é¢ãé¿éäºå¸åºçç°ææ¯ä»æ¹å¼æä»åå¯ç¨çå ¶ä»æ¹å¼ä¾çº¦æ¯ä»ãå Zillizæå¡ç³»èæååï¼æå¡è´¹ç¨æ¯ç¨æ·æè´ä¹°çæå¡æå¯¹åºçèæååä»·æ ¼ï¼èéé¢ä»æ¬¾æè 忬¾ãå®éãå¨èå¡çæ§è´¨ï¼Zillizçæå¡ä¸ç»å¼éåååä¸ä¸å¯é款ï¼ä½å Zillizæå¡åå¨é大ççµå¯¼è´ç¨æ·å®å ¨æ æ³ä½¿ç¨çZillizçè¿çº¦è¡ä¸ºãæ¬åè®®å¦æçº¦å®ãæ³å¾æ³è§è¦æ±å¿ 须鿬¾çææä»¬åæéæ¬¾çæ å½¢é¤å¤ã</p> 72<p>ç¨æ·å¨è´ä¹°æå¡ï¼å æ¬èªå¨æ£è´¹æå¡ï¼ä¹ååºä»ç»æ ¸å¯¹è´¦å·ä¿¡æ¯ãè´ä¹°çæå¡å 容ãä»·æ ¼ãæå¡æéçä¿¡æ¯ã</p> 73<p>3.2.2 Zilliz卿å¡å°æåä¼éè¿åéé®ä»¶çæ¹å¼åç¥ç¨æ·ï¼è¥ç¨æ·æªææ¶å ¨é¢æ¯ä»æå¡è´¹ç¨ï¼Zillizæææ ¹æ®æ¬åè®®åç¸å ³è§åéå¶ç¨æ·ä½¿ç¨äº§ååæå¡ï¼æåæç»æ¢æä¾äº§ååæå¡ï¼æç»æ¢æ¬åè®®ã</p> 74<p>3.3èªå¨æ£è´¹æå¡</p> 75<p>èªå¨æ£è´¹æå¡æ¯å¨ç¨æ·å·²å¼éZilliz产åæå¡çåæä¸ï¼ä¸ºç¨æ·æä¾çèªå¨æ£è´¹æå¡ï¼å¦ç¨æ·å¼éæ¬æå¡ï¼åè§ä¸ºç¨æ·ææå¨æå¡å³å°å°ææ¶ï¼ä»ç¨æ·ç伿 å¸ãèªæç°éå å¼è´¦æ·ãä¸Zilizè´¦å·ç»å®çé¿éäºå¸åºè´¦æ·ï¼ä»¥ä¸ç»ç§°âè´¦æ·âï¼ä½é¢ä¸ä»£æ£ä¸ä¸ä¸ªè®¡è´¹å¨æè´¹ç¨ãå¦å ä¸è¿°è´¦æ·ä¸å¯æ£æ¬¾ä½é¢ä¸è¶³å¯¼è´çæ£æ¬¾æç»è´¹å¤±è´¥ã产ååæå¡ä¸è½ç»§ç»ä½¿ç¨çåæï¼ç±ç¨æ·èªè¡æ¿æ ã</p> 76<p>3.4 å°æ/æ¬ è´¹å ³å</p> 77<p>Zilliz ä¸ºç¨æ·æä¾ Zilliz Cloud æå¡çåææ¯æ ¹æ®æ¬å议约å®åæ¶ãè¶³é¢çæ¯ä»äºç¸åºæå¡è´¹ç¨ãå¦ç¨æ·æªæç §çº¦å®æ¯ä»æå¡è´¹ç¨ï¼å Zilliz å¯è½ä¼åç¨æ·ååºåççæç¤ºæå¬æ¬¾åè¦ï¼å¹¶ä¿çä¸åç¨æ·ç»§ç»æä¾æå¡æè ç»æ¢æå¡çæå©ï¼åæ¶ï¼Zilliz ææè¦æ±ç¨æ·æ¯ä»ç»æ¢æå¡åå°æªç»æ¸ çæå¡è´¹ç¨ãZilliz ææå¨ä¸è¿°æ å½¢åºç°æ¶åæ¢åç¨æ·æä¾ Zilliz Cloud æå¡ï¼</p> 78<p>3.4.1 å 年模å¼ä¸ï¼ç¨æ·è´ä¹°çæå¡æ¶é¿å·²å°æä¸æªè½å¨å°æå宿ç»è´¹ï¼</p> 79<p>3.4.2 æéä»è´¹æ¨¡å¼ä¸ï¼ç¨æ·çç°éä½é¢ä¸è¶³ä»¥æµæ£æ¨å·²æ¶èçæå¡è´¹ç¨ã</p> 80<p>4.<strong>è´¦æ·æ³¨åãå®å ¨åä¹å¡</strong></p> 81<p>4.1ç¨æ·è´¦å·åå¯ç æ¯ç¨æ·ä½¿ç¨Zillizç产ååæå¡çåè¯ãç¨æ·å¨æ³¨åè´¦æ·æ¶åºæä¾åç¡®ã宿´åææ°çä¿¡æ¯ã</p> 82<p>4.2ç¨æ·åºè®¾ç½®é«å¼ºåº¦å¯ç ï¼ä¾å¦ç±å¤§å°ååæ¯ãæ°åå符å·ç»æçå¯ç ï¼åéååçæªæ½ç¡®ä¿ç¨æ·è´¦å·å®å ¨ãå ç¨æ·ä¿æ¤ä¸å½è´ä½¿è´¦æ·ä¿¡æ¯ãå¯ç æå£ä»¤ä¸¢å¤±ææ³æ¼çï¼å æ¤äº§ççæå¤±ååæç±ç¨æ·æ¿æ ã</p> 83<p>4.3ç¨æ·ä¸å¾å°å ¶è´¦å·åå¯ç æ³é²ãåºåãè½¬è®©æææç¬¬ä¸æ¹ä½¿ç¨ï¼ä¼ä¸ç¨æ·ææå ¶å工代表ä¼ä¸ç¨æ·ä½¿ç¨äº§ååæå¡çæ å½¢é¤å¤ï¼ã</p> 84<p>4.4ç¨æ·å¯¹ä¸å ¶è´¦å·ç¸å ³çæä½ã使ç¨ãæ´»å¨åç»ææ¿æ å ¨é¨è´£ä»»ãZillizä¸å¯¹å ç¨æ·æªè½éµå®æ¬å议约å®èåçç任使失è´è´£ã</p> 85<p>4.5å¦ç¨æ·åç°è´¦æ·åå¨å®å ¨éæ£æå¼å¸¸æ åµ(å æ¬ææç¨æ·å¯ç æ³é²ãè´¦æ·ä¿¡æ¯ä¸åç¨æ·æ§å¶ç)ï¼åºç«å³éç¥Zillizï¼Zillizææåæ¶éåé彿ªæ½ã</p> 86<p>4.6å¦Zillizåç°ä»»ä½äººå£«æªç»ææä½¿ç¨ç¨æ·çè´¦å·ï¼æåçè¿åè§å®çä»»ä½å ¶ä»æ åµï¼Zillizå¯ç«å³éåç¸åºè¡å¨èæ éå¦è¡éç¥ç¨æ·ã</p> 87<p>5.<strong>产ååæå¡ç使ç¨ãç»´æ¤åæ´æ°</strong></p> 88<p>5.1ç¨æ·æ¿è¯ºä» 为èªç¨æèªèº«ä¸å¡ç»è¥çç®ç使ç¨äº§ååæå¡ã</p> 89<p>5.2ç¨æ·æ¿è¯ºä¸å®æ½ä»¥ä¸è¡ä¸ºï¼å¦åZillizææç«å³åæ¢åç¨æ·æä¾äº§ååæå¡ï¼å¹¶è¦æ±ç¨æ·æ¿æ ç¸åºè´£ä»»ï¼</p> 90<p>
905.2.1å°è´¦æ·æä¾ç»ç¨æ·åä¼ä¸ç¨æ·ææä¸»ä½ä»¥å¤çç¬¬ä¸æ¹ä½¿ç¨äº§ååæå¡ï¼</p> 91<p>5.2.2å°äº§ååæå¡ç¨äºæ¬å议约å®ä»¥å¤çå ¶ä»ç¨éæç®çï¼å æ¬åºå®ã转å®ã转ç§ã转让ãæä¾å许å¯ãè½¬è®¸å¯æå¤å¶ãå¼åä½¿ç¨æéçï¼</p> 92<p>5.2.3å¤å¶ææ¨¡ä»¿äº§ååæå¡ï¼å¯¹äº§ååæå¡è¿è¡æ¹åãåç¼è¯ãåæ±ç¼çååå·¥ç¨å¤çï¼</p> 93<p>5.2.4å¤å¶å模仿产ååæå¡çä»»ä½è®¾è®¡ãçé¢ãåè½åå¾è¡¨ï¼å¹¶çæä¸äº§ååæå¡ç¸ç±»ä¼¼æç«äºçäº§åææå¡ï¼</p> 94<p>5.2.5对产ååæå¡è¿è¡ä¿®æ¹ï¼æå¶é ãå建è¡çãæ´¾çå ¶ä»è½¯ä»¶äº§åææå¡ï¼</p> 95<p>5.2.6使ç¨äº§ååæå¡åå¨æä¼ è¾èµæè¿åæ³å¾è§å®ï¼æå®³ä»äººå°ä¸¥ãä¾µç¯ä»äººéç§æä»äººå ¶ä»åæ³æçï¼</p> 96<p>5.2.7使ç¨äº§ååæå¡åå¨æä¼ è¾æ¶æä»£ç ï¼</p> 97<p>5.2.8å¹²æ°ãç ´å产ååæå¡æå ¶æ¶åçç¬¬ä¸æ¹åºç¨çåè½ãæ°æ®ç宿´æ§ã</p> 98<p>5.3产ååæå¡å¯è½å è®¸ç¨æ·è°ç¨æéæç¬¬ä¸æ¹æå¡ï¼ä¾å¦å è®¸ç¨æ·ä½¿ç¨ç¬¬ä¸æ¹å¹³å°çè´¦æ·è¿è¡ç»å½ãç¨æ·å°ç¬¬ä¸æ¹äº§å鿿坹æ¥è³Zillizæä¾ç产ååæå¡ä¸ã卿¤æ åµä¸ï¼è¥å ç¬¬ä¸æ¹æä¾ç产åå/ææå¡å卿 éãççµï¼æåå¨è¿æ³ãè¿è§æä¾µç¯ç¬¬ä¸äººåæ³æççæ å½¢ï¼å¹¶å æ¤é æç¨æ·æå¤±çï¼Zilliz䏿¿æ 责任ãåºäºç¬¬ä¸æ¹æä¾äº§åæ/åæå¡çç¬ç«æ§åç¹æ®æ§ï¼è¥ç¨æ·è¦æ±Zillizåç¬¬ä¸æ¹ä¼ è¾ãæä¾ãå ¬å¼Zillizä½ä¸ºæ¬å议项ä¸åææ°æ®å¤çè èæ¥è§¦å°çç¨æ·æç¨æ·åå·¥ç主ä½ç个人信æ¯ï¼ç¨æ·åºä¸Zillizå¦è¡ååãéç¹å«æåºï¼å¦Zillizå°±ä¸è¿°è¡ä¸ºæä¾åå©çï¼è¯¥åå©è¡ä¸ºä¸è§ä¸ºå¯¹ç¬¬ä¸æ¹æä¾äº§åå/ææå¡æ¬èº«æç¬¬ä¸æ¹è¡ä¸ºçä»»ä½ä¿è¯ææ¿è¯ºï¼ç¬¬ä¸æ¹åºç¬ç«åç¨æ·æ¿æ å ¨é¨è´£ä»»ãè¥ç¨æ·è¦æ±ç¬ç«çç¬¬ä¸æ¹åºäºå ¶äº§åå/ææå¡å¤çï¼å æ¬ä½ä¸éäºåå¨ã使ç¨ãå é¤çï¼ç¨æ·æç¨æ·åå·¥ç主ä½ç个人信æ¯ï¼å æ¬Zillizåç¨æ·å§æä¼ è¾ç该çä¿¡æ¯ï¼ï¼åºç±ç¨æ·åç¬¬ä¸æ¹ç¬ç«äº«ææå©å¹¶æ¿æ ç¸å ³ä¹å¡å责任ï¼Zilliz䏿¿æ ä»»ä½è´£ä»»ã</p> 99<p>5.4é¤éæ¬åè®®ä¸å¦æçº¦å®ï¼ç¨æ·å°è´è´£ææè¿æ¥è³äº§ååæå¡è®¾æ½ä¹é讯线路ï¼å æ¬äºèç½ï¼çå®è£ ã使ç¨ãæå¡åä¿®çãå¦ç¨æ·çè¿æ¥é ææå¯è½é æå®å ¨é®é¢æè¿åæ¬åè®®çº¦å®ææ³å¾è§å®ï¼Zillizå¯ä»¥å¨ä¸äºå éç¥çæ åµä¸ç«å³ä¸æ¢ç¨æ·éè¿äºèç½ä½¿ç¨æå¡ã</p> 100<p>5.5为æå产ååæå¡åè´¨ï¼æ¹åç¨æ·ä½éªï¼Zillizä¼ä¸æ¶å¯¹äº§ååæå¡è¿è¡æ´æ°åå级ï¼å æ¬è½¯ä»¶çæ¬æ´æ°ãåè½å¼ºåãä¿®è®¢ç¨æ·ææ¡£çå½¢å¼ãZillizå¨å¯¹äº§ååæå¡è¿è¡æ´æ°ååçº§åæ éäºå éç¥ç¨æ·ï¼ä½æ¯å¦ææ´æ°åå级å°å¯¼è´äº§ååæå¡ç䏿¢ã䏿ã延误æä½¿ç¨éå¶ï¼Zillizåºè³å°æå1ä¸ªå·¥ä½æ¥ä»¥ä¹¦é¢å½¢å¼éç¥ç¨æ·ã</p> 101<p>5.6Zillizå¯éè¿çµåé®ä»¶ãç½ç«å¼¹çªæå ¶ä»å½¢å¼ï¼å®æåç¨æ·æ¨é产ååæå¡çæ´æ°ä¿¡æ¯åéè¦éç¥ã</p> 102<p>6.<strong>ç¨æ·æ°æ®</strong></p> 103<p>6.1ç¨æ·å¨ä½¿ç¨äº§ååæå¡è¿ç¨ä¸éè¿ä¸ä¼ ãåå¨ãä¸è½½çæ¹å¼å¤ççæåãå¾çãé³é¢ãè§é¢ãæä»¶çæ°æ®ï¼å±äºç¨æ·æ°æ®ï¼ç¨æ·æ¥æç¨æ·æ°æ®çææææä½¿ç¨æã</p> 104<p>6.2ç¨æ·ææå¯¹ç¨æ·æ°æ®è¿è¡ä¸ä¼ ãä¸è½½ãæ´æ¹ãå é¤çæä½ãå¦ç¨æ·å¯¹ç¨æ·æ°æ®è¿è¡å 餿ä½ï¼Zillizå°æç §ç¨æ·çæä½æä»¤å¯¹ç¸åºçç¨æ·æ°æ®è¿è¡å é¤ãç¨æ·ç¥æå¹¶ç¡®è®¤ï¼ç¨æ·æ°æ®ä¸ç»å é¤ï¼å³ä¸å¯æ¢å¤ï¼Zillizä¸è´æå¯¼åºãè¿åæä¿çç¨æ·æ°æ®çä¹å¡ã</p> 105<p>6.3卿¬åè®®æé屿»¡æç»æ¢æ¶ï¼ç¨æ·åºåæ¶å¯¼åºæä¸è½½ç¨æ·æ°æ®ãZilliz卿¬åè®®æé屿»¡æç»æ¢ä¹æ¥èµ·30æ¥å å°ä¼ç»§ç»ä¿çç¨æ·æ°æ®ï¼å¨30æ¥æé屿»¡æ¶Zillizå°ä¼å é¤ç¨æ·æ°æ®ãç¨æ·ç¥æå¹¶ç¡®è®¤ï¼å¨åè¿°30æ¥æé屿»¡åZillizä¸è´æå¯¼åºãè¿åæä¿çç¨æ·æ°æ®çä¹å¡ã</p> 106<p>6.4对äºç¨æ·çç¨æ·æ°æ®ï¼Zillizé¤è¿è¡å®å ¨åå¨å¹¶æç §ç¨æ·æä»¤è¿è¡å¤çå¤ï¼Zillizä¸å¯¹ç¨æ·çç¨æ·æ°æ®è¿è¡æªç»ææçå¤çãä½¿ç¨ææ«é²ï¼ä½æ¯ä»¥ä¸æ å½¢é¤å¤ï¼</p> 107<p>6.4.1åæ¹åæï¼</p> 108<p>6.4.2è¡æ¿ã叿³çæºæä¾æ³æ¥è¯¢æè°åç¨æ·çç¨æ·æ°æ®ï¼</p> 109<p>
1096.4.3Zillizæ ¹æ®ç¸å ³æ³å¾ãæ³è§æä¾ææ«é²ç¨æ·çç¨æ·æ°æ®ã</p> 110<p>6.5Zillizå¯å°è±æåå¿åååçç¨æ·æ°æ®ç¨äºç»è®¡åæãç åãæ¹å产ååæå¡çç®çã</p> 111<p>7.<strong>ç¥è¯äº§æ</strong></p> 112<p>7.1æ¬å议项ä¸çç¥è¯äº§æå æ¬ä¸äº§ååæå¡ç¸å ³ç代ç ãææ¯ã软件ãç¨åºãåºç¨ãæ°æ®åä¿¡æ¯ï¼å æ¬æåãå¾åãå¾çãç §çãé³é¢ãè§é¢ãå¾è¡¨ãè²å½©ãçé¢è®¾è®¡ãçµåææ¡£ï¼çè使ãåæ æãä¸å©æãåä¸ç§å¯çæå©ã</p> 113<p>7.2Zillizåå ¶ç¸å ³æå©äººæ¥æäº§ååæå¡ï¼å æ¬ç°æåæªæ¥çæ¬ï¼çæææãç¥è¯äº§æåå ¶ä»æçã</p> 114<p>7.3卿¬åè®®æææå ï¼Zillizæäºç¨æ·å¨ä¸å½å¢å éæä»ãä¸å¯è½¬è®©ç产ååæå¡ç许å¯ä½¿ç¨æã</p> 115<p>7.4Zillizç产åä¸å¯è½éææä½¿ç¨äºå ¶ä¾åºåæå ¶ä»ç¬¬ä¸æ¹è®¸å¯ä½¿ç¨çææ¯å软件ï¼è¯¥çç¬¬ä¸æ¹ææ¯å软件ç许å¯ä½¿ç¨éç¨è¯¥çç¬¬ä¸æ¹ææ¯å软件ç许å¯åè®®ã</p> 116<p>7.5Zillizç¡®ä¿äº§ååæå¡ä¸ä¾µç¯ç¬¬ä¸æ¹çç¥è¯äº§æãå¦ç¬¬ä¸æ¹æåºäº§ååæå¡ä¾µç¯å ¶ç¥è¯äº§æï¼Zillizå°èªè¡å¤çç¬¬ä¸æ¹çææ§æç´¢èµã</p> 117<p>8.<strong>æ°æ®å®å ¨å个人信æ¯ä¿æ¤</strong></p> 118<p>8.1Zillizåç¨æ·ååºéµå®éç¨çæ°æ®å®å ¨å个人信æ¯ä¿æ¤ç¸å ³çæ³å¾æ³è§ã</p> 119<p>8.2Zillizå°éåéå½çå®å ¨æªæ½ï¼ç¡®ä¿äº§ååæå¡çæ°æ®å®å ¨å¹¶ä¿æ¤ä¸ªäººä¿¡æ¯ã</p> 120<p>8.3Zilliz卿ä¾äº§ååæå¡çè¿ç¨ä¸æ ¹æ®ã<a href="https://zilliz.com.cn/cloud-user-policy">Zilliz Cloud 个人信æ¯ä¿æ¤æ¿ç</a>ãæ¶éåå¤ç个人信æ¯ã</p> 121<p>9.<strong>è¡ä¸ºè§è</strong></p> 122<p>9.1ç¨æ·å¨ä½¿ç¨Zillizç产ååæå¡è¿ç¨ä¸åºéµå®å½å®¶æ³å¾ãæ³è§ãæ¿çãæ¬å议以åç¸å ³è§åãç¨æ·ä¸å¾ä¸ä¼ ãå¯¼å ¥ãå¶ä½ãçæãå¤å¶ãåå¸ãä¼ æãæ£ç´¢å«æä¸åå 容çä¿¡æ¯ï¼</p> 123<p>9.1.1åå¯¹å®ªæ³æç¡®å®çåºæ¬ååï¼</p> 124<p>9.1.2å±å®³å½å®¶å®å ¨ï¼æ³é²å½å®¶ç§å¯ï¼é¢ è¦å½å®¶æ¿æï¼ç ´åå½å®¶ç»ä¸ï¼</p> 125<p>9.1.3æå®³å½å®¶è£èªåå©çï¼</p> 126<p>9.1.4ç ½å¨æ°æä»æ¨ãæ°ææ§è§ï¼ç ´åæ°æå¢ç»ï¼</p> 127<p>9.1.5ç ´åå½å®¶å®ææ¿çï¼å®£æ¬éªæåå°å»ºè¿·ä¿¡ï¼</p> 128<p>9.1.6æ£å¸è°£è¨ï¼æ°ä¹±ç¤¾ä¼ç§©åºï¼ç ´å社ä¼ç¨³å®ï¼</p> 129<p>9.1.7æ£å¸æ·«ç§½ãè²æ ãèµåãæ´åãå¶æãæææè æåç¯ç½ªï¼</p> 130<p>9.1.8侮辱æè 诽谤ä»äººï¼ä¾µå®³ä»äººåæ³æçï¼</p> 131<p>9.1.9ä¾µç¯Zillizåç¬¬ä¸æ¹çç¥è¯äº§æä¸å ¶ä»æçï¼</p> 132<p>9.1.10嫿æ³å¾æ³è§åæ¬åè®®ç¦æ¢çå ¶ä»å 容ã</p> 133<p>9.2å¦ç¨æ·è¿åæ³å¾æ³è§çæå ³è§å®ææ¬å议使ç¨äº§ååæå¡ï¼Zillizå¯éåæåæç»æ¢ç¨æ·ä½¿ç¨äº§ååæå¡çæéçæªæ½ç¡®ä¿Zillizçæå¡å产åçåæ³æ§ä¸åè§æ§ã</p> 134<p><em><u>10.å 责声æ</u></em></p> 135<p> <em><u>10.1产ååæå¡æ¯æç°æææ¯åæ¡ä»¶æè½è¾¾å°çç°ç¶æä¾çãZillizå°å°½æå¤§åªåä¿é产ååæå¡çè¿ç»æ§åå®å ¨æ§ï¼ä½ç±äºéä¿¡ææ¯ãç®æ³ææ¯å人工æºè½ç§æçå屿éï¼Zillizæ æ³é¢è§åé²èææ¯ãç½ç»çå ¨é¨é£é©ï¼ä¹æ æ³ä¿è¯äº§ååæå¡æ¯«æ ççµãç¨æ·ç解并åæï¼å¦æäº§ååæå¡è½ç¶åå¨ççµåé£é©ï¼ä½è¯¥çççµåé£é©æ¯å½æ¶è¡ä¸ææ¯æ°´å¹³ææ æ³é¿å çï¼å°ä¸è§ä¸ºZillizè¿çº¦ã</u></em></p> 136<p> <em><u>10.2ç±äºä»¥ä¸åå 导è´ç产ååæå¡ç䏿¢ã䏿ã延误ã使ç¨éå¶ææ æ³ä½¿ç¨ï¼Zillizæ éåç¨æ·æ¿æ 责任ï¼</u></em></p> 137<p> <em><u>10.2.1ç¨æ·ä¸¢å¤±ææ³æ¼ç»å½äº§ååæå¡çè´¦å·ãå£ä»¤æå¯ç ï¼</u></em></p> 138<p> <em><u>10.2.2ç¨æ·æªæç §Zillizæä¾çä½¿ç¨ææ¡£æè¦æ±ä½¿ç¨äº§ååæå¡ï¼</u></em></p> 139<p> <em><u>10.2.3ç±ç¨æ·ç³»ç»ã设å¤ã软件ãåºç¨å¼èµ·çï¼</u></em></p> 140<p> <em><u>10.2.4Zillizæ ¹æ®æ¬åè®®åç¸å ³è§åè¿è¡ç产ååæå¡çæ£æ¥ãç»´æ¤ãæ´æ°ãå级çï¼</u></em></p> 141<p> <em><u>10.2.5产ååæå¡å°ä¼æ¥å ¥æéæç¬¬ä¸æ¹æä»¶ãå·¥å ·ææå¡ï¼è¯¥çç¬¬ä¸æ¹æä»¶ãå·¥å ·ææå¡åç䏿¢ã䏿ã延误ã使ç¨éå¶ææ æ³ä½¿ç¨çæ åµï¼</u></em></p> 142<p> <em><u>10.2.6å å°é£ãå°éãæµ·å¸ã洪水ãåçµãæäºãææè¢å»ãç«æ ãæ¿çè°æ´çZillizä¸å¯æ§å¶çå ç´ ï¼é ææå¡çæåæç»æ¢ï¼</u></em></p> 143<p> <em><u>10.2.7Zillizå°å°½æå¤§åªåä¿é产ååæå¡çè¿ç»æ§ï¼ä½æ¯é´äºäºèç½æå¡çç¹æ®æ§åç½ç»éä¿¡ææ¯åå®å ¨çå±éæ§ï¼å¯¹äºç±äºé»å®¢æ»å»ãè®¡ç®æºç æ¯ãçµä¿¡è¿è¥åæå¡æåæä¸æãéè®¯ææ¯æ éãç¬¬ä¸æ¹ä¾µæè¡ä¸ºçåå å¼èµ·ç产ååæå¡ç䏿¢ã䏿ã延误ã使ç¨éå¶ææ æ³ä½¿ç¨ï¼</u></em></p> 144<p> <em><u>10.2.8Zillizä¸å¯æ§å¶çå ¶ä»åå 导è´çæå¡æåæç»æ¢ã</u></em></p> 145<p><em><u>11.责任éå¶</u></em></p> 146<p><em><u>11.1å¨éç¨æ³å¾å 许çèå´å ï¼å¯¹äºç¨æ·å æ¬åè®®æä½¿ç¨äº§ååæå¡è产ççä»»ä½é´æ¥çãæ©ç½æ§çæä¸å¯é¢è§çæå¤±ææå®³ï¼å æ¬ä»»ä½æ¶å ¥ã婿¶¦ãæºä¼ãå®¢æ·æå¤±ãåèªãä¿¡èªãæ°æ®ææ°æ®ä½¿ç¨çæå¤±ææå®³çï¼ï¼Zillizå¨ä»»ä½æ åµä¸å䏿¿æ 责任ã</u></em></p> 147<p><em><u>11.2å¨éç¨æ³å¾å 许çèå´å ï¼å¨ä»»ä½æ åµä¸ï¼Zillizåç¨æ·æ¿æ çæå®³èµå¿è´£ä»»æé«éé¢ä¸ºäººæ°å¸5,000å ï¼ä½Zillizå卿¶æãæ¶åäººèº«ä¼¤å®³ææ³å¾å¦æè§å®çæ å½¢é¤å¤ã</u></em></p> 148<p><em><u>12.èµå¿</u></em></p> 149<p>å ç¨æ·ä½¿ç¨äº§ååæå¡æè¿åæ¬åè®®æç¸å ³æ³å¾æ³è§æä¾µç¯ç¬¬ä¸æ¹æçè导è´Zilliz产ççæä¸ä¹ç¸å ³çä»»ä½åææç´¢èµãæå¤±ãæå®³ãç½æ¬¾ãå¤ç½ãæ¯åºåè´¹ç¨ï¼å æ¬å¾å¸è´¹ï¼ï¼ç¨æ·ååºåZillizè¿è¡å ¨é¢èµå¿ã</u>*</p> 150<p>13.<strong>è¿çº¦</strong></p> 151<p>13.1餿¬åè®®å¦æçº¦å®å¤ï¼ä¸æ¹è¿åæ¬å议任ä½çº¦å®ç»å¦ä¸æ¹é ææå¤±çï¼åºåå¦ä¸æ¹æ¿æ èµå¿è´£ä»»ã</p> 152<p>13.2å¦ç¨æ·è¿åæ¬åè®®åç¸å ³è§åç任使¡æ¬¾ï¼Zillizæææ ¹æ®è¿çº¦è¡ä¸ºç严éç¨åº¦éåZilliz认为éåçç¸åºæªæ½ï¼å æ¬ä½ä¸éäºéç¥ç¨æ·éåè¡¥ææªæ½ãéå¶æç¦æ¢ç¨æ·ä½¿ç¨å ¨é¨æé¨å产ååæå¡ãå ³éè´¦æ·æè¦æ±ç¨æ·æ¿æ è¿çº¦è´£ä»»ã</p> 153<p>14.<strong>æéåç»æ¢</strong></p> 154<p>14.1æ¬åè®®å¨ç¨æ·ä½¿ç¨äº§ååæå¡æé´æç»ææï¼ç´è³æ ¹æ®æ¬åè®®ç»æ¢ã</p> 155<p>14.2åç以䏿 å½¢ä¹ä¸ï¼æ¬åè®®ç»æ¢ï¼</p> 156<p>14.2.1åæ¹åæç»æ¢æ¬åè®®ï¼</p> 157<p>14.2.2ç¨æ·åZillizååºä¹¦é¢éç¥ç»æ¢æ¬åè®®ï¼</p> 158<p>14.2.3ç¨æ·è¿åæ¬åè®®ï¼Zillizææç»æ¢æ¬åè®®ï¼</p> 159<p>14.2.4Zillizä¸åæä¾äº§ååæå¡ï¼</p> 160<p>14.2.5åçä¸å¯æåäºä»¶è´ä½¿æ¬åè®®ç®çæ æ³å®ç°ä¸ä¸æ¹è¡ä½¿è§£é¤æã</p> 161<p>14.3æ¬åè®®çç»æ¢ä¸å½±åå 责声æã责任éå¶ãèµå¿æ¡æ¬¾ä»¥åæ§è´¨ä¸æå¨æ¬åè®®ç»æ¢åä»ç¶ææçå ¶ä»æ¡æ¬¾ç»§ç»ææã</p> 162<p>15.<strong>éç¨æ³å¾åäºè®®è§£å³</strong></p> 163<p>15.1æ¬åè®®ç订ç«ãæ§è¡ãè§£éåç¸å ³äºè®®è§£å³éç¨ä¸å½æ³å¾ã</p> 164<p>15.2å¦ç¨æ·å¯¹æ¬åè®®æ¡æ¬¾ççè§£åå±¥è¡ä¸Zillizåå¨äºè®®ï¼ç¨æ·å¯ä¸Zillizå®¢æ·æå¡äººåè¿è¡èç³»ï¼Zillizæ¿è¯ºå°å¨åçæ¶é´å åå¤å¹¶ä¸ç¨æ·å好ååè§£å³äºè®®ãå¦ç¨æ·ä¸Zillizå¨äºè®®åçå60æ¥å 仿ªè§£å³ï¼ä»»ä½ä¸æ¹åææå°äºè®®æäº¤ä¸æµ·å
164½é ç»æµè´¸æä»²è£å§åä¼æç §ç³è¯·ä»²è£æ¶è¯¥ä»²è£å§å伿æç仲è£è§åè¿è¡ä»²è£ã仲è£è£å³æ¯ç»å±çï¼å¯¹åæ¹åæçº¦æåã</p> 165<p>16.<strong>修订</strong></p> 166<p>æ ¹æ®æ³å¾æ³è§åæ¿çåå以åè¿è¥çéè¦ï¼Zillizå°ä¸æ¶ä¿®è®¢æ¬åè®®æ¡æ¬¾åç¸å ³è§åï¼å¹¶éè¿åéçæ¹å¼å ¬å¸ä¿®è®¢åçæ¬åè®®æ¡æ¬¾åç¸å ³è§åã<strong>å¦æç¨æ·ä¸åæä¿®è®¢åçæ¬åè®®æ¡æ¬¾åç¸å ³è§åï¼è¯·ç¨æ·ç«å³åæ¢ä½¿ç¨æ¬å议项ä¸ç产ååæå¡ãå¦ç¨æ·ç»§ç»ä½¿ç¨äº§ååæå¡ï¼å³è§ä¸ºç¨æ·åæå¹¶æ¥å修订åçæ¬åè®®æ¡æ¬¾åç¸å ³è§åã</strong></p> 167<p>17.<strong>å ¶ä»</strong></p> 168<p>17.1éä¹ãæ¬åè®®æ é¢ä» 为æ¥é æ¹ä¾¿ä¹ç®çï¼ä¸ä»¥ä»»ä½å½¢å¼å½±åæéå¶æ¬åè®®æ¡æ¬¾çè§£éã</p> 169<p>17.2è½¬è®©ãæªç»Zillizäºå 书é¢åæï¼ç¨æ·ä¸å¾å°å ¶å¨æ¬å议项ä¸çå ¨é¨æé¨åæå©åä¹å¡è½¬è®©ç»ç¬¬ä¸æ¹ãZillizå¯å°å ¶å¨æ¬åè®®ä¸çæå©åä¹å¡è½¬è®©ç»å ¶å ³èå®ä½ã</p> 170<p>17.3å¯å岿§ã妿¬åè®®åç¸å ³è§åçæ¡æ¬¾é¨åæå ¨é¨æ æãè¿æ³æå¨éç¨æ³å¾é¡¹ä¸ä¸å¯æ§è¡ï¼æ¬åè®®å ¶ä»æ¡æ¬¾åä¸åå½±åï¼å¹¶å¨æ³å¾è®¸å¯çèå´å ç»§ç»ææãåæ¹åºååç¡®å®æ°çæ¡æ¬¾ï¼ä»¥ä¿è¯ä¿®æ¹åçæ¬åè®®æ¡æ¬¾æå¤§ç¨åº¦å®ç°åæ¡æ¬¾çæå¾åææã</p> 171<p>17.4ä¸å¼æã䏿¹ä¸è¡ä½¿ææªåæ¶è¡ä½¿æ¬å议项ä¸çå ¨é¨æé¨åæå©çï¼ä¸åºè§ä¸ºå¯¹æ¬å议项ä¸çå ¶ä»æå©æä¸æ¤ç±»ä¼¼æå©çæ¾å¼ï¼ä¹ä¸å½±å该æ¹å¨å°æ¥å¯¹è¯¥æå©çè¡ä½¿ã</p> 172<p>17.5ç¬ç«ç¼çº¦æ¹ãåæ¹ç³»å½¼æ¤ç¬ç«çç¼çº¦æ¹ï¼æ¬åè®®ä¸å¨åæ¹ä¹é´å»ºç«ä»»ä½åä¼ãä¿¡æãåè¥ãéç¨ã代çæç±»ä¼¼å ³ç³»ã</p> 173<p>18.<strong>èç³»æ¹å¼</strong></p> 174<p>å¦æç¨æ·å¯¹æ¬åè®®æä»»ä½çé®ãæè§æå»ºè®®ï¼è¯·éè¿ä»¥ä¸æ¹å¼ä¸Zillizèç³»ï¼</p> 175<table> 176<thead> 177<tr><th>é®ç®±ï¼[email protected] </th></tr> <tr><th>æ¶ä»¶å°åï¼ä¸æµ·å¸æ¨æµ¦åºèå·è·¯168å·å®è大å¦1601</th></tr> 178</thead> 179<tbody> 180</tbody> 181</table> 182`},ese=e=>{let{onSubmit:t}=e,{t:n}=_([`subscriptionPlan`]),[r,i]=(0,W.useState)(!1),[a,o]=(0,W.useState)(!1),[s,c]=(0,W.useState)(``);return(0,W.useEffect)(()=>{(async()=>{let e=await As($oe.content,{allowTrustedHtml:!0});c(e)})()},[]),(0,G.jsxs)(St,{handleConfirm:async()=>{try{o(!0),await t()}finally{o(!1)}},confirmLoading:a,title:n(`subscriptionPlan:create.agreement.title`),confirmLabel:n(`subscriptionPlan:create.agreement.confirm`),confirmDisabled:!r,children:[(0,G.jsx)(L,{component:`div`,variant:`body3Regular`,className:Qoe.content,children:(0,G.jsx)(`div`,{dangerouslySetInnerHTML:{__html:s}})}),(0,G.jsx)(Pr,{label:n(`subscriptionPlan:create.agreement.checkbox`),onChange:e=>{let t=e.target.checked;i(t)}})]})},w5={tooltip:`_tooltip_1jam6_3`,divider:`_divider_1jam6_7`,learnMore:`_learnMore_1jam6_13`,link:`_link_1jam6_21`,rotate:`_rotate_1jam6_1`},T5=e=>{let{type:t,isTotal:n=!1}=e,{t:r}=_([`subscriptionPlan`]),i=(0,W.useMemo)(()=>{let e=n?`total`:`daily`;return{total:{[H8.Current]:r(`subscriptionPlan:scale.priceTip.currentTotal`),[H8.Extend]:r(`subscriptionPlan:scale.priceTip.extendTotal`)},daily:{[H8.Current]:r(`subscriptionPlan:scale.priceTip.current`),[H8.Extend]:r(`subscriptionPlan:scale.priceTip.extend`)}}[e][t]},[t]);return(0,G.jsxs)(`div`,{className:w5.tooltip,children:[i,(0,G.jsx)(`div`,{className:w5.divider}),(0,G.jsxs)(L,{component:`div`,variant:`body3Regular`,className:w5.learnMore,children:[(0,G.jsx)(ti,{}),(0,G.jsx)(`div`,{children:(0,G.jsx)(d,{t:r,i18nKey:`subscriptionPlan:scale.priceTip.learnMore`,components:[(0,G.jsx)(`a`,{href:wo,target:`_blank`,className:w5.link})]})})]})]})},tse=e=>{let{order:t}=e,{t:n}=_([`subscriptionPlan`]),{orgId:r=``}=l(),i=u(),a=F(A);return(0,G.jsx)(o5,{title:n(`subscriptionPlan:scale.success.createOrder.title`),desc:n(`subscriptionPlan:scale.success.createOrder.desc`,{time:t._payExpireTime||ds.UNKNOWN}),confirmLabel:n(`subscriptionPlan:scale.success.createOrder.action.gotIt`),showCancel:!1,handleConfirm:()=>{a(e=>({...e,open:!1})),i(`/orgs/${r}/billing/orders`)}})},nse={actions:`_actions_997gz_3`,rotate:`_rotate_997gz_1`},rse=e=>{let{clusterId:t}=e,{orgId:n=``,projectId:r=``}=l(),{t:i}=_([`subscriptionPlan`]),a=F(A),o=u(),s=()=>{a(e=>({...e,open:!1}))};return(0,G.jsx)(o5,{title:i(`subscriptionPlan:scale.success.payOrder.title`),desc:i(`subscriptionPlan:scale.success.payOrder.desc`),handleCancel:s,handleConfirm:()=>{s(),o(`/orgs/${n}/projects/${r}/clusters/${t}`)},confirmLabel:i(`subscriptionPlan:scale.success.payOrder.action.view`),cancelLabel:i(`subscriptionPlan:scale.success.payOrder.action.close`),classes:{actionsMain:nse.actions}})},ise=Cs(xs.SubscriptionPlan),E5=()=>{let{t:e}=_([`order`]),t=F(A),{canManageBillingAccess:n}=Yn(),r=u(),{orgId:i=``,projectId:a=``}=l(),{receiptInfo:{taxRate:o,serviceName:s}}=C5(),c=e=>{let{_status:t,_receiptStatus:n}=e;return{supportCancelOrPay:t in R8,supportRequestReceipt:n===Oe.Receiptable}},d=t=>e(`order:orderType.${t}`),f=e=>{let{replica:t,cuSize:n,regionId:r}=e;return`${r}, ${n}CU, ${t} Replica`},p=e=>{t({open:!0,children:(0,G.jsx)(tse,{order:e})})},m=e=>{t({open:!0,children:(0,G.jsx)(rse,{clusterId:e})})},h=e=>{let{onSubmit:n}=e;t({open:!0,size:`large`,children:(0,G.jsx)(ese,{onSubmit:n})})},g=e=>{let{order:n,onFinish:r,onCancel:i}=e;t({open:!0,size:`xl`,children:(0,G.jsx)(Uoe,{order:n,onFinish:r,onCancel:i})})};return{canManageBillingAccess:n,supportSubscriptionPlan:ise,getOrderTypeLabel:d,getClusterConfig:f,openPayOrderDialog:g,openCancelOrderDialog:(e,n)=>{t({open:!0,size:`small`,children:(0,G.jsx)(Moe,{detail:e,onFinish:n})})},getOrderSupportActions:c,openRequestReceiptDialog:e=>
182{let{total:n,receiptableAmount:a=``,receiptedAmount:c=``,ids:l,currency:u,source:d=d5.Invoice}=e;t({open:!0,size:`large`,children:(0,G.jsx)(Yoe,{total:n,ids:l,currency:u,taxRate:o,serviceName:s,source:d,receiptableAmount:a,receiptedAmount:c,confirmCb:()=>{r(`/orgs/${i}/billing/receipt/history`),t(e=>({...e,open:!1}))}})})},openSubscriptionAgreementDialog:h,handleCreateUpgradeOrder:async e=>{if(!e)return;let{clusterId:t=``}=e,n=await U8.upgradeCluster({...e,projectId:a});n&&g({order:n,onFinish:()=>m(t),onCancel:()=>p(n)})},getOrderAmountTooltip:e=>{let{_orderType:t,_upgradeType:n}=e;return t!==z8.upgrade||!n?``:(0,G.jsx)(T5,{type:n,isTotal:!0})}}},D5={root:`_root_13diu_3`,button:`_button_13diu_11`,rotate:`_rotate_13diu_1`},ase=()=>{let{config:e}=PC(),t=wa();return(0,G.jsx)(ni,{severity:`warning`,classes:{root:D5.root},...e,action:{...e?.action||{},buttonProps:{className:D5.button}},children:(0,G.jsx)(L,{variant:`body2Regular`,color:t.yellow.yellow1,children:e?.desc||``})})},O5={root:`_root_14b6v_3`,link:`_link_14b6v_15`,rotate:`_rotate_14b6v_1`},ose=()=>{let{unpaidInvoice:e}=Kt(),{t}=_([`billing`]),n=F(A),{orgId:r=``}=l(),i=wa();return(0,G.jsx)(ni,{severity:`warning`,classes:{root:O5.root},action:{label:t(`billing:payBill`),onClick:()=>{n({open:!0,children:(0,G.jsx)(AC,{title:t(`billing:paymentUpdate.checkTitle`)})})}},children:(0,G.jsx)(L,{variant:`body2Regular`,color:i.yellow.yellow1,children:(0,G.jsx)(d,{t,i18nKey:`billing:unpaidAlert.ownerOrAdmin`,components:[(0,G.jsx)(o,{className:O5.link,to:`/orgs/${r}/billing/history/${e.id}`})],values:{ddlDate:e.ddlTime}})})})},sse={root:`_root_f6e99_3`,rotate:`_rotate_f6e99_1`},cse=()=>{let{unconfirmedInvoice:e}=Kt(),{t}=_([`billing`]),{orgId:n=``}=l(),r=u(),i=wa();return(0,G.jsx)(ni,{severity:`warning`,classes:{root:sse.root},action:{label:t(`billing:unconfirmedAlert.action`),onClick:()=>{r(`/orgs/${n}/billing/history/${e.id}`)}},children:(0,G.jsx)(L,{variant:`body2Regular`,color:i.yellow.yellow1,children:t(`billing:unconfirmedAlert.message`,{date:e.confirmExpireTime})})})},k5={dialogContent:`_dialogContent_u1ltf_3`,desc:`_desc_u1ltf_8`,main:`_main_u1ltf_12`,planWrapper:`_planWrapper_u1ltf_17`,planOption:`_planOption_u1ltf_21`,pricingGroup:`_pricingGroup_u1ltf_28`,pricing:`_pricing_u1ltf_28`,gradientButton:`_gradientButton_u1ltf_38`,byocCard:`_byocCard_u1ltf_43`,byocCardInner:`_byocCardInner_u1ltf_52`,byocFeatures:`_byocFeatures_u1ltf_55`,byocHeader:`_byocHeader_u1ltf_61`,byocDescription:`_byocDescription_u1ltf_66`,link:`_link_u1ltf_69`,byocFeature:`_byocFeature_u1ltf_55`,checkIcon:`_checkIcon_u1ltf_83`,featureText:`_featureText_u1ltf_88`,rotate:`_rotate_u1ltf_1`},A5={card:`_card_1ee57_5`,supportClick:`_supportClick_1ee57_13`,active:`_active_1ee57_17`,disabled:`_disabled_1ee57_33`,content:`_content_1ee57_42`,bestFor:`_bestFor_1ee57_46`,header:`_header_1ee57_51`,popularText:`_popularText_1ee57_55`,currentText:`_currentText_1ee57_65`,features:`_features_1ee57_70`,feature:`_feature_1ee57_70`,checkIcon:`_checkIcon_1ee57_81`,featureText:`_featureText_1ee57_86`,link:`_link_1ee57_88`,moreFeaturesContainer:`_moreFeaturesContainer_1ee57_94`,startIcon:`_startIcon_1ee57_97`,moreFeaturesButton:`_moreFeaturesButton_1ee57_100`,actionButton:`_actionButton_1ee57_109`,underline:`_underline_1ee57_115`,rotate:`_rotate_1ee57_1`},lse=(e,t=`cluster`)=>{let{t:n}=_(t===`project`?`createProject`:`upgradeCTA`),{isStandardPlan:r}=C();return(0,W.useMemo)(()=>{let i=(e,t,r)=>(0,G.jsx)(d,{i18nKey:e,t:n,components:[(0,G.jsx)(Ca,{title:(0,G.jsx)(d,{i18nKey:t,t:n,components:[(0,G.jsx)(`a`,{href:r||go,target:`_blank`,className:A5.tooltipLink})]}),placement:`bottom`,className:A5.underline,children:(0,G.jsx)(G.Fragment,{})})]});if(t===`project`)switch(e){case N.STANDARD:return{title:n(`plans.standard.title`),description:n(`plans.standard.description`),bestFor:(0,G.jsx)(d,{i18nKey:`plans.standard.bestFor`,t:n,components:[(0,G.jsx)(`strong`,{})]}),features:[n(`plans.standard.features.managedDatabase`),n(`plans.standard.features.backupMonitoring`),n(`plans.standard.features.encryption`)]};case N.ENTERPRISE:return{title:n(`plans.enterprise.title`),description:n(`plans.enterprise.description`),bestFor:(0,G.jsx)(d,{i18nKey:`plans.enterprise.bestFor`,t:n,components:[(0,G.jsx)(`strong`,{})]}),features:[n(`plans.enterprise.features.uptime`),n(`plans.enterprise.features.security`),n(`plans.enterprise.features.scaling`),n(`plans.enterprise.features.network`),(0,G.jsx)(d,{i18nKey:`plans.enterprise.features.support`,t:n,components:[(0,G.jsx)(`a`,{href:So,target:`_blank`,className:A5.link})]}),n(`plans.enterprise.features.advanced`)?(0,G.jsx)(d,{i18nKey:`plans.enterprise.features.advanced`,t:n,components:[(0,G.jsx)(`a`,{href:$o,target:`_blank`,className:A5.link})]}
182):null].filter(Boolean)};case N.BUSINESS_CRITICAL:return{title:n(`plans.businessCritical.title`),description:n(`plans.businessCritical.description`),bestFor:(0,G.jsx)(d,{i18nKey:`plans.businessCritical.bestFor`,t:n,components:[(0,G.jsx)(`strong`,{})]}),features:[n(`plans.businessCritical.features.globalCluster`),n(`plans.businessCritical.features.advancedSecurity`),n(`plans.businessCritical.features.hipaa`),(0,G.jsx)(d,{i18nKey:`plans.businessCritical.features.prioritySupport`,t:n,components:[(0,G.jsx)(`a`,{href:$o,target:`_blank`,className:A5.link})]})]};case N.BYOC:return{title:n(`plans.byoc.title`),description:n(`plans.byoc.description`),features:[n(`plans.byoc.features.deploy`),n(`plans.byoc.features.security`),n(`plans.byoc.features.experience`)]}}let a={title:n(`pricePlan.enterprise.title`),description:(0,G.jsx)(d,{i18nKey:`pricePlan.enterprise.desc`,t:n,components:[(0,G.jsx)(`strong`,{})]}),features:[n(`pricePlan.enterprise.features.feature1`),n(`pricePlan.enterprise.features.feature2`),n(`pricePlan.enterprise.features.feature3`),n(`pricePlan.enterprise.features.feature4`),n(`pricePlan.enterprise.features.feature5`),n(`pricePlan.enterprise.features.feature6`),n(`pricePlan.enterprise.features.feature7`),n(`pricePlan.enterprise.features.feature8`),n(`pricePlan.enterprise.features.feature9`),n(`pricePlan.enterprise.features.feature10`),n(`pricePlan.enterprise.features.feature11`)].filter(Boolean)};switch(e){case to.Free:return{title:n(`pricePlan.free.title`),description:(0,G.jsx)(d,{i18nKey:`pricePlan.free.desc`,t:n,components:[(0,G.jsx)(`strong`,{})]}),features:[i(`pricePlan.free.features.feature1`,`pricePlan.free.tooltip.storage`),i(`pricePlan.free.features.feature2`,`pricePlan.serverless.vcuDesc`),n(`pricePlan.free.features.feature3`)]};case to.Serverless:return{title:n(`pricePlan.serverless.title`),description:n(`pricePlan.serverless.desc`),features:[n(`pricePlan.serverless.features.feature1`),n(`pricePlan.serverless.features.feature2`),n(`pricePlan.serverless.features.feature3`)]};case to.Enterprise:case to.Standard:return r?{title:n(`pricePlan.standard.title`),description:(0,G.jsx)(d,{i18nKey:`pricePlan.standard.desc`,t:n,components:[(0,G.jsx)(`strong`,{})]}),features:[n(`pricePlan.standard.features.feature1`),n(`pricePlan.standard.features.feature2`),n(`pricePlan.standard.features.feature3`),n(`pricePlan.standard.features.feature4`),n(`pricePlan.standard.features.feature5`),n(`pricePlan.standard.features.feature6`)].filter(Boolean)}:a;default:return a}},[e,n,r,t])},use=e=>B&&e===Se.Standard?3:4,j5=e=>{let{planType:t,isActive:n,onClick:r,disabled:i=!1,tooltip:a,className:o,pricingText:s,actionBtnConfig:c,isCurrentPlan:l=!1,showMostPopular:u,level:d=`cluster`}=e,{t:f}=_([`deployments`,`upgradeCTA`]),p=lse(t,d),m=t===Se.Enterprise||t===Se.Standard||t===Se.BusinessCritical,h=use(t),g=u===void 0?m:u;if(!p)return null;let v=(e,t)=>(0,G.jsxs)(`div`,{className:A5.feature,children:[(0,G.jsx)(Sr,{size:16,className:A5.checkIcon}),(0,G.jsx)(L,{variant:`body3Regular`,className:A5.featureText,children:e})]},t),y=d===`cluster`,b=y&&p.features.length>h,x=(0,W.useMemo)(()=>b?(0,G.jsx)(`div`,{className:A5.features,children:p.features.slice(h).map((e,t)=>v(e,t+h))}):null,[p.features,b]),S=()=>{i||r?.(t)},C=(0,G.jsxs)(`div`,{className:R(A5.card,{[A5.active]:n,[A5.disabled]:i,[A5.mostPopular]:g,[A5.supportClick]:c===void 0},o),onClick:S,children:[(0,G.jsxs)(`div`,{className:A5.content,children:[(0,G.jsxs)(`div`,{className:A5.header,lang:Es,children:[(0,G.jsx)(L,{variant:`h3Semibold`,children:m?f(`upgradeCTA:pricePlan.dedicatedEnterprise`):p.title}),l&&(0,G.jsx)(L,{variant:`body2Medium`,className:A5.currentText,children:f(`upgradeCTA:pricePlan.current`)}),g&&(0,G.jsx)(L,{variant:`body2Medium`,className:A5.popularText,children:f(`deployments:create.plan.popular`)})]}),(0,G.jsxs)(L,{variant:`body3Regular`,component:`div`,children:[p.description,d===`project`&&p.bestFor&&(0,G.jsx)(L,{variant:`body3Medium`,component:`div`,className:A5.bestFor,children:p.bestFor})]}),(0,G.jsxs)(`div`,{className:A5.features,children:[(y?p.features.slice(0,h):p.features).map((e,t)=>v(e,t)),b&&(0,G.jsxs)(`div`,{className:A5.moreFeaturesContainer,children:[(0,G.jsx)(Lr,{className:A5.startIcon}),(0,G.jsx)(z,{variant:`textBlack`,size:`xs`,className:A5.moreFeaturesButton,tooltip:{title:x,placement:`right`},withMargin:!1,children:f(`upgradeCTA:pricePlan.moreFeatures`)})]})]})]}),s&&(0,G.jsx)(L,{variant:`body3Medium`,children:s}),c&&(0,G.jsx)(z,{variant:`contained`,fullWidth:!0,...c,className:R(A5.actionButton,c.className)})]});return i&&a?(0,G.jsx)(Ca,{...a,children:C}):C},M5={link:`_link_1ttz1_3`,descWrapper:`_descWrapper_1ttz1_7`,rotate:`_rotate_1ttz1_1`},N5=e=>{let{className:t=``,showUpgradeText:n=!1}=e,{t:r}=_([`createProject`]),{contactSalesLink:i}=Pc();return(0,G.jsxs)(`div`,{className:M5.descWrapper,children:[n&&(0,G.jsx)(L,{variant:`body2Regular`,className:t,children:r(`createProject:upgradeText`)}),(0,G.jsx)(L,{variant:`body2Regular`,className:t,children:(0,G.jsx)(d,{t:r,i18nKey:`createProject:subtitle`,components:[(0,G.jsx)(`strong`,{}),(0,G.jsx)(`a`,{href:is,target:`_blank`,className:M5.link}),(0,G.jsx)(`a`,{href:i,target:`_blank`,className:M5.link})]})})]})},P5=[N.STANDARD,N.ENTERPRISE,N.BUSINESS_CRITICAL],F5=e=>{let{className:t}=e,{t:n}=_(`createProject`),{contactSalesLink:r}=Pc(),i=[n(`plans.byoc.features.deploy`),n(`plans.byoc.features.security`),n(`plans.byoc.features.experience`)];return(0,G.jsxs)(`div`,{className:R(k5.byocCard,t),children:[(0,G.jsx)(`div`,{className:k5.byocHeader,children:(0,G.jsx)(L,{variant:`h3Semibold`,children:n(`plans.byoc.title`)})}),(0,G.jsx)(L,{variant:`body3Regular`,className:k5.byocDescription,children:(0,G.jsx)(d,{i18nKey:`plans.byoc.description`,t:n,components:[(0,G.jsx)(`a`,{className:k5.link,href:r,target:`_blank`,rel:`noopener noreferrer`})]})}),(0,G.jsx)(`div`,{className:k5.byocFeatures,children:i.map((e,t)=>(0,G.jsxs)(`div`,{className:k5.byocFeature,children:[(0,G.jsx)(Sr,{size:16,className:k5.checkIcon}),(0,G.jsx)(L,{variant:`body3Regular`,className:k5.featureText,children:e})]},t))})]})},I5=()=>{let{t:e}=_([`billing`,`createProject`]),{contactSalesLink:t}=Pc(),{orgId:n=``}=l(),r=u(),{resetDialog:i}=re(),a=Ts?P5.filter(e=>e===N.ENTERPRISE):P5,o=t=>t===N.STANDARD?(0,G.jsxs)(`div`,{className:k5.pricingGroup,children:[(0,G.jsx)(L,{variant:`body3Medium`,children:e(`createProject:plans.standard.pricing.serverless`)}),(0,G.jsx)(L,{variant:`body3Medium`,children:e(`createProject:plans.standard.pricing.dedicated`)})]}):t===N.ENTERPRISE?(0,G.jsx)(L,{variant:`body3Medium`,className:k5.pricing,children:e(`createProject:plans.enterprise.pricing.from`)}
182):null,s=a=>a===N.BUSINESS_CRITICAL?{children:e(`createProject:buttons.contactUs`),onClick:()=>window.open(t,`_blank`),variant:`outlined`,endIcon:(0,G.jsx)(fa,{})}:{children:e(`createProject:buttons.create`),onClick:()=>{r(`/orgs/${n}/projects`),i()},variant:`contained`,className:k5.gradientButton};return(0,G.jsxs)(St,{title:e(`billing:comparePlans.action`),showActions:!1,classes:{content:k5.dialogContent},children:[(0,G.jsx)(N5,{className:k5.desc,showUpgradeText:!0}),(0,G.jsxs)(`div`,{className:k5.main,children:[a.map(e=>(0,G.jsx)(`div`,{className:k5.planWrapper,children:(0,G.jsx)(j5,{planType:e,isActive:e===N.ENTERPRISE,pricingText:o(e),actionBtnConfig:s(e),className:k5.planOption,showMostPopular:e===N.ENTERPRISE,level:`project`,disabled:e===N.BUSINESS_CRITICAL})},e)),Ts&&(0,G.jsx)(`div`,{className:k5.planWrapper,children:(0,G.jsx)(F5,{className:k5.byocCardInner})})]}),!Ts&&(0,G.jsx)(F5,{})]})},L5=B?`xl`:`large`,R5={root:`_root_f79jp_3`,content:`_content_f79jp_19`,statusWrapper:`_statusWrapper_f79jp_25`,statusTag:`_statusTag_f79jp_30`,statusTagEnded:`_statusTagEnded_f79jp_38`,statusIcon:`_statusIcon_f79jp_43`,statusIconEnded:`_statusIconEnded_f79jp_48`,statusText:`_statusText_f79jp_53`,statusTextEnded:`_statusTextEnded_f79jp_59`,message:`_message_f79jp_63`,compareLink:`_compareLink_f79jp_67`,upgradeButton:`_upgradeButton_f79jp_77`,upgradeButtonText:`_upgradeButtonText_f79jp_105`,rotate:`_rotate_f79jp_1`},dse=()=>{let{t:e}=_([`billing`]),{creditStatus:t,orgStatus:n}=Kt(),r=u(),{orgId:i}=l(),a=F(A),{canManageBillingAccess:o}=Yn(),s=()=>{a({open:!0,children:(0,G.jsx)(AC,{payMethodCardProps:{addCreditCardProps:{actionType:VS.Add}}})})},c=()=>{a({size:L5,open:!0,children:(0,G.jsx)(I5,{})})},d=()=>{if(o){s();return}r(`/orgs/${i}/members`)},{isTrialEnded:f,alertMessage:p,statusText:m}=(0,W.useMemo)(()=>{let n=t?._creditsRemainingDays||0,r=`${t?._currency||``}${t?._totalBalanceAmount||0}`,i=!!t?._sentRegisterCredit,a=!!t?._hasCredit;return i&&(!a||n<=0)?{isTrialEnded:!0,statusText:e(`billing:freeTrialAlert.statusEnded`),alertMessage:e(`billing:freeTrialAlert.messageEnded`)}:i?{isTrialEnded:!1,statusText:e(`billing:freeTrialAlert.status`),alertMessage:e(`billing:freeTrialAlert.message`,{days:n,credits:r})}:{isTrialEnded:!1,statusText:e(`billing:freeTrialAlert.freeForever`),alertMessage:e(`billing:freeTrialAlert.noRegisterCredits`)}},[t,n,e]);return(0,G.jsxs)(`div`,{className:R(R5.root,f&&R5.ended),children:[(0,G.jsxs)(`div`,{className:R5.content,children:[(0,G.jsx)(`div`,{className:R5.statusWrapper,children:(0,G.jsxs)(`div`,{className:R(R5.statusTag,f&&R5.statusTagEnded),children:[(0,G.jsx)(pr,{size:12,className:R(R5.statusIcon,f&&R5.statusIconEnded)}),(0,G.jsx)(L,{variant:`body3Regular`,className:R(f?R5.statusTextEnded:R5.statusText),children:m})]})}),(0,G.jsxs)(L,{variant:`body2Regular`,className:R5.message,children:[p,!f&&(0,G.jsx)(z,{className:R5.compareLink,onClick:c,variant:`textGhost`,withMargin:!1,children:(0,G.jsx)(L,{variant:`body2Regular`,children:e(`billing:comparePlans.action`)})})]})]}),(0,G.jsx)(z,{size:`small`,className:R5.upgradeButton,onClick:d,variant:`outlined`,children:(0,G.jsx)(L,{variant:`body3Medium`,className:R5.upgradeButtonText,children:e(`billing:freeTrialAlert.upgradeNow`)})})]})},z5={root:`_root_16jrt_3`,button:`_button_16jrt_11`,rootWarning:`_rootWarning_16jrt_22`,rotate:`_rotate_16jrt_1`},fse=()=>{let{t:e}=_([`usage`]),{alertConfig:t}=VC(),n=wa(),r=F(A),{orgId:i=``}=l();if(!t.open)return null;let a=t.severity===`warning`,o=a?n.yellow.yellow1:n.red.red1,s=()=>{switch(t.type){case BC.LicenseExpired:return e(`usage:alert.licenseExpired`);case BC.LicenseExpiring:return e(`usage:alert.licenseExpiring`,{days:t.daysUntilExpiry});case BC.CapacityExceeded:return e(`usage:alert.capacityExceeded`,{used:t.usedVCPU?.toLocaleString(),total:t.contractVCPU?.toLocaleString()});default:return``}},c=()=>{let n=t.type===BC.CapacityExceeded?e(`usage:ticket.expand.subject`):e(`usage:ticket.renew.subject`),a=t.type===BC.CapacityExceeded?e(`usage:ticket.expand.desc`,{orgId:i}):e(`usage:ticket.renew.desc`,{orgId:i});r({open:!0,size:`medium`,children:(0,G.jsx)(dY,{subject:n,desc:a})})};return(0,G.jsx)(ni,{severity:t.severity,classes:{root:R(z5.root,{[z5.rootWarning]:a})},action:{label:e(`usage:alert.contactSales`),onClick:c,buttonProps:{className:z5.button}},icon:(0,G.jsx)(Vi,{size:16}),children:(0,G.jsx)(L,{variant:`body2Regular`,color:o,children:s()})})},pse=()=>{let{unpaidInvoice:e,unconfirmedInvoice:t,orgStatus:n}=Kt(),{config:r}=PC(),{showAlert:i}=VC(),{orgId:a=``}=l(),o=e.id!==``,s=t.id!==``,c=!n?._hasPayMethod;return a?c?(0,G.jsx)(dse,{}):r.open?(0,G.jsx)(ase,{}):o?(0,G.jsx)(ose,{}):s?(0,G.jsx)(cse,{}):i?(0,G.jsx)(fse,{}):null:null},B5=()=>(0,G.jsx)(pse,{}),V5={getHelpButton:`_getHelpButton_18ic7_3`,activateButton:`_activateButton_18ic7_15`,customPopover:`_customPopover_18ic7_19`,helpCenterContainer:`_helpCenterContainer_18ic
1827_25`,askAiCard:`_askAiCard_18ic7_31`,askAiButton:`_askAiButton_18ic7_47`,supportOptionsList:`_supportOptionsList_18ic7_74`,supportOption:`_supportOption_18ic7_74`,supportOptionText:`_supportOptionText_18ic7_89`,optionIcon:`_optionIcon_18ic7_93`,supportOptionIcon:`_supportOptionIcon_18ic7_101`,externalLinkIcon:`_externalLinkIcon_18ic7_123`,rotate:`_rotate_18ic7_1`};function mse(){let{t:e}=_([`common`]),{isByocOrg:t}=Kt();return(0,G.jsx)(ma,{tooltip:{title:e(`common:layout.help.viewDocumentation`)},children:(0,G.jsx)(fr,{onClick:()=>{window.open(t?ko:_o,`_blank`)},size:`small`,className:V5.getHelpButton,children:(0,G.jsx)(Ra,{})})})}var hse=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 15 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{d:`M4 2.87333C4.29432 2.87333 4.557 3.0575 4.65762 3.33407L7.45762 11.0341L7.47881 11.1024C7.56586 11.4464 7.37987 11.807 7.03926 11.9309C6.6987 12.0548 6.32409 11.8983 6.16973 11.5789L6.14239 11.5126L5.60987 10.0483H2.39014L1.85762 11.5126C1.72546 11.8758 1.32403 12.063 0.960745 11.9309C0.597494 11.7988 0.410281 11.3974 0.542386 11.0341L3.34239 3.33407L3.3875 3.23495C3.50925 3.01442 3.74247 2.87333 4 2.87333ZM2.90762 8.62508L2.89942 8.64833H5.10059L5.09239 8.62508L4 5.62069L2.90762 8.62508Z`,fill:`white`}),(0,G.jsx)(`path`,{d:`M10.3 11.2733V9.17333C10.3 8.78673 10.6134 8.47333 11 8.47333C11.3866 8.47333 11.7 8.78673 11.7 9.17333V11.2733C11.7 11.6599 11.3866 11.9733 11 11.9733C10.6134 11.9733 10.3 11.6599 10.3 11.2733Z`,fill:`white`}),(0,G.jsx)(`path`,{d:`M10.6856 1.58702C10.795 1.33761 11.205 1.33761 11.3144 1.58702C11.5306 2.08014 11.8453 2.68386 12.2174 3.05593C12.5895 3.42801 13.1932 3.74275 13.6863 3.95895C13.9357 4.06829 13.9357 4.47835 13.6863 4.58769C13.1932 4.80389 12.5895 5.11864 12.2174 5.49072C11.8453 5.8628 11.5306 6.46652 11.3144 6.95964C11.205 7.20905 10.795 7.20905 10.6856 6.95964C10.4694 6.46652 10.1547 5.8628 9.78261 5.49072C9.41053 5.11864 8.80681 4.80389 8.31368 4.58769C8.06428 4.47835 8.06428 4.06829 8.31369 3.95895C8.80681 3.74275 9.41053 3.42801 9.78261 3.05593C10.1547 2.68386 10.4694 2.08014 10.6856 1.58702Z`,fill:`white`})]}),H5=Nn([vn(`technical_issue`).describe(` 183 The user is reporting a bug, error, crash, timeout, or unexpected system behavior. 184 Examples: 185 ⢠"I'm getting error code 1807" 186 ⢠"recvmsg:Operation timed out" 187 ⢠"My cluster is stuck resuming" 188 ⢠"The API crashes when I call it" 189 ⢠"Token doesnât work with MilvusClient" 190 ⢠"Why does search return inconsistent results?" 191 ⢠"max_capacity for array field?" 192 ⢠"Quota exceeded error" 193 ⢠"Illegal connection params" 194 `),vn(`configuration_or_schema_question`).describe(` 195 The user is asking about schema definitions, metadata usage, indexing, or general setup issues. 196 Examples: 197 ⢠"How do I remove a field?" 198 ⢠"Can I update just metadata?" 199 ⢠"Which index should I use for 6M vectors?" 200 ⢠"How to exclude the query vector from results?" 201 ⢠"How to set default = null?" 202 ⢠"Do I need to specify vector dim when using AUTOINDEX?" 203 `),vn(`auth_or_access_issue`).describe(` 204 The user is confused about authentication, tokens, permissions, or access control. 205 Examples: 206 ⢠"What's the difference between API key and cluster token?" 207 ⢠"I have admin access but still get denied" 208 ⢠"Is my IP whitelisted?" 209 ⢠"How do I access the database securely from Python?" 210 `),vn(`product_capability_question`).describe(` 211 The user is asking about supported features, regions, performance limits, or deployment options. 212 Examples: 213 ⢠"Do you support SQL?" 214 ⢠"Is BYOK available?" 215 ⢠"Is UK Azure supported?" 216 ⢠"Can 100 users search at once?" 217 ⢠"Can I deploy this on-prem?" 218 ⢠"Whatâs the difference between Knowhere and Cardinal?" 219 `),vn(`data_ops_or_migration`).describe(` 220 The user is asking about data import/export, ETL, or migration from another system. 221 Examples: 222 ⢠"How easy is it to migrate from Mongo?" 223 ⢠"Import keeps failing" 224 ⢠"Do you support Pinecone migration?" 225 ⢠"What's the fastest way to upsert metadata?" 226 `),vn(`ai_low_confidence_or_docs_missing`).describe(` 227 The AI assistant was unable to provide a confident or complete answer due to vague input or lack of documentation. 228 Examples: 229 ⢠"I'm not sure" 230 ⢠"There is no documented API for this" 231 ⢠"Documentation doesn't cover this" 232 ⢠"Can you check this?" 233 ⢠"Why doesn't it work?" 234 `),vn(`direct_support_request`).describe(` 235 The user is explicitly requesting to contact support or asking for human assistance. 236 Examples: 237 ⢠"Can I talk to support?" 238 ⢠"I need help" 239 ⢠"Is there someone I can speak to?" 240 ⢠"This is urgent, please escalate"
241 ⢠"How do I open a support ticket?" 242`)]).describe(`General type of support signal detected in the user's message.`),gse=_n({explanation:bn().describe(`Short justification for why this is a support-related message.`),type:H5}),U5=Nn([vn(`requested_sales_contact`).describe(` 243 The user has explicitly asked to speak with a sales representative or sales team. 244 245 Examples: 246 ⢠"Can I talk to someone from sales?" 247 ⢠"How do I contact your sales team?" 248 ⢠"I'd like to schedule a call with a sales rep" 249 ⢠"Is there someone I can talk to about purchasing?" 250 `),vn(`pricing_inquiry`).describe(` 251 The user has asked about pricing, costs, billing, or payment options. 252 253 Examples: 254 ⢠"How much does this service cost?" 255 ⢠"What's the pricing for the enterprise plan?" 256 ⢠"Do you offer annual billing discounts?" 257 ⢠"What would it cost for our team of 50 people?" 258 `),vn(`enterprise_features`).describe(` 259 The user has inquired about enterprise-specific features, capabilities, or requirements. 260 261 Examples: 262 ⢠"Do you support SSO integration?" 263 ⢠"What security certifications do you have?" 264 ⢠"Is there an on-premise deployment option?" 265 ⢠"Do you have custom SLAs for enterprise customers?" 266 `),vn(`upgrade_inquiry`).describe(` 267 The user has asked about upgrading their current plan or moving to a higher tier. 268 269 Examples: 270 ⢠"How do I upgrade to the Pro plan?" 271 ⢠"What's involved in moving from Basic to Enterprise?" 272 ⢠"I'm hitting limits on my current plan and need to upgrade" 273 ⢠"What additional features do I get if I upgrade?" 274 `),vn(`implementation_services`).describe(` 275 The user has asked about professional services, implementation support, or consulting. 276 277 Examples: 278 ⢠"Do you offer implementation services?" 279 ⢠"Can you help us migrate our data?" 280 ⢠"Do you have consultants who can help us set this up?" 281 ⢠"What kind of onboarding support do you provide?" 282 `),vn(`comparison_competitive`).describe(` 283 The user is comparing the product with competitors or alternatives. 284 285 Examples: 286 ⢠"How do you compare to [Competitor]?" 287 ⢠"What makes your solution better than [Alternative]?" 288 ⢠"Why should we choose you instead of [Competitor]?" 289 ⢠"What's your advantage over other solutions?" 290 `),vn(`trial_demo_request`).describe(` 291 The user has requested a product demo or trial. 292 293 Examples: 294 ⢠"Can I get a demo of your product?" 295 ⢠"How do I sign up for a trial?" 296 ⢠"I'd like to see the product in action" 297 ⢠"Do you offer proof of concept engagements?" 298 `)]).describe(`Specific type of sales signal detected in the user's question`),_se=_n({explanation:bn().describe(`A brief few word justification of why a specific sales signal was chosen.`),type:U5}),vse=`#6066FD`,yse=U5.options.map(e=>e.value),bse=H5.options.map(e=>e.value),xse=({isOpen:e,onOpenChange:t,onSupportClick:n,user:r,contactSalesLink:i})=>{let{t:a}=_(`common`);return(0,W.useMemo)(()=>({defaultView:`chat`,tabs:[`chat`],baseSettings:{apiKey:`e7ab492fbced98d1d790e708dee3acfbea5dd7e8d25242a4`,primaryBrandColor:vse,theme:{styles:[{key:`custom-styles`,type:`link`,value:`/styles/inkeep.css`}]},userProperties:{email:r.email,name:r.name,id:r.id,orgId:r.orgId}},aiChatSettings:{toolbarButtonLabels:{getHelp:a(`layout.inkeep.getHelp`),clear:a(`layout.inkeep.clear`),stop:a(`layout.inkeep.stop`)},aiAssistantName:a(`layout.inkeep.name`),chatSubjectName:`Zilliz Cloud`,introMessage:a(`layout.inkeep.intro`,{user:r.name}),getHelpOptions:[{name:a(`layout.inkeep.support`),action:{type:`invoke_callback`,callback:n,shouldCloseModal:!0},isPinnedToToolbar:!0},{name:a(`layout.inkeep.contact`),action:{type:`open_link`,url:i},isPinnedToToolbar:!0}],exampleQuestionsLabel:``,exampleQuestions:[a(`layout.inkeep.q1`),a(`layout.inkeep.q2`),a(`layout.inkeep.q3`),a(`layout.inkeep.q4`),a(`layout.inkeep.q5`)],aiAssistantAvatar:`https://assets.zilliz.com/cloud_ai_assistance_avatar_d9eb0d7763.svg`,placeholder:a(`layout.inkeep.placeholder`),getTools:()=>[{type:`function`,function:{name:`detectSupportSignal`,description:`Detect whether the user is requesting technical support or reporting an issue.`,parameters:gse.toJSONSchema()},renderMessageButtons:({args:e})=>e.type&&bse.includes(e.type)?[{label:a(`layout.inkeep.support`),action:{type:`invoke_callback`,callback:({conversation:e})=>{n()},shouldCloseModal:!0}}]:[]},{type:`function`,function:{name:`detectSalesSignal`,description:`Identify when users express interest in potentially purchasing a product.`,parameters:_se.toJSONSchema()},renderMessageButtons:({args:e})=>e.type&&yse.includes(e.type)?[{label:a(`layout.inkeep.talkToSales`),icon:{custom:`https://assets.zilliz.com/arrow_right_up_196c5a22eb.svg`},action:{type:`open_link`,url:i}}]:[]}]},modalSettings:{isOpen:e,onOpenChange:t}}),[e,t,n,a,r])},Sse=WD(()=>b(()=>import(`./dist-DuSNQDyp.js`).then(e=>({default:e.InkeepModalSearchAndChat})),__vite__mapDeps([364,1,2,4,5,6,27])),`inkeep-modal`);function Cse(){let{t:e}=_([`common`]),{orgId:t=``}=l(),{contactSalesLink:n,profile:{_email:r,_userId:i,_fullName:a}}=Pc(),{setDialog:o}=re(),[s,c]=(0,W.useState)(null),[u,d]=(0,W.useState)(!1),[f,p]=(0,W.useState)(!1),m=e=>{c(s?null:e.currentTarget)},{inkeepStatus:h,handleInkeepStatusChange:g}=LY();(0,W.useEffect)(()=>{h.isOpen&&p(!0)},[h.isOpen]);let v=e=>{g(e),c(null)},y=()=>{c(null),o({open:!0,size:`medium`,children:(0,G.jsx)(dY,{})})},b=xse({isOpen:h.isOpen,onOpenChange:v,onSupportClick:y,user:{email:r,name:a,id:i,orgId:t},contactSalesLink:(e=>e.replace(`contact_sales_traffic_source=cloud`,`contact_sales_traffic_source=cloudBot`))(n)}),x=!!s,S=()=>{c(null),window.open(Lo,`_blank`)},C=()=>{c(null),window.open(Po,`_blank`)},w=()=>{c(null),o({open:!0,size:L5,children:(0,G.jsx)(I5,{})})},T=e=>{d(e)};return(0,G.jsxs)(`div`,{children:[(0,G.jsx)(ma,{tooltip:{title:e(`common:layout.help.getHelp`),onOpen:()=>{T(!0)},onClose:()=>{T(!1)}},children:(0,G.jsx)(fr,{onClick:m,size:`small`,className:R(V5.getHelpButton,{[V5.activateButton]:u||x}),children:(0,G.jsx)(ti,{})})}),(0,G.jsx)(Ui,{open:x,anchorEl:s,onClose:()=>{c(null)},id:`header-help-center-popper`,classes:{paper:V5.customPopover},children:(0,G.jsxs)(`div`,{className:V5.helpCenterContainer,children:[(0,G.jsxs)(`div`,{className:V5.askAiCard,children:[(0,G.jsx)(L,{variant:`body2Medium`,component:`p`,children:e(`common:layout.help.askAi.title`)}),(0,G.jsxs)(z,{variant:`contained`,onClick:()=>{v(!0)},className:V5.askAiButton,fullWidth:!0,children:[(0,G.jsx)(hse,{}),e(`common:layout.help.askAi.button`)]})]}),(0,G.jsxs)(`div`,{className:V5.supportOptionsList,children:[(0,G.jsxs)(`div`,{className:V5.supportOption,onClick:y,role:`button`,tabIndex:0,children:[(0,G.jsx)(`div`,{className:V5.supportOptionIcon,children:(0,G.jsx)(ki,{className:V5.optionIcon})}),(0,G.jsx)(L,{variant:`body1Regular`,className:V5.supportOptionText,children:e(`common:layout.help.submitSupportTicket`)})]}),(0,G.jsxs)(`div`,{className:V5.supportOption,onClick:S,role:`button`,tabIndex:0,children:[(0,G.jsx)(`div`,{className:V5.supportOptionIcon,children:(0,G.jsx)(pr,{className:V5.optionIcon})}),(0,G.jsx)(L,{variant:`body1Regular`,className:V5.supportOptionText,children:e(`common:layout.help.viewSupportHistory`)}),(0,G.jsx)(`div`,{className:V5.externalLinkIcon,children:(0,G.jsx)(fa,{})})]}),B&&(0,G.jsxs)(`div`,{className:V5.supportOption,onClick:C,role:`button`,tabIndex:0,"data-testid":`help-center-option-slack`,children:[(0,G.jsx)(`div`,{className:V5.supportOptionIcon,children:(0,G.jsx)(jr,{className:V5.optionIcon})}),(0,G.jsx)(L,{variant:`body1Regular`,className:V5.supportOptionText,children:e(`common:layout.help.joinSlack`)}),(0,G.jsx)(`div`,{className:V5.externalLinkIcon,children:(0,G.jsx)(fa,{})})]}),(0,G.jsxs)(`div`,{className:V5.supportOption,onClick:w,role:`button`,tabIndex:0,children:[(0,G.jsx)(`div`,{className:V5.supportOptionIcon,children:(0,G.jsx)(ui,{className:V5.optionIcon})}),(0,G.jsx)(L,{variant:`body1Regular`,className:V5.supportOptionText,children:e(`common:layout.help.viewPricingPlan`)})]})]})]})}),f&&(0,G.jsx)(W.Suspense,{fallback:null,children:(0,G.jsx)(Sse,{...b})})]})}var W5=()=>{let{t:e}=_(`createProject`);return{getPlanDisplayText:t=>{switch(t){case N.STANDARD:return e(`plans.standard.title`);case N.ENTERPRISE:return e(`plans.enterprise.title`);case N.BUSINESS_CRITICAL:return e(`plans.businessCritical.title`);case N.BYOC:return e(`plans.byoc.title`);default:return`--`}}}},G5={content:`_content_1gh4v_3`,upgradeBtn:`_upgradeBtn_1gh4v_11`,rotate:`_rotate_1gh4v_1`},K5={planSelection:`_planSelection_1o9p9_3`,planCards:`_planCards_1o9p9_9`,planCard:`_planCard_1o9p9_9`,selected:`_selected_1o9p9_34`,current:`_current_1o9p9_40`,disabled:`_disabled_1o9p9_44`,enterpriseWrapper:`_enterpriseWrapper_1o9p9_59`,enterpriseBadge:`_enterpriseBadge_1o9p9_64`,badgeText:`_badgeText_1o9p9_84`,planContent:`_planContent_1o9p9_91`,currentLabel:`_currentLabel_1o9p9_96`,planInfo:`_planInfo_1o9p9_101`,planIcon:`_planIcon_1o9p9_107`,planDetailsContainer:`_planDetailsContainer_1o9p9_112`,arrowstandard:`_arrowstandard_1o9p9_137`,arrowenterprise:`_arrowenterprise_1o9p9_141`,arrowbusinessCritical:`_arrowbusinessCritical_1o9p9_145`,arrowbyoc:`_arrowbyoc_1o9p9_149`,upgradeProjectAndCluster:`_upgradeProjectAndCluster_1o9p9_154`,planDetails:`_planDetails_1o9p9_112`,planDescription:`_planDescription_1o9p9_171`,bestForText:`_bestForText_1o9p9_175`,featuresList:`_featuresList_1o9p9_180`,featureItem:`_featureItem_1o9p9_186`,featureText:`_featureText_1o9p9_190`,checkIcon:`_checkIcon_1o9p9_195`,pricingContainer:`_pricingContainer_1o9p9_201`,priceAmount:`_priceAmount_1o9p9_208`,link:`_link_1o9p9_212`,rotate:`_rotate_1o9p9_1`};function q5(e){let{selectedPlan:t,onPlanChange:n,showPlanDetails:r=!0,className:i,mode:a=`create`,currentPlan:o,targetPlan:s,badgeStyle:c=`legacy`,classes:l}=e,{t:u}=_([`createProject`,`upgradeCTA`,`project`,`common`]),f=[{type:N.STANDARD,title:u(`createProject:plans.standard.title`),icon:(0,G.jsx)(Rr,{}),hide:Ts},{type:N.ENTERPRISE,title:u(`createProject:plans.enterprise.title`),badge:u(`createProject:plans.enterprise.badge`),icon:(0,G.jsx)(wi,{})}
298,{type:N.BUSINESS_CRITICAL,title:u(`createProject:plans.businessCritical.title`),icon:(0,G.jsx)(yr,{}),hide:Ts||a===`upgradeProjectAndCluster`},{type:N.BYOC,title:u(`createProject:plans.byoc.title`),icon:(0,G.jsx)(Zr,{}),hide:a===`upgradeProjectAndCluster`}].filter(e=>e.hide!==!0).filter(e=>a===`upgrade`&&s&&o?e.type===o||e.type===s:!0).map(e=>(delete e.hide,e)),p=e=>e===N.BUSINESS_CRITICAL?`businessCritical`:e.toLowerCase(),m=(0,W.useMemo)(()=>{let e=p(t),n={description:(0,G.jsx)(d,{t:u,i18nKey:`createProject:plans.${p(t)}.description`,components:[(0,G.jsx)(`a`,{href:$o,target:`_blank`,className:K5.link})]}),bestFor:(0,G.jsx)(d,{t:u,i18nKey:`createProject:plans.${e}.bestFor`,components:[(0,G.jsx)(`strong`,{})]}),pricing:null,features:[]};t===N.ENTERPRISE?n.pricing={from:u(`createProject:plans.${e}.pricing.from`)}:t===N.STANDARD&&(n.pricing={dedicated:u(`createProject:plans.${e}.pricing.dedicated`),serverless:u(`createProject:plans.${e}.pricing.serverless`)});try{let t=u(`createProject:plans.${e}.features`,{returnObjects:!0});t&&typeof t==`object`&&(n.features=Object.entries(t).filter(([e,t])=>t).map(([e,t])=>({key:e,value:t})))}catch{console.warn(`Failed to load features for plan:`,e),n.features=[]}return n},[t,u]),h=e=>{if(a!==`create`&&o){let t=[N.STANDARD,N.ENTERPRISE,N.BUSINESS_CRITICAL,N.BYOC],n=t.indexOf(o);if(t.indexOf(e)<=n)return}n(e)},g=e=>{if(a===`upgrade`&&o){let t=[N.STANDARD,N.ENTERPRISE,N.BUSINESS_CRITICAL,N.BYOC],n=t.indexOf(o);return t.indexOf(e)<=n}return!1},v=(e,n)=>(0,G.jsxs)(`div`,{className:K5.featureItem,children:[(0,G.jsx)(Sr,{className:K5.checkIcon}),(0,G.jsx)(L,{variant:`body3Regular`,className:K5.featureText,children:(0,G.jsx)(d,{t:u,i18nKey:`createProject:plans.${p(t)}.features.${e.key}`,components:[(0,G.jsx)(`a`,{href:So,target:`_blank`,className:K5.link})]})})]},n),y=e=>(0,G.jsx)(L,{variant:`body3Medium`,className:K5.priceAmount,children:e}),b=(e,n=!1)=>(0,G.jsx)(`div`,{className:R(K5.planCard,l?.planCard,t===e.type&&K5.selected,o===e.type&&K5.current,g(e.type)&&K5.disabled),onClick:()=>h(e.type),children:(0,G.jsxs)(`div`,{className:K5.planContent,children:[(0,G.jsxs)(`div`,{className:K5.planInfo,children:[(0,G.jsx)(`div`,{className:K5.planIcon,children:e.icon}),(0,G.jsx)(L,{variant:`h4Semibold`,children:e.title})]}),o===e.type&&(0,G.jsx)(L,{variant:`body2Medium`,className:K5.currentLabel,children:u(`upgradeCTA:pricePlan.current`)}),c===`text`&&e.type===N.ENTERPRISE&&(0,G.jsx)(L,{variant:`body3Medium`,className:R(K5.badgeText,l?.badgeText),children:e.badge})]})},n?e.type:void 0),x=e=>{if(e.type===N.ENTERPRISE){let t=c===`legacy`&&!(a===`upgrade`&&s);return(0,G.jsxs)(`div`,{className:K5.enterpriseWrapper,children:[t&&(0,G.jsx)(`div`,{className:K5.enterpriseBadge,children:(0,G.jsx)(L,{variant:`body4Regular`,className:K5.badgeText,children:e.badge})}),b(e)]},e.type)}return b(e,!0)};return(0,G.jsxs)(`div`,{className:R(K5.planSelection,i,{[K5.upgradeProjectAndCluster]:a===`upgradeProjectAndCluster`}),children:[(0,G.jsx)(`div`,{className:R(K5.planCards,l?.planCards),children:f.map(e=>x(e))}),r&&(0,G.jsx)(`div`,{className:R(K5.planDetailsContainer,l?.planDetailsContainer,K5[`arrow${p(t)}`]),children:(0,G.jsxs)(`div`,{className:R(K5.planDetails,l?.planDetails),children:[(0,G.jsxs)(`div`,{className:K5.planDescription,children:[(0,G.jsxs)(L,{variant:`body3Regular`,component:`div`,children:[m.description,(0,G.jsx)(L,{variant:Ts?`body3Regular`:`body3Medium`,component:`span`,className:K5.bestForText,children:m.bestFor||``})]}),(0,G.jsx)(`div`,{className:R(K5.featuresList,l?.featuresList),children:m.features.map(v)})]}),m.pricing&&(0,G.jsx)(`div`,{className:K5.pricingContainer,children:t===N.ENTERPRISE?y(m.pricing.from):t===N.STANDARD&&(0,G.jsxs)(G.Fragment,{children:[y(m.pricing.dedicated),y(m.pricing.serverless)]})})]})})]})}var J5={successDialogContainer:`_successDialogContainer_192jv_3`,headerSection:`_headerSection_192jv_9`,upgradeLabel:`_upgradeLabel_192jv_25`,upgradeLabelText:`_upgradeLabelText_192jv_35`,mainTitle:`_mainTitle_192jv_42`,bottomGradient:`_bottomGradient_192jv_48`,contentSection:`_contentSection_192jv_59`,featuresSection:`_featuresSection_192jv_69`,planTitle:`_planTitle_192jv_77`,featuresList:`_featuresList_192jv_84`,featureItem:`_featureItem_192jv_91`,checkIconWrapper:`_checkIconWrapper_192jv_99`,checkIcon:`_checkIcon_192jv_99`,link:`_link_192jv_112`,rotate:`_rotate_192jv_1`};function Y5(e){let{instanceType:t,projectPlan:n,dialogType:r=`common`}=e,{t:i}=_([`upgradeCTA`,`common`,`createProject`]),[a,o]=Lt(r===`common`?A:Fe),s=(0,W.useMemo)(()=>
298{if(n===N.BUSINESS_CRITICAL)return[i(`createProject:plans.businessCritical.features.globalCluster`),i(`createProject:plans.businessCritical.features.advancedSecurity`),i(`createProject:plans.businessCritical.features.hipaa`),(0,G.jsx)(d,{i18nKey:`createProject:plans.businessCritical.features.prioritySupport`,t:i,components:[(0,G.jsx)(`a`,{href:$o,target:`_blank`,className:J5.link})]}),i(`upgradeCTA:pricePlan.muchMore`)];if(n===N.ENTERPRISE)return[i(`upgradeCTA:projectPlan.enterprise.features.feature1`),i(`upgradeCTA:projectPlan.enterprise.features.feature2`),i(`upgradeCTA:projectPlan.enterprise.features.feature3`),i(`upgradeCTA:projectPlan.enterprise.features.feature4`),i(`upgradeCTA:projectPlan.enterprise.features.feature5`),i(`upgradeCTA:pricePlan.muchMore`)];switch(t){case Hs.Serverless:return[i(`upgradeCTA:pricePlan.serverless.features.feature1`),i(`upgradeCTA:pricePlan.serverless.features.feature2`),i(`upgradeCTA:pricePlan.serverless.features.feature3`)];default:return[i(`upgradeCTA:pricePlan.enterprise.features.feature1`),i(`upgradeCTA:pricePlan.enterprise.features.feature2`),i(`upgradeCTA:pricePlan.enterprise.features.feature3`),i(`upgradeCTA:pricePlan.enterprise.features.feature4`),i(`upgradeCTA:pricePlan.muchMore`)]}},[t,n,i]);return(0,G.jsxs)(`div`,{className:J5.successDialogContainer,children:[(0,G.jsxs)(`div`,{className:J5.headerSection,children:[(0,G.jsx)(`div`,{className:J5.upgradeLabel,children:(0,G.jsxs)(L,{variant:`body2Medium`,className:J5.upgradeLabelText,children:[`ð `,i(`upgradeCTA:success.upgradeCompleted`)]})}),(0,G.jsx)(L,{variant:`h3Semibold`,className:J5.mainTitle,children:i(`upgradeCTA:success.unlockedFeatures`)})]}),(0,G.jsxs)(`div`,{className:J5.contentSection,children:[(0,G.jsxs)(`div`,{className:J5.featuresSection,children:[n&&(0,G.jsx)(L,{variant:`body3Regular`,className:J5.planTitle,children:n===N.BUSINESS_CRITICAL?i(`createProject:plans.businessCritical.description`):i(`upgradeCTA:projectPlan.enterprise.title`)}),(0,G.jsx)(`div`,{className:J5.featuresList,children:s.map((e,t)=>(0,G.jsxs)(`div`,{className:J5.featureItem,children:[(0,G.jsx)(`div`,{className:J5.checkIconWrapper,children:(0,G.jsx)(Sr,{className:J5.checkIcon})}),(0,G.jsx)(L,{variant:`body3Regular`,className:J5.featureText,children:e})]},t))})]}),(0,G.jsx)(z,{variant:`outlined`,fullWidth:!0,onClick:()=>{o({...a,open:!1})},children:i(`upgradeCTA:success.exploreNow`)})]})]})}var X5=e=>new Promise(t=>setTimeout(t,e)),Z5=()=>{let[e,t]=ou([Gs.BusinessCritical,Gs.LakebaseMultiRegion]);return{hasBusinessCriticalAccess:e,hasLakebaseMultiRegionAccess:t,shouldContactUs:t=>t===N.BUSINESS_CRITICAL&&!e}},wse=3,Tse=50,Ese=new Set([to.Standard,to.Enterprise]),Dse=e=>{switch(e){case N.STANDARD:return to.Standard;case N.ENTERPRISE:return to.Enterprise;case N.BUSINESS_CRITICAL:return to.BusinessCritical;default:return null}};function Q5(e){let{currentPlan:t,targetPlan:n,dialogType:r=`common`}=e,{projectId:i=``}=l(),a=e.projectId||i,{t:o}=_([`upgradeCTA`,`createProject`,`project`,`common`]),[s,c]=(0,W.useState)(!1),[u,d]=(0,W.useState)(n||(t===N.STANDARD?N.ENTERPRISE:N.BUSINESS_CRITICAL)),f=F(r===`common`?A:Fe),{clusterList:p,fetchClusterList:m}=Fn(),{fetchProjectList:h}=C(),{shouldContactUs:g}=Z5(),v=async e=>{if(e.size===0)return;let t=t=>{if(!t||!t.length)return!0;let n=new Set(e.keys());return t.forEach(t=>{let r=e.get(t._instanceId);r!==void 0&&t._plan===r&&n.delete(t._instanceId)}),n.size>0},n=()=>m(a),r=await n();if(!t(r))return;let i=Tse;for(let e=0;e<wse&&(await X5(i),r=await n(),t(r));e+=1)i*=2},y=e=>e===null?new Map:new Map(p.filter(t=>Ese.has(t._plan)&&t._plan!==e).map(t=>[t._instanceId,e])),b=async e=>{c(!0);let t=Dse(u),n=y(t);try{await jt.upgradeProject(a,u),await h(),f({open:!0,size:`small`,children:(0,G.jsx)(Y5,{projectPlan:u,dialogType:r})}),v(n).catch(()=>void 0)}finally{c(!1)}},x=u===N.BYOC||g(u);return(0,G.jsxs)(sc,{title:o(`createProject:upgradeTitle`),type:j.Form,classes:{root:G5.dialogRoot,content:G5.content},showActions:!1,children:[(0,G.jsx)(N5,{showUpgradeText:!0}),(0,G.jsx)(q5,{selectedPlan:u,onPlanChange:d,mode:`upgrade`,currentPlan:t,targetPlan:n}),x?(0,G.jsx)(yC,{variant:`outlined`,size:`medium`}):(0,G.jsx)(z,{onClick:b,loading:s,className:G5.upgradeBtn,variant:`contained`,children:o(`common:button.upgrade`)})]})}var $5={root:`_root_69xyg_3`,projectsLink:`_projectsLink_69xyg_11`,breadcrumbSeparator:`_breadcrumbSeparator_69xyg_27`,trigger:`_trigger_69xyg_32`,open:`_open_69xyg_46`,iconWrapper:`_iconWrapper_69xyg_51`,icon:`_icon_69xyg_51`,switch:`_switch_69xyg_64`,name:`_name_69xyg_68`,plan:`_plan_69xyg_75`,menu:`_menu_69xyg_113`,menuList:`_menuList_69xyg_119`,searchWra
298pper:`_searchWrapper_69xyg_124`,options:`_options_69xyg_129`,item:`_item_69xyg_134`,active:`_active_69xyg_146`,itemName:`_itemName_69xyg_149`,noResult:`_noResult_69xyg_164`,upgrade:`_upgrade_69xyg_171`,viewAllItem:`_viewAllItem_69xyg_180`,rotate:`_rotate_69xyg_1`},Ose=new Set([`/${Yx.databases}`,`/${Yx.dataPlanes}`,`/${Yx.onDemand}`,`/${Yx.onDemandQuickStart}`,`/${Yx.onDemandClusters}`,`/${Yx.onDemandDatabases}`,`/${Yx.stages}`,`/${Yx.backups}`,`/${Yx.migrations}`,`/${Yx.network}`,`/${Yx.privateLink}`,`/${Yx.cmek}`,`/${Yx.projectUsers}`,`/project-roles`,`/${Yx.alert}/history`,`/${Yx.alert}/setting`,`/${Yx.playground}`,`/${Yx.jobs}`,`/${Yx.integrations}`,`/${Yx.settings}`]),kse=({pathname:e,search:t,hash:n,orgId:r,currentProjectId:i,nextProjectId:a})=>{let o=`/orgs/${r}/projects/${i}`,s=e===o||e.startsWith(`${o}/`)?e.slice(o.length).replace(/\/$/,``):``;return`/orgs/${r}/projects/${a}${Ose.has(s)?`${s}${t}${n}`:`/${Yx.databases}`}`},Ase=()=>{let e=u(),t=p(),{orgId:n=``,projectId:r=``}=l(),{t:i}=_([`navigation`,`common`]),{activeProjectPlan:a,projectList:o}=C(),s=$e(qe),{isByocOrg:c}=Kt(),{getPlanDisplayText:d}=W5(),f=F(A),[m,h]=(0,W.useState)(null),[g,v]=(0,W.useState)(``),y=!!m,b=(0,W.useMemo)(()=>o.find(e=>e._projectId===r),[r,o]),x=b?._projectName||s.name,S=b?._projectPlan??a,w=S==null?``:d(S),T=(S===N.STANDARD||S===N.ENTERPRISE&&B)&&!c,E=(0,W.useMemo)(()=>{let e=g.trim().toLowerCase();return o.map(e=>({id:e._projectId,label:e._projectName,planDisplayText:e._projectPlan==null?``:d(e._projectPlan)})).filter(t=>e?t.label.toLowerCase().includes(e):!0)},[d,o,g]),D=()=>{h(null),v(``)},O=i=>{D(),e(kse({pathname:t.pathname,search:t.search,hash:t.hash,orgId:n,currentProjectId:r,nextProjectId:i}))},k=()=>{D(),f({open:!0,children:(0,G.jsx)(Q5,{currentPlan:S}),size:`large`})};return!r||!x?null:(0,G.jsxs)(`div`,{className:$5.root,children:[(0,G.jsx)(`button`,{type:`button`,className:$5.projectsLink,onClick:()=>e(`/orgs/${n}/projects`),"data-testid":`header-project-list-link`,children:(0,G.jsx)(L,{variant:`body2Medium`,children:i(`navigation:projectSelector.projects`)})}),(0,G.jsx)(La,{size:14,className:$5.breadcrumbSeparator,"aria-hidden":`true`}),(0,G.jsxs)(`button`,{type:`button`,className:R($5.trigger,{[$5.open]:y}),onClick:e=>h(e.currentTarget),title:i(`navigation:projectSelector.switch`),"data-testid":`header-project-selector`,children:[(0,G.jsx)(`span`,{className:$5.iconWrapper,children:(0,G.jsx)(Gr,{className:$5.icon})}),(0,G.jsx)(L,{variant:`body1Medium`,className:$5.name,children:x}),w&&(0,G.jsx)(br,{label:w,size:`small`,variant:`outlined`,className:$5.plan}),(0,G.jsx)(ri,{className:$5.switch})]}),(0,G.jsxs)(mr,{anchorEl:m,open:y,onClose:D,MenuListProps:{role:`listbox`},classes:{paper:$5.menu,list:$5.menuList},anchorOrigin:{vertical:`bottom`,horizontal:`left`},transformOrigin:{vertical:`top`,horizontal:`left`},children:[(0,G.jsx)(`div`,{className:$5.searchWrapper,onKeyDown:e=>e.stopPropagation(),children:(0,G.jsx)(mi,{value:g,onChange:e=>v(e.target.value),placeholder:i(`navigation:projectSelector.search`),prefixComponent:(0,G.jsx)(aee,{size:14}),size:`small`,autoComplete:`off`,"data-testid":`header-project-search`})}),(0,G.jsx)(`div`,{className:$5.options,children:E.length>0?E.map(e=>(0,G.jsxs)(ii,{disableRipple:!0,onClick:()=>O(e.id),className:R($5.item,{[$5.active]:e.id===r}),"data-testid":`header-project-option-${e.id}`,children:[(0,G.jsx)(L,{variant:`body2Regular`,className:$5.itemName,children:e.label}),e.planDisplayText&&(0,G.jsx)(br,{label:e.planDisplayText,size:`small`,variant:`outlined`})]},e.id)):(0,G.jsx)(L,{variant:`body2Regular`,className:$5.noResult,children:i(`navigation:projectSelector.noResult`)})}),T&&(0,G.jsx)(`div`,{className:$5.upgrade,children:(0,G.jsx)(z,{variant:`textGhost`,size:`small`,startIcon:(0,G.jsx)(_a,{}),onClick:k,"data-testid":`header-project-upgrade`,children:i(`navigation:projectSelector.upgrade`)})}),(0,G.jsx)(ii,{disableRipple:!0,onClick:()=>{D(),e(`/orgs/${n}/projects`)},className:$5.viewAllItem,"data-testid":`header-project-view-all`,children:(0,G.jsx)(L,{variant:`h4Medium`,component:`p`,children:i(`common:project.viewAll`)})})]})]})},jse=`/orgs/no-access`,Mse=()=>{let{orgId:e=``,projectId:t=``}=l(),n=u(),r=p(),{t:i}=_([`common`,`organization`]),{removeUser:a}=Y6(),{storedValue:o}=k(Ge.TOKEN,``),[s,c]=(0,W.useState)(!1),{supportSubscriptionPlan:d}=E5(),{isByocOrg:f,organizationList:m,orgStatus:h}=Kt(),{isByocIMode:g,byocInfo:v}=dc(),{myOrgPermission:y,canViewBillingAccess:b}=Yn(),{visible:x}=TS(),{isAllowOperation:S}=Yn(un.Billing),{hasBillingEntryAccess:C}=MC(),w=(0,W.useMemo)(()=>{let e=r.pathname;return![Yx.orgList,jse].includes(e)},[r.pathname]),T=async()=>{try{c(!0),o&&await n8.logout(o)}finally{c(!1),a(),n(`/login`)}},E=()=>C?b:!1,D=()=>f?y[un.Usage].includes(Le.View):!1,O=()=>`/orgs/${e}/billing`,{headerLinks:A}=(0,W.useMemo)(()=>{let t=e||m[0]?._orgId;return{headerLinks:[{label:i(`common:orgNav.license`),href:`/orgs/${t}/contract-usage`,hide:!D()},{label:i(`common:orgNav.billing`),href:O(),hide:!E()},{label:i(`common:orgNav.apiKeys`),href:`/orgs/${t}/api-keys/my-key`}].filter(e=>!e.hide)}},[m,e,y,f,d,g,C,b,v?._isContractBilling]);return(0,G.jsxs)(`div`,{className:R(Q6.container,{[Q6.hasBanner]:x}),children:[(0,G.jsx)(B5,{}),(0,G.jsxs)(`header`,{className:Q6.header,children:[(0,G.jsxs)(`div`,{className:Q6.primaryNavigation,children:[(0,G.jsx)(Z6,{iconProps:{width:63,height:26},containerClassName:Q6.logo}),t&&(0,G.jsx)(Ase,{})]}),(0,G.jsxs)(`div`,{className:Q6.actions,children:[e!==``&&(0,G.jsx)(goe,{}),w&&(0,G.jsx)(G.Fragment,{children:(0,G.jsx)(`ul`,{className:Q6.links,children:A.map((e,t)=>(0,G.jsxs)(W.Fragment,{children:[(0,G.jsx)(`li`,{className:Q6.line}),(0,G.jsx)(`li`,{className:Q6.prjLink,children:(0,G.jsx)(z,{className:Q6.linkBtn,size:`small`,variant:`textBlack`,withMargin:!1,onClick:()=>n(e.href),children:e.label})},e.label),t===A.length-1&&(0,G.jsx)(`li`,{className:Q6.line})]},t))})}),(0,G.jsxs)(`div`,{className:Q6.buttonGroup,children:[(0,G.jsx)(mse,{}),(0,G.jsx)(Cse,{}),(0,G.jsx)(uoe,{onLogout:T,logoutLoading:s})]})]})]})]})},e7=function(e){return e.projects=`projects`,e.billing=`billing`,e.apiKeysMyKey=`api-keys/my-key`,e.apiKeysMembersKey=`api-keys/members-key`,e.systemSetting=`system`,e.events=`events`,e.alert=`alert`,e.recycle=`recycle`,e.members=`members`,e.groups=`groups`,e.projectRoles=`project-roles`,e.resource=`resource-manager`,e.usage=`contract-usage`,e}({}),Nse=()=>{let{t:e}=_(`common`),t=u(),n=p(),{orgId:r=``}=l(),[i,a]=(0,W.useState)(``),{isByocOrg:o}=Kt(),{hasBillingEntryAccess:s}=MC(),c=ea(`(max-width: 1023px)`),d=(0,W.useMemo)(()=>[{id:e(`orgNav.projects`),label:e(`orgNav.projects`),icon:Gr,page:un.Projects},{id:e(`orgNav.billing`),label:e(`orgNav.billing`),icon:ui,page:un.Billing,isSupport:s},{id:e(`orgNav.license`),label:e(`orgNav.license`),icon:ba,page:un.Usage,isSupport:o},{id:e(`orgNav.apiKeys`),label:e(`orgNav.apiKeys`),icon:Ki,page:un.ApiKey},{id:e(`orgNav.accessControl`),label:e(`orgNav.accessControl`),icon:Ia,page:un.OrgUsers},{id:e(`orgNav.monitor`),label:e(`orgNav.monitor`),icon:la,page:un.Monitoring},{id:e(`orgNav.activities`),label:e(`orgNav.activities`),icon:ha,page:un.Events},{id:e(`orgNav.settings`),label:e(`orgNav.settings`),icon:gi,page:un.Settings},{id:e(`orgNav.recycleBin`),label:e(`orgNav.recycleBin`),icon:ci,page:un.Recyle}].filter(e=>e.isSupport!==!1).map(e=>({id:e.id,label:e.label,page:e.page,icon:e.icon})),[n.pathname,o,s]);return(0,W.useEffect)(()=>{n.pathname.includes(e7.projects)&&a(e(`orgNav.projects`)),n.pathname.includes(e7.events)&&a(e(`orgNav.activities`)),n.pathname.includes(e7.billing)&&a(e(`orgNav.billing`)),n.pathname.includes(e7.systemSetting)&&a(e(`orgNav.settings`)),(n.pathname.includes(e7.members)||n.pathname.includes(e7.groups)||n.pathname.includes(e7.projectRoles))&&a(e(`orgNav.accessControl`)),n.pathname.includes(e7.recycle)&&a(e(`orgNav.recycleBin`)),n.pathname.includes(e7.alert)&&a(e(`orgNav.monitor`)),n.pathname.includes(e7.apiKeysMyKey)&&a(e(`orgNav.apiKeys`)),n.pathname.includes(e7.apiKeysMembersKey)&&a(e(`orgNav.apiKeys`)),n.pathname.includes(e7.resource)&&a(e(`orgNav.resourceManager`)),n.pathname.includes(e7.usage)&&a(e(`orgNav.license`))},[n.pathname,o]),(0,G.jsx)(Nr,{list:d,onItemClick:n=>
298{let i={[e(`orgNav.projects`)]:`/orgs/${r}/projects`,[e(`orgNav.apiKeys`)]:`/orgs/${r}/api-keys/my-key`,[e(`orgNav.resourceManager`)]:`/orgs/${r}/resource-manager/resources`,[e(`orgNav.billing`)]:`/orgs/${r}/billing`,[e(`orgNav.recycleBin`)]:`/orgs/${r}/recycle`,[e(`orgNav.settings`)]:`/orgs/${r}/system/setting`,[e(`orgNav.activities`)]:`/orgs/${r}/events`,[e(`orgNav.accessControl`)]:`/orgs/${r}/members`,[e(`orgNav.monitor`)]:`/orgs/${r}/alert/history`,[e(`orgNav.license`)]:`/orgs/${r}/contract-usage`}[n.id]||``;i&&t(i)},activeId:i,isExpanded:!c})},t7={main:`_main_7n8l8_4`,container:`_container_7n8l8_8`,hasBanner:`_hasBanner_7n8l8_30`,hasAlert:`_hasAlert_7n8l8_34`,titleWrapper:`_titleWrapper_7n8l8_78`,dialogContainer:`_dialogContainer_7n8l8_91`,dialogPaper:`_dialogPaper_7n8l8_92`,rotate:`_rotate_7n8l8_1`},Pse=()=>{let{t:e}=_([`common`]),{visible:t}=TS(),{showAlert:n}=HC();return(0,G.jsx)(`div`,{className:R(t7.container,{[t7.hasBanner]:t,[t7.hasAlert]:n}),children:(0,G.jsxs)(`div`,{children:[(0,G.jsxs)(`div`,{className:t7.titleWrapper,children:[(0,G.jsx)(Zr,{size:20}),(0,G.jsx)(L,{variant:`body1Regular`,children:e(`common:layout.menu.org`)})]}),(0,G.jsx)(Nse,{})]})})},n7={container:`_container_amhbh_3`,hasBanner:`_hasBanner_amhbh_10`,header:`_header_amhbh_15`,viewDoc:`_viewDoc_amhbh_26`,account:`_account_amhbh_30`,title:`_title_amhbh_43`,content:`_content_amhbh_47`,tooltipLink:`_tooltipLink_amhbh_56`,migrationHeader:`_migrationHeader_amhbh_65`,byocProjectDetailHeader:`_byocProjectDetailHeader_amhbh_73`,action:`_action_amhbh_93`,button:`_button_amhbh_98`,hide:`_hide_amhbh_103`,rotate:`_rotate_amhbh_1`},r7=function(e){return e.ElasticSearch=`elasticsearch`,e.PgVector=`pgvector`,e.Milvus=`milvus`,e.MilvusBackup=`milvus-backup`,e.MilvusRemoteBackup=`milvus-remote-backup`,e.MilvusStageBackup=`milvus-stage-backup`,e.SameOrg=`cluster-same-org`,e.Pinecone=`pinecone`,e.Qdrant=`qdrant`,e.Tencent=`Tencent`,e.OpenSearch=`opensearch`,e.Offline=`offline`,e.ZeroDowntime=`zero-downtime`,e}({}),Fse=function(e){return e.LocalFile=`local-file`,e}({}),Ise=function(e){return e.Increment=`increment`,e}({}),i7=function(e){return e.Cluster=`cluster`,e.Collection=`collection`,e}({}),a7=(0,W.createContext)(null),Lse=({children:e})=>{let[t,n]=(0,W.useState)(null);return(0,G.jsx)(a7.Provider,{value:{config:t,setConfig:n,updateConfig:e=>{n(t=>t?{...t,...e}:e)},clearConfig:()=>{n(null)}},children:e})},o7=()=>{let e=(0,W.useContext)(a7);if(!e)throw Error(`useHeaderConfig must be used within HeaderProvider`);return e},Rse=()=>{let{t:e}=_([`deployments`,`collections`,`migration`,`router`,`common`,`migrations`,`byocProjects`,`backup`,`createProject`]),[t]=r(),n=p(),{type:i=``,source:a=``,orgId:o=``,projectId:s=``}=l(),{visible:c}=TS(),d=u(),{setIsFromAccountEdit:f}=Pc(),{config:m=null}=o7(),{isCreateCollection:h,isCreateSampleCollection:v,isAccountPage:y,isProjectMigration:b,isRestoreCollections:x,isDataPlaneDetail:S}=(0,W.useMemo)(()=>({isCreateCollection:n.pathname.includes(`/create/collection`),isCreateSampleCollection:n.pathname.includes(`/create/sample-collection`),isAccountPage:n.pathname.includes(`/account`),isProjectMigration:n.pathname.includes(`/migrations`),isRestoreCollections:n.pathname.includes(`/restore`),isDataPlaneDetail:!!g(`/orgs/:orgId/projects/:projectId/dataplanes/:dataplaneId`,n.pathname)}),[n.pathname,n.search]),C=(0,W.useMemo)(()=>{if(h)return e(`collections:create.title`);if(v)return e(`collections:create.sample.title`);if(b)switch(i){case r7.Offline:return e(`migrations:header.zillizOffline`);case r7.ZeroDowntime:return e(`migrations:header.zillizZeroDowntime`);case r7.PgVector:return e(`migrations:header.common`,{type:e(`migrations:type.pgvector`)});case r7.Tencent:return e(`migrations:header.migrateFromTencentCloud`);case r7.Milvus:return e(`migrations:header.milvusEndpoint`);case r7.MilvusBackup:return e(`migrations:header.milvusLocalFile`);case r7.MilvusRemoteBackup:return e(`migrations:header.milvusRemoteBackup`);case r7.MilvusStageBackup:return e(`migrations:header.milvusStageBackup`);default:return e(`migrations:header.common`,{type:Ee(i)})}let t=!!g(`/orgs/:orgId/projects/:projectId/dataplanes/:dataplaneId`,n.pathname),r=!!g(`/orgs/:orgId/projects/create`,n.pathname);if(t)return e(`byocProjects:list.viewDataPlaneDetail`);if(r)return e(`createProject:title`);if(x)switch(a){case i7.Cluster:return e(`backup:restore.dbAndCollection.title.fromCluster`);case i7.Collection:return e(`backup:restore.dbAndCollection.title.fromCollection`);default:return``}return e(`deployments:create.createNewCluster`)},[t,h,n.pathname,b,i,a]),w=()=>{f(!0),d(-1)},T=()=>{if(m?.onBack){m.onBack();return}if(S){d(`/orgs/${o}/projects/${s}/dataplanes`);return}d(-1)};return m?(0,G.jsxs)(`div`,{className:R(n7.container,{[n7.hasBanner]:c},m.classes?.container),children:[(0,G.jsx)(B5,{}),(0,G.jsx)(`header`,{className:R(n7.header,m.classes?.header),children:(0,G.jsxs)(`div`,{className:R(n7.content,m.classes?.content),children:[m.showBack&&(0,G.jsx)(fr,{withMargin:!1,onClick:T,children:(0,G.jsx)(Aa,{})}),m.title&&(0,G.jsx)(L,{variant:`h1Bold`,className:n7.title,children:m.title}),m.actions]})})]}):(0,G.jsxs)(`div`,{className:R(n7.container,{[n7.hasBanner]:c}),children:[(0,G.jsx)(B5,{}),(0,G.jsxs)(`header`,{className:R(n7.header,{[n7.account]:y}),children:[y&&(0,G.jsx)(Z6,{iconProps:{width:73,height:30}}),(0,G.jsxs)(`div`,{className:R(n7.content,{[n7.hide]:y,[n7.migrationHeader]:b,[n7.byocProjectDetailHeader]:S}),children:[S&&(0,G.jsx)(fr,{withMargin:!1,onClick:T,children:(0,G.jsx)(Aa,{})}),(0,G.jsx)(L,{variant:`h1Bold`,className:n7.title,children:C}),b&&(0,G.jsx)(z,{variant:`textBlack`,size:`small`,withMargin:!1,endIcon:(0,G.jsx)(fi,{size:14}),onClick:()=>{window.open(fs,`_blank`)},className:n7.viewDoc,children:e(`migrations:viewDoc`)})]}),(0,G.jsx)(`div`,{className:R(n7.action,{[n7.hide]:!y}),children:(0,G.jsx)(z,{className:n7.button,variant:`outlined`,size:`small`,onClick:w,children:e(`common:button.cancel`)})})]})]})},zse=new Set([Te.TOKEN_INVALID,Te.TOKEN_EXPIRED,Te.LOGIN_NOT_PASS_MFA_VALIDATION,Te.NEED_FILL_INFORMATION,Te.LOGIN_NEED_MFA,Te.WHITELIST_NOT_MATCH]),s7=e=>{let t=e;return t?.response?.data?.Code??t?.response?.data?.errorCode??t?.Code??t?.code??t?.errorCode},c7=e=>s7(e)===30004,l7=e=>zse.has(s7(e)??-1),Bse=e=>{let{projectId:t=``}=l(),{projectList:n}=C(),r=F(qe),{orgStatus:i,organizationList:a,setActiveOrgs:o,curUserActiveOrg:s,fetchOrgStatus:c}=Kt(),{fetchUserProfile:d,accountInfo:f,setProfile:p,isFromAccountEdit:m,setIsFromAccountEdit:h}=Pc(),{resetData:g}=Y6(),[v,y]=Lt(Me),{t:b}=_(),x=u();return(0,W.useEffect)(()=>{window.onpopstate=function(e){let t=It(In.ACTIVE_ORG),n=It(In.USER_INFO)?._userId,r=t?.[n],i=Gt(window.location.pathname),s=r?.orgId&&i&&r?.orgId===i,l=a.find(e=>e._orgId===i)?._name||``;o(e=>({...e||{},[n]:{orgId:i,name:l}}
298)),!(!i||s)&&(g(!0),p(e=>({...e,_myOrgRoles:[]})),(async()=>{await Promise.all([c(i),d(i)])})())}},[]),(0,W.useEffect)(()=>{if(t||r({id:``,name:``}),t){let e=n.find(e=>e._projectId===t)?._projectName||``;r(n=>n.id===t&&n.name===e?n:{id:t,name:e})}},[n,t,location.pathname]),(0,W.useEffect)(()=>{if(!s?.orgId||i?._isFrozen!==void 0){y(e=>({...e,orgProjectLayer:!1}));return}let e=!0;return y(e=>({...e,orgProjectLayer:!0})),(async()=>{let t=!0,n=!1;try{let[t,r]=await Promise.allSettled([(async()=>{await c(s?.orgId),n=!0})(),(async()=>{try{await d(s?.orgId)}catch(e){if(!c7(e))throw e}})()]),i=[t,r].filter(e=>e.status===`rejected`).map(e=>e.reason).find(l7);if(i)throw i;if(t.status===`rejected`)throw t.reason;if(r.status===`rejected`)throw r.reason;e&&!m&&x(`/orgs/${s?.orgId}/projects`,{replace:!0})}catch(r){l7(r)?t=!1:e&&!m&&(n?x(`/orgs/${s?.orgId}/projects`,{replace:!0}):(f._userId&&o(e=>({...e||{},[f._userId]:{orgId:``,name:``}})),x(`/orgs`,{replace:!0})))}finally{e&&(h(!1),t&&y(e=>({...e,orgProjectLayer:!1})))}})(),()=>{e=!1}},[s?.orgId]),(0,G.jsx)(Vt,{loading:v.orgProjectLayer,loadingText:b(`loading`),classes:{container:v.orgProjectLayer?Jx.authLoadingContainer:``,loading:Jx.loading},children:e.children})},u7=`https://cloud-service.cloud.zilliz.com.cn`;Ce.defaults.baseURL=u7;var Vse=[`billing/marketplace/bind`],d7=e=>{let t=It(Ge.USER_INFO),n=It(Ge.MARKETPLACE,``),r=It(Ge.ACTIVE_ORG,``),i=It(Ge.TOKEN,``);if(!i)return;let{config:a,data:o,status:s}=e,{data:c,params:l,url:u,headers:d}=a;if(!Vse.find(e=>u?.includes(e)))return;let f={};try{f=JSON.parse(c)}catch{f={}}let p=f?.projectId||f?.ProjectId;ue.post(`${u7}/cloud/v1/user/client/error`,{userId:t?._userId||``,orgId:d?.orgId,projectId:p,requestFromUrl:window.location.href,localStorage:JSON.stringify({orgInfos:r,marketPlaceInfo:n}),header:JSON.stringify(d),param:JSON.stringify(l),requestBody:c,requestId:o?.RequestId,url:u,code:s,responseBody:JSON.stringify(o)},{headers:{[Ge.TOKEN]:`Bearer ${i}`}})},Hse=Ce,f7={submitRequestLink:`_submitRequestLink_cxg27_3`,codeCell:`_codeCell_cxg27_14`,requestIdCell:`_requestIdCell_cxg27_18`,learnMoreLink:`_learnMoreLink_cxg27_22`,rotate:`_rotate_cxg27_1`},Use={[`${Nt.EXCEED_CU_CAPACITY}`]:Io,[`${Nt.MAXIMUM_COLLECTIONS}`]:Co},p7=e=>{let{message:t,errorCode:n,requestId:r}=e,{t:i}=_([`common`]),a=wa(),{showLearnMore:o,enabledSubmit:s}=bt[n]??{},c=Use[`${n}`];return(0,G.jsx)(G.Fragment,{children:s?(0,G.jsxs)(G.Fragment,{children:[t,o&&(0,G.jsx)(`a`,{target:`_blank`,href:c,className:f7.learnMoreLink,children:i(`common:link.learnMore`)}),(0,G.jsx)(L,{component:`p`,className:f7.codeCell,color:a.black.black2,children:i(`common:errorCode`,{code:n})}),(0,G.jsx)(L,{component:`p`,color:a.black.black2,className:f7.requestIdCell,children:i(`common:requestId`,{id:r})})]}):t})},Wse=()=>e=>{let{error:t,setError:n,errCodeFieldMap:r,getFieldByErrorMsg:i}=e,a=t.response?.data?.Code,o=t.response?.data?.Message||t?.message||``,s=(typeof a==`number`?$6(a):void 0)||o||`Unknown error`,c,l=[];if(a&&r&&(l=Object.keys(r).filter(e=>r[e].includes(a))),l.length===1)c=l[0];else if(l.length>1&&typeof i==`function`){let e=i(o,t);c=l.includes(e||``)?e:l[0]}return n&&c?(n(c,{type:`serverError`,message:s}),!0):!1},m7={actionWrapper:`_actionWrapper_14i60_3`,divider:`_divider_14i60_9`,rotate:`_rotate_14i60_1`},h7=()=>{let{t:e}=_(`common`),t=t=>(0,G.jsx)(li,{btnType:`text`,value:t,defaultLabel:e(`globalErrorMessage.copyBtn`)}),n=t=>{let{show:n,onClick:r}=t;return n?(0,G.jsx)(z,{variant:`textBlue`,size:`small`,onClick:r,withMargin:!1,children:e(`button.createTicket`)}):null};return{generateErrorAction:e=>{let{copyContent:r,showSupportBtn:i=!1,onSupportClick:a}=e,o=t(r),s=n({show:i,onClick:a});return{actions:(0,G.jsxs)(`div`,{className:m7.actionWrapper,children:[s,!!s&&(0,G.jsx)(`div`,{className:m7.divider}),o]})}},generateCopyBtn:t,generateSupportBtn:n}},Gse=()=>window.location.pathname.match(/\/orgs\/([^/]+)/)?.[1]||``,Kse=({data:e})=>{let{t}=_([`byocProjects`,`common`]),n=F(A),r=u(),{orgId:i=``}=l(),a=i||Gse(),o=e?.title||t(`byocProjects:guardBlocked.defaultTitle`),s=e?.description||t(`by
298ocProjects:guardBlocked.defaultDescription`),c=()=>{n(e=>({...e,open:!1}))};return(0,G.jsx)(sc,{type:j.Form,title:(0,G.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,G.jsx)(Vi,{size:28}),(0,G.jsx)(L,{variant:`h1Semibold`,children:o})]}),showActions:!1,children:(0,G.jsxs)(`div`,{"data-testid":`byoc-guard-blocked-dialog`,children:[(0,G.jsx)(L,{variant:`body1Regular`,component:`p`,children:s}),(0,G.jsxs)(`div`,{className:`mt-8 flex justify-end gap-3`,children:[(0,G.jsx)(z,{variant:`textBlack`,onClick:c,"data-testid":`byoc-guard-back-button`,children:t(`byocProjects:guardBlocked.backToForm`)}),(0,G.jsx)(z,{variant:`outlined`,onClick:()=>{c(),a&&r(`/orgs/${a}/contract-usage`)},"data-testid":`byoc-guard-license-button`,children:t(`byocProjects:guardBlocked.viewLicense`)}),(0,G.jsx)(z,{startIcon:(0,G.jsx)(ki,{}),onClick:()=>{n({open:!0,size:`medium`,children:(0,G.jsx)(dY,{subject:o,desc:s})})},"data-testid":`byoc-guard-support-button`,children:t(`byocProjects:guardBlocked.contactSupport`)})]})]})})},qse=`/orgs/:orgId/network-access/access-denied`,Jse=`/orgs/:orgId/projects`,Yse=({error:e,message:t,requestId:n,orgId:r})=>`/orgs/${r}/network-access/access-denied?${new URLSearchParams({error:String(e),message:t,requestId:n,orgId:r}).toString()}`,g7=e=>!!g(qse,e),Xse=e=>!g7(e),Zse=e=>!!g(Jse,e),Qse=_n({paymentIntentId:bn(),clientSecret:bn()}),$se=_n({Code:vn(51062),Data:_n({reason:vn(`CARD_BIND_RATE_LIMITED`),retryAt:bn().datetime({offset:!0}),retryAfterSeconds:hn().int().positive()})}),_7=`cloud/v1`,ece=`cloud/v1/billing/card/bind/payment-intent`,tce=e=>e.split(`?`,1)[0].replace(/^\/api\//,``).replace(/^\//,``),v7=e=>{let t=e?.response;if(t?.status!==429||typeof t.config?.method!=`string`||t.config.method.toLowerCase()!==`post`||typeof t.config.url!=`string`||tce(t.config.url)!==ece)return null;let n=$se.safeParse(t.data);return n.success?n.data.Data:null},nce={createCardBindPaymentIntent:async()=>{let e=await Ce.post(`${_7}/billing/card/bind/payment-intent`);return Qse.parse(e.data.Data)},confirmCardBindPaymentIntent:async e=>{await Ce.post(`${_7}/billing/card/bind/payment-intent/confirm`,{paymentIntentId:e})}},y7=null,rce=Cs(xs.Mobilephone),ice=[on.Partner,on.EntitlementId,on.OfferType,on.SwitchToSelfManaged],b7=e=>{let t=e.response?.data,n=t?.Code??t?.code??t?.errorCode;if(typeof n==`number`)return n;if(typeof n==`string`){let e=Number(n);return Number.isFinite(e)?e:void 0}},ace=e=>e.response?.status===Te.UNAUTHORIZED&&(b7(e)===void 0||b7(e)===Te.TOKEN_INVALID||b7(e)===Te.TOKEN_EXPIRED),x7=()=>{let e=new URLSearchParams(window.location.search);if(e.has(nt.Redirect))return`/login${window.location.search}`;if(window.location.pathname.includes(`emptyLoading`))return`/login`;let t=new URLSearchParams;return ice.forEach(n=>{let r=e.get(n);r!==null&&t.set(n,r)}),t.set(nt.Redirect,`${window.location.pathname}${window.location.search}`),`/login?${t.toString()}`},S7=e=>{let{t}=_(`common`),{message:n,closeSnackbar:r}=Ga(),{generateErrorAction:i}=h7(),{checkIsJobRelatedOperation:a}=cS(),o=$e(rn),s=ot(rn),[c,l]=Lt(A),[d,f]=Lt(Fe),{saveUser:p,removeUser:m,saveIsLogin:h}=Y6(),{marketplaceSearchParams:g}=dn(),v=u(),{storedValue:y}
298=k(Ge.TOKEN,``),b=Wse(),x=e=>{let{title:n=t(`somethingWrong`),errorCode:r}=e,{enabledSubmit:i,showUnavailableAction:a}=bt[r]??{};return i?t(a?`unavailableAction`:`unknownError`):n},S=e=>{let{requestId:t,errorCode:n,message:r}=e;return{idInfo:t?` (ID: ${t})`:``,ticketDesc:`${r} Error Code: ${n} Request ID: ${t}`}},C=e=>{let{errorCode:t,message:n,requestId:a,title:o,key:s,requestUrl:c}=e,u=x({errorCode:t,title:o}),{ticketDesc:d}=S({requestId:a,errorCode:t,message:n}),f={};c&&(f.requestUrl=c),f.errorCode=t,f.message=n,a&&(f.requestId=a);let p=JSON.stringify(f,null,2);return i({copyContent:p,showSupportBtn:bt[t]?.enabledSubmit,onSupportClick:y?()=>{r(s),l({open:!0,size:`medium`,children:(0,G.jsx)(dY,{subject:u,desc:d})})}:()=>{window.open(Ro,`_blank`)}})},E=e=>{l({open:!0,size:`medium`,children:(0,G.jsx)(Kse,{data:e})})},D=e=>{let{code:t,data:n,message:r,requestId:i,orgId:a}=e;switch(t){case Te.TOKEN_EXPIRED:case Te.TOKEN_INVALID:case Te.LOGIN_NOT_PASS_MFA_VALIDATION:return m(),v(x7()),!0;case Te.NEED_FILL_INFORMATION:{h(!1),p(n);let e=rce&&n?.NeedPhone?`/account/set/phone?${g}`:`${Eo}?${g}`;return v(e),!0}case Te.LOGIN_NEED_MFA:return p(n),v(`/login/verify`),!0;case Te.WHITELIST_NOT_MATCH:return v(Yse({error:t,message:r??``,requestId:i??``,orgId:a||``})),!0;default:return!1}};y7===null&&(y7=Hse.interceptors.response.use(function(e){try{a(e.config)&&h6.triggerRefresh()}catch{}let t=e.data?.Code??e.data?.code??e.data?.errorCode,r=e.data?.Message??e.data?.message,i=e.data?.RequestId??e.data?.requestId,o=e.data?.Data??e.data?.data,s=e.config?.silentError,c=()=>D({code:t,data:o,message:r,requestId:i,orgId:String(e.config?.headers?.orgId||``)});if(t===Te.BYOC_GUARD_BLOCKED)return s||E(o),Promise.reject(e.data);if(e.data&&!Ut.includes(t)){let a=e.config?.errorHandling,o=!!(a?.errCodeFieldMap&&Object.values(a.errCodeFieldMap).some(e=>Array.isArray(e)&&e.includes(t)));if(a?.setError&&o&&b({error:{response:e},setError:a.setError,errCodeFieldMap:a.errCodeFieldMap,getFieldByErrorMsg:a.getFieldByErrorMsg}))return Promise.reject(e.data);d7(e);let l=$6(t)||r||`Error Code: ${t}`,u=i||T(l),d=C({requestId:i,errorCode:t,message:T(l),key:u,requestUrl:e.config.url});return s||n.error({title:x({errorCode:t}),message:(0,G.jsx)(p7,{message:T(l),errorCode:t,requestId:i}),key:u},{},d),c(),Promise.reject(e.data)}return c()?Promise.reject(e.data):t===Te.SUCCESS?e:Promise.reject({response:e})},function(e){if(rt(e))return Promise.reject(e);let{response:r}=e;if(ace(e))return m(),v(x7()),Promise.reject(e);if(v7(e))return Promise.reject(e);r&&d7(r);let i=``;if(r?.data){let a=r.data.Message??r.data.message,o=r.data.Code??r.data.code??r.data.errorCode,s=r.data.Data??r.data.data,c=r.data.RequestId??r.data.requestId,l=r?.status,u=r?.config?.url||``,d=r?.config?.silentError;if(o===Te.BYOC_GUARD_BLOCKED)return d||E(s),Promise.reject(Object.assign(e,{__handled:!0}));if(o&&!Ut.includes(o)){let e=a||`Error Code: ${o}`;switch(i=$6(o)||e,o){case Te.INSTANCE_STATUS_NOT_SUPPORT:i=w.INSTANCE_STATUS_NOT_SUPPORT;break;default:break}}l===Te.TOO_MANY_REQUESTS&&!u.includes(`bulkload/part/upload`)&&(i=a||`Error Code: ${l}`);let f=r?.config?.errorHandling,p=!!(f?.errCodeFieldMap&&Object.values(f.errCodeFieldMap).some(e=>Array.isArray(e)&&e.includes(o)));if(f?.setError&&p&&b({error:e,setError:f.setError,errCodeFieldMap:f.errCodeFieldMap,getFieldByErrorMsg:f.getFieldByErrorMsg}))return Promise.reject(Object.assign(e,{__handled:!0}));if(!d){if(Jt.includes(o))n.info({title:t(`requestFailed.tokenInvalidTitle`),message:i,key:i},{preventDuplicate:!0,autoHideDuration:3e3});else if(o&&!Ut.includes(o)){let e=``;e=T(i)||c;let t=C({requestId:c,errorCode:o,message:i,key:e,requestUrl:u});n.error({title:x({errorCode:o}),message:(0,G.jsx)(p7,{message:i,errorCode:o,requestId:c}),key:e},{preventDuplicate:!0},t)}}if(D({code:o,data:s,message:a,requestId:c,orgId:String(r?.config?.headers?.orgId||``)}))return Promise.reject(e);switch(o){case Te.UNLINK_NEED_RESET_PASSWORD:let{config:{data:e,url:t}}=r,n=t?.includes(nn.github)?nn.github:t?.includes(nn.google)?nn.google:``,i=JSON.parse(e);m(),v(`/unlink/alert?thirdParty=${n}&email=${i?.Email}`);break;case Te.INACTIVATED:case Te.MAIL_TOO_OFTEN:let{config:{data:a,url:o},data:s}=r;if(o&&[`account/login`,`auth0/login`].some(e=>o.includes(e)))try{let e=``,t=``;if(o.includes(`auth0/login`))e=s?.Data?.AccountInfo?.AccountName||``;else{let n=JSON.parse(a);e=n?.email||``,t=n?.phone||``}
298let n=Ns({email:e,phone:t});v(`/signup/verify?${g}&${n}`)}catch{}break;default:break}return Promise.reject(e)}let{Message:a,Code:o,RequestId:s}=e,c=r?.config?.url||``,l=r?.config?.silentError,u=$6(o)||a,d=s||T(i),f=C({requestId:s,errorCode:o,message:u,key:d,requestUrl:c});return!l&&a&&a!==`canceled`&&n.error({title:x({errorCode:o}),message:(0,G.jsx)(p7,{message:T(u),errorCode:o,requestId:s}),key:d},{},f),Promise.reject(e)}));let O=e=>{o.handleClose(e),s()},ee=(e,t)=>{let{onClose:n=()=>{},allowbackdropclose:r}=c;t===`backdropClick`&&!r||(n(e,t),l({...c,open:!1}))},j=(e,t)=>{if(t===`backdropClick`)return;let{onClose:n=()=>{}}=d;n(e,t),f({...d,open:!1})};return(0,G.jsxs)(G.Fragment,{children:[e.children,(0,G.jsx)(Cr,{title:o.title,open:o.open,handleClose:O,children:o.children}),(0,G.jsx)(zr,{classes:{container:Jx.dialogContainer,paper:Jx.dialogPaper},...c,onClose:ee}),(0,G.jsx)(zr,{...d,onClose:j})]})},C7=`isInvite`,oce=`currentStep`,w7=`/alert/history`,sce=Cs(xs.Mobilephone),cce=({children:e})=>{let{t}=_(`auth`),{orgId:n=``,projectId:i=``}=l(),[a,o]=(0,W.useState)(!0),[s]=r(),c=p(),{fetchOrgStatus:d,fetchOrganizations:f,setActiveOrgs:m}=Kt(),{fetchAccountInfo:h,fetchUserProfile:v}=Pc(),{activeProject:y,setActiveProject:b}=C(),x=Tn(),S=u(),w=It(In.ACTIVE_ORG),T=It(In.USER_INFO),E=It(In.JOIN_ORG_OR_PROJECT_INFO),D=It(In.NEED_SET_PHONE)&&sce,O=w?.[T?._userId],k=Dt(s.get(nt.Redirect)),A=Gt(k||``),ee=window.location.pathname.endsWith(w7)||k?.endsWith(w7),j=window.location.pathname.endsWith(`/emptyLoading`),te=`/orgs/${n||A}/alert/permission-denied`;return(0,W.useEffect)(()=>{let e=!0,t;o(!0);let r=!!g(`/orgs`,c.pathname),a=r?``:Gt(window.location.pathname)||A||E?.orgId||O?.orgId||``,l=!1,u=async()=>{try{let e=await Dc.fetchOnboardingStatus({ignoreOrgId:!0});if(!e._createAccountPage||D){let e=D?`/account/set/phone?${s}`:`${Eo}?${s}&${C7}=true`;S(e)}return!e._createAccountPage||D}catch{}};return(async()=>{if(await u())return;let s,p=y,g=``,_=``,C=!1,w=!1,E=!1,D=!1,O=i||at(window.location.pathname)||at(k||``),ne=e=>jt.fetchProjectList({orgId:e}),re=async e=>{try{await v(e)}catch(e){if(!c7(e))throw e}},ie=async e=>{let t=await d(e);return w=!0,t},M=async e=>{let[t,n]=await Promise.allSettled([re(e),ie(e)]),r=[t,n].filter(e=>e.status===`rejected`).map(e=>e.reason).find(l7);if(r)throw r;if(n.status===`rejected`)throw n.reason;if(t.status===`rejected`)throw t.reason},ae=async(e,t)=>{if(!(!e||!t)){if(O){try{let t=await x.fetchQuery(kn({orgId:e,projectId:O}));E=!dr(t.resourceActions,I.Project,`view`),ee&&(D=!dr(t.resourceActions,I.Observability,`view`))}catch{}return}if(ee)try{D=!dr((await x.fetchQuery(kn({orgId:e}))).resourceActions,`billing`,`view`)}catch{}}},oe;try{let[e,t]=await Promise.all([f(),h()]);if(C=!0,s=e.find(e=>e._orgId===a)||e[0],_=t._userId,r){await re(),m(e=>({...e,[_]:{orgId:``,name:``}})),b({id:``,name:``});return}if(l=a===``||e.some(e=>e._orgId===a),l){let{_isByoc:e}=s||{};if(await M(a),!a||n&&!j){await ae(a,l);return}let[t]=await Promise.all([ne(a)]),r=y?.id,i=t.some(e=>e._projectId===r);r=i?r:t[0]?._projectId;let o=`/orgs/${a}/projects`;i||(p={id:t[0]?._projectId,name:t[0]?._projectId}),g=r&&e!==!0?`${o}/${r}/clusters`:o}else{let{_orgId:e=``,_isByoc:t}=s||{},[n]=await Promise.all([ne(e),M(e)]);E=!!i&&!(n??[]).some(e=>e._projectId===i);let r=n.length?n[0]._projectId:void 0;p={id:n[0]?._projectId,name:n[0]?._projectId},g=e?r&&t!==!0?`/orgs/${e}/projects/${r}/clusters`:`/orgs/${e}/projects`:`/orgs`}await ae(s?._orgId||a,l),b({id:p?.id||``,name:p?.name||``})}catch(e){oe=e}finally{if(!e)return;if(oe){if(l7(oe))return;if(j){let e=C&&l&&w?a:``,t=_||T?._userId||``;if(t){let n=e?s:void 0;m(e=>({...e||{},[t]:{orgId:n?._orgId||``,name:n?._name||``}})),b({id:``,name:``})}S(e?`/orgs/${e}/projects`:`/orgs`,{replace:!0})}o(!1);return}t=window.setTimeout(()=>{if(!e)return;if(c.pathname.startsWith(`/no-access`)){o(!1);return}let{_orgId:t=``,_name:r=``}=s||{},i=a===``;if(k&&!A)S(k),m(e=>({...e,[_]:{orgId:``,name:``}}));else if(!i){m(e=>({...e,[_]:{orgId:t,name:r}}));let e=ee&&D?te:C&&!l?`/orgs/no-access`:E?`/orgs/${a}/projects/no-access`:k&&l?k:g&&(!n||j)?g:null;e&&S(e)}o(!1)},10)}})(),()=>{e=!1,t!==void 0&&window.clearTimeout(t)}},[]),(0,G.jsx)(Vt,{loading:a,loadingText:t(`loading`),classes:{container:a?Jx.authLoadingContainer:``,loading:Jx.loading},children:e})},T7={banner:`_banner_1jd8q_3`,label:`_label_1jd8q_27`,arrow:`_arrow_1jd8q_31`,close:`_close_1jd8q_35`,rotate:`_rotate_1jd8q_1`},lce=e=>{let{visible:t,onClose:n}=e,{t:r}=_(`onboard`);return t?(0,G.jsxs)(`div`,{className:T7.banner,children:[(0,G.jsx)(`a`,{href:wS,target:`_blank`,children:(0,G.jsx)(d,{t:r,i18nKey:`banner`,components:[(0,G.jsx)(`span`,{className:T7.label}),(0,G.jsx)(`span`,{className:T7.arrow})]})}),(0,G.jsx)(`div`,{className:T7.close,onClick:n,children:(0,G.jsx)($r,{size:14})})]}):null},uce=e=>{let{children:t}=e,{t:n}=_([`common`]),{isPermissionLoading:r,isPermissionError:i}=Yn();return!Gt(window.location.pathname)||Zse(window.location.pathname)?t:r?(0,G.jsx)(Vt,{loading:!0,loadingText:n(`common:loading`)}):t},dce=e=>{let{children:t}=e,{t:n}=_([`common`]),{projectId:r=``}=l(),i=r||at(window.location.pathname),a=jn({projectId:i,enabled:!!i,silent:!1});return i&&a.isLoading?(0,G.jsx)(Vt,{loading:!0,loadingText:n(`common:loading`)}):t},fce=()=>(0,G.jsx)(S7,{children:(0,G.jsx)(y,{})}),pce=e(a()),mce=200,hce=8e3,gce=({enabled:e})=>{let{projectId:t=``}=l(),{t:n}=_(`onboard`),{onboardingStatus:r,fetchOnboardingStatus:i}=kc(),[a,o]=(0,W.useState)(!1),[s,c]=(0,W.useState)(null),[u,d]=(0,W.useState)(!1),f=(0,W.useRef)(null),p=n(`layoutMove.next`),m=n(`btnLabel`),h=n(`layoutMove.project.title`),g=n(`layoutMove.project.desc`),v=n(`layoutMove.region.title`),y=n(`layoutMove.region.desc`),b=r.beta===!1,x=!!(r[i6.action]||a);return(0,W.useEffect)(()=>
298{if(!e||!t||!b||x)return;document.body.classList.add(i6.activeBodyClass);let n=!1,r,a=Date.now(),s=Xie({next:p,done:m,projectTitle:h,projectDesc:g,regionTitle:v,regionDesc:y},()=>{o(!0),Dc.updateOnboardingStatus(i6.action).then(()=>i()).catch(()=>{})},(e,t)=>{n||(f.current=t.advance,c(e),d(t.isLastStep))}),l=()=>{if(n)return;let e=document.querySelector(i6.projectSelector),t=document.querySelector(i6.regionSelector);if(e&&t){s.drive();return}if(Date.now()-a>=hce){e&&s.drive();return}r=window.setTimeout(l,mce)};return l(),()=>{n=!0,f.current=null,r&&window.clearTimeout(r),s.destroy(),document.body.classList.remove(i6.activeBodyClass),c(null)}},[e,t,b,x,p,m,h,g,v,y]),s?(0,pce.createPortal)((0,G.jsx)(z,{size:`small`,variant:`textBlue`,withMargin:!1,onClick:()=>f.current?.(),children:u?m:p}),s):null},_ce=(e,t)=>e&&!t,vce=()=>{let e=p(),{showAlert:t}=HC(),n=ea(`(max-width: 1023px)`),{removeStorageValue:r}=k(In.JOIN_ORG_OR_PROJECT_INFO),{BillingRoutersConfig:i,CreateRoutersConfig:a,NoHeaderRoutersConfig:o,NoNavRoutersConfig:s,OrgRoutersConfig:c,AccountRoutersConfig:l}=Hk();FC();let{visible:u,onClose:d}=TS();(0,W.useEffect)(()=>{r()},[]);let{showOrgNav:f,showTree:m,isNoNav:h,isNoNavHeader:_,hasFooter:v,alwaysShowScrollBar:b,alwaysShowScrollBarGutter:x,overflowVisible:S,inCreatePage:C,isAccountEditPage:w}=(0,W.useMemo)(()=>{let t=e.pathname,n=[...c,...i].map(e=>e.path).some(e=>g(e,t)),r=s.some(e=>g(e.path,t)),u=a.some(e=>g(e.path,t)),d=l.some(e=>g(e.path,t)),f=!!g(`/orgs/:orgId/projects/:projectId/create/cluster`,t),p=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),m=/\/clusters\/[^\/]+(\/.*)?$/,h=/\/on-demand\/(clusters|databases)(\/.*)?$/,_=a.some(e=>g(e.path,t)&&!e.hideFooter);return{showOrgNav:n,showTree:m.test(t)||h.test(t),isNoNav:r,isNoNavHeader:o.some(e=>g(e.path,t)),hasFooter:_,alwaysShowScrollBar:!p&&f,alwaysShowScrollBarGutter:m.test(t),overflowVisible:p&&f,inCreatePage:u,isAccountEditPage:d}},[e.pathname]),T=f?(0,G.jsx)(Pse,{}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(vre,{}),(0,G.jsx)(c4,{show:m&&!n})]});return(0,G.jsx)(S7,{children:(0,G.jsx)(uce,{children:(0,G.jsx)(cce,{children:(0,G.jsx)(Bse,{children:(0,G.jsx)(Fae,{children:(0,G.jsx)($ie,{children:(0,G.jsx)(mS,{children:(0,G.jsx)(Lse,{children:(0,G.jsxs)(`div`,{className:R(Jx.container,{[Jx.orgContainer]:!h&&f,[Jx.hasFooter]:v,[Jx.hasBanner]:u,[Jx.hasAlert]:t}),children:[(0,G.jsx)(lce,{visible:u,onClose:d}),_?(0,G.jsx)(Rse,{}):(0,G.jsx)(Mse,{}),!h&&!f&&(0,G.jsx)(gce,{enabled:!0}),(0,G.jsxs)(`div`,{className:R(Jx.contentWrapper,{[Jx.contentWrapperWithBanner]:u,[Jx.contentWrapperWithAlert]:t}),children:[!h&&T,(0,G.jsx)(`div`,{className:R(Jx.content,{[Jx.overflowVisible]:S,[Jx.orgContent]:f,[Jx.orgContentWithOrgNav]:_ce(f,h),[Jx.createContent]:C}),children:(0,G.jsx)(`div`,{className:R(Jx.outlet,{[Jx.alwaysShowScrollBar]:b,[Jx.inCreatePage]:C,[Jx.accountPage]:w,[Jx.containerWithAlert]:t,[Jx.alwaysShowScrollBarGutter]:v||b||x}),children:(0,G.jsx)(dce,{children:(0,G.jsx)(y,{})})})})]})]})})})})})})})})})};function yce(){let{pathname:e}=p();return g7(e)?(0,G.jsx)(fce,{}):(0,G.jsx)(vce,{})}var bce=({children:e})=>{let{pathname:t}=p(),[n]=r(),{saveIsLogin:i}=Y6(),a=n.get(on.EntitlementId),o=n.get(nt.InviteCode),s=Dt(n.get(nt.Redirect)),c=t===`/login`&&!!s,l=It(In.TOKEN,``),u=l&&It(In.IS_LOGIN),d=window.location.pathname,m=[`/sso/login`,`/sso/warning`,`/login/loading`].includes(d),{removeUser:h}=Y6(),g=(0,W.useMemo)(()=>c?s:`/orgs`,[c,s]);return(0,W.useEffect)(()=>{(a||o||m)&&(async()=>{h(!0)})(),l||i(!1)},[a,o]),u&&!a&&!o&&!m?(0,G.jsx)(f,{to:g,replace:!0}):e};function xce(){let{fetchCountries:e}=Sc();return(0,W.useEffect)(()=>{e()},[]),(0,G.jsx)(bce,{children:(0,G.jsx)(S7,{children:(0,G.jsx)(y,{})})})}var E7=ee,D7={container:`_container_d6czg_3`,navWrapper:`_navWrapper_d6czg_10`,page404:`_page404_d6czg_14`,title:`_title_d6czg_19`,rotate:`_rotate_d6czg_1`},Sce=e=>(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,fill:`none`,...e,children:[(0,G.jsxs)(`mask`,{id:`d`,width:644,height:216,x:0,y:0,maskUnits:`userSpaceOnUse`,style:{maskType:`alpha`},children:[(0,G.jsx)(`mask`,{id:`a`,width:183,height:212,x:0,y:4,maskUnits:`userSpaceOnUse`,style:{maskType:`alpha`},children:(0,G.jsx)(`path`,{fill:`#1D2939`,d:`M104.443 215.377h50.83v-36.035h26.807v-41.748h-26.807V4H80.566L0 135.543v43.799h104.443v36.035Zm-59.472-75.879v-1.465l59.765-96.972h1.172v98.437H44.971Z`})}),(0,G.jsx)(`g`,{fill:`#1D2939`,mask:`url(#a)`,children:(0,G.jsx)(`path`,{d:`M4 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34
29815a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 7
2985a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 105
298a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34
298129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34
298153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 165
298a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34
298189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM16 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM22 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM28 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM34 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM40 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM46 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM52 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM58 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM64 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM70 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM76 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM82 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM88 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM94 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM100 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM106 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM112 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM118 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM124 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM130 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM136 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM142 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM148 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM154 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM160 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM166 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM172 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM178 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM184 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z`})}),(0,G.jsx)(`mask`,{id:`b`,width:183,height:212,x:461,y:4,maskUnits:`userSpaceOnUse`,style:{maskType:`alpha`},children:(0,G.jsx)(`path`,{fill:`#1D2939`,d:`M565.443 215.377h50.83v-36.035h26.807v-41.748h-26.807V4h-74.707L461 135.543v43.799h104.443v36.035Zm-59.472-75.879v-1.465l59.765-96.972h1.172v98.437h-60.937Z`})}),(0,G.jsx)(`g`,{fill:`#1D2939`,mask:`url(#b)`,children:(0,G.jsx)(`path`,{d:`M465 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 21a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 27a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 33a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 39a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 45a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 51a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 57
298a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 57a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 63a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 69a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 75a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 81
298a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 81a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 87a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 93a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 99a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 105a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 111a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 11
2987a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 117a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 123a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 129a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 135a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 141
298a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 141a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 147a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 153a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 159a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 165a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 171a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 177a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 183a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 189a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 195a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 201a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 207a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM465 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM471 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM477 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM483 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM489 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM495 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM501 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM507 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM513 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM519 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM525 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM531 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM537 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM543 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM549 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM555 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM561 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM567 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM573 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM579 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM585 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM591 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM597 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM603 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM609 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM615 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM621 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM627 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM633 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM639 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM645 213a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z`})}),(0,G.jsx)(`mask`,{id:`c`,width:182,height:219,x:231,y:0,maskUnits:`userSpaceOnUse`,style:{maskType:`alpha`},children:(0,G.jsx)(`path`,{fill:`#1D2939`,d:`M321.674 218.994c56.25 0 90.527-42.041 90.527-109.424v-.293C412.201 41.895 377.924 0 321.674 0S231 41.895 231 109.277v.293c0 67.383 34.424 109.424 90.674 109.424Zm0-42.041c-23.291 0-36.328-24.463-36.328-67.383v-.293c0-42.92 13.037-67.236 36.328-67.236 23.291 0 36.181 24.316 36.181 67.236v.293c0 42.92-12.89 67.383-36.181 67.383Z`})}),(0,G.jsx)(`g`,{fill:`#1D2939`,mask:`url(#c)`,children:(0,G.jsx)(`path`,{d:`M236 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 11a1 1 0 1 1-
2982 0 1 1 0 0 1 2 0ZM320 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 23a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 29a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 35a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 41a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 47a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 53a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 59a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242
29865a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 65a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 71a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 77a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 83a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 89a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 95a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 101a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 10
2987a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 107a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 113a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 119a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 125a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 131a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 137a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 143a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 149a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 155a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 161a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 167a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 173a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 179a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 185a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 191a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 197a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z
298M248 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 203a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM296 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM350 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 209a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM236 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM242 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM248 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM254 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM260 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM266 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM272 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM278 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM284 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM290 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM302 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM308 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM314 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM320 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM326 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM332 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM338 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM344 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM356 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM362 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM368 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM374 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM380 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM386 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM392 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM398 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM404 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM410 215a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z`})})]}),(0,G.jsx)(`g`,{mask:`url(#d)`,children:(0,G.jsx)(`path`,{fill:`url(#e)`,d:`M-11-10h666v239H-11z`})}),(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`linearGradient`,{id:`e`,x1:38,x2:203.564,y1:-10,y2:423.621,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#9D41FF`}),(0,G.jsx)(`stop`,{offset:.469,stopColor:`#2858FF`}),(0,G.jsx)(`stop`,{offset:.771,stopColor:`#29B8FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#00F0FF`})]})})]}),Cce=t({default:()=>O7});function O7(){let{t:e}=_(`home`),t=u();return(0,G.jsxs)(`main`,{className:D7.container,children:[(0,G.jsx)(`header`,{children:(0,G.jsx)(`div`,{className:D7.navWrapper,children:(0,G.jsx)(Z6,{iconProps:{width:97,height:40}})})}),(0,G.jsx)(`div`,{children:(0,G.jsx)(Sce,{className:D7.page404})}),(0,G.jsx)(L,{component:`h1`,variant:`h2Semibold`,className:D7.title,children:e(`page404.title`)}),(0,G.jsx)(z,{variant:`contained`,onClick:()=>{t(`/orgs`)},children:e(`page404.btnLabel`)})]})}function wce(){let{fetchCountries:e}=Sc(),{fetchOrganizations:t}=Kt();return(0,W.useEffect)(()=>{e(),t(!0)},[]),(0,G.jsx)(S7,{children:(0,G.jsx)(y,{})})}var Tce=Yt,Ece=()=>(0,G.jsx)(pt,{mfaUrl:see}),k7={cardContainer:`_cardContainer_am18c_3`,card:`_card_am18c_3`,title:`_title_am18c_18`,desc:`_desc_am18c_19`,freeTrialWarning:`_freeTrialWarning_am18c_28`,form:`_form_am18c_35`,errorAlert:`_errorAlert_am18c_44`,linkTip:`_linkTip_am18c_48`,auth0:`_auth0_am18c_40`,button:`_button_am18c_59`,linkBtn:`_linkBtn_am18c_64`,rotate:`_rotate_am18c_1`},Dce=`marketplaceLinkedOrgId`,A7={Attempted:`attempted`,Linked:`linked`,Proceed:`proceed`},Oce=e=>Object.values(A7).includes(e),kce=e=>{let t=2166136261;for(let n=0;n<e.length;n+=1)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return`${e.length}-${(t>>>0).toString(36)}`},Ace=e=>{let t=e.get(on.Partner)||``,n=e.get(on.EntitlementId)||``;return kce(t&&n?`${t.length}:${t}|${n.length}:${n}`:e.toString())},jce=(e,t,n)=>({fingerprint:e,result:t,...n?{orgId:n}:{}}),j7=(e,t)=>{if(!e||typeof e!=`object`||!(`fingerprint`in e)||!(`result`in e))return;let n=e;if(!(n.fingerprint!==t||!Oce(n.result)))return n},Mce=(e,t)=>j7(e,t)?.result,Nce=(e,t,n)=>!!e&&!Mce(t,n),M7=e=>e?`/login?${new URLSearchParams({[nt.Redirect]:`/orgs/${e}/projects`,[Dce]:e}).toString()}`:`/login`,N7={root:`_root_z3ljd_3`,tip:`_tip_z3ljd_8`,rotate:`_rotate_z3ljd_1`},P7=e=>{let{type:t,classes:n={root:``,btn:``},tipVariant:i=`body1Regular`,linkSize:a=`medium`}=e,{t:s}=_([`common`,`auth`,`account`,`information`]),{search:c=``}=p(),[l,u]=r(),{tip:d,link:f,linkLabel:m}=(0,W.useMemo)(()=>({[je.SignUp]:{tip:s(`auth:signInTip`),link:`/login${c}`,linkLabel:s(`common:button.login`)},[je.LogIn]:{tip:s(`auth:hasAccountTip`),link:`/signup${c}`,linkLabel:s(`auth:signUp`)},[je.Information]:{tip:s(`information:or`),link:`/login`,linkLabel:s(`information:existingAccount`)},[je.ResetPwd]:{tip:``,link:``,linkLabel:``}})[t],[t]);return(0,G.jsxs)(`div`,{className:R(N7.root,n.root),children:[(0,G.jsx)(L,{variant:i,className:N7.tip,children:d}),(0,G.jsx)(o,{onClick:()=>{l.delete(_t.Email),l.delete(_t.AccountDeleted),u(l)},to:f,children:(0,G.jsx)(z,{variant:`textBlue`,size:a,withMargin:!1,className:n.btn,children:m})})]})},F7=function(e){return e.Email=`Email`,e.Sms=`Sms`,e}({}),I7={phoneInput:`_phoneInput_1s7bv_3`,codeWrapper:`_codeWrapper_1s7bv_7`,codeInputWrapper:`_codeInputWrapper_1s7bv_12`,codeBtn:`_codeBtn_1s7bv_16`,countdown:`_countdown_1s7bv_22`,rotate:`_rotate_1s7bv_1`},Pce=function(e){return e.Phone=`phone`,e}({}),L7=e=>{let{t}=_([`account`,`common`]),{showLabel:n=!0,placeholder:r=``,defaultPhoneValue:i,defaultTr
298iggerCountdown:a=!1,defaultCounter:o=60,onChange:s=()=>{}}=e,{formState:{errors:c},watch:l}=Re(),u=l(`phone`)||i,{initCounter:f,disabled:p,handleCounterStart:m,handleCounterOver:h}=p8(a,o),g=p||!u||!!c.phone;return(0,G.jsx)(`div`,{className:I7.codeWrapper,children:(0,G.jsx)(`span`,{className:I7.codeInputWrapper,children:(0,G.jsx)(E,{name:`code`,rules:{required:t(`common:warning.required`,{name:t(`account:profile.code`)}),validate:e=>rr.test(e)||t(`common:warning.verifyCode`)},componentProps:{label:n?t(`account:profile.code`):void 0,fullWidth:!0,placeholder:r,suffix:(0,G.jsx)(z,{variant:`textGhost`,size:`small`,disabled:g,onClick:async()=>{m(),await n8.sendSmsVerifyCode({phone:u})},className:I7.codeBtn,children:p?(0,G.jsx)(d,{t,i18nKey:`account:profile.countdownGetCode`,components:[(0,G.jsx)(h8,{isPure:!0,className:I7.countdown,time:f,cb:h})]}):t(`account:profile.getCode`)})},handleChange:s})})})},R7=()=>{let{t:e}=_([`auth`,`common`,`account`]);return(0,G.jsxs)(DC,{feature:xs.Mobilephone,children:[(0,G.jsx)(E,{name:Pce.Phone,rules:{required:e(`common:warning.required`,{name:e(`account:profile.phone`)}),validate:{format:t=>Hn.test(t)||e(`account:profile.editProfile.errorMsg.mobilephone`)}},componentProps:{label:e(`account:profile.phone`),wrapperClassName:I7.phoneInput,fullWidth:!0,prefixComponent:(0,G.jsx)(`span`,{children:`(+86)`})}}),(0,G.jsx)(L7,{})]})},z7={actions:`_actions_zv3xk_3`,lockTip:`_lockTip_zv3xk_7`,rotate:`_rotate_zv3xk_1`},Fce=Cs(xs.AliyunCaptcha),Ice=e=>{let{onLoginFinished:t}=e,{t:n}=_([`auth`]),{loginFailMsg:r,onLogin:i,submitBtnLoading:a,isAccountLocked:o}=Ct({unlinkThirdPartyUrl:xo,disableMFAUrl:ho,errorMsgMap:e8}),{aliyunCaptchaConfig:{prefix:s,SceneId:c},aliyunCaptchaRef:l,checkAliyunReCaptcha:u}=We({config:{aliyun:Fce,google:!1}}),d=async(e,t)=>{u(e)||await f(e,t)},f=(e,n)=>i({value:e,type:`phone`,cb:t,setError:n});return(0,G.jsxs)(G.Fragment,{children:[o&&(0,G.jsx)(vt,{link:`/password/reset`,classes:{root:z7.lockTip}}),(0,G.jsxs)(S4,{classes:{actions:z7.actions},buttonProps:{fullWidth:!0,size:`xl`,children:n(`auth:login`),loading:a},useFormProps:{mode:`onBlur`},onSubmit:d,children:[(0,G.jsx)(R7,{}),(0,G.jsx)(Xe,{errMsg:r}),c&&s&&(0,G.jsx)($t,{ref:l,SceneId:c,prefix:s,onSubmit:f})]})]})},Lce={agreementRoot:`_agreementRoot_1x1q3_3`,rotate:`_rotate_1x1q3_1`},B7={agreeText:`_agreeText_ihabu_3`,termLink:`_termLink_ihabu_9`,checkbox:`_checkbox_ihabu_31`,agreeWarning:`_agreeWarning_ihabu_37`,rotate:`_rotate_ihabu_1`},V7=e=>{let{agreed:t=!1,showWarning:n=!1,cb:r,classes:i={root:``,text:``}}=e,{t:a}=_(`auth`);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(L,{variant:`body3Regular`,component:`p`,lang:Es,className:R(B7.agreeText,i.root),children:[(0,G.jsx)(Pr,{className:B7.checkbox,onChange:e=>{let t=e.target.checked;r&&r(t)},checked:t}),(0,G.jsx)(`span`,{className:i.text,children:(0,G.jsx)(d,{i18nKey:`signUpTip`,t:a,components:[(0,G.jsx)(`a`,{target:`_blank`,href:Xo,className:B7.termLink}),(0,G.jsx)(`a`,{target:`_blank`,href:Fo,className:B7.termLink})]})})]}),n&&(0,G.jsx)(L,{variant:`body3Regular`,component:`p`,className:B7.agreeWarning,children:a(`agreeWarning`)})]})},H7=``,U7=`ignore`,Rce=H7.trim()!==U7&&Cs(xs.GoogleRecaptcha),zce=H7.trim()!==U7&&Cs(xs.AliyunCaptcha),W7=e=>{let[t,n]=(0,W.useState)(!1),[r,i]=(0,W.useState)(!1),a=e=>{n(e),r&&i(!e)};return(0,G.jsx)(G.Fragment,{children:(0,G.jsx)(gt,{...e,recaptcha:{aliyun:zce,google:Rce},agreement:{isAgree:t,setAgreeWarning:i,agreementDom:(0,G.jsx)(V7,{cb:a,agreed:t,showWarning:r,classes:{root:R({[Lce.agreementRoot]:!B})}})}})})},Bce={lockTip:`_lockTip_8pxhy_1`},Vce=e=>{let{buttonLabel:t,classes:n={divider:``,button:``},onLoginFinished:r,isBackup:i}=e,{onLogin:a,submitBtnLoading:o,isAccountLocked:s,loginFailMsg:c,setLoginFailMsg:l}=Ct({unlinkThirdPartyUrl:xo,disableMFAUrl:ho,errorMsgMap:e8}),{openOAuthAccountConfirmPage:u}=He({noPublicEmail:co,fillInformation:Eo,signUpUrl:`/signup`},t8);return(0,G.jsxs)(G.Fragment,{children:[!i&&(0,G.jsxs)(G.Fragment,{children:[s&&(0,G.jsx)(vt,{classes:{root:Bce.lockTip},link:`/password/reset`}),(0,G.jsx)(DC,{feature:xs.Oauth,children:(0,G.jsx)(tt,{onItemClick:u,type:je.LogIn,classes:{divider:n.divider}})})]}),(0,G.jsx)(W7,{type:en.Login,handleBtnClick:e=>a({value:e,cb:r}),loading:o,setServerErrorMsg:l,serverErrorMsg:c,buttonLabel:t,classes:{button:n.button}})]})},G7=({tip:e=(0,G.jsx)(G.Fragment,{}),onLoginFinished:t,classes:n,buttonLabel:r=``,loginMethodType:i=F7.Email,isBackup:a=!1})=>(0,G.jsxs)(G.Fragment,{children:[i===F7.Sms?(0,G.jsx)(Ice,{onLoginFinished:t}):(0,G.jsx)(Vce,{buttonLabel:r,classes:n,onLoginFinished:t,isBackup:a}),e]}),K7=function(e){return e.SignUp=`signUp`,e.LogIn=`login`,e}({}),q7={zillizCloudAuth0Wrapper:`_zillizCloudAuth0Wrapper_kbmnl_3`,errorPanel:`_errorPanel_kbmnl_160`,wrapper:`_wrapper_kbmnl_171`,forgetLink:`_forgetLink_kbmnl_172`,rotate:`_rotate_kbmnl_1`},J7={error:{forgotPassword:{too_many_requests:`You have reached the limit on password reset attempts. Please wait before trying again.`,"lock.fallback":`Something went wrong when requesting the password change.`,enterprise_email:`Your email's domain is part of an enterprise identity provider. To reset your password, please contact your organization admin.`,invali
298d_captcha:`Solve the challenge question to verify you are not a robot.`,invalid_recaptcha:`Select the checkbox to verify you are not a robot.`},login:{blocked_user:`The user is blocked.`,invalid_user_password:`Wrong credentials.`,invalid_captcha:`Solve the challenge question to verify you are not a robot.`,invalid_recaptcha:`Select the checkbox to verify you are not a robot.`,"lock.fallback":`Something went wrong when attempting to log in.`,"lock.invalid_code":`Wrong verification code.`,"lock.invalid_email_password":`Wrong email or password.`,"lock.invalid_username_password":`Wrong username or password.`,"lock.network":`Unable to reach the server. Please check your connection and try again.`,"lock.popup_closed":`Popup window closed.Please try again.`,"lock.unauthorized":`Permissions were not granted. Please try again.`,"lock.mfa_registration_required":`Multifactor authentication is required but your device is not enrolled. Please enroll it before moving on.`,"lock.mfa_invalid_code":`Wrong verification code. Please try again.`,password_change_required:`You need to update your password because this is the first time you are logging in, or because your password has expired.`,password_leaked:`We have detected a potential security issue with this account. To protect your account, we have blocked this login. An email was sent with instructions on how to unlock your account.`,too_many_attempts:`Your account has been locked after multiple failed login attempts.`,too_many_requests:`There are too many requests right now. Please reload the page and try again. If this persists, please try again later.`,session_missing:`Unable to complete your authentication request. Please try again after closing all open dialogs`,"hrd.not_matching_email":`Please use your corporate email to login.`},passwordless:{"bad.email":`The email is invalid`,"bad.phone_number":`The phone number is invalid`,"lock.fallback":`Something went wrong`,invalid_captcha:`Solve the challenge question to verify you are not a robot.`,invalid_recaptcha:`Select the checkbox to verify you are not a robot.`},signUp:{invalid_password:`Password is invalid.`,invalid_signup:`The signup request has failed. Please retry or use a different email address`,"lock.fallback":`Something went wrong when attempting to sign up.`,password_dictionary_error:`Password is too common.`,password_leaked:`This combination of credentials was detected in a public data breach on another website. Before your account is created, please use a different password to keep it secure.`,password_no_user_info_error:`Password is based on user information.`,password_strength_error:`Password is too weak.`,user_exists:`The user already exists.`,username_exists:`The username already exists.`,social_signup_needs_terms_acception:`Please agree to the Terms of Service below to continue.`}},success:{logIn:`You are logged in now.`,forgotPassword:`We've just sent you an email to reset your password.`,magicLink:`We sent you a link to log in<br />to %s.`,signUp:`Thanks for signing up.`},blankErrorHint:``,blankPasswordErrorHint:`Password cannot be blank`,blankEmailErrorHint:`Email cannot be blank`,blankUsernameErrorHint:`Username cannot be blank`,blankCaptchaErrorHint:`Cannot be blank`,codeInputPlaceholder:`your code`,databaseEnterpriseLoginInstructions:``,databaseEnterpriseAlternativeLoginInstructions:`or`,databaseSignUpInstructions:``,databaseAlternativeSignUpInstructions:`or`,emailInputPlaceholder:`Work Email`,captchaCodeInputPlaceholder:`Please enter the code shown above`,captchaMathInputPlaceholder:`Please solve the formula shown above`,enterpriseLoginIntructions:`Please log in with your corporate credentials.`,enterpriseActiveLoginInstructions:`Please enter your corporate credentials at %s.`,failedLabel:`Failed`,forgotPasswordTitle:`Reset Your Password`,forgotPasswordAction:`Forgot Password?`,forgotPasswordInstructions:`Please enter your email address. We will send you an email with instructions on how to reset your password.`,forgotPasswordSubmitLabel:`Send Email`,invalidErrorHint:``,invalidPasswordErrorHint:`Password is invali
298d`,invalidEmailErrorHint:`Email is invalid`,invalidUsernameErrorHint:`Username is invalid`,lastLoginInstructions:`Last time you logged in with`,loginAtLabel:`Log in at %s`,loginLabel:`Log In`,loginSubmitLabel:`Log In`,loginWithLabel:`Continue with %s`,notYourAccountAction:`Not your account?`,passwordInputPlaceholder:`Password`,passwordStrength:{containsAtLeast:`Contain at least %d of the following %d types of characters:`,identicalChars:`No more than %d identical characters in a row (e.g., "%s" not allowed)`,nonEmpty:`Password cannot be empty`,numbers:`Numbers (i.e. 0-9)`,lengthAtLeast:`At least %d characters in length`,lowerCase:`Lower case letters (a-z)`,shouldContain:`Should contain:`,specialCharacters:`Special characters (e.g. !@#$%^&*)`,upperCase:`Upper case letters (A-Z)`},passwordlessEmailAlternativeInstructions:`Otherwise, please enter your email to sign in<br/>or create an account`,passwordlessEmailCodeInstructions:`An email with the verification code has been sent to %s.`,passwordlessEmailInstructions:`Please enter your email to sign in<br/>or create an account`,passwordlessSMSAlternativeInstructions:`Otherwise, please enter your phone to sign in<br/>or create an account`,passwordlessSMSCodeInstructions:`An SMS with the verification code has been sent to %s.`,passwordlessSMSInstructions:`Please enter your phone to sign in<br/>or create an account`,phoneNumberInputPlaceholder:`your phone number`,resendCodeAction:`Did not get the code?`,resendLabel:`Resend`,resendingLabel:`Resending...`,retryLabel:`Retry`,sentLabel:`Sent!`,showPassword:`Show password`,signUpTitle:``,signUpLabel:`Sign Up`,signUpSubmitLabel:`Sign Up`,signUpTerms:`By continuing, you agree to the <a target='_blank' href='https://zilliz.com/terms-and-conditions'>Terms of Service</a> and <a target='_blank' href='https://zilliz.com/privacy-policy'>Privacy Policy</a>.`,signUpWithLabel:`Continue with %s`,socialLoginInstructions:``,socialSignUpInstructions:``,ssoEnabled:`Single Sign-On Enabled`,submitLabel:`Submit`,unrecoverableError:`Something went wrong, please contact <a target='_blank' href='https://support.zilliz.com/hc/en-us'>technical support</a>.`,usernameFormatErrorHint:`Use %d-%d letters, numbers and the following characters: "_", ".", "+", "-"`,usernameInputPlaceholder:`your username`,usernameOrEmailInputPlaceholder:`username/email`,title:``,welcome:`Welcome %s!`,windowsAuthInstructions:`You are connected from your corporate network…`,windowsAuthLabel:`Windows Authentication`,mfaInputPlaceholder:`Code`,mfaLoginTitle:`2-Step Verification`,mfaLoginInstructions:`Please enter the verification code generated by your mobile application.`,mfaSubmitLabel:`Log In`,mfaCodeErrorHint:`Use %d numbers`},Y7=`signup-tip-container`,Hce=`auth0-lock-input-email`,Uce=e=>{let t=document.createElement(`div`);return t.className=Y7,t.innerHTML=` 299 <div style=" 300 background: linear-gradient(118deg, rgba(0, 239, 139, 0.10) 0.51%, rgba(0, 68, 228, 0.10) 36.98%, rgba(205, 63, 255, 0.10) 72.73%); 301 border-radius: 8px; 302 padding: 8px 12px; 303 margin-bottom: 12px; 304 font-size: 12px; 305 font-family: "Inter", "Pingfang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif; 306 color: #1D2939; 307 "> 308 ${e} 309 </div> 310 `,t},Wce=e=>{try{let t=document.querySelector(`.${Hce}`);if(!t||!t.isConnected)return!1;if(document.querySelector(`.${Y7}`))return!0;let n=Uce(e);return t.parentNode?.insertBefore(n,t),!0}catch{return!1}},Gce=()=>{try{let e=document.querySelector(`.${Y7}`);e&&e.remove()}catch{}},Kce=({lock:e,tipText:t,auth0ContainerId:n})=>{(0,W.useEffect)(()=>{if(!e||!t)return;let r=!1,i=null,a=()=>{try{if(r)return;o()}catch(e){console.error(`handleSignupReady error:`,e)}},o=()=>{try{let e=document.querySelector(`#${n}`);if(!e)return;i=new MutationObserver(()=>{try{setTimeout(()=>{r=Wce(t),r&&i&&(i.disconnect(),i=null)},300)}catch{}}),i.observe(e,{childList:!0,subtree:!0,attributes:!1,characterData:!1}),setTimeout(s,5e3)}catch{}},s=()=>{i&&=(i.disconnect(),null)};try{e.on(`signup ready`,a)}catch(e){console.error(`Registering event listeners error:`,e)}return()=>{try{e&&e.off(`signup ready`,a),s(),Gce()}catch{}}},[e,t])},qce=()=>globalThis.dataLayer,X7=e=>{try{qce()?.push(e)}catch{}},Jce=(e,t)=>({event:e,flow_version:`v1`,...t}),Yce=(e,t)=>({event:e,flow_version:`v1`,...t}
310),Z7=(e,t={})=>{X7(Jce(e,t))},Xce=(e,t={})=>{X7(Yce(e,t))},Zce=e=>{X7({event:`ga4_user_id_update`,user_id:e})},Qce=()=>{X7({event:`consent_update`})},Q7=e=>e.isInvite?`invite`:e.isMarketplace?`marketplace`:`self_serve`,$ce=e=>e===`enterprise`?`business`:e===`nonEnterprise`?`non_business`:`unknown`,ele=e=>{let t=typeof e==`object`&&e&&`response`in e?Number(e.response?.status):void 0;return t&&t>=400&&t<500?`client_error`:t&&t>=500?`server_error`:e instanceof TypeError?`network_error`:`request_failed`},tle=e=>{switch(e){case to.Free:return`free`;case to.Standard:return`standard`;case to.Enterprise:return`enterprise`;case to.BYOC:return`byoc`;case to.Serverless:return`serverless`;case to.BusinessCritical:return`business_critical`;default:return`unknown`}},nle=e=>({...e.plan?{plan_type:e.plan}:{},...e.cloudProvider?{cloud_provider:e.cloudProvider}:{},...e.regionId?{region_id:e.regionId}:{},...e.chargeMethod?{charge_method:e.chargeMethod}:{},is_global_cluster:!!e.isGlobalCluster,is_byoc:!!e.isByoc}),$7=()=>{let e=new Set;return{trackOnce:(t,n)=>e.has(t)?!1:(e.add(t),n(),!0)}},e9=`zilliz-cloud-login`,rle=``,ile=``,t9=e=>{let{initialScreen:t,tip:n}=e,[i]=r(),{invitedEmail:a,marketplaceSearchParams:o}=dn(),[s,c]=W.useState(``),[l,u]=W.useState(null),[d,f]=W.useState(null),p=(0,W.useRef)($7());return(0,W.useEffect)(()=>{let e=Dt(i.get(nt.Redirect)),n=new URLSearchParams(o);e&&n.set(nt.Redirect,e);let r=n.toString(),s=null;if(window?.Auth0Lock===void 0){c(`Auth0 js not loaded, can not get auth0 object on window`),f(`auth0_unavailable`);return}return(async()=>{try{s=await new window.Auth0Lock(rle,ile,{container:e9,theme:{logo:``,primaryColor:`#3F46FF`},languageDictionary:J7,auth:{redirect:!0,redirectUrl:`${window.location.origin}/login/loading?${r}`,responseType:`code`},prefill:{email:a},allowAutocomplete:!0,allowPasswordAutocomplete:!1,allowShowPassword:!0}),u(s),s.on(`unrecoverable_error`,function(e){c(JSON.stringify(e.message)),f(`auth0_unrecoverable`)});try{s.on(`signup error`,function(){B&&t===K7.SignUp&&Z7(`auth0_failed`,{failure_reason:`auth0_signup_rejected`})})}catch{}s.show({allowForgotPassword:!1,allowSignUp:t===K7.SignUp,initialScreen:t,allowLogin:t===K7.LogIn}),B&&t===K7.SignUp&&p.current.trackOnce(`signup_auth_ready`,()=>{Z7(`signup_auth_ready`)})}catch(e){c(JSON.stringify(e)),f(`request_failed`)}})(),()=>{s?.hide()}},[i,a,t,o]),Kce({lock:l,auth0ContainerId:e9,tipText:`Register with a work email for <strong style="font-weight: 500;">$100</strong> credits.`}),(0,W.useEffect)(()=>{if(d){if(B&&t===K7.SignUp){Z7(`auth0_failed`,{failure_reason:d});return}s&&window.dataLayer?.push({event:`auth0_failed`,error_msg:s})}},[s,d,t]),(0,G.jsxs)(`div`,{className:q7.wrapper,children:[(0,G.jsx)(`div`,{id:e9,className:q7.zillizCloudAuth0Wrapper,children:s&&(0,G.jsx)(L,{className:q7.errorPanel,dangerouslySetInnerHTML:{__html:J7.unrecoverableError}})}),n]})},n9={simpleLayoutContent:`_simpleLayoutContent_1o5rg_3`,main:`_main_1o5rg_8`,errorAlert:`_errorAlert_1o5rg_12`,marketplaceLinkedAlert:`_marketplaceLinkedAlert_1o5rg_16`,mainContainer:`_mainContainer_1o5rg_21`,title:`_title_1o5rg_25`,titleUnderTip:`_titleUnderTip_1o5rg_28`,footer:`_footer_1o5rg_33`,footerLink:`_footerLink_1o5rg_42`,tip:`_tip_1o5rg_46`,forgetLink:`_forgetLink_1o5rg_50`,rotate:`_rotate_1o5rg_1`},r9=()=>{let[e]=r();return e.get(`marketplaceLinkedOrgId`)||``},i9=e=>{let{className:t}=e,{t:n}=_([`marketplace`]),r=r9();return r?(0,G.jsx)(ni,{severity:`info`,className:t,children:n(`marketplace:confirm.alreadyLinkedInfo`,{orgId:r})}):null},a9=e=>{let{classes:t={link:``}}=e,{t:n}=_(`auth`);return(0,G.jsx)(o,{to:`/password/reset`,className:R(n9.footerLink,t.link),"data-event":vs.FORGET_PASSWORD,"data-action":Ds.OPEN,children:(0,G.jsx)(L,{variant:`body3Medium`,component:`p`,className:n9.footer,children:n(`forgetPwd`)})})},ale=()=>{let e=$e(me),{showJoinTip:t,isAccountDeleted:n}=dn(),i=u(),{t:a}=_(`auth`),[o]=r(),s=r9(),c=Dt(o.get(nt.Redirect)),l=new URLSearchParams({[nt.Redirect]:c}).toString(),d=()=>{setTimeout(()=>i(c?`/orgs?${l}`:`/orgs`))};return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Ae,{classes:{root:n9.errorAlert}}),(0,G.jsx)(i9,{className:n9.marketplaceLinkedAlert}),(0,G.jsx)(L,{variant:`h1Semibold`,className:R(n9.title,{[n9.titleUnderTip]:t||n||e.message||s}),children:a(`loginTitle`)}),(0,G.jsx)(DC,{feature:xs.SignUp,children:(0,G.jsx)(P7,{type:je.LogIn,classes:{root:n9.tip}})}),t8?(0,G.jsx)(t9,{initialScreen:K7.LogIn,tip:(0,G.jsx)(a9,{classes:{link:n9.forgetLink}})}):(0,G.jsx)(G7,{tip:(0,G.jsx)(a9,{}),onLoginFinished:d})]})},o9={header:`_header_1bl25_3`,logo:`_logo_1bl25_14`,btn:`_btn_1bl25_19`,rotate:`_rotate_1bl25_1`},s9=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 117 48`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`rect`,{x:55.2751,y:15.0001,width:13.6098,height:3,fill:`black`}),(0,G.jsx)(`rect`,{x:102.432,y:15.0001,width:13.6098,height:3,fill:`black`}),(0,G.jsx)(`rect`,{x:80.4653,y:8.04004,width:3.22338,height:24.96,fill:`black`}),(0,G.jsx)(`rect`,{x:73.3022,y:15.0001,width:3.22339,height:18,fill:`black`}),(0,G.jsx)(`rect`,{width:3.22339,height:3.24,transform:`matrix(1 0 0 -1 73.3
310022 11.28)`,fill:`black`}),(0,G.jsx)(`rect`,{x:54.9169,y:30,width:14.3262,height:3,fill:`black`}),(0,G.jsx)(`path`,{d:`M54.9169 30L65.0658 18L68.8849 18L58.7359 30L54.9169 30Z`,fill:`black`}),(0,G.jsx)(`path`,{d:`M102.074 30L112.223 18L116.042 18L105.893 30L102.074 30Z`,fill:`black`}),(0,G.jsx)(`rect`,{x:87.6284,y:8.04004,width:3.22339,height:24.96,fill:`black`}),(0,G.jsx)(`rect`,{x:102.074,y:30,width:14.3261,height:3,fill:`black`}),(0,G.jsx)(`rect`,{x:94.7914,y:15.0001,width:3.2234,height:18,fill:`black`}),(0,G.jsx)(`rect`,{width:3.2234,height:3.24,transform:`matrix(1 0 0 -1 94.7914 11.28)`,fill:`black`}),(0,G.jsx)(`path`,{d:`M22.3846 32.633V48H25.3692V29.5981L33.3056 43.4152C34.2037 42.9737 35.0666 42.4711 35.889 41.9128L27.2013 26.7876L36.7688 30.2879C37.2005 29.3953 37.5431 28.4511 37.7851 27.4671L32.4082 25.5H47.7538V22.5H29.4462L43.1926 14.5226C42.7533 13.6199 42.2534 12.7525 41.6979 11.9259L26.7394 20.6067L30.1923 11.0711C29.3061 10.633 28.3684 10.2842 27.3908 10.0364L25.3692 15.6192V0H22.3846V18.4019L14.4482 4.58473C13.5501 5.02621 12.6872 5.52878 11.8648 6.08707L20.5164 21.1495L11.0056 17.67C10.571 18.5612 10.2252 19.5042 9.98007 20.4873L15.4816 22.5H0V25.5H18.3075L4.56124 33.4773C5.00045 34.38 5.50045 35.2474 6.05588 36.074L21.1301 27.326L17.6391 36.967C18.5277 37.3997 19.4674 37.7428 20.4468 37.9847L22.3846 32.633Z`,fill:`url(#paint0_linear_8479_17622)`}),(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`linearGradient`,{id:`paint0_linear_8479_17622`,x1:10.1477,y1:5.1,x2:35.0448,y2:45.2456,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#9D41FF`}),(0,G.jsx)(`stop`,{offset:.468794,stopColor:`#2858FF`}),(0,G.jsx)(`stop`,{offset:.770884,stopColor:`#29B8FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#00F0FF`})]})})]}),c9=e=>{let{showAction:t=!0,btnProps:n={}}=e,{children:r,...i}=n,{t:a}=_([`common`]),[o,s]=(0,W.useState)(!1),c=u(),{removeUser:l}=Y6(),{removeStorageValue:d}=k(In.JOIN_ORG_OR_PROJECT_INFO,{}),{storedValue:f}=k(In.TOKEN,``);return(0,G.jsxs)(`div`,{className:o9.header,children:[(0,G.jsx)(s9,{className:o9.logo,onClick:()=>c(`/login`)}),t&&(0,G.jsx)(z,{variant:`outlined`,size:`small`,onClick:async()=>{try{s(!0),f&&(await n8.logout(f),l(),d(),c(`/login`))}finally{s(!1)}},loading:o,className:o9.btn,...i,children:r||a(`common:layout.user.logout`)})]})},l9={root:`_root_h5gbn_3`,cloudLogo:`_cloudLogo_h5gbn_9`,rotate:`_rotate_h5gbn_1`},ole=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 33 32`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{d:`M6.35132 12H24.2812C24.4702 12 24.5537 11.7619 24.4061 11.6438L19.8513 8`,stroke:`#CDD8E8`,strokeWidth:1.5,strokeLinecap:`round`}),(0,G.jsx)(`path`,{d:`M25.8513 20L7.92147 20C7.73242 20 7.64891 20.2381 7.79654 20.3562L12.3513 24`,stroke:`#CDD8E8`,strokeWidth:1.5,strokeLinecap:`round`})]}),sle=()=>{let{cloud:e}=dn(),{storedValue:t}=k(In.MARKETPLACE,{}),n=(0,W.useMemo)(()=>{switch((e||t?.cloud||``).toLowerCase()){case Rc.Aws:case Rc.AwsCn:return P.AWS;case Rc.Ali:return P.ALI;case Rc.Gcp:return P.GCP;case Rc.Azure:return P.AZURE;default:return P.AWS}},[e,t?.cloud]),r=n===P.AZURE?(0,G.jsx)(Kr,{width:40,height:40}):(0,G.jsx)(jc,{cloudProvider:n,height:40,width:`auto`,className:l9.cloudLogo});return(0,G.jsxs)(`div`,{className:l9.root,children:[r,(0,G.jsx)(ole,{width:32,height:32}),(0,G.jsx)(s9,{height:39,width:81})]})},cle=()=>{let{t:e}=_([`marketplace`]),t=u(),[n]=r(),i=n.get(on.OfferType),a=n.get(on.Partner)||``,{removeStorageValue:o}=k(In.MARKETPLACE),s=$e(ke),c=It(In.ENT_ID_VERIFIED),l=Ace(n),d=j7(c,l),f=d?.result,p=Nce(a,c,l),m=f===A7.Linked,[h,g]=(0,W.useState)(p||m),{setStorageValue:v}=k(In.ENT_ID_VERIFIED);return(0,W.useEffect)(()=>{let e=async()=>{let e=A7.Attempted,r=``;try{let t=Object.fromEntries(n),{_alreadyBindMarketplace:i,_orgId:a}=await Nc.checkMarketplaceEntId(t);i?(e=A7.Linked,r=a):e=A7.Proceed}catch{e=A7.Attempted}finally{v(jce(l,e,r)),g(!1),e===A7.Linked&&(o(),t(M7(r)))}};if(m){o(),t(M7(d?.orgId));return}p&&e()},[]),(0,G.jsxs)(kt,{loading:h||s,children:[(0,G.jsx)(c9,{showAction:!1}),(0,G.jsx)(`div`,{className:k7.cardContainer,children:(0,G.jsxs)(`div`,{className:k7.card,children:[(0,G.jsx)(sle,{}),(0,G.jsx)(L,{variant:`h2Semibold`,className:k7.title,children:e(`marketplace:confirm.title`)}),(0,G.jsx)(L,{variant:`body2Regular`,component:`p`,className:k7.desc,children:e(`marketplace:confirm.desc`)}),i===zc.FreeTrial&&(0,G.jsx)(ni,{severity:`warning`,className:k7.freeTrialWarning,"data-testid":`marketplace-free-trial-login-warning`,children:e(`marketplace:confirm.freeTrialWarning`)}),(0,G.jsxs)(`div`,{className:k7.form,children:[(0,G.jsx)(Ae,{classes:{root:k7.errorAlert}}),t8?(0,G.jsx)(t9,{initialScreen:K7.LogIn,tip:(0,G.jsx)(a9,{classes:{link:k7.linkTip}})}):(0,G.jsx)(G7,{tip:(0,G.jsx)(a9,{classes:{link:k7.linkTip}}),onLoginFinished:()=>{let e=n.toString();
310n.has(on.EntitlementId)||(e=Tt(It(In.MARKETPLACE,{}))),setTimeout(()=>t(`/marketplace/link/organization?${e}`))},classes:{button:k7.button}})]})]})}),(0,G.jsx)(P7,{type:je.LogIn,tipVariant:`body3Regular`,linkSize:`xs`,classes:{btn:k7.linkBtn}})]})},lle={container:`_container_hwwhu_2`,rotate:`_rotate_hwwhu_1`},u9=e=>{let{from:t,name:n,inviterEmail:r}=e,{t:i}=_(`auth`);return(0,G.jsx)(ni,{severity:`info`,classes:{root:lle.container},children:t===en.Login?(0,G.jsx)(()=>(0,G.jsx)(d,{i18nKey:`org.join.logIn`,t:i,values:{name:n,inviterEmail:r},components:[(0,G.jsx)(`strong`,{}),(0,G.jsx)(`strong`,{})]}),{}):(0,G.jsx)(()=>(0,G.jsx)(d,{i18nKey:`org.join.signUp`,t:i,values:{name:n,inviterEmail:r},components:[(0,G.jsx)(`strong`,{}),(0,G.jsx)(`strong`,{})]}),{})})},ule={link:`_link_ushbs_3`,rotate:`_rotate_ushbs_1`},dle=()=>{let{t:e}=_([`auth`]),[t]=r(),n=t.get(`email`)||``;return(0,G.jsx)(ni,{severity:`error`,children:(0,G.jsx)(d,{i18nKey:`auth:deleteAccount`,t:e,components:[(0,G.jsx)(`a`,{className:ule.link,href:`${oee}/requests/new?&tf_anonymous_requester_email=${n}
310&tf_description=${e(`auth:zendesk.deleteAccount.desc`)} ${n}&tf_subject=${e(`auth:zendesk.deleteAccount.subject`)}`,target:`_blank`})]})})},d9={root:`_root_vhm5g_3`,title:`_title_vhm5g_4`,titleUnderTip:`_titleUnderTip_vhm5g_8`,marketplaceLinkedAlert:`_marketplaceLinkedAlert_vhm5g_13`,tabs:`_tabs_vhm5g_17`,button:`_button_vhm5g_22`,tipRoot:`_tipRoot_vhm5g_27`,resetTip:`_resetTip_vhm5g_32`,rotate:`_rotate_vhm5g_1`},fle=()=>{let{t:e}=_([`auth`]),t=u();return(0,G.jsxs)(`div`,{className:d9.tipRoot,children:[(0,G.jsx)(P7,{type:je.LogIn}),(0,G.jsx)(z,{variant:`textBlue`,withMargin:!1,onClick:()=>t(`/password/reset`),children:e(`auth:forgetPwd`)})]})},ple=()=>{let{t:e}=_([`auth`]),t=$e(me),n=u(),[i]=r(),a=Dt(i.get(nt.Redirect)),o=new URLSearchParams({[nt.Redirect]:a}).toString(),{showJoinTip:s,isAccountDeleted:c}=dn(),l=r9(),[d,f]=(0,W.useState)(s?F7.Email:F7.Sms),p=e=>{f(e)},m=e=>{if(e){n(`/account/set/phone`);return}setTimeout(()=>n(a?`/orgs?${o}`:`/orgs`))};return(0,G.jsxs)(`div`,{className:d9.root,children:[(0,G.jsx)(Ae,{classes:{root:d9.errorAlert}}),(0,G.jsx)(i9,{className:d9.marketplaceLinkedAlert}),(0,G.jsx)(L,{variant:`h1Semibold`,className:R(d9.title,{[d9.titleUnderTip]:s||c||t.message||l}),children:e(`auth:loginTitle`)}),!s&&(0,G.jsx)(Oi,{handleActiveCb:p,initialActiveTab:F7.Sms,classes:{root:d9.tabs},tabs:[{label:e(`auth:loginTabs.sms`),value:F7.Sms},{label:e(`auth:loginTabs.email`),value:F7.Email}]}),(0,G.jsx)(G7,{loginMethodType:d,tip:(0,G.jsx)(fle,{}),onLoginFinished:m,classes:{button:d9.button}})]})},f9={layoutContent:`_layoutContent_1cbwt_3`,main:`_main_1cbwt_6`,texts:`_texts_1cbwt_12`,title:`_title_1cbwt_16`,desc:`_desc_1cbwt_22`,actions:`_actions_1cbwt_29`,childrenContainer:`_childrenContainer_1cbwt_35`,rotate:`_rotate_1cbwt_1`},mle=()=>{let{t:e}=_([`auth`]),t=u();return(0,G.jsx)(zt,{classes:{content:f9.layoutContent,childrenContainer:f9.childrenContainer},showLogo:!0,showReCAPTCHAText:!1,showBackground:!1,children:(0,G.jsxs)(`div`,{className:f9.main,children:[(0,G.jsxs)(`div`,{className:f9.texts,children:[(0,G.jsx)(L,{variant:`h1Semibold`,className:f9.title,children:e(`auth:notSignUp.phoneNumber.title`)}),(0,G.jsx)(L,{className:f9.desc,children:e(`auth:notSignUp.phoneNumber.desc`)})]}),(0,G.jsxs)(`div`,{className:f9.actions,children:[(0,G.jsx)(z,{onClick:()=>{t(`/signup`)},children:e(`auth:notSignUp.phoneNumber.signUp`)}),(0,G.jsx)(z,{variant:`outlined`,onClick:()=>{t(`/login`)},children:e(`auth:notSignUp.phoneNumber.login`)})]})]})})},hle=()=>{let e=$e(ke),[t]=r(),n=t.get(_t.PhoneNumberUnregistered)===`true`,{showJoinTip:i,inviterEmail:a,invitedObjectName:o,isAccountDeleted:s}=dn();return n?(0,G.jsx)(mle,{}):(0,G.jsxs)(kt,{loading:e,children:[(0,G.jsx)(c9,{showAction:!1}),(0,G.jsxs)(zt,{classes:{content:n9.simpleLayoutContent},children:[i&&(0,G.jsx)(u9,{from:en.Login,name:o,inviterEmail:a}),(0,G.jsxs)(`div`,{className:R(n9.main,{[n9.mainContainer]:!B}),children:[s&&(0,G.jsx)(dle,{}),B?(0,G.jsx)(ale,{}):(0,G.jsx)(ple,{})]})]})]})},gle=e=>{let{entId:t,entIdSavedInStorage:n,marketplaceLinkedOrgId:r}=e;return!r&&!!(t||n)},_le=()=>{let{entId:e}=dn(),[t]=r(),n=t.get(`marketplaceLinkedOrgId`)||``,{globalMessageKey:i,resetGlobalKey:a}=kc(),{closeSnackbar:o}=Ga(),s=(0,W.useMemo)(()=>{let t=It(In.MARKETPLACE,{})?.entId;return gle({entId:e,entIdSavedInStorage:t,marketplaceLinkedOrgId:n})},[e,n]);return(0,W.useEffect)(()=>{n&&window.localStorage.removeItem(In.MARKETPLACE)},[n]),(0,W.useEffect)(()=>{i?.beta&&o(i.beta),i?.orgMsg&&o(i.orgMsg),a()},[i]),s?(0,G.jsx)(cle,{}):(0,G.jsx)(hle,{})},p9={container:`_container_u4q9s_3`,layoutContent:`_layoutContent_u4q9s_9`,childrenContainer:`_childrenContainer_u4q9s_12`,root:`_root_u4q9s_18`,main:`_main_u4q9s_21`,title:`_title_u4q9s_22`,tip:`_tip_u4q9s_29`,codeInputWrapper:`_codeInputWrapper_u4q9s_34`,codeErrMsg:`_codeErrMsg_u4q9s_41`,btn:`_btn_u4q9s_45`,countdown:`_countdown_u4q9s_49`,resendWrapper:`_resendWrapper_u4q9s_54`,resend:`_resend_u4q9s_54`,disable:`_disable_u4q9s_62`,rotate:`_rotate_u4q9s_1`},m9={root:`_root_1qyo1_3`,errorMessage:`_errorMessage_1qyo1_11`,rotate:`_rotate_1qyo1_1`}
310,h9=({count:e=6,onChange:t,errorMessage:n,classes:r={error:``,root:``}})=>(0,G.jsxs)(`div`,{className:R(m9.root,r.root),children:[(0,G.jsx)(ei,{count:e,onGroupChange:e=>{t(e.filter(e=>e!==``).join(``))},error:n!==``}),n&&(0,G.jsx)(L,{variant:`body3Regular`,component:`p`,className:R(m9.errorMessage,r.error),children:n})]}),vle=()=>{let{storedValue:e}=k(In.USER_INFO),{removeUser:t}=Y6(),{checkMarketplaceRedirect:n}=D(),{saveUser:r}=Be(),i=u(),{t:a}=_([`account`,`auth`,`common`]),{initCounter:o,disabled:s,handleCounterStart:c,handleCounterOver:l}=p8(e?._email||``),{code:f,onCodeChange:p,errorMessage:m,onErrorMessageChange:h}=m8(),[g,v]=(0,W.useState)(!1),y=async()=>{await n8.resendMfaVerifyEmail(e._email)},b=async()=>{s||(c(),await y())},x=e=>{p(e)},S=()=>{n()||i(`/`)};return(0,G.jsxs)(`section`,{className:p9.container,children:[(0,G.jsx)(c9,{btnProps:{children:a(`common:button.cancel`),onClick:()=>{t(),i(`/login`)}}}),(0,G.jsx)(zt,{classes:{content:p9.layoutContent,childrenContainer:p9.childrenContainer},children:(0,G.jsx)(`div`,{className:p9.root,children:(0,G.jsxs)(`div`,{className:p9.main,children:[(0,G.jsx)(L,{variant:`h4Medium`,className:p9.title,children:a(`account:profile.mfaTitle`)}),(0,G.jsx)(L,{className:p9.tip,children:a(`auth:confirmTip`,{email:e?._email})}),(0,G.jsx)(h9,{onChange:x,errorMessage:m,classes:{root:p9.codeInputWrapper,error:p9.codeErrMsg}}),(0,G.jsx)(z,{fullWidth:!0,variant:`contained`,className:p9.btn,onClick:async()=>{v(!0);try{let t=await n8.loginWithMfa(e._email,f);r({...t,isLogin:!0}),S()}catch(e){let{response:t}=e;h(t?.data.Code)}finally{v(!1)}},disabled:f.length!==6,loading:g,children:a(`common:button.verify`)}),(0,G.jsx)(`div`,{className:p9.resendWrapper,children:(0,G.jsxs)(L,{component:`div`,children:[(0,G.jsx)(d,{t:a,i18nKey:`account:profile.mfaResendTip`,components:[(0,G.jsx)(`span`,{className:R(p9.resend,{[p9.disable]:s}),onClick:b})]}),s&&(0,G.jsx)(h8,{className:p9.countdown,time:o,cb:l})]})})]})})})]})},g9={link:`_link_1tndp_3`,logo:`_logo_1tndp_12`,root:`_root_1tndp_19`,seoOnly:`_seoOnly_1tndp_25`,innerWrapper:`_innerWrapper_1tndp_30`,freeTag:`_freeTag_1tndp_41`,main:`_main_1tndp_57`,features:`_features_1tndp_69`,title:`_title_1tndp_77`,desc:`_desc_1tndp_88`,feature:`_feature_1tndp_69`,icon:`_icon_1tndp_102`,checkIcon:`_checkIcon_1tndp_106`,text:`_text_1tndp_113`,featureDesc:`_featureDesc_1tndp_129`,lastFeature:`_lastFeature_1tndp_136`,companyList:`_companyList_1tndp_140`,companyIconCell:`_companyIconCell_1tndp_149`,companyIcon:`_companyIcon_1tndp_149`,bottomBackground:`_bottomBackground_1tndp_166`,mobileContactRoot:`_mobileContactRoot_1tndp_183`,simpleLayoutContent:`_simpleLayoutContent_1tndp_197`,childrenContainer:`_childrenContainer_1tndp_203`,contactRoot:`_contactRoot_1tndp_207`,highlightTitle:`_highlightTitle_1tndp_219`,poweredLogo:`_poweredLogo_1tndp_231`,poweredLogoMark:`_poweredLogoMark_1tndp_238`,poweredLogoWordmark:`_poweredLogoWordmark_1tndp_246`,poweredLogoMilvus:`_poweredLogoMilvus_1tndp_254`,rotate:`_rotate_1tndp_1`},yle=`data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='0.0351562'%20width='24'%20height='24'%20rx='12'%20fill='url(%23paint0_linear_3357_57382)'%20fill-opacity='0.3'/%3e%3cpath%20d='M8%2011.6066L10.7%2015.0352L17%209.03516'%20stroke='%231D2939'%20stroke-width='1.5'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3357_57382'%20x1='-1.77778'%20y1='-2.53628'%20x2='32.0221'%20y2='5.69557'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%231EE4FF'/%3e%3cstop%20offset='1'%20stop-color='%23A348FF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e`,ble=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAACY5JREFUeAGdWV+MVkcVPzP33m/LLt2FboGUQGWXdGugLSQtLVZNLLTVF02Mhm5ffFFoiI2iLwq22GiKfdHIAwaQB0mMNEZj2j6YArWkNkGrTWq31WQrSwNCyiafdCHsst93507POXPO3PmWzXa7l8B37525c37nd/7OYGCB11dP+v7Wh9BnDfRnFfSaNhQFQEFj2TS0jYFJ04KpDGDi5hY0DzxpmrCAy3ySyTv+6Yszl2AgL2HQWihyD95WYKo2+Ab+IkiPgMC2cV0HkBPYEv/B+y4Pkzivabph9PATZnK+MucFkICNNuHORg4DrkQQLTAEJEPBpgKfuwCKwNB7AsQA8dmgEgWCtwLe0zwP58u++QH9WICfO+EHcdZQw6D5UCCBIWAMZLoGRO95XFi19JsoooB5fgvv0QXyNoz+4ilzfi75dq7Bz77u16Od1mUIjpjI00ECmYdfNLcnJumZwMGMeXTl6XeIElns9gAbv/ccypjjmpXBe9GkjWuwCRfpBwFGbDALPpiU2MpEOPufMGbKwKD6nzKG79jUtEaBc+l7msfW8DBx+SKcPnwYvXg+DHZV8BlvERwJIXMJK3mGLBl0K3pn8a8JQCoxKy9owi8xCjKm69I9Aa5kTVKKAFcl9C5bBptmw3IDwE1v+PWVgz6ThcUcmi8KkYiEIMRXOFa6wAQ9G5lHJkcFma0IPFGUxumXFCWKSVn8/panf3Cjue0McKtx0UFmDs3lMjGvE1dQdlBAYYPAPJOFlGW5Txm0ck9gnLgHr+NFKVEaAQ88s8sPzgoQ/a4bf4Yy+ZDAQav2UbzxOkYCnLLpksU0QMS/SJGOoHFBuThf3EWfvcdvMrhjxw5f3ADQZjDkPCziichYA9eiaFMB6MzGgZhFQpJMxWlE1iC2Up+juZWCTKK
3105SkAR0wg0KoIgi1U9MNQBkNhzbVhNAaH0O1cLDdJqU2h+I0EuMVeeKMTmQ3C5jifM5VCbl/3PCwkZz8PXMKgsMkA0J5uWJtDXmrN4ATQDmVf9L2pWB0RUSpnJhD2qLpWto1vdQ9kNTPBYWAvZVGLWFDAQARY+pBRQB3YJY2UwOUiKICayvMNcXs2oijmZR+/TBK3pqUMJMm87BBUxye5CPu5DsJr7/+P7y6vwYKytAoyTLAn1ofZqkubkKkrk4vSaoDWhawLPpLzR3L/+cfi7ja4l4w89cvAYSKnMQhryloKjFX71XRaYPm2np7FdEg2ZHceTjIIj9jiiKbdJvlP22FSt2oQMXgbEW+Dq5dGe47999JdXJ85tbY6//firx3cOq/uQHux/ZYjgmI7KYIViGnrzhg9J2dI3ro42Fu6C/wlgED/hOZzfZpRKTtYEDgcw2cPFM6dWjPzlp/tcObW8XtQbjfpM/I5iozIcVNz1kN92kYwM+m2JqSUCK/krn0EnSAUd3ycTNDdaiUitGOMM7icd4PqX33Nsy6MHfwfif6SQTazCiuNzUcWI77Noxm5dIA+TGBCnARAnlxRBC33479eWXTxx6K40Advg7DGa3x/5/cDI8b37XXk9glu5Zuv+z6P/ebGAuhUFEptXU00uZgc2T0F+rtWK0k2ovz6UOp8wSYAvvvDc5uabf95FId3Vs3TPio3bzuo41WQsf/6dl/ZuHR87td1XZQ+Dz4prg+uGn123ceeIDcCiYo0C2ZuSLjywxkpy2gmJLbdKbfyVABENGCM9T184s/jyWye2g2v3eFf2/O/kwR9dee/Uiixh/+0/ff8rl/57cpeCy/JF4+s3f3vPuvsQnLBcJQlbekmt7zFImE1pjC3+U8ainfiUlLBa29vWXlv9tR/vNsgIr92+vvy9l/btvnZxtIfAvfX8zuHm+3/bHt2lWDS+ccvTe9bcue2sDfkvVI4kQXNQVbGzqdsyfQe4+br/734LfsRC2IfKsAHS9l7zH4PHdx+8fOjuD147uk8X6+6//RUanGqe2xqV6bp57O6Hdu9bufIL4wqKo1X2LrxWkiPTnGgovcl9ow1Xcl/CVQyCHnFwH82bhTyVeTFFcG6/6uEnRqYujB6ZOHP6WzRvMgFG1+Klt7+y4eFnf923ZO0kla1MSiRFZwa1lcSsnKo0sRttKhybzpQWpixSG/ermUtan1ARjNCvzsvPnx7++Qvdy+94EWZcvcuGXnxw+Pn9fbeunVQARvtBJ/XY1v2htmzO1SbWukzyUNiEtQ2YkPQC6aLEIIOuwKR5kZikbnnDN48eKXpuGdH3S26759jmx35zhOgpVWGZT4k3l2Y16bC9bBu43eIgsaHc0TPK8F0NaNo3HjBN1KTtsthRGEyAhgPE15rGvJX0e3c9tn9fhsGw9FMPHLl328FjVRAQGwSfNLBiobRQ8bM2CNy+tUPS5ndo3icPmCavlTVgDLvnobiYVg7Z2FDpgmRvoQJ6bl17bcPjh7/Tu3TtZNwAUUCUdTYAqLsXUoACjdNIstmIXQyEMW67ILgeT8MDlLOU/zTVqHkVsOYqThWyB2afwvm9yxCcrdnvaK9M0gCANBQIoJR1HdTRiz4ffZCCZdLAaAT45n2mXeQwZuuGsw4WK12z7j/KTha1nkqvlxYfiLs83QpoR05mpH0y+ZrheyKHleOO2sL5Zw6HY5FI9JWbYBQXaav2aSoAMY9GcSXtPBd2GyJTnzXxpklZGwheSxYu0lY/URa7mkllrwMgsYidTRxwwpiVKE4jXXs/8RXwyaYova8kUqOwqt4rV5V0TY6tFLcPbcSg7HUApOv1R8wYdhZjseXKgkkrYUcFRodO9iOpvxlhO27obQwgL/0fB4OXyhHTmIGxp37VeZh0w8nCq18y76Kh/8/4ap9h/1BALghgwcoCnbdUs0S63hM4DaCqdgP2W0ov+GfihwdQ9oxr1rOZ5gX4h2vBRHzh6nMVXrhMji6EMfHHmZ2KV5MWtnODrvcmrNE814bTs2GZ83zwi3/w6xsWBhpJgadTVCsHksQoPeuplZ7/6QkXsV1osOAJF+4ffJdmAgTZIMVbMLZ3FubmZFCvl79u3rXT8C9XwaRs1OucZpP6nJy3pKWCTKpBQ+AaXtJRKGdtPG19Zy5wH8ugXl8+5LtvWgxD2PmsIqB6HsigkJlCIjqe9wG3VT42nSa8521qi3337KXLeAQ8y3ngggB2AG3wcXC/vQ7d2thyj1fKkUbJCTicSSepKq+w+XQw1mzC2fkAWxDA9PrGUd+PZ9T9XW3owwBahOx0I5t88k8NDf
31062MQCuuGloLsKO6Wd7FvbfEB8BYNJM6uTOmeQAAAAASUVORK5CYII=`,xle=`data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2038.1324%2038.1085'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='vector'%20d='M17.8746%2025.9083V38.1085H20.2579V23.4988L26.5953%2034.4687C27.3124%2034.1182%2028.0014%2033.719%2028.6582%2033.2758L21.7208%2021.2675L29.3606%2024.0464C29.7053%2023.3378%2029.9791%2022.5882%2030.1723%2021.807L25.8786%2020.2452H38.1324V17.8634H23.5134L34.4902%2011.5299C34.1394%2010.8132%2033.7402%2010.1246%2033.2967%209.46832L21.352%2016.3603L24.1091%208.7897C23.4016%208.44185%2022.6528%208.16492%2021.8721%207.96818L20.2579%2012.4005V0H17.8746V14.6098L11.5372%203.63996C10.82%203.99045%2010.131%204.38947%209.47425%204.83272L16.3828%2016.7912L8.78822%2014.0287C8.44114%2014.7363%208.16508%2015.485%207.9693%2016.2655L12.3624%2017.8634H0V20.2452H14.6189L3.64225%2026.5786C3.99298%2027.2952%204.39222%2027.9839%204.83574%2028.6403L16.8728%2021.695L14.0852%2029.3491C14.7947%2029.6928%2015.5451%2029.9652%2016.3272%2030.1571L17.8746%2025.9083Z'%20fill='url(%23paint0_linear_0_124)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_0_124'%20x1='8.10315'%20y1='4.04903'%20x2='27.8188'%20y2='36.0236'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239D41FF'/%3e%3cstop%20offset='0.468794'%20stop-color='%232858FF'/%3e%3cstop%20offset='0.770884'%20stop-color='%2329B8FF'/%3e%3cstop%20offset='1'%20stop-color='%2300F0FF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e`,Sle=`data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20style='display:%20block;'%20viewBox='0%200%2049.0949%2019.817'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='vector-edit'%3e%3cpath%20id='vector'%20d='M11.1537%205.52624H0.285949V7.90803H11.1537V5.52624Z'%20fill='var(--fill-0,%20black)'/%3e%3cpath%20id='vector_2'%20d='M48.8092%205.52624H37.9415V7.90803H48.8092V5.52624Z'%20fill='var(--fill-0,%20black)'/%3e%3cpath%20id='vector_3'%20d='M22.975%200H20.4011V19.8165H22.975V0Z'%20fill='var(--fill-0,%20black)'/%3e%3cpath%20id='vector_4'%20d='M17.255%205.52624H14.6811V19.817H17.255V5.52624Z'%20fill='var(--fill-0,%20black)'/%3e%3cpath%20id='vector_5'%20d='M17.255%202.5724H14.6811V6.91414e-05H17.255V2.5724Z'%20fill='var(--fill-0,%20black)'/%3e%3cpath%20id='vector_6'%20d='M11.4397%2017.4351H0V19.8169H11.4397V17.4351Z'%20fill='var(--fill-0,%20black)'/%3e%3cpath%20id='vector_7'%20d='M0%2017.4347L8.1041%207.90754H11.1537L3.04958%2017.4347H0Z'%20fill='var(--fill-0,%20black)'/%3e%3cpath%20id='vector_8'%20d='M37.6552%2017.4347L45.7593%207.90754H48.8092L40.7048%2017.4347H37.6552Z'%20fill='var(--fill-0,%20black)'/%3e%3cpath%20id='vector_9'%20d='M28.6948%200H26.1208V19.8165H28.6948V0Z'%20fill='var(--fill-0,%20black)'/%3e%3cpath%20id='vector_10'%20d='M49.0949%2017.4351H37.6552V19.8169H49.0949V17.4351Z'%20fill='var(--fill-0,%20black)'/%3e%3cpath%20id='vector_11'%20d='M34.4145%205.52624H31.8405V19.817H34.4145V5.52624Z'%20fill='var(--fill-0,%20black)'/%3e%3cpath%20id='vector_12'%20d='M34.4145%202.5724H31.8405V6.91414e-05H34.4145V2.5724Z'%20fill='var(--fill-0,%20black)'/%3e%3c/g%3e%3c/svg%3e`,Cle=`/assets/zilliz-powered-milvus-B4LhEkGk.svg`,wle=`/assets/exa-CCPDLGT0.svg`,Tle=`data:image/svg+xml,%3csvg%20width='114'%20height='44'%20viewBox='0%200%20114%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3csvg%20x='20.15'%20y='13.24'%20width='73.7'%20height='18.04'%20viewBox='0%200%2073.7%2018.0369'%20fill='none'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cg%20id='Vector'%3e%3cpath%20d='M65.3546%204.57088H73.6242C73.6671%204.57088%2073.7%204.60452%2073.7%204.64852V6.26602C73.7%206.31002%2073.6671%206.34366%2073.6242%206.34366H67.2641V8.05433H72.9347C72.9776%208.05433%2073.0104%208.08796%2073.0104%208.13196V9.72358C73.0104%209.76759%2072.9776%209.80122%2072.9347%209.80122H67.2641V11.6982H73.6242C73.6671%2011.6982%2073.7%2011.7319%2073.7%2011.7759V13.3934C73.7%2013.4374%2073.6671%2013.471%2073.6242%2013.471H65.3546C65.3116%2013.471%2065.2789%2013.4374%2065.2789%2013.3934V4.64852C65.2789%204.60452%2065.3116%204.57088%2065.3546%204.57088Z'%20fill='var(--fill-0,%20%231D2939)'/%3e%3cpath%20d='M64.6757%204.64852V13.3934C64.6757%2013.4374%2064.6429%2013.471%2064.5999%2013.471H62.9303C62.9076%2013.471%2062.8874%2013.4606%2062.8748%2013.4451L57.4771%207.21064V13.3934C57.4771%2013.4374%2057.4442%2013.471%2057.4013%2013.471H55.5928C55.5499%2013.471%2055.517%2013.4374%2055.517%2013.3934V4.64852C55.517%204.60452%2055.5499%204.57088%2055.5928%204.57088H57.5276C57.5503%204.57088%2057.5706%204.58124%2057.5832%204.59676L62.7156%2010.5336V4.64852C62.7156%204.60452%2062.7485%204.57088%2062.7914%204.57088H64.5999C64.6429%204.57088%2064.6757%204.60452%2064.6757%204.64852Z'%20fill='var(--fill-0,%20%231D2939)'/%3e%3cpath%20d='M50.9095%204.61487L47.6511%2011.354L44.4054%204.61487C44.3928%204.58899%2044.3675%204.57088%2044.3372%204.57088H34.0445C34.0015%204.57088%2033.9687%204.60452%2033.9687%204.64852V13.3934C33.9687%2013.4374%2034.0015%2013.471%2034.0445%2013.471H42.314C42.357%2013.471%2042.3899%2013.4374%2042.3899%2013.3934V11.7759C42.3899%2011.7319%2042.357%2011.6982%2042.314%2011.6982H35.954V9.80122H41.6244C41.6674%209.80122%2041.7003%209.76759%2041.7003%209.72358V8.13196C41.7003%208.08796%2041.6674%208.05433%2041.6244%208.05433H35.954V6.34366H42.314C42.357%206.34366%2042.3899%206.31002%2042.3899%206.26602V5.7096C42.3899%205.54655%2042.6071%205.49479%2042.6777%205.63973L46.4564%2013.4271C46.469%2013.4529%2046.4943%2013.471%2046.5246%2013.471H48.717C48.7448%2013.471%2048.7726%2013.4554%2048.7852%2013.4271L52.6068%205.57502C52.6776%205.42751%2052.8947%205.47927%2052.8947%205.6449V13.3907C52.8947%2013.4348%2052.9276%2013.4684%2052.9706%2013.4684H54.8396C54.8826%2013.4684%2054.9155%2013.4348%2054.9155%2013.3907V4.64852C54.9155%204.60452%2054.8826%204.57088%2054.8396%204.57088H50.9801C50.9523%204.57088%2050.9247%204.58641%2050.9119%204.61487H50.9095Z'%20fill='var(--fill-0,%20%231D2939)'/%3e%3cpath%20d='M25.4767%2013.3934V4.64852C25.4767%204.60452%2025.5096%204.57088%2025.5526%204.57088H27.4216C27.4646%204.57088%2027.4975%204.60452%2027.4975%204.64852V11.6982H33.2892C33.3321%2011.6982%2033.3649%2011.7319%2033.3649%2011.7759V13.3934C33.3649%2013.4374%2033.3321%2013.471%2033.2892%2013.471H25.5526C25.5096%2013.471%2025.4767%2013.4374%2025.4767%2013.3934Z'%2
3100fill='var(--fill-0,%20%231D2939)'/%3e%3cpath%20d='M24.8725%204.64852V13.3934C24.8725%2013.4374%2024.8396%2013.471%2024.7968%2013.471H22.9276C22.8846%2013.471%2022.8518%2013.4374%2022.8518%2013.3934V4.64852C22.8518%204.60452%2022.8846%204.57088%2022.9276%204.57088H24.7968C24.8396%204.57088%2024.8725%204.60452%2024.8725%204.64852Z'%20fill='var(--fill-0,%20%231D2939)'/%3e%3cpath%20d='M15.8332%2013.471H13.9994C13.9566%2013.471%2013.9237%2013.4374%2013.9237%2013.3934V5.34728C13.9237%204.91768%2014.2622%204.57088%2014.6815%204.57088H22.1731C22.216%204.57088%2022.2488%204.60452%2022.2488%204.64852V6.26602C22.2488%206.31002%2022.216%206.34366%2022.1731%206.34366H15.909V8.36489H21.4835C21.5264%208.36489%2021.5593%208.39852%2021.5593%208.44252V10.0238C21.5593%2010.0678%2021.5264%2010.1014%2021.4835%2010.1014H15.909V13.3959C15.909%2013.4399%2015.8761%2013.4736%2015.8332%2013.4736V13.471Z'%20fill='var(--fill-0,%20%231D2939)'/%3e%3cpath%20d='M0%2011.2876V7.89177C0%207.23101%200.34425%206.62132%200.902132%206.29207L11.5683%200V3.44464C11.5683%204.10768%2011.2219%204.71962%2010.6607%205.04774L0%2011.2876Z'%20fill='var(--fill-0,%20%231D2939)'/%3e%3cpath%20d='M2.33156e-05%2018.0369V13.5739L7.72626%209.04503V12.4953C7.72626%2013.1618%207.37647%2013.776%206.80973%2014.103L2.33156e-05%2018.0369Z'%20fill='var(--fill-0,%20%231D2939)'/%3e%3c/g%3e%3c/svg%3e%3c/svg%3e`,Ele=`/assets/open-evidence-DyP2IaG1.svg`,Dle=`data:image/svg+xml,%3csvg%20width='114'%20height='44'%20viewBox='0%200%20114%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3csvg%20x='25.58'%20y='16.72'%20width='62.85'%20height='11.61'%20viewBox='0%200%2060.5%2011.1736'%20fill='none'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cpath%20id='Vector'%20d='M7.29396%207.26848L9.03545%2010.4591H5.8042L4.33381%207.73243H2.9408V10.4591H0V0.793592H5.37856C7.60349%200.793592%209.01609%202.02976%209.01609%204.25284C9.01609%205.68334%208.35823%206.70809%207.29396%207.26848ZM2.9408%203.30561V5.21939H5.03031C5.64943%205.21939%206.03637%204.8521%206.03637%204.25284C6.03637%203.65357%205.64943%203.30561%205.03031%203.30561H2.9408ZM18.3802%2011.1736L9.57715%208.79585L11.9376%200L16.339%201.18886L20.7405%202.37772L18.3802%2011.1736ZM16.7163%204.69745L14.2592%204.02086L13.6014%206.47591L16.0585%207.1527L16.7163%204.69745ZM30.8207%207.73243C30.8207%209.58818%2029.6405%2010.4591%2027.8025%2010.4591H22.037V0.793592H27.6091C29.4471%200.793592%2030.6273%201.74081%2030.6273%203.40329C30.6273%204.44717%2030.2403%205.14329%2029.5051%205.62657C30.337%205.99263%2030.8207%206.72741%2030.8207%207.73243ZM24.9004%203.11332V4.54382H26.8148C27.3372%204.54382%2027.6468%204.31184%2027.6468%203.80924C27.6468%203.3453%2027.3372%203.11332%2026.8148%203.11332H24.9004ZM24.9004%208.13942H27.048C27.551%208.13942%2027.8422%207.86877%2027.8422%207.40462C27.8422%206.90221%2027.5521%206.67023%2027.048%206.67023H24.9004V8.13942ZM32.2718%200.793592H35.2122V7.59729H39.4299V10.4591H32.2714L32.2718%200.793592ZM50.2457%205.62657C50.2457%206.62062%2049.9507%207.59237%2049.3979%208.41892C48.8452%209.24547%2048.0595%209.88964%2047.1404%2010.2701C46.2212%2010.6505%2045.2098%2010.75%2044.234%2010.5561C43.2583%2010.3621%2042.3619%209.88343%2041.6584%209.18051C40.9549%208.47759%2040.4758%207.58208%2040.2817%206.6071C40.0876%205.63214%2040.1873%204.62156%2040.568%203.70317C40.9487%202.78477%2041.5934%201.99981%2042.4207%201.44753C43.2479%200.895256%2044.2205%200.600484%2045.2153%200.600484C45.8762%200.599171%2046.5308%200.728244%2047.1417%200.980296C47.7526%201.23236%2048.3076%201.60243%2048.7749%202.0693C49.2423%202.53617%2049.6128%203.09064%2049.8652%203.7009C50.1176%204.31118%2050.2468%204.96523%2050.2457%205.62554V5.62657ZM47.3049%205.62657C47.3049%204.42783%2046.3568%203.48061%2045.2153%203.48061C44.0739%203.48061%2043.1257%204.42783%2043.1257%205.62657C43.1257%206.82529%2044.0739%207.77232%2045.2153%207.77232C46.3568%207.77232%2047.3049%206.82387%2047.3049%205.62554V5.62657ZM57.3268%205.47171L60.5%2010.4591H56.9971L55.2567%207.61645L53.4573%2010.4591H49.8974L53.2058%205.58749L50.1683%200.793592H53.6702L55.276%203.40329L56.8238%200.793592H60.3063L57.3268%205.47171Z'%20fill='var(--fill-0,%20%231D2939)'/%3e%3c/svg%3e%3c/svg%3e`,Ole=`/assets/reddit-CZI9Diqv.svg`,kle=`/assets/robinhood-BQ_ERjIR.svg`,Ale=`/assets/airtable-CybVDmma.svg`,jle=`data:image/svg+xml,%3csvg%20width='114'%20height='44'%20viewBox='0%200%20114%2044'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3csvg%20x='20'%20y='14.92'%20width='73.33'%20height='14.16'%20viewBox='0%200%2073.3333%2014.1581'%20fill='none'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cg%20id='Vector'%3e%3cpath%20d='M44.8088%202.67683V11.9701H47.3908V2.67683H44.8088ZM24.5014%202.6642V11.9701H27.1058V4.74
310644L29.1377%204.75353C29.8057%204.75353%2030.2683%204.91661%2030.5899%205.26566C30.9982%205.70838%2031.1649%206.42141%2031.1649%207.72605V11.9701H33.688V6.82867C33.688%203.15898%2031.3873%202.6642%2029.1369%202.6642H24.5014ZM48.9654%202.67683V11.9693H53.1523C55.3833%2011.9693%2056.1109%2011.5919%2056.899%2010.7466C57.4554%2010.1525%2057.8149%208.84945%2057.8149%207.42508C57.8149%206.11888%2057.5104%204.95368%2056.9796%204.22809C56.0233%202.93053%2054.6456%202.67683%2052.5882%202.67683H48.9654ZM51.5258%204.69998H52.6355C54.2457%204.69998%2055.2872%205.43502%2055.2872%207.34236C55.2872%209.24969%2054.2457%209.98555%2052.6355%209.98555H51.5258V4.69998ZM41.0869%202.67683L38.9326%2010.0415L36.8683%202.67683H34.0817L37.0302%2011.9693H40.7505L43.7224%202.67683H41.0869ZM61.5981%2011.9693V2.67683H59.0153V11.9693H61.5981ZM66.253%202.68L62.6481%2011.9662H65.1937L65.764%2010.3251H70.0298L70.5701%2011.9662H73.3333L69.7017%202.67919H66.253V2.68ZM67.9284%204.37463L69.4923%208.725H66.315L67.9284%204.37463Z'%20fill='var(--fill-0,%20%231D2939)'/%3e%3cpath%20d='M7.85222%204.22518V2.94653C7.97465%202.93782%208.09789%202.93073%208.22342%202.92681C11.664%202.81654%2013.9213%205.93236%2013.9213%205.93236C13.9213%205.93236%2011.4835%209.37522%208.86967%209.37522C8.49306%209.37522%208.15596%209.31377%207.85222%209.20971V5.33129C9.19205%205.49592%209.46095%206.09706%2010.2661%207.46154L12.0569%205.92608C12.0569%205.92608%2010.7496%204.18263%208.54573%204.18263C8.30628%204.18263%208.07695%204.19992%207.85141%204.22437L7.85222%204.22518ZM7.85141%200V1.91051C7.97465%201.90025%208.09863%201.89241%208.22261%201.88768C13.0069%201.72379%2016.1244%205.87726%2016.1244%205.87726C16.1244%205.87726%2012.5443%2010.3033%208.81389%2010.3033C8.47213%2010.3033%208.15211%2010.271%207.85141%2010.2174V11.3984C8.10869%2011.4315%208.37529%2011.4511%208.6527%2011.4511C12.1235%2011.4511%2014.6343%209.64932%2017.0652%207.5159C17.4681%207.84361%2019.1179%208.64173%2019.4574%208.99152C17.1457%2010.9588%2011.7601%2012.5438%208.70618%2012.5438C8.41169%2012.5438%208.12888%2012.5257%207.85141%2012.4989V14.1581H21.0443V0.000810152H7.85222L7.85141%200ZM7.85141%209.20896V10.2174C4.64097%209.6352%203.74981%206.24279%203.74981%206.24279C3.74981%206.24279%205.29112%204.50643%207.85141%204.22518V5.33129C7.85141%205.33129%207.8483%205.33129%207.84682%205.33129C6.50309%205.1674%205.45385%206.44368%205.45385%206.44368C5.45385%206.44368%206.04201%208.59209%207.85222%209.21052L7.85141%209.20896ZM2.15039%206.09706C2.15039%206.09706%204.0528%203.24271%207.85222%202.94727V1.91206C3.64442%202.25
310558%200%205.87881%200%205.87881C0%205.87881%202.0636%2011.9451%207.85222%2012.5005V11.3999C3.60413%2010.8563%202.15039%206.09706%202.15039%206.09706Z'%20fill='var(--fill-0,%20%231D2939)'/%3e%3c/g%3e%3c/svg%3e%3c/svg%3e`,Mle=`/assets/read-ai-K2BPZMCS.svg`,Nle=`/assets/zillow-CkHmKTxQ.svg`,Ple=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 100 56`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsxs)(`g`,{clipPath:`url(#clip0_1727_328)`,children:[(0,G.jsx)(`path`,{d:`M55.3218 31.7704C56.633 33.4024 59.0646 34.448 61.6993 34.6583L60.7944 36.2904C58.3628 35.9971 55.5558 34.8114 53.9983 32.7267C52.5517 34.8114 49.8 36.08 46.3589 36.3414L46.8944 34.5882C49.2275 34.5563 51.6468 33.3004 52.6871 31.7704H46.5743V30.2594H53.0873V28.8314H46.9437V27.3396H53.0873V26.1729H46.9437V24.6747H53.0873V23.4571H46.5805V21.9461H49.2152L49.0613 20.6583H50.8896C50.9573 21.0727 51.0066 21.5126 51.0743 21.9461H56.9347C57.0209 21.5126 57.0701 21.0791 57.1009 20.6583H58.9661C58.9353 21.0727 58.8799 21.5126 58.8122 21.9461H61.4469V23.4571H54.8848V24.6747H61.0283V26.1729H54.8848V27.3396H61.0283V28.8314H54.8848V30.2594H61.4469V31.7704H55.3218Z`,fill:`black`}),(0,G.jsx)(`path`,{d:`M77.9999 21.9334V36.1693H64.5185C63.9152 36.1693 63.5767 35.8186 63.5767 35.213V20.9771H77.0396C77.6428 20.9771 77.9999 21.3214 77.9999 21.9334ZM76.2331 34.6201V22.5199H65.3372V34.6201H76.2331ZM66.2298 26.1347V24.6747H72.0902V23.3551H73.82V24.6747H75.4637V26.1347H73.82V30.2531C73.82 31.662 73.6538 32.7012 73.2845 33.7849H71.4069C71.9794 32.5354 72.0964 31.6492 72.0964 30.3104V26.141H70.5205C70.2866 28.8378 69.277 32.172 68.2182 33.7913H66.3037C67.3256 32.2995 68.5014 29.3733 68.7907 26.141H66.2298V26.1347Z`,fill:`black`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M27.8481 17.9999H36.4294C38.4608 17.9999 39.1995 18.2166 39.9444 18.631C40.6892 19.0454 41.274 19.6447 41.668 20.4161C42.0682 21.1875 42.2775 21.9525 42.2775 24.0563V32.9434C42.2775 35.0472 42.0682 35.8123 41.668 36.5837C41.2679 37.3551 40.6892 37.9607 39.9444 38.3687C39.1995 38.7767 38.4608 38.9999 36.4294 38.9999H27.8481C25.8166 38.9999 25.0779 38.7831 24.3331 38.3687C23.5882 37.9543 23.0034 37.3551 22.6094 36.5837C22.2155 35.8123 22 35.0472 22 32.9434V24.0563C22 21.9525 22.2093 21.1875 22.6094 20.4161C23.0096 19.6447 23.5882 19.039 24.3331 18.631C25.0779 18.2166 25.8166 17.9999 27.8481 17.9999Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M28.6605 30.1319C29.313 30.948 30.5319 31.4707 31.8554 31.5791L31.3998 32.3951C30.181 32.2485 28.7774 31.6556 27.9957 30.6101C27.2754 31.6556 25.8965 32.2868 24.1729 32.4206L24.4437 31.5409C25.6133 31.5217 26.8199 30.897 27.3431 30.1319H24.2775V29.3733H27.5401V28.6593H24.4622V27.9134H27.5401V27.3332H24.4622V26.5873H27.5401V25.9753H24.2775V25.2166H25.5949L25.521 24.5727H26.4382C26.469 24.7831 26.4998 24.9999 26.5306 25.2166H29.4607C29.5038 24.9999 29.5285 24.7831 29.5469 24.5727H30.4826C30.4642 24.7831 30.4395 24.9999 30.4088 25.2166H31.7261V25.9753H28.4389V26.5873H31.5168V27.3332H28.4389V27.9134H31.5168V28.6593H28.4389V29.3733H31.7261V30.1319H28.6605Z`,fill:`white`}),(0,G.jsx)(`path`,{d:`M40.012 25.2103V32.3378H33.2652C32.9636 32.3378 32.7974 32.1656 32.7974 31.8596V24.7321H39.538C39.8335 24.7321 40.012 24.9043 40.012 25.2103ZM39.1318 31.56V25.5035H33.6777V31.56H39.1318ZM34.1209 27.3141V26.5809H37.0511V25.9179H37.9191V26.5809H38.7439V27.3141H37.9191V29.3797C37.9191 30.0873 37.8329 30.6101 37.6482 31.1456H36.7063C36.9895 30.5208 37.0511 30.0746 37.0511 29.4052V27.3141H36.2631C36.1462 28.6656 35.6414 30.3359 35.112 31.1456H34.1517C34.6626 30.3997 35.2536 28.9334 35.3951 27.3141H34.1209Z`,fill:`white`})]}),(0,G.jsx)(`defs`,{children:(0,G.jsx)(`clipPath`,{id:`clip0_1727_328`,children:(0,G.jsx)(`rect`,{width:56,height:21,fill:`white`,transform:`translate(22 17.9999)`})})})]}),Fle=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 100 56`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{d:`M51.9541 34.3783L51.9396 30.8484L50.6429 30.8346L49.3317 30.8209V29.8045
310H54.3872C59.3116 29.8045 59.4427 29.8045 59.6613 29.9281C59.7778 29.9968 59.9381 30.1479 60.0109 30.2577C60.1421 30.4638 60.1421 30.5874 60.1421 33.8289V37.1941H57.1699V36.1776H59.0639V33.6091C59.0639 31.1917 59.0639 31.0269 58.9474 30.9308C58.8308 30.8346 58.5249 30.8209 55.9315 30.8209H53.0468V37.8946H51.9687L51.9541 34.3783ZM38.9875 37.2627V36.7545H41.7557V33.4993H35.4763V32.4829H41.6391L42.8192 31.4527C43.5477 30.8209 43.9993 30.3814 43.9848 30.3264C43.9702 30.244 43.606 30.2303 40.561 30.2028L37.1664 30.1891V29.1727H41.0126C45.2669 29.1727 45.2232 29.1726 45.4708 29.571C45.6311 29.8182 45.6457 30.1341 45.5 30.3814C45.4563 30.4775 44.9318 30.972 44.3636 31.4664C43.7954 31.9609 43.3291 32.4004 43.3146 32.4279C43.3 32.4554 44.1596 32.4829 45.296 32.4829H47.292V33.4993H42.8338V37.7709H38.9729V37.2627H38.9875ZM62.1089 37.0979V36.5622L62.4149 36.4936L62.7208 36.4249V31.5901H63.7989V36.1227L64.0466 36.0815C64.1777 36.0678 64.3671 36.0128 64.4546 35.9853L64.6148 35.9167V30.8209H62.5168V25.9723H64.4254C66.1592 25.9723 66.3631 25.9861 66.6108 26.0959C66.7856 26.1646 66.9605 26.302 67.0333 26.4256C67.1644 26.6179 67.1644 26.7415 67.1644 28.7331V30.8209H65.6784V32.2219H67.1644V33.2383H65.6784V34.447C65.6784 35.12 65.6929 35.6557 65.7366 35.6557C65.7804 35.6557 66.9313 35.381 67.1936 35.2986C67.2956 35.2711 67.3101 35.3123 67.3101 35.8068V36.3425L65.8386 36.6996C65.0228 36.8919 63.8572 37.1941 63.2307 37.3451L62.0943 37.6198V37.0979H62.1089ZM66.1009 28.4996C66.1009 27.2222 66.1009 27.1948 65.9552 27.0986C65.8386 27.0162 65.591 27.0025 64.7022 27.0025H63.595V28.3623C63.595 29.1177 63.6095 29.7495 63.6387 29.7633C63.6532 29.7907 64.2214 29.8045 64.8916 29.8045H66.1009V28.4996ZM68.0677 37.0704V36.5622H68.5048C69.0293 36.5622 69.2624 36.4798 69.3498 36.3013C69.3935 36.1914 69.7578 27.1673 69.7578 26.1646V25.9174H70.8359V26.2608C70.8359 26.7964 70.5008 36.1639 70.4716 36.576C70.4134 37.3314 70.0054 37.5786 68.8253 37.5786H68.0677V37.0704ZM71.6518 31.7411V25.9174H72.7299L72.7444 31.2329L72.759 36.5348L73.6623 36.5485L74.551 36.5622V37.5786H71.6372V31.7411H71.6518ZM85.7111 37.0018V36.4936H87.6051V32.3043C87.6051 28.3073 87.6051 28.1013 87.4885 28.0052C87.3865 27.909 87.1826 27.8953 86.1773 27.8953C85.5217 27.8953 84.9826 27.909 84.9826 27.9365C84.9826 27.9914 83.7151 36.8781 83.6568 37.1666L83.6131 37.4001H82.4767L82.5204 37.1941C82.535 37.0842 82.8409 35.0239 83.1906 32.6202C83.5403 30.2165 83.8462 28.1837 83.8608 28.0876L83.8899 27.909H82.6078V26.8926H84.021L84.0648 26.6866C84.0793 26.5767 84.123 26.3432 84.1522 26.1921L84.2104 25.9037L84.7786 25.8899C85.2303 25.8762 85.3323 25.8899 85.3031 25.9586C85.2886 25.9998 85.2449 26.2333 85.2157 26.4668L85.172 26.8926H86.5707C88.1004 26.8926 88.2024 26.9063 88.5375 27.2772L88.7123 27.4832V37.5374H85.7402V37.0018H85.7111ZM76.2411 37.2765C76.2411 37.1528 77.2318 30.7934 77.2901 30.5874C77.3192 30.4363 77.3192 30.4363 76.5762 30.4363H75.8331V29.4199H82.0542V30.4363H78.4119L78.3682 30.6423C78.2953 30.9857 77.5232 36.1776 77.5232 36.2738C77.5232 36.3562 77.7708 36.3562 78.9364 36.3562C80.2622 36.3562 80.3496 36.3562 80.5244 36.2188L80.6992 36.0952V33.8701H81.7774V35.3261C81.7774 36.6584 81.7628 36.782 81.6463 36.9743C81.384 37.3863 81.3112 37.3863 78.645 37.3863C76.4596 37.3863 76.2411 37.3726 76.2411 37.2765ZM11 29.6671C11 25.9174 11.0146 22.8544 11.0583 22.8544C11.0874 22.8544 11.8013 23.0192 12.6463 23.2115L14.1907 23.5824V29.6534C14.1907 32.9911 14.1761 35.7244 14.1615 35.7244C14.147 35.7244 13.4185 35.9029 12.5735 36.0952L11 36.4798V29.6671Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M67.8637 34.833C67.8637 34.7214 67.9367 33.843 68.039 32.9087C68.1266 31.9605 68.2142 31.1239 68.2142 31.0542C68.2142 30.9147 68.2434 30.9008 68.7547 30.9008C69.1344 30.9008 69.2951 30.9287 69.2951 30.9844C69.2951 31.0263 69.2074 31.9605 69.1052 33.0621L68.9153 35.0421H67.8637V34.833ZM73.7061 35.0003C73.7061 34.9306 73.3702 31.5004 73.3263 31.2075L73.2825 30.9008H74.3634L74.3926 31.1099C74.4218 31.3052 74.7723 34.819 74.7723 34.9724C74.7723 35.0142 74.5825 35.0421 74.2319 35.0421C73.9398 35.0421 73.7061 35.0142 73.7061 35.0003ZM68.3165 29.5203C68.2581 29.2275 68.0097 27.0522 68.0097 26.9128C68.0097 26.8291 68.0974 26.8152 68.5502 26.8152C68.9299 26.8152 69.0906 26.8431 69.0906 26.8989C69.0906 26.9825 69.3389 29.0323 69.3973 29.4506L69.4411 29.7155H68.3603L68.3165 29.5203ZM73.3263 29.4924C73.3994 29.0462 73.6331 27.0522 73.6331 26.9407C73.6331 26.8431 73.7061 26.8291 74.1735 26.8291C74.6263 26.8291 74.7139 26.8431 74.7139 26.9267C74.7139 27.0662 74.451 29.2414 74.4072 29.5343L74.378 29.7434H73.2971L73.3263 29.4924ZM51.0521 28.363L51.0375 27.6379L49.9713 27.6239L48.9051 27.61V26.5781H51.0814V25.867H52.1622V26.5781H57.581V25.867H58.6619V26.5781H61.1741V27.61H58.6619V29.102H57.581L57.5664 28.3769L57.5518 27.6518L54.8643 27.6379L52.1622 27.6239V29.1159H51.0814L51.0521 28.363ZM35.5405 27.6658V26.5642H40.9594V25.8531H42.0402V26.5642L44.4648 26.5781C46.7434 26.5921 46.904 26.606 47.1085 26.7315C47.4883 26.9546 47.5905 27.2056 47.5905 28.0423V28.7673H46.5097V28.2933C46.5097 27.861 46.4951 27.7913 46.3636 27.7076C46.2321 27.6239 45.6479 27.61 41.4122 27.61H36.6068V28.7813H35.5405V27.6658ZM76.6127 26.62V26.1041H81.6226V27.1359H76.6127V26.62ZM40.4043 24.2495C40.4774 24.0682 40.5942 23.8033 40.6819 23.622L40.8279 23.3013L40.2145 21.9069C39.8785 21.1261 39.5864 20.4707 39.5572 20.4289C39.528 20.3591 39.6302 20.3452 39.8931 20.3452H40.2583L40.7257 21.4886C41.1639 22.5344 41.1931 22.6181 41.2661 22.4507C41.3099 22.3531 41.5144 21.8511 41.7335 21.3352L42.1425 20.387L42.7705 20.3731L43.3986 20.3591V19.648H44.0705V20.3452H44.3042C44.5378 20.3452 44.5378 20.3452 44.5378 20.6101C44.5378 20.8611 44.5378 20.8751 44.3042 20.8751H44.0705V21.8372C44.0705 22.8551 44.0705 22.883 44.421 22.883C44.5232 22.883 44.5525 22.9248 44.5525 23.1758V23.4826L44.1727 23.4408C43.9682 23.4268 43.7345 23.371 43.6615 23.3431C43.4716 23.2455 43.3986 22.8691 43.3986 21.8372V20.8751H42.6098L41.7627 22.7157L40.9155 24.5563H40.2729L40.4043 24.2495ZM46.276 23.4129C45.6771 23.2734 45.312 23.0364 45.0637 22.5902C44.8592 22.2276 44.8738 21.4607 45.0637 21.0842C45.4288 20.4289 46.2175 20.136 47.0793 20.3591C47.6343 20.4986 48.1309 21.1818 48.1309 21.7954V22.0324H46.8456C45.4288 22.0324 45.4288 22.0324 45.6771 22.4228C46.0131 22.9667 46.8894 23.0224 47.4444 22.5344C47.6051 22.395 47.7512 22.4368 47.9411 22.646C48.0141 22.7296 47.9995 22.7714 47.8388 22.9388C47.4883 23.2734 46.7288 23.5105 46.276 23.4129ZM47.4298 21.4328C47.2984 21.0285 46.7872 20.7496 46.3052 20.8332C45.9985 20.889 45.5603 21.2376 45.5603 21.4468C45.5603 21.5723 45.6041 21.5723 46.5097 21.5723H47.4591L47.4298 21.4328ZM60.882 23.3989C60.3854 23.3013 59.9618 22.9667 59.7719 22.5344C59.6989 22.395 59.6697 22.1021 59.6697 21.8093C59.6697 21.391 59.6989 21.2934 59.8888 20.9866C60.3708 20.2197 61.4662 20.0384 62.2988 20.5822C62.3864 20.638 62.3572 20.6799 62.1965 20.8611L61.9921 21.0842L61.6999 20.9308C61.1595 20.6659
31060.6483 20.8332 60.4 21.3492C60.2393 21.6838 60.2685 22.0742 60.4438 22.4089C60.6921 22.8551 61.3348 22.9945 61.7876 22.7017L62.0213 22.5483L62.1965 22.7296C62.2842 22.8272 62.3718 22.9248 62.3718 22.9667C62.3718 23.134 61.437 23.4965 61.1595 23.4408C61.1449 23.4408 61.0135 23.4268 60.882 23.3989ZM64.0077 23.3989C63.2336 23.2455 62.7224 22.632 62.7224 21.8372C62.7224 20.9587 63.3942 20.3034 64.2706 20.2894C65.22 20.2894 65.8627 20.8193 65.9503 21.6838L65.9941 22.0324H63.3942V22.1997C63.3942 22.3113 63.4819 22.4507 63.6279 22.5902C64.0369 22.9527 64.6211 22.9667 65.1324 22.6181L65.4245 22.4228L65.629 22.5483C65.7312 22.632 65.8188 22.7157 65.8188 22.7296C65.8188 22.7575 65.7312 22.8551 65.629 22.9527C65.2784 23.2874 64.5335 23.4965 64.0077 23.3989ZM65.22 21.377C65.0593 20.9448 64.5043 20.7077 64.0077 20.8472C63.7302 20.9308 63.3942 21.2376 63.3942 21.4468C63.3942 21.5583 63.4527 21.5723 64.3436 21.5723H65.293L65.22 21.377ZM53.725 23.2455C53.0824 22.9527 52.761 22.381 52.8341 21.642C52.8779 21.14 53.1262 20.7356 53.506 20.5125C54.0318 20.2197 54.7475 20.2197 55.2149 20.5125C55.507 20.7077 55.5216 20.7077 55.5216 20.5125C55.5216 20.3731 55.5508 20.3452 55.7991 20.3452H56.0766V23.3153H55.7699C55.507 23.3153 55.4632 23.3013 55.4632 23.1898C55.4632 23.0224 55.4339 23.0224 55.1418 23.1898C54.7767 23.4268 54.1632 23.4268 53.725 23.2455ZM55.0542 22.7017C55.6676 22.2555 55.6384 21.3352 54.9958 20.9727C54.7183 20.8193 54.1924 20.8053 53.9441 20.9587C53.4913 21.2376 53.3453 21.9906 53.6666 22.4228C53.9587 22.8
310691 54.6306 22.9945 55.0542 22.7017ZM36.2124 21.1539V18.9647L37.1764 19.0066C38.0089 19.0345 38.1842 19.0624 38.4471 19.2018C39.1044 19.5225 39.2797 20.3591 38.7831 20.8611C38.6954 20.9587 38.6516 21.0285 38.6954 21.0424C39.046 21.1539 39.3819 21.6838 39.3965 22.1021C39.3965 22.4507 39.1336 22.883 38.7977 23.1061L38.5056 23.3013L36.2124 23.3431V21.1539ZM38.5202 22.4926C38.637 22.3671 38.71 22.2137 38.71 22.0882C38.71 21.9627 38.637 21.8233 38.5202 21.6838C38.3303 21.4747 38.3157 21.4747 37.6 21.4468L36.8843 21.4189V22.7436L37.6 22.7157C38.3303 22.7017 38.3303 22.7017 38.5202 22.4926ZM37.9943 20.7775C38.3011 20.652 38.4033 20.5125 38.4033 20.2058C38.4033 20.0105 38.3595 19.899 38.228 19.7735C38.0674 19.6341 37.9797 19.6062 37.4685 19.5783L36.8843 19.5504V20.8611H37.3225C37.5708 20.8611 37.8775 20.8193 37.9943 20.7775ZM48.9635 21.1539V18.9926H49.4309C51.6364 18.9926 52.5566 19.7038 52.4835 21.3352C52.4105 22.7157 51.578 23.3292 49.7814 23.3292H48.9781V21.1539H48.9635ZM51.0375 22.5623C51.578 22.2974 51.8117 21.879 51.8117 21.1958C51.8117 20.652 51.
3106948 20.3591 51.3735 20.0663C51.0521 19.7735 50.7746 19.6759 50.0589 19.6062L49.5623 19.5643V22.7714L50.1612 22.7436C50.5993 22.7017 50.833 22.6599 51.0375 22.5623ZM56.6901 21.8372V20.3452H56.9968C57.2305 20.3452 57.3035 20.3731 57.3035 20.4428C57.3035 20.4986 57.3181 20.5265 57.3619 20.5265C58.1215 20.15 58.6765 20.2197 59.0855 20.7356C59.2753 20.9866 59.3338 21.3352 59.3338 22.3671V23.3153H58.7203V22.4647C58.7203 21.1121 58.5889 20.8332 58.0046 20.8332C57.7417 20.8332 57.6687 20.8611 57.4934 21.0424L57.3035 21.2516V23.3292H56.6901V21.8372Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M22.8483 34.4086L21.3623 34.0483V27.4794L22.9533 27.1052C23.8239 26.8974 24.5594 26.7311 24.5894 26.7449C24.6194 26.7449 24.6344 28.5465 24.6344 30.7639V34.7828H24.4843C24.3942 34.769 23.6588 34.6027 22.8483 34.4086Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M16.1807 32.8517C16.1807 30.6342 16.1957 28.8185 16.2407 28.8185C16.2707 28.8185 17.0062 28.9848 17.8768 29.1789L19.4528 29.5531L19.4378 32.824L19.4227 36.0949L17.9968 36.4414C17.2163 36.6216 16.4809 36.8018 16.3758 36.8156L16.1807 36.8572V32.8517Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M26.558 29.5831C26.558 22.1835 26.558 21.7903 26.6781 21.8184C26.7381 21.8324 27.3535 21.9869 28.0439 22.1554C28.7344 22.3239 29.4098 22.4924 29.5599 22.5204L29.8151 22.5906L29.8001 29.5972L29.785 36.6177L28.3741 36.9547C27.5936 37.1372 26.8732 37.3198 26.7531 37.3338L26.543 37.3759V29.5831H26.558Z`,fill:`#1D2939`})]}),Ile=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 100 56`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsxs)(`g`,{clipPath:`url(#clip0_1727_408)`,children:[(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M25.4578 22.2818C25.3807 22.2637 25.3097 22.225 25.2525 22.1695C25.1952 22.1141 25.1537 22.0441 25.1323 21.9668C25.0913 21.801 25.0913 21.6275 25.1323 21.4618C25.2832 20.6018 25.4223 19.7368 25.6176 18.8848C25.7537 18.1848 26.0249 17.5178 26.4145 16.9248C26.7084 16.4945 27.1397 16.1801 27.6356 16.0348C28.4838 15.8178 28.8359 16.6638 28.543 17.3828C28.2925 17.9758 27.6938 18.2968 27.2509 18.7308C26.4431 19.5258 26.1906 20.8708 25.9579 21.9428C25.9474 21.9985 25.9261 22.0516 25.8952 22.0989C25.8643 22.1462 25.8244 22.1868 25.7778 22.2184C25.7313 22.2499 25.6791 22.2718 25.6241 22.2827C25.5692 22.2935 25.5126 22.2932 25.4578 22.2818Z`,fill:`#222D39`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M22.1052 20.6718C22.4247 20.5508 22.765 20.8178 23.0205 20.9688C23.2897 21.1138 23.5896 21.1878 23.8933 21.1828C24.1172 21.1928 24.3441 21.1828 24.5591 21.2008C28.526 21.3768 31.8045 24.4208 32.3519 28.4378C32.8993 32.4538 30.5598 36.2968 26.7901 37.5718C23.0205 38.8478 18.8967 37.1918 16.9863 33.6368C15.0778 30.0818 15.927 25.6408 19.0062 23.0808C19.3435 22.8028 19.6996 22.5508 20.0734 22.3258C20.5219 22.1028 20.9492 21.8384 21.3497 21.5358C21.6199 21.2928 21.7846 20.7938 22.1052 20.6718ZM26.3699 22.8218C23.6201 22.8248 21.6278 25.3548 21.8902 28.4638C22.1525 31.5728 24.5828 34.1048 27.3247 34.1288C30.0666 34.1528 32.0994 31.6168 31.835 28.4848C31.5707 25.3518 29.1227 22.8188 26.3709 22.8218H26.3699ZM26.7161 23.3918C27.3174 23.4048 27.91 23.5395 28.4592 23.7878C29.0085 24.0361 29.5033 24.393 29.9147 24.8378C30.8244 25.7815 31.3862 27.0138 31.5056 28.3278C31.5792 28.989 31.5191 29.6585 31.3292 30.2955C31.1393 30.9324 30.8235 31.5235 30.401 32.0328V32.0478C29.7096 32.8468 28.7252 33.3178 27.6817 33.3508C27.074 33.3562 26.4715 33.236 25.911 32.9975C25.3506 32.7591 24.8439 32.4073 24.422 31.9638C23.4815 31.0235 22.8962 29.7786 22.768 28.4458C22.6868 27.777 22.7428 27.0985 22.9324 26.4526C23.122 25.8068 23.4411 25.2077 23.8697 24.6928C24.2112 24.2979 24.6294 23.9786 25.0982 23.755C25.5669 23.5313 26.076 23.408 26.5938 23.3928L26.7161 23.3918Z`,fill:`#222D39`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M18.2443 18.0538C18.3104 17.8238 18.4396 17.6178 18.6161 17.4598C18.7805 17.3235 18.9913 17.2586 19.2026 17.2792C19.414 17.2998 19.6087 17.4042 19.7445 17.5698C20.4151 18.3898 19.9072 19.6478 19.8806 20.5898C19.8934 21.3948 20.0828 22.1868 20.4329 22.9078C20.5148 23.0418 20.5749 23.1868 20.6134 23.3378C20.6328 23.4529 20.615 23.5713 20.5625 23.6753C20.5101 23.7793 20.4259 23.8633 20.3224 23.9148C19.9881 24.0848 19.7731 23.7248 19.6369 23.4688C19.3223 22.8688 19.0392 22.2528 18.7877 21.6228C18.5116 20.9867 18.3107 20.3197 18.1891 19.6358C18.1697 19.5128 18.1532 19.3895 18.1397 19.2658C18.1268 19.1528 18.1189 19.0394 18.1161 18.9258C18.1085 18.6297 18.1519 18.3347 18.2443 18.0538Z`,fill:`#222D39`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M61.7311 26.6998C62.0369 27.2198 62.8654 28.2588 64.7344 28.6238L64.8922 27.7898C64.088 27.6657 63.3442 27.2837 62.7697 26.6998H64.9179V25.8718H61.3041V25.4438H64.6447V24.6538H61.4461V24.2898H64.4149V23.5198H61.4579V23.1008H64.4267V22.3318H61.4579V21.9138H64.6565V21.1238H61.5743C61.7597 21.0068 61.9185 20.8508 62.0398 20.6668C62.1355 20.5118 62.1878 20.4168 62.1907 20.4078L61.4264 19.9838C61.3376 20.1428 61.2409 20.2968 61.1354 20.4438C60.9991 20.6764 60.7998 20.8645 60.5611 20.9856C60.3224 21.1067 60.0545 21.1557 59.7891 21.1268H58.8265C58.9922 20.9028 59.145 20.6698 59.2861 20.4288L58.5207 20.0038C57.9461 20.9773 57.2151 21.8466 56.3578 22.5758L56.916 23.2558C57.061 23.1308 57.207 23.0058 57.3293 22.8818V24.6158C57.3293 25.1858 57.5936 25.4558 58.1518 25.4558H60.4312V25.8828H56.8174V26.7118H58.9655C58.3911 27.2957 57.6472 27.6777 56.843 27.8018L57.0008 28.6358C58.8699 28.2708 59.6984 27.2338 60.0041 26.7118H60.4312V28.7218H61.3041V26.7118L61.7311 26.6998ZM60.586 23.5048H58.1804V23.1008H60.586V23.5048ZM60.586 21.9228V22.3198H58.1804V21.9728L58.2219 21.9228H60.586ZM58.1804 24.4848V24.2888H60.586V24.6658H58.3442C58.2041 24.6508 58.1834 24.6298 58.1834 24.4848H58.1804ZM45.6081 27.3058C45.7915 26.7948 45.8172 25.6458 45.8172 24.5738
310V24.1878H44.6543L44.89 20.5358H41.0928V21.3638H43.959L43.7795 24.1878H42.2931L42.4588 21.8128H41.6244L41.3975 25.0158H44.9423C44.9423 26.0758 44.8812 26.7028 44.7884 26.9578C44.6573 27.3208 44.4304 27.7278 43.5585 27.7278H42.1974V28.5768H43.6138C44.6592 28.5798 45.2974 28.1758 45.6081 27.3058Z`,fill:`#222D39`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M40.996 27.8518V26.7948H44.0032V25.9048H40.995V26.7798H40.1231V27.6468H39.4307V26.1628H39.8322C39.9648 26.1713 40.0977 26.1509 40.2219 26.1029C40.3461 26.0549 40.4587 25.9806 40.5522 25.8848C40.646 25.7886 40.7188 25.6734 40.7655 25.5467C40.8123 25.42 40.832 25.2847 40.8234 25.1498V21.3968H39.4337V20.2088H38.5618V21.3968H37.2155V26.1468H38.5667V27.6318H37.1978V28.5618H40.2918C40.3855 28.5692 40.4797 28.556 40.5679 28.523C40.6561 28.49 40.7362 28.4381 40.8027 28.3708C40.8694 28.3032 40.9211 28.2219 40.9543 28.1324C40.9875 28.0429 41.0023 27.9472 40.996 27.8518ZM39.9525 22.2608V25.1798C39.9525 25.2126 39.9396 25.2442 39.9167 25.2674C39.8937 25.2907 39.8626 25.3038 39.8302 25.3038H39.4317V22.2638L39.9525 22.2608ZM38.0884 25.2928V22.2638H38.5687V25.2898L38.0884 25.2928ZM74.4346 27.1248V20.4288H66.555V28.7128H72.8792C73.9 28.7128 74.4346 28.1488 74.4346 27.1248ZM73.5627 27.1248C73.5794 27.3148 73.5134 27.5038 73.3802 27.6388C73.3151 27.7054 73.2362 27.7566 73.1492 27.7888C73.0623 27.821 72.9694 27.8332 72.8772 27.8248H67.4328V21.3198H73.5627V27.1248Z`,fill:`#222D39`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M67.9251 25.7078L68.215 26.5428C69.4888 26.0514 70.6039 25.2129 71.4373 24.1198V25.8028C71.4314 25.9746 71.3585 26.1372 71.2346 26.2547C71.1108 26.3722 70.946 26.4352 70.7765 26.4298H69.9953V27.2788H70.8672C71.2509 27.2988 71.6247 27.1568 71.9009 26.8838C72.177 26.6108 72.3289 26.2338 72.321 25.8418V23.6318H72.9523V22.7838H72.321V21.8718H71.4491V22.7838H68.076V23.6328H70.7686C70.0115 24.5597 69.0324 25.2742 67.9251 25.7078ZM55.7877 28.0568C55.0513 27.445 54.3621 26.7771 53.7263 26.0588C54.0241 25.6578 54.2885 25.2318 54.5143 24.7848C55.0963 23.6148 55.1544 22.3648 55.1544 21.1858H54.2441C54.2441 22.2518 54.2037 23.3768 53.7056 24.3598C53.5399 24.6878 53.3515 25.0038 53.1414 25.3038C52.9319 25.003 52.7437 24.6875 52.5782 24.3598C52.0801 23.3768 52.0397 22.2518 52.0397 21.1858H51.1294C51.1294 22.3138 51.1787 23.6178 51.7695 24.7848C51.9963 25.2318 52.2597 25.6578 52.5575 26.0588C52.0093 26.6829 51.4176 27.2664 50.7871 27.8048V26.7828H49.9142V27.6498H49.2218V26.1658H49.6203C49.7529 26.1743 49.8858 26.1539 50.01 26.1059C50.1342 26.0579 50.2469 25.9836 50.3403 25.8878C50.4344 25.7917 50.5073 25.6766 50.5542 25.5499C50.6011 25.4232 50.621 25.2878 50.6125 25.1528V21.3968H49.2218V20.2088H48.35V21.3968H46.9987V26.1468H48.35V27.6318H46.98V28.5618H50.074C50.1912 28.5704 50.3086 28.5475 50.4142 28.4953C50.5199 28.4432 50.6101 28.3636 50.6757 28.2648L51.0771 28.7518C51.8103 28.1404 52.5001 27.4774 53.1414 26.7678C53.7835 27.4778 54.4729 28.1408 55.2067 28.7518L55.7877 28.0568ZM49.7397 22.2638V25.1798C49.7397 25.2126 49.7268 25.2442 49.7038 25.2674C49.6809 25.2907 49.6498 25.3038 49.6174 25.3038H49.2199V22.2638H49.7397ZM47.8706 25.2898V22.2638H48.35V25.2898H47.8706Z`,fill:`#222D39`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M52.8339 22.8338L53.5489 22.7418C53.5373 21.8747 53.4744 21.0092 53.3605 20.1498L52.4877 20.2778V20.3758C52.6494 21.1878 52.7638 22.0078 52.8339 22.8338ZM82.0471 30.5568H79.5518V36.2668C79.7145 36.3018 79.8792 36.3188 80.0449 36.3168C80.2096 36.3178 80.3734 36.3008 80.5351 36.2668V34.4198H82.0826C83.2455 34.4198 84.0276 33.6538 84.0276 32.4658C84.0276 31.2788 83.2544 30.5568 82.0471 30.5568ZM81.8844 33.5268H80.541V31.4468H81.8903C82.7336 31.4468 83.0975 31.7448 83.0975 32.4928C83.0975 33.2408 82.6379 33.5258 81.8844 33.5258V33.5268ZM65.2405 34.2748C64.9506 34.0368 64.6882 33.9778 64.6941 33.9328C64.7001 33.8888 64.8401 33.9058 65.0837 33.8288C65.4321 33.7467 65.7422 33.5462 65.9624 33.2605C66.1826 32.9748 66.2996 32.6213 66.2939 32.2588C66.2939 30.9128 65.3836 30.5488 64.0659 30.5488H61.6415V36.2668C61.8023 36.3018 61.966 36.3188 62.1298 36.3168C62.2935 36.3178 62.4572 36.3008 62.618 36.2668V34.0868H63.2462C63.6056 34.0537 63.9657 34.1404 64.272 34.3338C64.5679 34.5898 64.8174 34.8978 65.0088 35.2418C65.1685 35.4948 65.5641 36.2578 65.5641 36.2578C65.7554 36.2928 65.9507 36.3098 66.146 36.3078C66.3334 36.3108 66.5227 36.2848 66.7032 36.2308C66.7032 36.2308 66.1213 35.2658 65.8629 34.9368C65.682 34.6922 65.4725 34.47 65.2405 34.2748ZM63.912 33.2468H62.6298V31.3908H64.0836C64.9269 31.3908 65.3195 31.5608 65.3195 32.2608C65.3195 32.9618 64.7553 33.2468 63.912 33.2468ZM77.4362 30.5568V33.9508C77.4362 34.8708 76.9036 35.4528 76.0228 35.4528C75.142 35.4528 74.6094 34.8588 74.6094 33.9508V30.5568C74.448 30.5221 74.2833 30.5053 74.1182 30.5068C73.9535 30.5058 73.7888 30.5228 73.6271 30.5568V33.9838C73.6271 35.6548 74.6765 36.3858 76.0198 36.3858C77.3632 36.3858 78.4126 35.6558 78.4126 33.9838V30.5568C78.2511 30.5221 78.0864 30.5053 77.9214 30.5068C77.7587 30.5068 77.5959 30.5228 77.4362 30.5568ZM57.9656 31.3618C58.7152 31.3318 59.4253 31.7068 59.8356 32.3468L60.5566 31.8038C59.9086 30.8928 59.2054 30.4468 57.8877 30.4468C57.5069 30.4431 57.1293 30.5179 56.7778 30.6666C56.4264 30.8153 56.1084 31.0348 55.8431 31.3118C55.3055 31.8718 55.0146 32.6318 55.0382 33.4158C55.0382 35.
3101418 56.2297 36.3858 57.7072 36.3858C58.0889 36.3858 58.4666 36.3078 58.8178 36.1568C59.0436 36.0688 59.2576 35.9538 59.4579 35.8158C59.5368 35.7618 59.6255 35.6958 59.6847 35.7208C59.7429 35.7438 59.737 35.7948 59.737 35.8568V36.2548C59.8583 36.2898 59.9836 36.3068 60.1088 36.3048C60.237 36.3068 60.3633 36.2848 60.4836 36.2428V33.1968H57.9745V34.0098H59.6236C59.6236 34.6218 59.0772 35.4738 57.8413 35.4738C56.6775 35.4738 55.992 34.5268 55.992 33.4308C55.9865 33.1625 56.0333 32.8957 56.1297 32.6459C56.2262 32.396 56.3705 32.1679 56.5542 31.9748C56.926 31.5848 57.434 31.3648 57.9656 31.3618ZM69.8939 30.4468C68.2872 30.4468 66.9853 31.7768 66.9853 33.4168C66.9853 35.0568 68.2872 36.3858 69.8929 36.3858C71.4996 36.3858 72.8005 35.0558 72.8005 33.4158C72.8005 31.7758 71.4996 30.4468 69.8939 30.4468ZM69.8939 35.3938C69.1098 35.3938 68.4046 34.9118 68.1038 34.1738C67.957 33.8123 67.9186 33.415 67.9933 33.0315C68.068 32.6481 68.2526 32.2954 68.5239 32.0178C68.7937 31.7413 69.1386 31.5528 69.5147 31.4764C69.8907 31.4 70.2807 31.4391 70.6346 31.5888C70.9894 31.7398 71.2921 31.9939 71.5048 32.319C71.7175 32.6441 71.8307 33.0256 71.83 33.4158C71.8321 33.9379 71.6297 34.4395 71.2672 34.8104C70.9047 35.1813 70.4119 35.3911 69.8969 35.3938H69.8939ZM48.3353 31.4688H50.3711V36.2638C50.5427 36.2988 50.7163 36.3158 50.8918 36.3138C51.0664 36.3148 51.241 36.2978 51.4116 36.2638V31.4688H53.4473V30.5448H48.3353V31.4688ZM46.5442 30.5418V34.6998C45.6874 33.2483 44.7316 31.8592 43.6839 30.5428C43.5252 30.5081 43.3631 30.4913 43.2007 30.4928C43.0389 30.4918 42.8762 30.5088 42.7174 30.5428V36.2648C42.8752 36.2998 43.0369 36.3168 43.1977 36.3148C43.3595 36.3158 43.5202 36.2988 43.677 36.2648V31.8298C44.6981 33.2592 45.6494 34.7387 46.5275 36.2628C46.6862 36.2978 46.849 36.3148 47.0127 36.3128C47.1755 36.3138 47.3382 36.2968 47.498 36.2628V30.5408C47.3405 30.5061 47.1797 30.4893 47.0186 30.4908C46.8588 30.4908 46.7001 30.5068 46.5452 30.5408L46.5442 30.5418ZM41.9993 36.2218L41.9648 36.0978L41.9303 35.9758L41.7843 35.4858L41.7123 35.2398L41.6334 34.9958L41.4756 34.5088C41.4243 34.3458 41.3661 34.1848 41.3109 34.0248L41.229 33.7848C41.2034 33.7048 41.1708 33.6248 41.1422 33.5448L40.9677 33.0628C40.7274 32.4242 40.4696 31.7926 40.1944 31.1688C40.1244 31.0108 40.0544 30.8568 39.9814 30.7028L39.9005 30.5298H38.5828L38.499 30.7108C38.1463 31.4856 37.8207 32.2727 37.5225 33.0708L37.347 33.5528L37.2602 33.7928L37.1763 34.0338L37.0106 34.5178L36.8528 35.0048L36.7739 35.2478L36.699 35.4918L36.551 35.9818C36.5244 36.0618 36.5017 36.1448 36.478 36.2278V36.2698C36.6418 36.3038 36.8084 36.3208 36.9751 36.3198C37.1428 36.3208 37.3105 36.3038 37.4752 36.2698L37.6152 35.7888L37.6843 35.5488L37.7602 35.3108L37.9555 34.7168C38.384 34.6553 38.8177 34.6393 39.2495 34.6688C39.6638 34.7048 40.0731 34.7968 40.4647 34.9428C40.5899 35.0018 40.6481 35.0348 40.6885 35.1328L40.7438 35.3078L40.8168 35.5448L40.8858 35.7848L41.0229 36.2668V36.2818C41.1856 36.3178 41.3533 36.3348 41.52 36.3318C41.6857 36.3318 41.8514 36.3158 42.0141 36.2818L41.9993 36.2218ZM39.2515 33.9238C38.8813 33.9302 38.5137 33.9874 38.1587 34.0938C38.1764 34.0458 38.211 33.9178 38.2258 33.8738L38.3915 33.4038C38.6213 32.7808 38.859 32.1598 39.1213 31.5518L39.1647 31.4478C39.1913 31.3818 39.2199 31.3648 39.2495 31.3648C39.2781 31.3648 39.3048 31.3818 39.3284 31.4348L39.3778 31.5448C39.6391 32.1398 39.8808 32.7718 40.1096 33.3988L40.2753 33.8678L40.3276 34.0158C39.9732 33.9485 39.613 33.9177 39.2525 33.9238H39.2515Z`,fill:`#222D39`})]}),(0,G.jsx)(`defs`,{children:(0,G.jsx)(`clipPath`,{id:`clip0_1727_408`,children:(0,G.jsx)(`rect`,{width:72,height:24,fill:`white`,transform:`translate(14 15.9998)`})})})]}),Lle=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 100 56`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{d:`M49.5858 23.8833H49.5646C49.5433 23.8833 49.5433 23.8833 49.5221 23.9031L48.885 24.5966C48.885 24.6164 48.8638 24.6164 48.8638 24.6362C48.8638 24.656 48.8638 24.656 48.885 24.6758C49.3947 25.0325 50.0955 25.5872 51.0299 26.3798C51.0299 26.3798 51.0511 26.3996 51.0723 26.3996C51.0936 26.3996 51.0936 26.3996 51.1148 26.3798C51.3059 26.1816 51.5608 25.9241 51.8581 25.607C51.8581 25.607 51.8793 25.5872 51.8793 25.5674C51.8793 25.5476 51.8793 25.5476 51.8581 25.5278C50.9449 24.8145 50.1804 24.2597 49.5858 23.8833Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M51.4971 27.7271C51.1573 27.628 50.8176 27.4893 50.4565 27.3308H50.4353H50.4141C50.3928 27.3308 50.3928 27.3506 50.3928 27.3704C50.0106 29.1735 49.5859 30.7189 49.1611 31.9474C49.1611 31.9672 49.1611 31.9672 49.1611 31.987C49.1611 32.0068 49.1824 32.0068 49.1824 32.0068L50.3079 32.3238C50.3079 32.3238 50.3079 32.3238 50.3291 32.3238H50.3504C50.3716 32.3238 50.3716 32.304 50.3716 32.2842C50.8388 30.4415 51.1998 29.015 51.5184 27.7865C51.5396 27.7667 51.5184 27.7469 51.4971 27.7271Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M50.0741 20.7131C50.0741 20.7131 50.0528 20.6933 50.0316 20.6933C50.0104 20.6933 50.0104 20.6933 49.9891 20.7131L49.3308 21.3669C49.3308 21.3669 49.3096 21.3868 49.3096 21.4066C49.3096 21.4264 49.3096 21.4264 49.3308 21.4462C50.0528 21.9
310614 50.7112 22.5359 51.3058 23.1502C51.3058 23.17 51.327 23.17 51.3483 23.17C51.3695 23.17 51.3695 23.17 51.3907 23.1502L52.134 22.4171C52.134 22.4171 52.1552 22.3973 52.1552 22.3774C52.1552 22.3576 52.1552 22.3576 52.134 22.3378C51.3058 21.6443 50.6262 21.1094 50.0741 20.7131Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M62.3912 21.4858H58.0377V20.1187C58.0377 20.0989 58.0165 20.0791 57.974 20.0791H56.7636C56.7423 20.0791 56.7423 20.0791 56.7211 20.0989C56.7211 20.0989 56.6999 20.1187 56.6999 20.1385V21.5056H52.3677C52.3464 21.5056 52.3252 21.5255 52.3252 21.5453V22.2586C52.3252 22.2784 52.3464 22.2982 52.3677 22.2982H54.2152C54.2789 22.4369 54.3426 22.6152 54.4276 22.7935C54.5762 23.1502 54.7249 23.5663 54.916 23.9229H53.8542C53.0897 23.9031 52.7499 24.1805 52.7499 24.9928V32.4229C52.7712 32.4427 52.7924 32.4625 52.8136 32.4625H53.8967C53.9179 32.4625 53.9392 32.4427 53.9392 32.4229V25.191C53.9392 24.8938 54.0666 24.7749 54.3851 24.7749H56.7636V25.9439H54.5975C54.5762 25.9439 54.555 25.9637 54.555 25.9835V26.6175C54.555 26.6373 54.5762 26.6572 54.5975 26.6572H56.7848V27.9054H55.0859C55.0647 27.9054 55.0434 27.9252 55.0434 27.945V30.9765C55.0434 30.9963 55.0647 31.0161 55.0859 31.0161H58.3563C58.4412 31.0161 58.5262 31.0161 58.6111 31.0161C59.0783 31.0161 59.3332 30.9567 59.503 30.7982C59.6729 30.6397 59.7366 30.3623 59.7154 29.9066V27.9847C59.7154 27.9649 59.6942 27.945 59.6729 27.945H57.9316V26.677H60.1614C60.1826 26.677 60.2038 26.6572 60.2038 26.6373V26.0033C60.2038 25.9835 60.1826 25.9637 60.1614 25.9637H57.9103V24.7947H60.2888C60.6498 24.7947 60.7348 24.973 60.7348 25.3297V31.1152C60.7348 31.452 60.4587 31.5115 60.2038 31.5115H58.8872C58.866 31.5115 58.866 31.5115 58.8447 31.5313C58.8447 31.5313 58.8235 31.5511 58.8235 31.5709V32.3833C58.8235 32.4031 58.8447 32.4229 58.866 32.4229H60.6498C61.478 32.4229 61.9027 32.0464 61.9027 31.3133L61.924 25.0523C61.924 24.2597 61.6691 23.9229 60.6498 23.9427H59.7791C60.0127 23.5068 60.2251 22.9718 60.395 22.5161C60.4162 22.4369 60.4587 22.3576 60.4799 22.2982H62.3912C62.4124 22.2982 62.4337 22.2784 62.4337 22.2586V21.5453C62.4337 21.5056 62.4124 21.4858 62.3912 21.4858ZM59.2057 22.2982C59.0996 22.5359 58.8023 23.2294 58.6324 23.6653C58.5899 23.7842 58.5474 23.8833 58.5049 23.9427H56.2327C56.1902 23.8635 56.1052 23.6653 55.9566 23.3681C55.7655 22.9718 55.5531 22.4963 55.4682 22.318H59.2057V22.2982ZM56.169 30.3821V28.698H58.5687V29.8471C58.5687 30.3623 58.5474 30.3623 58.0802 30.3821H58.0165H56.169Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M65.1522 23.804H65.131C65.1097 23.804 65.1097 23.804 65.0885 23.8238L64.4514 24.5173C64.4514 24.5371 64.4302 24.5371 64.4302 24.5569C64.4302 24.5767 64.4302 24.5767 64.4514 24.5966C64.9611 24.9532 65.6619 25.508 66.5963 26.3005C66.5963 26.3005 66.6175 26.3203 66.6387 26.3203C66.66 26.3203 66.66 26.3203 66.6812 26.3005C66.8723 26.1024 67.1272 25.8448 67.4245 25.5278C67.4245 25.5278 67.4457 25.508 67.4457 25.4882C67.4457 25.4683 67.4457 25.4683 67.4245 25.4485C66.5113 24.7154 65.7468 24.1805 65.1522 23.804Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M67.0635 27.6478C66.7237 27.5488 66.384 27.4101 66.023 27.2516H66.0017H65.9805C65.9592 27.2516 65.9592 27.2714 65.9592 27.2912C65.577 29.0942 65.1523 30.6397 64.7275 31.8681C64.7275 31.8879 64.7275 31.8879 64.7275 31.9077C64.7275 31.9276 64.7488 31.9276 64.7488 31.9276L65.8743 32.2446C65.8743 32.2446 65.8743 32.2446 65.8955 32.2446H65.9168C65.938 32.2446 65.938 32.2248 65.938 32.2049C66.4264 30.3623 66.7875 28.9159 67.106 27.7073C67.106 27.6676 67.0848 27.6478 67.0635 27.6478Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M65.662 20.614C65.662 20.614 65.6407 20.5942 65.6195 20.5942C65.5983 20.5942 65.5983 20.5942 65.577 20.614L64.9187 21.2679C64.8975 21.2679 64.8975 21.2877 64.8975 21.3075C64.8975 21.3273 64.8975 21.3273 64.9187 21.3471C65.5983 21.8821 66.2566 22.4567 66.8724 23.0511C66.8724 23.0709 66.8937 23.0709 66.9149 23.0709C66.9361 23.0709 66.9361 23.0709 66.9574 23.0511L67.7006 22.318C67.7006 22.318 67.7219 22.2982 67.7219 22.2784C67.7219 22.2586 67.7219 22.2586 67.7006 22.2387C66.8724 21.5453 66.2141 21.0103 65.662 20.614Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M77.9576 21.4066H73.6254V20.0394C73.6254 20.0196 73.6042 19.9998 73.5829 19.9998H72.3725C72.3512 19.9998 72.3512 19.9998 72.33 20.0196C72.33 20.0196 72.3087 20.0394 72.3087 20.0593V21.4264H67.9341C67.9128 21.4264 67.8916 21.4462 67.8916 21.466V22.1793C67.8916 22.1991 67.9128 22.2189 67.9341 22.2189H69.7816C69.8453 22.3576 69.909 22.5359 69.994 22.7143C70.1426 23.0709 70.2913 23.487 70.4824 23.8436H69.4206C68.6561 23.8238 68.3163 24.1012 68.3163 24.9136V32.3436C68.3163 32.3635 68.3376 32.3833 68.3588 32.3833H69.4418C69.4631 32.3833 69.4843 32.3635 69.4843 32.3436V25.0919C69.4843 24.7947 69.6117 24.6758 69.9303 24.6758H72.3087V25.8448H70.1639C70.1426 25.8448 70.1214 25.8646 70.1214 25.8844V26.5185C70.1214 26.5383 70.1426 26.5581 70.1639 26.5581H72.3512V27.8063H70.6523C70.6311 27.8063 70.6098 27.8262 70.6098 27.846V30.8774C70.6098 30.8973 70.6311 30.9171 70.6523 30.9171H73.9227C74.0076 30.9171 74.0926 30.9171 74.1775 3
3100.9171C74.6447 30.9171 74.8996 30.8576 75.0695 30.6991C75.2393 30.5406 75.3031 30.2632 75.2818 29.8075V27.8856C75.2818 27.8658 75.2606 27.846 75.2393 27.846H73.498V26.5977H75.7278C75.749 26.5977 75.7703 26.5779 75.7703 26.5581V25.9241C75.7703 25.9042 75.749 25.8844 75.7278 25.8844H73.4767V24.7154H75.8552C76.2162 24.7154 76.3012 24.8938 76.3012 25.2504V31.0359C76.3012 31.3728 76.0251 31.4322 75.7703 31.4322H74.4536C74.4324 31.4322 74.4324 31.4322 74.4111 31.452C74.3899 31.4718 74.3899 31.4718 74.3899 31.4917V32.304C74.3899 32.3238 74.4111 32.3436 74.4324 32.3436H76.195C77.0232 32.3436 77.4479 31.9672 77.4479 31.2341L77.4692 25.0126C77.4692 24.2201 77.2143 23.8833 76.195 23.9031H75.3243C75.5579 23.4672 75.7703 22.9322 75.9401 22.4765C75.9614 22.3973 76.0039 22.318 76.0251 22.2586H77.9363C77.9576 22.2586 77.9788 22.2387 77.9788 22.2189V21.5056C78.0001 21.4264 77.9788 21.4066 77.9576 21.4066ZM74.7934 22.1991C74.6872 22.4369 74.3899 23.1304 74.22 23.5663C74.1775 23.6851 74.1351 23.7842 74.0926 23.8436H71.7991C71.7566 23.7644 71.6717 23.5663 71.523 23.269C71.3319 22.8728 71.1195 22.3973 71.0346 22.2189H74.7934V22.1991ZM71.7566 30.3028V28.6385H74.1563V29.7877C74.1563 30.3028 74.1351 30.3028 73.6679 30.3227H73.6042L71.7566 30.3028Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M59.8218 34.86V34.6816H62.4763V34.86H61.1384V36.9602H60.8836V34.86H59.8218ZM62.2427 36.0091C61.9242 35.811 61.6056 35.6327 61.2871 35.5138V35.3157C61.6693 35.4345 61.9879 35.5931 62.2427 35.7516V36.0091Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M65.9167 36.2667H66.9361V36.128H65.853C65.853 36.1082 65.853 36.0884 65.853 36.0488V35.811H66.9785V35.6723H65.8318V35.3553H66.7662V35.2166H65.8318V34.9194H66.8936V34.7807H66.3414C66.3839 34.7213 66.4051 34.642 66.4051 34.5429H66.1715C66.1715 34.6222 66.1503 34.7014 66.1078 34.7807H65.3221C65.3009 34.7213 65.2796 34.642 65.2584 34.5429H65.0248C65.046 34.642 65.0673 34.7014 65.0885 34.7807H64.5364V34.9194H65.5982V35.2166H64.685V35.3553H65.5982V35.6723H64.4726V35.811H65.5982V36.0488C65.5982 36.0686 65.5769 36.1082 65.5769 36.128H64.4939V36.2667H65.5345C65.3858 36.5045 65.0036 36.663 64.4302 36.7422V36.9206C65.0248 36.8413 65.4495 36.663 65.7256 36.3856C65.9804 36.663 66.4051 36.8413 67.021 36.9206V36.7224C66.4051 36.6035 66.0441 36.4847 65.9167 36.2667Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M48.9912 35.2166C49.1186 35.2959 49.2673 35.3949 49.4371 35.5336C49.3734 35.5931 49.331 35.6525 49.2885 35.6921C49.1186 35.5336 48.97 35.4147 48.8638 35.3553L48.9912 35.2166Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M49.1611 35.9101C49.2248 35.9497 49.3097 35.9695 49.3734 35.9893C49.3097 36.2469 49.2248 36.5441 49.1398 36.8809L48.9062 36.8215C48.9912 36.5639 49.0761 36.2667 49.1611 35.9101Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M49.0761 34.5826C49.1823 34.6618 49.331 34.7807 49.4796 34.8996L49.331 35.0383C49.2036 34.9194 49.0761 34.8005 48.9487 34.7014L49.0761 34.5826Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M51.0089 36.029H50.0957V36.6432H50.754C50.9664 36.6432 51.0301 36.6234 51.0089 36.4252V36.029ZM50.6691 36.5045H50.2868V36.1478H50.7965V36.3856C50.7965 36.5045 50.7965 36.5045 50.6691 36.5045Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M51.5609 34.8798V34.7411H50.6902V34.4835H50.4566V34.7411H49.5435V34.8798H49.9257C49.9682 34.959 50.0107 35.1175 50.0744 35.2364H49.8408C49.6921 35.2364 49.6496 35.2959 49.6284 35.4345V36.9206H49.8408V35.494C49.8408 35.4147 49.8832 35.3949 49.9682 35.3751H50.4354V35.6327H49.9894V35.7516H50.4354V36.029H50.6477V35.7516H51.1149V35.6327H50.6477V35.3751H51.1149C51.1999 35.3751 51.2211 35.4147 51.2211 35.494V36.6432C51.2211 36.7026 51.1786 36.7224 51.1149 36.7224H50.8601V36.8809H51.2211C51.391 36.8809 51.4547 36.8017 51.4547 36.663V35.4147C51.4547 35.2562 51.391 35.1968 51.1999 35.1968H51.0088C51.0725 35.0977 51.1149 34.959 51.1574 34.8401H51.5609V34.8798ZM50.7752 35.2166H50.308C50.308 35.1968 50.1593 34.9194 50.1381 34.86H50.9238C50.9238 34.8996 50.7964 35.1968 50.7752 35.2166Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M52.75 35.2166C52.8562 35.2959 53.026 35.3949 53.1959 35.5336C53.1322 35.5931 53.0898 35.6525 53.0473 35.6921C52.8562 35.5336 52.7287 35.4147 52.6226 35.3553L52.75 35.2166Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M52.9199 35.9101C52.9836 35.9497 53.0685 35.9695 53.1322 35.9893C53.0685 36.2469 52.9836 36.5441 52.8986 36.8809L52.665 36.8215C52.7712 36.5639 52.8562 36.2667 52.9199 35.9101Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M52.8559 34.5826C52.9621 34.6618 53.1108 34.7807 53.2594 34.8996L53.1108 35.0383C52.9834 34.9194 52.8559 34.8005 52.7285 34.7014L52.8559 34.5826Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M54.7677 36.029H53.8545V36.6432H54.5128C54.7252 36.6432 54.7889 36.6234 54.7677 36.4252V36.029ZM54.4279 36.5045H54.0669V36.1478H54.5765V36.3856C54.5553 36.5045 54.5553 36.5045 54.4279 36.5045Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M55.3194 34.8798V34.7411H54.47V34.4835H54.2364V34.7411H53.3232V34.8798H53.7055C53.748 34.959 53.7904 35.1175 53.8541 35.2364H53.6205C53.4719 35.2364 53.4294 35.2959 53.4082 35.4345V36.9206H53.6205V35.494C53.6205 35.4147 53.663 35.3949 53.748 35.3751H54.2152V35.6327H53.7692V35.7516H54.2152V36.029H54.4275V35.7516H54.8947V35.
3106327H54.4275V35.3751H54.8947C54.9797 35.3751 55.0009 35.4147 55.0009 35.494V36.6432C55.0009 36.7026 54.9584 36.7224 54.8947 36.7224H54.6399V36.8809H55.0009C55.1708 36.8809 55.2345 36.8017 55.2345 36.663V35.4147C55.2345 35.2562 55.1708 35.1968 55.0009 35.1968H54.8098C54.8735 35.0977 54.916 34.959 54.9584 34.8401H55.3194V34.8798ZM54.5549 35.2166H54.0665C54.0665 35.1968 53.9179 34.9194 53.8966 34.86H54.6824C54.6824 34.8996 54.5549 35.1968 54.5549 35.2166Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M71.7139 36.9007V35.8506H71.9475V36.7224H72.8394V35.6525H71.7988V34.6618H72.0324V35.4742H72.8182V34.5033H73.0942V35.4742H73.795C73.88 35.4742 73.9012 35.4345 73.9012 35.3553V34.6618H74.1348V35.4544C74.1136 35.5732 74.0499 35.6327 73.9224 35.6525H73.073V36.7224H73.8587C73.9437 36.7224 73.9649 36.6828 73.9649 36.6234V35.8506H74.2197V36.6828C74.2197 36.8017 74.1136 36.8809 73.9437 36.8809L71.7139 36.9007Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M56.3604 35.5732V35.3751H58.7813V35.5732H56.3604Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M68.2099 36.9206L68.04 36.8017C68.2312 36.663 68.4011 36.4847 68.5285 36.2865C68.4435 36.2073 68.125 35.8903 68.125 35.8903L68.3161 35.0185H68.0825V34.86H68.3586L68.4223 34.5033H68.6559L68.5709 34.86H68.8895C69.0806 34.86 69.1019 34.9194 69.1019 35.0977C69.1019 35.2959 69.0594 35.494 69.0169 35.6723C68.932 35.9893 68.7833 36.2469 68.7833 36.2469L69.208 36.6432L69.0594 36.7819C68.9532 36.6828 68.8045 36.5639 68.6771 36.445C68.5922 36.6035 68.4223 36.7621 68.2099 36.9206ZM68.6347 36.0884C68.7833 35.8308 68.9107 35.5138 68.9107 35.1175C68.9107 35.0581 68.8683 35.0383 68.8258 35.0383H68.5497L68.3798 35.8308C68.3798 35.8308 68.6134 36.0686 68.6347 36.0884ZM70.6946 35.7516H70.0362V36.6828C70.0362 36.8215 69.9301 36.8809 69.7389 36.8809H69.2293V36.7026H69.6115C69.7389 36.7026 69.7814 36.663 69.7814 36.5639V35.7119H69.1019V35.5534H69.7814V35.3553C70.015 35.1373 70.1849 34.9788 70.3548 34.8203H69.2293V34.642H70.461C70.5672 34.642 70.6733 34.7609 70.5459 34.8798C70.3973 35.0185 70.2486 35.1572 70.015 35.3949V35.5534H70.6733V35.7516H70.6946Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M75.6638 36.9602V35.8704C75.6213 35.9101 75.5788 35.9695 75.4939 36.0488C75.4939 36.0686 75.4726 36.0686 75.4726 36.0884L75.3027 35.9893C75.5151 35.7516 75.7062 35.5138 75.8549 35.2364H76.0672C75.9823 35.4345 75.8761 35.6129 75.8761 35.6129L75.8974 36.98L75.6638 36.9602ZM75.5151 35.3157L75.3452 35.2166C75.5363 35.0185 75.685 34.7807 75.8336 34.5231H76.0672C75.8973 34.8203 75.7275 35.0779 75.5151 35.3157ZM76.7468 36.9404V36.7819H77.1715C77.2565 36.7819 77.2989 36.7621 77.2989 36.6828V35.5534H76.1947V35.3949H77.9997V35.5534H77.5325V36.7621C77.5113 36.8809 77.4476 36.9404 77.3202 36.9602H76.7468V36.9404ZM76.3433 34.7807V34.6024H77.8723V34.7807H76.3433Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M33.2977 33.2352C37.1414 33.1164 40.1782 30.2632 40.2207 26.7364V23.6851H44.4467V27.0534C44.3618 32.522 39.2651 36.8413 33.2977 36.98C27.2241 36.9404 22.0849 32.5814 22 27.0534V21.0103C22 20.3961 22.4247 19.9998 23.083 19.9998H40.2419V23.7049H26.7994C26.4596 23.7049 26.2473 23.9031 26.2473 24.2201V26.677C26.2685 30.2632 29.369 33.1956 33.2977 33.2352Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M39.9234 20.2772V23.3879H26.7782C26.2685 23.3879 25.9075 23.7049 25.9075 24.2003V26.677C25.9287 28.4998 26.7144 30.2038 28.0948 31.4917C29.4752 32.7795 31.3015 33.5126 33.2765 33.5325H33.3189C37.3326 33.4136 40.4968 30.4415 40.5392 26.7364V23.9823H44.1494V27.0534C44.1069 29.5896 42.9389 32.0068 40.879 33.8098C38.8403 35.5931 36.1646 36.6234 33.3402 36.6828H33.3189C30.4096 36.663 27.6913 35.6723 25.6102 33.8693C23.529 32.0464 22.3398 29.6292 22.2973 27.0534V20.9905C22.2973 20.7725 22.361 20.5942 22.4884 20.4555C22.6159 20.3366 22.807 20.2772 23.0406 20.2772H23.0618H39.9234ZM40.2207 19.9998H23.083H23.0618C22.4247 19.9998 22 20.3961 22 21.0103V27.0534C22.0849 32.5814 27.2241 36.9404 33.2977 36.98C39.2651 36.8611 44.3618 32.5418 44.4467 27.0534V23.6851H40.2207V26.7364C40.1782 30.283 37.1414 33.1362 33.2977 33.2352C29.369 33.1956 26.2685 30.2632 26.226 26.677V24.2003C26.226 23.8833 26.4384 23.6851 26.7782 23.6851H40.2207V19.9998Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M33.2977 33.2352C37.1414 33.1164 40.1782 30.2632 40.2207 26.7364V23.6851H44.4467V27.0534C44.3618 32.522 39.2651 36.8413 33.2977 36.98C27.2241 36.9404 22.0849 32.5814 22 27.0534V21.0103C22 20.3961 22.4247 19.9998 23.083 19.9998H40.2419V23.7049H26.7994C26.4596 23.7049 26.2473 23.9031 26.2473 24.2201V26.677C26.2685 30.2632 29.369 33.1956 33.2977 33.2352Z`,fill:`url(#paint0_linear_1727_384)`}),(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`linearGradient`,{id:`paint0_linear_1727_384`,x1:21.9994,y1:28.4838,x2:44.4502,y2:28.4838,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#ECCC49`,stopOpacity:.1}),(0,G.jsx)(`stop`,{offset:.1413,stopColor:`#ECCC49`,stopOpacity:.0859}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#ECCC49`,stopOpacity:0})]})})]}),Rle=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 100 56`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{d:`M47.0426 23.7313V33.3319H49.752V23.7313H47.0426ZM25.7261 23.715V33.3237H28.4598V25.8629L30.5915 25.8711C31.2912 25.8711 31.7793 26.0419 32.1129 26.3999C32.5441 26.8556 32.715 27.5959 32.715 28.9384V33.3237H35.3673V28.019C35.3673 24.2276 32.9509 23.715 30.5915 23.715H25.7261ZM51.4117 23.7313V33.3319H55.8052C58.1484 33.3319 58.9132 32.9413 59.735 32.0708C60.3208 31.4606 60.695 30.11 60.695 28.6374C60.695 27.2868 60.3777 26.0826 59.8163 25.3341C58.8237 23.9916 57.3755 23.7313 55.2113 23.7313H51.4117ZM54.0966 25.8141H55.2601C56.9524 25.8141 58.0426 26.5708 58.0426 28.5397C58.0426 30.5087 56.9524 31.2735 55.2601 31.2735H54.0966V25.8141ZM43.1373 23.7313L40.8755 31.3385L38.7113 23.7313H35.7823L38.874 33.3319H42.7793L45.9036 23.7313H43.1373ZM61.9642 33.3319H64.6736V23.7313H61.9642V33.3319ZM69.5634 23.7313L65.7801 33.3237H68.4487L69.0508 31.6233H73.5256L74.0952 33.3156H76.9997L73.1839 23.7313H69.5634ZM71.3207 25.4806L
31072.9642 29.9717H69.6284L71.3207 25.4806Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M8.24186 25.3257V24.0077C8.37204 23.9995 8.50222 23.9914 8.6324 23.9914C12.2448 23.8775 14.6124 27.0994 14.6124 27.0994C14.6124 27.0994 12.0577 30.6467 9.31583 30.6467C8.9497 30.6467 8.59172 30.5898 8.25 30.4758V26.4729C9.65754 26.6437 9.94231 27.2621 10.7803 28.6696L12.6598 27.0912C12.6598 27.0912 11.2848 25.2932 8.97411 25.2932C8.73003 25.285 8.48595 25.3013 8.24186 25.3257ZM8.24186 20.9648V22.9337L8.6324 22.9093C13.6524 22.7384 16.9312 27.0261 16.9312 27.0261C16.9312 27.0261 13.1723 31.5986 9.25888 31.5986C8.91716 31.5986 8.58358 31.5661 8.25 31.5091V32.7295C8.52663 32.7621 8.81139 32.7865 9.08802 32.7865C12.733 32.7865 15.3691 30.9233 17.9238 28.7266C18.3469 29.0683 20.0799 29.89 20.4379 30.248C18.0133 32.2821 12.3587 33.9174 9.15311 33.9174C8.84393 33.9174 8.55104 33.9011 8.25814 33.8686V35.5853H22.1058V20.9648H8.24186ZM8.24186 30.4758V31.5173C4.87352 30.9152 3.93787 27.4085 3.93787 27.4085C3.93787 27.4085 5.55695 25.6186 8.24186 25.3257V26.4648H8.23373C6.82618 26.2939 5.71967 27.6119 5.71967 27.6119C5.71967 27.6119 6.34615 29.8331 8.24186 30.4758ZM2.26183 27.2621C2.26183 27.2621 4.25518 24.3168 8.25 24.0077V22.9337C3.82396 23.2917 0 27.0343 0 27.0343C0 27.0343 2.1642 33.2991 8.24186 33.8686V32.7295C3.78328 32.1763 2.26183 27.2621 2.26183 27.2621Z`,fill:`#1D2939`})]}),zle=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 100 56`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M38.2358 32.198V22.9656H40.1885L42.2242 26.1175L44.2046 22.9656H46.0455V32.198L44.2051 32.1703V26.3123L42.6988 28.4884H41.7783L40.1885 26.3123V32.198H38.2358ZM49.5322 22.9656H47.7471V32.198H49.5322V22.9656ZM51.1778 22.9656H53.0469L56.5054 28.6837V22.9656H58.3463V32.198H56.5054L53.0469 26.5357V32.1703H51.1778V22.9656ZM61.833 22.9656H59.9362V32.198H61.833V22.9656ZM63.4505 22.9656V32.198H65.4031V26.3123L66.993 28.4884H67.9134L69.4197 26.3128V32.1703L71.2606 32.198V22.9656H69.4197L67.4393 26.1175L65.4031 22.9656H63.4505ZM72.4322 32.198L75.3607 22.9656H77.7039L80.6602 32.198H78.5962L78.1854 30.8034H74.8899L74.4684 32.198H72.4322ZM75.3723 29.2413H77.7164L76.56 25.3923L75.3723 29.2413ZM89.0003 22.9656H86.7965L85.1259 25.7731L83.4216 22.9656H81.3018L84.0535 27.5748L81.3023 32.198H83.4216L85.1286 29.3761L86.7965 32.1703H89.0003L86.219 27.5744L89.0003 22.9656Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M26.6547 17.9646C27.7664 17.9646 28.6676 18.8561 28.6676 19.9554V31.9777C28.6753 32.1619 28.7542 32.3359 28.8876 32.4631C29.0211 32.5903 29.1987 32.6607 29.3831 32.6595C29.5673 32.6605 29.7446 32.5899 29.8779 32.4628C30.0111 32.3356 30.0899 32.1617 30.0976 31.9777V24.7918C30.099 24.5316 30.1516 24.2743 30.2525 24.0345C30.3533 23.7946 30.5004 23.577 30.6854 23.394C30.8703 23.211 31.0895 23.0663 31.3304 22.968C31.5713 22.8697 31.8292 22.8199 32.0893 22.8213C32.3496 22.8199 32.6075 22.8698 32.8485 22.9681C33.0895 23.0664 33.3087 23.2113 33.4936 23.3944C33.6786 23.5775 33.8257 23.7952 33.9265 24.0351C34.0272 24.2751 34.0798 24.5325 34.081 24.7928V31.1025C34.08 31.2679 34.0134 31.4261 33.8958 31.5424C33.7783 31.6587 33.6194 31.7236 33.454 31.7228C33.372 31.7233 33.2908 31.7077 33.2148 31.6768C33.1389 31.6459 33.0698 31.6004 33.0115 31.5428C32.9532 31.4852 32.9068 31.4166 32.875 31.3411C32.8431 31.2656 32.8265 31.1845 32.826 31.1025V24.7928C32.8255 24.6965 32.806 24.6013 32.7687 24.5126C32.7315 24.4239 32.677 24.3434 32.6086 24.2757C32.5402 24.208 32.4592 24.1545 32.3701 24.1181C32.281 24.0817 32.1856 24.0633 32.0893 24.0638C31.9931 24.0633 31.8977 24.0817 31.8086 24.1181C31.7195 24.1545 31.6384 24.208 31.57 24.2757C31.5016 24.3434 31.4472 24.4239 31.4099 24.5126C31.3726 24.6013 31.3532 24.6965 31.3527 24.7928V31.9787C31.3513 32.2359 31.2992 32.4904 31.1995 32.7275C31.0998 32.9647 30.9543 33.1799 30.7714 33.3608C30.5885 33.5417 30.3718 33.6849 30.1336 33.782C29.8954 33.8792 29.6403 33.9285 29.3831 33.9271C29.1258 33.9285 28.8708 33.8792 28.6326 33.782C28.3944 33.6849 28.1776 33.5417 27.9947 33.3608C27.8119 33.1799 27.6664 32.9647 27.5667 32.7275C27.4669 32.4904 27.4149 32.2359 27.4135 31.9787V19.9573C27.4055 19.7619 27.3221 19.5773 27.1807 19.4422C27.0394 19.3072 26.8512 19.2322 26.6557 19.2331C26.4602 19.232 26.2718 19.3067 26.1303 19.4416C25.9888 19.5765 25.9051 19.761 25.8969 19.9563L25.8959 35.2514C25.8929 35.7707 25.6837 36.2677 25.3143 36.6329C24.945 36.9981 24.4457 37.2016 23.9263 37.1988C23.6691 37.2002 23.4141 37.1509 23.1758 37.0538C22.9376 36.9566 22.7209 36.8135 22.538 36.6325C22.3551 36.4516 22.2096 36.2364 22.1099 35.9993C22.0102 35.7621 21.9581 35.5077 21.9568 35.2504V33.3904C21.9568 33.0481 22.2376 32.7701 22.5838 32.7701C22.93 32.7701 23.2108 33.0481 23.2108 33.3904V35.2504C23.2108 35.5033 23.3474 35.737 23.5686 35.864C23.7898 35.9899 24.0629 35.9899 24.2841 35.864C24.3926 35.8024 24.4829 35.7132 24.5458 35.6055C24.6086 35.4977 24.6418 35.3752 24.6418 35.2504V19.9554C24.6418 18.8561 25.543 17.9
310646 26.6547 17.9646ZM21.198 17.9646C22.3097 17.9646 23.2108 18.8561 23.2108 19.9554V31.0371C23.2104 31.1191 23.1939 31.2001 23.1622 31.2756C23.1305 31.3512 23.0842 31.4197 23.0259 31.4773C22.9677 31.5349 22.8987 31.5805 22.8228 31.6114C22.7469 31.6423 22.6657 31.658 22.5838 31.6574C22.5019 31.658 22.4207 31.6423 22.3448 31.6114C22.2689 31.5805 22.1999 31.5349 22.1417 31.4773C22.0834 31.4197 22.0371 31.3512 22.0054 31.2756C21.9737 31.2001 21.9571 31.1191 21.9568 31.0371V19.9554C21.9555 19.7553 21.8749 19.5639 21.7326 19.4233C21.5903 19.2826 21.398 19.2042 21.198 19.2052C20.9979 19.2042 20.8056 19.2826 20.6634 19.4233C20.5211 19.5639 20.4404 19.7553 20.4392 19.9554V33.4318C20.4361 33.9569 20.2247 34.4593 19.8515 34.8286C19.4782 35.1979 18.9735 35.4039 18.4484 35.4014C17.9232 35.4042 17.4183 35.1983 17.0448 34.829C16.6713 34.4596 16.4598 33.9571 16.4567 33.4318V24.7928C16.4562 24.6965 16.4368 24.6013 16.3995 24.5126C16.3622 24.4239 16.3078 24.3434 16.2394 24.2757C16.171 24.208 16.0899 24.1545 16.0008 24.1181C15.9117 24.0817 15.8163 24.0633 15.7201 24.0638C15.6238 24.0633 15.5284 24.0817 15.4393 24.1181C15.3502 24.1545 15.2692 24.208 15.2008 24.2757C15.1324 24.3434 15.0779 24.4239 15.0407 24.5126C1
3105.0034 24.6013 14.9839 24.6965 14.9834 24.7928V28.4473C14.982 28.7074 14.9294 28.9648 14.8286 29.2046C14.7277 29.4444 14.5806 29.6621 14.3957 29.845C14.2107 30.028 13.9915 30.1728 13.7507 30.2711C13.5098 30.3693 13.2519 30.4192 12.9917 30.4178C12.7315 30.4192 12.4736 30.3693 12.2327 30.2711C11.9919 30.1728 11.7727 30.028 11.5877 29.845C11.4028 29.6621 11.2557 29.4444 11.1548 29.2046C11.054 28.9648 11.0014 28.7074 11 28.4473V27.122C11 26.7787 11.2808 26.5008 11.627 26.5008C11.9733 26.5008 12.255 26.7797 12.255 27.122V28.4473C12.255 28.8493 12.5849 29.1753 12.9917 29.1753C13.3985 29.1753 13.7284 28.8493 13.7284 28.4473V24.7918C13.7314 24.2667 13.9428 23.7643 14.3161 23.395C14.6894 23.0257 15.194 22.8197 15.7191 22.8222C16.2444 22.8194 16.7493 23.0253 17.1227 23.3946C17.4962 23.764 17.7078 24.2665 17.7108 24.7918V33.4318C17.7108 33.8348 18.0407 34.1608 18.4484 34.1608C18.8552 34.1608 19.1851 33.8348 19.1851 33.4318V19.9554C19.1851 18.8561 20.0862 17.9646 21.198 17.9646Z`,fill:`#1D2939`})]}),Ble=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 100 56`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`g`,{clipPath:`url(#clip0_1727_372)`,children:(0,G.jsx)(`path`,{d:`M1.49393 23.5322L1.09326 25.0651H4.80614L3.44386 30.411L2.44219 34.3548H4.87292L5.8746 30.411L7.23688 25.0651H10.9364L11.3237 23.5322H1.49393ZM75.6981 23.6501C75.5005 24.4467 75.3188 25.0683 75.1372 25.6024H74.229L74.5228 25.4189C75.0293 25.0966 75.2788 24.931 75.2841 24.9079C75.0138 24.3089 74.7851 23.8954 74.5763 23.6894C74.5704 23.6522 74.1847 23.8833 73.441 24.3576L73.1873 24.5148C73.1926 24.5264 73.2231 24.5709 73.2808 24.6459C73.5425 24.9797 73.7637 25.2942 73.9352 25.6024H73.1873L72.9469 26.703H74.6297L74.5095 26.9257L74.3893 27.1484H72.5729L72.3459 28.2491H73.6013C73.0655 28.8906 72.4281 29.4058 71.6914 29.7952L72.8667 24.2921H69.6213L68.4059 29.9786C68.3733 30.1274 68.3365 30.2689 68.2991 30.411C68.0165 31.5111 67.596 32.4979 67.0303 33.3721C67.3733 33.6693 67.6527 33.988 67.8851 34.3286C68.5651 33.3769 69.0994 32.1583 69.5011 30.6599H70.209L69.8083 32.5205C69.7767 32.7752 69.5129 32.89 69.0337 32.848C69.1336 33.3035 69.1763 33.7595 69.1405 34.2369C70.2971 34.2296 70.881 33.9738 70.9034 33.4508L71.5579 30.411L71.5979 30.2013C71.67 30.2721 71.7374 30.3418 71.7983 30.411C71.9543 30.5913 72.0755 30.7684 72.1589 30.9482C72.3362 30.8622 72.5467 30.7302 72.7866 30.5289L72.3592 31.8916H76.2457L76.1789 32.2453C76.0251 32.9812 75.8087 33.3386 75.5379 33.2935L75.7515 32.2453H71.5846L71.3442 33.3328H74.7365C74.9304 33.7432 75.0132 34.1635 74.9769 34.6038C76.0593 34.5692 76.7222 34.4057 76.9803 34.1059C77.0609 34.0184 77.1459 33.8664 77.234 33.608C77.4109 33.0886 77.6181 32.3292 77.8751 31.3282L78.022 30.7516H76.5796L76.6597 30.411L76.7666 29.8869C77.023 30.107 77.2506 30.2784 77.4477 30.411C77.5936 30.509 77.7223 30.5839 77.835 30.6337C77.897 30.5577 77.9606 30.4828 78.022 30.411C78.3938 29.9681 78.747 29.5991 79.0771 29.2973C78.2063 29.0541 77.5685 28.705 77.1672 28.2491H79.0771L79.3
310042 27.1484H75.8717C75.9636 27.0164 76.0491 26.8743 76.1121 26.703H78.9436L79.1706 25.6024H78.1556C78.599 25.1773 78.989 24.8277 79.3442 24.5542L78.1556 23.8335C77.7747 24.3104 77.3639 24.7748 76.9135 25.2224L77.6347 25.6548H76.6063L76.7532 25.1962L76.9402 24.7376C77.0962 24.3513 77.2244 24.0578 77.3142 23.8728C77.3227 23.7968 77.272 23.7586 77.1138 23.7418C76.8141 23.6957 76.3435 23.6653 75.6981 23.6501ZM82.8835 23.7418C82.5213 23.8597 81.9582 24.0751 81.174 24.3969C81.4208 25.0872 81.5987 25.7758 81.7216 26.4671C81.9988 26.3639 82.6004 26.161 83.5112 25.8382C83.1314 24.4965 82.914 23.7947 82.8835 23.7418ZM84.2057 24.3314L83.9252 25.6024H84.9937L84.4862 27.9739H83.1506L82.8701 29.2449H84.2191L83.9653 30.411L83.1506 34.1976H84.6465L85.4478 30.411L85.7016 29.2449H86.77L86.5563 30.2013C86.5408 30.2721 86.5296 30.3413 86.5163 30.411C86.2427 31.8161 86.3832 32.9151 86.9303 33.6997C87.2637 34.1646 87.6659 34.3611 88.1457 34.2893C88.6425 34.3145 89.1399 33.5278 89.6281 31.9309C89.1837 31.7328 88.7744 31.5582 88.4128 31.4068C88.1702 32.1384 88.0196 32.3758 87.9587 32.1143C87.8631 31.7411 87.8828 31.1735 88.0121 30.411C88.0538 30.1646 88.1072 29.9 88.1724 29.6117L89.3076 24.3314H84.2057ZM62.0219 24.4624L61.5144 26.4802H59.5645L59.1905 27.9739H66.3224L62.0219 24.4624ZM70.623 25.4189H71.3308L70.9969 26.9781H70.3024L70.623 25.4189ZM86.4762 25.6024H87.5981L87.0905 27.9739H85.9687L86.4762 25.6024ZM14.1151 26.0347C12.6331 26.0347 11.3478 26.4147 10.2553 27.1747C9.16865 27.9456 8.46293 28.9555 8.14507 30.2013C8.12639 30.2742 8.1066 30.3397 8.09164 30.411C7.8475 31.5677 8.06386 32.511 8.74607 33.228C9.47316 33.9827 10.595 34.3548 12.1117 34.3548C14.6968 34.3548 16.6783 32.8077 16.8797 32.6384L15.7578 32.3895C15.4939 32.4492 14.0568 32.8575 12.6192 32.7301C10.8055 32.5703 10.3942 31.2674 10.4957 30.6206H17.7745L17.8413 30.411L17.8947 30.1882C18.2249 28.8895 18.0502 27.868 17.3738 27.1353C16.6922 26.3964 15.612 26.0347 14.1151 26.0347ZM35.6845 26.0347C34.1251 26.0347 32.7147 26.4315 31.4374 27.2402C30.1579 28.0494 29.3731 29.052 29.0734 30.2275C29.0569 30.292 29.0328 30.3476 29.02 30.411C28.7962 31.5022 29.0927 32.4251 29.9015 33.1756C30.7595 33.9628 31.9738 34.3548 33.5476 34.3548C34.5012 34.3548 35.5018 34.1609 36.5526 33.7783L37.167 31.3806C36.4682 31.9083 35.8822 32.259 35.4174 32.4419C34.9376 32.6305 34.4189 32.7301 33.8548 32.7301C32.9706 32.7301 32.3018 32.4974 31.8514 32.0226C31.4529 31.5949 31.3102 31.052 31.424 30.411C31.4369 30.3402 31.4588 30.2742 31.4775 30.2013C31.6618 29.4791 32.1052 28.8722 32.813 28.3932C33.5193 27.9142 34.319 27.6726 35.2037 27.6726C35.7673 27.6726 36.2235 27.7664 36.5927 27.9608C36.9688 28.149 37.363 28.5022 37.768 29.009L38.3823 26.585C37.5858 26.2135 36.6872 26.0347 35.6845 26.0347ZM44.4859 26.0347C43.0034 26.0347 41.7181 26.4147 40.6261 27.1747C39.5389 27.9456 38.8332 28.9555 38.5159 30.2013C38.4972 30.2742 38.478 30.3397 38.4625 30.411C38.2178 31.5677 38.4336 32.511 39.1169 33.228C39.8429 33.9827 40.9664 34.3548 42.4825 34.3548C45.0666 34.3548 47.0497 32.8077 47.2505 32.6384L46.1286 32.3895C45.8647 32.4492 44.4277 32.8575 42.9901 32.7301C41.1769 32.5703 40.7639 31.2674 40.8665 30.6206H48.1454L48.2121 30.411L48.2656 30.1882C48.5968 28.8895 48.4333 27.868 47.758 27.1353C47.0764 26.3964 45.9833 26.0347 44.4859 26.0347ZM25.5475 26.2575C24.5175 26.2575 23.5105 26.5698 22.5291 27.2009L20.3522 26.4802L19.3505 30.411L18.3488 34.3548H20.7128L21.6744 30.5551C21.6867 30.5064 21.7022 30.455 21.7144 30.411C21.9602 29.5053 22.2898 28.8596 22.6894 28.4849C23.1178 28.0866 23.713 27.8953 24.4924 27.8953C25.2093 27.8953 25.6736 28.0384 25.868 28.3408C26.0705 28.6364 26.0662 29.1762 25.868 29.9524L25.7612 30.411L24.7462 34.3548H27.1101L28.1118 30.411L28.3388 29.52C28.6225 28.4094 28.5445 27.6144 28.0984 27.1222C27.584 26.5457 26.7314 26.2575 25.5475 26.2575ZM55.718 26.2575C54.6875 26.2575 53.6821 26.5698 52.6996 27.2009L50.5227 26.4802L49.521 30.411L48.5193 34.3548H50.8833L51.8449 30.5551C51.8577 30.5064 51.8721 30.455 51.8849 30.411C52.1317 29.5053 52.4592 28.8596 52.8599 28.4849C53.2889 28.0866 53.8824 27.8953 54.6629 27.8953C55.3793 27.8953 55.8436 28.0384 56.0385 28.3408C56.2405 28.6364 56.2367 29.1762 56.0385 29.9524L55.9183 30.411L54.9167 34.3548H57.2806L58.2823 30.411L58.5093 29.52C58.793 28.4094 58.7145 27.6144 58.2689 27.1222C57.755 26.5457 56.9008 26.2575 55.718 26.2575ZM79.7182 27.0829L79.4377 28.367H80.7599L80.3192 30.411L80.0387 31.7736C79.97
31078 32.0588 79.7454 32.3559 79.3442 32.6777C79.2262 32.7731 79.1535 32.8344 79.1439 32.8611C79.2908 33.3124 79.5526 33.7526 79.9185 34.1583C79.9469 34.1656 80.1034 34.0304 80.3726 33.7652C80.7744 33.3475 81.7937 32.4267 83.4444 31.0006C83.4391 30.9822 83.3483 30.791 83.1773 30.4372L83.164 30.411L82.9236 29.8869L82.6565 30.1096C82.5283 30.2202 82.4043 30.3219 82.2959 30.411C82.0074 30.6563 81.7884 30.836 81.6414 30.9482L81.7616 30.411L82.4695 27.0829H79.7182ZM13.7411 27.6726C14.9944 27.6726 15.6643 28.1558 15.7445 29.1269H11.0299C11.1635 28.9005 11.3184 28.7024 11.5107 28.5242C11.7014 28.3471 11.9167 28.1893 12.1518 28.0656C12.3932 27.9356 12.6459 27.8424 12.913 27.7774C13.1812 27.7071 13.4558 27.6726 13.7411 27.6726ZM44.1119 27.6726C45.3652 27.6726 46.0362 28.1558 46.1153 29.1269H41.4007C41.5354 28.9005 41.6908 28.7024 41.8815 28.5242C42.0733 28.3471 42.2902 28.1893 42.5226 28.0656C42.7662 27.9356 43.0168 27.8424 43.2839 27.7774C43.5531 27.7071 43.8261 27.6726 44.1119 27.6726ZM70.062 28.0656H70.7565L70.4494 29.52H69.7549L70.062 28.0656ZM75.1773 28.2491H75.5913C75.6463 28.4047 75.7227 28.5599 75.8183 28.7076H74.8033L74.9903 28.4718L75.1773 28.2491ZM61.047 28.3146L60.5127 30.411L59.4977 34.3548H61.8483L62.8633 30.411L63.3976 28.3146H61.047ZM73.7349 29.7427H75.4043L75.2708 30.411L75.1773 30.791H74.0287C74.0714 30.6505 74.1099 30.5247 74.1489 30.411C74.1932 30.28 74.229 30.1683 74.2691 30.0703C74.213 30.0389 74.1788 30.0179 74.1489 30.0179H73.4544L73.7349 29.7427Z`,fill:`#1D2939`})}),(0,G.jsx)(`defs`,{children:(0,G.jsx)(`clipPath`,{id:`clip0_1727_372`,children:(0,G.jsx)(`rect`,{width:90.7209,height:12.1788,fill:`white`,transform:`translate(0 22.425)`})})})]}),Vle=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 100 56`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{d:`M26.3069 39.6686C32.5515 39.6686 37.6138 34.5941 37.6138 28.3343C37.6138 22.0745 32.5515 16.9999 26.3069 16.9999C20.0623 16.9999 15 22.0745 15 28.3343C15 34.5941 20.0623 39.6686 26.3069 39.6686Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M33.8473 28.3343C33.8135 27.4215 33.0491 26.7087 32.1356 26.7397C31.7309 26.7537 31.3459 26.92 31.0536 27.1989C29.7663 26.3199 28.2542 25.8381 26.7 25.8043L27.4336 22.2685L29.8534 22.7784C29.9209 23.4011 30.4774 23.8518 31.0985 23.7842C31.7197 23.7166 32.1694 23.1588 32.1019 22.5361C32.0344 21.9135 31.478 21.4627 30.8568 21.5303C30.4999 21.5669 30.1795 21.7754 30.0024 22.0853L27.2312 21.5303C27.0429 21.488 26.8546 21.6064 26.8124 21.798C26.8124 21.8008 26.8124 21.8008 26.8124 21.8036L25.9777 25.7367C24.4038 25.762 22.872 26.2466 21.5679 27.1313C20.9046 26.5058 19.8591 26.5368 19.2351 27.2045C18.6112 27.8694 18.6421 28.9175 19.3082 29.543C19.4375 29.6641 19.5864 29.7684 19.7523 29.8416C19.741 30.0078 19.741 30.1741 19.7523 30.3403C19.7523 32.8788 22.7034 34.9439 26.3431 34.9439C29.9827 34.9439 32.9338 32.8816 32.9338 30.3403C32.9451 30.1741 32.9451 30.0078 32.9338 29.8416C33.5016 29.5571 33.8585 28.971 33.8473 28.3343ZM22.5404 29.4697C22.5404 28.8443 23.0491 28.3343 23.673 28.3343C24.297 28.3343 24.8057 28.8443 24.8057 29.4697C24.8057 30.0952 24.297 30.6051 23.673 30.6051C23.0463 30.5995 22.5404 30.0952 22.5404 29.4697ZM29.1086 32.5857C28.3048 33.1915 27.3211 33.5014 26.3149 33.4591C25.3088 33.5014 24.3251 33.1915 23.5212 32.5857C23.4144 32.4561 23.4341 32.2617 23.5634 32.1547C23.6758 32.0617 23.836 32.0617 23.9513 32.1547C24.6314 32.6534 25.4605 32.9069 26.3037 32.8675C27.1469 32.9126 27.9788 32.6703 28.6674 32.1772C28.7911 32.0561 28.9934 32.0589 29.1143 32.1829C29.2351 32.3068 29.2323 32.5097 29.1086 32.6308V32.5857ZM28.9063 30.6446C28.2823 30.6446 27.7736 30.1346 27.7736 29.5092C27.7736 28.8837 28.2823 28.3737 28.9063 28.3737C29.5302 28.3737 30.0389 28.8837 30.0389 29.5092C30.0642 30.1346 29.578 30.6615 28.9541 30.6868C28.9344 30.6868 28.9175 30.6868 28.8979 30.6868L28.9063 30.6446Z`,fill:`#F7F8FF`}),(0,G.jsx)(`path`,{d:`M78.0822 24.8773C78.9328 24.8773 79.6224 24.1861 79.6224 23.3334C79.6224 22.4807 78.9328 21.7895 78.0822 21.7895C77.2316 21.7895 76.542 22.4807 76.542 23.3334C76.542 24.1861 77.2316 24.8773 78.0822 24.8773Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M56.255 29.9036C56.8508 29.9459 57.368 29.4951 57.4129 28.895C57.4157 28.8612 57.4157 28.8217 57.4157 28.7851C57.4073 28.5766 57.382 28.3653 5
3107.3399 28.1596C56.9745 26.2044 55.3078 24.7647 53.3264 24.6858C51.0695 24.6858 49.1836 26.765 49.1836 29.3176C49.1836 31.8701 51.0386 33.9522 53.3236 33.9522C54.5349 34.0001 55.7097 33.5099 56.5248 32.6111C56.8593 32.2449 56.8311 31.6786 56.4658 31.3433C56.4377 31.3179 56.4124 31.2954 56.3843 31.2757C56.0189 31.0475 55.5439 31.0954 55.2347 31.394C54.726 31.9011 54.0431 32.1913 53.3236 32.2139C52.0813 32.1153 51.0863 31.1404 50.9627 29.8923H56.2213L56.255 29.9036ZM53.3151 26.4298C54.4084 26.503 55.3275 27.2863 55.572 28.3597H51.0639C51.3056 27.2834 52.219 26.5002 53.3151 26.4298Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M49.2741 25.5845C49.2741 25.1507 48.9537 24.7816 48.5236 24.728C47.3629 24.5336 46.1824 24.9647 45.4208 25.8663V25.7536C45.4208 25.2718 45.0329 24.883 44.5523 24.883C44.0717 24.883 43.6839 25.2718 43.6839 25.7536V32.8816C43.6726 33.3493 44.0296 33.7465 44.4961 33.7859C44.9711 33.8198 45.3871 33.4591 45.418 32.983C45.4208 32.9492 45.4208 32.9154 45.418 32.8816V29.2246C45.3421 27.7652 46.4579 26.5227 47.9138 26.4438C48.043 26.4354 48.1751 26.4382 48.3044 26.4523H48.4787C48.9284 26.4128 49.2741 26.0381 49.2741 25.5845Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M78.9479 26.5199C78.9479 26.0381 78.56 25.6493 78.0794 25.6493C77.5988 25.6493 77.2109 26.0381 77.2109 26.5199V32.8787C77.2109 33.3605 77.5988 33.7493 78.0794 33.7493C78.56 33.7493 78.9479 33.3605 78.9479 32.8787V26.5199Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M66.1317 21.6882C66.1317 21.2092 65.7438 20.8204 65.266 20.8204C64.7882 20.8204 64.4004 21.2092 64.4004 21.6882V25.5762C63.8158 24.9845 63.0119 24.6634 62.1828 24.6859C59.9259 24.6859 58.04 26.7651 58.04 29.3177C58.04 31.8702 59.8978 33.9523 62.1828 33.9523C63.026 33.9776 63.8411 33.6536 64.4397 33.0535C64.5746 33.5128 65.0552 33.7748 65.5133 33.6396C65.859 33.5381 66.1064 33.2338 66.1289 32.8704L66.1317 21.6882ZM62.1772 32.2365C60.8478 32.2365 59.7657 30.9405 59.7657 29.3374C59.7657 27.7343 60.8394 26.4383 62.1772 26.4383C63.515 26.4383 64.5887 27.7343 64.5887 29.3374C64.5887 30.9405 63.515 32.2224 62.1828 32.2224L62.1772 32.2365Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M75.1883 21.6882C75.1883 21.2092 74.8004 20.8204 74.3226 20.8204C73.8449 20.8204 73.457 21.2092 73.457 21.6882V25.5762C72.8724 24.9845 72.0686 24.6634 71.2395 24.6859C68.9826 24.6859 67.0967 26.7651 67.0967 29.3177C67.0967 31.8702 68.9545 33.9523 71.2395 33.9523C72.0826 33.9776 72.8977 33.6536 73.4963 33.0535C73.6313 33.5128 74.1119 33.7748 74.57 33.6396C74.9157 33.5381 75.163 33.2338 75.1855 32.8704L75.1883 21.6882ZM71.2366 32.2365C69.9072 32.2365 68.8252 30.9405 68.8252 29.3374C68.8252 27.7343 69.8988 26.4383 71.2366 26.4383C72.5745 26.4383 73.6481 27.7343 73.6481 29.3374C73.6481 30.9405 72.5745 32.2224 71.2423 32.2224L71.2366 32.2365Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M83.4487 32.876V26.4298H84.1991C84.615 26.4552 84.9692 26.1368 84.9945 25.7227C84.9945 25.7086 84.9973 25.6917 84.9973 25.6748C85.0338 25.2606 84.7275 24.8944 84.3171 24.8577C84.2946 24.8549 84.2694 24.8549 84.2469 24.8549H83.4515V23.6575C83.4571 23.1927 83.103 22.8011 82.6392 22.7588C82.1642 22.725 81.7511 23.0856 81.7174 23.5617C81.7145 23.5815 81.7145 23.604 81.7145 23.6237V24.8747H80.9613C80.5453 24.8493 80.1912 25.1677 80.1659 25.5818C80.1659 25.5959 80.1631 25.6128 80.1631 25.6297C80.1266 26.0439 80.4329 26.4101 80.8433 26.4468C80.8658 26.4496 80.891 26.4496 80.9135 26.4496H81.664V32.8789C81.664 33.3578 82.0518 33.7466 82.5296 33.7466C83.0074 33.7776 83.4149 33.4113 83.4459 32.9324C83.4487 32.9155 83.4487 32.8958 83.4487 32.876Z`,fill:`#1D2939`})]}),Hle=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 100 56`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{d:`M42.9088 28.8324C45.2909 28.3263 44.9657 25.5077 44.8959 24.8919C44.7785 23.9419 43.6496 22.2831 42.1177 22.4156C40.189 22.5855 39.9075 25.3409 39.9075 25.3409C39.6462 26.6167 40.5308 29.3398 42.9088 28.8324ZM47.3323 24.1076C48.6472 24.1076 49.7101 22.6089 49.7101 20.7577C49.7101 18.9061 48.6472 17.4099 47.3323 17.4099C46.0168 17.4099 44.9512 18.9061 44.9512 20.7577C44.9512 22.6089 46.0165 24.1076 47.3323 24.1076ZM53.0013 24.328C54.7615 24.556 55.8892 22.6989 56.1148 21.2918C56.3453 19.8865 55.2081 18.252 53.9648 17.9714C52.716 17.6875 51.1571 19.6646 51.0167 20.9544C50.8455 22.532 51.2429 24.1052 53.0013 24.328ZM59.9719 26.6921C59.9719 26.019 59.4085 23.9903 57.3104 23.9903C55.2081 23.9903 54.9303 25.9047 54.9303 27.2575C54.9303 28.5485 55.0391 30.3493 57.6498 30.2934C60.2577 30.2362 59.9719 27.3696 59.9719 26.6921ZM57.3104 32.6003C57.3104 32.6003 54.5894 30.5186 53.0013 28.2679C50.8448 24.9493 47.7854 26.3008 46.7625 27.9861C45.7427 29.6757 44.1573 30.7426 43.9305 31.026C43.7015 3
3101.3035 40.6442 32.9374 41.3225 35.921C42.0024 38.9022 44.3866 38.8456 44.3866 38.8456C44.3866 38.8456 46.1438 39.0156 48.1816 38.5647C50.2237 38.1152 51.9805 38.6751 51.9805 38.6751C51.9805 38.6751 56.744 40.2549 58.0457 37.2151C59.3489 34.1777 57.3104 32.6003 57.3104 32.6003Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M47.7548 29.6982V31.7008H46.1049C46.1049 31.7008 44.4559 31.8361 43.8787 33.6846C43.6773 34.9188 44.0563 35.6456 44.1224 35.8009C44.1891 35.956 44.7221 36.8588 46.0603 37.1239H49.1563V29.72L47.7548 29.6982ZM47.7299 35.9085H46.4826C46.4826 35.9085 45.6137 35.8638 45.3491 34.8744C45.2126 34.436 45.3694 33.9296 45.4382 33.7305C45.5012 33.5311 45.7929 33.0702 46.3944 32.8927H47.7296L47.7299 35.9085Z`,fill:`white`}),(0,G.jsx)(`path`,{d:`M49.915 31.8804V35.7787C49.915 35.7787 49.9796 36.7487 51.3627 37.1023H54.9256V31.8798H53.3879V35.8003H51.9206C51.9206 35.8003 51.4515 35.7328 51.3633 35.3601V31.8573L49.915 31.8804Z`,fill:`white`}),(0,G.jsx)(`path`,{d:`M71.9017 29.3209V27.6776H60.956L60.9419 29.3452H65.6476L65.2062 30.3426H61.2044V38.5894H70.7107C71.7044 38.5894 71.6162 37.5966 71.6162 37.5966V30.3429H67.6085L67.9608 29.3218H71.9014V29.3209H71.9017ZM69.776 36.8287C69.776 36.8287 69.6608 37.1026 69.4979 37.1026H63.1899V35.179H69.7769L69.776 36.8287ZM69.7653 33.5904H63.189V31.7865H69.7653V33.5904Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M84.4086 27.7216H80.1138V26.8896H78.0997V27.6806H73.1733V38.5727H74.9459V29.0856H84.4086V27.7216ZM83.2501 29.976V29.3455H81.5188V29.976H77.9568V29.368H76.3167V29.976H75.2087L75.2305 31.2099H76.3167V33.5271H82.3078C83.1392 33.5271 83.2492 32.6596 83.2492 32.6596V31.2093H84.5171V29.9751H83.2495L83.2501 29.976ZM81.5188 32.0522C81.5188 32.0522 81.3642 32.3331 81.1665 32.3331H77.9377V31.1855H81.5178V32.0528H81.5188V32.0522ZM75.4506 35.2158L78.2085 36.7977C77.99 37.0351 77.0482 37.3367 77.0482 37.3367H75.2096V38.5526H77.706C78.451 38.4018 79.8298 37.7087 79.8298 37.7087C80.4003 38.227 8
3101.4972 38.4428 81.4972 38.4428H84.3428V37.23H82.1977C81.6196 37.1445 81.1004 36.8184 81.1004 36.8184L84.3434 34.9768V33.9798H75.4515V35.2152L75.4506 35.2158ZM81.189 35.1954L79.6116 36.0183L78.1658 35.1954H81.189Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M36.6011 29.4559H38.9902V27.3742H36.6011V29.4559ZM36.6011 38.5283H38.9902V30.3627H36.6011V38.5283Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M32.7165 30.3697L27.6193 30.3566V32.0732H32.0889C32.0889 32.0732 33.1527 32.3328 33.1527 33.0003V33.6049H29.1081C29.1081 33.6049 27.5175 33.7503 27.0067 35.6292C26.9188 36.5095 27.0359 36.9418 27.0958 37.1023C27.1533 37.2613 27.6193 38.2994 29.0064 38.5587H35.4465V32.7091C35.4465 32.7091 35.1397 30.7019 32.7165 30.3697ZM33.1527 36.9427H29.8977C29.4603 36.7682 29.3147 36.4803 29.2839 36.4074C29.2538 36.3365 29.1524 36.0779 29.2704 35.8164C29.5338 35.3124 29.9703 35.196 29.9703 35.196H33.1527V36.9427Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M26.4815 35.6644C26.5519 33.6761 24.7483 32.9885 24.7483 32.9885C26.2749 32.1987 26.081 30.2082 26.081 30.2082C25.9156 27.162 22.1523 27.3043 22.1523 27.3043H16.3374V38.6572H22.9032C26.759 38.642 26.4815 35.6644 26.4815 35.6644ZM22.7714 36.5469V36.5521H18.8381V34.1026H22.752L22.8845 34.129C22.8845 34.129 23.6292 34.2637 23.8991 34.9261C23.8991 34.9261 24.0552 35.5486 23.718 36.011C23.718 36.011 23.47 36.4384 22.7714 36.5469ZM23.6052 31.2831C23.6052 31.2831 23.3409 31.7634 22.6395 31.8674H18.8381V29.5179H22.6232C22.6232 29.5179 23.4457 29.4805 23.718 30.1265C23.718 30.1265 23.8815 30.8132 23.6052 31.2831Z`,fill:`#1D2939`})]}),Ule=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 100 56`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{d:`M83.1044 24.9276C83.587 24.9276 83.9841 24.6756 84.0378 24.3501L84.5142 18.9387C84.5142 18.4038 83.8903 17.9648 83.1059 17.9648C82.3223 17.9648 81.699 18.4038 81.699 18.9388L82.1752 24.3501C82.2275 24.6755 82.6247 24.9276 83.106 24.9276H83.1044ZM80.1925 26.6178C80.4345 26.1986 80.4162 25.7275 80.1611 25.5182L75.7326 22.3981C75.2722 22.1303 74.5818 22.4527 74.19 23.1351C73.7968 23.8167 73.8665 24.578 74.3257 24.8459L79.2294 27.139C79.5359 27.2532 79.9539 27.0335 80.194 26.6146L80.1925 26.6178ZM86.0189 26.6149C86.2606 27.0338 86.6764 27.2536 86.9833 27.1393L91.8869 24.8462C92.349 24.5784 92.4147 23.817 92.0252 23.1354C91.6314 22.4536 90.9398 22.1306 90.4806 22.3984L86.0518 25.5184C85.7986 25.7275 85.7798 26.199 86.0205 26.6181L86.0189 26.6149ZM83.1044 31.6872C83.587 31.6872 83.9841 31.9371 84.0378 32.2629L84.5142 37.6735C84.5142 38.21 83.8903 38.6481 83.1059 38.6481C82.3223 38.6481 81.699 38.21 81.699 37.6735L82.1752 32.2629C82.2275 31.9371 82.6247 31.6872 83.106 31.6872H83.1044ZM86.0189 29.9966C86.2606 29.5765 86.6764 29.3587 86.9833 29.4742L91.8869 31.7658C92.349 32.0339 92.4147 32.7959 92.0252 33.4781C91.6314 34.1577 90.9398 34.4816 90.4806 34.2142L86.0518 31.097C85.7986 30.8864 85.7798 30.4145 86.0205 29.9957H86.0186M80.1925 29.996C80.4345 30.4145 80.4162 30.8864 80.1611 31.0974L75.7326 34.2145C75.2722 34.4819 74.5818 34.158 74.19 33.4784C73.7968 32.7962 73.8665 32.0342 74.3257 31.7661L79.2294 29.4745C79.5359 29.359 79.9539 29.5768 80.194 29.997H80.1925`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M55.1708 31.0875C55.1708 31.2536 55.1561 31.4248 55.1108 31.5753C54.923 32.2 54.2789 32.7283 53.4732 32.7283C52.8014 32.7283 52.2678 32.345 52.2678 31.5355C52.2678 30.2965 53.6256 29.9544 55.1712 29.963L55.1708 31.0874V31.0875ZM57.5951 28.9284C57.5951 26.8854 56.7259 25.0877 53.7891 25.0877C52.2815 25.0877 51.085 25.513 50.432 25.892L50.9103 27.5345C51.5071 27.156 52.4584 26.8427 53.3586 26.8427C54.8483 26.8386 55.0922 27.69 55.0922 28.2349V28.3639C51.845 28.3591 49.7923 29.4883 49.7923 31.7888C49.7923 33.1945 50.8378 34.5111 52.6552 34.5111C53.7719 34.5111 54.7072 34.0634 55.2669 33.3456H55.3222C55.3222 33.3456 55.6925 34.904 57.7372 34.3078C57.6305 33.6597 57.5955 32.9678 57.5955 32.1359L57.5952 28.9284M7 22.3055C7 22.3055 9.12198 31.0384 9.46082 32.4557C9.85609 34.11 10.5685 34.719 12.6214 34.3078L13.9463 28.8937C14.2823 27.5483 14.5071 26.589 14.7236 25.2217H14.7613C14.9133 26.6035 15.1289 27.5524 15.4053 28.8982C15.4053 28.8982 15.9444 31.3562 16.221 32.6468C16.4978 33.937 17.2684 34.7507 19.2795 34.3078L22.4367 22.3051H19.8884L18.81 27.4947C18.5201 29.0047 18.2573 30.1859 18.0545 31.567H18.0184C17.8342 30.198 17.5995 29.065 17.3051 27.5935L16.1833 22.3051H13.5277L12.3271 27.4601C11.9873 29.0271 11.6686 30.2918 11.4668 31.6269H11.4301C11.2228 30.3697 10.9469 28.7795 10.6484 27.2635C10.6484 27.2635 9.93559 23.5761 9.68489 22.3051L7 22.3055ZM27.257 31.0875C27.257 31.2536 27.2423 31.4248 27.1963 31.5753C27.0089 32.2 26.3645 32.7283 25.5587 32.7283C24.8868 32.7283 24.354 32.345 24.354 31.5355C24.354 30.2965 25.7114 29.9544 27.2573 29.963L27.257 31.0874V31.0875ZM29.681 28.9284C29.681 26.8854 28.8118 25.0877 25.8756 25.0877C24.3676 25.0877 23.1702 25.513 22.5175 25.892L22.9952 27.5345C23.592 27.156 24.5433 26.8427 25.4438 26.8427C26.9345 26.8386 27.1784 27.69 27.1784 28.2349V28.3639C23.9299 28.3591 21.8782 29.4883 21.8782 31.7888C21.8782 33.1945 22.9231 34.5111 24.7391 34.5111C25.8573 34.5111 26.792 34.0634 27.3524 33.3456H27.407C27.407 33.3456 27.7785 34.904 29.8227 34.3078C29.7158 33.6597 29.681 32.9678 29.681 32.1359V28.9284ZM33.7265 31.76V22.3055H31.2994V34.3082H33.7265V31.76ZM65.4784 22.3055V31.1596C65.4784 32.3809
31065.7077 33.2356 66.1965 33.7587C66.6248 34.2161 67.3286 34.5121 68.1726 34.5121C68.8904 34.5121 69.5962 34.3745 69.9293 34.2504L69.8979 32.346C69.6501 32.4068 69.3656 32.456 68.9761 32.456C68.149 32.456 67.8725 31.9239 67.8725 30.828V27.4402H69.9861V25.1434H67.8725V22.3055H65.4784ZM59.2135 25.2913V34.3082H61.7173V29.6914C61.7173 29.4418 61.7323 29.2244 61.7716 29.0255C61.9569 28.0579 62.6932 27.4402 63.7509 27.4402C64.0408 27.4402 64.2483 27.4719 64.4732 27.504V25.1434C64.2845 25.1057 64.1564 25.088 63.9217 25.088C62.9873 25.088 61.9243 25.6935 61.4782 26.9925H61.4105V25.2913H59.2135ZM35.426 25.2913V34.3082H37.8654V29.0207C37.8654 28.7726 37.8945 28.5102 37.98 28.2827C38.1822 27.7503 38.6755 27.1269 39.4627 27.1269C40.4475 27.1269 40.9073 27.9626 40.9073 29.1689V34.3075H43.3448V28.9556C43.3448 28.7189 43.377 28.4335 43.4467 28.2248C43.6468 27.6188 44.1782 27.1262 44.9101 27.1262C45.908 27.1262 46.387 27.9473 46.387 29.3671V34.3072H48.8261V28.9963C48.8261 26.1958 47.4101 25.0871 45.8116 25.0871C45.1043 25.0871 44.5454 25.2651 44.04 25.5761C43.6156 25.8387 43.2349 26.2108 42.9028 26.6999H42.8668C42.4813 25.7282 41.5743 25.0876 40.3925 25.0876C38.8742 25.0876 38.1918 25.8607 37.7779 26.5162H37.7415V25.291H35.426`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M93.1176 33.8697H93.1544C93.2033 33.8697 93.2346 33.8495 93.2346 33.8194C93.2346 33.7851 93.2052 33.7664 93.1598 33.7664C93.1443 33.7664 93.1283 33.7696 93.1177 33.7696V33.8706V33.8697L93.1176 33.8697ZM93.112 34.1128H92.9823V33.6885C93.0117 33.6827 93.0803 33.6724 93.1682 33.6724C93.2636 33.6724 93.3064 33.6859 93.3378 33.7072C93.3642 33.7257 93.3834 33.7574 93.3834 33.8001C93.3834 33.8437 93.3435 33.8806 93.2847 33.8967V33.9021C93.3327 33.9149 93.3588 33.9499 93.3726 34.0112C93.3856 34.0724 93.3937 34.0974 93.4019 34.1131H93.255C93.2422 34.0974 93.2346 34.0598 93.226 34.0224C93.2177 33.9794 93.1975 33.9579 93.1542 33.9579H93.1117L93.112 34.1128ZM93.1656 33.5503C92.9794 33.5503 92.839 33.7026 92.839 33.8969C92.839 34.0861 92.9798 34.2405 93.1707 34.2405C93.3624 34.2437 93.5032 34.0862 93.5032 33.8938C93.5032 33.7022 93.3624 33.5503 93.1685 33.5503H93.1656ZM93.174 33.4351C93.4335 33.4351 93.6405 33.6404 93.6405 33.8937C93.6405 34.15 93.4335 34.3556 93.1704 34.3556C92.9073 34.3556 92.6978 34.1497 92.6978 33.8938C92.6978 33.6404 92.9076 33.4352 93.1704 33.4352H93.1733`,fill:`#1D2939`})]}),Wle=e=>(0,G.jsx)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 100 56`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,G.jsxs)(`g`,{transform:`translate(5.84 3.92) scale(0.885)`,children:[(0,G.jsx)(`path`,{d:`M76.9507 32.537C76.9507 33.0915 76.9507 33.6098 76.9507 34.1402C76.9371 35.9363 75.6504 37.0694 73.6108 37.0694C72.9949 37.0694 72.3789 37.0935 71.7629 37.0573C71.5439 37.0453 71.2154 36.9127 71.1469 36.768C70.9142 36.2135 70.7637 35.6229 70.5584 34.984C71.585 34.984 72.5158 34.984 73.4603 34.984C74.3226 34.984 74.5142 34.8152 74.5142 34.0558C74.5142 33.5857 74.5142 33.1276 74.5006 32.6575C74.5006 32.6334 74.4732 32.6093 74.4321 32.5249C71.3796 32.5249 68.2861 32.5249 65.1515 32.5249C65.1515 31.9342 65.1241 31.3918 65.1652 30.8494C65.1926 30.4636 65.5348 30.4033 65.9181 30.4033C68.5462 30.4033 71.188 30.4033 73.8161 30.4033C74.0215 30.4033 74.2268 30.4033 74.4732 30.4033C74.4732 29.5716 74.4732 28.776 74.4732 27.9081C72.0777 27.9081 69.6823 27.9081 67.2321 27.9081C67.2321 27.3054 67.1911 26.7509 67.2458 26.1964C67.2732 25.8468 67.6565 25.7866 67.985 25.7745C68.5325 25.7624 69.08 25.7745 69.6276 25.7745C71.0511 25.7745 72.461 25.7745 73.8846 25.7745C74.0625 25.7745 74.2542 25.7745 74.4595 25.7745C74.4595 24.8584 74.4595 23.9905 74.4595 23.0502C74.2815 23.0502 74.1036 23.0502 73.9256 23.0502C71.7355 23.0502 69.5454 23.0502 67.3553 23.0502C66.6983 23.0502 66.5203 22.8935 66.5066 22.2908C66.5066 21.8689 66.5066 21.447 66.5066 20.9889C66.7667 20.9769 66.9857 20.9648 67.2047 20.9648C71.5302 20.9648 75.8557 20.9528 80.1948 20.9648C81.0983 20.9648 81.8237 20.7358 82.4123 20.121C82.5355 19.9884 82.8914 19.892 83.0694 19.9402C83.6716 20.109 84.2329 20.3621 84.8625 20.6032C84.2466 21.7484 83.3021 22.5078 81.988 22.8574C81.4952 22.99 80.9477 23.0261 80.4275 23.0382C79.2914 23.0623 78.1416 23.0502 76.9644 23.0502C76.9644 23.9664 76.9644 24.8343 76.9644 25.7504C77.1698 25.7624 77.3614 25.7745 77.5667 25.7745C79.4831 25.7745 81.3994 25.7866 83.3158 25.7624C83.699 25.7624 83.8359 25.8589 83.8085 26.1964C83.7812 26.5219 83.8085 26.8594 83.8085 27.1848C83.8085 27.7393 83.6443 27.884 83.0146 27.884C81.2078 27.884 79.3872 27.9081 77.5804 27.8719C77.0466 27.8599 76.896 28.0045 76.9371 28.4626C76.9781 29.0774 76.9507 29.6921 76.9507 30.3551C79.9621 30.3551 82.9325 30.3551 85.985 30.3551C85.985 30.9699 86.026 3
3101.5364 85.9713 32.0909C85.9302 32.4646 85.5332 32.4887 85.1637 32.4887C83.6443 32.4887 82.1249 32.4887 80.5918 32.4887C79.5652 32.4887 78.5386 32.4887 77.512 32.4887C77.334 32.5008 77.1698 32.5249 76.9507 32.537Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M21.171 36.7439C20.2128 37.1658 19.282 37.5636 18.3512 37.9734C17.8584 38.1904 17.3793 38.4315 16.8729 38.6123C15.3398 39.1548 13.7383 38.1904 13.7383 36.7198C13.7383 34.8032 13.7383 32.8986 13.7383 30.982C13.7383 29.3305 15.4356 28.3903 17.133 29.1256C18.2828 29.6198 19.4189 30.1381 20.5687 30.6565C20.7466 30.7409 20.9383 30.8011 21.1573 30.8976C21.2531 30.7288 21.3352 30.6083 21.4037 30.4757C22.2934 28.9207 23.717 28.0889 25.7018 28.0648C28.0151 28.0407 30.3147 28.0528 32.628 28.0528C35.3246 28.0528 37.3641 29.8488 37.3778 32.2235C37.3778 33.4531 37.4325 34.6947 37.3367 35.9242C37.1862 37.8891 35.2014 39.5405 32.9839 39.5767C30.4379 39.6249 27.8919 39.649 25.3459 39.5646C23.6348 39.5164 22.3618 38.6846 21.5406 37.3587C21.4037 37.1658 21.3079 36.985 21.171 36.7439ZM29.1649 30.114C28.1109 30.114 27.0432 30.114 25.9892 30.114C24.3877 30.114 23.3885 30.9819 23.3748 32.3802C23.3748 33.3325 23.3748 34.2728 23.3748 35.2251C23.3748 36.5751 24.374 37.4672 25.9071 37.4792C28.0972 37.4913 30.2873 37.4913 32.4774 37.4792C33.9557 37.4792 34.9687 36.6113 34.996 35.2974C35.0234 34.2848 35.0234 33.2843 34.996 32.2718C34.9687 30.9699 33.9421 30.114 32.4637 30.114C31.355 30.114 30.2599 30.114 29.1649 30.114ZM16.1474 33.8027C16.1474 34.3692 16.1337 34.9478 16.1474 35.5144C16.1611 36.1532 16.5854 36.3823 17.2288 36.105C18.2006 35.6831 19.1314 35.213 20.1307 34.8514C20.8561 34.5862 21.1436 34.2004 20.993 33.5495C20.952 33.3566 20.8014 33.1276 20.6371 33.0432C19.501 32.5128 18.3512 32.0186 17.2014 31.5244C16.6128 31.2713 16.1748 31.5123 16.1611 32.0909C16.1337 32.6575 16.1474 33.2361 16.1474 33.8027Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M27.4545 25.0512C25.7434 26.6665 23.6902 27.2933 21.2948 26.8955C19.6933 26.6303 18.3655 25.8829 17.4073 24.7137C15.4773 22.3751 15.8742 19.1205 18.3381 17.228C19.8575 16.0587 21.637 15.6127 23.6218 15.902C25.6066 16.1792 27.0575 17.1677 28.1526 18.6624C29.713 17.5655 31.424 17.1556 33.3267 17.5896C34.5997 17.8789 35.6263 18.5057 36.3792 19.458C37.967 21.4831 37.6522 24.0627 35.6126 25.7383C34.4217 26.7147 32.9845 27.1125 31.3693 26.9919C29.7678 26.8473 28.4811 26.1843 27.4545 25.0512ZM22.5541 24.7739C24.6894 24.786 26.4005 23.2672 26.4005 21.3867C26.4005 19.5665 24.6758 18.0356 22.6088 18.0235C20.4461 18.0115 18.7077 19.5303 18.7077 21.4229C18.7214 23.2792 20.4324 24.7739 22.5541 24.7739ZM31.8757 24.7739C33.532 24.7739 34.805 23.665 34.8187 22.2064C34.8187 20.7599 33.5457 19.6268 31.9031 19.6147C30.3153 19.6027 28.9875 20.7599 28.9875 22.1702C28.9602 23.6288 30.2332 24.7739 31.8757 24.7739Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M61.772 28.8242C62.1827 28.8242 62.5112 28.8242 62.8944 28.8242C62.8944 29.4148 62.9355 29.9814 62.8671 30.5359C62.8534 30.6805 62.4564 30.8975 62.2237 30.8975C61.1013 30.9337 59.9652 30.9216 58.8427 30.9216C58.6785 30.9216 58.5005 30.9216 58.2405 30.9216C59.0481 33.0191 60.6496 34.3571 62.9081 35.225C62.7165 35.7916 62.5659 36.3581 62.3195 36.8885C62.169 37.226 61.7994 37.0934 61.5119 36.9729C59.9789 36.3581 58.6237 35.5143 57.6245 34.3209C57.0222 33.6097 56.5294 32.8021 55.9682 32.0065C55.8861 32.1632 55.7903 32.3561 55.6945 32.5369C54.5994 34.562 52.9157 36.0568 50.5751 36.9608C49.9317 37.214 49.8085 37.1657 49.6032 36.563C49.4663 36.1411 49.1378 35.671 49.261 35.3214
310C49.3705 35.0321 50.0002 34.8754 50.3971 34.6705C51.8754 33.899 52.9294 32.8142 53.6138 31.4279C53.6549 31.3315 53.696 31.235 53.737 31.1266C53.7507 31.0904 53.737 31.0422 53.737 30.9457C53.5591 30.9337 53.3811 30.9216 53.2032 30.9216C52.026 30.9216 50.8488 30.9096 49.658 30.9337C49.2199 30.9457 49.0831 30.8131 49.1241 30.4395C49.1515 30.1381 49.1241 29.8367 49.1378 29.5354C49.1515 28.9929 49.3294 28.8362 49.9317 28.8362C51.0815 28.8362 52.2176 28.8362 53.3675 28.8362C53.5591 28.8362 53.737 28.8362 53.9971 28.8362C53.9971 27.0643 53.9971 25.3164 53.9971 23.5203C52.7104 23.5203 51.3964 23.5203 50.0002 23.5203C50.0002 22.9055 49.9728 22.339 50.0138 21.7724C50.0412 21.4711 50.3424 21.3867 50.6709 21.3867C51.588 21.3867 52.5188 21.3867 53.4359 21.3867C53.6138 21.3867 53.8055 21.3867 54.0382 21.3867C54.0382 20.8804 54.0382 20.4223 54.0382 19.904C54.75 19.904 55.407 19.8678 56.064 19.9281C56.2283 19.9402 56.461 20.2897 56.4747 20.4947C56.5705 21.3867 56.5431 21.3867 57.5424 21.3867C58.6648 21.3867 59.8009 21.3867 60.9233 21.3867C61.6214 21.3867 61.7446 21.5072 61.7446 22.1341C61.7446 24.1833 61.7446 26.2325 61.7446 28.2817C61.772 28.4384 61.772 28.5952 61.772 28.8242ZM59.3492 23.4841C58.5553 23.4841 57.8161 23.5082 57.0906 23.4721C56.6526 23.448 56.5021 23.5565 56.5021 23.9663C56.5294 25.2923 56.5021 26.6182 56.4884 27.9442C56.4884 28.2215 56.4884 28.4987 56.4884 28.788C57.4465 28.788 58.3773 28.788 59.3355 28.788C59.3492 27.0281 59.3492 25.2923 59.3492 23.4841Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M45.5773 19.88C46.2207 19.88 46.7956 19.8679 47.3842 19.88C47.8906 19.892 47.9864 20.2055 47.9864 20.5671C47.9864 21.7846 47.9864 23.0021 47.9864 24.2316C47.9864 24.8343 47.9864 24.8343 48.6845 24.8343C49.0541 24.8343 49.4374 24.8343 49.807 24.8464C49.8343 24.8464 49.8754 24.8584 49.9575 24.8946C49.9575 25.4129 49.9986 25.9554 49.9302 26.4857C49.9028 26.6545 49.6153 26.8594 49.3963 26.9076C49.1089 26.98 48.7804 26.9438 48.4792 26.9197C48.0549 26.8835 47.9591 27.0402 47.9591 27.3898C47.9728 30.3552 47.9728 33.3205 47.9728 36.2979C47.9728 36.539 47.9728 36.7801 47.9728 37.0694C47.302 37.0694 46.6724 37.1056 46.0564 37.0453C45.8785 37.0332 45.7005 36.7801 45.5636 36.5993C45.5089 36.527 45.5499 36.3944 45.5499 36.2859C45.5499 30.9699 45.5499 25.654 45.5499 20.3381C45.5499 20.2055 45.5636 20.0729 45.5773 19.88Z`,fill:`#1D2939`}),(0,G.jsx)(`path`,{d:`M43.6613 32.9468C42.9495 32.7419 42.402 32.5972 41.8544 32.4285C41.5122 32.32 41.348 32.0789 41.4575 31.7896C42.4294 29.1859 42.0598 26.4857 42.1282 23.8217C42.1419 23.3757 42.1419 22.9176 42.1282 22.4716C42.1282 22.2426 42.224 22.1462 42.4841 22.1582C42.9495 22.1703 43.4012 22.1582 43.8666 22.1582C44.2909 22.1703 44.551 22.3511 44.5373 22.7368C44.4963 25.1236 44.51 27.5224 44.3594 29.9091C44.3183 30.9096 43.9214 31.8981 43.6613 32.9468Z`,fill:`#1D2939`})]})}),_9={container:`_container_134f4_3`,pricing:`_pricing_134f4_14`,link:`_link_134f4_19`,rotate:`_rotate_134f4_1`},v9=e=>{let{classes:t={root:``}}=e,{t:n}=_(`auth`);return(0,G.jsx)(`div`,{lang:Es,className:R(_9.container,t.root),children:(0,G.jsx)(L,{variant:`body1Regular`,className:_9.pricing,children:(0,G.jsx)(d,{i18nKey:`pricing`,t:n,components:[(0,G.jsx)(`a`,{href:`${us}?contact_sales_traffic_source=cloud`,target:`_blank`,className:_9.link})]})})})},y9=JSON.parse(`[{"id":"1","Keywords":"Unstructured Data","Title":"Transform Chaos into Gold: Unleash Your Data's Hidden Power","Description":"Zilliz Cloud is a managed vector database that turns unstructured data into valuable insights and ready for AI applications.","Feature1Title":"Seamless Data Transformation","Feature1Desc":"Convert diverse unstructured data types into vector embeddings for efficient processing and analysis.","Feature2Title":"Scalable Vector Management","Feature2Desc":"Effortlessly handle billion-scale vector data, ensuring high performance as your data grows.","Feature3Title":"AI Native","Feature3Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","UTM_SOURCE":"unstructured-data","URL":"https://cloud.zilliz.com/signup?utm_source=unstructured-data","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"2","Keywords":"large language models","Title":"While Others Struggle, You Scale: Build LLM Workflows that Thrive","Description":"Zilliz Cloud is a managed vector database built to power LLM apps, delivering the scalability, speed, and precision your apps need.","Feature1Title":"Purpose-Built for LLMs","Feature1Desc":"Zilliz Cloud ensures seamless storage and retrieval of vector embeddings, enabling faster and more accurate LLM-driven results.","Feature2Title":"Scalability","Feature2Desc":"Effortlessly manage vector datasets at any scale, ensuring high performance even for the most demanding LLM use cases.","Feature3Title":"Simplify AI Operations","Feature3Desc":"Offload infrastru
310cture management and focus on building innovative LLM applications with ease.","UTM_SOURCE":"large-language-models","URL":"https://cloud.zilliz.com/signup?utm_source=large-language-models","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"3","Keywords":"RAG","Title":"Lead the RAG Revolution: Build Future-Proof AI That Others Envy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your RAG pipelines demand.","Feature1Title":"AI Native","Feature1Desc":"Seamlessly connect with top AI models and frameworks, transforming and managing vector embeddings on a platform optimized for RAG workflows.","Feature2Title":"Scalable Performance","Feature2Desc":"Easily handle billions of vectors to deliver real-time, precise, and context-aware responses as your application grows.","Feature3Title":"Streamlined Workflow","Feature3Desc":"Let Zilliz Cloud manage the infrastructure while you focus on building smarter AI applications.","UTM_SOURCE":"rag","URL":"https://cloud.zilliz.com/signup?utm_source=rag","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"4","Keywords":"NLP","Title":"See What Others Miss: Get Million-Dollar Insights from Plain Text","Description":"Optimize NLP pipelines with a managed vectordb. Efficiently store and query text embeddings for semantic search and recommendations.","Feature1Title":"Efficient Management of Text Embeddings","Feature1Desc":"Store and query high-dimensional text embeddings with ease, supporting NLP tasks like classification, sentiment analysis, and semantic search.","Feature2Title":"AI Native","Feature2Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"nlp","URL":"https://cloud.zilliz.com/signup?utm_source=nlp","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"5","Keywords":"natural language processing","Title":"See What Others Miss: Get Million-Dollar Insights from Plain Text","Description":"Optimize NLP pipelines with a managed vectordb. Efficiently store and query text embeddings for semantic search and recommendations.","Feature1Title":"Efficient Management of Text Embeddings","Feature1Desc":"Store and query high-dimensional text embeddings with ease, supporting NLP tasks like classification, sentiment analysis, and semantic search.","Feature2Title":"AI Native","Feature2Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"natural-language-processing","URL":"https://cloud.zilliz.com/signup?utm_source=natural-language-processing","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"6","Keywords":"AI Hallucination","Title":"Lead the RAG Revolution: Build Future-Proof AI That Others Envy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your RAG pipelines demand.","Feature1Title":"AI Native","Feature1Desc":"Seamlessly connect with top AI models and frameworks, transforming and managing vector embeddings on a platform optimized for RAG workflows.","Feature2Title":"Scalable Performance","Feature2Desc":"Easily handle billions of vectors to deliver real-time, precise, and context-aware responses as your application grows.","Feature3Title":"Streamlined Workflow","Feature3Desc":"Let Zilliz Cloud manage the infrastru
310cture while you focus on building smarter AI applications.","UTM_SOURCE":"ai-hallucination","URL":"https://cloud.zilliz.com/signup?utm_source=ai-hallucination","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"7","Keywords":"RAG vector database","Title":"Lead the RAG Revolution: Build Future-Proof AI That Others Envy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your RAG pipelines demand.","Feature1Title":"AI Native","Feature1Desc":"Seamlessly connect with top AI models and frameworks, transforming and managing vector embeddings on a platform optimized for RAG workflows.","Feature2Title":"Scalable Performance","Feature2Desc":"Easily handle billions of vectors to deliver real-time, precise, and context-aware responses as your application grows.","Feature3Title":"Streamlined Workflow","Feature3Desc":"Let Zilliz Cloud manage the infrastructure while you focus on building smarter AI applications.","UTM_SOURCE":"rag-vector-database","URL":"https://cloud.zilliz.com/signup?utm_source=rag-vector-database","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"8","Keywords":"retrieval augmented generation","Title":"Lead the RAG Revolution: Build Future-Proof AI That Others Envy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"retrieval-augmented-generation","URL":"https://cloud.zilliz.com/signup?utm_source=retrieval-augmented-generation","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"9","Keywords":"Knowledge base","Title":"Own Your Market's Future: Lead with Superior Knowledge Bases","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your knowledge bases demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"knowledge-base","URL":"https://cloud.zilliz.com/signup?utm_source=knowledge-base","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"10","Keywords":"AI chatbots","Title":"Power AI Chatbots with Zilliz Cloud, the #1 Vector Database","Description":"Enhance chatbot performance with Zilliz Cloudâs vector database. Deliver faster, more relevant responses.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-chatbots","URL":"https://cloud.zilliz.com/signup?utm_source=ai-chatbots","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"11","Keywords":"what is a vector database","Title":"Supercharge Your AI: Unleash the Power of the #1 Vector Database","Description":"Build your AI application with full platform access for free, up to 1 million vectors.","Feature1Title":"Milvus, but better","Feature1Desc":"10x faster at a lower TCO, elastic scaling, and use case optimized compute unit","Feature2Title":"AI Native","Feature2Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"what-is-a-vector-database","URL":"https://cloud.zilliz.com/signup?utm_source=what-is-a-vector-database","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"12","Keywords":"Vector store","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Build your AI application with full platform access for free, up to 1 million vectors.","Feature1Title":"Milvus, but better","Feature1Desc":"10x faster at a lower TCO, elastic scaling, and use case optimized compute unit","Feature2Title":"AI Native","Feature2Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-store","URL":"https://cloud.zilliz.com/signup?utm_source=vector-store","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"13","Keywords":"open source vector db","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Build your AI application with full platform access for free, up to 1 million vectors.","Feature1Title":"Milvus, but better","Feature1Desc":"10x faster at a lower TCO, elastic scaling, and use case optimized compute unit","Feature2Title":"AI Native","Feature2Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"open-source-vector-db","URL":"https://cloud.zilliz.com/signup?utm_source=open-source-vector-db","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"14","Keywords":"what is vector db","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Build your AI application with full platform access for free, up to 1 million vectors.","Feature1Title":"Milvus, but better","Feature1Desc":"10x faster at a lower TCO, elastic scaling, and use case optimized compute unit","Feature2Title":"AI Native","Feature2Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"what-is-vector-db","URL":"https://cloud.zilliz.com/signup?utm_source=what-is-vector-db","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"15","Keywords":"vector database","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Build your AI application with full platform access for free, up to 1 million vectors.","Feature1Title":"Milvus, but better","Feature1Desc":"10x faster at a lower TCO, elastic scaling, and use case optimized compute unit","Feature2Title":"AI N
310ative","Feature2Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-database","URL":"https://cloud.zilliz.com/signup?utm_source=vector-database","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"16","Keywords":"vectordb","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Build your AI application with full platform access for free, up to 1 million vectors.","Feature1Title":"Milvus, but better","Feature1Desc":"10x faster at a lower TCO, elastic scaling, and use case optimized compute unit","Feature2Title":"AI Native","Feature2Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vectordb","URL":"https://cloud.zilliz.com/signup?utm_source=vectordb","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"17","Keywords":"Image Search","Title":"Stop Searching, Start Finding: AI-Powered Image Search with Zilliz","Description":"Enhance image search accuracy with Zilliz Cloud vector database. Scalable, fast, and optimized for AI. Try it free with up to 1M vectors.","Feature1Title":"Effortless Scalability for Expanding Data","Feature1Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of image vectors with ease.","Feature2Title":"AI Native","Feature2Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature3Title":"Unmatched Reliability and Uptime","Feature3Desc":"Builds resilient search systems with multiple replicas and robust backup capabilities, guaranteeing uninterrupted service even during unexpected events.","UTM_SOURCE":"image-search","URL":"https://cloud.zilliz.com/signup?utm_source=image-search","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"18","Keywords":"LLMs","Title":"While Others Struggle, You Scale: Build LLM Workflows that Thrive","Description":"Zilliz Cloud is a managed vector database built to power LLM apps, delivering the scalability, speed, and precision your apps need.","Feature1Title":"Purpose-Built for LLMs","Feature1Desc":"Zilliz Cloud ensures seamless storage and retrieval of vector embeddings, enabling faster and more accurate LLM-driven results.","Feature2Title":"Scalability","Feature2Desc":"Effortlessly manage vector datasets at any scale, ensuring high performance even for the most demanding LLM use cases.","Feature3Title":"Simplify AI Operations","Feature3Desc":"Offload infrastructure management and focus on building innovative LLM applications with ease.","UTM_SOURCE":"llms","URL":"https://cloud.zilliz.com/signup?utm_source=llms","Update date":"1/13","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"19","Keywords":"real time anomaly detection","Title":"Catch Problems Before They Cost Millions: AI Anomaly Detection","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated
310with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"real-time-anomaly-detection","URL":"https://cloud.zilliz.com/signup?utm_source=real-time-anomaly-detection","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"20","Keywords":"realtime recommendation system","Title":"Read Your Users' Minds: Deliver Magic Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"realtime-recommendation-system","URL":"https://cloud.zilliz.com/signup?utm_source=realtime-recommendation-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"21","Keywords":"recommend system","Title":"Read Your Users' Minds: Deliver Magic Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommend-system","URL":"https://cloud.zilliz.com/signup?utm_source=recommend-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"22","Keywords":"recommendation engine","Title":"Read Your Users' Minds: Deliver Magic Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommendation-engine","URL":"https://cloud.zilliz.com/signup?utm_source=recommendation-engine","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"23","Keywords":"recommendation system algorithm","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommendation-system-algorithm","URL":"https://cloud.zilliz.com/signup?utm_source=recommendation-system-algorithm","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"24","Keywords":"recommendation system architecture","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommendation-system-architecture","URL":"https://cloud.zilliz.com/signup?utm_source=recommendation-system-architecture","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"25","Keywords":"recommendation system design","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommendation-system-design","URL":"https://cloud.zilliz.com/signup?utm_source=recommendation-system-design","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"26","Keywords":"recommendation system for ecommerce","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommendation-system-for-ecommerce","URL":"https://cloud.zilliz.com/signup?utm_source=recommendation-system-for-ecommerce","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"27","Keywords":"recommendation system","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommendation-system","URL":"https://cloud.zilliz.com/signup?utm_source=recommendation-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"28","Keywords":"recommendation systems machine learning","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommendation-systems-machine-learning","URL":"https://cloud.zilliz.com/signup?utm_source=recommendation-systems-machine-learning","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"29","Keywords":"recommendation systems","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommendation-systems","URL":"https://cloud.zilliz.com/signup?utm_source=recommendation-systems","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"30","Keywords":"recommender system python","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommender-system-python","URL":"https://cloud.zilliz.com/signup?utm_source=recommender-system-python","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"31","Keywords":"recommender system","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommender-system","URL":"https://cloud.zilliz.com/signup?utm_source=recommender-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"32","Keywords":"recommender systems machine learning","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommender-systems-machine-learning","URL":"https://cloud.zilliz.com/signup?utm_source=recommender-systems-machine-learning","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"33","Keywords":"recommender systems","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommender-systems","URL":"https://cloud.zilliz.com/signup?utm_source=recommender-systems","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"34","Keywords":"retrieval augmented generation applications","Title":"Don't Get Left Behind: Elevate your RAG Workflows with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"retrieval-augmented-generation-applications","URL":"https://cloud.zilliz.com/signup?utm_source=retrieval-augmented-generation-applications","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"35","Keywords":"retrieval augmented generation architecture","Title":"Don't Get Left Behind: Elevate your RAG Workflows with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"retrieval-augmented-generation-architecture","URL":"https://cloud.zilliz.com/signup?utm_source=retrieval-augmented-generation-architecture","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"36","Keywords":"retrieval augmented generation best practices","Title":"Don't Get Left Behind: Elevate your RAG Workflows with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"retrieval-augmented-generation-best-practices","URL":"https://cloud.zilliz.com/signup?utm_source=retrieval-augmented-generation-best-practices","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"37","Keywords":"retrieval augmented generation code","Title":"Lead the RAG Revolution: Build Future-Proof AI That Others Envy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"retrieval-augmented-generation-code","URL":"https://cloud.zilliz.com/signup?utm_source=retrieval-augmented-generation-code","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"38","Keywords":"retrieval augmented generation evaluation","Title":"Lead the RAG Revolution: Build Future-Proof AI That Others Envy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"retrieval-augmented-generation-evaluation","URL":"https://cloud.zilliz.com/signup?utm_source=retrieval-augmented-generation-evaluation","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"39","Keywords":"retrieval augmented generation llm","Title":"Lead the RAG Revolution: Build Future-Proof AI That Others Envy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"retrieval-augmented-generation-llm","URL":"https://cloud.zilliz.com/signup?utm_source=retrieval-augmented-generation-llm","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"40","Keywords":"retrieval augmented generation use cases","Title":"Lead the RAG Revolution: Build Future-Proof AI That Others Envy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"retrieval-augmented-generation-use-cases","URL":"https://cloud.zilliz.com/signup?utm_source=retrieval-augmented-generation-use-cases","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"41","Keywords":"retrieval augmented generation vs fine tuning","Title":"Lead the RAG Revolution: Build Future-Proof AI That Others Envy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"retrieval-augmented-generation-vs-fine-tuning","URL":"https://cloud.zilliz.com/signup?utm_source=retrieval-augmented-generation-vs-fine-tuning","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"42","Keywords":"retrieval augmented generation","Title":"Lead the RAG Revolution: Build Future-Proof AI That Others Envy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"retrieval-augmented-generation","URL":"https://cloud.zilliz.com/signup?utm_source=retrieval-augmented-generation","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"43","Keywords":"retrieval-augmented generation example","Title":"Lead the RAG Revolution: Build Future-Proof AI That Others Envy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"retrieval-augmented-generation-example","URL":"https://cloud.zilliz.com/signup?utm_source=retrieval-augmented-generation-example","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"44","Keywords":"semantic search nlp","Title":"Go Beyond Keywords: Unlock True Meaning with Semantic Search","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"semantic-search-nlp","URL":"https://cloud.zilliz.com/signup?utm_source=semantic-search-nlp","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"45","Keywords":"semantic search system","Title":"Go Beyond Keywords: Unlock True Meaning with Semantic Search","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"semantic-search-system","URL":"https://cloud.zilliz.com/signup?utm_source=semantic-search-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"46","Keywords":"semantic search techniques","Title":"Go Beyond Keywords: Unlock True Meaning with Semantic Search","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"semantic-search-techniques","URL":"https://cloud.zilliz.com/signup?utm_source=semantic-search-techniques","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"47","Keywords":"semantic searching","Title":"Go Beyond Keywords: Unlock True Meaning with Semantic Search","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"semantic-searching","URL":"https://cloud.zilliz.com/signup?utm_source=semantic-searching","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"48","Keywords":"semantic vector search","Title":"Go Beyond Keywords: Unlock True Meaning with Semantic Search","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"semantic-vector-search","URL":"https://cloud.zilliz.com/signup?utm_source=semantic-vector-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"49","Keywords":"smart chat bot","Title":"Power AI Chatbots with Zilliz Cloud, the #1 Vector Database","Description":"Enhance chatbot performance with Zilliz Cloudâs vector database. Deliver faster, more relevant responses.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"smart-chat-bot","URL":"https://cloud.zilliz.com/signup?utm_source=smart-chat-bot","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"50","Keywords":"vector based database","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-based-database","URL":"https://cloud.zilliz.com/signup?utm_source=vector-based-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"51","Keywords":"vector based search","Title":"Find What Truly Matches:
310Elevate Vector Search with Zilliz Cloud","Description":"Achieve fast, accurate similarity search for your AI. Start your free trial today and manage up to 1M vectors for free!","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-based-search","URL":"https://cloud.zilliz.com/signup?utm_source=vector-based-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"52","Keywords":"vector database cloud","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-database-cloud","URL":"https://cloud.zilliz.com/signup?utm_source=vector-database-cloud","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"53","Keywords":"vector database companies","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-database-companies","URL":"https://cloud.zilliz.com/signup?utm_source=vector-database-companies","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"54","Keywords":"vector database comparison","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-database-comparison","URL":"https://cloud.zilliz.com/signup?utm_source=vector-database-comparison","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"55","Keywords":"vector database free","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-database-free","URL":"https://cloud.zilliz.com/signup?utm_source=vector-database-free","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"56","Keywords":"vector database open source","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-database-open-source","URL":"https://cloud.zilliz.com/signup?utm_source=vector-database-open-source","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"57","Keywords":"vector database","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-database","URL":"https://cloud.zilliz.com/signup?utm_source=vector-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"58","Keywords":"vector databases","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-databases","URL":"https://cloud.zilliz.com/signup?utm_source=vector-databases","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"59","Keywords":"vector db","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-db","URL":"https://cloud.zilliz.com/signup?utm_source=vector-db","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"60","Keywords":"vector search database","Title":"Find What Truly Matches: Elevate Vector Search with Zilliz Cloud","Description":"Achieve fast, accurate similarity search for your AI. Start your free trial today and manage up to 1M vectors for free!","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-search-database","URL":"https://cloud.zilliz.com/signup?utm_source=vector-search-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"61","Keywords":"vector search databases","Title":"Find What Truly Matches: Elevate Vector Search with Zilliz Cloud","Description":"Achieve fast, accurate similarity search for your AI. Start your free trial today and manage up to 1M vectors for free!","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-search-databases","URL":"https://cloud.zilliz.com/signup?utm_source=vector-search-databases","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"62","Keywords":"vector search engine","Title":"Find What Truly Matches: Elevate Vector Search with Zilliz Cloud","Description":"Achieve fast, accurate similarity search for your AI. Start your free trial today and manage up to 1M vectors for free!","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-search-engine","URL":"https://cloud.zilliz.com/signup?utm_source=vector-search-engine","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"63","Keywords":"vector search","Title":"Find What Truly Matches:
310Elevate Vector Search with Zilliz Cloud","Description":"Achieve fast, accurate similarity search for your AI. Start your free trial today and manage up to 1M vectors for free!","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-search","URL":"https://cloud.zilliz.com/signup?utm_source=vector-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"64","Keywords":"vector similarity search","Title":"Find What Truly Matches: Elevate Similarity Searches with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-similarity-search","URL":"https://cloud.zilliz.com/signup?utm_source=vector-similarity-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"65","Keywords":"video similarity search","Title":"Stop Searching, Start Finding: AI-Powered Video Search with Zilliz","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"video-similarity-search","URL":"https://cloud.zilliz.com/signup?utm_source=video-similarity-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"66","Keywords":"what is vector search","Title":"Find What Truly Matches: Elevate Vector Search with Zilliz Cloud","Description":"Achieve fast, accurate similarity search for your AI. Start your free trial today and manage up to 1M vectors for free!","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"what-is-vector-search","URL":"https://cloud.zilliz.com/signup?utm_source=what-is-vector-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"67","Keywords":"ai enabled database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-enabled-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-enabled-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"68","Keywords":"ai for sql databases","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-for-sql-databases","URL":"https://cloud.zilliz.com/signup?utm_source=ai-for-sql-databases","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"69","Keywords":"ai native vector database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-native-vector-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-native-vector-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"70","Keywords":"anomaly detection solution","Title":"Catch Problems Before They Cost Millions: AI Anomaly Detection","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"anomaly-detection-solution","URL":"https://cloud.zilliz.com/signup?utm_source=anomaly-detection-solution","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"71","Keywords":"artificial intelligence database systems","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"artificial-intelligence-database-systems","URL":"https://cloud.zilliz.com/signup?utm_source=artificial-intelligence-database-systems","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"72","Keywords":"best database for ai","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"best-database-for-ai","URL":"https://cloud.zilliz.com/signup?utm_source=best-database-for-ai","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"73","Keywords":"build anomaly detection","Title":"Catch Problems Before They Cost Millions: AI Anomaly Detection","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"build-anomaly-detection","URL":"https://cloud.zilliz.com/signup?utm_source=build-anomaly-detection","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"74","Keywords":"Vector search","Title":"Find What Truly Matches: Elevate Vector Search with Zilliz Cloud","Description":"Achieve fast, accurate similarity search for your AI. Start your free trial today and manage up to 1M vectors for free!","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-search","URL":"https://cloud.zilliz.com/signup?utm_source=vector-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"75","Keywords":"machine learning anomaly detection","Title":"Spot the Unexpected: Improve Anomaly Detection with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"machine-learning-anomaly-detection","URL":"https://cloud.zilliz.com/signup?utm_source=machine-learning-anomaly-detection","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"76","Keywords":"multimodal generative ai search","Title":"Unlock Insights from Any Data: Multimodal Retrieval Made Easy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"multimodal-generative-ai-search","URL":"https://cloud.zilliz.com/signup?utm_source=multimodal-generative-ai-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"77","Keywords":"multimodal search","Title":"Unlock Insights from Any Data: Multimodal Retrieval Made Easy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"multimodal-search","URL":"https://cloud.zilliz.com/signup?utm_source=multimodal-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"78","Keywords":"multimodal semantic search","Title":"Unlock Insights from Any Data: Multimodal Retrieval Made Easy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"multimodal-semantic-search","URL":"https://cloud.zilliz.com/signup?utm_source=multimodal-semantic-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"79","Keywords":"open source ai databases","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"open-source-ai-databases","URL":"https://cloud.zilliz.com/signup?utm_source=open-source-ai-databases","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"80","Keywords":"platform for building ai","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"platform-for-building-ai","URL":"https://cloud.zilliz.com/signup?utm_source=platform-for-building-ai","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"81","Keywords":"semantic similarity image","Title":"Go Beyond Keywords: Unlock True Meaning with Semantic Search","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"semantic-similarity-image","URL":"https://cloud.zilliz.com/signup?utm_source=semantic-similarity-image","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"82","Keywords":"ANNS","Title":"Fast Tracks, Accurate Matches: Accelerate ANNS with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"anns","URL":"https://cloud.zilliz.com/signup?utm_source=anns","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"83","Keywords":"vector anomaly detection","Title":"Spot the Unexpected: Improve Anomaly Detection with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-anomaly-detection","URL":"https://cloud.zilliz.com/signup?utm_source=vector-anomaly-detection","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"84","Keywords":"what is ai database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"what-is-ai-database","URL":"https://cloud.zilliz.com/signup?utm_source=what-is-ai-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"85","Keywords":"multimodal vector database retrieval","Title":"Unlock Insights from Any Data: Multimodal Retrieval Made Easy","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"multimodal-vector-database-retrieval","URL":"https://cloud.zilliz.com/signup?utm_source=multimodal-vector-database-retrieval","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"86","Keywords":"knn algorithm","Title":"No More Slow Results: Supercharge kNN Search with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"knn-algorithm","URL":"https://cloud.zilliz.com/signup?utm_source=knn-algorithm","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"87","Keywords":"Vector embeddings","Title":"Unlock the Power of Vector Embeddings with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-embeddings","URL":"https://cloud.zilliz.com/signup?utm_source=vector-embeddings","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"88","Keywords":"k nearest neighbor algorithm","Title":"No More Slow Results: Supercharge kNN Search with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"k-nearest-neighbor-algorithm","URL":"https://cloud.zilliz.com/signup?utm_source=k-nearest-neighbor-algorithm","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"89","Keywords":"Vector index","Title":"Skip Manual Indexing: Let Zillizâs AI AutoIndex Do the Work","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-index","URL":"https://cloud.zilliz.com/signup?utm_source=vector-index","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"90","Keywords":"Faiss","Title":"Say Goodbye to Faiss Limits: Try Zilliz Cloud, the #1 Vector Database","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"faiss","URL":"https://cloud.zilliz.com/signup?utm_source=faiss","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"91","Keywords":"Video search","Title":"Stop Searching, Start Finding: AI-Powered Video Search with Zilliz","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"video-search","URL":"https://cloud.zilliz.com/signup?utm_source=video-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"92","Keywords":"AI Agent","Title":"Empower Your AI Agent: Smarter Decisions with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-agent","URL":"https://cloud.zilliz.com/signup?utm_source=ai-agent","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"93","Keywords":"semantic search","Title":"Go Beyond Keywords: Unlock True Meaning with Semantic Search","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"semantic-search","URL":"https://cloud.zilliz.com/signup?utm_source=semantic-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"94","Keywords":"Anomaly Detection","Title":"Spot the Unexpected: Improve Anomaly Detection with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"anomaly-detection","URL":"https://cloud.zilliz.com/signup?utm_source=anomaly-detection","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"95","Keywords":"Recommender systems","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"recommender-systems","URL":"https://cloud.zilliz.com/signup?utm_source=recommender-systems","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"96","Keywords":"information retrieval","Title":"Get Smarter Insights: AI-Powered Information Retrieval with Zilliz","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"information-retrieval","URL":"https://cloud.zilliz.com/signup?utm_source=information-retrieval","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"97","Keywords":"vector similarity search","Title":"Find What Truly Matches: Elevate Similarity Searches with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"vector-similarity-search","URL":"https://cloud.zilliz.com/signup?utm_source=vector-similarity-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"98","Keywords":"ai and databases","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-and-databases","URL":"https://cloud.zilliz.com/signup?utm_source=ai-and-databases","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"99","Keywords":"ai and graph database use cases","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI N
310ative","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-and-graph-database-use-cases","URL":"https://cloud.zilliz.com/signup?utm_source=ai-and-graph-database-use-cases","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"100","Keywords":"ai and graph database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-and-graph-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-and-graph-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"101","Keywords":"ai and graph databases","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-and-graph-databases","URL":"https://cloud.zilliz.com/signup?utm_source=ai-and-graph-databases","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"102","Keywords":"ai database analysis","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-database-analysis","URL":"https://cloud.zilliz.com/signup?utm_source=ai-database-analysis","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"103","Keywords":"ai database design","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-database-design","URL":"https://cloud.zilliz.com/signup?utm_source=ai-database-design","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"104","Keywords":"ai database example","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-database-example","URL":"https://cloud.zilliz.com/signup?utm_source=ai-database-example","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"105","Keywords":"ai database management systems","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-database-management-systems","URL":"https://cloud.zilliz.com/signup?utm_source=ai-database-management-systems","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"106","Keywords":"ai database management","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-database-management","URL":"https://cloud.zilliz.com/signup?utm_source=ai-database-management","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"107","Keywords":"ai database open source","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-database-open-source","URL":"https://cloud.zilliz.com/signup?utm_source=ai-database-open-source","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"108","Keywords":"ai database solutions","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-database-solutions","URL":"https://cloud.zilliz.com/signup?utm_source=ai-database-solutions","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"109","Keywords":"ai database structure","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-database-structure","URL":"https://cloud.zilliz.com/signup?utm_source=ai-database-structure","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"110","Keywords":"ai database systems","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-database-systems","URL":"https://cloud.zilliz.com/signup?utm_source=ai-database-systems","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"111","Keywords":"ai database type","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-database-type","URL":"https://cloud.zilliz.com/signup?utm_source=ai-database-type","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"112","Keywords":"ai enabled database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-enabled-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-enabled-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"113","Keywords":"ai for database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-for-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-for-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"114","Keywords":"ai graph database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-graph-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-graph-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"115","Keywords":"ai in databases","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-in-databases","URL":"https://cloud.zilliz.com/signup?utm_source=ai-in-databases","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"116","Keywords":"ai incident database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-incident-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-incident-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"117","Keywords":"ai ml database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-ml-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-ml-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"118","Keywords":"ai native database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-native-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-native-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"119","Keywords":"ai powered database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-powered-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-powered-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"120","Keywords":"ai tool database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-tool-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-tool-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"121","Keywords":"artificial intelligence database design","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"artificial-intelligence-database-design","URL":"https://cloud.zilliz.com/signup?utm_source=artificial-intelligence-database-design","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"122","Keywords":"artificial intelligence database management systems","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"artificial-intelligence-database-management-systems","URL":"https://cloud.zilliz.com/signup?utm_source=artificial-intelligence-database-management-systems","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"123","Keywords":"artificial intelligence in database management","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"artificial-intelligence-in-database-management","URL":"https://cloud.zilliz.com/signup?utm_source=artificial-intelligence-in-database-management","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"124","Keywords":"best ai database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"best-ai-database","URL":"https://cloud.zilliz.com/signup?utm_source=best-ai-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"125","Keywords":"best database for artificial intelligence","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"best-database-for-artificial-intelligence","URL":"https://cloud.zilliz.com/signup?utm_source=best-database-for-artificial-intelligence","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"126","Keywords":"building ai database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"building-ai-database","URL":"https://cloud.zilliz.com/signup?utm_source=building-ai-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"127","Keywords":"database ai","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"database-ai","URL":"https://cloud.zilliz.com/signup?utm_source=database-ai","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"128","Keywords":"database for ai","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"database-for-ai","URL":"https://cloud.zilliz.com/signup?utm_source=database-for-ai","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"129","Keywords":"how to integrate ai to a database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"how-to-integrate-ai-to-a-database","URL":"https://cloud.zilliz.com/signup?utm_source=how-to-integrate-ai-to-a-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"130","Keywords":"how to use ai in database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"how-to-use-ai-in-database","URL":"https://cloud.zilliz.com/signup?utm_source=how-to-use-ai-in-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"131","Keywords":"what is ai database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"what-is-ai-database","URL":"https://cloud.zilliz.com/signup?utm_source=what-is-ai-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"132","Keywords":"active retrieval augmented generation","Title":"Don't Get Left Behind: Elevate your RAG Workflows with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"active-retrieval-augmented-generation","URL":"https://cloud.zilliz.com/signup?utm_source=active-retrieval-augmented-generation","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"133","Keywords":"ai database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-database","URL":"https://cloud.zilliz.com/signup?utm_source=ai-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"134","Keywords":"ai databases","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-databases","URL":"https://cloud.zilliz.com/signup?utm_source=ai-databases","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"135","Keywords":"ai db","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-db","URL":"https://cloud.zilliz.com/signup?utm_source=ai-db","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"136","Keywords":"ai semantic search","Title":"Go Beyond Keywords: Unlock True Meaning with Semantic Search","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ai-semantic-search","URL":"https://cloud.zilliz.com/signup?utm_source=ai-semantic-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"137","Keywords":"anomaly detection algorithms","Title":"Spot the Unexpected: Improve Anomaly Detection with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"anomaly-detection-algorithms","URL":"https://cloud.zilliz.com/signup?utm_source=anomaly-detection-algorithms","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"138","Keywords":"anomaly detection machine learning","Title":"Spot the Unexpected: Improve Anomaly Detection with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"anomaly-detection-machine-learning","URL":"https://cloud.zilliz.com/signup?utm_source=anomaly-detection-machine-learning","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"139","Keywords":"anomaly detection techniques","Title":"Spot the Unexpected: Improve Anomaly Detection with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"anomaly-detection-techniques","URL":"https://cloud.zilliz.com/signup?utm_source=anomaly-detection-techniques","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"140","Keywords":"artificial intelligence database","Title":"Experience the Best: Try Zilliz, the #1 AI Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"artificial-intelligence-database","URL":"https://cloud.zilliz.com/signup?utm_source=artificial-intelligence-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"141","Keywords":"audio similarity search","Title":"Discover Hidden Treasures: AI Search That Sees Like You Think","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"audio-similarity-search","URL":"https://cloud.zilliz.com/signup?utm_source=audio-similarity-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"142","Keywords":"automated question answering system","Title":"Power AI Chatbots with Zilliz Cloud, the #1 Vector Database","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"automated-question-answering-system","URL":"https://cloud.zilliz.com/signup?utm_source=automated-question-answering-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"143","Keywords":"aws vector database","Title":"Experience the Best: Try Zilliz, the #1 Cloud VectorDB, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"aws-vector-database","URL":"https://cloud.zilliz.com/signup?utm_source=aws-vector-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"144","Keywords":"best vector database","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"best-vector-database","URL":"https://cloud.zilliz.com/signup?utm_source=best-vector-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"145","Keywords":"build question answering system","Title":"Power AI Chatbots with Zilliz Cloud, the #1 Vector Database","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"build-question-answering-system","URL":"https://cloud.zilliz.com/signup?utm_source=build-question-answering-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"146","Keywords":"building a recommendation system","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"building-a-recommendation-system","URL":"https://cloud.zilliz.com/signup?utm_source=building-a-recommendation-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"147","Keywords":"cloud vector database","Title":"Experience the Best: Try Zilliz, the #1 Cloud VectorDB, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"cloud-vector-database","URL":"https://cloud.zilliz.com/signup?utm_source=cloud-vector-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"148","Keywords":"content based recommendation system","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"content-based-recommendation-system","URL":"https://cloud.zilliz.com/signup?utm_source=content-based-recommendation-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"149","Keywords":"data anomaly detection","Title":"Spot the Unexpected: Improve Anomaly Detection with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"data-anomaly-detection","URL":"https://cloud.zilliz.com/signup?utm_source=data-anomaly-detection","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"150","Keywords":"deep learning recommender system","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"deep-learning-recommender-system","URL":"https://cloud.zilliz.com/signup?utm_source=deep-learning-recommender-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"151","Keywords":"ecommerce recommendation system","Title":"Personalize Every Choice: Create Smarter, Tailored Recommendations","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"ecommerce-recommendation-system","URL":"https://cloud.zilliz.com/signup?utm_source=ecommerce-recommendation-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"152","Keywords":"free vector database","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"free-vector-database","URL":"https://cloud.zilliz.com/signup?utm_source=free-vector-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"153","Keywords":"how to build recommendation system using machine learning","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"how-to-build-recommendation-system-using-machine-learning","URL":"https://cloud.zilliz.com/signup?utm_source=how-to-build-recommendation-system-using-machine-learning","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"154","Keywords":"how to use retrieval augmented generation","Title":"Don't Get Left Behind: Elevate your RAG Workflows with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"how-to-use-retrieval-augmented-generation","URL":"https://cloud.zilliz.com/signup?utm_source=how-to-use-retrieval-augmented-generation","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"155","Keywords":"image similarity search","Title":"Stop Searching, Start Finding: AI-Powered Image Search with Zilliz","Description":"Enhance image search accuracy with Zilliz Cloud vector database. Scalable, fast, and optimized for AI.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"image-similarity-search","URL":"https://cloud.zilliz.com/signup?utm_source=image-similarity-search","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"156","Keywords":"llm retrieval augmented generation","Title":"Don't Get Left Behind: Elevate your RAG Workflows with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"llm-retrieval-augmented-generation","URL":"https://cloud.zilliz.com/signup?utm_source=llm-retrieval-augmented-generation","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"157","Keywords":"machine learning anomaly detection","Title":"Spot the Unexpected: Improve Anomaly Detection with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"machine-learning-anomaly-detection","URL":"https://cloud.zilliz.com/signup?utm_source=machine-learning-anomaly-detection","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"158","Keywords":"open source vector database","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"open-source-vector-database","URL":"https://cloud.zilliz.com/signup?utm_source=open-source-vector-database","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}
310,{"id":"159","Keywords":"product recommendation system","Title":"Experience the Best: Try Zilliz, the #1 Vector Database, for Free","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"product-recommendation-system","URL":"https://cloud.zilliz.com/signup?utm_source=product-recommendation-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"160","Keywords":"query engine","Title":"Power AI Chatbots with Zilliz Cloud, the #1 Vector Database","Description":"Enhance chatbot performance with Zilliz Cloudâs vector database. Deliver faster, more relevant responses.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"query-engine","URL":"https://cloud.zilliz.com/signup?utm_source=query-engine","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"161","Keywords":"question answering system","Title":"Power AI Chatbots with Zilliz Cloud, the #1 Vector Database","Description":"Enhance chatbot performance with Zilliz Cloudâs vector database. Deliver faster, more relevant responses.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"question-answering-system","URL":"https://cloud.zilliz.com/signup?utm_source=question-answering-system","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""},{"id":"162","Keywords":"rag retrieval augmented generation","Title":"Don't Get Left Behind: Elevate your RAG Workflows with Zilliz Cloud","Description":"Zilliz Cloud is a managed vector database delivering the speed, scalability, and accuracy your AI applications demand.","Feature1Title":"AI Native","Feature1Desc":"Integrated with top AI model and framework providers, transform and connect vector embeddings all in one platform","Feature2Title":"Effortless Scalability for Expanding Data","Feature2Desc":"Offers horizontal and independent scaling for computing and storage, allowing you to manage billions of vector vectors with ease.","Feature3Title":"Production-Ready Reliability","Feature3Desc":"Enterprise-grade security features, SOC 2 Type II & ISO 27001 compliant, and 99.95% uptime SLA","UTM_SOURCE":"rag-retrieval-augmented-generation","URL":"https://cloud.zilliz.com/signup?utm_source=rag-retrieval-augmented-generation","Update date":"1/14","field14":"","field15":"","field16":"","field17":"","field18":"","field19":"","field20":"","field21":"","field22":"","field23":"","field24":"","field25":"","field26":"","field27":"","field28":""}]`),b9={wrapper:`_wrapper_421ph_3`,title:`_title_421ph_11`,featureWrapper:`_featureWrapper_421ph_25`,feature:`_feature_421ph_25`,featureDesc:`_featureDesc_421ph_40`,icon:`_icon_421ph_43`,rotate:`_rotate_421ph_1`},Gle=e=>
310(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 48 48`,fill:`none`,...e,children:[(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M33.5023 12.5914C27.4026 6.46954 17.5114 6.46954 11.4117 12.5914L1.44201 22.5971C0.852664 23.1892 0.852664 24.1426 1.44201 24.7347L11.4117 34.7404C17.5114 40.8622 27.4026 40.8622 33.5023 34.7504C39.6118 28.6386 39.6118 18.7132 33.5023 12.5914ZM31.1449 31.8099C26.6659 36.3059 19.3973 36.3059 14.9183 31.8099L7.581 24.4537C7.14881 24.0221 7.14881 23.3196 7.581 22.8781L14.9085 15.5319C19.3875 11.0358 26.6561 11.0358 31.1351 15.5319C35.6239 20.0279 35.6239 27.3139 31.1449 31.8099ZM46.5654 22.6071L42.1748 18.1211C41.9095 17.8501 41.4675 18.101 41.5559 18.4724C42.3123 21.8946 42.3123 25.4673 41.5559 28.8895C41.4774 29.2608 41.9194 29.5017 42.1748 29.2408L46.5654 24.7548C47.1449 24.1526 47.1449 23.1992 46.5654 22.6071ZM30.7713 23.6809C30.7713 28.0208 27.328 31.539 23.0804 31.539C18.8328 31.539 15.3895 28.0208 15.3895 23.6809C15.3895 19.3411 18.8328 15.8229 23.0804 15.8229C27.328 15.8229 30.7713 19.3411 30.7713 23.6809Z`,fill:`url(#paint0_linear_49_567)`}),(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`linearGradient`,{id:`paint0_linear_49_567`,x1:2.38669,y1:38.5865,x2:22.7085,y2:-4.36714,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#7D2EFF`}),(0,G.jsx)(`stop`,{offset:.549318,stopColor:`#00B3FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#ACFEFF`})]})})]}),Kle=e=>(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 48 48`,fill:`none`,...e,children:[(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M24.7246 3.1492C24.4261 2.95024 24.0373 2.95027 23.7388 3.14928L20.0001 5.64223L20.986 7.12082L23.1601 5.67115L23.1601 11.9608H25.3046V5.67151L27.4789 7.12078L28.4645 5.64203L24.7246 3.1492Z`,fill:`url(#paint0_linear_49_577)`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M45.5634 34.9727C45.7623 34.6742 45.7623 34.2854 45.5633 33.9869L43.0704 30.2482L41.5918 31.2341L43.0414 33.4082L36.7518 33.4082L36.7518 35.5527L43.0411 35.5527L41.5918 37.727L43.0706 38.7126L45.5634 34.9727Z`,fill:`url(#paint1_linear_49_577)`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M5.65597 41.7527C5.33443 41.5937 5.14003 41.2569 5.16315 40.8989L5.45273 36.4146L7.22618 36.5291L7.05779 39.1368L12.5048 35.992L13.577 37.8492L8.13034 40.9938L10.4726 42.1522L9.68478 43.7451L5.65597 41.7527Z`,fill:`url(#paint2_linear_49_577)`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M35 14C35 16.2091 30.0751 18 24 18C17.9249 18 13 16.2091 13 14C13 11.7909 17.9249 10 24 10C30.0751 10 35 11.7909 35 14ZM37 25C37 27.7614 31.1797 30 24 30C16.8203 30 11 27.7614 11 25V15C11 17.7614 16.8203 20 24 20C31.1797 20 37 17.7614 37 15V25ZM33 24C33.5523 24 34 23.5523 34 23C34 22.4477 33.5523 22 33 22C32.4477 22 32 22.4477 32 23C32 23.5523 32.4477 24 33 24ZM24 32C31.1797 32 37 29.7614 37 27V37C37 39.7614 31.1797 42 24 42C16.8203 42 11 39.7614 11 37V27C11 29.7614 16.8203 32 24 32ZM34 35C34 35.5523 33.5523 36 33 36C32.4477 36 32 35.5523 32 35C32 34.4477 32.4477 34 33 34C33.5523 34 34 34.4477 34 35Z`,fill:`url(#paint3_linear_49_577)`}),(0,G.jsxs)(`defs`,{children:[(0,G.jsxs)(`linearGradient`,{id:`paint0_linear_49_577`,x1:20.2552,y1:11.7473,x2:27.4302,y2:1.98935,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#7D2EFF`}),(0,G.jsx)(`stop`,{offset:.549318,stopColor:`#00B3FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#ACFEFF`})]}),(0,G.jsxs)(`linearGradient`,{id:`paint1_linear_49_577`,x1:36.9653,y1:30.5033,x2:46.7232,y2:37.6783,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#7D2EFF`}),(0,G.jsx)(`stop`,{offset:.549318,stopColor:`#00B3FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#ACFEFF`})]}),(0,G.jsxs)(`linearGradient`,{id:`paint2_linear_49_577`,x1:10.8674,y1:33.5831,x2:6.00431,y2:44.6757,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#7D2EFF`}),(0,G.jsx)(`stop`,{offset:.549318,stopColor:`#00B3FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#ACFEFF`})]}),(0,G.jsxs)(`linearGradient`,{id:`paint3_linear_49_577`,x1:11.7838,y1:41.2377,x2:38.3006,y2:10.2186,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#7D2EFF`}),(0,G.jsx)(`stop`,{offset:.549318,stopColor:`#00B3FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#ACFEFF`})]})]})]}),qle=e=>
310(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 48 48`,fill:`none`,...e,children:[(0,G.jsx)(`path`,{d:`M21.7674 27.3721V41.1395H8C8 33.5359 14.1639 27.3721 21.7674 27.3721ZM21.7674 25.6512C16.0626 25.6512 11.4419 21.0305 11.4419 15.3256C11.4419 9.6207 16.0626 5 21.7674 5C27.4723 5 32.093 9.6207 32.093 15.3256C32.093 21.0305 27.4723 25.6512 21.7674 25.6512ZM26.2326 35.6523C26.126 35.2042 26.0698 34.7366 26.0698 34.2558C26.0698 33.7752 26.126 33.3076 26.2324 32.8595L24.5259 31.8742L26.2469 28.8934L27.9545 29.8793C28.631 29.2395 29.4559 28.7547 30.3721 28.4819V26.5116H33.814V28.4819C34.7302 28.7547 35.5548 29.2395 36.2313 29.8793L37.9392 28.8932L39.6603 31.874L37.9537 32.8593C38.06 33.3076 38.1163 33.7752 38.1163 34.2558C38.1163 34.7365 38.06 35.204 37.9537 35.6522L39.6603 36.6374L37.9394 39.6182L36.2315 38.6321C35.555 39.2722 34.7303 39.7569 33.8141 40.0295V42H30.3723V40.0297C29.456 39.7571 28.6312 39.2723 27.9547 38.6323L26.247 39.6184L24.5259 36.6376L26.2326 35.6523ZM32.093 32.5349C31.1426 32.5349 30.3721 33.3053 30.3721 34.2558C30.3721 35.2063 31.1426 35.9767 32.093 35.9767C33.0435 35.9767 33.814 35.2063 33.814 34.2558C33.814 33.3053 33.0435 32.5349 32.093 32.5349Z`,fill:`url(#paint0_linear_49_611)`}),(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`linearGradient`,{id:`paint0_linear_49_611`,x1:8.95442,y1:41.1185,x2:39.329,y2:3.6983,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#7D2EFF`}),(0,G.jsx)(`stop`,{offset:.549318,stopColor:`#00B3FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#ACFEFF`})]})})]}),Jle=e=>(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 48 48`,fill:`none`,...e,children:[(0,G.jsx)(`path`,{d:`M10.6579 6.54316C13.1241 5.6664 15.9836 6.21498 17.9576 8.18892C19.9321 10.1634 20.4804 13.024 19.6026 15.4907L41.292 37.1804L37.0494 41.423L15.3577 19.7342C12.8916 20.611 10.032 20.0624 8.05806 18.0884C6.08356 16.1139 5.53522 13.2533 6.41304 10.7866L10.8865 15.26C12.0581 16.4316 13.9576 16.4316 15.1291 15.26C16.3007 14.0884 16.3007 12.1889 15.1291 11.0174L10.6579 6.54316ZM31.3926 10.3102L37.7566 6.77472L40.585 9.60314L37.0494 15.9671L33.514 16.6742L29.2712 20.9168L26.4428 18.0884L30.6854 13.8458L31.3926 10.3102ZM17.2505 25.8666L21.493 30.1092L11.5936 40.0088C10.422 41.1804 8.52254 41.1804 7.35096 40.0088C6.2483 38.906 6.18344 37.1586 7.15638 35.98L7.35096 35.766L17.2505 25.8666Z`,fill:`url(#paint0_linear_49_617)`}),(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`linearGradient`,{id:`paint0_linear_49_617`,x1:7.07147,y1:40.5824,x2:34.8076,y2:.649869,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#7D2EFF`}),(0,G.jsx)(`stop`,{offset:.549318,stopColor:`#00B3FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#ACFEFF`})]})})]}),Yle=e=>(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 48 48`,fill:`none`,...e,children:[(0,G.jsx)(`path`,{d:`M31.1111 6L40 14.8889V39.7924C40 40.7662 39.2091 41.5556 38.234 41.5556H9.76604C8.79068 41.5556 8 40.7461 8 39.7924V7.7632C8 6.78942 8.79102 6 9.76604 6H31.1111ZM34.0567 23.7778L27.7712 17.4924L25.2571 20.0065L29.0283 23.7778L25.2571 27.549L27.7712 30.0631L34.0567 23.7778ZM13.9434 23.7778L20.2288 30.0631L22.7429 27.549L18.9717 23.7778L22.7429 20.0065L20.2288 17.4924L13.9434 23.7778Z`,fill:`url(#paint0_linear_49_624)`}),(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`linearGradient`,{id:`paint0_linear_49_624`,x1:8.96466,y1:40.7085,x2:37.8169,y2:3.32278,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#7D2EFF`}),(0,G.jsx)(`stop`,{offset:.549318,stopColor:`#00B3FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#ACFEFF`})]})})]}),Xle=e=>(0,G.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 48 48`,fill:`none`,...e,children:[(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M23.1734 7.83689C23.3801 8.63863 22.8977 9.45614 22.096 9.66286C21.2942 9.86958 20.4767 9.38721 20.27 8.58548C20.0633 7.78374 20.5457 6.96622 21.3474 6.7595C22.1491 6.55279 22.9666 7.03515 23.1734 7.83689ZM23.071 11.4402C22.9186 11.5037 22.7598 11.5571 22.5953 11.5995C22.4646 11.6332 22.3338 11.6591 22.2032 11.6774L19.2482 19.5572L20.2879 19.8408C20.8128 18.299
3106 22.0794 17.0445 23.7738 16.6077C26.3241 15.9501 28.9223 17.3836 29.7544 19.8379L35.8064 19.0814L23.071 11.4402ZM18.1904 22.3783L20.2508 22.9402C20.8807 24.96 22.6947 26.3175 24.7209 26.4392L27.3695 35.2678L17.1784 25.0768L18.1904 22.3783ZM30.3946 34.9113L27.6346 25.7113C28.7012 25.0581 29.4741 24.03 29.82 22.8531L36.5084 22.017L30.3761 35.1576C30.2425 35.1102 30.1057 35.0708 29.9664 35.0398L30.3946 34.9113ZM32.5824 37.5239L32.5816 37.5236C32.5871 37.5434 32.5924 37.5632 32.5976 37.5832C33.08 39.4545 31.9542 41.3626 30.0828 41.8451C28.4821 42.2579 26.8545 41.4938 26.1152 40.0929L26.0651 40.3266L13.1554 37.5602C12.8346 37.9308 12.4017 38.2111 11.8911 38.3427C10.5544 38.6873 9.19147 37.8831 8.84683 36.5465C8.50219 35.2098 9.30638 33.8469 10.643 33.5022C10.7054 33.4861 10.7678 33.4726 10.8302 33.4614L13.6912 25.8322L9.2687 21.4097C9.20703 21.4299 9.14429 21.4483 9.08055 21.4647C7.47656 21.8783 5.841 20.9133 5.42744 19.3093C5.01387 17.7053 5.9789 16.0697 7.5829 15.6562C8.13264 15.5144 8.68609 15.5346 9.19278 15.687L18.3817 9.25473C18.3643 9.19881 18.3481 9.14216 18.3333 9.08482C17.8509 7.21349 18.9767 5.30534 20.8481 4.82284C22.7194 4.34035 24.6275 5.46622 25.11 7.33755C25.2697 7.95672 25.2532 8.57993 25.092 9.15418L38.5119 17.2062C38.6434 17.1512 38.7803 17.1051 38.9223 17.0684C40.5251 16.6552 42.1594 17.6195 42.5727 19.2223C42.9859 20.8251 42.0216 22.4594 40.4189 22.8726C40.0703 22.9625 39.7202 22.9872 39.3815 22.9544L32.5824 37.5239ZM11.7979 17.5253L18.5888 12.7717L16.3415 18.7645L11.7979 17.5253ZM13.6111 34.5898L24.859 37L16.0213 28.1623L13.6111 34.5898ZM13.0885 20.9869L14.8482 22.7466L15.2836 21.5856L13.0885 20.9869ZM8.58121 19.5281C9.11562 19.3903 9.43714 18.8454 9.29935 18.311C9.16157 17.7765 8.61664 17.455 8.08224 17.5928C7.54783 17.7306 7.22631 18.2755 7.3641 18.8099C7.50189 19.3443 8.04681 19.6659 8.58121 19.5281ZM25.5209 23.3836C26.5898 23.108 27.233 22.018 26.9573 20.9491C26.6817 19.8802 25.5918 19.237 24.5228 19.5126C23.4539 19.7883 22.8107 20.8782 23.0864 21.9472C23.362 23.0161 24.4519 23.6592 25.5209 23.3836ZM40.636 19.7216C40.7735 20.2548 40.4527 20.7985 39.9195 20.936C39.3863 21.0734 38.8426 20.7527 38.7052 20.2195C38.5677 19.6863 38.8885 19.1426 39.4217 19.0051C39.9549 18.8676 40.4985 19.1884 40.636 19.7216ZM29.5835 39.9085C30.3852 39.7018 30.8676 38.8842 30.6609 38.0825C30.4542 37.2808 29.6367 36.7984 28.8349 37.0051C28.0332 37.2118 27.5508 38.0294 27.7575 38.8311C27.9643 39.6328 28.7818 40.1152 29.5835 39.9085ZM11.7506 35.7978C11.8195 36.0648 11.6588 36.3372 11.3918 36.406C11.1247 36.4749 10.8523 36.3142 10.7835 36.0471C10.7146 35.7801 10.8753 35.5077 11.1424 35.4389C11.4095 35.37 11.6818 35.5307 11.7506 35.7978Z`,fill:`url(#paint0_linear_49_630)`}),(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`linearGradient`,{id:`paint0_linear_49_630`,x1:6.45726,y1:41.0695,x2:35.71,y2:-1.14977,gradientUnits:`userSpaceOnUse`,children:[(0,G.jsx)(`stop`,{stopColor:`#7D2EFF`}),(0,G.jsx)(`stop`,{offset:.549318,stopColor:`#00B3FF`}),(0,G.jsx)(`stop`,{offset:1,stopColor:`#ACFEFF`})]})})]}),Zle=()=>{let e=[{icon:Gle,title:`Powered by Open Source`,desc:`Built on Milvus, the most widely adopted open source vector database.`},{icon:Kle,title:`Unveiling the Free Vector DB`,desc:`Two Collections Housing 1,000,000 768-Dimensional Vectors.`},{icon:qle,title:`One Full Platform User`,desc:`Unlimited number of users you can invite to ingest and query your data.`},{icon:Jle,title:`Works with popular tools`,desc:`Integration with Hugging Face, LlamaIndex, Open AI & more.`},{icon:Yle,title:`Code in the languages you love`,desc:`Work the way you want with support for Python, Node.js, or REST API.`},{icon:Xle,title:`Built-in Vector Embedding`,desc:`Get high-quality text embeddings with our built-in embedding pipeline.`}];return(0,G.jsxs)(`div`,{className:b9.wrapper,children:[(0,G.jsx)(L,{variant:`h4Semibold`,className:b9.title,mb:12,children:`Whatâs included in the Zilliz Cloud free tier?`}),(0,G.jsx)(`div`,{className:b9.featureWrapper,children:e.map(e=>(0,G.jsxs)(`div`,{className:b9.feature,children:[(0,G.jsx)(e.icon,{"aria-label":e.title,width:48,height:48,className:b9.icon}),(0,G.jsxs)(`div`,{className:b9.text,children:[(0,G.jsx)(L,{variant:`h3Semibold`,className:b9.featureTitle,children:e.title}),(0,G.jsx)(L,{variant:`body1Regular`,className:b9.featureDesc,children:e.desc})]})]},e.title))})]})},Qle={"ai-agent":`92`,"ai-chatbots":`10`,"ai-database":`67`,"ai-search":`141`,"ai-vector-database":`11`,anns:`82`,"anomaly-detection":`75`,"anomaly-detection-solution":`19`,"best-vector-database":`50`,"cloud-vector-database":`143`,faiss:`90`,"image-search":`17`,"image-similarity-search":`155`,"information-retrieval":`96`,"knn-algorithm":`86`,"knowledge-base":`9`,"large-language-models":`2`,"multimodal-search":`76`,"natural-language-processing":`4`,"question-answering-system":`142`,"rag-vector-database":`3`,"rag-workflows":`34`,"recommendation-engine":`20`,"recommendation-system":`24`,"retrieval-augmented-generation":`37`,"semantic-search":`44`,"tailored-recommendations":`23`,"unstructured-data":`1`,"vector-database":`12`,"vector-embeddings":`87`,"vector-index":`89`,"vector-search":`51`,"vector-similarity-search":`97`,"video-search":`65`},$le=117,eue=44,x9={titlePrefix:`Zilliz `,titleHighlight:`Vector Lakebase`,titleSuffix:` for Production AI`,description:`One unified platform for high-speed, low-latency vector search and lake-scale discovery for production AI across all your vector data.`,features:[{title:`Database-speed Serving`,description:`Serve production AI apps with sub-10ms, 10000+ QPS vector search at 100B+ scale`},{title:`Lake-scale Discovery`,description:`Run ad-hoc and batch vector search directly on Apache Iceberg, Parquet, Lance, and Vortex in your existing object storage without moving or duplicating data`},{title:`One Source of Truth`,description:`Unify online serving, exploration, batch analytics, deduplication, clustering, and training data curation on the same vector data`},{title:`Enterprise-ready`,description:`99.95% SLA, SOC 2 Type II, ISO 27001, GDPR, HIPAA, Global Cluster, and 20+ regions across AWS, GCP, and Azure`}]},tue=()=>(0,G.jsxs)(`span`,{className:g9.poweredLogo,"aria-label":`Zilliz powered by Milvus`,children:[(0,G.jsx)(`img`,{src:xle,alt:``,className:g9.poweredLogoMark}),(0,G.jsx)(`img`,{src:Sle,alt:``,className:g9.poweredLogoWordmark}),(0,G.jsx)(`img`,{src:Cle,alt:``,className:g9.poweredLogoMilvus})]}),nue=[{src:Ele,alt:`OpenEvidence`},{src:wle,alt:`exa`},{src:Tle,alt:`Filevine`},{src:Nle,alt:`Zillow`},{src:Dle,alt:`Roblox`},{src:Ole,alt:`Reddit`},{src:kle,alt:`Robinhood`},{src:Ale,alt:`Airtable`},{src:jle,alt:`NVIDIA`},{src:Mle,alt:`Read.ai`}],rue=[{Icon:Rle,alt:`NVIDIA`},{Icon:Ule,alt:`Walmart`},{Icon:Vle,alt:`Reddit`},{Icon:Fle,alt:`åè`},{Icon:Ple,alt:`ç¾å¢`},{Icon:Ble,alt:`è
¾è®¯`},{Icon:Hle,alt:`ç¾åº¦`},{Icon:Ile,alt:`èè`},{Icon:zle,alt:`Minimax`},{Icon:Lle,alt:`æ»´æ»´`},{Icon:Wle,alt:`å¿«æ`}],iue=e=>{let{children:t,classes:n={root:``,main:``,content:``,childrenContainer:``},pageLoading:i}=e,{t:a}=_(`auth`),[o]=r(),s=o.get(`lp_variant`),c=o.get(ne.UTM_SOURCE),{title:l,description:u,features:d,seoOnly:f}=(0,W.useMemo)(()=>{let e=B?x9.features:[{title:a(`new.bgItems.feature1.title`),description:a(`new.bgItems.feature1.desc`)},{title:a(`new.bgItems.feature2.title`),description:a(`new.bgItems.feature2.desc`)},{title:a(`new.bgItems.feature3.title`),description:a(`new.bgItems.feature3.desc`)}],t={title:B?`${x9.titlePrefix}${x9.titleHighlight}${x9.titleSuffix}`:a(`new.bgTitle`),description:B?x9.description:a(`new.bgDesc`),features:e,seoOnly:!1}
310,n=s?.toLowerCase().trim(),r=n?Qle[n]:void 0,i=c?.toLowerCase().trim(),o=(r?y9.find(e=>e.id===r):void 0)||(i?y9.find(e=>e.UTM_SOURCE.toLowerCase().trim()===i):void 0);return o?{title:o.Title||t.title,description:o.Description||t.description,features:[{title:o.Feature1Title||t.features[0].title,description:o.Feature1Desc||t.features[0].description},{title:o.Feature2Title||t.features[1].title,description:o.Feature2Desc||t.features[1].description},{title:o.Feature3Title||t.features[2].title,description:o.Feature3Desc||t.features[2].description}],seoOnly:B}:t},[s,a,c]),p=B&&!f;return(0,G.jsxs)(kt,{loading:i,children:[(0,G.jsxs)(`section`,{className:R(g9.root,n.root,{[g9.seoOnly]:f}),children:[(0,G.jsx)(`div`,{className:g9.innerWrapper,children:(0,G.jsxs)(`section`,{lang:Es,className:R(g9.main,n.main),children:[(0,G.jsxs)(`div`,{className:g9.features,children:[(0,G.jsx)(`a`,{href:Ao,target:`_blank`,className:g9.logo,children:(0,G.jsx)(tue,{})}),f&&(0,G.jsx)(L,{className:g9.freeTag,component:`span`,children:`Start for free`}),(0,G.jsx)(L,{className:g9.title,mt:f?3:0,children:p?(0,G.jsxs)(G.Fragment,{children:[x9.titlePrefix,(0,G.jsx)(`span`,{className:g9.highlightTitle,children:x9.titleHighlight}),x9.titleSuffix]}):l}),(0,G.jsx)(L,{variant:`body1Regular`,className:g9.desc,children:u}),d.map((e,t)=>(0,G.jsxs)(`div`,{className:R(g9.feature,{[g9.lastFeature]:t===d.length-1}),children:[p?(0,G.jsx)(`img`,{src:ble,alt:``,className:g9.checkIcon}):(0,G.jsx)(`img`,{src:yle,alt:``,className:g9.icon}),(0,G.jsxs)(`div`,{className:g9.text,children:[(0,G.jsx)(L,{variant:`h3Semibold`,children:e.title}),(0,G.jsx)(L,{variant:`body1Regular`,className:g9.featureDesc,children:e.description})]})]},t)),(0,G.jsx)(`div`,{className:g9.companyList,children:B?nue.map(({src:e,alt:t},n)=>(0,G.jsx)(`span`,{className:g9.companyIconCell,"aria-label":t,role:`img`,children:(0,G.jsx)(`img`,{src:e,className:g9.companyIcon,alt:``})},n)):rue.map(({Icon:e,alt:t},n)=>(0,G.jsx)(e,{width:$le,height:eue,className:g9.companyIcon,"aria-label":t,role:`img`},n))}),(0,G.jsx)(v9,{classes:{root:g9.contactRoot}})]}),(0,G.jsx)(zt,{classes:{content:R(g9.simpleLayoutContent,n.content),childrenContainer:R(g9.childrenContainer,n.childrenContainer)},children:t}),(0,G.jsx)(v9,{classes:{root:R(g9.contactRoot,g9.mobileContactRoot)}})]})}),(0,G.jsx)(`div`,{className:g9.bottomBackground})]}),f&&(0,G.jsx)(Zle,{})]})},aue=`oAuthAutoSignUpType`,S9={layoutContent:`_layoutContent_n4vhi_3`,container:`_container_n4vhi_4`,joinOrgTip:`_joinOrgTip_n4vhi_10`,title:`_title_n4vhi_16`,titleUnderTip:`_titleUnderTip_n4vhi_19`,main:`_main_n4vhi_24`,content:`_content_n4vhi_29`,rotate:`_rotate_n4vhi_1`},C9={root:`_root_8r1oq_3`,list:`_list_8r1oq_5`,item:`_item_8r1oq_6`,marketplaceDivider:`_marketplaceDivider_8r1oq_15`,text:`_text_8r1oq_17`,logoGroup:`_logoGroup_8r1oq_43`,rotate:`_rotate_8r1oq_1`},oue=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 99 50`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{d:`M84.7326 18.0272H73.2625V19.6658H84.7326V18.0272Z`,fill:`#E94D11`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M77.8359 25.413H85.3196V23.7745H72.6511V25.413H75.8793L73.3359 30.8913H73.3114V32.5299H84.6592V30.8913H84.6348L83.4853 28.1033H81.5777L82.7272 30.8913H75.2924L77.8359 25.413Z`,fill:`#E94D11`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M65.3875 30.9402V29.3505H70.2788V27.7119H65.3875V26.269H70.2788V18.0027H58.8087V26.269H63.7489V27.7119H58.8087V29.3505H63.7489V30.9402H58.1484V32.5788H70.9147V30.9402H65.3875ZM68.6647 24.6304H65.3875V22.7473H68.6647V24.6304ZM68.6647 21.1331H65.3875V19.6657H68.6647V21.1331ZM60.4473 19.6657H63.7734V21.1331H60.4473V19.6657ZM60.4473 24.6304V22.7473H63.7734V24.6304H60.4473Z`,fill:`#E94D11`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M53.3549 29.4484L53.3794 21.769V21.0842H49.0016V29.4484H53.3549ZM50.6158 27.8098V22.7228H51.7408V27.8098H50.6158Z`,fill:`#E94D11`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M56.5098 19.6658V18.0272H48.7082V19.6658H54.431V30.0353C54.4065 30.5734 54.2843 30.9647 53.5506 30.9891H51.74
31008V32.6277H53.4527C54.5533 32.6766 56.143 32.5788 56.0696 30.0353V19.6658H56.5098Z`,fill:`#E94D11`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M48.1946 29.3505C48.1946 29.2282 48.1946 29.1059 48.1946 28.9836V23.75H47.2897L47.9989 18.0271H43.3033V32.5054H44.9419V19.6657H46.1647L45.4065 25.6331H46.556V28.9592C46.5315 29.3016 46.4582 29.644 45.9935 29.6684L45.5044 29.6929L45.5288 31.307H46.5804C47.4853 31.307 48.1457 30.9891 48.1946 29.3994V29.3505Z`,fill:`#E94D11`}),(0,G.jsx)(`path`,{d:`M17.4772 17H23.2245L22.075 18.8342L17.9419 20.0815C17.2815 20.2772 16.6701 20.644 16.6946 21.3288L16.719 28.5435C16.719 29.2283 17.306 29.6196 17.9663 29.7908L21.9038 30.7935L23.2489 32.9457H17.4527C15.1783 32.9457 13.3196 31.1359 13.3196 28.9103V20.9864C13.3196 18.8098 15.1783 17 17.4772 17Z`,fill:`#E94D11`}),(0,G.jsx)(`path`,{d:`M34.9636 17H29.2163L30.3658 18.8342L34.4745 20.0571C35.1348 20.2527 35.7462 20.6196 35.7217 21.3044L35.6973 28.519C35.6973 29.2038 35.1103 29.5951 34.45 29.7663L30.5125 30.769L29.1674 32.9212H34.9636C37.238 32.9212 39.0967 31.1114 39.0967 28.8859V20.962C39.0967 18.8098 37.238 17 34.9636 17Z`,fill:`#E94D11`}),(0,G.jsx)(`path`,{d:`M21.9772 23.9946H30.6104V25.9022H21.9772V23.9946Z`,fill:`#E94D11`})]}),sue=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 99 50`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M43.6546 39.8076C39.0346 43.2901 32.2696 45.1437 26.4946 45.1437C18.7396 45.1999 11.3146 42.2791 5.5396 36.9991C5.0996 36.6059 5.4846 36.0442 6.0346 36.3812C12.4146 40.0884 19.6196 42.0544 26.9896 42.0544C32.4896 41.9982 37.9346 40.8748 42.9946 38.6842C43.7646 38.3471 44.4246 39.1897 43.6546 39.8076Z`,fill:`#FF9900`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M45.5797 37.5608C44.9747 36.7744 41.6747 37.1676 40.1897 37.3923C39.7497 37.4484 39.6397 37.0552 40.0797 36.7744C42.7197 34.8084 47.0647 35.3701 47.5597 35.988C48.0547 36.6059 47.4497 41.0995 44.9197 43.234C44.5347 43.571 44.1497 43.4025 44.3147 42.9531C44.8647 41.5489 46.1297 38.291 45.5797 37.5608Z`,fill:`#FF9900`}),(0,G.jsx)(`path`,{d:`M19.0695 29.6972V31.3823H5.81445V29.6972H9.71945V20.9908H6.30945V19.2495H18.6845V20.9908H15.1095V27.5065C15.7145 26.1584 16.4295 24.1363 16.8145 22.4512L18.4645 23.0129C17.9145 24.8104 17.1995 26.7763 16.5945 28.0682L15.0545 27.5065V29.641H19.0695V29.6972ZM7.84945 22.5074C8.50945 24.1363 9.33445 26.2708 9.66445 27.5627L8.01445 28.2929C7.68445 26.8887 6.96945 24.698 6.30945 23.0691L7.84945 22.5074ZM11.5895 29.6972H13.2395V20.9908H11.5895V29.6972Z`,fill:`#232F3E`}),(0,G.jsx)(`path`,{d:`M30.1795 29.3602H20.8295V27.6751H30.2345V29.3602H30.1795ZM33.3695 24.7542C33.3695 24.7542 33.3145 25.2597 33.3145 25.4844C32.9845 29.2478 32.6545 30.8206 32.1045 31.3823C31.7195 31.8317 31.2795 31.944 30.6745 32.0002C30.1795 32.0563 29.3545 32.0563 28.4745 32.0563C28.4195 31.5508 28.2545 30.8768 27.9245 30.3712C28.8045 30.4274 29.6295 30.4836 30.0145 30.4836C30.2895 30.4836 30.5095 30.4274 30.6745 30.3151C31.0595 29.978 31.3345 28.8546 31.5545 26.3831H22.5345C22.7545 25.1474 22.9195 23.1253 23.0295 21.6087L24.7345 21.721C24.6245 22.6759 24.5695 23.7993 24.4595 24.8104H29.1895C29.3545 23.5185 29.4645 22.1142 29.5745 20.9346H21.8195V19.2495H29.8495L30.1245 19.1934L31.3895 19.3057C31.2795 20.9346 31.0595 22.9568 30.8395 24.8104H33.3695V24.7542Z`,fill:`#232F3E`}),(0,G.jsx)(`path`,{d:`M43.4895 30.315C44.9745 30.315 47.1195 30.2027 48.5495 30.0341C48.3845 30.4835 48.1095 31.2137 48.1095 31.6631C47.1195 31.7192 44.8645 31.8316 43.4345 31.8316C41.7295 31.8316 40.5195 31.6631 39.4195 31.1014C38.7595 30.7644 38.2645 30.3712 37.9345 30.3712C37.4395 30.3712 36.7245 31.2137 36.0645 32.0563L35.0745 30.5958C35.6795 30.0341 36.2845 29.5848 36.8895 29.2478V25.2597H35.2945V23.6307H38.3745V29.0231C38.6495 29.1354 38.8695 29.3039 39.2545 29.4724C39.1445 29.0793 38.9795 28.6299 38.8145 28.349H39.8045C39.9695 28.349 40.0245 28.2929 40.0245 28.1244V25.1473C39.6395 25.3158 39.2545 25.4282 38.8695 25.5405L38.4295 24.0239C38.8695 23.9116 39.4195 23.7431 40.0245 23.5184V21.4401C40.3545 21.1593 40.6845 20.7661 40.9595 20.3167H38.8695V18.9124H42.0595L42.3345 18.8001L43.2695 19.5303C42.8295 20.2605 42.2245 21.0469 41.5645 21.6648V23.0129L42.6095 22.6758L42.8295 23.8554C42.9945 22.9567 43.1595 21.9456 43.2145 21.0469L44.5895 21.3278C44.3145 23.5746 43.8745 25.9337 43.2695 27.4503C42.9945 27.2818 42.3345 26.9448 42.0045 26.8324C42.3345 26.1022 42.5545 25.2035 42.7745 24.1924L41.5645 24.6418V28.2367C41.5645 28.9107 41.4545 29.3039 41.0145 29.5286C40.6845 29.6971 40.2995 29.7533 39.6945 29.8095C40.6845 30.2027 42.0045 30.315 43.4895 30.315ZM37.4395 22.2265C36.9995 21.5524 36.1195 20.5414 35.3495 19.8112L36.6145 18.9124C37.3845 19.5865 38.3195 20.5414 38.7595 21.2154L37.4395 22.2265ZM46.1845 28.2367C46.1845 29.0231 46.0195 29.3601 45.5245 29.5848C45.0295 29.8095 44.3695 29.8656 43.3245 29.8656C43.2145 29.4724 42.9945 28.9107 42.7745 28.5175C43.4345 28.5737 44.1495 28.5737 44.3145 28.5175C44.5345 28.5175 44.5895 28.4614 44.5895 28.2367V18.6316H46.1295V21.3278L47.3395 21.0469C47.8895 22.9005 48.3845 25.2035 48.5495 26.7763L47.1745 27.1133C47.0645 25.6529 46.6245 23.4622 46.1295 21.6648V28.2367H46.1845Z`,fill:`#232F3E`}),(0,G.jsx)(`path`,{d:`M61.3095 32.0563C61.1445 31.7193 60.9795 31.3261 60.7595 30.8767C57.0745 31.1014 53.2245 31.2699 50.5845 31.3822L50.4745 29.5286C51.0795 29.5286 51.7945 29.4725 52.5645 29.4725C53.1145 28.2929 53.7195 26.7201 54.1595 25.372H50.1995V23.5746H63.0695V25.372H56.3045C55.7545 26.7763 55.0945 28.2367 54.4895 29.4163C56.1395 29.3601 57.9545 29.3039 59.7145 29.2478C59.2195 28.5176 58.6695 27.7873 58.1745 27.1133L59.8245 26.2708C61.1445 27.7312 62.4095 29.6971 63.0695 31.0452L61.3095 32.0563ZM61.4745 21.1593H51.7395V19.3618H61.5295V21.1593H61.4745Z`,fill:`#232F3E`}),(0,G.jsx)(`path`,{d:`M69.2295 27.7312C69.0645 27.338 68.7345 26.7202 68.3495 26.1023V32.0002H66.6995V26.7763C66.2045 27.8997 65.7095 28.9108 65.1595 29.641C64.9945 29.1355 64.6095 28.4053 64.3895 28.0121C65.2145 27.0572 65.9845 25.5406 66.4795 24.0802H64.5545V22.5074H66.6995V20.8785C66.1495 20.9908 65.5995 21.047 65.1045 21.1031C65.0495 20.7099 64.8295 20.1482 64.6645 19.755C66.3145 19.5304 68.0745 19.081 69.2845 18.5755L70.2195 19.9797C69.6695 20.2044 69.0095 20.3729 68.4045 20.5414V22.5636H70.2745V24.1363H68.4045V24.2487C68.8445 24.6419 69.9995 26.0461 70.2745 26.3831L69.2295 27.7312ZM76.2695 28.3491V32.0002H74.6195V28.6299L70.3295 29.3602L70.0545 27.7312L74.6195 26.9448V18.4631H76.2695V26.7202L77.6995 26.4955L77.9745 28.1244L76.2695 28.3491ZM72.6945 26.327C72.2545 25.7091 71.2645 24.7542 70.4395 24.0802L71.5395 23.0691C72.3645 23.6308 73.4095 24.5295 73.9045 25.2036L72.6945 26.327ZM73.0795 22.5074C72.6945 21.8895 71.7595 20.9346 70.9345 20.3168L72.0345 19.3057C72.8045 19.9236 73.7945 20.7661 74.2345 21.384L73.0795 22.5074Z`,fill:`#232F3E`}),(0,G.jsx)(`path`,{d:`M84.2446 26.2146C83.7496 26.3832 83.2546 26.4955 82.7046 26.664V30.1466C82.7046 30.9891 82.5396 31.3823 82.0446 31.6632C81.5496 31.944 80.8896 31.944 79.8996 31.944C79.8446 31.4946 79.6246 30.8206 79.4046 30.3712H80.7246C80.9446 30.3712 80.9996 30.3151 8
3100.9996 30.0904V27.1134L79.6246 27.4504L79.1846 25.8215C79.7346 25.7091 80.3396 25.5968 80.9996 25.3721V22.8444H79.3496V21.2155H80.9996V18.4632H82.7046V21.2155H84.0796V22.8444H82.7046V24.9789L84.0246 24.6419L84.2446 26.2146ZM92.1646 24.2487C91.6146 26.2708 90.7346 27.8436 89.5246 29.0793C90.4596 29.7534 91.5596 30.2589 92.8246 30.5397C92.4946 30.8768 91.9996 31.607 91.7246 32.0563C90.3496 31.607 89.1396 31.0453 88.1496 30.2027C87.0496 30.9891 85.7846 31.5508 84.4096 32.0002C84.2446 31.5508 83.8046 30.8206 83.4746 30.4274C84.7396 30.1466 85.8946 29.641 86.8846 29.0232C86.0596 28.0683 85.3446 26.8887 84.8496 25.5406L85.2896 25.4283H84.5746V23.8555H87.3796V22.1142H84.2996V20.5415H87.3796V18.407H89.0846V20.4853H92.2746V22.1142H89.0846V23.8555H90.7896L91.0646 23.7993L92.1646 24.2487ZM86.4996 25.4283C86.8846 26.3832 87.4896 27.2819 88.2046 28.0121C88.9196 27.2819 89.5796 26.4393 89.9646 25.4283H86.4996Z`,fill:`#232F3E`})]}),cue=()=>{let{t:e}=_([`auth`]),t=B?[{label:e(`auth:signUpWithMarketplace.aws`),icon:(0,G.jsx)(Xi,{}),link:Bt,showLabel:!0,id:ws.SIGNUP_MKT_AWS},{label:e(`auth:signUpWithMarketplace.gcp`),icon:(0,G.jsx)(Na,{}),link:yt,showLabel:!0,id:ws.SIGNUP_MKT_GCP},{label:e(`auth:signUpWithMarketplace.azure`),icon:(0,G.jsx)(Kr,{}),link:At,showLabel:!0,id:ws.SIGNUP_MKT_AZURE}]:[{label:e(`auth:signUpWithMarketplace.ali`),icon:(0,G.jsx)(oue,{}),link:lt,showLabel:!1,id:ws.SIGNUP_MKT_AZURE},{label:e(`auth:signUpWithMarketplace.awsCn`),icon:(0,G.jsx)(sue,{}),link:mt,showLabel:!1,id:ws.SIGNUP_MKT_AZURE}];return(0,G.jsxs)(`section`,{lang:Es,className:C9.root,children:[(0,G.jsx)(an,{text:e(`auth:signUpWithMarketplace.divider`),classes:{root:C9.marketplaceDivider,text:C9.text}}),(0,G.jsx)(`ul`,{className:C9.list,children:t.map(e=>(0,G.jsx)(`li`,{className:C9.item,children:(0,G.jsxs)(`a`,{className:C9.logoGroup,href:e.link,target:`_blank`,rel:`noreferrer`,role:`button`,id:e.id,children:[e.icon,e.showLabel&&(0,G.jsx)(L,{variant:`body3Medium`,color:`textSecondary`,children:e.label})]})},e.label))})]})},w9={root:`_root_wbf6c_3`,codeInputWrapper:`_codeInputWrapper_wbf6c_9`,codeBtn:`_codeBtn_wbf6c_13`,rotate:`_rotate_wbf6c_1`},T9=e=>{let{onChange:t,showLabel:n=!0,countdownConfig:r={},defaultEmail:i=``}=e,{t:a}=_([`account`,`common`]),{formState:{errors:o},watch:s,setError:c}=Re(),l=i||s(`email`),{initCounter:u,disabled:f,handleCounterStart:p,handleCounterOver:m}=p8(r.countAtFirst??!1,r.initCounter??60),h=f||!l||!!o.email;return(0,G.jsx)(`div`,{className:w9.root,children:(0,G.jsx)(`span`,{className:w9.codeInputWrapper,children:(0,G.jsx)(E,{name:`emailCode`,rules:{required:a(`common:warning.required`,{name:a(`account:profile.emailCode`)}),validate:e=>rr.test(e)||a(`common:warning.verifyCode`)},componentProps:{label:n?a(`account:profile.emailCode`):``,fullWidth:!0,suffix:(0,G.jsx)(z,{variant:`textGhost`,size:`small`,disabled:h,onClick:async()=>{p(),await n8.sendEmailVerifyCode(l,{errorHandling:{setError:c,errCodeFieldMap:{email:[Te.MAIL_TOO_OFTEN,Te.INACTIVATED]}}})},className:w9.codeBtn,children:f?(0,G.jsx)(d,{t:a,i18nKey:`account:profile.countdownGetCode`,components:[(0,G.jsx)(h8,{isPure:!0,className:w9.countdown,time:u,cb:m})]}):a(`account:profile.getCode`)})},handleChange:t})})})},E9={code:[Te.VERIFY_CODE_INVALID,Te.VERIFY_CODE_EXPIRED,Te.VERIFICATION_CODE_NOT_VALID]},D9={emailCode:[Te.VERIFY_CODE_INVALID,Te.VERIFY_CODE_EXPIRED]},lue={...E9,...D9},uue={discount:`_discount_14zda_3`,rotate:`_rotate_14zda_1`},due=()=>{let{t:e}=_(`auth`);return B?null:(0,G.jsx)(ni,{severity:`gradient`,className:uue.discount,children:(0,G.jsx)(L,{variant:`body3Regular`,children:(0,G.jsx)(d,{t:e,i18nKey:`discount`,components:[(0,G.jsx)(`strong`,{children:` `})]})})})},fue=()=>{let{t:e}=_([`auth`,`common`]),[t]=r(),[n,i]=(0,W.useState)(!1),a=u(),{saveUser:o}=Y6(),s=(0,W.useRef)($7()),{utmJson:c,showJoinTip:l,inviterEmail:d,invitedObjectName:f,inviteCode:p,marketplaceSearchParams:m}=dn();(0,W.useEffect)(()=>{B&&s.current.trackOnce(`signup_view`,()=>{Z7(`signup_view`,{signup_entry_type:Q7({isInvite:!!p,isMarketplace:!!m})})})},[p,m]),(0,W.useEffect)(()=>{let e=t.get(aue);e&&v(e)},[t]);let h=e=>e.includes(`@`)?`emailCode`:`code`,g=async(e,t)=>{i(!0);try{let n=await n8.signup({...e,extra:JSON.stringify(c),inviteCode:p},{errorHandling:{setError:t,errCodeFieldMap:lue,getFieldByErrorMsg:h}});o(n),a(`/orgs?${m}`)}finally{i(!1)}},v=e=>{a(`/signup/agreement/${e}`)};return(0,G.jsxs)(iue,{classes:{content:R({[S9.layoutContent]:!B}),childrenContainer:R({[S9.container]:!B})},children:[l&&(0,G.jsx)(u9,{from:en.SignUp,inviterEmail:d,name:f}),(0,G.jsx)(L,{variant:`h1Semibold`,className:R(S9.title,{[S9.titleUnderTip]:l}),children:e(`auth:signUpTitle`)}),(0,G.jsx)(P7,{type:je.SignUp}),(0,G.jsxs)(`div`,{className:S9.main,children:[(0,G.jsx)(due,{}),B?(0,G.jsx)(t9,{initialScreen:K7.SignUp}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(DC,{feature:xs.Oauth,children:(0,G.jsx)(tt,{onItemClick:v})}),(0,G.jsx)(W7,{loading:n,handleBtnClick:g,type:en.SignUp,otherFormItems:(0,G.jsx)(R7,{}),emailVerifyFormItems:(0,G.jsx)(T9,{})})]}),(0,G.jsx)(cue,{})]})]})},O9={contentWrapper:`_contentWrapper_2ke2s_3`,iconWrapper:`_iconWrapper_2ke2s_8`,title:`_title_2ke2s_19`,desc:`_desc_2ke2s_23`,btnsWrapper:`_btnsWrapper_2ke2s_27`,rotate:`_rotate_2ke2s_1`},pue=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 80 80`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsxs)(`g`,{clipPath:`url(#clip0_128_9046)`,children:[(0,G.jsx)(`circle`,{cx:40,cy:40,r:40,fill:`#F7CDCA`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M42.5 26H38.5V43H42.5V26ZM42.5 51H38.5V55H42.5V51Z`,fill:`#E34935`})]}),(0,G.jsx)(`defs`,{children:(0,G.jsx)(`clipPath`,{id:`clip0_128_9046`,children:(0,G.jsx)(`rect`,{width:80,height:80,fill:`white`})})})]});function mue(){let{t:e}=_(`common`),{removeStorageValue:t}=k(Ge.JOIN_ORG_OR_PROJECT_INFO,{});return(0,W.useEffect)(()=>{t()},[]),(0,G.jsxs)(`div`,{className:O9.contentWrapper,children:[(0,G.jsx)(`span`,{className:O9.iconWrapper,children:(0,G.jsx)(pue,{})}),(0,G.jsx)(L,{variant:`h1Semibold`,className:O9.title,children:e(`invalidInvitation.title`)}),(0,G.jsx)(L,{variant:`body1Regular`,className:O9.desc,children:e(`invalidInvitation.desc`)}),(0,G.jsxs)(`div`,{className:O9.btnsWrapper,children:[(0,G.jsx)(o,{to:`/login`,children:(0,G.jsx)(z,{fullWidth:!0,variant:`contained`,children:e(`button.login`)})}),(0,G.jsx)(o,{to:`/signup`,children:(0,G.jsx)(z,{fullWidth:!0,variant:`outlined`,children:e(`button.signUp`)})})]})]})}var k9={root:`_root_x1qid_3`,main:`_main_x1qid_8`,title:`_title_x1qid_14`,desc:`_desc_x1qid_22`,email:`_email_x1qid_26`,tip:`_tip_x1qid_34`,link:`_link_x1qid_39`,actionWithNoTip:`_actionWithNoTip_x1qid_42`,resendContainer:`_resendContainer_x1qid_47`,resendTxt:`_resendTxt_x1qid_52`,disabled:`_disabled_x1qid_56`,rotate:`_rotate_x1qid_1`},hue=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 80 80`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsxs)(`g`,{clipPath:`url(#clip0_86_7029)`,children:[(0,G.jsx)(`rect`,{width:80,height:80,fill:`white`}),(0,G.jsx)(`circle`,{cx:40,cy:40,r:40,fill:`#D9F8E6`}),(0,G.jsx)(`path`,{d:`M26.5 27.5H53.5C54.3285 27.5 55 28.1716 5
3105 29V51C55 51.8284 54.3285 52.5 53.5 52.5H26.5C25.6716 52.5 25 51.8284 25 51V29C25 28.1716 25.6716 27.5 26.5 27.5ZM52 33.8569L40.1077 42.507L28 33.8239V49.5H52V33.8569ZM28.7672 30.5L40.0929 38.493L51.2515 30.5H28.7672Z`,fill:`#006042`})]}),(0,G.jsx)(`defs`,{children:(0,G.jsx)(`clipPath`,{id:`clip0_86_7029`,children:(0,G.jsx)(`rect`,{width:80,height:80,fill:`white`})})})]}),gue=e=>{let[t]=r(),{thirdParty:n,email:i}=(0,W.useMemo)(()=>({thirdParty:t.get(`thirdParty`)||``,email:t.get(`email`)||``}),[t]),{t:a}=_(`auth`),{resendTip:s=a(`unlinkAlert.resendTip`),showResend:c=!0}=e,{initCounter:l,disabled:u,handleCounterStart:d,handleCounterOver:f}=p8(),p=async()=>{u||await n8.sendResetPwdEmail(i),d()};return(0,G.jsxs)(zt,{showReCAPTCHAText:!1,showBackground:!1,classes:{content:k9.root,childrenContainer:k9.main},children:[(0,G.jsx)(hue,{width:80,height:80}),(0,G.jsx)(L,{variant:`h1Semibold`,className:k9.title,children:a(`unlinkAlert.title`)}),(0,G.jsx)(L,{variant:`body1Regular`,className:k9.desc,children:a(`unlinkAlert.desc`)}),(0,G.jsx)(Ur,{maxWidth:368,typographyProps:{variant:`h2`,className:k9.email},children:i}),n&&(0,G.jsx)(L,{variant:`body1Regular`,className:k9.tip,children:a(`unlinkAlert.tip`,{thirdParty:n})}),(0,G.jsx)(o,{className:R(k9.link,{[k9.actionWithNoTip]:!n}),to:`/login`,children:(0,G.jsx)(z,{fullWidth:!0,children:a(`unlinkAlert.login`)})}),c&&(0,G.jsxs)(`div`,{className:k9.resendContainer,children:[(0,G.jsx)(L,{component:`span`,variant:`body1Regular`,className:k9.resend,children:s}),(0,G.jsxs)(L,{component:`span`,className:R({[k9.disabled]:u,[k9.resendTxt]:!u}),onClick:p,children:[a(`unlinkAlert.resend`),u&&(0,G.jsx)(h8,{time:l,cb:f})]})]})]})},A9={verifyContent:`_verifyContent_5q2hh_3`,verifyContainer:`_verifyContainer_5q2hh_8`,autoWidth:`_autoWidth_5q2hh_14`,container:`_container_5q2hh_20`,content:`_content_5q2hh_28`,title:`_title_5q2hh_32`,desc:`_desc_5q2hh_36`,hint:`_hint_5q2hh_40`,verify:`_verify_5q2hh_3`,moreActions:`_moreActions_5q2hh_55`,divider:`_divider_5q2hh_60`,notGetCode:`_notGetCode_5q2hh_66`,resendContainer:`_resendContainer_5q2hh_71`,resendDesc:`_resendDesc_5q2hh_75`,resend:`_resend_5q2hh_71`,disable:`_disable_5q2hh_84`,countdown:`_countdown_5q2hh_93`,backWrapper:`_backWrapper_5q2hh_100`,rotate:`_rotate_5q2hh_1`},_ue=Cs(xs.Mobilephone),j9=e=>{let{needBack:t=!0,handleVerify:n}=e,{t:i}=_([`auth`,`common`]),[a]=r(),{email:o,phone:s}=(0,W.useMemo)(()=>({email:a.get(`email`)||``,phone:a.get(`phone`)||``}),[a]),[c,l]=(0,W.useState)(!1),{marketplaceSearchParams:d}=dn(),{initCounter:f,disabled:p,handleCounterStart:m,handleCounterOver:h}=p8(),{code:g,onCodeChange:v,errorMessage:y,onErrorMessageChange:b}=m8(),x=u(),{saveUser:S}=Y6(),C=async()=>{l(!0);try{if(n){await n({verifyCode:g});return}let e=await n8.verify(o,g,s),t=e.NeedSetPhone&&_ue;S({...e,isLogin:!t});let r=t?`/account/set/phone`:`/orgs`,i=d?`${r}?${d}`:r;setTimeout(()=>x(i))}catch(e){let{response:t}=e;b(t?.data.Code)}finally{l(!1)}},w=async()=>{p||(m(),await n8.resend(o))},T=()=>{let e={tf_anonymous_requester_email:o,tf_27127113011867:o,tf_description:i(`auth:notGetCode.zendesk.desc`,{email:o}),tf_subject:i(`auth:notGetCode.zendesk.subject`)};window.open(`${Ro}?${new URLSearchParams(e).toString()}`,`_blank`)};return(0,G.jsxs)(`section`,{className:A9.sectionWrapper,children:[(0,G.jsx)(c9,{showAction:!1}),(0,G.jsxs)(zt,{showBackground:!1,showReCAPTCHAText:!1,classes:{content:A9.verifyContent,childrenContainer:R(A9.verifyContainer,{[A9.autoWidth]:!B})},children:[(0,G.jsx)(`section`,{className:A9.container,children:(0,G.jsxs)(`div`,{className:A9.content,children:[(0,G.jsx)(L,{variant:`h1Semibold`,className:A9.title,children:i(`auth:signUpConfirm.title`)}),(0,G.jsx)(L,{variant:`body1Regular`,className:A9.desc,children:i(`auth:resetPassword.verify.codeTip`,{email:o})}),B&&(0,G.jsx)(L,{variant:`body2Regular`,className:A9.hint,children:i(`auth:signUpConfirm.emailDeliveryTip`)}),(0,G.jsx)(h9,{onChange:v,errorMessage:y}),(0,G.jsx)(z,{variant:`contained`,onClick:C,loading:c,disabled:g.length!==6,className:A9.verify,children:i(`common:button.verify`)}),(0,G.jsxs)(`div`,{className:A9.moreActions,children:[(0,G.jsx)(`div`,{className:A9.resendContainer,children:(0,G.jsxs)(L,{component:`div`,className:R(A9.resend,{[A9.disable]:p}),onClick:w,children:[i(`common:button.resendCode`),p&&(0,G.jsx)(h8,{className:A9.countdown,time:f,cb:h})]})}),!p&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`div`,{className:A9.divider}),(0,G.jsx)(L,{role:`button`,className:A9.notGetCode,onClick:T,children:i(`auth:notGetCode.label`)})]})]})]})}),t&&(0,G.jsx)(`div`,{className:A9.backWrapper,children:(0,G.jsx)(ct,{type:je.SignUp,variant:`black`})})]})]})},M9={simpleLayoutContent:`_simpleLayoutContent_18duc_3`,simpleLayoutChildrenContainer:`_simpleLayoutChildrenContainer_18duc_6`,title:`_title_18duc_10`,tip:`_tip_18duc_19`,btnContainer:`_btnContainer_18duc_24`,submit:`_submit_18duc_30`,agreementRoot:`_agreementRoot_18duc_35`,agreementText:`_agreementText_18duc_40`,rotate:`_rotate_18duc_1`},N9=e=>{let{t}=_([`auth`,`common`]),{handleSubmit:n,confirmLabel:r=t(`common:button.submit`)}=e,[i,a]=(0,W.useState)(!1),[o,s]=(0,W.useState)(!1),c=u(),{type:d=``}=l();return(0,G.jsxs)(zt,{classes:{content:M9.simpleLayoutContent,childrenContainer:M9.simpleLayoutChildrenContainer}
310,showLogo:!0,showReCAPTCHAText:!1,showBackground:!1,children:[(0,G.jsx)(L,{variant:`h1Semibold`,className:M9.title,children:t(`auth:agreeTitle`)}),(0,G.jsx)(L,{variant:`body1Regular`,className:M9.tip,children:t(`auth:agreeTip`)}),(0,G.jsx)(V7,{cb:e=>{a(e)},agreed:i,classes:{root:M9.agreementRoot,text:M9.agreementText}}),(0,G.jsxs)(`div`,{className:M9.btnContainer,children:[(0,G.jsx)(z,{fullWidth:!0,variant:`outlined`,onClick:()=>{c(`/signup`)},children:t(`common:button.cancelSignUp`)}),(0,G.jsx)(z,{fullWidth:!0,variant:`contained`,className:M9.submit,disabled:!i,onClick:async()=>{if(n){try{s(!0),await n()}finally{s(!1)}return}if(!(!d||!i)){s(!0);try{let{Link:e=``}=await n8.fetchOAuthSignUpLink(d);e&&(window.location.href=e)}finally{s(!1)}}},loading:o,children:r})]})]})},P9={wrapperContainer:`_wrapperContainer_1etyv_3`,card:`_card_1etyv_8`,container:`_container_1etyv_14`,img:`_img_1etyv_20`,title:`_title_1etyv_23`,desc:`_desc_1etyv_28`,btnWrapper:`_btnWrapper_1etyv_34`,rotate:`_rotate_1etyv_1`},F9={width:120,height:120},vue=e=>({width:e?.width??e?.height??F9.width,height:e?.height??e?.width??F9.height}),I9=e=>{let{title:t,img:n,imgWidth:r,imgHeight:i,desc:a,btnLabel:o,customBtn:s,handleBtnClick:c,className:l=``,imgClassName:u=``,btnProps:d={},classes:f={desc:``,root:``},type:p=`default`}=e,m=null;if(n)if(typeof n==`string`)m=(0,G.jsx)(`img`,{src:n,className:R(P9.img,u),alt:`empty content`});else{let e=n,t=vue({width:r,height:i});m=(0,G.jsx)(e,{width:t.width,height:t.height,className:R(P9.img,u),"aria-label":`empty content`})}return(0,G.jsx)(`div`,{className:R(P9.wrapperContainer,f.root,{[P9.card]:p===`card`}),children:(0,G.jsxs)(`div`,{className:R(P9.container,l),children:[m,(0,G.jsxs)(`div`,{className:P9.contentWrapper,children:[t&&(0,G.jsx)(L,{variant:`h2Semibold`,component:typeof t==`string`?`h5`:`div`,className:P9.title,children:t}),a&&(0,G.jsx)(L,{variant:`body2Regular`,className:R(P9.desc,f.desc),component:`div`,children:a}),o&&(0,G.jsx)(`div`,{className:P9.btnWrapper,children:(0,G.jsx)(z,{variant:`contained`,onClick:c,...d,children:o})}),s]})]})})},yue=e=>(0,G.jsxs)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 120 120`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,G.jsx)(`ellipse`,{cx:59.5,cy:90,rx:56,ry:10,fill:`#E8F4FF`}),(0,G.jsx)(`circle`,{cx:21.1792,cy:58.1733,r:2.08345,fill:`#12389A`}),(0,G.jsx)(`circle`,{cx:16.5417,cy:49.0417,r:1.04173,fill:`#12389A`}),(0,G.jsx)(`circle`,{cx:97.2978,cy:65.1903,r:1.79775,fill:`#12389A`}),(0,G.jsx)(`circle`,{cx:102.835,cy:59.0417,r:1.04173,fill:`#12389A`}),(0,G.jsx)(`circle`,{cx:101.036,cy:74.321,r:1.04173,fill:`#12389A`}),(0,G.jsx)(`rect`,{x:30,y:44.5,width:58,height:10,fill:`white`,stroke:`#12389A`}),(0,G.jsx)(`mask`,{id:`mask0_6322_17895`,style:{maskType:`alpha`},maskUnits:`userSpaceOnUse`,x:29,y:44,width:60,height:11,children:(0,G.jsx)(`rect`,{x:30,y:44.5,width:58,height:10,fill:`white`,stroke:`#12389A`})}),(0,G.jsxs)(`g`,{mask:`url(#mask0_6322_17895)`,children:[(0,G.jsx)(`rect`,{x:36.0859,y:37,width:7.76436,height:26.2845,transform:`rotate(45 36.0859 37)`,fill:`#12389A`}),(0,G.jsx)(`rect`,{x:52.6484,y:38,width:7.76436,height:24.699,transform:`rotate(45 52.6484 38)`,fill:`#12389A`}),(0,G.jsx)(`rect`,{x:70.0664,y:38,width:7.76436,height:26.2555,transform:`rotate(45 70.0664 38)`,fill:`#12389A`}),(0,G.jsx)(`rect`,{x:86.0664,y:38,width:7.76436,height:26.2555,transform:`rotate(45 86.0664 38)`,fill:`#12389A`})]}),(0,G.jsx)(`rect`,{x:31,y:61.5,width:58,height:10,fill:`white`,stroke:`#12389A`}),(0,G.jsx)(`mask`,{id:`mask1_6322_17895`,style:{maskType:`alpha`},maskUnits:`userSpaceOnUse`,x:30,y:61,width:60,height:11,children:(0,G.jsx)(`rect`,{x:31,y:61.5,width:58,height:10,fill:`white`,stroke:`#12389A`})}),(0,G.jsxs)(`g`,{mask:`url(#mask1_6322_17895)`,children:[(0,G.jsx)(`rect`,{x:37.0859,y:54,width:7.76436,height:26.2845,transform:`rotate(45 37.0859 54)`,fill:`#12389A`}),(0,G.jsx)(`rect`,{x:53.6484,y:55,width:7.76436,height:24.699,transform:`rotate(45 53.6484 55)`,fill:`#12389A`}),(0,G.jsx)(`rect`,{x:71.0664,y:55,width:7.76436,height:26.2555,transform:`rotate(45 71.0664 55)`,fill:`#12389A`}),(0,G.jsx)(`rect`,{x:87.0664,y:55,width:7.76436,height:26.2555,transform:`rotate(45 87.0664 55)`,fill:`#12389A`})]}),(0,G.jsx)(`rect`,{x:30,y:38.5,width:3,height:51,rx:1.5,fill:`white`,stroke:`#12389A`}),(0,G.jsx)(`rect`,{x:86,y:38.5,width:3,height:51,rx:1.5,fill:`white`,stroke:`#12389A`}),(0,G.jsx)(`circle`,{cx:59.5,cy:58,r:19.5,fill:`white`,stroke:`#12389A`}),(0,G.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M61.8835 48.9883C61.1628 47.6706 59.2703 47.6706 58.5495 48.9883L50.2358 64.1882C49.5432 65.4544 50.4595 67 51.9028 67H68.5303C69.9735 67 70.8899 65.4544 70.1973 64.1882L61.8835 48.9883Z`,fill:`#12389A`}
310),(0,G.jsx)(`path`,{d:`M59.2352 54.7163H60.9144V59.7537H59.2352V54.7163Z`,fill:`white`}),(0,G.jsx)(`path`,{d:`M59.2352 61.4328H60.9144V63.1119H59.2352V61.4328Z`,fill:`white`})]}),bue={noDomainWrapper:`_noDomainWrapper_cjr0x_3`,rotate:`_rotate_cjr0x_1`},xue=()=>{let{t:e}=_([`common`,`account`]);return(0,G.jsx)(I9,{img:yue,title:e(`common:somethingWrong`),desc:e(`account:sso.checkUrl`),className:bue.noDomainWrapper})},L9=function(e){return e.Code=`code`,e.NewAccount=`new_account`,e.NeedVerify=`need_verify`,e}({}),Sue=()=>{let{t:e}=_([`common`]),[t,n]=(0,W.useState)(!1),[i,a]=(0,W.useState)(!1),[o,s]=(0,W.useState)(!1),[c,l]=r(),{saveUser:d}=Be(),f=u(),p=c.get(L9.NeedVerify)===`true`,m=async e=>{let{needLoading:t,verifyCode:r}=e;try{t&&n(!0);let e=c.get(L9.Code)||``,i=await n8.ssoLogin({code:e,verifyCode:r});d({...i,isLogin:i.isLogin===void 0?!0:i.isLogin}),await Dc.updateSSOAccountStatus(),f(`/orgs`)}finally{n(!1)}};return(0,W.useEffect)(()=>{let e=c.get(L9.NewAccount)===`true`;a(e),s(e?!1:p),!e&&!p&&m({needLoading:!0})},[c]),(0,G.jsxs)(Vt,{loading:t,loadingText:e(`common:loading`),children:[i&&(0,G.jsx)(N9,{handleSubmit:async()=>{if(p){s(!0),a(!1);return}},confirmLabel:e(`common:button.confirm`)}),o&&(0,G.jsx)(j9,{needBack:!1,handleVerify:m})]})},R9=function(e){return e[e.Verify=0]=`Verify`,e[e.Reset=1]=`Reset`,e[e.Success=2]=`Success`,e}({}),z9=function(e){return e.Verify=`verify`,e.EmailCodeVerify=`emailCodeVerify`,e.Reset=`reset`,e.Success=`success`,e}({}),B9={card:`_card_16j0r_3`,title:`_title_16j0r_9`,desc:`_desc_16j0r_14`,noTabDesc:`_noTabDesc_16j0r_17`,tabs:`_tabs_16j0r_22`,next:`_next_16j0r_26`,rotate:`_rotate_16j0r_1`},V9=Cs(xs.Mobilephone),Cue=()=>{let{t:e}=_([`auth`,`account`,`common`]),[t,n]=(0,W.useState)(V9?F7.Sms:F7.Email),[r,i]=(0,W.useState)(!1),a=u(),{getPatternRule:o}=P$(),{setError:s,getValues:c,formState:{isValid:l}}=Re(),d=e=>{n(e)},f=async()=>{let{phone:e=``,code:t=``}=c();await n8.verifySmsCode({phone:e,code:t},{errorHandling:{setError:s,errCodeFieldMap:E9}}),a(`/password/reset?resetPwdStep=reset&phone=${e}&code=${t}`)},p=async()=>{let{email:e=``}=c();await n8.sendResetPwdEmail(e);let t=Ns({email:e});a(`/password/reset?resetPwdStep=emailCodeVerify&${t}`)},m=async e=>{e.preventDefault(),i(!0);try{t===F7.Sms?await f():await p()}finally{i(!1)}};return(0,G.jsxs)(`div`,{className:B9.card,children:[(0,G.jsx)(L,{variant:`h1Semibold`,className:B9.title,children:e(`auth:resetPassword.verify.title`)}),(0,G.jsx)(L,{className:R(B9.desc,{[B9.noTabDesc]:!V9}),variant:`body1Regular`,children:e(`auth:resetPassword.verify.desc`)}),V9&&(0,G.jsx)(Oi,{handleActiveCb:d,initialActiveTab:F7.Sms,classes:{root:B9.tabs},tabs:[{label:e(`auth:verification.phone`),value:F7.Sms},{label:e(`auth:verification.email`),value:F7.Email}]}),t===F7.Sms?(0,G.jsx)(R7,{}):(0,G.jsx)(E,{name:`email`,componentProps:{fullWidth:!0,label:e(`auth:loginTabs.email`)},rules:{required:e(`common:warning.required`,{name:e(`auth:email`)}),...o(Wn,e(`auth:emailError`))}}),(0,G.jsx)(z,{type:`submit`,fullWidth:!0,disabled:!l,className:B9.next,loading:r,onClick:m,children:e(`auth:resetPassword.next`)})]})},H9={card:`_card_1m2iw_3`,title:`_title_1m2iw_9`,formWrapper:`_formWrapper_1m2iw_14`,actions:`_actions_1m2iw_19`,btn:`_btn_1m2iw_24`,rotate:`_rotate_1m2iw_1`},wue=()=>{let{t:e}=_([`auth`,`common`]),{pwdValidate:t}=ce(),[n,i]=r(),[a,o]=(0,W.useState)(!1),{watch:s,getValues:c,trigger:l,formState:{isValid:u,isDirty:d}}=Re(),[f,p]=s([cn.pwd,cn.confirmPassword]);return(0,W.useEffect)(()=>{p&&l(cn.confirmPassword)},[f]),(0,G.jsxs)(`div`,{className:H9.card,children:[(0,G.jsx)(L,{variant:`h1Semibold`,className:H9.title,children:e(`auth:resetTitle`)}),(0,G.jsxs)(`div`,{className:H9.formWrapper,children:[(0,G.jsx)(sn,{name:cn.pwd,showOverlay:!0,componentProps:{fullWidth:!0,label:e(`common:password.new`)},rules:{validate:t}}),(0,G.jsx)(sn,{name:cn.confirmPassword,showOverlay:!1,componentProps:{fullWidth:!0,label:e(`common:password.confirmNew`)},rules:{validate:t=>t===f||e(`common:password.pwdConfirmError`)}}),(0,G.jsx)(`div`,{className:H9.actions,children:(0,G.jsx)(z,{variant:`contained`,className:H9.btn,onClick:async()=>{let{password:e}=c();o(!0);try{await n8.resetPwd({pwd:e,email:n.get(`email`)||``,code:n.get(`code`)||``,phone:n.get(`phone`)||``}),n.set(`resetPwdStep`,`success`),i(n)}finally{o(!1)}},loading:a,disabled:!d||!u,children:e(`common:button.confirm`)})})]})]})},U9={successContainer:`_successContainer_f22m7_3`,icon:`_icon_f22m7_11`,successTitle:`_successTitle_f22m7_17`,successTip:`_successTip_f22m7_21`,btn:`_btn_f22m7_25`,rotate:`_rotate_f22m7_1`},Tue=()=>{let{t:e}=_([`auth`,`common`]),t=u();return(0,G.jsxs)(`div`,{className:R(U9.successContainer),children:[(0,G.jsx)(Fr,{size:60,className:U9.icon}),(0,G.jsx)(L,{variant:`h1Semibold`,className:U9.successTitle,children:e(`auth:resetSuccess`)}),(0,G.jsx)(L,{variant:`body1Regular`,className:R(U9.successTip),children:e(`auth:resetSuccessDesc`)}),(0,G.jsx)(z,{className:R(U9.btn),variant:`contained`,fullWidth:!0,onClick:()=>{t(`/login`)},children:e(`common:button.backToLogin`)})]})},W9={container:`_container_m70if_3`,content:`_content_m70if_6`,title:`_title_m70if_11`,desc:`_desc_m70if_17`,email:`_email_m70if_22`,tip:`_tip_m70if_30`,verify:`_verify_m70if_39`,back:`_back_m70if_44`,rotate:`_rotate_m70if_1`},Eue=Cs(xs.Mobilephone),Due=()=>{let{t:e}=_([`auth`,`common`]),[t,n]=r(),[i,a]=(0,W.useState)(!1),o=(0,W.useMemo)(()=>t.get(`email`)||``,[t]),{initCounter:s,disabled:c,handleCounterStart:l,handleCounterOver:u}
310=p8(),{code:d,onCodeChange:f,errorMessage:p,onErrorMessageChange:m}=m8();return(0,G.jsxs)(`section`,{className:W9.container,children:[(0,G.jsxs)(`div`,{className:W9.content,children:[(0,G.jsx)(L,{variant:`h1Semibold`,className:W9.title,children:e(`auth:resetPassword.verify.title`)}),(0,G.jsx)(L,{variant:`body1Regular`,className:W9.desc,children:e(`auth:resetPassword.verify.codeTip`,{email:o})}),(0,G.jsx)(h9,{onChange:f,errorMessage:p}),(0,G.jsx)(z,{type:`submit`,variant:`contained`,onClick:async e=>{e.preventDefault(),a(!0);try{await n8.verifyEmailCode({email:o,code:d}),t.set(`resetPwdStep`,z9.Reset),t.set(`code`,d),n(t)}catch(e){let{response:t}=e;m(t?.data.Code,t?.data.Message)}finally{a(!1)}},loading:i,disabled:d.length!==6,className:W9.verify,children:e(`common:button.verify`)}),(0,G.jsx)(`div`,{className:W9.resendContainer,children:(0,G.jsxs)(z,{variant:`textGhost`,disabled:c,onClick:async()=>{await n8.sendEmailVerifyCode(o),l()},children:[e(`common:button.resendCode`),c&&(0,G.jsx)(h8,{className:W9.countdown,time:s,cb:u})]})})]}),Eue&&(0,G.jsx)(ct,{type:je.ResetPwd,classes:{root:W9.back}})]})},G9={root:`_root_293g5_3`,main:`_main_293g5_7`,authLayoutChildrenContainer:`_authLayoutChildrenContainer_293g5_12`,stepperRoot:`_stepperRoot_293g5_18`,rotate:`_rotate_293g5_1`},K9=({children:e,activeStep:t,classes:n={formRoot:``,formMain:``}})=>{let{t:r}=_([`auth`,`common`]),i=u(),a=[r(`auth:resetPassword.steps.verify`),r(`auth:resetPassword.steps.reset`),r(`auth:resetPassword.steps.success`)];return(0,G.jsxs)(`section`,{className:G9.root,children:[(0,G.jsx)(c9,{btnProps:{children:r(`common:button.cancel`),onClick:()=>i(`/login`)}}),(0,G.jsxs)(`main`,{className:G9.main,children:[(0,G.jsx)(di,{classes:{root:G9.stepperRoot},steps:a,activeStep:t}),(0,G.jsx)(zt,{showLogo:!1,showBackground:!1,showReCAPTCHAText:!1,classes:{childrenContainer:G9.authLayoutChildrenContainer},children:(0,G.jsx)(he,{classes:{root:n.formRoot,main:n.formMain},showActions:!1,children:e})})]})]})},q9={formRoot:`_formRoot_nn3r1_1`,formMain:`_formMain_nn3r1_2`},Oue=()=>{let[e]=r();switch(e.get(`resetPwdStep`)||z9.Verify){case z9.Reset:return(0,G.jsx)(K9,{activeStep:R9.Reset,children:(0,G.jsx)(wue,{})});case z9.Success:return(0,G.jsx)(K9,{activeStep:R9.Success,children:(0,G.jsx)(Tue,{})});case z9.EmailCodeVerify:return(0,G.jsx)(K9,{activeStep:R9.Verify,classes:{formRoot:q9.formRoot,formMain:q9.formMain},children:(0,G.jsx)(Due,{})});default:return(0,G.jsx)(K9,{activeStep:R9.Verify,children:(0,G.jsx)(Cue,{})})}},J9={container:`_container_r5tla_3`,errorWrapper:`_errorWrapper_r5tla_9`,loadingContainer:`_loadingContainer_r5tla_16`,loading:`_loading_r5tla_16`,rotate:`_rotate_r5tla_1`},kue=()=>{let{t:e}=_([`common`]),t=$e(ke),n=u(),[i]=r(),a=i.get(`error_description`);return He({noPublicEmail:co,fillInformation:Eo,signUpUrl:`/signup`},t8),(0,G.jsxs)(`div`,{children:[(0,G.jsx)(c9,{showAction:!1}),(0,G.jsx)(Vt,{loading:t,loadingText:e(`common:loading`),classes:{container:J9.loadingContainer,loading:J9.loading}}),a&&(0,G.jsxs)(`div`,{className:J9.errorWrapper,children:[(0,G.jsx)(L,{children:a}),(0,G.jsx)(z,{variant:`contained`,onClick:()=>n(`/login`),children:`Back to Login`})]})]})},Y9={container:`_container_g6zm3_3`,layoutContent:`_layoutContent_g6zm3_9`,childrenContainer:`_childrenContainer_g6zm3_10`,main:`_main_g6zm3_16`,emptyContentRoot:`_emptyContentRoot_g6zm3_24`,helpSection:`_helpSection_g6zm3_40`,helpText:`_helpText_g6zm3_48`,link:`_link_g6zm3_55`,rotate:`_rotate_g6zm3_1`},Aue=``,jue=()=>{let{t:e}=_([`auth`,`common`]),[t]=r(),n=u(),i=t.get(`state`)||``,a=(t.get(`type`)||``)===`orgOTP`;return(0,G.jsxs)(`section`,{className:Y9.container,children:[(0,G.jsx)(c9,{showAction:!0,btnProps:{onClick:()=>{n(`/login`)},children:e(`auth:backToLogin`)}}),(0,G.jsx)(zt,{classes:{content:Y9.layoutContent,childrenContainer:Y9.childrenContainer},showLogo:!1,showReCAPTCHAText:!1,showBackground:!1,children:(0,G.jsxs)(`div`,{className:Y9.main,children:[(0,G.jsx)(cO,{icon:(0,G.jsx)(yi,{size:24}),title:e(a?`auth:orgMfaSetup.title`:`auth:mfaSwitch.title`),desc:e(a?`auth:orgMfaSetup.desc`:`auth:mfaSwitch.desc`),btnLabel:e(`auth:mfaCommon.setUpNow`),handleBtnClick:()=>{let e=`https://${Aue}/continue?state=${i}`;window.location.href=e},classes:{root:Y9.emptyContentRoot}}),(0,G.jsx)(`div`,{className:Y9.helpSection,children:(0,G.jsxs)(L,{variant:`body2Medium`,className:Y9.helpText,children:[e(`auth:mfaCommon.needHelp`),(0,G.jsx)(d,{t:e,i18nKey:`auth:mfaCommon.contactSupport`,components:[(0,G.jsx)(`span`,{className:Y9.link,onClick:()=>{window.open(Go,`_blank`)}},`viewDoc`),(0,G.jsx)(`span`,{className:Y9.link,onClick:()=>{window.open(us,`_blank`)}},`contactSupport`)]})]})})]})})]})},X9={container:`_container_unhaj_3`,layoutContent:`_layoutContent_unhaj_9`,childrenContainer:`_childrenContainer_unhaj_10`,main:`_main_unhaj_16`,emptyContentRoot:`_emptyContentRoot_unhaj_24`,rotate:`_rotate_unhaj_1`},Mue=()=>{let{t:e}=_([`auth`,`common`]),t=u(),n=()=>{t(`/login`)};return(0,G.jsxs)(`section`,{className:X9.container,children:[(0,G.jsx)(c9,{showAction:!0,btnProps:{onClick:n,children:e(`common:button.cancel`)}}),(0,G.jsx)(zt,{classes:{content:X9.layoutContent,childrenContainer:X9.childrenContainer}
310,showLogo:!1,showReCAPTCHAText:!1,showBackground:!1,children:(0,G.jsx)(`div`,{className:X9.main,children:(0,G.jsx)(cO,{icon:(0,G.jsx)(yi,{size:24}),title:e(`auth:ssoEnforcement.title`),desc:e(`auth:ssoEnforcement.desc`),btnLabel:e(`auth:backToLogin`),handleBtnClick:n,classes:{root:X9.emptyContentRoot}})})})]})},Nue=()=>{let{t:e}=_(`router`);return{NoAuthRouterConfig:[{path:`login`,component:(0,G.jsx)(_le,{}),title:`Zilliz Cloud ${e(`login`)}`,metaDesc:e(`metaDesc.login`)},{path:`login/verify`,component:(0,G.jsx)(vle,{}),title:`${e(`loginVerify`)} - Zilliz Cloud`},{path:`login/loading`,component:(0,G.jsx)(kue,{}),title:`${e(`login`)} - Zilliz Cloud`},{path:`signup`,component:(0,G.jsx)(fue,{}),title:`Zilliz Cloud ${e(`signUp`)}`,metaDesc:e(`metaDesc.signUp`)},{path:`signup/verify`,component:(0,G.jsx)(j9,{}),title:`${e(`signUpVerify`)} - Zilliz Cloud`},{path:`signup/agreement/:type`,component:(0,G.jsx)(N9,{}),title:`${e(`signUpAgreement`)} - Zilliz Cloud`},{path:`password/reset`,component:(0,G.jsx)(Oue,{}),title:`${e(`reset`)} - Zilliz Cloud`},{path:`:ssoType/link`,component:(0,G.jsx)(Tce,{}),title:`${e(`linkAccount`)} - Zilliz Cloud`},{path:`:ssoType/verify`,component:(0,G.jsx)(Ece,{}),title:`${e(`loginVerify`)} - Zilliz Cloud`},{path:`/login/invalid-invitation`,component:(0,G.jsx)(mue,{}),title:`${e(`invalidInvitation`)} - Zilliz Cloud`},{path:`unlink/alert`,component:(0,G.jsx)(gue,{showResend:!1}),title:`${e(`unlink`)} - Zilliz Cloud`},{path:`sso/warning`,component:(0,G.jsx)(xue,{}),title:`${e(`sso.login`)} - Zilliz Cloud`},{path:`sso/login`,component:(0,G.jsx)(Sue,{}),title:`${e(`sso.login`)} - Zilliz Cloud`},{path:`mfa/switch-notice`,component:(0,G.jsx)(jue,{}),title:`${e(`mfa.switchNotice`)} - Zilliz Cloud`},{path:`login/sso-enforcement`,component:(0,G.jsx)(Mue,{}),title:`${e(`login`)} - Zilliz Cloud`}]}},Z9=(e,t)=>e.includes(`/${t}`),Pue=e=>{if(!e.includes(`/projects/:projectId`))return;let t={resource:I.Project,action:`view`};if(Z9(e,`project-users`))return[t,{resource:I.ProjectMember,action:`view`}];if(Z9(e,`project-roles`))return[t,{resource:I.ProjectRole,action:Z9(e,`create`)||Z9(e,`edit`)?Z9(e,`create`)?`create`:`modify`:`view`}];if(Z9(e,`alert`)||Z9(e,`jobs`))return[t,{resource:I.Observability,action:`view`}];if(Z9(e,`migrations`))return e.includes(`:type`)?[t,{resource:I.Observability,action:`manage`}]:[t];if(Z9(e,`backup`)||Z9(e,`backups`))return[t,{resource:I.Backup,action:Z9(e,`restore`)?`manage`:`view`,...e.includes(`:backupId`)?{resourceIdParam:`backupId`}:{}}];if(Z9(e,`import`))return[t,{resource:I.Observability,action:`view`},{resource:I.ServingClusterData,action:`read`,resourceIdParam:`clusterId`},{resource:I.ServingClusterData,action:`write`,resourceIdParam:`clusterId`}];if(Z9(e,`network-access`)||Z9(e,`private-links`))return[t,{resource:I.Security,action:`view`}];if(Z9(e,`cmek`))return[t,{resource:I.KmsIntegration,action:`view`}];if(Z9(e,`integrations`))return[t,{anyOf:[{resource:I.StorageIntegration,action:`view`},{resource:I.ModelProviderIntegration,action:`view`},{resource:I.DatadogIntegration,action:`view`}]}];if(Z9(e,`stages`)){let n=[t,{resource:I.Volume,action:`view`,...e.includes(`:stageId`)?{resourceIdParam:`stageId`}:{}}];return Z9(e,`files`)&&n.push({resource:I.VolumeData,action:`read`,resourceIdParam:`stageId`}),n}return Z9(e,`create/collection`)||Z9(e,`create/sample-collection`)?[t,{resource:e.includes(`/on-demand/`)?I.OnDemandComputeData:I.ServingClusterData,action:`write`,resourceIdParam:`clusterId`}]:Z9(e,`on-demand`)?Z9(e,`databases`)||Z9(e,`collections`)?[t,{resource:I.OnDemandComputeData,action:`read`,...e.includes(`:clusterId`)?{resourceIdParam:`clusterId`}:{}}]:[t,{resource:I.OnDemandCluster,action:`view`,...e.includes(`:clusterId`)?{resourceIdParam:`clusterId`}:{}}]:e.endsWith(`/clusters/:clusterId/collections`)?[t,{resource:I.ServingCluster,action:`view`,resourceIdParam:`clusterId`}]:Z9(e,`collections`)||Z9(e,`api-playground`)?[t,{resource:I.ServingClusterData,action:`read`,resourceIdParam:`clusterId`}]:Z9(e,`create/cluster`)?[t,{resource:I.ServingCluster,action:`create`}
310]:Z9(e,`clusters`)?[t,{resource:I.ServingCluster,action:`view`,...e.includes(`:clusterId`)?{resourceIdParam:`clusterId`}:{}}]:[t]},Fue=[be.NetworkAccess,be.Playground],Iue=()=>{let{t:e}=_([`common`]),{organizationList:t}=Kt(),{featureList:n}=bc(),{myOrgPermission:r}=Yn(void 0,{enabled:Xse(window.location.pathname)}),{NoAuthRouterConfig:i}=Nue(),{BillingRoutersConfig:a,OrgRoutersConfig:o,OtherRoutersConfig:l,BetweenLoginAndCloudRouters:u,NoHeaderRoutersConfig:d,NoNavRoutersConfig:p}=Hk(),m=Gt(window.location.pathname),{isByocOrg:h}=(0,W.useMemo)(()=>({isByocOrg:t.find(e=>e._orgId===m)?._orgType===se.Byoc}),[t,m]),{AllowRoutersConfig:g,indexUrl:v}=(0,W.useMemo)(()=>({AllowRoutersConfig:ks([...a,...o,...l,...p,...d].filter(e=>!h||!e.alias||!Fue.includes(e.alias)).filter(e=>!e.ignoreProductTypes||!e.ignoreProductTypes.includes(`cloud-zh`)).filter(e=>n.isLoaded===!0&&e.orgWhiteList?e.orgWhiteList.every(e=>n.org.includes(e)):!0),`path`),indexUrl:`/orgs`}),[h,n]);return(0,G.jsxs)(c,{children:[(0,G.jsxs)(s,{path:`/`,element:(0,G.jsx)(xce,{}),children:[(0,G.jsx)(s,{index:!0,element:(0,G.jsx)(f,{to:`/login`,replace:!0})}),i.map(t=>(0,G.jsx)(s,{path:t.path,element:(0,G.jsx)(W.Suspense,{fallback:(0,G.jsx)(Vt,{loading:!0,loadingText:e(`common:loading`)}),children:(0,G.jsx)(E7,{title:t.title,metaDesc:t.metaDesc,children:t.component})})},t.path))]}),(0,G.jsx)(s,{path:`/`,element:(0,G.jsx)(wce,{}),children:u.map(t=>(0,G.jsx)(s,{path:t.path,element:(0,G.jsx)(W.Suspense,{fallback:(0,G.jsx)(Vt,{loading:!0,loadingText:e(`common:loading`)}),children:(0,G.jsx)(E7,{title:t.title,children:t.component})})},t.path))}),(0,G.jsxs)(s,{path:`/`,element:(0,G.jsx)(yce,{}),children:[(0,G.jsx)(s,{index:!0,element:(0,G.jsx)(f,{to:v,replace:!0})}),g.map(t=>(0,G.jsx)(s,{path:t.path,element:(0,G.jsx)(W.Suspense,{fallback:(0,G.jsx)(Vt,{loading:!0,loadingText:e(`common:loading`)}),children:(0,G.jsx)(E7,{title:t.title,children:(0,G.jsx)(zO,{requirements:Pue(t.path),children:t.skipOrgPageGuard?t.component:(0,G.jsx)(pO,{alias:t.alias,myOrgPermission:r,children:t.component})})})})},t.path))]}),(0,G.jsx)(s,{path:`*`,element:(0,G.jsx)(O7,{})})]})},Lue=n(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(Qe()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_zh_cn=r(n.dayjs)})(e,(function(e){function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`zh-cn`,weekdays:`æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
`.split(`_`),weekdaysShort:`卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å
`.split(`_`),weekdaysMin:`æ¥_ä¸_äº_ä¸_å_äº_å
`.split(`_`),months:`䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ`.split(`_`),monthsShort:`1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ`.split(`_`),ordinal:function(e,t){return t===`W`?e+`å¨`:e+`æ¥`},weekStart:1,yearStart:4,formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`YYYY/MM/DD`,LL:`YYYYå¹´MæDæ¥`,LLL:`YYYYå¹´MæDæ¥Ahç¹mmå`,LLLL:`YYYYå¹´MæDæ¥ddddAhç¹mmå`,l:`YYYY/M/D`,ll:`YYYYå¹´MæDæ¥`,lll:`YYYYå¹´MæDæ¥ HH:mm`,llll:`YYYYå¹´MæDæ¥dddd HH:mm`},relativeTime:{future:`%så
`,past:`%så`,s:`å ç§`,m:`1 åé`,mm:`%d åé`,h:`1 å°æ¶`,hh:`%d å°æ¶`,d:`1 天`,dd:`%d 天`,M:`1 个æ`,MM:`%d 个æ`,y:`1 å¹´`,yy:`%d å¹´`},meridiem:function(e,t){var n=100*e+t;return n<600?`忍`:n<900?`æ©ä¸`:n<1100?`ä¸å`:n<1300?`ä¸å`:n<1800?`ä¸å`:`æä¸`}};return n.default.locale(r,null,!0),r}))})),Rue=n(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_localizedFormat=r()})(e,(function(){var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`};return function(t,n,r){var i=n.prototype,a=i.format;r.en.formats=e,i.format=function(t){t===void 0&&(t=`YYYY-MM-DDTHH:mm:ssZ`);var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,i){var a=i&&i.toUpperCase();return r||n[i]||e[i]||n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))}(t,n===void 0?{}:n);return a.call(this,r)}}}))})),zue=n(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_relativeTime=r()})(e,(function(){return function(e,t,n){e||={};var r=t.prototype,i={future:`in %s`,past:`%s ago`,s:`a few seconds`,m:`a minute`,mm:`%d minutes`,h:`an hour`,hh:`%d hours`,d:`a day`,dd:`%d days`,M:`a month`,MM:`%d months`,y:`a year`,yy:`%d years`};function a(e,t,n,i){return r.fromToBase(e,t,n,i)}n.en.relativeTime=i,r.fromToBase=function(t,r,a,o,s){for(var c,l,u,d=a.$locale().relativeTime||i,f=e.thresholds||[{l:`s`,r:44,d:`second`},{l:`m`,r:89},{l:`mm`,r:44,d:`minute`},{l:`h`,r:89},{l:`hh`,r:21,d:`hour`},{l:`d`,r:35},{l:`dd`,r:25,d:`day`},{l:`M`,r:45},{l:`MM`,r:10,d:`month`},{l:`y`,r:17},{l:`yy`,d:`year`}],p=f.length,m=0;m<p;m+=1){var h=f[m];h.d&&(c=o?n(t).diff(a,h.d,!0):a.diff(t,h.d,!0));var g=(e.rounding||Math.round)(Math.abs(c));if(u=c>0,g<=h.r||!h.r){g<=1&&m>0&&(h=f[m-1]);var _=d[h.l];s&&(g=s(``+g)),l=typeof _==`string`?_.replace(`%d`,g):_(g,r,h.l,u);break}}if(r)return l;var v=u?d.future:d.past;return typeof v==`function`?v(l):v.replace(`%s`,l)},r.to=function(e,t){return a(e,t,this,!0)},r.from=function(e,t){return a(e,t,this)};var o=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(o(this),e)},r.fromNow=function(e){return this.from(o(this),e)}}}))})),Bue=e(Ye()),Vue=e(Lue()),Hue=e(Rue()),Uue=e(zue());function Q9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!==`__proto__`&&(e[r]=n[r])}return e}var Wue={read:function(e){return e[0]===`"`&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
310URIComponent)}};function $9(e,t){function n(n,r,i){if(!(typeof document>`u`)){i=Q9({},t,i),typeof i.expires==`number`&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&=i.expires.toUTCString(),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a=``;for(var o in i)i[o]&&(a+=`; `+o,i[o]!==!0&&(a+=`=`+i[o].split(`;`)[0]));return document.cookie=n+`=`+e.write(r,n)+a}}function r(t){if(!(typeof document>`u`||arguments.length&&!t)){for(var n=document.cookie?document.cookie.split(`; `):[],r={},i=0;i<n.length;i++){var a=n[i].split(`=`),o=a.slice(1).join(`=`);try{var s=decodeURIComponent(a[0]);if(s in r||(r[s]=e.read(o,s)),t===s)break}catch{}}return t?r[t]:r}}return Object.create({set:n,get:r,remove:function(e,t){n(e,``,Q9({},t,{expires:-1}))},withAttributes:function(e){return $9(this.converter,Q9({},this.attributes,e))},withConverter:function(e){return $9(Q9({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Gue=$9(Wue,{path:`/`}),Kue={clearAllButton:`_clearAllButton_icfgk_1`},que=45,Jue=20;function Yue(){let{toasts:e}=Ha(),{t}=_(`common`),n=(0,W.useMemo)(()=>e.filter(e=>typeof e.id==`string`&&e.id.startsWith(`error:`)?!0:e.type===`error`),[e]);return(0,W.useMemo)(()=>n.length>1,[n.length])?(0,G.jsx)(L,{component:`button`,variant:`body3Regular`,className:Kue.clearAllButton,style:{top:que,right:Jue},onClick:e=>{e.preventDefault(),e.stopPropagation(),n.forEach(e=>Wa.dismiss(e.id))},children:t(`toast.clearAll`)}):null}if(eS.default.extend(Bue.default),eS.default.extend(Hue.default),eS.default.extend(Uue.default),Ts){let e={...Vue.default,meridiem:e=>e<12?`ä¸å`:`ä¸å`};eS.default.locale(`zh-cn`,e)}var Xue=crypto.randomUUID(),Zue=()=>{let{accountInfo:e,profile:t}=Pc(),n=e._userId||t._userId;return(0,W.useEffect)(()=>{B&&Zce(n||null)},[n]),null};function Que(){let e=wa(bs?`enUS`:`zhCN`);return(0,W.useEffect)(()=>{if(!document.cookie.includes(Je.UID)){let e=new Date;e.setTime(e.getTime()+1e4*24*60*60*1e3),Gue.set(Je.UID,Xue,{expires:e,domain:Ue})}Qce();let e=()=>{window.location.reload()};return window.addEventListener(`vite:preloadError`,e),()=>{window.removeEventListener(`vite:preloadError`,e)}},[]),(0,G.jsx)(Va,{value:{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!1},children:(0,G.jsx)(Br,{injectFirst:!0,enableCssLayer:!0,children:(0,G.jsx)(Ot,{children:(0,G.jsxs)(fn,{client:Bn,children:[(0,G.jsxs)(Yr,{theme:e,children:[(0,G.jsxs)(v,{children:[(0,G.jsx)(Zue,{}),(0,G.jsx)(Iue,{})]}),(0,G.jsxs)(`div`,{className:`cloud-global-sonner-root`,children:[(0,G.jsx)(Ua,{className:`cloud-global-sonner-toaster`,expand:!1,position:`top-right`,visibleToasts:10,duration:5e3,gap:12,offset:{top:75,right:20}}),(0,G.jsx)(Yue,{})]})]}),(0,G.jsx)(qx,{initialIsOpen:!1})]})})})})}async function $ue(){let e={cn:()=>b(()=>import(`./cn-BeKhc35D.js`),[]),en:()=>b(()=>import(`./en-qLch_1Eu.js`),[])},t=`cn`,n=e[t]??e.en;return{[t]:await n()}}var ede=$ue().then(e=>m.use(i).init({lng:`cn`,ns:`common.auth.deployments.account.alerts.events.networkAccess.billing.license.project.home.contact.pages.collections.collectionAlias.betaSupport.vectorSearch.addIpDialog.system.apiKey.privateLink.importData.onboard.backup.backupPolicy.migration.recycleBin.playground.organization.orgUsers.connect.information.marketplace.recharge.metrics.support.subscriptionPlan.order.invoice.receipt.betaFeatures.globalCluster.survey.navigation.projectSettings`.split(`.`),keySeparator:`.`,pluralSeparator:`_`,interpolation:{escapeValue:!1},resources:e}));document.documentElement.lang=`cn`;function tde(e){let t=e.exception?.values,n=t?.length===1?t[0]:void 0;return n?.type===`TypeError`&&n.value===`Failed to fetch (js.zi-scripts.com)`&&n.stacktrace?.frames?.some(e=>/^(?:https:\/\/js\.zi-scripts\.com)?\/zi-tag\.js(?:[?#].*)?$/.test(e.filename||``))?null:e}var nde=``;{let e=new URL(`https://cloud-service.cloud.zilliz.com.cn`,window.location.origin).toString();Gx({dsn:nde,beforeSend:tde,dataCollection:{userInfo:!1,cookies:!1,httpHeaders:{request:!1,response:!1},httpBodies:[],urlQueryParams:!1,graphQL:{document:!1,variables:!1},genAI:{inputs:!1,outputs:!1}
310,databaseQueryData:!1,stackFrameVariables:!1},enableLogs:!1,enableMetrics:!1,integrations:[lre()],tracesSampleRate:.05,tracePropagationTargets:[e]})}var rde=(0,Kx.createRoot)(document.getElementById(`root`));ede.catch(e=>{console.error(`Failed to load i18n resources:`,e)}).finally(()=>{rde.render((0,G.jsx)(Que,{}))});export{Toe as $,WC as $a,zO as $i,D$ as $n,fX as $r,sae as $t,X5 as A,wD as Aa,gJ as Ai,n0 as An,XZ as Ar,Gae as At,C5 as B,wre as Ba,Xj as Bi,$ as Bn,xZ as Br,Eae as Bt,o7 as C,YD as Ca,PJ as Ci,K0 as Cn,nS as Co,oQ as Cr,m8 as Ct,Ise as D,jD as Da,yJ as Di,S0 as Dn,tQ as Dr,n8 as Dt,Fse as E,JD as Ea,xJ as Ei,U0 as En,Xx as Eo,iQ as Er,l8 as Et,L5 as F,gD as Fa,uJ as Fi,A1 as Fn,VZ as Fr,I6 as Ft,_5 as G,aw as Ga,iA as Gi,q$ as Gn,OX as Gr,C6 as Gt,x5 as H,nD as Ha,_A as Hi,a1 as Hn,bZ as Hr,Sae as Ht,N5 as I,Ere as Ia,Eq as Ii,k1 as In,BZ as Ir,Aae as It,$8 as J,JC as Ja,eA as Ji,L$ as Jn,vX as Jr,S6 as Jt,p5 as K,$C as Ka,rA as Ki,G$ as Kn,SX as Kr,w6 as Kt,j5 as L,Dre as La,Sq as Li,E1 as Ln,MZ as Lr,Mae as Lt,q5 as M,xD as Ma,hJ as Mi,Q1 as Mn,GZ as Mr,Hae as Mt,W5 as N,_D as Na,pJ as Ni,J1 as Nn,WZ as Nr,Vae as Nt,Q5 as O,kD as Oa,bJ as Oi,p0 as On,eQ as Or,X6 as Ot,I5 as P,dD as Pa,dJ as Pi,B1 as Pn,HZ as Pr,Bae as Pt,Doe as Q,UC as Qa,Kk as Qi,O$ as Qn,bX as Qr,x6 as Qt,E5 as R,uD as Ra,pK as Ri,T1 as Rn,NZ as Rr,wae as Rt,h7 as S,$D as Sa,IJ as Si,n2 as Sn,iS as So,sQ as Sr,h8 as St,r7 as T,XD as Ta,SJ as Ti,A0 as Tn,$x as To,rQ as Tr,d8 as Tt,v5 as U,$E as Ua,mA as Ui,i1 as Un,gZ as Ur,Cae as Ut,S5 as V,sD as Va,yA as Vi,h1 as Vn,yZ as Vr,N6 as Vt,Koe as W,uw as Wa,cA as Wi,$$ as Wn,BX as Wr,Dae as Wt,Noe as X,KC as Xa,Yk as Xi,A$ as Xn,yX as Xr,dae as Xt,Q8 as Y,qC as Ya,Xk as Yi,P$ as Yn,_X as Yr,fae as Yt,Poe as Z,GC as Za,qk as Zi,b$ as Zn,xX as Zr,b6 as Zt,Cce as _,tO as _a,mY as _i,S2 as _n,jS as _o,lQ as _r,D8 as _t,h9 as a,AO as aa,$Y as ai,j4 as an,EC as ao,PQ as ar,boe as at,nce as b,rO as ba,UJ as bi,l2 as bn,lS as bo,pQ as br,b8 as bt,tle as c,LO as ca,HY as ci,S4 as cn,yC as co,DQ as cr,B8 as ct,Q7 as d,EO as da,RY as di,n4 as dn,VS as do,jQ as dr,R8 as dt,_O as ea,pX as ei,g6 as en,zC as eo,y$ as er,koe as et,ele as f,xO as fa,AY as fi,t4 as fn,US as fo,OQ as fr,I8 as ft,R7 as g,iO as ga,pY as gi,K2 as gn,NS as go,gQ as gr,A8 as gt,L7 as h,oO as ha,gY as hi,Z2 as hn,PS as ho,SQ as hr,j8 as ht,T9 as i,kO as ia,eX as ii,P4 as in,DC as io,LQ as ir,V8 as it,Y5 as j,CD as ja,_J as ji,e0 as jn,QZ as jr,V6 as jt,Z5 as k,ED as ka,vJ as ki,a0 as kn,ZZ as kr,Y6 as kt,nle as l,jO as la,VY as li,p4 as ln,GS as lo,NQ as lr,_oe as lt,Z7 as m,aO as ma,wY as mi,Q2 as mn,zS as mo,xQ as mr,N8 as mt,D9 as n,MO as na,mX as ni,p6 as nn,IC as no,JQ as
310nr,U8 as nt,c9 as o,FO as oa,KY as oi,C4 as on,SC as oo,TQ as or,voe as ot,Xce as p,cO as pa,EY as pi,e4 as pn,BS as po,kQ as pr,moe as pt,d5 as q,ZC as qa,tA as qi,H$ as qn,uX as qr,_ae as qt,E9 as r,NO as ra,lX as ri,G4 as rn,AC as ro,qQ as rr,H8 as rt,$7 as s,PO as sa,WY as si,T4 as sn,xC as so,AQ as sr,yoe as st,I9 as t,IO as ta,hX as ti,m6 as tn,LC as to,KQ as tr,Ooe as tt,$ce as u,DO as ua,BY as ui,l4 as un,HS as uo,MQ as ur,z8 as ut,oce as v,nO as va,dY as vi,h2 as vn,ES as vo,mQ as vr,S8 as vt,i7 as w,ZD as wa,CJ as wi,G0 as wn,rS as wo,nQ as wr,p8 as wt,v7 as x,QD as xa,NJ as xi,d2 as xn,cS as xo,dQ as xr,y8 as xt,C7 as y,eO as ya,XJ as yi,p2 as yn,hS as yo,uQ as yr,x8 as yt,T5 as z,cD as za,X as zi,x1 as zn,wZ as zr,Tae as zt};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.