PageSourceSearch

https://www.singlestore.com/component---src-pages-pricing-index-tsx-02b09544932de5d02f4b.js

js singlestore.com collected 2026-09-24 08:53:50 UTC 52,718 bytes, 1 lines download raw bytes

1(self.webpackChunkbifrost=self.webpackChunkbifrost||[]).push([[124],{33005:function(e,t,n){var a=n(9738),r=n(56130);e.exports=function(e,t,n){var l=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return r(n)&&(l="leading"in n?!!n.leading:l,o="trailing"in n?!!n.trailing:o),a(e,t,{leading:l,maxWait:t,trailing:o})}},39447:function(e,t,n){"use strict";n.d(t,{TL:function(){return o}});var a=n(48431),r=n(95362),l=n(42295);function o(e){const t=c(e),n=a.forwardRef((e,n)=>{const{children:r,...o}=e,c=a.Children.toArray(r),i=c.find(s);if(i){const e=i.props.children,r=c.map(t=>t===i?a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null:t);return(0,l.jsx)(t,{...o,ref:n,children:a.isValidElement(e)?a.cloneElement(e,void 0,r):null})}return(0,l.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function c(e){const t=a.forwardRef((e,t)=>{const{children:n,...l}=e;if(a.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(n),o=function(e,t){const n={...t};for(const a in t){const r=e[a],l=t[a];/^on[A-Z]/.test(a)?r&&l?n[a]=(...e)=>{const t=l(...e);return r(...e),t}:r&&(n[a]=r):"style"===a?n[a]={...r,...l}:"className"===a&&(n[a]=[r,l].filter(Boolean).join(" "))}return{...e,...n}}(l,n.props);return n.type!==a.Fragment&&(o.ref=t?(0,r.t)(t,e):e),a.cloneElement(n,o)}return a.Children.count(n)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var i=Symbol("radix.slottable");function s(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}},45794:function(e,t,n){"use strict";n.d(t,{G:function(){return a},p:function(){return o}});const a={...n(47051).f,xl:2e3},r=["sm","md"],l=520;function o(e){let{backgroundImgDesktop:t,backgroundImgMobile:n}=e;const o=Object.entries(a).map(e=>{let[a,o]=e,c=t;if(r.includes(a)&&n&&(c=n),!c)return[a,void 0];const i=o/l;let s=c.url;if(c.dimension){const{width:e,height:t}=c.dimension;i<e/t&&(s=`${c.url}?crop=${i}:1`)}return[a,s]});return Object.fromEntries(o)}},50550:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var a=n(48431),r=n(44555),l=n(58074);function o(e){let{questions:t}=e;return t.length?a.createElement(r.Zn,{item:{"@context":"https://schema.org","@type":"FAQPage",mainEntity:t.map(e=>({name:e.question,"@type":"Question",acceptedAnswer:{"@type":"Answer",text:(0,l.b)(e.answer)}}))}}):null}},53054:function(e,t,n){"use strict";var a;n.d(t,{i:function(){return c}});var r=n(48431),l=n(63155),o=(a||(a=n.t(r,2)))[" useInsertionEffect ".trim().toString()]||l.N;function c({prop:e,defaultProp:t,onChange:n=()=>{},caller:a}){const[l,c,i]=function({defaultProp:e,onChange:t}){const[n,a]=r.useState(e),l=r.useRef(n),c=r.useRef(t);return o(()=>{c.current=t},[t]),r.useEffect(()=>{l.current!==n&&(c.current?.(n),l.current=n)},[n,l]),[n,a,c]}({defaultProp:t,onChange:n}),s=void 0!==e,u=s?e:l;{const t=r.useRef(void 0!==e);r.useEffect(()=>{const e=t.current;if(e!==s){const t=e?"controlled":"uncontrolled",n=s?"controlled":"uncontrolled";console.warn(`${a} is changing from ${t} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,a])}const d=r.useCallback(t=>{if(s){const n=function(e){return"function"==typeof e}(t)?t(e):t;n!==e&&i.current?.(n)}else c(t)},[s,e,c,i]);return[u,d]}Symbol("RADIX:SYNC_STATE")},55476:function(e,t,n){"use strict";n.r(t),n.d(t,{Head:function(){return In},default:function(){return An}});var a=n(48431),r=n.t(a,2),l=n(31329),o=n.n(l),c=n(77405),i=n(63972),s=n(26598),u=n(61023),d=n(70814),m=n(38712);function p(e){let{className:t}=e;const{state:n}=(0,u.et)();let r=n.questions.filter(e=>{let{product:t}=e;return"cloud"===t||"both"===t});"Self-Managed"===n.product&&(r=n.questions.filter(e=>{let{product:t}=e;return"self_managed"===t||"both"===t}));const l=r.map(e=>{let{question:t,answer:n}=e;return{title:t,body:n}});return a.createElement(m.r,{items:l,className:t})}var f="HeroAnimation-module--animation-container--303f3",g="HeroAnimation-module--animation-line--9a3f4",v="HeroAnimation-module--slider--8f454";function h(){return a.createElement("div",{className:f},a.createElement("div",{className:v},Array.from(Array(10).keys()).map(e=>a.createElement("div",{key:e,className:g}))))}var E=n(75497),b=n(60911),x=n(36136);const y=(0,b.F)("RadioSelect-module--radio-input--0bf82",{variants:{checked:{true:"RadioSelect-module--checked--7e1dc"}}});function C(e){let{label:t,value:n,name:r,selected:l,onSelect:o}=e;const i=a.useId(),s=y({checked:l});return a.createElement(c.so,{gap:"1x"},a.createElement("input",{type:"radio",name:r,value:n,id:i,checked:l,className:s,onChange:o}),a.createElement(x.JU,{variant:"body-2",htmlFor:i},t))}function w(e){let{name:t,options:n,value:r,onChange:l}=e;return a.createElement(c.so,{gap:"1-5x"},n.map(e=>{let{label:n,value:o}=e;return a.createElement(C,{key:o,label:n,value:o,name:t,selected:r===o,onSelect:()=>null==l?void 0:l(o)})}))}var N=n(46868),P=n(41457),S=n(39546),k=n(58598),T=n(65868),R=n(74351),A=n(99705),I=n(79019),D=n(82662),F=n(89695);const L=(e,t)=>e.startsWith(t)?e.replace(t,""):e;function z(e){var t,n,r,l,o,i;let{className:s,buttonVariant:d,plan:m}=e;const p=(0,P.useLocation)(),{state:f}=(0,u.et)();let g=(null===(t=m.secondaryCta)||void 0===t?void 0:t.ctaText)||"Contact us for pricing";const v=(null===(n=m.secondaryCta)||void 0===n?void 0:n.link)||(null===(r=m.primaryCta)||void 0===r?void 0:r.link),h=L(v,p.pathname);if(m.publicPrice&&(null===(l=m.secondaryCta)||void 0===l||!l.ctaText)){const e=(0,u.DC)({pricingPlanName:m.internalName,workspaceSizes:f.workspaceSizes}
1),t=(0,u.eV)({workspaceSize:e[0],region:f.region,plan:m});t&&(g=`Starting at ${(0,F.v)(t.costPerHour/100)}/hr`)}let E,b;if(null!==(o=m.primaryCta)&&void 0!==o&&o.ctaText&&null!==(i=m.primaryCta)&&void 0!==i&&i.link){const e=m.primaryCta.link,t=L(e,p.pathname);E=a.createElement(S.v,{variant:d,to:t,size:"medium",track:{elementName:m.primaryCta.ctaText,elementLabel:m.name,elementType:"CTA",elementContext:"Card Pricing",elementPlacement:"Hero"}},m.primaryCta.ctaText)}return m.regionType&&(b=a.createElement(x.fz,{variant:"heading-3",color:"low-contrast"},m.regionType)),a.createElement(I.V,{asChild:!0},a.createElement(c.so,{className:s,flexDirection:"column",textAlign:"left",p:"2x",gap:"2x"},a.createElement(c.so,{gap:"1x",flexDirection:"column"},a.createElement(c.az,null,b,a.createElement(x.H2,{variant:"heading-6"},m.name),a.createElement(x.fz,{variant:"body-2"},m.tagline)),a.createElement(T.N,{to:h,alignSelf:"start",variant:"heading-2"},g),a.createElement(k.Hr,null)),a.createElement(c.so,{gap:"1x",flexDirection:"column",flexGrow:"1"},a.createElement(x.fz,{variant:"heading-1"},m.featuresTitle),a.createElement(R.B,null,m.features.map(e=>a.createElement(A.c,{key:e.feature,faIcon:["fasl","check-circle"],spacing:"1-5x"},a.createElement(D.h,{html:e.feature,variant:"body-2"}))))),E))}var M="PricingPlanCards-module--cards-container--daf1f",O="PricingPlanCards-module--controls-container--feb88",j="PricingPlanCards-module--pricing-plan-card--f9d5a",_="PricingPlanCards-module--pricing-plan-cards--ae278";function H(){const{dispatch:e,state:t}=(0,u.et)(),n=t.cloudProviders.map(e=>{let{name:t}=e;return{label:t,value:t}}),r=(0,u.oO)(t.availableRegions);return a.createElement(c.so,{className:O},a.createElement(c.so,{flexDirection:"column",gap:"1x",alignItems:"start"},a.createElement(x.fz,{variant:"label-2"},"Select Cloud Provider"),a.createElement(c.az,{py:"0-75x"},a.createElement(w,{name:"cloud_provider",options:n,value:t.cloudProviderName,onChange:t=>{e({type:"set_cloud_provider",value:t})}}))),a.createElement(c.so,{flexDirection:"column",gap:"1x",alignItems:"start"},a.createElement(x.JU,{variant:"label-2"},"Region"),a.createElement(N.l,{options:r,value:t.regionName,onChange:t=>{e({type:"set_region",value:t})}})))}function $(e){let{className:t}=e;const{state:n}=(0,u.et)(),r=(0,b.cx)(M,t,"light-mode"),l=n.cloudProvider.supportedPlans.map(e=>{let{uid:t}=e;return t}),o=n.pricingPlanCards.featuredCards.map(e=>{let{uid:t}=e;return t});let i,s=n.pricingPlanCards.cloud.cards.filter(e=>{let{uid:t}=e;return l.includes(t)});return"Self-Managed"===n.product&&(s=n.pricingPlanCards.selfManaged.cards),"Cloud"===n.product&&(i=a.createElement(H,null)),a.createElement(c.so,{flexDirection:"column",p:"3x",gap:"3x",className:r},i,a.createElement(c.so,{mx:"auto",gap:"2x",className:_},s.map(e=>a.createElement(z,{key:`${n.product}_${e.internalName}-${e.regionType}`,className:j,buttonVariant:o.includes(e.uid)?"solid-brand":"solid-neutral",plan:e}))))}var G=n(85426),U=n(78004),W=n(94118),B=n(95362),V=n(39447),K=n(42295);var q=new WeakMap;Map;function J(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const n=function(e,t){const n=e.length,a=Q(t),r=a>=0?a:n+a;return r<0||r>=n?-1:r}(e,t);return-1===n?void 0:e[n]}function Q(e){return e!=e||0===e?0:Math.trunc(e)}var Y=n(63155),Z=r[" useId ".trim().toString()]||(()=>{}),X=0;var ee=n(53054),te=a.createContext(void 0);function ne(e){const t=a.useContext(te);return e||t||"ltr"}var ae="rovingFocusGroup.onEntryFocus",re={bubbles:!1,cancelable:!0},le="RovingFocusGroup",[oe,ce,ie]=function(e){const t=e+"CollectionProvider",[n,r]=(0,G.A)(t),[l,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=e=>{const{scope:t,children:n}=e,r=a.useRef(null),o=a.useRef(new Map).current;return(0,K.jsx)(l,{scope:t,itemMap:o,collectionRef:r,children:n})};c.displayName=t;const i=e+"CollectionSlot",s=(0,V.TL)(i),u=a.forwardRef((e,t)=>{const{scope:n,children:a}=e,r=o(i,n),l=(0,B.s)(t,r.collectionRef);return(0,K.jsx)(s,{ref:l,children:a})});u.displayName=i;const d=e+"CollectionItemSlot",m="data-radix-collection-item",p=(0,V.TL)(d),f=a.forwardRef((e,t)=>
1{const{scope:n,children:r,...l}=e,c=a.useRef(null),i=(0,B.s)(t,c),s=o(d,n);return a.useEffect(()=>(s.itemMap.set(c,{ref:c,...l}),()=>{s.itemMap.delete(c)})),(0,K.jsx)(p,{[m]:"",ref:i,children:r})});return f.displayName=d,[{Provider:c,Slot:u,ItemSlot:f},function(t){const n=o(e+"CollectionConsumer",t);return a.useCallback(()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}(le),[se,ue]=(0,G.A)(le,[ie]),[de,me]=se(le),pe=a.forwardRef((e,t)=>(0,K.jsx)(oe.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,K.jsx)(oe.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,K.jsx)(fe,{...e,ref:t})})}));pe.displayName=le;var fe=a.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:l=!1,dir:o,currentTabStopId:c,defaultCurrentTabStopId:i,onCurrentTabStopIdChange:s,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...m}=e,p=a.useRef(null),f=(0,B.s)(t,p),g=ne(o),[v,h]=(0,ee.i)({prop:c,defaultProp:i??null,onChange:s,caller:le}),[E,b]=a.useState(!1),x=function(e){const t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>(...e)=>t.current?.(...e),[])}(u),y=ce(n),C=a.useRef(!1),[w,N]=a.useState(0);return a.useEffect(()=>{const e=p.current;if(e)return e.addEventListener(ae,x),()=>e.removeEventListener(ae,x)},[x]),(0,K.jsx)(de,{scope:n,orientation:r,dir:g,loop:l,currentTabStopId:v,onItemFocus:a.useCallback(e=>h(e),[h]),onItemShiftTab:a.useCallback(()=>b(!0),[]),onFocusableItemAdd:a.useCallback(()=>N(e=>e+1),[]),onFocusableItemRemove:a.useCallback(()=>N(e=>e-1),[]),children:(0,K.jsx)(U.sG.div,{tabIndex:E||0===w?-1:0,"data-orientation":r,...m,ref:f,style:{outline:"none",...e.style},onMouseDown:(0,W.mK)(e.onMouseDown,()=>{C.current=!0}),onFocus:(0,W.mK)(e.onFocus,e=>{const t=!C.current;if(e.target===e.currentTarget&&t&&!E){const t=new CustomEvent(ae,re);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=y().filter(e=>e.focusable);Ee([e.find(e=>e.active),e.find(e=>e.id===v),...e].filter(Boolean).map(e=>e.ref.current),d)}}C.current=!1}),onBlur:(0,W.mK)(e.onBlur,()=>b(!1))})})}),ge="RovingFocusGroupItem",ve=a.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:l=!1,tabStopId:o,children:c,...i}=e,s=function(e){const[t,n]=a.useState(Z());return(0,Y.N)(()=>{e||n(e=>e??String(X++))},[e]),e||(t?`radix-${t}`:"")}(),u=o||s,d=me(ge,n),m=d.currentTabStopId===u,p=ce(n),{onFocusableItemAdd:f,onFocusableItemRemove:g,currentTabStopId:v}=d;return a.useEffect(()=>{if(r)return f(),()=>g()}
1,[r,f,g]),(0,K.jsx)(oe.ItemSlot,{scope:n,id:u,focusable:r,active:l,children:(0,K.jsx)(U.sG.span,{tabIndex:m?0:-1,"data-orientation":d.orientation,...i,ref:t,onMouseDown:(0,W.mK)(e.onMouseDown,e=>{r?d.onItemFocus(u):e.preventDefault()}),onFocus:(0,W.mK)(e.onFocus,()=>d.onItemFocus(u)),onKeyDown:(0,W.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void d.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const a=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(a)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(a)?void 0:he[a]}(e,d.orientation,d.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=p().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();const l=r.indexOf(e.currentTarget);r=d.loop?(a=l+1,(n=r).map((e,t)=>n[(a+t)%n.length])):r.slice(l+1)}setTimeout(()=>Ee(r))}var n,a}),children:"function"==typeof c?c({isCurrentTabStop:m,hasTabStop:null!=v}):c})})});ve.displayName=ge;var he={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Ee(e,t=!1){const n=document.activeElement;for(const a of e){if(a===n)return;if(a.focus({preventScroll:t}),document.activeElement!==n)return}}var be=pe,xe=ve,ye="Toggle",Ce=a.forwardRef((e,t)=>
1{const{pressed:n,defaultPressed:a,onPressedChange:r,...l}=e,[o,c]=(0,ee.i)({prop:n,onChange:r,defaultProp:a??!1,caller:ye});return(0,K.jsx)(U.sG.button,{type:"button","aria-pressed":o,"data-state":o?"on":"off","data-disabled":e.disabled?"":void 0,...l,ref:t,onClick:(0,W.mK)(e.onClick,()=>{e.disabled||c(!o)})})});Ce.displayName=ye;var we="ToggleGroup",[Ne,Pe]=(0,G.A)(we,[ue]),Se=ue(),ke=a.forwardRef((e,t)=>{const{type:n,...a}=e;if("single"===n){const e=a;return(0,K.jsx)(Ae,{...e,ref:t})}if("multiple"===n){const e=a;return(0,K.jsx)(Ie,{...e,ref:t})}throw new Error(`Missing prop \`type\` expected on \`${we}\``)});ke.displayName=we;var[Te,Re]=Ne(we),Ae=a.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:l=()=>{},...o}=e,[c,i]=(0,ee.i)({prop:n,defaultProp:r??"",onChange:l,caller:we});return(0,K.jsx)(Te,{scope:e.__scopeToggleGroup,type:"single",value:a.useMemo(()=>c?[c]:[],[c]),onItemActivate:i,onItemDeactivate:a.useCallback(()=>i(""),[i]),children:(0,K.jsx)(Le,{...o,ref:t})})}),Ie=a.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:l=()=>{},...o}=e,[c,i]=(0,ee.i)({prop:n,defaultProp:r??[],onChange:l,caller:we}),s=a.useCallback(e=>i((t=[])=>[...t,e]),[i]),u=a.useCallback(e=>i((t=[])=>t.filter(t=>t!==e)),[i]);return(0,K.jsx)(Te,{scope:e.__scopeToggleGroup,type:"multiple",value:c,onItemActivate:s,onItemDeactivate:u,children:(0,K.jsx)(Le,{...o,ref:t})})});ke.displayName=we;var[De,Fe]=Ne(we),Le=a.forwardRef((e,t)=>{const{__scopeToggleGroup:n,disabled:a=!1,rovingFocus:r=!0,orientation:l,dir:o,loop:c=!0,...i}=e,s=Se(n),u=ne(o),d={role:"group",dir:u,...i};return(0,K.jsx)(De,{scope:n,rovingFocus:r,disabled:a,children:r?(0,K.jsx)(be,{asChild:!0,...s,orientation:l,dir:u,loop:c,children:(0,K.jsx)(U.sG.div,{...d,ref:t})}):(0,K.jsx)(U.sG.div,{...d,ref:t})})}),ze="ToggleGroupItem",Me=a.forwardRef((e,t)=>{const n=Re(ze,e.__scopeToggleGroup),r=Fe(ze,e.__scopeToggleGroup),l=Se(e.__scopeToggleGroup),o=n.value.includes(e.value),c=r.disabled||e.disabled,i={...e,pressed:o,disabled:c},s=a.useRef(null);return r.rovingFocus?(0,K.jsx)(xe,{asChild:!0,...l,focusable:!c,active:o,ref:s,children:(0,K.jsx)(Oe,{...i,ref:t})}):(0,K.jsx)(Oe,{...i,ref:t})});Me.displayName=ze;var Oe=a.forwardRef((e,t)=>{const{__scopeToggleGroup:n,value:a,...r}=e,l=Re(ze,n),o={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},c="single"===l.type?o:void 0;return(0,K.jsx)(Ce,{...c,...r,ref:t,onPressedChange:e=>{e?l.onItemActivate(a):l.onItemDeactivate(a)}})}),je=ke,_e=Me,He=n(67321),$e=n(66011),Ge="ToggleGroupItem-module--title--0cacd";const Ue=(0,b.F)("ToggleGroupItem-module--toggle-group-item--673f9",{variants:{...c.WW,selected:{true:"ToggleGroupItem-module--selected--95901"}}});function We(e){let{value:t,title:n,selected:r,size:l="lg",...o}=e;const c=(0,$e.U)(i.LO["md-n-above"]);let s="heading-3";"sm"===l&&(s="heading-2");const u={display:"flex",gap:"1-5x",justifyContent:"center",alignItems:"center",color:"white",selected:r,...o};let d;"lg"===l?(u.py="1-5x",u.px=c?"6x":"4x"):"sm"===l&&(u.py="1x",u.px="3x"),"lg"===l&&r&&(d=a.createElement(He.In,{icon:["fass","check-circle"]}));const m=Ue(u);return a.createElement(_e,{className:m,value:t,"aria-label":n},d,a.createElement(x.fz,{variant:s,className:Ge},n))}const Be=(0,b.F)("ToggleGroup-module--toggle-group--58dde",{variants:c.WW});function Ve(e){let{className:t,title:n,options:r,value:l,size:o,onChange:c}=e;const i=Be({className:t,display:"flex"});return a.createElement(je,{className:i,type:"single",value:l,"aria-label":n,onValueChange:c},r.map(e=>{const t=l===e.value;return a.createElement(We,{key:e.value,value:e.value,title:e.title,selected:t,size:o})}))}const Ke=[{title:"Helios Cloud",value:"Cloud"},{title:"Self-Managed",value:"Self-Managed"}];function qe(e){let{className:t,size:n,onChange:r}=e;const{state:l,dispatch:o}=(0,u.et)();return a.createElement(Ve,{className:t,title:"Select a product",options:Ke,value:l.product,size:n,onChange:e=>{e&&(o({type:"set_product",value:e}),r&&r(e))}})}var Je="PricingHero-module--pricing-hero--68409",Qe="PricingHero-module--pricing-hero-content--425cb";function Ye(e){let{title:t}=e;const n=(0,c.aP)({class:Je,position:"relative"});return a.createElement(E.l,{darkMode:!0,background:"surface-raised-2",className:n},a.createElement(c.so,{flexDirection:"column",justifyContent:"center",textAlign:"center",px:"2x",gap:"4x",className:Qe},a.createElement(x.H1,{variant:"heading-7",fontWeight:"bold"},t),a.createElement(c.so,{flexDirection:"column",alignItems:"center",gap:"3x"},a.createElement(qe,null),a.createElement($,null))),a.createElement(h,null))}const Ze=a.forwardRef((e,t)=>
1{let{style:n,...r}=e;const l={...n,scrollMarginTop:"var(--nav-height)"};return a.createElement("div",Object.assign({ref:t},r,{style:l}))});Ze.displayName="AnchorReference";var Xe=n(9094),et=n(70515),tt=n(72577),nt=n(91994),at=n(67975),rt=n(89415);function lt(e){let{children:t,label:n,onLabelChange:r,priceLabel:l,onDelete:o}=e;const[s,u]=a.useState(!1),d=(0,$e.U)(i.LO["md-n-above"]),m=(0,c.aP)({alignSelf:"start",fontWeight:"regular"});let p,f;s?(p=a.createElement(rt.p,{value:n,onChange:r}),f="Done"):(p=a.createElement(x.H3,{variant:"heading-2"},n),f=a.createElement(He.In,{icon:["fass","pen-to-square"]}));const g=a.createElement(at.$,{variant:"ghost-brand",padding:"slim",onClick:()=>u(e=>!e)},f);let v;return d||(v=a.createElement(k.Hr,null)),a.createElement(I.V,{asChild:!0},a.createElement(c.so,{flexDirection:"column",p:"1-5x",gap:d?"3x":"1-5x"},a.createElement(c.so,{flexDirection:d?"row":"column",justifyContent:"space-between",gap:"1-5x"},a.createElement(c.so,{gap:"1-5x",alignItems:"center"},p,g),a.createElement(x.fz,{variant:"heading-1"},l)),v,t,a.createElement(at.$,{className:m,iconPosition:"right",faIcon:["fass","trash"],variant:"ghost-neutral",padding:"slim",size:"medium",onClick:o},"Delete")))}const ot=e=>{let{pricingPlanName:t,cloudProviderName:n,state:a}=e;const{cloudProviders:r,workspaceSizes:l}=a,o=a.cloudProviders.find(e=>e.name===n),c=(e=>{let{pricingPlanCards:t}=e;return t.filter(e=>e.publicPrice).map(e=>({label:e.name,value:e.internalName}))})({pricingPlanCards:a.pricingPlanCards.cloud.cards}),i=(e=>{let{pricingPlanName:t,cloudProviders:n}=e;return(0,u.lT)({pricingPlanName:t,cloudProviders:n}).map(e=>({label:e.name,value:e.name}))})({pricingPlanName:t,cloudProviders:r}),s=(0,u.oO)((0,u.R9)({cloudProvider:o,pricingPlanName:t})),d=(e=>{let{pricingPlanName:t,workspaceSizes:n}=e;return(0,u.DC)({pricingPlanName:t,workspaceSizes:n}).map(e=>{let{name:t,unitSize:n}=e;return{label:`${t} (${(new Intl.NumberFormat).format(64*n)}GB)`,value:t}})})({pricingPlanName:t,workspaceSizes:l});return{pricingPlanOptions:c,cloudProviderOptions:i,regionOptions:s,workspaceSizeOptions:d}},ct=a.memo(e=>{let{label:t,pricingPlanName:n,cloudProviderName:r,regionName:l,averageStorage:o,costPerMonth:s,handleChange:d,handleDelete:m}=e;const p=(0,$e.U)(i.LO["md-n-above"]),{state:f}=(0,u.et)(),{pricingPlanOptions:g,cloudProviderOptions:v,regionOptions:h}=ot({pricingPlanName:n,cloudProviderName:r,state:f}),E=(0,c.aP)({width:p?"auto":"full"}),b=`Cost/month: ${(0,F.v)(s/100)} (${o.toLocaleString()} GB Usage)`;return a.createElement(lt,{label:t,priceLabel:b,onLabelChange:e=>{d({label:e})},onDelete:m},a.createElement(c.so,{gap:p?"4x":"1-5x",flexDirection:p?"row":"column"},a.createElement(c.so,{flexDirection:"column",gap:"1x"},a.createElement(x.JU,{variant:"label-2"},"Edition"),a.createElement(N.l,{value:n,options:g,onChange:e=>{d({pricingPlanName:e})}})),a.createElement(c.so,{flexDirection:"column",gap:"1x"},a.createElement(x.JU,{variant:"label-2"},"Cloud Provider"),a.createElement(N.l,{options:v,value:r,onChange:e=>{d({cloudProviderName:e})}})),a.createElement(c.so,{flexDirection:"column",gap:"1x"},a.createElement(x.JU,{variant:"label-2"},"Region"),a.createElement(N.l,{value:l,options:h,className:E,onChange:e=>{d({regionName:e})}}))),a.createElement(c.so,{flexDirection:"column",gap:"1x",width:p?"12x":"full"},a.createElement(x.JU,{variant:"label-2"},"Data Size (GB)"),a.createElement(rt.p,{value:o.toString(),className:E,onChange:e=>{d({averageStorage:Number(e)})}})))}),it=a.memo(e=>{let{label:t,pricingPlanName:n,cloudProviderName:r,regionName:l,workspaceSizeName:o,hoursPerDay:s,daysPerMonth:d,costPerMonth:m,creditsPerMonth:p,handleChange:f,handleDelete:g}=e;const v=(0,$e.U)(i.LO["md-n-above"]),{state:h}=(0,u.et)(),{pricingPlanOptions:E,cloudProviderOptions:b,regionOptions:y,workspaceSizeOptions:C}=ot({pricingPlanName:n,cloudProviderName:r,state:h}),w=(0,c.aP)({width:v?"auto":"full"}),P=`Cost/month: ${(0,F.v)(m/100)} (${p.toLocaleString()} Credits)`;return a.createElement(lt,{label:t,priceLabel:P,onLabelChange:e=>{f({label:e})},onDelete:g},a.createElement(c.so,{gap:v?"4x":"1-5x",flexDirection:v?"row":"column"},a.createElement(c.so,{flexDirection:"column",gap:"1x"},a.createElement(x.JU,{variant:"label-2"},"Edition"),a.createElement(N.l,{value:n,options:E,onChange:e=>{f({pricingPlanName:e})}})),a.createElement(c.so,{flexDirection:"column",gap:"1x"},a.createElement(x.JU,{variant:"label-2"},"Cloud Provider"),a.createElement(N.l,{options:b,value:r,onChange:e=>{f({cloudProviderName:e})}})),a.createElement(c.so,{flexDirection:"column",gap:"1x"},a.createElement(x.JU,{variant:"label-2"},"Region"),a.createElement(N.l,{value:l,options:y,className:w,onChange:e=>
1{f({regionName:e})}}))),a.createElement(c.so,{gap:"1-5x",flexDirection:"column"},a.createElement(c.so,{gap:v?"5x":"1-5x",flexDirection:v?"row":"column"},a.createElement(c.so,{flexDirection:"column",gap:"1x",width:v?"20x":"full"},a.createElement(x.JU,{variant:"label-2"},"Workspace Size (Memory)"),a.createElement(N.l,{value:o,options:C,className:w,onChange:e=>{f({workspaceSizeName:e})}})),a.createElement(c.so,{gap:"1-5x",flexDirection:"row"},a.createElement(c.so,{flexDirection:"column",gap:"1x",width:v?"12x":"full"},a.createElement(x.JU,{variant:"label-2"},"Hours/Day"),a.createElement(rt.p,{type:"number",value:s.toString(),min:"0",max:"24",onChange:e=>{f({hoursPerDay:Number(e)})}})),a.createElement(c.so,{flexDirection:"column",gap:"1x",width:v?"12x":"full"},a.createElement(x.JU,{variant:"label-2"},"Days/Month"),a.createElement(rt.p,{type:"number",value:d.toString(),min:"0",max:"31",onChange:e=>{f({daysPerMonth:Number(e)})}}))))))});var st=n(62464);const ut=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}),dt=e=>ut.format(e);var mt="PricingCalculator-module--pricing-totals-grid--4bc73";function pt(e){let{id:t,...n}=e;const{dispatch:r}=(0,u.et)(),l=a.useCallback(e=>{r({type:"update_workspace",value:{id:t,...e}})},[t,r]),o=a.useCallback(()=>{r({type:"delete_instance",value:t})},[t,r]),c=a.useCallback(e=>{r({type:"update_storage",value:{id:t,...e}})},[t,r]),i=a.useCallback(()=>{r({type:"delete_instance",value:t})},[t,r]);return"workspace"===n.type?a.createElement(it,Object.assign({id:t},n,{handleChange:l,handleDelete:o})):"storage"===n.type?a.createElement(ct,Object.assign({id:t},n,{handleChange:c,handleDelete:i})):null}function ft(){const{state:e}=(0,u.et)();return a.createElement(a.Fragment,null,e.calculatorInstances.map(e=>a.createElement(pt,Object.assign({key:e.id},e))))}function gt(){const{state:e,dispatch:t}=(0,u.et)(),n=(0,$e.U)(i.LO["md-n-above"]),r=dt(e.calculatorTotals.workspaces.costPerMonth/100),l=e.calculatorTotals.workspaces.creditsPerMonth.toLocaleString(),o=dt(e.calculatorTotals.stores.costPerMonth/100),s=e.calculatorTotals.stores.averageStorage.toLocaleString();return a.createElement(c.so,{gap:"3x",flexDirection:"column"},a.createElement(x.H2,{variant:"heading-6",id:"pricing-calculator"},"Your estimated cloud pricing"),a.createElement(c.so,{flexDirection:"column",gap:"1-5x"},a.createElement(ft,null),a.createElement(c.so,{gap:"1-5x"},a.createElement(at.$,{iconPosition:"right",faIcon:["fass","plus"],variant:"ghost-neutral",size:"medium",onClick:()=>{t({type:"add_workspace"})}},"Add Workspace"),a.createElement(at.$,{iconPosition:"right",faIcon:["fass","plus"],variant:"ghost-neutral",size:"medium",onClick:()=>{t({type:"add_storage"})}},"Add Storage"))),a.createElement("div",{className:mt},a.createElement(x.fz,{variant:"heading-1",textAlign:"right"},"Monthly Credit Cost (Usage):"),a.createElement(x.fz,{variant:"heading-1",textAlign:"right"},r," (",l," Credits)"),a.createElement(x.fz,{variant:"heading-1",textAlign:"right"},"Monthly Storage Cost (Usage):"),a.createElement(x.fz,{variant:"heading-1",textAlign:"right"},o," (",s," GBs)"),a.createElement(x.fz,{variant:"heading-3",textAlign:"right"},"Monthly total:"),a.createElement(x.fz,{variant:"heading-3",textAlign:"right"},dt(e.calculatorTotals.totalCostPerMonth/100))),a.createElement(c.so,{flexDirection:n?"row":"column",justifyContent:"space-between",gap:"2x"},a.createElement(st.o,{variant:"body-1",copy:e.calculatorFooter.notes||""}),a.createElement(c.so,{gap:"1-5x",alignItems:"start"},e.calculatorFooter.ctaButtons.map(e=>a.createElement(S.v,{key:e.url,to:e.url,variant:e.variant,size:"medium"},e.ctaText)))))}var vt=n(18194),ht=n(34932),Et=n(68535);function bt(e){let{text:t,faIcon:n}=e;const r=null==t?void 0:t.trim();return r?a.createElement(D.h,{html:r,variant:"body-2",textAlign:"center"}):n?a.createElement(He.In,{icon:n,size:"xs",color:"text-mid-contrast"}):null}var xt="TableCell-module--border-bottom-1px--da6da",yt="TableCell-module--border-left-1px--029b5",Ct="TableCell-module--border-right-1px--2f553",wt="TableCell-module--border-top-1px--c75f7";const Nt=(0,b.F)("TableCell-module--table-cell--97a90",{variants:{spacing:{default:null,loose:"TableCell-module--spacing-loose--d63f8"},borderLeft:{true:yt,"1px":yt,"2px":"TableCell-module--border-left-2px--3cd50"},borderRight:{true:Ct,"1px":Ct,"2px":"TableCell-module--border-right-2px--d46e9"},borderTop:{true:wt,"1px":wt,"2px":"TableCell-module--border-top-2px--b9d41"},borderBottom:{true:xt,"1px":xt,"2px":"TableCell-module--border-bottom-2px--25a35"}}}),Pt=a.forwardRef((e,t)=>
1{let{className:n,children:r,borderLeft:l,borderRight:o,borderBottom:c,borderTop:i,cellComponent:s="td",spacing:u="default",...d}=e;const m=Nt({class:n,borderBottom:c,borderLeft:l,borderRight:o,borderTop:i,spacing:u});return a.createElement(s,Object.assign({},d,{ref:t,className:m}),r)});var St="FeatureRow-module--chevron--6c137",kt="FeatureRow-module--data-cell--1cd53",Tt="FeatureRow-module--title-cell--51417",Rt="FeatureRow-module--title-cell-content--9f181";const At=(0,b.F)(Tt,{variants:{...c.WW}}),It=(0,b.F)("FeatureRow-module--feature-trigger--77425",{variants:{...c.WW,hasDescription:{true:"FeatureRow-module--has-description--4b229"}}}),Dt=(0,b.F)("FeatureRow-module--feature-row--6b2a2",{variants:{product:{Cloud:"FeatureRow-module--cloud--8d6f1","Self-Managed":"FeatureRow-module--self-managed--de09e"}}});function Ft(e){let{className:t,name:n,description:r}=e;const l=Boolean(r);let o;l&&(o=a.createElement(He.In,{icon:["fasr","chevron-right"],className:St,color:"text-high-contrast",size:"sm"}));const c=a.createElement(a.Fragment,null,a.createElement("div",null,o),a.createElement(x.fz,{variant:"heading-1",textAlign:"left"},n)),i=It({className:Rt,hasDescription:l,px:"1-25x",py:"1-25x"});let s=a.createElement("div",{className:i},c);if(l){const e=a.createElement(vt.UC,{asChild:!0},a.createElement(a.Fragment,null,a.createElement("div",null),a.createElement("div",null,a.createElement(D.h,{html:r||"",variant:"body-2"}))));s=a.createElement(vt.l9,{asChild:!0},a.createElement("div",{className:i},c,e))}const u=At({class:t,textAlign:"left"});return a.createElement("th",{className:u},s)}function Lt(e){let{name:t,description:n,cloud:r,selfManaged:l}=e;const{state:o}=(0,u.et)(),c=Dt({product:o.product});let i;const s="Cloud"===o.product,d=Object.values(r).every(e=>{let{text:t,faIcon:n}=e;return!(null!=t&&t.trim()||n)});return s&&d?null:("Cloud"===o.product?i=a.createElement(a.Fragment,null,a.createElement(Pt,{borderLeft:!0,className:kt},a.createElement(bt,r.free)),a.createElement(Pt,{className:kt},a.createElement(bt,r.standard)),a.createElement(Pt,{className:kt},a.createElement(bt,r.byoc)),a.createElement(Pt,{borderRight:!0,className:kt},a.createElement(bt,r.enterprise))):"Self-Managed"===o.product&&(i=a.createElement(a.Fragment,null,a.createElement(Pt,{borderLeft:!0,className:kt},a.createElement(bt,l.standard)),a.createElement(Pt,{borderRight:!0,className:kt},a.createElement(bt,l.premium)))),a.createElement(vt.q7,{asChild:!0,value:t},a.createElement("tr",{className:c},a.createElement(Ft,{name:t,description:n,className:Tt}),i)))}const zt=4,Mt=2;var Ot="SectionTitleRow-module--feature-row-placeholder-cell--ccc99",jt="SectionTitleRow-module--feature-row-title-cell--42345";function _t(e){let{section:t}=e;const{state:n}=(0,u.et)(),r=a.useRef(null),[l,o]=a.useState(0);a.useEffect(()=>{r.current&&o(r.current.clientHeight)},[]);const i=(0,c.aP)({class:jt,pt:"2-5x",px:"1-25x",pb:"1-25x",textAlign:"left",background:"app"}),s=`calc(var(--nav-height) + ${n.tableHeaderHeight}px - ${l}px)`,d=Ot,m="Cloud"===n.product?zt:Mt,p=Array.from(Array(m).keys()).map(e=>a.createElement(Pt,{key:e,borderLeft:0===e,borderRight:e===m-1,borderBottom:"2px",className:d,style:{top:s,position:"sticky"}}));return a.createElement("tr",null,a.createElement("th",{ref:r,className:i,style:{top:s,position:"sticky"}},a.createElement(c.so,{gap:"1-25x",alignItems:"center"},a.createElement(He.In,{icon:t.faIcon,color:"text-mid-contrast"}),a.createElement(x.fz,{variant:"body-3"},t.name))),p)}function Ht(e){let{sections:t}=e;return a.createElement(a.Fragment,null,t.map(e=>a.createElement("tbody",{key:e.name},a.createElement(_t,{section:e}),e.features.map(e=>a.createElement(Lt,Object.assign({key:e.name},e))))))}const $t=()=>{const[e,t]=a.useState(null);return a.useLayoutEffect(()=>{const e=()=>{t({width:window.innerWidth,height:window.innerHeight})};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),e};var Gt="TableHead-module--plan-header-cell--d33f4",Ut="TableHead-module--table-head--8a46f",Wt="TableHead-module--title-cell--056cf";function Bt(e){let t,n,{title:r,subtitle:l,regionType:o,borderLeft:c,borderRight:i,...s}=e;return l.text&&(t=l.url?a.createElement(T.N,{to:l.url,variant:"body-2"},l.text):a.createElement(x.fz,{variant:"body-2"},l.text)),o&&(n=a.createElement(x.fz,{variant:"body-2"},o)),a.createElement(Pt,Object.assign({borderTop:!0,className:Gt,borderLeft:c,borderRight:i},s),a.createElement(x.fz,{variant:"heading-2"},r),n,t)}
1function Vt(e){let{className:t,title:n,subtitle:r,headings:l}=e;const{dispatch:o,state:i}=(0,u.et)(),s=$t(),d=a.useRef(null),m=a.useRef(null),[p,f]=a.useState(0),g="Cloud"===i.product?zt:Mt;let v;a.useEffect(()=>{if(m.current){const e=m.current.clientHeight||0;if(f(e),d.current){const t=d.current.clientHeight||0;o({type:"set_table_header_height",value:e+t})}}},[o,s]),r.text&&(v=r.url?a.createElement(T.N,{to:r.url,variant:"heading-2"},r.text):a.createElement(x.fz,{variant:"heading-2"},r.text));const h={position:"sticky",top:"var(--nav-height)"},E={position:"sticky",top:`calc(var(--nav-height) + ${p}px)`},y=(0,b.cx)(Ut,t);let C;"Cloud"===i.product?C=a.createElement(a.Fragment,null,a.createElement(Bt,Object.assign({},l.cloud.free,{borderLeft:!0,style:E})),a.createElement(Bt,Object.assign({},l.cloud.standard,{style:E})),a.createElement(Bt,Object.assign({},l.cloud.byoc,{style:E})),a.createElement(Bt,Object.assign({},l.cloud.enterprise,{borderRight:!0,style:E}))):"Self-Managed"===i.product&&(C=a.createElement(a.Fragment,null,a.createElement(Bt,Object.assign({borderLeft:!0},l.selfManaged.standard,{style:E})),a.createElement(Bt,Object.assign({borderRight:!0},l.selfManaged.premium,{style:E}))));const w=(0,c.aP)({pt:"1x",pb:"2x",background:"app"});return a.createElement("thead",{className:y},a.createElement("tr",null,a.createElement("th",{ref:m,colSpan:g+1,style:h,className:w},a.createElement(c.so,{justifyContent:"end",width:"full"},a.createElement(qe,null)))),a.createElement("tr",null,a.createElement("th",{ref:d,className:Wt,style:h},a.createElement(x.H2,{variant:"heading-6",textAlign:"left"},n),v),C))}var Kt="DesktopPricingFeaturesTable-module--desktop-pricing-features-table--4f5cc";function qt(e){let{className:t,head:n,featureSections:r}=e;const l=(0,b.cx)(Kt,t);return a.createElement("table",{className:l},a.createElement(Vt,n),a.createElement(Ht,{sections:r}))}var Jt=n(53039),Qt=n.n(Jt);const Yt=(e,t,n)=>{if("Cloud"===t){var a;const t=Qt()(n);return null==e||null===(a=e.cloud)||void 0===a?void 0:a[t]}if("Self-Managed"===t){var r;const t=Qt()(n);return null==e||null===(r=e.selfManaged)||void 0===r?void 0:r[t]}return null};var Zt="FeatureRow-module--chevron--9f6f9",Xt="FeatureRow-module--title-cell-content--1997d";const en=(0,b.F)("FeatureRow-module--feature-trigger--42a87",{variants:{...c.WW,descriptionOpen:{true:"FeatureRow-module--description-open--55a84"}}});function tn(e){let{className:t,name:n,description:r,descriptionOpen:l,descriptionId:o,onClick:i}=e;let s;Boolean(r)&&(s=a.createElement(He.In,{icon:["fasr","chevron-right"],className:Zt,size:"sm",color:"text-high-contrast"}));const u=a.createElement(a.Fragment,null,a.createElement("div",null,s),a.createElement(x.fz,{variant:"heading-1",textAlign:"left"},n)),d=(0,c.aP)({class:t,textAlign:"left"}),m=en({className:Xt,descriptionOpen:l,px:"1-25x",py:"0-5x",width:"full"});return a.createElement("th",{className:d},a.createElement(at.$,{className:m,variant:"unstyled","aria-expanded":l,"aria-label":`${n} description`,"aria-controls":o,onClick:i},u))}function nn(e){let{feature:t}=e;const{state:n}=(0,u.et)(),[r,l]=a.useState(!1),o=a.useId(),i=Yt(t,n.product,n.pricingPlanName),s=Boolean(t.description),d=(0,c.aP)({width:"1/2"});let m,p;return i&&(m=a.createElement(bt,i)),s&&r&&(p=a.createElement("tr",null,a.createElement("td",{colSpan:2,className:(0,c.aP)({p:"1x"}),id:o},a.createElement(D.h,{html:t.description,variant:"body-2"})))),a.createElement(a.Fragment,null,a.createElement("tr",{key:t.name},a.createElement(tn,{name:t.name,description:t.description,className:d,descriptionOpen:r,descriptionId:o,onClick:()=>{l(e=>!e)}}),a.createElement(Pt,{className:d},m)),p)}var an="SectionTitleRow-module--title-cell--b8af6";function rn(e){let{section:t}=e;const n=(0,c.aP)({class:an,p:"1-25x",pt:"2-5x",textAlign:"left"});return a.createElement("tr",null,a.createElement("th",{className:n,colSpan:2},a.createElement(c.so,{gap:"1-25x",alignItems:"center"},a.createElement(He.In,{icon:t.faIcon,color:"text-mid-contrast"}),a.createElement(x.fz,{variant:"body-3"},t.name))))}function ln(e){let{sections:t}=e;return a.createElement(a.Fragment,null,t.map(e=>a.createElement("tbody",{key:e.name},a.createElement(rn,{section:e}),e.features.map(e=>a.createElement(nn,{key:e.name,feature:e})))))}function on(e){let{className:t,featureSections:n}=e;const{state:r,dispatch:l}=(0,u.et)(),o=a.useMemo(()=>{let e=[];return"Cloud"===r.product?e=r.pricingPlanCards.cloud.cards:"Self-Managed"===r.product&&(e=r.pricingPlanCards.selfManaged.cards),e.map(e=>({label:e.regionType?`${e.name} (${e.regionType})`:e.name,value:e.internalName}))},[r.product,r.pricingPlanCards]),i=(0,c.aP)({background:"app"});return a.createElement("table",{className:t},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",{colSpan:2,style:{position:"sticky",top:"var(--nav-height)"},className:i},a.createElement(c.so,{flexDirection:"column",gap:"1-5x",py:"3x",alignItems:"center"},a.createElement(qe,{size:"sm"}),a.createElement(N.l,{options:o,value:r.pricingPlanName,onChange:e=>{l({type:"set_pricing_plan",value:e})}}))))),a.createElement(ln,{sections:n}))}var cn=n(33005),sn=n.n(cn);const un=50,dn=e=>function(t,n){let{initDelay:r,throttleTimeout:l=un}=void 0===n?{}:n;const o=a.useRef(!1),c=a.useRef(0),i=a.useRef(),s=a.useCallback(()=>{const n=e();t&&t(n,c.current),c.current=n},[t]);return a.useEffect(()=>{s()},[s]),a.useEffect(()=>{const e=sn()(s,l);return!o.current&&r?i.current=setTimeout(()=>{window.addEventListener("scroll",e)},r):window.addEventListener("scroll",e),o.current=!0,()=>{i.current&&clearTimeout(i.current),e.cancel(),window.removeEventListener("scroll",e)}},[s,r,l]),c.current},mn=dn(()=>window.scrollY||window.pageYOffset||document.body.scrollTop+(document.documentElement&&document.documentElement.scrollTop||0));dn(()=>window.scrollX||window.pageXOffset||document.body.scrollLeft+(document.documentElement&&document.documentElement.scrollLeft||0));var pn="PricingFeaturesTable-module--pricing-table--b478d";const fn=200;function gn(e){let{className:t}=e;const{contentstackPricingTable:n}=(0,s.A)((0,ht.useStaticQuery)("81594633"),{deep:!0}),{state:r}=(0,u.et)(),l=(0,$e.U)(i.LO["md-n-above"]),o=a.useRef(null),[c,d]=a.use
1State(0),[m,p]=a.useState(!1),f=()=>o.current?o.current.getBoundingClientRect().top:0;mn(()=>{d(f())}),a.useEffect(()=>{if(m){const e=f();window.scrollBy(0,e-c)}},[r.pricingPlan]);const g=(0,b.cx)(pn,t);let v=a.createElement(qt,Object.assign({className:g},n));return l||(v=a.createElement(on,Object.assign({className:g},n))),a.createElement(Et.Y,{topOffset:fn,onEnter:()=>{p(!0)},onLeave:()=>{p(!1)}},a.createElement(vt.bL,{ref:o,collapsible:!0,type:"single"},v))}var vn=n(12513),hn=n(50550),En=n(66285),bn=n(44555),xn=n(61735),yn=n(19488);function Cn(e){return null!=e}var wn=n(45538);const Nn=["https://www.g2.com/products/singlestore/reviews","https://www.trustradius.com/products/singlestore/reviews","https://www.capterra.com/p/143032/SingleStore/"],Pn={ratingValue:"4.5",bestRating:"5",worstRating:"1",ratingCount:118,reviewCount:118},Sn=["Distributed SQL database architecture","Hybrid transactional and analytical processing (HTAP)","Unified in-memory rowstore and columnstore storage","Real-time analytics with low-latency queries","Streaming and bulk data ingestion","Horizontal scaling across distributed clusters","High concurrency for thousands of simultaneous users","Full SQL support with MySQL wire protocol compatibility","JSON and BSON document data support","Full-text search with BM25 relevancy scoring","Advanced JSON query performance optimization","ACID-compliant transactions","Cross-datacenter replication and high availability","Kafka data pipelines and integration","Custom functions using WebAssembly (Wasm) Code Engine","External function support for extensibility","Federated authentication with OAuth and SAML","Multi-cloud deployment on AWS, Azure, and Google Cloud","Fully managed cloud service with SingleStore Helios"].join(", ");function kn(e){let{pricingPlanCards:t,cloudProviders:n,workspaceSizes:r}=e;const l=t.cloud.cards.map(e=>{const t={"@type":"UnitPriceSpecification",name:e.regionType?`${e.regionType} - ${e.name}`:e.name,url:(0,yn.H)(e.primaryCta.link)},a={...t,priceCurrency:"USD",referenceQuantity:{"@type":"QuantitativeValue",value:"1",unitCode:"HUR"}};if("Free"===e.internalName)return{"@type":"Offer",priceSpecification:{...a,price:"0"}};if(e.publicPrice){const t=n[0],l=(0,u.R9)({cloudProvider:t,pricingPlanName:e.internalName}),o=null==l?void 0:l.sort((e,t)=>e.tier[0].credits-t.tier[0].credits)[0];if(o&&t){const t=(0,u.DC)({pricingPlanName:e.internalName,workspaceSizes:r}),n=(0,u.eV)({workspaceSize:t[0],region:o,plan:e});if(n){return{"@type":"Offer",priceSpecification:{...a,price:(n.costPerHour/100).toFixed(2)}}}}}return{"@type":"Offer",priceSpecification:t}}).filter(Cn);let o,c;if(l.length>0){const e=l.filter(e=>{var t;const n=null==e||null===(t=e.priceSpecification)||void 0===t?void 0:t.price;return"string"==typeof n&&!isNaN(Number(n))}).map(e=>Number(e.priceSpecification.price));e.length>0&&(o=Math.min.apply(Math,(0,En.A)(e)).toFixed(2),c=Math.max.apply(Math,(0,En.A)(e)).toFixed(2))}const i={"@type":"AggregateRating",...Pn},s={"@context":"https://schema.org","@type":"SoftwareApplication",url:(0,yn.H)("/"),featureList:Sn,applicationCategory:"DeveloperApplication",sameAs:Nn};return a.createElement(a.Fragment,null,a.createElement(bn.Zn,{item:{...s,"@id":xn.Bd,name:"SingleStore Helios",description:"Cloud-native distributed SQL database unifying OLTP, OLAP, vector search, and full-text search in a single platform for real-time AI applications. Available on AWS, GCP, and Azure with automatic scaling, high availability, and managed operations.",operatingSystem:"Web",offers:{"@type":"AggregateOffer",lowPrice:o,highPrice:c,offerCount:l.length,priceCurrency:"USD",offers:l,url:wn.SIGNUP_URL},aggregateRating:i}}),a.createElement(bn.Zn,{item:{...s,"@id":xn.Tx,name:"SingleStore Self-Managed",description:"High-performance distributed SQL database for self-managed deployments in your own data center or private cloud. Combines transactional and analytical workloads with vector search capabilities for real-time AI and ML applications.",operatingSystem:"Linux, Windows, macOS",offers:{"@type":"Offer",price:"0",priceCurrency:"USD",url:"https://portal.singlestore.com/intention/software"},aggregateRating:i}}
1))}var Tn=n(37764);function Rn(e){let{data:t}=e;const{contentstackPricingPage:{heroTitle:n,texts:r,sections:l,...d}}=(0,s.A)(t,{deep:!0}),{state:m}=(0,u.et)(),f=(0,$e.U)(i.LO["md-n-above"]),g=a.useRef(null);let v,h,E;"Cloud"===m.product&&(v=a.createElement(vn.n,{paddingSm:"4x",paddingMd:"4x",paddingLg:"4x"},a.createElement(nt.LN,null,a.createElement(Xe.H,{subheader:"Want more detailed pricing and sizing information?",buttons:[{ctaText:"View pricing details",action:[{link:{link:"/cloud-pricing/"}}]}],background:"primary"})))),"Cloud"===m.product&&(h=a.createElement(vn.n,{paddingSm:"4x",paddingMd:"4x",paddingLg:"8x"},a.createElement(nt.LN,null,a.createElement(gt,null)))),f||(E=(0,c.aP)({alignSelf:"center"}));const b=r.filter(e=>{let{visibility:t}=e;return"Both"===t||t===m.product}).map((e,t)=>{let{text:n}=e;return a.createElement(Tn.o,{key:t,text:n})});return a.createElement(et.P,{cmsToolsPageData:d},a.createElement(Ye,{title:n}),a.createElement(vn.n,{paddingSm:"4x",paddingMd:"4x",paddingLg:"8x"},a.createElement(nt.LN,null,a.createElement(gn,null))),h,v,a.createElement(vn.n,{paddingSm:"4x",paddingMd:"4x",paddingLg:"8x"},a.createElement(nt.LN,null,b)),a.createElement(Ze,{ref:g}),a.createElement(vn.n,{paddingSm:"4x",paddingMd:"4x",paddingLg:"8x"},a.createElement(nt.LN,null,a.createElement(c.so,{flexDirection:"column",gap:"5x"},a.createElement(c.so,{justifyContent:"space-between",flexDirection:f?"row":"column",gap:"2x"},a.createElement(x.H2,{variant:"heading-6"},"FAQs"),a.createElement(qe,{className:E,onChange:()=>{o()(()=>{g.current&&g.current.scrollIntoView()})}})),a.createElement(p,null)))),a.createElement(tt.y,{sections:l}))}function An(e){let{data:t,...n}=e;const{contentstackPricingPage:{pricingPlanCards:r,pricingCalculator:l,questions:o},allContentstackWorkspaceSizes:{workspaceSizes:c},allContentstackCloudProviders:{cloudProviders:i}}=(0,s.A)(t,{deep:!0});return a.createElement(u.SO,{pricingPlanCards:r,pricingCalculator:l,questions:o,workspaceSizes:c,cloudProviders:i},a.createElement(Rn,Object.assign({data:t},n)))}function In(e){let{location:t,data:n}=e;const{contentstackPricingPage:{pageMeta:r,questions:l,pricingPlanCards:o},allContentstackWorkspaceSizes:{workspaceSizes:c},allContentstackCloudProviders:{cloudProviders:i}}=(0,s.A)(n,{deep:!0});return a.createElement(a.Fragment,null,a.createElement(d.t,Object.assign({location:t},r)),a.createElement(hn.s,{questions:l}),a.createElement(kn,{pricingPlanCards:o,workspaceSizes:c,cloudProviders:i}))}},58074:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var a=n(82014);const r=e=>
1{const t=e.replace(/\\n/g,"").replace(/"/g,"'").trim();return(0,a.Q)(t)}},63155:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var a=n(48431),r=globalThis?.document?a.useLayoutEffect:()=>{}},72577:function(e,t,n){"use strict";n.d(t,{y:function(){return I}});var a=n(48431),r=n(69205),l=n(85131),o=n(8439),c=n(19686),i=n(67359),s=n(94187),u=n(77405),d=n(63972),m=n(6159),p=n(60911),f=n(28470),g=n(91994),v=n(36136),h=n(82662),E="TimelineHeader-module--timeline-header--a45b5",b="TimelineItem-module--sticky-date--d4a3a",x="TimelineItem-module--sticky-dot--9f7a4",y="TimelineItem-module--timeline-item--f8f72";function C(e){let{children:t}=e;return a.createElement("div",{className:y},a.createElement(v.H2,{variant:"heading-6",className:E},a.createElement(h.h,{html:null==t?void 0:t.toString(),allowedTags:"heading"})))}var w=n(37838),N=n(37764),P=n(66011);function S(e){let{date:t,itemContent:n}=e;const r=(0,P.U)(m.L["sm-n-above"]),l=a.createElement(v.L9,{variant:"heading-7",color:"mid-contrast"},t);let o,c;r&&(o=a.createElement(u.az,{m:"2x",textAlign:"right",className:b},l)),r||(c=a.createElement(u.az,{mt:"2x"},l));const i=r?"6x":"4x",s=(0,f.V)({maxWidth:"45x",gap:i}),d=null==n?void 0:n.map((e,t)=>{let{cardIcons:n,text:r}=e;const l=null==n?void 0:n.cardIcons;return l?a.createElement(w._,{key:t,layout:"rows",className:s,cardIcons:l}):r?a.createElement(N.o,{key:t,text:r}):void 0});return a.createElement("div",{className:y},o,a.createElement(u.az,{className:x,my:"4x",background:"inverse"}),a.createElement(f.x,{gap:i},c,d))}var k="TimelineSection-module--timeline-background--bd34a",T="TimelineSection-module--timeline-track--c4ca1";const R=(0,p.F)("TimelineSection-module--timeline-section--838cd",{variants:{darkMode:{true:"dark-mode"}}});function A(e){let{settings:t,header:n,timelineItems:r}=e;const l=(0,P.U)(m.L["md-n-above"]),{background:o}=t,c=R({darkMode:!0});let i;l&&(i=(0,g.$$)());const s={};return o&&(s.background=d.fG[o]),a.createElement(u.so,{className:c,alignItems:"center",justifyContent:l?"center":"start",position:"relative",py:l?"10x":"8x",px:"1x"},a.createElement(u.az,{className:k,style:s,width:"full",height:"full",position:"absolute",top:"0",left:"0"}),a.createElement(u.az,{className:T,mx:"0-75x",width:"0-5x",height:"full",position:"absolute"}),a.createElement(f.x,{gap:l?"10x":"6x",className:i},a.createElement(C,null,n),null==r?void 0:r.map(e=>{let{item:t}=e;return a.createElement(S,Object.assign({key:t.date},t))})))}function I(e){let{lazyLoadAllSections:t=!0,sections:n}=e;if(null==n||!n.length)return null;const u=n.map((e,n)=>{const u=(0,c.b)(e),d=n>0||t;if(u&&u in e)switch(u){case"reusableSection":{var m,p;const t=null==e||null===(m=e[u])||void 0===m||null===(p=m.section)||void 0===p?void 0:p[0];if(!t)return null;let c;switch((0,l.t)(t).contentType){case"footer_cta_section":c=a.createElement(i.F,t);break;case"redesign_modular_sections":c=a.createElement(s.G,t);break;case"timeline_section":c=a.createElement(A,t)}return a.createElement(o.e,{key:n,uid:t.uid,internal:t.internal},a.createElement(r.c,{value:{lazyLoad:d}},c))}case"modularSection":{const t=e[u];return t?a.createElement(r.c,{key:n,value:{lazyLoad:d}},a.createElement(s.G,t)):null}}}).filter(Boolean);return null!=u&&u.length?a.createElement(a.Fragment,null,u):null}},75497:function(e,t,n){"use strict";n.d(t,{l:function(){return v}});var a=n(48431),r=n(94162),l=n(77405),o=n(6159),c=n(60911),i=n(66011),s=n(45794),u="Hero-module--hero-background-image--fd1d5",d="Hero-module--hero-background-picture--e6404",m="Hero-module--hero-component--9054c",p="Hero-module--hero-video--d8fa9",f="Hero-module--tint-layer--1fc6c";const g=(0,c.F)("Hero-module--hero-inner--d3147",{variants:{...l.WW,darkMode:{true:"dark-mode"}}});function v(e){let{className:t,backgroundImage:n,backgroundImageSm:v,backgroundVideo:h,background:E,size:b="lg",tint:x,darkMode:y=!0,justifyContent:C="space-between",children:w}=e;const N=(0,i.U)(o.L["md-n-above"]),P=(0,c.cx)(m,t),S=g({className:t,darkMode:y,position:"relative"});let k,T,R,A;if(n){const e=(0,l.aP)({class:d,position:"absolute",width:"full",height:"full",top:"0",left:"0"}),t=(0,l.aP)({class:u,width:"full",height:"full"}),o=(0,s.p)({backgroundImgDesktop:n,backgroundImgMobile:v});k=a.createElement(r.C6,{src:o.xl,srcLg:o.lg,srcMd:o.md,srcSm:o.sm,className:e,imgProps:{className:t},sizes:s.G,maximumPixelDensity:3})}if(null!=h&&h.url&&N){const e=(0,l.aP)({class:p,position:"absolute",top:"0",left:"0",width:"full",height:"full"});T=a.createElement("video",{autoPlay:!0,muted:!0,loop:!0,className:e},a.createElement("source",{src:h.url,type:h.contentType}))}"sm"===b?R="30x":"md"===b?R="50x":"lg"===b&&(R="65x"),x&&(A=a.createElement(l.az,{className:f}));const I={className:S,flexDirection:"column",justifyContent:C,background:E||"surface-raised-2",minHeight:R,gap:"12x"};return a.createElement(l.az,{className:P},a.createElement(l.so,I,k,T,A,w))}},78004:function(e,t,n){"use strict";n.d(t,{sG:function(){return o}});var a=n(48431),r=(n(71098),n(39447)),l=n(42295),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{const n=(0,r.TL)(`Primitive.${t}`),o=a.forwardRef((e,a)=>{const{asChild:r,...o}=e,c=r?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(c,{...o,ref:a})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{})},85426:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var a=n(48431),r=n(42295);function l(e,t=[]){let n=[];const l=()=>{const t=n.map(e=>a.createContext(e));return function(n){const r=n?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return l.scopeName=e,[function(t,l){const o=a.createContext(l),c=n.length;n=[...n,l];const i=t=>{const{scope:n,children:l,...i}=t,s=n?.[e]?.[c]||o,u=a.useMemo(()=>i,Object.values(i));return(0,r.jsx)(s.Provider,{value:u,children:l})};return i.displayName=t+"Provider",[i,function(n,r){const i=r?.[e]?.[c]||o,s=a.useContext(i);if(s)return s;if(void 0!==l)return l;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},o(l,...t)]}function o(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:a})=>({...t,...n(e)[`__scope${a}`]}),{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}},94118:function(e,t,n){"use strict";n.d(t,{mK:function(){return a}});"undefined"==typeof window||!window.document||window.document.createElement;function a(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),!1===n||!a.defaultPrevented)return t?.(a)}}},95362:function(e,t,n){"use strict";n.d(t,{s:function(){return o},t:function(){return l}});var a=n(48431);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let n=!1;const a=e.map(e=>{const a=r(e,t);return n||"function"!=typeof a||(n=!0),a});if(n)return()=>{for(let t=0;t<a.length;t++){const n=a[t];"function"==typeof n?n():r(e[t],null)}}}}function o(...e){return a.useCallback(l(...e),e)}}}]);

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.