hds-web 1.32.1 → 1.32.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -26,4 +26,4 @@ object-assign
26
26
  *
27
27
  * This source code is licensed under the MIT license found in the
28
28
  * LICENSE file in the root directory of this source tree.
29
- */"production"===process.env.NODE_ENV?Noe.exports=function(){if(Soe)return Boe;Soe=1;var e,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen");function d(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case n:case o:case a:case u:case h:return e;default:switch(e=e&&e.$$typeof){case s:case l:case c:case p:case m:case i:return e;default:return f}}case r:return f}}}return e=Symbol.for("react.module.reference"),Boe.ContextConsumer=l,Boe.ContextProvider=i,Boe.Element=t,Boe.ForwardRef=c,Boe.Fragment=n,Boe.Lazy=p,Boe.Memo=m,Boe.Portal=r,Boe.Profiler=o,Boe.StrictMode=a,Boe.Suspense=u,Boe.SuspenseList=h,Boe.isAsyncMode=function(){return!1},Boe.isConcurrentMode=function(){return!1},Boe.isContextConsumer=function(e){return d(e)===l},Boe.isContextProvider=function(e){return d(e)===i},Boe.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Boe.isForwardRef=function(e){return d(e)===c},Boe.isFragment=function(e){return d(e)===n},Boe.isLazy=function(e){return d(e)===p},Boe.isMemo=function(e){return d(e)===m},Boe.isPortal=function(e){return d(e)===r},Boe.isProfiler=function(e){return d(e)===o},Boe.isStrictMode=function(e){return d(e)===a},Boe.isSuspense=function(e){return d(e)===u},Boe.isSuspenseList=function(e){return d(e)===h},Boe.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===o||t===a||t===u||t===h||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===m||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},Boe.typeOf=d,Boe}():Noe.exports=(Voe||(Voe=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen");function d(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var d=e.type;switch(d){case n:case o:case a:case u:case h:return d;default:var v=d&&d.$$typeof;switch(v){case s:case l:case c:case p:case m:case i:return v;default:return f}}case r:return f}}}e=Symbol.for("react.module.reference");var v=l,g=i,b=t,w=c,y=n,x=p,O=m,E=r,j=o,C=a,P=u,M=h,k=!1,S=!1;Roe.ContextConsumer=v,Roe.ContextProvider=g,Roe.Element=b,Roe.ForwardRef=w,Roe.Fragment=y,Roe.Lazy=x,Roe.Memo=O,Roe.Portal=E,Roe.Profiler=j,Roe.StrictMode=C,Roe.Suspense=P,Roe.SuspenseList=M,Roe.isAsyncMode=function(e){return k||(k=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},Roe.isConcurrentMode=function(e){return S||(S=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},Roe.isContextConsumer=function(e){return d(e)===l},Roe.isContextProvider=function(e){return d(e)===i},Roe.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Roe.isForwardRef=function(e){return d(e)===c},Roe.isFragment=function(e){return d(e)===n},Roe.isLazy=function(e){return d(e)===p},Roe.isMemo=function(e){return d(e)===m},Roe.isPortal=function(e){return d(e)===r},Roe.isProfiler=function(e){return d(e)===o},Roe.isStrictMode=function(e){return d(e)===a},Roe.isSuspense=function(e){return d(e)===u},Roe.isSuspenseList=function(e){return d(e)===h},Roe.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===o||t===a||t===u||t===h||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===m||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},Roe.typeOf=d}()),Roe);var Aoe=T(Noe.exports);function Toe(e){const t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}var Hoe={exports:{}},Loe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ioe=/\n/g,Foe=/^\s*/,_oe=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Zoe=/^:\s*/,Doe=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,qoe=/^[;\s]*/,Uoe=/^\s+|\s+$/g,$oe="";function zoe(e){return e?e.replace(Uoe,$oe):$oe}var Woe=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function a(e){var t=e.match(Ioe);t&&(r+=t.length);var a=e.lastIndexOf("\n");n=~a?e.length-a:n+e.length}function o(){var e={line:r,column:n};return function(t){return t.position=new i(e),c(),t}}function i(e){this.start=e,this.end={line:r,column:n},this.source=t.source}function l(a){var o=new Error(t.source+":"+r+":"+n+": "+a);if(o.reason=a,o.filename=t.source,o.line=r,o.column=n,o.source=e,!t.silent)throw o}function s(t){var r=t.exec(e);if(r){var n=r[0];return a(n),e=e.slice(n.length),r}}function c(){s(Foe)}function u(e){var t;for(e=e||[];t=h();)!1!==t&&e.push(t);return e}function h(){var t=o();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;$oe!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,$oe===e.charAt(r-1))return l("End of comment missing");var i=e.slice(2,r-2);return n+=2,a(i),e=e.slice(r),n+=2,t({type:"comment",comment:i})}}function m(){var e=o(),t=s(_oe);if(t){if(h(),!s(Zoe))return l("property missing ':'");var r=s(Doe),n=e({type:"declaration",property:zoe(t[0].replace(Loe,$oe)),value:r?zoe(r[0].replace(Loe,$oe)):$oe});return s(qoe),n}}return i.prototype.content=e,c(),function(){var e,t=[];for(u(t);e=m();)!1!==e&&(t.push(e),u(t));return t}()};function Goe(e,t){var r,n=null;if(!e||"string"!=typeof e)return n;for(var a,o,i=Woe(e),l="function"==typeof t,s=0,c=i.length;s<c;s++)a=(r=i[s]).property,o=r.value,l?t(a,o,r):o&&(n||(n={}),n[a]=o);return n}Hoe.exports=Goe,Hoe.exports.default=Goe;var Qoe=T(Hoe.exports);const Yoe={}.hasOwnProperty,Koe=new Set(["table","thead","tbody","tfoot","tr"]);function Xoe(e,t){const r=[];let n,a=-1;for(;++a<t.children.length;)n=t.children[a],"element"===n.type?r.push(Joe(e,n,a,t)):"text"===n.type?"element"===t.type&&Koe.has(t.tagName)&&Toe(n)||r.push(n.value):"raw"!==n.type||e.options.skipHtml||r.push(n.value);return r}function Joe(e,r,n,a){const o=e.options,i=void 0===o.transformLinkUri?Rte:o.transformLinkUri,l=e.schema,s=r.tagName,c={};let u,h=l;if("html"===l.space&&"svg"===s&&(h=xoe,e.schema=h),r.properties)for(u in r.properties)Yoe.call(r.properties,u)&&tie(c,u,r.properties[u],e);"ol"!==s&&"ul"!==s||e.listDepth++;const m=Xoe(e,r);"ol"!==s&&"ul"!==s||e.listDepth--,e.schema=l;const p=r.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},f=o.components&&Yoe.call(o.components,s)?o.components[s]:s,d="string"==typeof f||f===t.Fragment;if(!Aoe.isValidElementType(f))throw new TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(c.key=n,"a"===s&&o.linkTarget&&(c.target="function"==typeof o.linkTarget?o.linkTarget(String(c.href||""),r.children,"string"==typeof c.title?c.title:null):o.linkTarget),"a"===s&&i&&(c.href=i(String(c.href||""),r.children,"string"==typeof c.title?c.title:null)),d||"code"!==s||"element"!==a.type||"pre"===a.tagName||(c.inline=!0),d||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(c.level=Number.parseInt(s.charAt(1),10)),"img"===s&&o.transformImageUri&&(c.src=o.transformImageUri(String(c.src||""),String(c.alt||""),"string"==typeof c.title?c.title:null)),!d&&"li"===s&&"element"===a.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const r=e.children[t];if("element"===r.type&&"input"===r.tagName)return r}return null}(r);c.checked=e&&e.properties?Boolean(e.properties.checked):null,c.index=eie(a,r),c.ordered="ol"===a.tagName}var v;return d||"ol"!==s&&"ul"!==s||(c.ordered="ol"===s,c.depth=e.listDepth),"td"!==s&&"th"!==s||(c.align&&(c.style||(c.style={}),c.style.textAlign=c.align,delete c.align),d||(c.isHeader="th"===s)),d||"tr"!==s||"element"!==a.type||(c.isHeader=Boolean("thead"===a.tagName)),o.sourcePos&&(c["data-sourcepos"]=[(v=p).start.line,":",v.start.column,"-",v.end.line,":",v.end.column].map(String).join("")),!d&&o.rawSourcePos&&(c.sourcePosition=r.position),!d&&o.includeElementIndex&&(c.index=eie(a,r),c.siblingCount=eie(a)),d||(c.node=r),m.length>0?t.createElement(f,c,m):t.createElement(f,c)}function eie(e,t){let r=-1,n=0;for(;++r<e.children.length&&e.children[r]!==t;)"element"===e.children[r].type&&n++;return n}function tie(e,t,r,n){const a=function(e,t){const r=qae(t);let n=t,a=Uae;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&"data"===r.slice(0,4)&&foe.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(doe,boe);n="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!doe.test(e)){let r=e.replace(voe,goe);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}a=roe}return new a(n,t)}(n.schema,t);let o=r;null!=o&&o==o&&(Array.isArray(o)&&(o=a.commaSeparated?function(e,t){const r=t||{};return(""===e[e.length-1]?[...e,""]:e).join((r.padRight?" ":"")+","+(!1===r.padLeft?"":" ")).trim()}(o):o.join(" ").trim()),"style"===a.property&&"string"==typeof o&&(o=function(e){const t={};try{Qoe(e,r)}catch{}return t;function r(e,r){const n="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[n.replace(/-([a-z])/g,rie)]=r}}(o)),a.space&&a.property?e[Yoe.call(woe,a.property)?woe[a.property]:a.property]=o:a.attribute&&(e[a.attribute]=o))}function rie(e,t){return t.toUpperCase()}const nie={}.hasOwnProperty,aie="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",oie={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function iie(e){for(const t in oie)if(nie.call(oie,t)&&nie.call(e,t)){const e=oie[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <${aie}#${e.id}> for more info)`),delete oie[t]}const r=ore().use(uae).use(e.remarkPlugins||[]).use(_ae,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(koe,e),n=new Dte;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const a=r.runSync(r.parse(n),n);if("root"!==a.type)throw new TypeError("Expected a `root` node");let o=t.createElement(t.Fragment,{},Xoe({options:e,schema:yoe,listDepth:0},a));return e.className&&(o=t.createElement("div",{className:e.className},o)),o}function lie(e){let r="";return r=void 0===e.speakerSet?"flex":"flex tb-l:flex-row flex-col",t.createElement("div",{className:"grid w-full"},t.createElement("div",{className:`${r} w-full max-w-[882px]`},t.createElement("div",{className:"px-8 py-6"+(e.speakerSet?" border-b tb-l:w-[62%] border-b-neutral-150 tb:border-0 tb:border-r tb:border-r-neutral-150":"")},t.createElement(x8,{size:e.badges.size,color:e.badges.color,leftIconVariant:e.badges.leftIconVariant,leftIconColor:e.badges.leftIconColor,children:e.badges.label}),t.createElement(ce,{className:"my-2 text-blue-800",textStyle:"h5"},e.title),e.para&&t.createElement(ce,{className:"line-clamp-3 text-neutral-700",textStyle:"body1c"},e.para)),e.speakerSet&&t.createElement("div",{className:"flex flex-col tb-l:w-[38%] pt-0 tb:pt-[2.875rem] justify-between"},e.speakerSet&&t.createElement("div",{className:"pl-6 flex gap-6 mt-9 tb:mt-0 mb-9 flex-col "},e.speakerSet.map(((e,r)=>t.createElement("div",{key:r,className:""},t.createElement(g8,{name:e.name,size:"md",designation:e.designation,imageUrl:e.imageUrl}))))),t.createElement("div",{className:" w-full border-t border-t-neutral-150 p-6 flex flex-row justify-between items-center"},t.createElement(ce,{textStyle:"h6",className:"text-blue-800"},e.eventTime),t.createElement(V8,{leftIconVariant:"calendarplus02",leftIconColor:"#1E56E3",rightIconVariant:"none",state:"default",size:"sm",type:"iconOnly",label:""})))))}function sie(e){let r="";return r=e.speakerSet?"tb-l:justify-between":"tb-l:justify-center",t.createElement("a",{href:e.readUrl??"#",className:"grid group"},t.createElement("div",{className:"flex flex-col tb-l:flex-row tb-l:justify-between "},t.createElement("div",{className:"px-6 pt-6 tb-l:px-8 tb-l:pb-6 tb-l:border-r tb-l:border-r-neutral-200"},t.createElement("div",{className:"flex flex-row flex-wrap tb:gap-3 gap-2"},e.badges&&e.badges.map(((e,r)=>t.createElement("div",{key:r,className:"flex whitespace-nowrap"},t.createElement(x8,{size:e.size,color:e.color,leftIconVariant:e.leftIconVariant,leftIconColor:e.leftIconColor,leftIconColorClass:A(e.leftIconColorClass),children:e.label}))))),t.createElement("div",{className:"tb-l:w-[380px] db:w-[520px] flex flex-col tb:justify-between"},t.createElement("div",null,t.createElement(ce,{className:"mt-2 text-blue-800",textStyle:"h5"},e.title),e.para&&t.createElement(ce,{className:"line-clamp-3 mt-2 text-neutral-700",textStyle:"body1c"},e.para)),t.createElement("div",{className:"flex pb-6 tb-l:pb-0"},e.readUrl&&e.para&&t.createElement("div",null,t.createElement(V8,{label:e.videoUrl?"Watch Recording":"Read more",type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",className:"mt-2",btnTextColorClass:"text-blue-500",animatedHoverStroke:"stroke-blue-500",btnTextHoverClass:"hover:text-blue-500"}))))),t.createElement("div",{className:`${r} tb-l:divide-y-2 divide-neutral-200 flex tb-l:w-full flex-col pt-0`},e.speakerSet&&t.createElement("div",{className:"px-6 py-6 border-t border-neutral-200 flex flex-col gap-6 tb:mt-0 tb-l:border-0 tb-l:h-full tb-l:justify-center "},e.speakerSet.map(((r,n)=>t.createElement("div",{key:n,className:"block"},t.createElement(g8,{name:r.name,size:"md",designation:r.designation,imageUrl:r.imageUrl,avatarBgColor:e.avatarBgColor}))))),e.eventTime&&t.createElement("div",{className:"border-t border-neutral-200 tb-l:border-0 w-full pl-6 p-6 flex flex-row justify-between items-center"},t.createElement(ce,{textStyle:"h6",className:"text-blue-800 uppercase"},e.eventTime),e.addCalendarUrl&&t.createElement("a",{href:e.addCalendarUrl},t.createElement(V8,{leftIconVariant:"calendarplus02",leftIconColor:"#1E56E3",rightIconVariant:"none",state:"default",size:"sm",type:"iconOnly",label:""}))))))}iie.propTypes={children:se.string,className:se.string,allowElement:se.func,allowedElements:se.arrayOf(se.string),disallowedElements:se.arrayOf(se.string),unwrapDisallowed:se.bool,remarkPlugins:se.arrayOf(se.oneOfType([se.object,se.func,se.arrayOf(se.oneOfType([se.bool,se.string,se.object,se.func,se.arrayOf(se.any)]))])),rehypePlugins:se.arrayOf(se.oneOfType([se.object,se.func,se.arrayOf(se.oneOfType([se.bool,se.string,se.object,se.func,se.arrayOf(se.any)]))])),sourcePos:se.bool,rawSourcePos:se.bool,skipHtml:se.bool,includeElementIndex:se.bool,transformLinkUri:se.oneOfType([se.func,se.bool]),linkTarget:se.oneOfType([se.func,se.string]),transformImageUri:se.func,components:se.object};const cie={withButton:{cardStyle:"p-10 ",iconWidthStyle:"h-20 w-20",iconStyle:"h-10 w-10",titleTextStyle:"h4",titleClasses:"mb-1 text-blue-800 text-hds-m-h4 tb:text-hds-t-h4 db:text-hds-d-h4",descTextStyle:"body1c",descClasses:"text-neutral-1000 text-hds-m-body1c tb:text-hds-t-body1c db:text-hds-d-body1c"},withoutButton:{cardStyle:"p-6",iconWidthStyle:"h-12 w-12",iconStyle:"h-6 w-6",titleTextStyle:"h5",titleClasses:"mb-1 text-blue-600 text-hds-m-h5 tb:text-hds-t-h5 db:text-hds-d-h5",descTextStyle:"body1",descClasses:"text-neutral-1000 text-hds-m-body1 tb:text-hds-t-body1 db:text-hds-d-body1"},sm:{cardStyle:"p-6",iconWidthStyle:"h-12 w-12",iconStyle:"h-6 w-6",titleTextStyle:"body1c-semi-bold",titleClasses:"mb-1 text-neutral-800 text-hds-m-body1c-semi-bold tb:text-hds-t-body1c-semi-bold db:text-hds-d-body1c-semi-bold",descTextStyle:"body3",descClasses:"text-neutral-800 text-hds-m-body3 tb:text-hds-t-body3 db:text-hds-d-body3"}};function uie(e){const r=A(e.iconBg);return t.createElement(t.Fragment,null,e.readMoreBtn&&e.button||!e.readMoreBtn&&!e.button||e.button&&e.button.length>1||!e.linkHover?t.createElement("div",{className:`bg-neutral-0 grid h-full transition-all ease-in-out rounded-3xl ${cie[e.cardType].cardStyle} `+(e.cardBorder?e.cardBorder:"tb:shadow")},t.createElement("div",{className:" self-start"},t.createElement("div",{className:`${r} ${cie[e.cardType].iconWidthStyle} w-12 h-12 flex items-center justify-center rounded-full mb-6`},t.createElement(mz,{height:`stroke-[1.5px] ${cie[e.cardType].iconStyle}`,variant:e.iconVariant,strokeColor:e.iconStroke,strokeClass:A(e.iconStrokeClass)})),t.createElement("div",{className:"flex-1"},e.cardType&&t.createElement(t.Fragment,null,t.createElement(ce,{textStyle:cie[e.cardType].titleTextStyle,className:cie[e.cardType].titleClasses},e.title),t.createElement(ce,{textStyle:cie[e.cardType].descTextStyle,className:`${cie[e.cardType].descClasses} [&>p]:pb-2 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600`},t.createElement(iie,null,e.description))))),e.readMoreBtn&&t.createElement(t.Fragment,null,e.linkHover?t.createElement("a",{href:e.readMoreBtn.cta_link,className:"flex self-end"},t.createElement("div",{className:"flex"},t.createElement(V8,{label:e.readMoreBtn.cta_text,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"",className:" mt-4"}))):t.createElement("div",{className:"flex self-end"},t.createElement(V8,{label:e.readMoreBtn.cta_text,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!1,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-neutral-800",btnTextHoverClass:"",className:" mt-4 hover:cursor-default"}))),e.button&&t.createElement("div",{className:"flex gap-2 "},e.button.map(((e,r)=>t.createElement("a",{href:e.cta_link,key:r,className:"flex self-end mt-7"},t.createElement("div",{className:"flex"},t.createElement(V8,{label:e.cta_text,type:e.cta_type||"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:e.rightAnimatedArrowColor||"#3970FD",btnBgColorClass:e.btnBg,btnTextHoverClass:e.btnTextColorClass,animatedHoverStroke:e.animatedHoverStroke,btnTextColorClass:e.btnTextColorClass}))))))):t.createElement("a",{href:e.readMoreBtn&&!e.button?e.readMoreBtn.cta_link:e.button[0].cta_link,className:`bg-neutral-0 group grid h-full duration-300 transition-all ease-in-out rounded-3xl ${cie[e.cardType].cardStyle} `+(e.cardBorder?e.cardBorder:"tb:shadow")+(e.readMoreBtn||e.button||e.linkHover?" hover:shadow-lg hover:translate-y-0.5 ":"")},t.createElement("div",{className:" self-start"},t.createElement("div",{className:`${r} ${cie[e.cardType].iconWidthStyle} w-12 h-12 flex items-center justify-center rounded-full mb-6`},t.createElement(mz,{height:`stroke-[1.5px] ${cie[e.cardType].iconStyle}`,variant:e.iconVariant,strokeColor:e.iconStroke,strokeClass:A(e.iconStrokeClass)})),t.createElement("div",{className:"flex-1"},e.cardType&&t.createElement(t.Fragment,null,t.createElement(ce,{textStyle:cie[e.cardType].titleTextStyle,className:cie[e.cardType].titleClasses},e.title),t.createElement(ce,{textStyle:cie[e.cardType].descTextStyle,className:`${cie[e.cardType].descClasses} [&>p]:pb-2 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600`},t.createElement(iie,null,e.description))))),e.readMoreBtn&&t.createElement("div",{className:"flex self-end"},t.createElement(V8,{label:e.readMoreBtn.cta_text,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"",className:" mt-4"})),e.button&&t.createElement("div",{className:"flex pt-4 gap-2 self-end"},e.button.map(((e,r)=>t.createElement("div",{className:"flex"},t.createElement(V8,{label:e.cta_text,type:e.cta_type||"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:e.rightAnimatedArrowColor||"#3970FD",btnBgColorClass:e.btnBg,btnTextHoverClass:e.btnTextColorClass,animatedHoverStroke:e.animatedHoverStroke,btnTextColorClass:e.btnTextColorClass})))))))}function hie(e){return t.createElement("a",{href:e.linkUrl,className:" bg-neutral-0 rounded-3xl mb-s:flex items-center shadow-sm"},t.createElement("div",{className:"h-full w-full mb-s:max-w-[142px]"},t.createElement("img",{className:" w-full rounded-t-3xl mb-s:rounded-tr-none mb-s:rounded-s-3xl h-full",src:e.imgUrl,alt:e.imgAlt})),t.createElement("div",{className:"p-4 mb-m:p-6"},t.createElement(ce,{textStyle:"h5",as:"h5",className:"text-neutral-1000 pb-2"},e.title),t.createElement(ce,{textStyle:"body3",className:" text-neutral-600"},e.description)))}function mie(e){return t.createElement(t.Fragment,null,t.createElement("div",null,t.createElement("a",{href:e.sliderLink},t.createElement("div",{className:`${A(e.cardBg)}bg-neutral-0 shadow hover:transition-all hover:ease-in-out hover:duration-300 hover:border-opacity-0 min-h-[443px] min-w-[312px] tb:max-w-[763px] tb:min-h-[245px] rounded-3xl tb:p-8 p-4`},t.createElement("div",{className:"flex flex-col-reverse tb:flex-row justify-between gap-4 items-center"},t.createElement("div",{className:"tb:max-w-[393px] mt-8 tb:mt-0"},t.createElement(x8,{color:e.badge.color,children:e.badge.label,text_color:"text-neutral-0"}),t.createElement(ce,{textStyle:"h4",className:"mt-2 text-neutral-1000 max-w-[326px]"},e.title),t.createElement(ce,{textStyle:"sub2",className:"mt-2 text-neutral-600"},e.subTitle)),t.createElement("div",{className:"flex justify-center h-full items-center"},t.createElement("img",{src:e.imageUrl,alt:e.title,className:"tb:max-w-[290px] rounded-lg flex items-center justify-center tb:max-h-[181px]"})))))))}uie.defaultProps={cardType:"withoutButton",iconStrokeClass:"stroke-neutral-1000",linkHover:"true"},mz.propTypes={cardType:se.oneOf(["withoutButton","withButton","sm"])};const pie={withButton:{cardStyle:"p-10 ",iconWidthStyle:"h-20 w-20",iconStyle:"h-10 w-10",titleTextStyle:"h4",titleClasses:"mb-1 text-hds-m-h4 tb:text-hds-t-h4 db:text-hds-d-h4",descTextStyle:"body1c",descClasses:"text-hds-m-body1c tb:text-hds-t-body1c db:text-hds-d-body1c"},withoutButton:{cardStyle:"p-6",iconWidthStyle:"h-12 w-12",iconStyle:"h-6 w-6",titleTextStyle:"h5",titleClasses:"mb-1 text-blue-600 text-hds-m-h5 tb:text-hds-t-h5 db:text-hds-d-h5",descTextStyle:"body1",descClasses:"text-neutral-1000 text-hds-m-body1 tb:text-hds-t-body1 db:text-hds-d-body1"},sm:{cardStyle:"p-6",iconWidthStyle:"h-12 w-12",iconStyle:"h-6 w-6",titleTextStyle:"body3c",titleClasses:"mb-1 text-neutral-800 text-hds-m-body3c-bold tb:text-hds-t-body3c-bold db:text-hds-d-body3c-bold",descTextStyle:"body3",descClasses:"text-neutral-800 text-hds-m-body3 tb:text-hds-t-body3 db:text-hds-d-body3"}};function fie(e){const r=e.iconBg?A(e.iconBg):"",n=e.titleColorClass?A(e.titleColorClass):"text-neutral-1000",a=e.descColorClass?A(e.descColorClass):"text-neutral-800";return t.createElement(t.Fragment,null,t.createElement("div",null,e.imgUrl?t.createElement("div",{className:`${pie[e.cardType].iconWidthStyle} w-12 h-12 inline-flex items-center justify-center rounded-full mb-6`},t.createElement("img",{className:"w-full",src:e.imgUrl,alt:e.title})):t.createElement("div",{className:`${r} ${pie[e.cardType].iconWidthStyle} w-12 h-12 flex items-center justify-center rounded-full mb-6`},t.createElement(mz,{height:`stroke-[1.5px] ${pie[e.cardType].iconStyle}`,variant:e.iconVariant,strokeColor:e.iconStroke,strokeClass:A(e.iconStrokeClass)})),e.cardType&&t.createElement(t.Fragment,null,t.createElement(ce,{textStyle:pie[e.cardType].titleTextStyle,className:`${pie[e.cardType].titleClasses} ${n}`},e.title),t.createElement(ce,{textStyle:pie[e.cardType].descTextStyle,className:`${pie[e.cardType].descClasses} ${a} [&>p]:${a} [&>p]:pb-2 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600`},t.createElement(iie,null,e.description)))),e.button&&t.createElement("div",{className:"inline-flex pt-6"},t.createElement(V8,{label:e.button.cta_text,type:e.button.cta_type||"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:e.button.rightAnimatedArrowColor||"#3970FD",btnBgColorClass:e.button.btnBg,btnTextHoverClass:e.button.btnTextColorClass,animatedHoverStroke:e.button.animatedHoverStroke,btnTextColorClass:e.button.btnTextColorClass})))}function die(e){return t.createElement(t.Fragment,null,t.createElement(t.Fragment,null,t.createElement("div",{className:"pt-10 db:pt-20"},t.createElement(ce,{textStyle:"h6",as:"h6",className:"pb-6 db:pb-10 text-center text-neutral-400 uppercase"},"40+ of the fortune100 companies use hasura"),t.createElement("div",{className:"gridAutoClass"},e.imgArray.map(((e,r)=>t.createElement("div",{key:r,className:"border"},t.createElement("img",{src:e.imgSrc,alt:e.imgAlt}))))))))}function vie(e){return t.createElement("div",null,t.createElement("div",{className:"tb-l:flex mb-2 tb-l:mb-0 flex w-full tb-l:bg-neutral-150 flex-col tb-l:flex-row max-w-7xl tb-l:gap-2 rounded-2xl "},e.primaryCard&&t.createElement("div",{className:""},t.createElement("div",{className:" bg-neutral-0 rounded-2xl h-full w-full min-w-[250px]"},t.createElement(Ste,e.primaryCard))),t.createElement("div",{className:"tb-l:flex-row tb-l:flex mt-2 flex flex-col gap-2 tb-l:mt-0"},e.secondaryCardArr&&e.secondaryCardArr.map(((e,r)=>t.createElement("div",{key:r,className:(e.card_bg,"bg-neutral-0 rounded-2xl")},t.createElement(kte,{label:e.label,childArray:e.childArray,split:e.split}))))),e.flyoutD&&t.createElement(t.Fragment,null,t.createElement("div",{className:" bg-neutral-0 shadow rounded-2xl w-full tb-l:w-[170px] tb-xl:w-[223px] px-6 py-6 mt-2 tb-l:mt-0"},t.createElement("div",null,t.createElement(Bte,e.flyoutD))))))}function gie(e){let r="";return e.logoBg&&(r=A(e.logoBg)),t.createElement("a",{href:e.caseStudyUrl,className:"group bg-neutral-0 rounded-3xl shadow p-6 tb-l:p-10 grid mb-6 db-s:mb-0 last:mb-0 flex-1 max-w-[920px] mx-auto flex-col transition-all duration-300 ease-in-out hover:shadow-lg hover:translate-y-0.5"},t.createElement("div",{className:" self-start"},t.createElement(g8,{name:e.speakerName,size:"xl",designation:e.speakerDesignation,imageUrl:e.speakerImgUrl,avatarVariant:"circle",avatarType:"secondary"}),t.createElement("div",{className:e.dividerClass?"py-8":"py-6"},t.createElement(ce,{textStyle:"sub2",className:"text-neutral-600"},e.description))),t.createElement("div",{className:" self-end"},e.dividerClass&&t.createElement("div",{className:`${A(e.dividerClass)} mb-2`}),t.createElement("div",{className:"mb-s:flex items-start"+(e.dividerClass?" pt-6":"mt-0")},t.createElement("div",{className:"border border-neutral-150 p-2 flex items-center justify-center rounded-2xl "+r+(e.dividerClass?" w-[72px] h-[56px] min-w-[72px]":" w-[112px] h-[90px] min-w-[112px] ")},t.createElement("img",{className:"max-h-[20px]",src:e.brandImgUrl,alt:e.brandImgAlt})),t.createElement("div",{className:"pt-4 mb-s:pt-0 "+(e.dividerClass?"mb-s:pl-6":"mb-s:pl-8")},t.createElement(ce,{textStyle:e.dividerClass?"body2":"body1",className:"text-neutral-600 pb-1"},e.blurb),t.createElement("div",{className:"flex"},t.createElement(V8,{label:e.ctaText,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",className:"mt-0 justify-start",btnTextColorClass:"text-blue-500",btnTextHoverClass:"hover:text-blue-500",animatedHoverStroke:"group-hover:stroke-blue-500"}))))))}function bie(e){return t.createElement(t.Fragment,null,t.createElement("a",{href:e.linkUrl,className:"rounded-2xl p-6 h-full flex flex-col justify-between"},e.brandImageUrl?t.createElement("div",{className:"flex flex-col"},e.iconArrowVariant&&t.createElement("div",{className:"flex justify-end items-end"},t.createElement(mz,{height:"w-6 h-6 stroke-[1.5px] stroke-blue-400",variant:e.iconArrowVariant,strokeColor:e.iconArrowStrokeColor,strokeClass:A(e.iconArrowStrokeClass)})),t.createElement("img",{src:e.brandImageUrl,alt:e.brandImageAlt})):t.createElement(t.Fragment,null,t.createElement("div",{className:"flex items-center"},t.createElement("div",{className:"flex items-center flex-1 pb-2"},e.iconVariant&&t.createElement(mz,{height:"w-6 h-6 mr-2 stroke-[1.5px] ",variant:e.iconVariant,strokeColor:e.iconStrokeColor,strokeClass:A(e.iconStrokeClass)}),t.createElement(ce,{as:"h5",textStyle:"body1c-bold",className:A(e.titleTextColor)},e.title)),e.iconArrowVariant&&t.createElement(mz,{height:"w-6 h-6 stroke-[1.5px] stroke-blue-400",variant:e.iconArrowVariant,strokeColor:e.iconArrowStrokeColor,strokeClass:A(e.iconArrowStrokeClass)})),e.description&&t.createElement("div",null,t.createElement(ce,{textStyle:"body3",className:`${A(e.descTextColor)} mt-2`},e.description)))))}function wie(e){return A(e.iconBg),t.createElement(t.Fragment,null,t.createElement("div",{className:`p-8 ${e.cardBg} min-w-[18rem] rounded-3xl`},e.title&&t.createElement(ce,{textStyle:"h6",className:`uppercase ${e.title_text_color}`},e.title),t.createElement("div",{className:"mt-6"},e.resourcesArr.map(((e,r)=>t.createElement("a",{key:r,href:e.cta_linkUrl,className:"flex gap-2 mt-4"},t.createElement(mz,{height:"w-6 h-6 mr-2 stroke-[1.5px] stroke-blue-600",variant:e.cta_icon,strokeClass:e.cta_stroke}),t.createElement(ce,{textStyle:"body2c",className:e.cta_text_color},e.cta_text)))))))}function yie(e){const n="undefined"!=typeof window;A(e.badgeLeftIconColor);const[o,i]=r(!1);return a((()=>{if(n&&"localStorage"in window&&window.localStorage&&"getItem"in window.localStorage){window.localStorage.getItem("hasCon2023TalkVideoConsent")&&i(!0)}}),[]),t.createElement("div",{className:"grid grid-cols-1 tb-m:grid-cols-2 gap-6 db:gap-28 tb-m:gap-16"},t.createElement("div",{className:"tb-m:sticky tb-m:self-start tb-m:top-36"},t.createElement("div",{className:"flex flex-row flex-wrap tb:gap-3 gap-2"},e.badges&&e.badges.map(((e,r)=>t.createElement("div",{key:r,className:"flex whitespace-nowrap"},t.createElement(x8,{size:e.size,color:e.color,leftIconVariant:e.leftIconVariant,leftIconColor:e.leftIconColor,leftIconColorClass:A(e.leftIconColorClass),children:e.label}))))),e.tag_line&&t.createElement(ce,{textStyle:"h6",className:"text-blue-600 uppercase pt-4 pb-2"},e.tag_line),e.title&&t.createElement(ce,{textStyle:"h3",as:"h3",className:"text-blue-900 pb-6 db:pb-0"},e.title),e.social_share&&t.createElement("div",{className:"flex pb-6 tb:pt-0 tb:pb-0 items-center "},e.social_share.map(((e,r)=>t.createElement("a",{key:r,href:e.share_url,className:"mx-2 first:ml-0 last:mr-0"},t.createElement("img",{src:e.img_url,alt:e.img_alt}))))),e.speaker_card&&t.createElement("div",{className:"border-t border-neutral-200 border-b pb-6 tb:border-0 tb:pb-0"},t.createElement(ce,{textStyle:"h6",as:"h6",className:"uppercase text-neutral-500 pb-6 pt-6 tb:pt-14"},"speakers"),e.speaker_card.map(((r,n)=>t.createElement("div",{key:n,className:"pb-4 last:pb-0"},t.createElement(g8,{name:r.name,size:"md",designation:r.designation,imageUrl:r.imageUrl,avatarVariant:"circle",avatarBgColor:e.avatarBgColor})))))),t.createElement("div",null,e.videoUrl&&t.createElement("div",{className:"pb-6"},o?t.createElement(t.Fragment,null,t.createElement("div",{className:"relative pb-[56.2%]"},t.createElement("iframe",{loading:"lazy",title:e.title,src:e.videoUrl,frameBorder:"0",allowFullScreen:!0,className:"absolute w-full h-full"}))):t.createElement("div",{className:"p-5 md:pt-10 md:px-6 lg:px-9 rounded-3xl border border-neutral-200"},t.createElement(ce,{textStyle:"h6",as:"h6",className:"text-neutral-800 uppercase flex items-center"},t.createElement(mz,{height:"w-6 h-6 mr-3 stroke-neutral-800 stroke-[1.5px]",variant:"ticket01",strokeColor:"#1F2A37"}),e.formTitle),t.createElement(n8,{onSubmitCB:()=>{n&&window.localStorage.setItem("hasCon2023TalkVideoConsent","true")},formId:e.paperformId,styleClass:"paper-form-wrapper"}))),t.createElement(ce,{textStyle:"h4",as:"h4",className:"text-neutral-800 pb-4"},"About the Talk"),e.description&&t.createElement(ce,{className:"text-neutral-800 [&>p]:pb-2 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0",textStyle:"body1"},t.createElement(iie,null,e.description))))}fie.defaultProps={cardType:"withoutButton",iconStrokeClass:"stroke-neutral-1000",iconVariant:"cube01"},fie.propTypes={cardType:se.oneOf(["withoutButton","withButton","sm"])},die.defaultProps={rotate:"false",imgArray:[{imgSrc:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1682487186/hasura-con-2023/costco_eb2lmu.png",imgAlt:""},{imgSrc:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1682487186/hasura-con-2023/verizon_sj4rgc.png",imgAlt:""},{imgSrc:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1682487186/hasura-con-2023/costco_eb2lmu.png",imgAlt:""},{imgSrc:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1682487186/hasura-con-2023/costco_eb2lmu.png",imgAlt:""}]},vie.defaultProps={secondaryCardArr:[{childArray:[{description:"",href:"#",icon:"cube01",name:"Analytics"},{description:"",href:"#",icon:"cube01",name:"Engagement"},{description:"",href:"#",icon:"cube01",name:"Security"},{description:"",href:"#",icon:"cube01",name:"Security"},{description:"",href:"#",icon:"cube01",name:"Security"}],label:"Label1"}]},gie.defaultProps={ctaText:"Read the case study"},bie.defaultProps={descTextColor:"",titleTextColor:"",brandImageUrl:"",brandImageAlt:"",linkUrl:"#",iconVariant:"videorecorder",iconStrokeColor:"blue-500",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},wie.defaultProps={cardBg:"bg-neutral-0",title:"Resources Card",title_text_color:"text-blue-600",resourcesArr:[{cta_text:"This is one really long link that may spill onto the next line",cta_icon:"linkexternal01",cta_text_color:"text-neutral-700 hover:text-blue-600 ",cta_stroke:"stroke-blue-600",cta_linkUrl:"#"},{cta_text:"This is a regular link that fits in one line",cta_text_color:"text-neutral-700",cta_icon:"linkexternal01",cta_stroke:"stroke-blue-600",cta_linkUrl:"#"},{cta_text:"text3",cta_text_color:"text-neutral-700",cta_icon:"linkexternal01",cta_stroke:"stroke-blue-600",cta_linkUrl:"#"},{cta_text:"text4",cta_text_color:"text-neutral-700",cta_icon:"linkexternal01",cta_stroke:"stroke-blue-600",cta_linkUrl:"#"}]},yie.defaultProps={};const xie=()=>t.createElement("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M8.67602 24.7482C16.8006 24.7482 21.2437 18.0172 21.2437 12.1806C21.2437 11.9893 21.2398 11.7991 21.2309 11.6096C22.0934 10.9861 22.8431 10.208 23.4345 9.32253C22.6431 9.67415 21.7914 9.91094 20.8979 10.0177C21.8098 9.47092 22.5101 8.60557 22.8404 7.5742C21.9868 8.08033 21.0417 8.44812 20.0358 8.64646C19.2294 7.78796 18.0815 7.25098 16.8114 7.25098C14.3718 7.25098 12.3935 9.22924 12.3935 11.6676C12.3935 12.0143 12.4325 12.3513 12.5079 12.6747C8.83714 12.4903 5.58191 10.7325 3.4036 8.06001C3.02381 8.71257 2.80515 9.47116 2.80515 10.2799C2.80515 11.8123 3.58504 13.1652 4.77092 13.9568C4.04637 13.9345 3.36564 13.7352 2.77038 13.4042C2.7694 13.4225 2.7694 13.4411 2.7694 13.4605C2.7694 15.5999 4.29221 17.3859 6.31308 17.7907C5.94211 17.8918 5.55179 17.9462 5.14875 17.9462C4.86421 17.9462 4.58752 17.9178 4.31841 17.8666C4.88062 19.6213 6.51142 20.8985 8.44486 20.9345C6.93283 22.1194 5.02827 22.8253 2.95892 22.8253C2.60265 22.8253 2.25102 22.805 1.90527 22.7641C3.86002 24.0168 6.18109 24.7482 8.67602 24.7482Z",fill:"#00acee"}));function Oie(e){return t.createElement("a",{href:e.linkUrl},t.createElement("div",{className:"p-5 tb:p-8 bg-neutral-0 shadow-sm rounded-3xl mx-5"},t.createElement(xie,null),t.createElement(ce,{textStyle:"h5",as:"h5",className:"text-neutral-1000 py-4"},e.name),t.createElement(ce,{textStyle:"body1",className:"text-neutral-500"},e.tweets)))}const Eie={blue:"bg-neutral-0 tb:bg-blue-500 text-blue-500 tb:text-neutral-0",purple:"bg-neutral-0 tb:bg-purple-500 text-purple-500 tb:text-neutral-0",pink:"bg-neutral-0 tb:bg-pink-500 text-pink-500 tb:text-neutral-0",amber:"bg-neutral-0 tb:bg-amber-500 text-amber-500 tb:text-neutral-0",cyan:"bg-neutral-0 tb:bg-cyan-500 text-cyan-500 tb:text-neutral-0",green:"bg-neutral-0 tb:bg-green-500 text-green-500 tb:text-neutral-0"};function jie(e){const r=e.bgColorClass?A(e.bgColorClass):"bg-neutral-0",n=e.linkTextColorClass?A(e.linkTextColorClass):"text-neutral-600";return t.createElement("div",{className:`${r} rounded-2xl tb:rounded-full shadow p-3 tb:py-2 tb:px-2 inline-flex items-center`},t.createElement("div",{className:"block items-center tb:flex"},e.tagText&&t.createElement(ce,{textStyle:"body2-medium",className:`inline-flex pl-0 tb:py-1 tb:px-3 rounded-full mr-4 min-w-fit ${Eie[e.tagColor]}`},e.tagText),t.createElement("a",{href:e.linkUrl,className:"pl-0 px-3 block tb:px-0 tb:pb-0"},t.createElement(ce,{textStyle:"body2-medium",className:`${n} group flex items-center`},e.linkText,t.createElement(mz,{height:"block w-6 h-6 stroke-2 ml-2 mr-1 transition ease-in-out group-hover:translate-x-[5px]",variant:"arrownarrowright",strokeClass:"stroke-blue-500"})))))}const Cie={blue:"bg-neutral-0 tb:bg-blue-500 text-blue-500 tb:text-neutral-0",purple:"bg-neutral-0 tb:bg-purple-500 text-purple-500 tb:text-neutral-0",pink:"bg-neutral-0 tb:bg-pink-500 text-pink-500 tb:text-neutral-0",amber:"bg-neutral-0 tb:bg-amber-500 text-amber-500 tb:text-neutral-0",cyan:"bg-neutral-0 tb:bg-cyan-500 text-cyan-500 tb:text-neutral-0",green:"bg-neutral-0 tb:bg-green-500 text-green-500 tb:text-neutral-0"},Pie="undefined"!=typeof window;function Mie(e){const[n,o]=r(!0),i=e.bgColorClass?A(e.bgColorClass):"bg-neutral-0",l=e.linkTextColorClass?A(e.linkTextColorClass):"text-neutral-600",s=e.tagColor?e.tagColor:"purple",c=e.iconBgColor?A(e.iconBgColor):"bg-blue-200",[u,h]=r(!1);return a((()=>{if(Pie&&"sessionStorage"in window&&window.sessionStorage&&"getItem"in window.sessionStorage){window.sessionStorage.getItem("announcementConsent")&&h(!0)}}),[]),n&&!u?t.createElement("div",{className:"py-6"},t.createElement("div",{className:`${i} flex justify-between relative rounded-2xl tb:rounded-full shadow p-4 tb:justify-center tb:items-center`},t.createElement("div",{className:"tb:items-center flex tb:justify-center"},e.brandImg&&t.createElement("div",{className:"tb:pb-0 tb:pl-14 pr-2"},t.createElement("img",{className:"mt-[2px] tb:mt-0 min-h-[20px] min-w-[20px] max-w-[20px] max-h-[20px] tb:min-h-[32px] tb:min-w-[32px] tb:max-w-[32px] tb:max-h-[32px]",src:e.brandImg,alt:e.brandImgAlt})),e.iconBgColor&&t.createElement("div",{className:`${c} mt-[2px] tb:mt-0 ml-0 mb-1 tb:mb-0 tb:ml-14 mr-2 w-5 h-5 tb:w-8 tb:h-8 min-w-[20px] tb:min-w-[32px] rounded-full flex items-center justify-center`},t.createElement(mz,{height:"block w-4 h-4 tb:w-5 tb:h-5 stroke-[2px] transition ease-in-out",variant:e.iconVariant,strokeClass:"stroke-neutral-1000"})),e.tagText&&t.createElement(ce,{textStyle:"body2-medium",className:`inline-flex py-1 px-0 tb:px-3 ml-0 tb:ml-14 tb-m:ml-6 rounded-full mr-4 min-w-fit ${Cie[s]}`},e.tagText),t.createElement("a",{href:e.linkUrl,className:"block pb-0"},t.createElement(ce,{textStyle:"body2-medium",className:`${l} group flex items-center [&>div]:inline-block`},e.linkText,t.createElement(mz,{height:" hds-hidden tb:block w-6 h-6 stroke-[2px] ml-3 transition ease-in-out group-hover:translate-x-[5px]",variant:"arrownarrowright",strokeClass:"stroke-blue-500"})))),t.createElement("div",{className:"static mt-[2px] tb:mt-0 ml-3 tb:ml-0 tb:absolute top-1/2 tb:-translate-y-1/2 tb:left-6 cursor-pointer w-5 h-5 min-w-[20px] tb:w-8 tb:min-w-[32px] tb:h-8 rounded-full bg-neutral-100 flex items-center justify-center",onClick:()=>(o(!1),void(Pie&&window.sessionStorage.setItem("announcementConsent","true")))},t.createElement(mz,{height:"block w-4 h-4 tb:w-6 tb:h-6 stroke-[2px] transition ease-in-out",variant:"xclose",strokeClass:"stroke-neutral-800"})))):null}function kie(e){const[n,a]=r(!1),o=e=>(e=e.card,t.createElement(t.Fragment,null,t.createElement("div",{className:" backdrop-blur-lg bg-neutral-1000 bg-opacity-20 rounded-[6px] w-[220px] h-[428px] flex flex-col justify-between "},t.createElement("div",{className:"h-[428px]"},t.createElement("div",{className:" pt-8 pl-6"},t.createElement("img",{src:e.title_img,alt:"Card",className:" inline-block w-16 "})),e.subtitle&&t.createElement("div",{className:"mt-6 px-6 font-petrona text-base font-normal text-neutral-0 "},e.subtitle)),t.createElement("div",{className:"pl-6 pb-8"},e.avatar.img_url&&t.createElement("img",{className:` w-14 h-14 shadow rounded-full ${e.avatarBgColor??"bg-neutral-0"} rounded inline-block`,alt:"avatar",src:e.avatar.img_url}),t.createElement("div",{className:" pt-3"},e.avatar&&e.avatar.name&&t.createElement(ce,{textStyle:"body2c-bold",className:" text-neutral-0"},e.avatar.name),e.avatar&&e.avatar.designation&&t.createElement(ce,{textStyle:"body3c",className:" text-neutral-0 mt-1"},e.avatar.designation)))))),i=e=>(e=e.cardHover,t.createElement("div",{className:"h-[428px]"},t.createElement("div",{className:`${A(e.cardBg)} rounded-[6px] w-[220px] justify-between h-[428px] flex flex-col`},t.createElement("div",{className:" "},t.createElement("div",{className:"pt-8 pl-6 "},t.createElement("img",{src:e.img_url,alt:"Card",className:" inline-block max-w-[148px]"})),t.createElement("div",{className:"mt-6 px-6 text-xl leading-[27px] font-semibold text-neutral-0"},e.title)),t.createElement("div",{className:"flex pb-8 pl-6 pt-5"},t.createElement("a",{href:e?.slideCTA||""},t.createElement(V8,{className:"flex",label:e.button.cta_text,type:"secondaryLink",btnTextHoverClass:"hover:text-neutral-0",btnTextColorClass:"text-neutral-0"}))))));return t.createElement("div",{className:" w-[220px] h-[428px] rounded-2xl",onMouseEnter:()=>{a(!0)},onMouseLeave:()=>{a(!1)}},t.createElement("div",{className:"transition-all max-w-[220px] absolute left-0 top-0 ease-in-out rounded-[6px] duration-300 "+(n?"opacity-0 ":"opacity-100")},t.createElement(o,{card:e.card})),t.createElement("div",{className:"transition-al absolute left-0 top-0 ease-in-out rounded-[6px] duration-300 "+(n?"opacity-100":"opacity-0")},t.createElement(i,{cardHover:e.cardHover})))}function Sie(e){return t.createElement(t.Fragment,null,t.createElement("div",{className:"relative overflow-hidden"},t.createElement("div",{className:"absolute z-50 right-[4px] rounded-[6px] hidden min-[699px]:block w-[220px] h-[428px] top-[4px] bg-neutral-0/40"},t.createElement(kie,{card:e.testimonial.card,cardHover:e.testimonial.cardHover})),t.createElement("div",{className:" relative hidden w-[580px] h-[436px] rounded-2xl min-[699px]:flex justify-center items-center"},t.createElement("div",{className:"w-[580px] h-[436px] rounded-lg flex flex-col items-center justify-center overflow-hidden"},t.createElement("div",{className:""},t.createElement("div",{className:""},t.createElement("video",{autoPlay:!0,loop:!0,muted:!0,className:" object-fill max-w-full max-h-full scale-150",src:e.video_url}),t.createElement("div",{className:"w-full relative z-50 flex-col flex items-center"},t.createElement("div",{className:"relative top-[55px] left-[0px] w-[147px] h-[3px] bg-neutral-0/20"})))))),t.createElement("div",{className:"overflow-x-hidden w-screen min-[699px]:hidden"},t.createElement("div",{className:"max-[375]:h-[684px] h-[600px] rounded flex flex-col items-center justify-cente overflow-hidden"},t.createElement("div",{className:""},t.createElement("div",{className:""},t.createElement("div",{className:"h-[348px]"},t.createElement("video",{autoPlay:!0,loop:!0,muted:!0,className:" object-fill max-w-full max-h-full min-[699px]:scale-[1.7]",src:e.video_url})),t.createElement("div",{className:"absolute max-[365px]:h-[657px] h-[600px] z-50 top-[72px] px-4"},t.createElement("div",{className:""},t.createElement(gie,{brandImgUrl:e.testimonial.card.title_img,brandImgAlt:e.testimonial.card.avatar.name,description:e.testimonial.card.subtitle,speakerName:e.testimonial.card.avatar.name,speakerDesignation:e.testimonial.card.avatar.designation,speakerImgUrl:e.testimonial.card.avatar.img_url,blurb:e.testimonial.cardHover.title,dividerClass:"border-b border-neutral-150",caseStudyUrl:e.testimonial.cardHover.button.cta_text})))))))))}kie.defaultProps={card:{cardBg:"",img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1679302435/main-web/roadshow/nagaraja-nayak_l4xte5.png",title_img:"Optum",img_alt:"optum",subtitle:"“Optum goes from concept to production in 100 days with Hasura”",avatar:{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1679302435/main-web/roadshow/nagaraja-nayak_l4xte5.png",name:"Nagaraja Nayak",designation:"Optum",avatarBgColor:"bg-yellow-400"}},cardHover:{cardBg:"bg-green-500",img_url:"",img_alt:"",title:"Optum goes from concept to production in 100 days with Hasura",button:{cta_text:"Read the case Study"}}};const Nie=o({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Bie=o({}),Vie=o(null),Rie="undefined"!=typeof document,Aie=Rie?h:a,Tie=o({strict:!1});function Hie(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Lie(e){return"string"==typeof e||Array.isArray(e)}function Iie(e){return"object"==typeof e&&"function"==typeof e.start}const Fie=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_ie=["initial",...Fie];function Zie(e){return Iie(e.animate)||_ie.some((t=>Lie(e[t])))}function Die(e){return Boolean(Zie(e)||e.variants)}function qie(e){const{initial:t,animate:r}=function(e,t){if(Zie(e)){const{initial:t,animate:r}=e;return{initial:!1===t||Lie(t)?t:void 0,animate:Lie(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,v(Bie));return y((()=>({initial:t,animate:r})),[Uie(t),Uie(r)])}function Uie(e){return Array.isArray(e)?e.join(" "):e}const $ie={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},zie={};for(const e in $ie)zie[e]={isEnabled:t=>$ie[e].some((e=>!!t[e]))};const Wie=o({}),Gie=o({}),Qie=Symbol.for("motionComponentSymbol");function Yie({preloadedFeatures:t,createVisualElement:r,useRender:o,useVisualState:i,Component:l}){t&&function(e){for(const t in e)zie[t]={...zie[t],...e[t]}}(t);const s=m((function(s,c){let u;const h={...v(Nie),...s,layoutId:Kie(s)},{isStatic:m}=h,p=qie(s),f=i(s,m);if(!m&&Rie){p.visualElement=function(e,t,r,o){const{visualElement:i}=v(Bie),l=v(Tie),s=v(Vie),c=v(Nie).reducedMotion,u=n();o=o||l.renderer,!u.current&&o&&(u.current=o(e,{visualState:t,parent:i,props:r,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:c}));const h=u.current;return x((()=>{h&&h.update(r,s)})),Aie((()=>{h&&h.render()})),a((()=>{h&&h.updateFeatures()})),(window.HandoffAppearAnimations?Aie:a)((()=>{h&&h.animationState&&h.animationState.animateChanges()})),h}(l,f,h,r);const e=v(Gie),o=v(Tie).strict;p.visualElement&&(u=p.visualElement.loadFeatures(h,o,t,e))}return e.createElement(Bie.Provider,{value:p},u&&p.visualElement?e.createElement(u,{visualElement:p.visualElement,...h}):null,o(l,s,function(e,t,r){return w((n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):Hie(r)&&(r.current=n))}),[t])}(f,p.visualElement,c),f,m,p.visualElement))}));return s[Qie]=l,s}function Kie({layoutId:e}){const t=v(Wie).id;return t&&void 0!==e?t+"-"+e:e}function Xie(e){function t(t,r={}){return Yie(e(t,r))}if("undefined"==typeof Proxy)return t;const r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}const Jie=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ele(e){return"string"==typeof e&&!e.includes("-")&&!!(Jie.indexOf(e)>-1||/[A-Z]/.test(e))}const tle={};const rle=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],nle=new Set(rle);function ale(e,{layout:t,layoutId:r}){return nle.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!tle[e]||"opacity"===e)}const ole=e=>Boolean(e&&e.getVelocity),ile={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},lle=rle.length;const sle=e=>t=>"string"==typeof t&&t.startsWith(e),cle=sle("--"),ule=sle("var(--"),hle=(e,t)=>t&&"number"==typeof e?t.transform(e):e,mle=(e,t,r)=>Math.min(Math.max(r,e),t),ple={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},fle={...ple,transform:e=>mle(0,1,e)},dle={...ple,default:1},vle=e=>Math.round(1e5*e)/1e5,gle=/(-)?([\d]*\.?[\d])+/g,ble=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,wle=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function yle(e){return"string"==typeof e}const xle=e=>({test:t=>yle(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Ole=xle("deg"),Ele=xle("%"),jle=xle("px"),Cle=xle("vh"),Ple=xle("vw"),Mle={...Ele,parse:e=>Ele.parse(e)/100,transform:e=>Ele.transform(100*e)},kle={...ple,transform:Math.round},Sle={borderWidth:jle,borderTopWidth:jle,borderRightWidth:jle,borderBottomWidth:jle,borderLeftWidth:jle,borderRadius:jle,radius:jle,borderTopLeftRadius:jle,borderTopRightRadius:jle,borderBottomRightRadius:jle,borderBottomLeftRadius:jle,width:jle,maxWidth:jle,height:jle,maxHeight:jle,size:jle,top:jle,right:jle,bottom:jle,left:jle,padding:jle,paddingTop:jle,paddingRight:jle,paddingBottom:jle,paddingLeft:jle,margin:jle,marginTop:jle,marginRight:jle,marginBottom:jle,marginLeft:jle,rotate:Ole,rotateX:Ole,rotateY:Ole,rotateZ:Ole,scale:dle,scaleX:dle,scaleY:dle,scaleZ:dle,skew:Ole,skewX:Ole,skewY:Ole,distance:jle,translateX:jle,translateY:jle,translateZ:jle,x:jle,y:jle,z:jle,perspective:jle,transformPerspective:jle,opacity:fle,originX:Mle,originY:Mle,originZ:jle,zIndex:kle,fillOpacity:fle,strokeOpacity:fle,numOctaves:kle};function Nle(e,t,r,n){const{style:a,vars:o,transform:i,transformOrigin:l}=e;let s=!1,c=!1,u=!0;for(const e in t){const r=t[e];if(cle(e)){o[e]=r;continue}const n=Sle[e],h=hle(r,n);if(nle.has(e)){if(s=!0,i[e]=h,!u)continue;r!==(n.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,l[e]=h):a[e]=h}if(t.transform||(s||n?a.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,a){let o="";for(let t=0;t<lle;t++){const r=rle[t];void 0!==e[r]&&(o+=`${ile[r]||r}(${e[r]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),a?o=a(e,n?"":o):r&&n&&(o="none"),o}(e.transform,r,u,n):a.transform&&(a.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:r=0}=l;a.transformOrigin=`${e} ${t} ${r}`}}const Ble=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Vle(e,t,r){for(const n in t)ole(t[n])||ale(n,r)||(e[n]=t[n])}function Rle(e,t,r){const n={};return Vle(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t,r){return y((()=>{const n=Ble();return Nle(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)}),[t])}(e,t,r)),e.transformValues?e.transformValues(n):n}function Ale(e,t,r){const n={},a=Rle(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=a,n}const Tle=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Hle(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Tle.has(e)}let Lle=e=>!Hle(e);try{(Ile=require("@emotion/is-prop-valid").default)&&(Lle=e=>e.startsWith("on")?!Hle(e):Ile(e))}catch(e){}var Ile;function Fle(e,t,r){return"string"==typeof e?e:jle.transform(t+r*e)}const _le={offset:"stroke-dashoffset",array:"stroke-dasharray"},Zle={offset:"strokeDashoffset",array:"strokeDasharray"};function Dle(e,{attrX:t,attrY:r,attrScale:n,originX:a,originY:o,pathLength:i,pathSpacing:l=1,pathOffset:s=0,...c},u,h,m){if(Nle(e,c,u,m),h)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:f,dimensions:d}=e;p.transform&&(d&&(f.transform=p.transform),delete p.transform),d&&(void 0!==a||void 0!==o||f.transform)&&(f.transformOrigin=function(e,t,r){return`${Fle(t,e.x,e.width)} ${Fle(r,e.y,e.height)}`}(d,void 0!==a?a:.5,void 0!==o?o:.5)),void 0!==t&&(p.x=t),void 0!==r&&(p.y=r),void 0!==n&&(p.scale=n),void 0!==i&&function(e,t,r=1,n=0,a=!0){e.pathLength=1;const o=a?_le:Zle;e[o.offset]=jle.transform(-n);const i=jle.transform(t),l=jle.transform(r);e[o.array]=`${i} ${l}`}(p,i,l,s,!1)}const qle=()=>({...Ble(),attrs:{}}),Ule=e=>"string"==typeof e&&"svg"===e.toLowerCase();function $le(e,t,r,n){const a=y((()=>{const r=qle();return Dle(r,t,{enableHardwareAcceleration:!1},Ule(n),e.transformTemplate),{...r.attrs,style:{...r.style}}}),[t]);if(e.style){const t={};Vle(t,e.style,e),a.style={...t,...a.style}}return a}function zle(e=!1){return(t,r,n,{latestValues:a},o)=>{const i=(ele(t)?$le:Ale)(r,a,o,t),l=function(e,t,r){const n={};for(const a in e)"values"===a&&"object"==typeof e.values||(Lle(a)||!0===r&&Hle(a)||!t&&!Hle(a)||e.draggable&&a.startsWith("onDrag"))&&(n[a]=e[a]);return n}(r,"string"==typeof t,e),s={...l,...i,ref:n},{children:c}=r,u=y((()=>ole(c)?c.get():c),[c]);return d(t,{...s,children:u})}}const Wle=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Gle(e,{style:t,vars:r},n,a){Object.assign(e.style,t,a&&a.getProjectionStyles(n));for(const t in r)e.style.setProperty(t,r[t])}const Qle=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Yle(e,t,r,n){Gle(e,t,void 0,n);for(const r in t.attrs)e.setAttribute(Qle.has(r)?r:Wle(r),t.attrs[r])}function Kle(e,t){const{style:r}=e,n={};for(const a in r)(ole(r[a])||t.style&&ole(t.style[a])||ale(a,e))&&(n[a]=r[a]);return n}function Xle(e,t){const r=Kle(e,t);for(const n in e)if(ole(e[n])||ole(t[n])){r[-1!==rle.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return r}function Jle(e,t,r,n={},a={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,a)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,a)),t}function ese(e){const t=n(null);return null===t.current&&(t.current=e()),t.current}const tse=e=>Array.isArray(e),rse=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),nse=e=>tse(e)?e[e.length-1]||0:e;function ase(e){const t=ole(e)?e.get():e;return rse(t)?t.toValue():t}const ose=e=>(t,r)=>{const n=v(Bie),a=v(Vie),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,a,o){const i={latestValues:ise(n,a,o,e),renderState:t()};return r&&(i.mount=e=>r(n,e,i)),i}(e,t,n,a);return r?o():ese(o)};function ise(e,t,r,n){const a={},o=n(e,{});for(const e in o)a[e]=ase(o[e]);let{initial:i,animate:l}=e;const s=Zie(e),c=Die(e);t&&c&&!s&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===l&&(l=t.animate));let u=!!r&&!1===r.initial;u=u||!1===i;const h=u?l:i;if(h&&"boolean"!=typeof h&&!Iie(h)){(Array.isArray(h)?h:[h]).forEach((t=>{const r=Jle(e,t);if(!r)return;const{transitionEnd:n,transition:o,...i}=r;for(const e in i){let t=i[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(a[e]=t)}for(const e in n)a[e]=n[e]}))}return a}const lse={useVisualState:ose({scrapeMotionValuesFromProps:Xle,createRenderState:qle,onMount:(e,t,{renderState:r,latestValues:n})=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}Dle(r,n,{enableHardwareAcceleration:!1},Ule(t.tagName),e.transformTemplate),Yle(t,r)}})},sse={useVisualState:ose({scrapeMotionValuesFromProps:Kle,createRenderState:Ble})};function cse(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const use=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function hse(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const mse=e=>t=>use(t)&&e(t,hse(t));function pse(e,t,r,n){return cse(e,t,mse(r),n)}const fse=(e,t)=>r=>t(e(r)),dse=(...e)=>e.reduce(fse);function vse(e){let t=null;return()=>{const r=()=>{t=null};return null===t&&(t=e,r)}}const gse=vse("dragHorizontal"),bse=vse("dragVertical");function wse(e){let t=!1;if("y"===e)t=bse();else if("x"===e)t=gse();else{const e=gse(),r=bse();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}function yse(){const e=wse(!0);return!e||(e(),!1)}class xse{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Ose={delta:0,timestamp:0,isProcessing:!1};let Ese=!0,jse=!1;const Cse=["read","update","preRender","render","postRender"],Pse=Cse.reduce(((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,a=!1,o=!1;const i=new WeakSet,l={schedule:(e,o=!1,l=!1)=>{const s=l&&a,c=s?t:r;return o&&i.add(e),-1===c.indexOf(e)&&(c.push(e),s&&a&&(n=t.length)),e},cancel:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1),i.delete(e)},process:s=>{if(a)o=!0;else{if(a=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let r=0;r<n;r++){const n=t[r];n(s),i.has(n)&&(l.schedule(n),e())}a=!1,o&&(o=!1,l.process(s))}}};return l}((()=>jse=!0)),e)),{}),Mse=e=>Pse[e].process(Ose),kse=e=>{jse=!1,Ose.delta=Ese?1e3/60:Math.max(Math.min(e-Ose.timestamp,40),1),Ose.timestamp=e,Ose.isProcessing=!0,Cse.forEach(Mse),Ose.isProcessing=!1,jse&&(Ese=!1,requestAnimationFrame(kse))},Sse=Cse.reduce(((e,t)=>{const r=Pse[t];return e[t]=(e,t=!1,n=!1)=>(jse||(jse=!0,Ese=!0,Ose.isProcessing||requestAnimationFrame(kse)),r.schedule(e,t,n)),e}),{});function Nse(e){Cse.forEach((t=>Pse[t].cancel(e)))}function Bse(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End");return pse(e.current,r,((r,a)=>{if("touch"===r.type||yse())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[n]&&Sse.update((()=>o[n](r,a)))}),{passive:!e.getProps()[n]})}const Vse=(e,t)=>!!t&&(e===t||Vse(e,t.parentElement)),Rse=e=>e;function Ase(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,hse(r))}const Tse=new WeakMap,Hse=new WeakMap,Lse=e=>{const t=Tse.get(e.target);t&&t(e)},Ise=e=>{e.forEach(Lse)};function Fse(e,t,r){const n=function({root:e,...t}){const r=e||document;Hse.has(r)||Hse.set(r,{});const n=Hse.get(r),a=JSON.stringify(t);return n[a]||(n[a]=new IntersectionObserver(Ise,{root:e,...t})),n[a]}(t);return Tse.set(e,r),n.observe(e),()=>{Tse.delete(e),n.unobserve(e)}}const _se={some:0,all:1};const Zse={inView:{Feature:class extends xse{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:a}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:_se[n]};return Fse(this.node.current,o,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,a&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),o=t?r:n;o&&o(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends xse{constructor(){super(...arguments),this.removeStartListeners=Rse,this.removeEndListeners=Rse,this.removeAccessibleListeners=Rse,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),n=pse(window,"pointerup",((e,t)=>{if(!this.checkPressEnd())return;const{onTap:r,onTapCancel:n}=this.node.getProps();Sse.update((()=>{Vse(this.node.current,e.target)?r&&r(e,t):n&&n(e,t)}))}),{passive:!(r.onTap||r.onPointerUp)}),a=pse(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=dse(n,a),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=cse(this.node.current,"keydown",(e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=cse(this.node.current,"keyup",(e=>{"Enter"===e.key&&this.checkPressEnd()&&Ase("up",((e,t)=>{const{onTap:r}=this.node.getProps();r&&Sse.update((()=>r(e,t)))}))})),Ase("down",((e,t)=>{this.startPress(e,t)}))})),t=cse(this.node.current,"blur",(()=>{this.isPressing&&Ase("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=dse(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&Sse.update((()=>r(e,t)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!yse()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&Sse.update((()=>r(e,t)))}mount(){const e=this.node.getProps(),t=pse(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=cse(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=dse(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends xse{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=dse(cse(this.node.current,"focus",(()=>this.onFocus())),cse(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends xse{mount(){this.unmount=dse(Bse(this.node,!0),Bse(this.node,!1))}unmount(){}}}};function Dse(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function qse(e,t,r){const n=e.getProps();return Jle(n,t,void 0!==r?r:n.custom,function(e){const t={};return e.values.forEach(((e,r)=>t[r]=e.get())),t}(e),function(e){const t={};return e.values.forEach(((e,r)=>t[r]=e.getVelocity())),t}(e))}const Use="data-"+Wle("framerAppearId");let $se=Rse,zse=Rse;"production"!==process.env.NODE_ENV&&($se=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},zse=(e,t)=>{if(!e)throw new Error(t)});const Wse=e=>1e3*e,Gse=e=>e/1e3,Qse=!1,Yse=e=>Array.isArray(e)&&"number"==typeof e[0];function Kse(e){return Boolean(!e||"string"==typeof e&&Jse[e]||Yse(e)||Array.isArray(e)&&e.every(Kse))}const Xse=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,Jse={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Xse([0,.65,.55,1]),circOut:Xse([.55,0,1,.45]),backIn:Xse([.31,.01,.66,-.59]),backOut:Xse([.33,1.53,.69,.99])};function ece(e){if(e)return Yse(e)?Xse(e):Array.isArray(e)?e.map(ece):Jse[e]}const tce={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},rce={},nce={};for(const e in tce)nce[e]=()=>(void 0===rce[e]&&(rce[e]=tce[e]()),rce[e]);const ace=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,oce=1e-7,ice=12;function lce(e,t,r,n){if(e===t&&r===n)return Rse;const a=t=>function(e,t,r,n,a){let o,i,l=0;do{i=t+(r-t)/2,o=ace(i,n,a)-e,o>0?r=i:t=i}while(Math.abs(o)>oce&&++l<ice);return i}(t,0,1,e,r);return e=>0===e||1===e?e:ace(a(e),t,n)}const sce=lce(.42,0,1,1),cce=lce(0,0,.58,1),uce=lce(.42,0,.58,1),hce=e=>Array.isArray(e)&&"number"!=typeof e[0],mce=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,pce=e=>t=>1-e(1-t),fce=e=>1-Math.sin(Math.acos(e)),dce=pce(fce),vce=mce(dce),gce=lce(.33,1.53,.69,.99),bce=pce(gce),wce=mce(bce),yce={linear:Rse,easeIn:sce,easeInOut:uce,easeOut:cce,circIn:fce,circInOut:vce,circOut:dce,backIn:bce,backInOut:wce,backOut:gce,anticipate:e=>(e*=2)<1?.5*bce(e):.5*(2-Math.pow(2,-10*(e-1)))},xce=e=>{if(Array.isArray(e)){zse(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,a]=e;return lce(t,r,n,a)}return"string"==typeof e?(zse(void 0!==yce[e],`Invalid easing type '${e}'`),yce[e]):e},Oce=(e,t)=>r=>Boolean(yle(r)&&wle.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Ece=(e,t,r)=>n=>{if(!yle(n))return n;const[a,o,i,l]=n.match(gle);return{[e]:parseFloat(a),[t]:parseFloat(o),[r]:parseFloat(i),alpha:void 0!==l?parseFloat(l):1}},jce={...ple,transform:e=>Math.round((e=>mle(0,255,e))(e))},Cce={test:Oce("rgb","red"),parse:Ece("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+jce.transform(e)+", "+jce.transform(t)+", "+jce.transform(r)+", "+vle(fle.transform(n))+")"};const Pce={test:Oce("#"),parse:function(e){let t="",r="",n="",a="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),a=e.substring(4,5),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}},transform:Cce.transform},Mce={test:Oce("hsl","hue"),parse:Ece("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Ele.transform(vle(t))+", "+Ele.transform(vle(r))+", "+vle(fle.transform(n))+")"},kce={test:e=>Cce.test(e)||Pce.test(e)||Mce.test(e),parse:e=>Cce.test(e)?Cce.parse(e):Mce.test(e)?Mce.parse(e):Pce.parse(e),transform:e=>yle(e)?e:e.hasOwnProperty("red")?Cce.transform(e):Mce.transform(e)},Sce=(e,t,r)=>-r*e+r*t+e;function Nce(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}const Bce=(e,t,r)=>{const n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},Vce=[Pce,Cce,Mce];function Rce(e){const t=(e=>Vce.find((t=>t.test(e))))(e);zse(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Mce&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let a=0,o=0,i=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,l=2*r-n;a=Nce(l,n,e+1/3),o=Nce(l,n,e),i=Nce(l,n,e-1/3)}else a=o=i=r;return{red:Math.round(255*a),green:Math.round(255*o),blue:Math.round(255*i),alpha:n}}(r)),r}const Ace=(e,t)=>{const r=Rce(e),n=Rce(t),a={...r};return e=>(a.red=Bce(r.red,n.red,e),a.green=Bce(r.green,n.green,e),a.blue=Bce(r.blue,n.blue,e),a.alpha=Sce(r.alpha,n.alpha,e),Cce.transform(a))};const Tce={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Rse},Hce={regex:ble,countKey:"Colors",token:"${c}",parse:kce.parse},Lce={regex:gle,countKey:"Numbers",token:"${n}",parse:ple.parse};function Ice(e,{regex:t,countKey:r,token:n,parse:a}){const o=e.tokenised.match(t);o&&(e["num"+r]=o.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...o.map(a)))}function Fce(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Ice(r,Tce),Ice(r,Hce),Ice(r,Lce),r}function _ce(e){return Fce(e).values}function Zce(e){const{values:t,numColors:r,numVars:n,tokenised:a}=Fce(e),o=t.length;return e=>{let t=a;for(let a=0;a<o;a++)t=a<n?t.replace(Tce.token,e[a]):a<n+r?t.replace(Hce.token,kce.transform(e[a])):t.replace(Lce.token,vle(e[a]));return t}}const Dce=e=>"number"==typeof e?0:e;const qce={test:function(e){var t,r;return isNaN(e)&&yle(e)&&((null===(t=e.match(gle))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(ble))||void 0===r?void 0:r.length)||0)>0},parse:_ce,createTransformer:Zce,getAnimatableNone:function(e){const t=_ce(e);return Zce(e)(t.map(Dce))}},Uce=(e,t)=>r=>`${r>0?t:e}`;function $ce(e,t){return"number"==typeof e?r=>Sce(e,t,r):kce.test(e)?Ace(e,t):e.startsWith("var(")?Uce(e,t):Gce(e,t)}const zce=(e,t)=>{const r=[...e],n=r.length,a=e.map(((e,r)=>$ce(e,t[r])));return e=>{for(let t=0;t<n;t++)r[t]=a[t](e);return r}},Wce=(e,t)=>{const r={...e,...t},n={};for(const a in r)void 0!==e[a]&&void 0!==t[a]&&(n[a]=$ce(e[a],t[a]));return e=>{for(const t in n)r[t]=n[t](e);return r}},Gce=(e,t)=>{const r=qce.createTransformer(t),n=Fce(e),a=Fce(t);return n.numVars===a.numVars&&n.numColors===a.numColors&&n.numNumbers>=a.numNumbers?dse(zce(n.values,a.values),r):($se(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Uce(e,t))},Qce=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},Yce=(e,t)=>r=>Sce(e,t,r);function Kce(e,t,r){const n=[],a=r||function(e){return"number"==typeof e?Yce:"string"==typeof e?kce.test(e)?Ace:Gce:Array.isArray(e)?zce:"object"==typeof e?Wce:Yce}(e[0]),o=e.length-1;for(let r=0;r<o;r++){let o=a(e[r],e[r+1]);if(t){const e=Array.isArray(t)?t[r]||Rse:t;o=dse(e,o)}n.push(o)}return n}function Xce(e,t,{clamp:r=!0,ease:n,mixer:a}={}){const o=e.length;if(zse(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const i=Kce(t,n,a),l=i.length,s=t=>{let r=0;if(l>1)for(;r<e.length-2&&!(t<e[r+1]);r++);const n=Qce(e[r],e[r+1],t);return i[r](n)};return r?t=>s(mle(e[0],e[o-1],t)):s}function Jce(e){const t=[0];return function(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const a=Qce(0,t,n);e.push(Sce(r,1,a))}}(t,e.length-1),t}function eue({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const a=hce(n)?n.map(xce):xce(n),o={done:!1,value:t[0]},i=function(e,t){return e.map((e=>e*t))}(r&&r.length===t.length?r:Jce(t),e),l=Xce(i,t,{ease:Array.isArray(a)?a:(s=t,c=a,s.map((()=>c||uce)).splice(0,s.length-1))});var s,c;return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}function tue(e,t){return t?e*(1e3/t):0}const rue=5;function nue(e,t,r){const n=Math.max(t-rue,0);return tue(r-e(n),t-n)}const aue=.001,oue=.01,iue=10,lue=.05,sue=1;function cue({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let a,o;$se(e<=Wse(iue),"Spring duration must be 10 seconds or less");let i=1-t;i=mle(lue,sue,i),e=mle(oue,iue,Gse(e)),i<1?(a=t=>{const n=t*i,a=n*e,o=n-r,l=hue(t,i),s=Math.exp(-a);return aue-o/l*s},o=t=>{const n=t*i*e,o=n*r+r,l=Math.pow(i,2)*Math.pow(t,2)*e,s=Math.exp(-n),c=hue(Math.pow(t,2),i);return(-a(t)+aue>0?-1:1)*((o-l)*s)/c}):(a=t=>Math.exp(-t*e)*((t-r)*e+1)-aue,o=t=>Math.exp(-t*e)*(e*e*(r-t)));const l=function(e,t,r){let n=r;for(let r=1;r<uue;r++)n-=e(n)/t(n);return n}(a,o,5/e);if(e=Wse(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(l,2)*n;return{stiffness:t,damping:2*i*Math.sqrt(n*t),duration:e}}}const uue=12;function hue(e,t){return e*Math.sqrt(1-t*t)}const mue=["duration","bounce"],pue=["stiffness","damping","mass"];function fue(e,t){return t.some((t=>void 0!==e[t]))}function due({keyframes:e,restDelta:t,restSpeed:r,...n}){const a=e[0],o=e[e.length-1],i={done:!1,value:a},{stiffness:l,damping:s,mass:c,velocity:u,duration:h,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!fue(e,pue)&&fue(e,mue)){const r=cue(e);t={...t,...r,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(n),p=u?-Gse(u):0,f=s/(2*Math.sqrt(l*c)),d=o-a,v=Gse(Math.sqrt(l/c)),g=Math.abs(d)<5;let b;if(r||(r=g?.01:2),t||(t=g?.005:.5),f<1){const e=hue(v,f);b=t=>{const r=Math.exp(-f*v*t);return o-r*((p+f*v*d)/e*Math.sin(e*t)+d*Math.cos(e*t))}}else if(1===f)b=e=>o-Math.exp(-v*e)*(d+(p+v*d)*e);else{const e=v*Math.sqrt(f*f-1);b=t=>{const r=Math.exp(-f*v*t),n=Math.min(e*t,300);return o-r*((p+f*v*d)*Math.sinh(n)+e*d*Math.cosh(n))/e}}return{calculatedDuration:m&&h||null,next:e=>{const n=b(e);if(m)i.done=e>=h;else{let a=p;0!==e&&(a=f<1?nue(b,e,n):0);const l=Math.abs(a)<=r,s=Math.abs(o-n)<=t;i.done=l&&s}return i.value=i.done?o:n,i}}}function vue({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:i,min:l,max:s,restDelta:c=.5,restSpeed:u}){const h=e[0],m={done:!1,value:h},p=e=>void 0===l?s:void 0===s||Math.abs(l-e)<Math.abs(s-e)?l:s;let f=r*t;const d=h+f,v=void 0===i?d:i(d);v!==d&&(f=v-h);const g=e=>-f*Math.exp(-e/n),b=e=>v+g(e),w=e=>{const t=g(e),r=b(e);m.done=Math.abs(t)<=c,m.value=m.done?v:r};let y,x;const O=e=>{(e=>void 0!==l&&e<l||void 0!==s&&e>s)(m.value)&&(y=e,x=due({keyframes:[m.value,p(m.value)],velocity:nue(b,e,m.value),damping:a,stiffness:o,restDelta:c,restSpeed:u}))};return O(0),{calculatedDuration:null,next:e=>{let t=!1;return x||void 0!==y||(t=!0,w(e),O(e)),void 0!==y&&e>y?x.next(e-y):(!t&&w(e),m)}}}const gue=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Sse.update(t,!0),stop:()=>Nse(t),now:()=>Ose.isProcessing?Ose.timestamp:performance.now()}},bue=2e4;function wue(e){let t=0;let r=e.next(t);for(;!r.done&&t<bue;)t+=50,r=e.next(t);return t>=bue?1/0:t}const yue={decay:vue,inertia:vue,tween:eue,keyframes:eue,spring:due};function xue({autoplay:e=!0,delay:t=0,driver:r=gue,keyframes:n,type:a="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:l="loop",onPlay:s,onStop:c,onComplete:u,onUpdate:h,...m}){let p,f,d=1,v=!1;const g=()=>{p&&p(),f=new Promise((e=>{p=e}))};let b;g();const w=yue[a]||eue;let y;w!==eue&&"number"!=typeof n[0]&&(y=Xce([0,100],n,{clamp:!1}),n=[0,100]);const x=w({...m,keyframes:n});let O;"mirror"===l&&(O=w({...m,keyframes:[...n].reverse(),velocity:-(m.velocity||0)}));let E="idle",j=null,C=null,P=null;null===x.calculatedDuration&&o&&(x.calculatedDuration=wue(x));const{calculatedDuration:M}=x;let k=1/0,S=1/0;null!==M&&(k=M+i,S=k*(o+1)-i);let N=0;const B=e=>{if(null===C)return;d>0&&(C=Math.min(C,e)),N=null!==j?j:(e-C)*d;const r=N-t,a=r<0;N=Math.max(r,0),"finished"===E&&null===j&&(N=S);let s=N,c=x;if(o){const e=N/k;let t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,t=Math.min(t,o+1);const n=Boolean(t%2);n&&("reverse"===l?(r=1-r,i&&(r-=i/k)):"mirror"===l&&(c=O));let a=mle(0,1,r);N>S&&(a="reverse"===l&&n?1:0),s=a*k}const u=a?{done:!1,value:n[0]}:c.next(s);y&&(u.value=y(u.value));let{done:m}=u;a||null===M||(m=N>=S);const p=null===j&&("finished"===E||"running"===E&&m||d<0&&N<=0);return h&&h(u.value),p&&A(),u},V=()=>{b&&b.stop(),b=void 0},R=()=>{E="idle",V(),g(),C=P=null},A=()=>{E="finished",u&&u(),V(),g()},T=()=>{if(v)return;b||(b=r(B));const e=b.now();s&&s(),null!==j?C=e-j:C&&"finished"!==E||(C=e),P=C,j=null,E="running",b.start()};e&&T();const H={then:(e,t)=>f.then(e,t),get time(){return Gse(N)},set time(e){e=Wse(e),N=e,null===j&&b&&0!==d?C=b.now()-e/d:j=e},get duration(){const e=null===x.calculatedDuration?wue(x):x.calculatedDuration;return Gse(e)},get speed(){return d},set speed(e){e!==d&&b&&(d=e,H.time=Gse(N))},get state(){return E},play:T,pause:()=>{E="paused",j=N},stop:()=>{v=!0,"idle"!==E&&(E="idle",c&&c(),R())},cancel:()=>{null!==P&&B(P),R()},complete:()=>{E="finished"},sample:e=>(C=0,B(e))};return H}const Oue=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Eue(e,t,{onUpdate:r,onComplete:n,...a}){if(!(nce.waapi()&&Oue.has(t)&&!a.repeatDelay&&"mirror"!==a.repeatType&&0!==a.damping&&"inertia"!==a.type))return!1;let o,i,l=!1;const s=()=>{i=new Promise((e=>{o=e}))};s();let{keyframes:c,duration:u=300,ease:h,times:m}=a;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Kse(t.ease))(t,a)){const e=xue({...a,repeat:0,delay:0});let t={done:!1,value:c[0]};const r=[];let n=0;for(;!t.done&&n<2e4;)t=e.sample(n),r.push(t.value),n+=10;m=void 0,c=r,u=n-10,h="linear"}const p=function(e,t,r,{delay:n=0,duration:a,repeat:o=0,repeatType:i="loop",ease:l,times:s}={}){const c={[t]:r};s&&(c.offset=s);const u=ece(l);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:n,duration:a,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===i?"alternate":"normal"})}(e.owner.current,t,c,{...a,duration:u,ease:h,times:m}),f=()=>p.cancel(),d=()=>{Sse.update(f),o(),s()};return p.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:r="loop"}){return e[t&&"loop"!==r&&t%2==1?0:e.length-1]}(c,a)),n&&n(),d()},{then:(e,t)=>i.then(e,t),get time(){return Gse(p.currentTime||0)},set time(e){p.currentTime=Wse(e)},get speed(){return p.playbackRate},set speed(e){p.playbackRate=e},get duration(){return Gse(u)},play:()=>{l||(p.play(),Nse(f))},pause:()=>p.pause(),stop:()=>{if(l=!0,"idle"===p.playState)return;const{currentTime:t}=p;if(t){const r=xue({...a,autoplay:!1});e.setWithVelocity(r.sample(t-10).value,r.sample(t).value,10)}d()},complete:()=>p.finish(),cancel:d}}const jue={type:"spring",stiffness:500,damping:25,restSpeed:10},Cue={type:"keyframes",duration:.8},Pue={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Mue=(e,{keyframes:t})=>t.length>2?Cue:nle.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:jue:Pue,kue=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!qce.test(t)&&"0"!==t||t.startsWith("url("))),Sue=new Set(["brightness","contrast","saturate","opacity"]);function Nue(e){const[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(gle)||[];if(!n)return e;const a=r.replace(n,"");let o=Sue.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+a+")"}const Bue=/([a-z-]*)\(.*?\)/g,Vue={...qce,getAnimatableNone:e=>{const t=e.match(Bue);return t?t.map(Nue).join(" "):e}},Rue={...Sle,color:kce,backgroundColor:kce,outlineColor:kce,fill:kce,stroke:kce,borderColor:kce,borderTopColor:kce,borderRightColor:kce,borderBottomColor:kce,borderLeftColor:kce,filter:Vue,WebkitFilter:Vue},Aue=e=>Rue[e];function Tue(e,t){let r=Aue(e);return r!==Vue&&(r=qce),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const Hue=e=>/^0[^.\s]+$/.test(e);function Lue(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Hue(e):void 0}function Iue(e,t){return e[t]||e.default||e}const Fue=(e,t,r,n={})=>a=>{const o=Iue(n,e)||{},i=o.delay||n.delay||0;let{elapsed:l=0}=n;l-=Wse(i);const s=function(e,t,r,n){const a=kue(t,r);let o;o=Array.isArray(r)?[...r]:[null,r];const i=void 0!==n.from?n.from:e.get();let l;const s=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?i:o[e-1]),Lue(o[e])&&s.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(l=o[e]);if(a&&s.length&&l)for(let e=0;e<s.length;e++)o[s[e]]=Tue(t,l);return o}(t,e,r,o),c=s[0],u=s[s.length-1],h=kue(e,c),m=kue(e,u);$se(h===m,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let p={keyframes:s,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-l,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{a(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:a,repeat:o,repeatType:i,repeatDelay:l,from:s,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(p={...p,...Mue(e,p)}),p.duration&&(p.duration=Wse(p.duration)),p.repeatDelay&&(p.repeatDelay=Wse(p.repeatDelay)),!h||!m||Qse||!1===o.type)return function({keyframes:e,delay:t,onUpdate:r,onComplete:n}){const a=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:Rse,pause:Rse,stop:Rse,then:e=>(e(),Promise.resolve()),cancel:Rse,complete:Rse});return t?xue({keyframes:[0,1],duration:0,delay:t,onComplete:a}):a()}(p);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const r=Eue(t,e,p);if(r)return r}return xue(p)};function _ue(e){return Boolean(ole(e)&&e.add)}const Zue=e=>/^\-?\d*\.?\d+$/.test(e);function Due(e,t){-1===e.indexOf(t)&&e.push(t)}function que(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Uue{constructor(){this.subscriptions=[]}add(e){return Due(this.subscriptions,e),()=>que(this.subscriptions,e)}notify(e,t,r){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let a=0;a<n;a++){const n=this.subscriptions[a];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const $ue=new Set;function zue(e,t,r){e||$ue.has(t)||(console.warn(t),r&&console.warn(r),$ue.add(t))}class Wue{constructor(e,t={}){this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:r,timestamp:n}=Ose;this.lastUpdated!==n&&(this.timeDelta=r,this.lastUpdated=n,Sse.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Sse.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(e=>!isNaN(parseFloat(e)))(this.current),this.owner=t.owner}onChange(e){return"production"!==process.env.NODE_ENV&&zue(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Uue);const r=this.events[e].add(t);return"change"===e?()=>{r(),Sse.read((()=>{this.events.change.getSize()||this.stop()}))}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?tue(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Gue(e,t){return new Wue(e,t)}const Que=e=>t=>t.test(e),Yue=[ple,jle,Ele,Ole,Ple,Cle,{test:e=>"auto"===e,parse:e=>e}],Kue=e=>Yue.find(Que(e)),Xue=[...Yue,kce,qce],Jue=e=>Xue.find(Que(e));function ehe(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Gue(r))}function the(e,t){if(!t)return;return(t[e]||t.default||t).from}function rhe({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}function nhe(e,t,{delay:r=0,transitionOverride:n,type:a}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:i,...l}=e.makeTargetAnimatable(t);const s=e.getValue("willChange");n&&(o=n);const c=[],u=a&&e.animationState&&e.animationState.getState()[a];for(const t in l){const n=e.getValue(t),a=l[t];if(!n||void 0===a||u&&rhe(u,t))continue;const i={delay:r,elapsed:0,...o};if(window.HandoffAppearAnimations&&!n.hasAnimated){const r=e.getProps()[Use];r&&(i.elapsed=window.HandoffAppearAnimations(r,t,n,Sse))}n.start(Fue(t,n,a,e.shouldReduceMotion&&nle.has(t)?{type:!1}:i));const h=n.animation;_ue(s)&&(s.add(t),h.then((()=>s.remove(t)))),c.push(h)}return i&&Promise.all(c).then((()=>{i&&function(e,t){const r=qse(e,t);let{transitionEnd:n={},transition:a={},...o}=r?e.makeTargetAnimatable(r,!1):{};o={...o,...n};for(const t in o)ehe(e,t,nse(o[t]))}(e,i)})),c}function ahe(e,t,r={}){const n=qse(e,t,r.custom);let{transition:a=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(a=r.transitionOverride);const o=n?()=>Promise.all(nhe(e,n,r)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(n=0)=>{const{delayChildren:o=0,staggerChildren:i,staggerDirection:l}=a;return function(e,t,r=0,n=0,a=1,o){const i=[],l=(e.variantChildren.size-1)*n,s=1===a?(e=0)=>e*n:(e=0)=>l-e*n;return Array.from(e.variantChildren).sort(ohe).forEach(((e,n)=>{e.notify("AnimationStart",t),i.push(ahe(e,t,{...o,delay:r+s(n)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(i)}(e,t,o+n,i,l,r)}:()=>Promise.resolve(),{when:l}=a;if(l){const[e,t]="beforeChildren"===l?[o,i]:[i,o];return e().then((()=>t()))}return Promise.all([o(),i(r.delay)])}function ohe(e,t){return e.sortNodePosition(t)}const ihe=[...Fie].reverse(),lhe=Fie.length;function she(e){return t=>Promise.all(t.map((({animation:t,options:r})=>function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t)){const a=t.map((t=>ahe(e,t,r)));n=Promise.all(a)}else if("string"==typeof t)n=ahe(e,t,r);else{const a="function"==typeof t?qse(e,t,r.custom):t;n=Promise.all(nhe(e,a,r))}return n.then((()=>e.notify("AnimationComplete",t)))}(e,t,r))))}function che(e){let t=she(e);const r={animate:hhe(!0),whileInView:hhe(),whileHover:hhe(),whileTap:hhe(),whileDrag:hhe(),whileFocus:hhe(),exit:hhe()};let n=!0;const a=(t,r)=>{const n=qse(e,r);if(n){const{transition:e,transitionEnd:r,...a}=n;t={...t,...a,...r}}return t};function o(o,i){const l=e.getProps(),s=e.getVariantContext(!0)||{},c=[],u=new Set;let h={},m=1/0;for(let t=0;t<lhe;t++){const p=ihe[t],f=r[p],d=void 0!==l[p]?l[p]:s[p],v=Lie(d),g=p===i?f.isActive:null;!1===g&&(m=t);let b=d===s[p]&&d!==l[p]&&v;if(b&&n&&e.manuallyAnimateOnMount&&(b=!1),f.protectedKeys={...h},!f.isActive&&null===g||!d&&!f.prevProp||Iie(d)||"boolean"==typeof d)continue;const w=uhe(f.prevProp,d);let y=w||p===i&&f.isActive&&!b&&v||t>m&&v;const x=Array.isArray(d)?d:[d];let O=x.reduce(a,{});!1===g&&(O={});const{prevResolvedValues:E={}}=f,j={...E,...O},C=e=>{y=!0,u.delete(e),f.needsAnimating[e]=!0};for(const e in j){const t=O[e],r=E[e];h.hasOwnProperty(e)||(t!==r?tse(t)&&tse(r)?!Dse(t,r)||w?C(e):f.protectedKeys[e]=!0:void 0!==t?C(e):u.add(e):void 0!==t&&u.has(e)?C(e):f.protectedKeys[e]=!0)}f.prevProp=d,f.prevResolvedValues=O,f.isActive&&(h={...h,...O}),n&&e.blockInitialAnimation&&(y=!1),y&&!b&&c.push(...x.map((e=>({animation:e,options:{type:p,...o}}))))}if(u.size){const t={};u.forEach((r=>{const n=e.getBaseTarget(r);void 0!==n&&(t[r]=n)})),c.push({animation:t})}let p=Boolean(c.length);return n&&!1===l.initial&&!e.manuallyAnimateOnMount&&(p=!1),n=!1,p?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,n,a){var i;if(r[t].isActive===n)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach((e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n;const l=o(a,t);for(const e in r)r[e].protectedKeys={};return l},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}function uhe(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Dse(t,e)}function hhe(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let mhe=0;const phe={animation:{Feature:class extends xse{constructor(e){super(e),e.animationState||(e.animationState=che(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Iie(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends xse{constructor(){super(...arguments),this.id=mhe++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const a=this.node.animationState.setActive("exit",!e,{custom:null!=r?r:this.node.getProps().custom});t&&!e&&a.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},fhe=(e,t)=>Math.abs(e-t);class dhe{constructor(e,t,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=bhe(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){const r=fhe(e.x,t.x),n=fhe(e.y,t.y);return Math.sqrt(r**2+n**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!r)return;const{point:n}=e,{timestamp:a}=Ose;this.history.push({...n,timestamp:a});const{onStart:o,onMove:i}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),i&&i(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=vhe(t,this.transformPagePoint),Sse.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:r,onSessionEnd:n}=this.handlers,a=bhe("pointercancel"===e.type?this.lastMoveEventInfo:vhe(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,a),n&&n(e,a)},!use(e))return;this.handlers=t,this.transformPagePoint=r;const n=vhe(hse(e),this.transformPagePoint),{point:a}=n,{timestamp:o}=Ose;this.history=[{...a,timestamp:o}];const{onSessionStart:i}=t;i&&i(e,bhe(n,this.history)),this.removeListeners=dse(pse(window,"pointermove",this.handlePointerMove),pse(window,"pointerup",this.handlePointerUp),pse(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Nse(this.updatePoint)}}function vhe(e,t){return t?{point:t(e.point)}:e}function ghe(e,t){return{x:e.x-t.x,y:e.y-t.y}}function bhe({point:e},t){return{point:e,delta:ghe(e,yhe(t)),offset:ghe(e,whe(t)),velocity:xhe(t,.1)}}function whe(e){return e[0]}function yhe(e){return e[e.length-1]}function xhe(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const a=yhe(e);for(;r>=0&&(n=e[r],!(a.timestamp-n.timestamp>Wse(t)));)r--;if(!n)return{x:0,y:0};const o=Gse(a.timestamp-n.timestamp);if(0===o)return{x:0,y:0};const i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Ohe(e){return e.max-e.min}function Ehe(e,t=0,r=.01){return Math.abs(e-t)<=r}function jhe(e,t,r,n=.5){e.origin=n,e.originPoint=Sce(t.min,t.max,e.origin),e.scale=Ohe(r)/Ohe(t),(Ehe(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Sce(r.min,r.max,e.origin)-e.originPoint,(Ehe(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Che(e,t,r,n){jhe(e.x,t.x,r.x,n?n.originX:void 0),jhe(e.y,t.y,r.y,n?n.originY:void 0)}function Phe(e,t,r){e.min=r.min+t.min,e.max=e.min+Ohe(t)}function Mhe(e,t,r){e.min=t.min-r.min,e.max=e.min+Ohe(t)}function khe(e,t,r){Mhe(e.x,t.x,r.x),Mhe(e.y,t.y,r.y)}function She(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function Nhe(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}const Bhe=.35;function Vhe(e,t,r){return{min:Rhe(e,t),max:Rhe(e,r)}}function Rhe(e,t){return"number"==typeof e?e:e[t]||0}const Ahe=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),The=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Hhe(e){return[e("x"),e("y")]}function Lhe({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function Ihe(e){return void 0===e||1===e}function Fhe({scale:e,scaleX:t,scaleY:r}){return!Ihe(e)||!Ihe(t)||!Ihe(r)}function _he(e){return Fhe(e)||Zhe(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Zhe(e){return Dhe(e.x)||Dhe(e.y)}function Dhe(e){return e&&"0%"!==e}function qhe(e,t,r){return r+t*(e-r)}function Uhe(e,t,r,n,a){return void 0!==a&&(e=qhe(e,a,n)),qhe(e,r,n)+t}function $he(e,t=0,r=1,n,a){e.min=Uhe(e.min,t,r,n,a),e.max=Uhe(e.max,t,r,n,a)}function zhe(e,{x:t,y:r}){$he(e.x,t.translate,t.scale,t.originPoint),$he(e.y,r.translate,r.scale,r.originPoint)}function Whe(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ghe(e,t){e.min=e.min+t,e.max=e.max+t}function Qhe(e,t,[r,n,a]){const o=void 0!==t[a]?t[a]:.5,i=Sce(e.min,e.max,o);$he(e,t[r],t[n],i,t.scale)}const Yhe=["x","scaleX","originX"],Khe=["y","scaleY","originY"];function Xhe(e,t){Qhe(e.x,t,Yhe),Qhe(e.y,t,Khe)}function Jhe(e,t){return Lhe(function(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}const eme=new WeakMap;class tme{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=The(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;this.panSession=new dhe(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(hse(e,"page").point)},onStart:(e,t)=>{const{drag:r,dragPropagation:n,onDragStart:a}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=wse(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Hhe((e=>{let t=this.getAxisMotionValue(e).get()||0;if(Ele.test(t)){const{projection:r}=this.visualElement;if(r&&r.layout){const n=r.layout.layoutBox[e];if(n){t=Ohe(n)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),a&&Sse.update((()=>a(e,t)),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:r,dragDirectionLock:n,onDirectionLock:a,onDrag:o}=this.getProps();if(!r&&!this.openGlobalLock)return;const{offset:i}=t;if(n&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let r=null;Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x");return r}(i),void(null!==this.currentDirection&&a&&a(this.currentDirection));this.updateAxis("x",t.point,i),this.updateAxis("y",t.point,i),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:n}=t;this.startAnimation(n);const{onDragEnd:a}=this.getProps();a&&Sse.update((()=>a(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){const{drag:n}=this.getProps();if(!r||!rme(e,n,this.currentDirection))return;const a=this.getAxisMotionValue(e);let o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?Sce(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?Sce(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),a.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:r}=this.visualElement.projection||{},n=this.constraints;e&&Hie(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!r)&&function(e,{top:t,left:r,bottom:n,right:a}){return{x:She(e.x,r,a),y:She(e.y,t,n)}}(r.layoutBox,e),this.elastic=function(e=Bhe){return!1===e?e=0:!0===e&&(e=Bhe),{x:Vhe(e,"left","right"),y:Vhe(e,"top","bottom")}}(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Hhe((e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(r.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Hie(e))return!1;const r=e.current;zse(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const a=function(e,t,r){const n=Jhe(e,r),{scroll:a}=t;return a&&(Ghe(n.x,a.offset.x),Ghe(n.y,a.offset.y)),n}(r,n.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Nhe(e.x,t.x),y:Nhe(e.y,t.y)}}(n.layout.layoutBox,a);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=Lhe(e))}return o}startAnimation(e){const{drag:t,dragMomentum:r,dragElastic:n,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:i}=this.getProps(),l=this.constraints||{},s=Hhe((i=>{if(!rme(i,t,this.currentDirection))return;let s=l&&l[i]||{};o&&(s={min:0,max:0});const c=n?200:1e6,u=n?40:1e7,h={type:"inertia",velocity:r?e[i]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...a,...s};return this.startAxisValueAnimation(i,h)}));return Promise.all(s).then(i)}startAxisValueAnimation(e,t){const r=this.getAxisMotionValue(e);return r.start(Fue(e,r,0,t))}stopAnimation(){Hhe((e=>this.getAxisMotionValue(e).stop()))}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),n=r[t];return n||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Hhe((t=>{const{drag:r}=this.getProps();if(!rme(t,r,this.currentDirection))return;const{projection:n}=this.visualElement,a=this.getAxisMotionValue(t);if(n&&n.layout){const{min:r,max:o}=n.layout.layoutBox[t];a.set(e[t]-Sce(r,o,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!Hie(t)||!r||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Hhe((e=>{const t=this.getAxisMotionValue(e);if(t){const r=t.get();n[e]=function(e,t){let r=.5;const n=Ohe(e),a=Ohe(t);return a>n?r=Qce(t.min,t.max-n,e.min):n>a&&(r=Qce(e.min,e.max-a,t.min)),mle(0,1,r)}({min:r,max:r},this.constraints[e])}}));const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Hhe((t=>{if(!rme(t,e,null))return;const r=this.getAxisMotionValue(t),{min:a,max:o}=this.constraints[t];r.set(Sce(a,o,n[t]))}))}addListeners(){if(!this.visualElement.current)return;eme.set(this.visualElement,this);const e=pse(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();Hie(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),t();const a=cse(window,"resize",(()=>this.scalePositionWithinConstraints())),o=r.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Hhe((t=>{const r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))})),this.visualElement.render())}));return()=>{a(),e(),n(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:a=!1,dragElastic:o=Bhe,dragMomentum:i=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:a,dragElastic:o,dragMomentum:i}}}function rme(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}const nme=e=>(t,r)=>{e&&Sse.update((()=>e(t,r)))};const ame={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ome(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ime={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!jle.test(e))return e;e=parseFloat(e)}return`${ome(e,t.target.x)}% ${ome(e,t.target.y)}%`}},lme={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,a=qce.parse(e);if(a.length>5)return n;const o=qce.createTransformer(e),i="number"!=typeof a[0]?1:0,l=r.x.scale*t.x,s=r.y.scale*t.y;a[0+i]/=l,a[1+i]/=s;const c=Sce(l,s,.5);return"number"==typeof a[2+i]&&(a[2+i]/=c),"number"==typeof a[3+i]&&(a[3+i]/=c),o(a)}};class sme extends t.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:a}=e;var o;o=ume,Object.assign(tle,o),a&&(t.group&&t.group.add(a),r&&r.register&&n&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",(()=>{this.safeToRemove()})),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),ame.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:r,drag:n,isPresent:a}=this.props,o=r.projection;return o?(o.isPresent=a,n||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?o.promote():o.relegate()||Sse.postRender((()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function cme(e){const[r,n]=function(){const e=v(Vie);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=O();return a((()=>n(o)),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}(),o=v(Wie);return t.createElement(sme,{...e,layoutGroup:o,switchLayoutGroup:v(Gie),isPresent:r,safeToRemove:n})}const ume={borderRadius:{...ime,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ime,borderTopRightRadius:ime,borderBottomLeftRadius:ime,borderBottomRightRadius:ime,boxShadow:lme},hme=["TopLeft","TopRight","BottomLeft","BottomRight"],mme=hme.length,pme=e=>"string"==typeof e?parseFloat(e):e,fme=e=>"number"==typeof e||jle.test(e);function dme(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const vme=bme(0,.5,dce),gme=bme(.5,.95,Rse);function bme(e,t,r){return n=>n<e?0:n>t?1:r(Qce(e,t,n))}function wme(e,t){e.min=t.min,e.max=t.max}function yme(e,t){wme(e.x,t.x),wme(e.y,t.y)}function xme(e,t,r,n,a){return e=qhe(e-=t,1/r,n),void 0!==a&&(e=qhe(e,1/a,n)),e}function Ome(e,t,[r,n,a],o,i){!function(e,t=0,r=1,n=.5,a,o=e,i=e){Ele.test(t)&&(t=parseFloat(t),t=Sce(i.min,i.max,t/100)-i.min);if("number"!=typeof t)return;let l=Sce(o.min,o.max,n);e===o&&(l-=t),e.min=xme(e.min,t,r,l,a),e.max=xme(e.max,t,r,l,a)}(e,t[r],t[n],t[a],t.scale,o,i)}const Eme=["x","scaleX","originX"],jme=["y","scaleY","originY"];function Cme(e,t,r,n){Ome(e.x,t,Eme,r?r.x:void 0,n?n.x:void 0),Ome(e.y,t,jme,r?r.y:void 0,n?n.y:void 0)}function Pme(e){return 0===e.translate&&1===e.scale}function Mme(e){return Pme(e.x)&&Pme(e.y)}function kme(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Sme(e){return Ohe(e.x)/Ohe(e.y)}class Nme{constructor(){this.members=[]}add(e){Due(this.members,e),e.scheduleRender()}remove(e){if(que(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let r;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){r=t;break}}return!!r&&(this.promote(r),!0)}promote(e,t){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:n}=e.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Bme(e,t,r){let n="";const a=e.x.translate/t.x,o=e.y.translate/t.y;if((a||o)&&(n=`translate3d(${a}px, ${o}px, 0) `),1===t.x&&1===t.y||(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:e,rotateX:t,rotateY:a}=r;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),a&&(n+=`rotateY(${a}deg) `)}const i=e.x.scale*t.x,l=e.y.scale*t.y;return 1===i&&1===l||(n+=`scale(${i}, ${l})`),n||"none"}const Vme=(e,t)=>e.depth-t.depth;class Rme{constructor(){this.children=[],this.isDirty=!1}add(e){Due(this.children,e),this.isDirty=!0}remove(e){que(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Vme),this.isDirty=!1,this.children.forEach(e)}}const Ame=["","X","Y","Z"];let Tme=0;const Hme={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Lme({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:a}){return class{constructor(e={},r=(null==t?void 0:t())){this.id=Tme++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;Hme.totalNodes=Hme.resolvedTargetDeltas=Hme.recalculatedProjection=0,this.nodes.forEach(_me),this.nodes.forEach(Wme),this.nodes.forEach(Gme),this.nodes.forEach(Zme),e=Hme,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Rme)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Uue),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;var n;this.isSVG=(n=t)instanceof SVGElement&&"svg"!==n.tagName,this.instance=t;const{layoutId:a,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(o||a)&&(this.isLayoutDirty=!0),e){let r;const n=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){const r=performance.now(),n=({timestamp:a})=>{const o=a-r;o>=t&&(Nse(n),e(o-t))};return Sse.read(n,!0),()=>Nse(n)}(n,250),ame.hasAnimatedSinceResize&&(ame.hasAnimatedSinceResize=!1,this.nodes.forEach(zme))}))}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&i&&(a||o)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const a=this.options.transition||i.getDefaultTransition()||epe,{onLayoutAnimationStart:o,onLayoutAnimationComplete:l}=i.getProps(),s=!this.targetLayout||!kme(this.targetLayout,n)||r,c=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(s||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Iue(a,"layout"),onPlay:o,onComplete:l};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||zme(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Nse(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Qme),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;const n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(qme);this.isUpdating||this.nodes.forEach(Ume),this.isUpdating=!1,this.nodes.forEach($me),this.nodes.forEach(Ime),this.nodes.forEach(Fme),this.clearAllSnapshots();const e=performance.now();Ose.delta=mle(0,1e3/60,e-Ose.timestamp),Ose.timestamp=e,Ose.isProcessing=!0,Pse.update.process(Ose),Pse.preRender.process(Ose),Pse.render.process(Ose),Ose.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask((()=>this.update())))}clearAllSnapshots(){this.nodes.forEach(Dme),this.sharedNodes.forEach(Yme)}scheduleUpdateProjection(){Sse.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Sse.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=The(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!a)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Mme(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&(t||_he(this.latestValues)||o)&&(a(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let r=this.removeElementScroll(t);var n;return e&&(r=this.removeTransform(r)),tpe((n=r).x),tpe(n.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return The();const t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(Ghe(t.x,r.offset.x),Ghe(t.y,r.offset.y)),t}removeElementScroll(e){const t=The();yme(t,e);for(let r=0;r<this.path.length;r++){const n=this.path[r],{scroll:a,options:o}=n;if(n!==this.root&&a&&o.layoutScroll){if(a.isRoot){yme(t,e);const{scroll:r}=this.root;r&&(Ghe(t.x,-r.offset.x),Ghe(t.y,-r.offset.y))}Ghe(t.x,a.offset.x),Ghe(t.y,a.offset.y)}}return t}applyTransform(e,t=!1){const r=The();yme(r,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&Xhe(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),_he(n.latestValues)&&Xhe(r,n.latestValues)}return _he(this.latestValues)&&Xhe(r,this.latestValues),r}removeTransform(e){const t=The();yme(t,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];if(!r.instance)continue;if(!_he(r.latestValues))continue;Fhe(r.latestValues)&&r.updateSnapshot();const n=The();yme(n,r.measurePageBox()),Cme(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return _he(this.latestValues)&&Cme(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ose.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const r=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=r.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==r;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:a,layoutId:o}=this.options;if(this.layout&&(a||o)){if(this.resolvedRelativeTargetAt=Ose.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=The(),this.relativeTargetOrigin=The(),khe(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),yme(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var i,l,s;if(this.target||(this.target=The(),this.targetWithTransforms=The()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),i=this.target,l=this.relativeTarget,s=this.relativeParent.target,Phe(i.x,l.x,s.x),Phe(i.y,l.y,s.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):yme(this.target,this.layout.layoutBox),zhe(this.target,this.targetDelta)):yme(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=The(),this.relativeTargetOrigin=The(),khe(this.relativeTargetOrigin,this.target,e.target),yme(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Hme.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Fhe(this.parent.latestValues)&&!Zhe(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),r=Boolean(this.resumingFrom)||this!==t;let n=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Ose.timestamp&&(n=!1),n)return;const{layout:a,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!a&&!o)return;yme(this.layoutCorrected,this.layout.layoutBox);const i=this.treeScale.x,l=this.treeScale.y;!function(e,t,r,n=!1){const a=r.length;if(!a)return;let o,i;t.x=t.y=1;for(let l=0;l<a;l++){o=r[l],i=o.projectionDelta;const a=o.instance;a&&a.style&&"contents"===a.style.display||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Xhe(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,zhe(e,i)),n&&_he(o.latestValues)&&Xhe(e,o.latestValues))}t.x=Whe(t.x),t.y=Whe(t.y)}(this.layoutCorrected,this.treeScale,this.path,r),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:s}=t;if(!s)return void(this.projectionTransform&&(this.projectionDelta=Ahe(),this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta=Ahe(),this.projectionDeltaWithTransform=Ahe());const c=this.projectionTransform;Che(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.projectionTransform=Bme(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===i&&this.treeScale.y===l||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),Hme.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const r=this.snapshot,n=r?r.latestValues:{},a={...this.latestValues},o=Ahe();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const i=The(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),s=this.getStack(),c=!s||s.members.length<=1,u=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(Jme));let h;this.animationProgress=0,this.mixTargetDelta=t=>{const r=t/1e3;Kme(o.x,e.x,r),Kme(o.y,e.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(khe(i,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,r,n){Xme(e.x,t.x,r.x,n),Xme(e.y,t.y,r.y,n)}(this.relativeTarget,this.relativeTargetOrigin,i,r),h&&kme(this.relativeTarget,h)&&(this.isProjectionDirty=!1),h||(h=The()),yme(h,this.relativeTarget)),l&&(this.animationValues=a,function(e,t,r,n,a,o){a?(e.opacity=Sce(0,void 0!==r.opacity?r.opacity:1,vme(n)),e.opacityExit=Sce(void 0!==t.opacity?t.opacity:1,0,gme(n))):o&&(e.opacity=Sce(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let a=0;a<mme;a++){const o=`border${hme[a]}Radius`;let i=dme(t,o),l=dme(r,o);void 0===i&&void 0===l||(i||(i=0),l||(l=0),0===i||0===l||fme(i)===fme(l)?(e[o]=Math.max(Sce(pme(i),pme(l),n),0),(Ele.test(l)||Ele.test(i))&&(e[o]+="%")):e[o]=l)}(t.rotate||r.rotate)&&(e.rotate=Sce(t.rotate||0,r.rotate||0,n))}(a,n,this.latestValues,r,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Nse(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Sse.update((()=>{ame.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){const n=ole(e)?e:Gue(e);return n.start(Fue("",n,t,r)),n.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:r,layout:n,latestValues:a}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&rpe(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||The();const t=Ohe(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;const n=Ohe(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}yme(t,r),Xhe(t,a),Che(this.projectionDeltaWithTransform,this.layoutCorrected,t,a)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Nme);this.sharedNodes.get(e).add(t);const r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){const n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(t=!0),!t)return;const n={};for(let t=0;t<Ame.length;t++){const a="rotate"+Ame[t];r[a]&&(n[a]=r[a],e.setStaticValue(a,0))}e.render();for(const t in n)e.setStaticValue(t,n[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,r;const n={};if(!this.instance||this.isSVG)return n;if(!this.isVisible)return{visibility:"hidden"};n.visibility="";const a=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=ase(e.pointerEvents)||"",n.transform=a?a(this.latestValues,""):"none",n;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ase(e.pointerEvents)||""),this.hasProjected&&!_he(this.latestValues)&&(t.transform=a?a({},""):"none",this.hasProjected=!1),t}const i=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=Bme(this.projectionDeltaWithTransform,this.treeScale,i),a&&(n.transform=a(i,n.transform));const{x:l,y:s}=this.projectionDelta;n.transformOrigin=`${100*l.origin}% ${100*s.origin}% 0`,o.animationValues?n.opacity=o===this?null!==(r=null!==(t=i.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:n.opacity=o===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0;for(const e in tle){if(void 0===i[e])continue;const{correct:t,applyTo:r}=tle[e],a="none"===n.transform?i[e]:t(i[e],o);if(r){const e=r.length;for(let t=0;t<e;t++)n[r[t]]=a}else n[e]=a}return this.options.layoutId&&(n.pointerEvents=o===this?ase(e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(qme),this.root.sharedNodes.clear()}}}function Ime(e){e.updateLayout()}function Fme(e){var t;const r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:n}=e.layout,{animationType:a}=e.options,o=r.source!==e.layout.source;"size"===a?Hhe((e=>{const n=o?r.measuredBox[e]:r.layoutBox[e],a=Ohe(n);n.min=t[e].min,n.max=n.min+a})):rpe(a,r.layoutBox,t)&&Hhe((n=>{const a=o?r.measuredBox[n]:r.layoutBox[n],i=Ohe(t[n]);a.max=a.min+i,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+i)}));const i=Ahe();Che(i,t,r.layoutBox);const l=Ahe();o?Che(l,e.applyTransform(n,!0),r.measuredBox):Che(l,t,r.layoutBox);const s=!Mme(i);let c=!1;if(!e.resumeFrom){const n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:a,layout:o}=n;if(a&&o){const i=The();khe(i,r.layoutBox,a.layoutBox);const l=The();khe(l,t,o.layoutBox),kme(i,l)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=i,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:l,layoutDelta:i,hasLayoutChanged:s,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function _me(e){Hme.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Zme(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Dme(e){e.clearSnapshot()}function qme(e){e.clearMeasurements()}function Ume(e){e.isLayoutDirty=!1}function $me(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function zme(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Wme(e){e.resolveTargetDelta()}function Gme(e){e.calcProjection()}function Qme(e){e.resetRotation()}function Yme(e){e.removeLeadSnapshot()}function Kme(e,t,r){e.translate=Sce(t.translate,0,r),e.scale=Sce(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Xme(e,t,r,n){e.min=Sce(t.min,r.min,n),e.max=Sce(t.max,r.max,n)}function Jme(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const epe={duration:.45,ease:[.4,0,.1,1]};function tpe(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function rpe(e,t,r){return"position"===e||"preserve-aspect"===e&&!Ehe(Sme(t),Sme(r),.2)}const npe=Lme({attachResizeListener:(e,t)=>cse(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ape={current:void 0},ope=Lme({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ape.current){const e=new npe({});e.mount(window),e.setOptions({layoutScroll:!0}),ape.current=e}return ape.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),ipe={pan:{Feature:class extends xse{constructor(){super(...arguments),this.removePointerDownListener=Rse}onPointerDown(e){this.session=new dhe(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:nme(e),onStart:nme(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&Sse.update((()=>n(e,t)))}}}mount(){this.removePointerDownListener=pse(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends xse{constructor(e){super(e),this.removeGroupControls=Rse,this.removeListeners=Rse,this.controls=new tme(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Rse}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ope,MeasureLayout:cme}},lpe=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;const spe=4;function cpe(e,t,r=1){zse(r<=spe,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[n,a]=function(e){const t=lpe.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]}(e);if(!n)return;const o=window.getComputedStyle(t).getPropertyValue(n);return o?o.trim():ule(a)?cpe(a,t,r+1):a}const upe=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),hpe=e=>upe.has(e),mpe=e=>e===ple||e===jle,ppe=(e,t)=>parseFloat(e.split(", ")[t]),fpe=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;const a=n.match(/^matrix3d\((.+)\)$/);if(a)return ppe(a[1],t);{const t=n.match(/^matrix\((.+)\)$/);return t?ppe(t[1],e):0}},dpe=new Set(["x","y","z"]),vpe=rle.filter((e=>!dpe.has(e)));const gpe={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:fpe(4,13),y:fpe(5,14)},bpe=(e,t,r={},n={})=>{t={...t},n={...n};const a=Object.keys(t).filter(hpe);let o=[],i=!1;const l=[];if(a.forEach((a=>{const s=e.getValue(a);if(!e.hasValue(a))return;let c=r[a],u=Kue(c);const h=t[a];let m;if(tse(h)){const e=h.length,t=null===h[0]?1:0;c=h[t],u=Kue(c);for(let r=t;r<e&&null!==h[r];r++)m?zse(Kue(h[r])===m,"All keyframes must be of the same type"):(m=Kue(h[r]),zse(m===u||mpe(u)&&mpe(m),"Keyframes must be of the same dimension as the current value"))}else m=Kue(h);if(u!==m)if(mpe(u)&&mpe(m)){const e=s.get();"string"==typeof e&&s.set(parseFloat(e)),"string"==typeof h?t[a]=parseFloat(h):Array.isArray(h)&&m===jle&&(t[a]=h.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==m?void 0:m.transform)&&(0===c||0===h)?0===c?s.set(m.transform(c)):t[a]=u.transform(h):(i||(o=function(e){const t=[];return vpe.forEach((r=>{const n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t.length&&e.render(),t}(e),i=!0),l.push(a),n[a]=void 0!==n[a]?n[a]:t[a],s.jump(h))})),l.length){const r=l.indexOf("height")>=0?window.pageYOffset:null,a=((e,t,r)=>{const n=t.measureViewportBox(),a=t.current,o=getComputedStyle(a),{display:i}=o,l={};"none"===i&&t.setStaticValue("display",e.display||"block"),r.forEach((e=>{l[e]=gpe[e](n,o)})),t.render();const s=t.measureViewportBox();return r.forEach((r=>{const n=t.getValue(r);n&&n.jump(l[r]),e[r]=gpe[r](s,o)})),e})(t,e,l);return o.length&&o.forEach((([t,r])=>{e.getValue(t).set(r)})),e.render(),Rie&&null!==r&&window.scrollTo({top:r}),{target:a,transitionEnd:n}}return{target:t,transitionEnd:n}};function wpe(e,t,r,n){return(e=>Object.keys(e).some(hpe))(t)?bpe(e,t,r,n):{target:t,transitionEnd:n}}const ype=(e,t,r,n)=>{const a=function(e,{...t},r){const n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach((e=>{const t=e.get();if(!ule(t))return;const r=cpe(t,n);r&&e.set(r)}));for(const e in t){const a=t[e];if(!ule(a))continue;const o=cpe(a,n);o&&(t[e]=o,r||(r={}),void 0===r[e]&&(r[e]=a))}return{target:t,transitionEnd:r}}(e,t,n);return wpe(e,t=a.target,r,n=a.transitionEnd)},xpe={current:null},Ope={current:!1};const Epe=new WeakMap,jpe=Object.keys(zie),Cpe=jpe.length,Ppe=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Mpe=_ie.length;class kpe{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Sse.render(this.render,!1,!0);const{latestValues:i,renderState:l}=a;this.latestValues=i,this.baseTarget={...i},this.initialValues=t.initial?{...i}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=Zie(t),this.isVariantNode=Die(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:s,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==i[e]&&ole(t)&&(t.set(i[e],!1),_ue(s)&&s.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Epe.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),Ope.current||function(){if(Ope.current=!0,Rie)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>xpe.current=e.matches;e.addListener(t),t()}else xpe.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||xpe.current),"production"!==process.env.NODE_ENV&&zue(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Epe.delete(this.current),this.projection&&this.projection.unmount(),Nse(this.notifyUpdate),Nse(this.render),this.valueSubscriptions.forEach((e=>e())),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const r=nle.has(e),n=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&Sse.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)})),a=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(()=>{n(),a()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,n,a){let o,i;if("production"!==process.env.NODE_ENV&&n&&r){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?$se(!1,e):zse(!1,e)}for(let e=0;e<Cpe;e++){const r=jpe[e],{isEnabled:n,Feature:a,ProjectionNode:l,MeasureLayout:s}=zie[r];l&&(o=l),n(t)&&(!this.features[r]&&a&&(this.features[r]=new a(this)),s&&(i=s))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:r,drag:n,dragConstraints:i,layoutScroll:l,layoutRoot:s}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:Boolean(n)||i&&Hie(i),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:a,layoutScroll:l,layoutRoot:s})}return i}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):The()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Ppe.length;t++){const r=Ppe[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){const{willChange:n}=t;for(const a in t){const o=t[a],i=r[a];if(ole(o))e.addValue(a,o),_ue(n)&&n.add(a),"development"===process.env.NODE_ENV&&zue("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(ole(i))e.addValue(a,Gue(o,{owner:e})),_ue(n)&&n.remove(a);else if(i!==o)if(e.hasValue(a)){const t=e.getValue(a);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(a);e.addValue(a,Gue(void 0!==t?t:o,{owner:e}))}}for(const n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<Mpe;e++){const r=_ie[e],n=this.props[r];(Lie(n)||!1===n)&&(t[r]=n)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=Gue(t,{owner:this}),this.addValue(e,r)),r}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(t=Jle(this.props,r))||void 0===t?void 0:t[e]:void 0;if(r&&void 0!==n)return n;const a=this.getBaseTargetFromProps(this.props,e);return void 0===a||ole(a)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:a}on(e,t){return this.events[e]||(this.events[e]=new Uue),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Spe extends kpe{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},a){let o=function(e,t,r){const n={};for(const a in e){const e=the(a,t);if(void 0!==e)n[a]=e;else{const e=r.getValue(a);e&&(n[a]=e.get())}}return n}(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),o&&(o=n(o))),a){!function(e,t,r){var n,a;const o=Object.keys(t).filter((t=>!e.hasValue(t))),i=o.length;if(i)for(let l=0;l<i;l++){const i=o[l],s=t[i];let c=null;Array.isArray(s)&&(c=s[0]),null===c&&(c=null!==(a=null!==(n=r[i])&&void 0!==n?n:e.readValue(i))&&void 0!==a?a:t[i]),null!=c&&("string"==typeof c&&(Zue(c)||Hue(c))?c=parseFloat(c):!Jue(c)&&qce.test(s)&&(c=Tue(i,s)),e.addValue(i,Gue(c,{owner:e})),void 0===r[i]&&(r[i]=c),null!==c&&e.setBaseTarget(i,c))}}(this,r,o);const e=ype(this,r,o,t);t=e.transitionEnd,r=e.target}return{transition:e,transitionEnd:t,...r}}}class Npe extends Spe{readValueFromInstance(e,t){if(nle.has(t)){const e=Aue(t);return e&&e.default||0}{const n=(r=e,window.getComputedStyle(r)),a=(cle(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof a?a.trim():a}var r}measureInstanceViewportBox(e,{transformPagePoint:t}){return Jhe(e,t)}build(e,t,r,n){Nle(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Kle(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;ole(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}renderInstance(e,t,r,n){Gle(e,t,r,n)}}class Bpe extends Spe{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(nle.has(t)){const e=Aue(t);return e&&e.default||0}return t=Qle.has(t)?t:Wle(t),e.getAttribute(t)}measureInstanceViewportBox(){return The()}scrapeMotionValuesFromProps(e,t){return Xle(e,t)}build(e,t,r,n){Dle(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){Yle(e,t,0,n)}mount(e){this.isSVGTag=Ule(e.tagName),super.mount(e)}}const Vpe=(e,t)=>ele(e)?new Bpe(t,{enableHardwareAcceleration:!1}):new Npe(t,{enableHardwareAcceleration:!0}),Rpe={...phe,...Zse,...ipe,...{layout:{ProjectionNode:ope,MeasureLayout:cme}}},Ape=Xie(((e,t)=>function(e,{forwardMotionProps:t=!1},r,n){return{...ele(e)?lse:sse,preloadedFeatures:r,useRender:zle(t),createVisualElement:n,Component:e}}(e,t,Rpe,Vpe)));function Tpe(){const e=n(!1);return Aie((()=>(e.current=!0,()=>{e.current=!1})),[]),e}class Hpe extends e.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Lpe({children:t,isPresent:r}){const a=O(),o=n(null),i=n({width:0,height:0,top:0,left:0});return x((()=>{const{width:e,height:t,top:n,left:l}=i.current;if(r||!o.current||!e||!t)return;o.current.dataset.motionPopId=a;const s=document.createElement("style");return document.head.appendChild(s),s.sheet&&s.sheet.insertRule(`\n [data-motion-pop-id="${a}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${n}px !important;\n left: ${l}px !important;\n }\n `),()=>{document.head.removeChild(s)}}),[r]),e.createElement(Hpe,{isPresent:r,childRef:o,sizeRef:i},e.cloneElement(t,{ref:o}))}const Ipe=({children:t,initial:r,isPresent:n,onExitComplete:a,custom:o,presenceAffectsLayout:i,mode:l})=>{const s=ese(Fpe),c=O(),u=y((()=>({id:c,initial:r,isPresent:n,custom:o,onExitComplete:e=>{s.set(e,!0);for(const e of s.values())if(!e)return;a&&a()},register:e=>(s.set(e,!1),()=>s.delete(e))})),i?void 0:[n]);return y((()=>{s.forEach(((e,t)=>s.set(t,!1)))}),[n]),e.useEffect((()=>{!n&&!s.size&&a&&a()}),[n]),"popLayout"===l&&(t=e.createElement(Lpe,{isPresent:n},t)),e.createElement(Vie.Provider,{value:u},t)};function Fpe(){return new Map}const _pe=e=>e.key||"";const Zpe=({children:t,custom:o,initial:i=!0,onExitComplete:l,exitBeforeEnter:c,presenceAffectsLayout:u=!0,mode:h="sync"})=>{zse(!c,"Replace exitBeforeEnter with mode='wait'");const m=v(Wie).forceRender||function(){const e=Tpe(),[t,n]=r(0),a=w((()=>{e.current&&n(t+1)}),[t]);return[w((()=>Sse.postRender(a)),[a]),t]}()[0],d=Tpe(),g=function(e){const t=[];return s.forEach(e,(e=>{p(e)&&t.push(e)})),t}(t);let b=g;const y=n(new Map).current,x=n(b),O=n(new Map).current,E=n(!0);var j;if(Aie((()=>{E.current=!1,function(e,t){e.forEach((e=>{const r=_pe(e);t.set(r,e)}))}(g,O),x.current=b})),j=()=>{E.current=!0,O.clear(),y.clear()},a((()=>()=>j()),[]),E.current)return e.createElement(e.Fragment,null,b.map((t=>e.createElement(Ipe,{key:_pe(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:u,mode:h},t))));b=[...b];const C=x.current.map(_pe),P=g.map(_pe),M=C.length;for(let e=0;e<M;e++){const t=C[e];-1!==P.indexOf(t)||y.has(t)||y.set(t,void 0)}return"wait"===h&&y.size&&(b=[]),y.forEach(((t,r)=>{if(-1!==P.indexOf(r))return;const n=O.get(r);if(!n)return;const a=C.indexOf(r);let i=t;if(!i){const t=()=>{O.delete(r),y.delete(r);const e=x.current.findIndex((e=>e.key===r));if(x.current.splice(e,1),!y.size){if(x.current=g,!1===d.current)return;m(),l&&l()}};i=e.createElement(Ipe,{key:_pe(n),isPresent:!1,onExitComplete:t,custom:o,presenceAffectsLayout:u,mode:h},n),y.set(r,i)}b.splice(a,0,i)})),b=b.map((t=>{const r=t.key;return y.has(r)?t:e.createElement(Ipe,{key:_pe(t),isPresent:!0,presenceAffectsLayout:u,mode:h},t)})),"production"!==process.env.NODE_ENV&&"wait"===h&&b.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),e.createElement(e.Fragment,null,y.size?b:b.map((e=>f(e))))};function Dpe(e){return t.createElement(t.Fragment,null,t.createElement("a",{href:e.linkUrl,target:e.isExternalLink?"_blank":"",rel:e.isExternalLink?"noopener noreferrer":"",className:"rounded-2xl hover:shadow-xl p-8 h-full flex flex-col justify-between group/sc border border-neutral-200 hover:border-opacity-0 min-h-[260px] group"},t.createElement(t.Fragment,null,t.createElement("div",{className:"flex items-center justify-between pb-5"},e.brandImageUrl&&e.brandImageAlt&&t.createElement("div",{className:"max-h-[64px]"},t.createElement("img",{src:e.brandImageUrl,alt:e.brandImageAlt,className:"max-h-[44px] brightness-0 transition ease-in-out duration-300 group-hover:brightness-100"})),e.iconVariant&&t.createElement("div",{className:"hidden tb:flex flex-row relative "},e.iconTag&&t.createElement("div",{className:"gap-2 items-center transition-all duration-[350ms] group-hover/sc:opacity-100 inline-flex flex-row translate-x-0 group-hover/sc:-translate-x-5"},t.createElement(mz,{height:"w-6 h-6 stroke-[1.5px]",variant:e.iconArrowVariant??"",strokeClass:"stroke-neutral-400"}),t.createElement("div",{className:" opacity-0 group-hover/sc:opacity-100 transition-opacity duration-[350ms] "},t.createElement(ce,{textStyle:"body3-medium",className:"hidden text-neutral-400 group-hover/sc:block"},e.iconTag))))),e.description&&t.createElement("div",null,t.createElement("div",{className:"translate-y-10 group-hover/sc:translate-y-0 duration-300 transition-all"},t.createElement(ce,{textStyle:"body1c",className:`${A(e.descTextColor)} mt-2`},e.description)),t.createElement("div",{className:"translate-y-8 transition-all group-hover/sc:translate-y-0 opacity-0 group-hover/sc:opacity-100 duration-300 group-hover/sc:flex"},t.createElement("div",{className:"flex"},t.createElement(V8,{label:e.readMoreBtn.cta_text??"Read More",type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"",className:" mt-[14px]"})))))))}function qpe(e){return t.createElement(t.Fragment,null,t.createElement("div",{className:"flex flex-col-reverse px-6 py-10 tb-l:px-0 tb-l:py-0 tb-l:flex-row tb-l:gap-10 db:gap-32 tb-l:max-w-7xl min-h-[742px] tb-l:min-h-[518px]"},t.createElement("div",{className:"flex flex-col tb-l:pl-20 tb-l:pt-14 tb-l:pb-14"},e.tagline&&t.createElement(ce,{textStyle:"h6",className:"text-blue-400 tb-l:block uppercase mb-2 hidden "},e.tagline),e.brandImageURL&&e.brandImageAlt&&t.createElement("div",{className:"tb-l:flex hidden -ml-2 pb-1 justify-start"},t.createElement("img",{src:e.brandImageURL,alt:e.brandImageAlt,className:"max-h-[64px]"})),e.title&&t.createElement("div",{className:"flex flex-col gap-6 tb-l:max-w-[547px] "},t.createElement(ce,{textStyle:"h3",className:"text-neutral-1000 tb-l:block hidden min-h-[144px] overflow-clip"},e.title),e.heroList&&t.createElement("div",null,t.createElement("div",{className:"flex flex-col pt-6 tb-l:pt-0 gap-4"},e.heroList.map(((e,r)=>t.createElement("div",{key:r,className:"flex gap-5"},t.createElement(mz,{height:"tb:h-8 tb:w-8 h-6 w-6",variant:e.iconVariant,strokeClass:e.strokeClass??"stroke-neutral-800"}),t.createElement(ce,{textStyle:"sub2",className:"text-neutral-700"},e.title))))))),e.CTA&&t.createElement("div",{className:"mt-10 tb:flex"},t.createElement("a",{href:e.CTA.url},t.createElement(V8,{label:e.CTA.text,type:"secondary",size:"md",rightAnimatedArrowColor:"#3970FD"})))),e.heroImageURL&&e.heroImageAlt?t.createElement(t.Fragment,null,t.createElement("div",{className:"flex justify-center tb:justify-start tb-l:justify-end tb-l:pt-14 tb:max-w-[600px]"},t.createElement("img",{src:e.heroImageURL,alt:e.heroImageAlt,className:"rounded-xl tb-l:rounded-none tb-l:rounded-br-3xl tb-l:rounded-tl-3xl w-full h-auto object-cover db-s:max-w-[650px] tb-l:max-w-[600px] tb:max-w-[420px] "}))):t.createElement(t.Fragment,null,e.video_url&&t.createElement("div",{className:"flex mt-4 tb:mt-0 tb:items-end tb:max-w-[600px] tb-l:min-w-[550px]"},t.createElement("video",{autoPlay:!0,loop:!0,playsInline:!0,muted:!0,src:e.video_url,className:" rounded-xl tb-l:rounded-none tb-l:rounded-br-3xl tb-l:rounded-tl-3xl"}))),t.createElement("div",{className:"tb-l:hidden pb-6"},e.brandImageURL&&e.brandImageAlt&&t.createElement("div",{className:"pb-1 -ml-1 "},t.createElement("img",{src:e.brandImageURL,alt:e.brandImageAlt,className:"max-h-[40px]"})),t.createElement("div",{className:"text-neutral-1000 text-hds-m-h4 tb:text-hds-t-h3 db:text-hds-d-h3"},e.title)),e.tagline&&t.createElement(ce,{textStyle:"h6",className:"text-blue-400 tb-l:hidden uppercase"},e.tagline)))}function Upe(e){return t.createElement(t.Fragment,null,t.createElement("div",null,e.eventBadge&&t.createElement("div",{className:"pb-2"},t.createElement(x8,{color:e.badgeColor??"green",children:e.eventBadge})),e.title&&t.createElement(ce,{textStyle:"h3",as:"h1",className:A(e.titleTextColor)+" pb-6"},e.title),(e.eventDate||e.eventTime||e.eventLocation||e.social)&&t.createElement("div",{className:"flex tb:divide-x divide-y tb:divide-y-0 divide-neutral-200 pb-6 tb:flex-row flex-col"},e.eventDate&&t.createElement("div",{className:"flex flex-col tb:pr-6 pb-4 tb:pb-0 gap-1"},t.createElement("div",{className:"flex gap-2 items-center"},t.createElement(mz,{height:"h-[18px] w-[18px]",variant:"calendar",strokeClass:"stroke-neutral-600 stroke-2"}),t.createElement(ce,{textStyle:"h6",className:"capitalize text-neutral-600"},"WHEN")),t.createElement(ce,{textStyle:"sub2",className:"text-neutral-700"},e.eventDate)),e.eventTime&&t.createElement("div",{className:"flex flex-col tb:px-6 py-4 tb:py-0 gap-1"},t.createElement("div",{className:"flex gap-2 items-center"},t.createElement(mz,{height:"h-[18px] w-[18px]",variant:"clock",strokeClass:"stroke-neutral-600 stroke-2"}),t.createElement(ce,{textStyle:"h6",className:"capitalize text-neutral-600"},"TIME")),t.createElement(ce,{textStyle:"sub2",className:"text-neutral-700"},e.eventTime)),e.eventLocation&&t.createElement("div",{className:"flex flex-col tb:px-6 py-4 tb:py-0 gap-1 "},t.createElement("div",{className:"flex gap-2 items-center"},t.createElement(mz,{height:"h-[18px] w-[18px]",variant:"markerpin03",strokeClass:"stroke-neutral-600 stroke-2"}),t.createElement(ce,{textStyle:"h6",className:"capitalize text-neutral-600"},"WHERE")),t.createElement(ce,{textStyle:"sub2",className:"text-neutral-700"},e.eventLocation)),e.social&&t.createElement("div",{className:"px-6 flex flex-wrap gap-4 items-center"},e.social&&e.social.twitter&&t.createElement("a",{href:e.social.twitter},t.createElement(mz,{variant:"twitter",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"})),e.social&&e.social.linkedin&&t.createElement("a",{href:e.social.linkedin},t.createElement(mz,{variant:"linkedin",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"})),e.social&&e.social.facebook&&t.createElement("a",{href:e.social.facebook},t.createElement(mz,{variant:"facebookBlue",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"})))),e.subtitle&&t.createElement(ce,{textStyle:"h5",className:"text-neutral-700 pb-2"},e.subtitle),e.description&&t.createElement(ce,{textStyle:"sub2",className:"text-neutral-700 pb-6 [&>p]:pb-2 [&>p>img]:mt-4 [&>p>img]:max-w-[420px] [&>p>img]:w-full [&>p>img:nth-child(2)]:max-w-[140px] last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-1 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p>a:hover]:text-blue-800 "},t.createElement(iie,null,e.description)),e.speakers&&t.createElement("div",{className:"pt-6 border-t border-neutral-200 gap-8 flex flex-wrap"},e.speakers&&e.speakers.map(((e,r)=>{return t.createElement("div",{key:r},(n=e.speakerName,a=e.speakerDesignation,o=e.speakerImgUrl,t.createElement("div",{className:""},t.createElement(g8,{name:n,size:"md",designation:a,imageUrl:o,avatarVariant:"circle",avatarType:"primary"}))));var n,a,o})))))}function $pe({disabled:e,label:n,helper:a,size:o,placeholder:i,onChange:l}){const[s,c]=r("");return t.createElement("div",null,t.createElement("label",{htmlFor:"email",className:"ml-4 block text-sm-medium text-neutral-800"},n),t.createElement("div",{className:"mt-1"},t.createElement("input",{type:"email",name:"email",id:"email",disabled:e,className:"block w-full rounded-full border-neutral-200 shadow-none text-neutral-800 focus:outline-none focus:border-neutral-200 focus:shadow-[0_0px_0px_4px_#DFE8FF] focus:ring-0 hover:shadow hover:border-neutral-300 placeholder:text-neutral-500 placeholder:text-md-regular disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200",placeholder:i,"aria-describedby":"email-description",onChange:e=>{const t=e.target.value;c(t),l&&l(t)}})),t.createElement("p",{className:"mt-2 ml-4 text-sm-regular text-neutral-800",id:"email-description"},a))}function zpe({label:e,helper:n,size:a,placeholder:o,rightIconVariant:i,rightIconColor:l,disabled:s,onChange:c}){const[u,h]=r("");return t.createElement("div",null,t.createElement("label",{htmlFor:"email",className:"block ml-4 text-sm-medium text-neutral-800"},e),t.createElement("div",{className:"relative mt-1 rounded-full shadow-sm"},t.createElement("input",{type:"email",name:"email",id:"email",className:"block w-full rounded-full shadow border-pink-500 focus:border-pink-500 focus:outline-none focus:ring-pink-500 sm:text-sm focus:shadow-[0_0px_0px_4px_#FFE6F0] placeholder:text-neutral-500 placeholder:text-md-regular ",placeholder:o,defaultValue:"adamwathan","aria-invalid":"true","aria-describedby":"email-error",onChange:e=>{const t=e.target.value;h(t),c&&c(t)}}),t.createElement("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-4"},i&&"none"!==i&&t.createElement("div",{className:" ml-1.5 h-4 w-4"},t.createElement(mz,{variant:i,strokeColor:l})))),t.createElement("p",{className:"mt-2 ml-4 text-xs-regular text-pink-600",id:"email-error"},n))}function Wpe({label:e,helper:n,size:a,placeholder:o,leftIconVariant:i,leftIconColor:l,disabled:s,onChange:c}){return r(""),t.createElement("div",null,t.createElement("label",{htmlFor:"email",className:"block text-sm-medium text-neutral-800"},e),t.createElement("div",{className:"relative mt-1 rounded-md shadow-sm"},t.createElement("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},i&&"none"!==i&&t.createElement("div",{className:"-ml-0.5 mr-2 h-4 w-4"},t.createElement(mz,{variant:i,strokeColor:l}))),t.createElement("input",{type:"email",name:"email",id:"email",disabled:s,className:"block w-full rounded-md border-gray-300 pl-10 focus:border-indigo-500 focus:ring-indigo-500 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 sm:text-sm",placeholder:o})),t.createElement("p",{className:"mt-2 text-sm-regular text-neutral-800",id:"email-description"},n))}function Gpe({label:e,helper:n,size:a,placeholder:o,rightIconVariant:i,rightIconColor:l,disabled:s,onChange:c}){const[u,h]=r("");return t.createElement("div",null,t.createElement("label",{htmlFor:"account-number",className:"block text-sm-medium ml-4 text-neutral-800"},e),t.createElement("div",{className:"relative mt-1 rounded-full shadow-sm"},t.createElement("input",{type:"text",name:"account-number",id:"account-number",disabled:s,className:"block w-full rounded-full border-gray-300 pr-10 focus:border-indigo-500 focus:ring-indigo-500 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 sm:text-sm",placeholder:"000-00-0000",onChange:e=>{const t=e.target.value;h(t),c&&c(t)}}),t.createElement("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-4"},i&&"none"!==i&&t.createElement("div",{className:" ml-1.5 h-4 w-4"},t.createElement(mz,{variant:i,strokeColor:l})))),t.createElement("p",{className:"mt-2 ml-4 text-sm-regular text-neutral-800",id:"email-description"},n))}function Qpe({disabled:e,label:n,helper:a,size:o,placeholder:i,dropOptions:l,onChange:s}){return r(""),t.createElement("div",null,t.createElement("label",{htmlFor:"phone-number",className:"block text-sm-medium text-neutral-800"},n),t.createElement("div",{className:"relative mt-1"},t.createElement("div",{className:"absolute inset-y-0 left-0 flex items-center"},t.createElement("label",{htmlFor:"country",className:"sr-only"},"Country"),t.createElement("select",{id:"country",name:"country",autoComplete:"country",disabled:e,className:"h-full rounded-l-md border-neutral-300 border-r-0 bg-transparent py-0 pl-3 pr-7 text-gray-500 focus:border-none focus:ring-0 sm:text-sm-regular focus:outline-none focus:border-neutral-200 focus:shadow-[0_0px_0px_4px_#DFE8FF] disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200"},l.map((e=>t.createElement("option",null,e))))),t.createElement("input",{type:"text",name:"phone-number",id:"phone-number",disabled:e,className:" block w-full rounded-lg border-neutral-200 shadow-none text-neutral-800 py-1.5 pl-16 sm:text-sm-regular focus:outline-none focus:border-neutral-200 focus:shadow-[0_0px_0px_4px_#DFE8FF] focus:ring-0 hover:shadow hover:border-neutral-300 placeholder:text-neutral-500 placeholder:text-md-regular disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 ",placeholder:" "+i})),t.createElement("p",{className:"mt-2 text-sm-regular text-neutral-800",id:"email-description"},a))}function Ype(){return React.createElement("div",null,"leading text")}function Kpe({label:e,placeholder:r,disabled:n}){return t.createElement("div",null,t.createElement("label",{htmlFor:"comment",className:"block text-sm-medium leading-6 text-neutral-800"},e),t.createElement("div",{className:"mt-2"},t.createElement("textarea",{rows:4,name:"comment",id:"comment",disabled:n,className:"block w-full rounded-md border-0 text-neutral-800 shadow ring-1 ring-inset ring-neutral-200 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 sm:py-1.5 sm:text-md-regular sm:leading-6",defaultValue:"",placeholder:r})))}function Xpe({label:e,disabled:r,helper:n,size:a,placeholder:o,leftIconVariant:i,leftIconColor:l,rightIconVariant:s,rightIconColor:c,buttonName:u}){return t.createElement("div",null,t.createElement("label",{htmlFor:"email",className:"block text-sm font-medium leading-6 text-gray-900"},e),t.createElement("div",{className:"mt-2 flex rounded-md shadow-sm"},t.createElement("div",{className:"relative flex flex-grow items-stretch focus-within:z-10"},t.createElement("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},i&&"none"!==i&&t.createElement("div",{className:"-ml-0.5 mr-2 h-4 w-4"},t.createElement(mz,{variant:i,strokeColor:l}))),t.createElement("input",{type:"email",name:"email",id:"email",disabled:r,className:"block w-full rounded-none rounded-l-md border-0 py-1.5 pl-10 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 sm:text-sm sm:leading-6",placeholder:o})),t.createElement("button",{type:"button",disabled:r,className:"relative -ml-px inline-flex items-center gap-x-1.5 rounded-r-md px-3 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200"},s&&"none"!==s&&t.createElement("div",{className:" ml-1.5 h-4 w-4"},t.createElement(mz,{variant:s,strokeColor:c})),u)))}function Jpe({disabled:e,label:r,helper:n,size:a,placeholder:o,dropOptions:i,currencySymbol:l}){return t.createElement("div",null,t.createElement("label",{htmlFor:"price",className:"block text-sm font-medium leading-6 text-gray-900"},r),t.createElement("div",{className:"relative mt-2 rounded-md shadow-sm"},t.createElement("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},t.createElement("span",{className:"text-gray-500 sm:text-sm"},l)),t.createElement("input",{type:"text",name:"price",id:"price",disabled:e,className:"block w-full rounded-md border-0 py-1.5 pl-7 pr-20 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 sm:text-sm sm:leading-6",placeholder:o}),t.createElement("div",{className:"absolute inset-y-0 right-0 flex items-center"},t.createElement("label",{htmlFor:"currency",className:"sr-only"},"Currency"),t.createElement("select",{id:"currency",name:"currency",disabled:e,className:"h-full rounded-md border border-blue-200 py-0 pl-2 pr-7 text-gray-500 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm"},i.map((e=>t.createElement("option",null,e)))))))}function efe({disabled:e,label:n,helper:a,size:o,placeholder:i,onChange:l}){return r(""),t.createElement("div",null,t.createElement("div",{className:"flex bg-neutral-0 border border-neutral-300 rounded-full shadow-sm"},t.createElement("div",{className:"relative flex flex-grow items-stretch "},t.createElement("input",{type:"email",name:"email",id:"email",disabled:e,className:"block w-full rounded-l-full border-0 text-hds-m-body3c tb:text-hds-t-body3c db:text-hds-d-body3c py-3 pl-5 placeholder:text-hds-m-body3c placeholder:tb:text-hds-t-body3c placeholder:db:text-hds-d-body3c placeholder:text-neutral-500 placeholder:bg-neutral-0 focus:ring-0 active:bg-neutral-0 focus:bg-neutral-0 visited:bg-neutral-0 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-neutral-200",placeholder:i})),t.createElement("div",{className:" py-[3.5px] pr-[3px] z-20"},t.createElement(V8,{type:"tonal",btnBgColorClass:"bg-blue-100",btnbgHoverClass:"hover:bg-blue-500",rightAnimatedArrowColor:"#3970FD",label:n}))))}function tfe(e){return t.createElement("div",{className:""},t.createElement("div",{className:" flex "+("primary"===e.cardType?" flex flex-col-reverse ":"pb-6 flex flex-col")},e.imgURL&&t.createElement("div",{className:"primary"===e.cardType?"py-11":"pb-4"},t.createElement("img",{src:e.imgURL,loading:"lazy",alt:e.title,className:(e.cardType,"max-h-[200px]")})),t.createElement("div",null,e.titleTag&&t.createElement("div",{className:" text-hds-m-h6 text-neutral-500 uppercase"},e.titleTag),e.title&&t.createElement(ce,{textStyle:"h4",className:"text-neutral-1000"},e.title),e.schedule&&t.createElement("div",{className:"flex gap-4 pt-4 flex-wrap"},e.schedule.date&&t.createElement("div",{className:"border border-neutral-200 rounded-2xl p-4 min-w-[152px] "},e.schedule.day&&t.createElement(ce,{textStyle:"h6",className:"text-neutral-600"},e.schedule.day),e.schedule.date&&t.createElement(ce,{textStyle:"h4",className:"text-neutral-1000"},e.schedule.date)),e.schedule.time&&t.createElement("div",{className:"border border-neutral-200 rounded-2xl p-4 min-w-[152px]"},e.schedule.timezone&&t.createElement(ce,{textStyle:"h6",className:"text-neutral-600"},e.schedule.timezone),e.schedule.time&&t.createElement(ce,{textStyle:"h4",className:"text-neutral-1000"},e.schedule.time))))),t.createElement("div",{className:"pb-6 border-neutral-200"},e.inviteTitle&&t.createElement(ce,{textStyle:"h5",className:"text-neutral-800 border-t border-neutral-200 pt-6"},e.inviteTitle),e.inviteTitle2&&t.createElement(ce,{textStyle:"h4",className:"text-neutral-1000"},e.inviteTitle2),e.inviteSubtitle&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-800"},e.inviteSubtitle)),t.createElement("div",{className:"pb-6"},(()=>{const r=e.invites||0,n=Array.from({length:r},((r,n)=>t.createElement("div",{className:"",key:n},t.createElement(efe,{label:e.IFbuttonLabel,placeholder:e.IFbuttonPlaceholder}))));return t.createElement("div",{className:"flex flex-col gap-4"},n)})()),(e.social||e.calendarLink)&&t.createElement("div",{className:"border-t border-neutral-200 pt-6 flex gap-6 flex-wrap justify-center"},e.social&&t.createElement("div",{className:"flex flex-wrap items-center"},e.social&&e.social.twitter&&t.createElement("a",{href:e.social.twitter,className:"w-[45px] flex justify-center"},t.createElement(mz,{variant:"twitter",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"})),e.social&&e.social.linkedin&&t.createElement("a",{href:e.social.linkedin,className:"w-[45px] flex justify-center"},t.createElement(mz,{variant:"linkedin",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"})),e.social&&e.social.facebook&&t.createElement("a",{href:e.social.facebook,className:"w-[45px] flex justify-center"},t.createElement(mz,{variant:"facebookBlue",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"}))),t.createElement("div",null,t.createElement(R8,{variant:"calendarButton",label:"Add to Calendar",labelColor:"text-blue-500",iconStrokeClass:"stroke-blue-500",iconVariant:"calendarplus02"}))))}function rfe(e){return t.createElement(t.Fragment,null,e.linkUrl&&t.createElement("a",{href:e.linkUrl,className:" flex flex-col gap-10 justify-between h-full"},t.createElement("div",{className:"flex justify-between"},e.imgUrl&&t.createElement("div",{className:"flex"},t.createElement("img",{alt:e.title??"connectorImage",src:e.imgUrl,className:" max-h-[25px] object-contain "})),e.checkIcon&&t.createElement("div",{className:"ml-2"},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5px]",variant:e.checkIcon,strokeClass:"stroke-blue-600"}))),t.createElement("div",null,e.title&&t.createElement(ce,{textStyle:"body2-bold",className:"text-neutral-1000"},e.title),e.description&&t.createElement(ce,{textStyle:"body3",className:"pt-2 text-neutral-600"},e.description),t.createElement("div",{className:"flex flex-row items-center gap-2 pt-3"},e.iconVariant&&t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e.iconVariant,strokeClass:"stroke-neutral-600"}),e.iconTag&&t.createElement(ce,{textStyle:"body2-bold",className:"text-neutral-1000"},e.iconTag)))))}function nfe(e){const{disabled:r,CHECKBOX_ARR:n}=e;return t.createElement("fieldset",null,t.createElement("legend",{className:"sr-only"},"Notifications"),t.createElement("div",{className:"space-y-5"},n.map((e=>t.createElement("div",{className:"relative flex items-start"},t.createElement("div",{className:"flex h-6 items-center"},t.createElement("input",{id:"comments","aria-describedby":"comments-description",name:"comments",type:"checkbox",disabled:r,className:"h-4 w-4 rounded-full border-neutral-200 focus:ring-blue-100 focus:ring-offset-0 focus:ring-0 focus:border focus:bg-neutral-0 focus:border-neutral-300 focus:shadow-[0px_0px_0px_4px_#F0F4FF] focus:outline-none hover:bg-blue-200 hover:border hover:border-blue-600 bg-checkbox checked:hover:bg-blue-200 checked:border-blue-600 checked:bg-blue-100 checked:focus:border checked:focus:border-blue-600 checked:focus:bg-blue-100 checked:hover:border checked:hover:border-blue-600 checked:focus:shadow-[0px_0px_0px_4px_#F0F4FF] disabled:bg-neutral-100 disabled:border disabled:border-neutral-300 "})),t.createElement("div",{className:"ml-3 text-sm leading-6"},t.createElement("label",{htmlFor:"comments",className:"text-neutral-800"},e.label),t.createElement("p",{id:"comments-description",className:"text-neutral-600"},e.description)))))),t.createElement("style",null,'\n .bg-checkbox:checked {\n background-image: url("data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27blue%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath d=%27M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z%27/%3e%3c/svg%3e")\n \n }\n '))}function afe(...e){return e.filter(Boolean).join(" ")}Dpe.defaultProps={descTextColor:"text-neutral-700",isExternalLink:"false",iconTag:"Customer Stories",titleTextColor:"",brandImageUrl:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1690909443/hasura-design-system/swiggy_m2hjxy.png",brandImageAlt:"pipe",linkUrl:"?path=/story/hasura-design-system--hasura-design-system&globals=backgrounds.value:!hex(3b5998)",iconVariant:"videorecorder",iconStrokeColor:"blue-500",iconArrowVariant:"home03",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura Model Level Authorization System for ",readMoreBtn:{cta_text:"Read More"}},qpe.defaultProps={heroImageURL:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1690802853/website%20v3/optum_hiqty8.png",heroImageAlt:"optum",heroIconVariant:"calendar",heroIconStrokeClass:"stroke-neutral-1000",heroListTitle:"100 days from concept to production",brandImageURL:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1690982762/pulley_pcj45e_8fd10af212.png",brandImageAlt:"optum",title:"Healthcare giant Optum goes from concept to production in 100 days with Hasura",description:"description1",CTA:{text:"Button Label"},heroList:[{iconVariant:"calendar",title:"100 days from concept to production"},{iconVariant:"database03",title:"Vastly improved access to relevant data"},{iconVariant:"settings01",title:"Simpler data and API management"}]};const ofe=(e,t)=>{if(t){const r=new URL(e);return r.searchParams.set("pg",t),r.toString()}return e};function ife(e){e.HEADER_LIST.length;const[n,o]=r(!1),[i,l]=r(!1),[s,c]=r(!1),[u,h]=r(!1),[m,p]=r("");r(!1);const[f,d]=r(!1),v=ofe("https://cloud.hasura.io/signup?pg=sample-apps&plcmt=header&cta=try-hasura&tech=default",e.website_key),g=ofe("https://cloud.hasura.io/login?pg=sample-apps&plcmt=header&cta=log-in&tech=default",e.website_key),[b,w]=r(Array(e.HEADER_LIST.length).fill(!1)),y=e=>{w((t=>{const r=[...t];return r[e]=!0,r}))},x=e=>{w((t=>{const r=[...t];return r[e]=!1,r}))},O=(e,r)=>{const{title:n,primaryCard:a,secondaryCardArr:o,tertiaryCard:i,flyoutD:l}=e[r];return t.createElement("div",{id:`dropdown_${r}`},e[r]&&t.createElement("div",{className:"relative",onMouseEnter:()=>y(r),onMouseLeave:()=>x(r)},t.createElement("div",{className:afe("group inline-flex items-center rounded-md bg-white hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",b[r]?"":"text-gray-500")},t.createElement("div",{className:"flex flex-col items-center cursor-pointer"},t.createElement(ce,{className:"hover:text-blue-600",textStyle:"body3c-medium"},`${n} `))),t.createElement(Ape.div,null,b[r]&&t.createElement("div",{id:`dropdown_${r}_content`,className:"left-0 z-20",onMouseEnter:()=>y(r),onMouseLeave:()=>x(r),onScroll:()=>x(r)},t.createElement(Ape.div,{initial:{opacity:0},animate:{opacity:1},transition:{ease:"easeInOut",duration:.1},className:"absolute -left-[137px] z-[2] transform "+(b[0]?"-left-[137px] ":"")+(b[1]?"-left-[218px]":"")+(b[3]?"-left-[50px] ":"")},((e,r,n,a)=>t.createElement("div",null,t.createElement("div",null,t.createElement("hr",{className:"w-full h-6 border-0"})),t.createElement("div",{className:"p-2 bg-neutral-150 rounded-3xl"},t.createElement(vie,{primaryCard:e,secondaryCardArr:r,tertiaryCard:n,flyoutD:a}))))(a,o,i,l))))))};let E,j;function C(){o(!n),c(!1),h(!1),l(!1),p(""),e.HEADER_LIST.forEach(((e,t)=>{x(t)}))}return n&&(E="rotate-45 ",j="-rotate-45 "),n||(E=" ",j="translate-y-[5.8px] "),a((()=>{i?p("Product"):s?p("Developer"):u&&p("Company")}),[i,s,u]),t.createElement("div",{className:"relative mx-auto"},t.createElement("div",{className:`flex items-center ${A(e.headerBg)} justify-between py-4 db:py-3 tb-l:justify-start`},t.createElement("div",{className:"flex flex-row justify-between items-center w-full tb-l:w-fit"},t.createElement("div",null,t.createElement("a",{href:e.headerUrl,className:"flex items-center"},t.createElement(mz,{height:"w-[103px] h-[33px]",variant:"hasuraPrimary",strokeColor:""}))),t.createElement("div",{className:"hds-hidden-tbl flex z-[10] items-center gap-6"},t.createElement("div",{className:"h-full "+(n?" hds-hidden":"")},!e.hideSearch&&t.createElement(e8,e)),!(u||s||i)&&t.createElement(Ape.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.3,opacity:{ease:"easeIn"}},className:"h-5 w-5 mt-3",onClick:()=>C()},t.createElement("div",{className:" h-5 cursor-pointer"},t.createElement("div",{"aria-hidden":"true",className:`${E} block absolute h-[2px] w-[15px] bg-neutral-800 transform transition duration-500 ease-in-out`}),t.createElement("div",{"aria-hidden":"true",className:`${j} block absolute h-0.5 w-[15px] bg-neutral-800 transform transition duration-500 ease-in-out`}))))),t.createElement("div",{className:"hds-hidden tb-l:flex flex-row w-full justify-between items-center"},t.createElement("nav",{className:"hds-hidden items-baseline relative tb-l:pl-8 tb-l:flex tb-l:space-x-6",onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1)},(M=e.HEADER_LIST,t.createElement(t.Fragment,null,O(M,0),O(M,1),t.createElement("a",{href:"/case-studies/"},t.createElement(ce,{className:"hover:text-blue-600 cursor-pointer",textStyle:"body3c-medium"},"Customers ")),O(M,3),t.createElement("a",{href:"/pricing"},t.createElement(ce,{className:"hover:text-blue-600 cursor-pointer",textStyle:"body3c-medium"},"Pricing "))))),t.createElement("div",{className:"hds-hidden tb-l:flex flex-row items-center gap-x-4 "},!e.hideSearch&&t.createElement(e8,e),t.createElement("a",{href:"/contact-us?type=hasuraenterprise",className:"hds-hidden db:flex"},t.createElement(ce,{textStyle:"body3c-medium",className:"text-neutral-800 hover:text-blue-600"},"Contact Sales")),t.createElement("a",{href:g},t.createElement(V8,{label:"Log In",type:"tonal",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"group-hover:stroke-neutral-0",className:"hds-hidden tb-l:flex"})),t.createElement("a",{href:v},t.createElement(V8,{label:"Get Started",type:"primary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff",animatedHoverStroke:"group-hover:stroke-neutral-0",className:"hds-hidden tb:flex"})))),t.createElement("div",{className:"hds-hidden-tbl overflow-auto flex "},t.createElement("div",{className:"bg-neutral-100 shadow-sh1 hds-hidden-tbl block fixed w-full tb:max-w-[480px] tb:left-auto tb:right-0 mx-auto left-4 top-0 transform transition duration-500 ease-in-out h-[calc(100%-1px)] max-h-screen overflow-y-auto"+(n?" translate-x-0":" translate-x-[1240px]")},t.createElement("div",{className:"bg-neutral-100 h-[calc(100%-80px)] rounded-2xl overflow-y-scroll scrollbar-hide"},t.createElement("div",{className:"pt-6 pb-4 tb:mr-[12px] mr-[30px] min-h-[36px] flex flex-row justify-between items-center sticky top-0 bg-neutral-100 z-50 "},(u||s||i)&&t.createElement("div",{className:" flex flex-row justify-start z-10",onClick:()=>(c(!1),h(!1),l(!1),p(""),void e.HEADER_LIST.forEach(((e,t)=>{x(t)})))},t.createElement(mz,{height:"w-5 h-5 ml-4 cursor-pointer",variant:"arrowleft",strokeClass:"stroke-neutral-1000"})),t.createElement(Ape.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,opacity:{ease:"easeIn"}},className:"w-full justify-center flex "},t.createElement(ce,{textStyle:"body3c-medium",className:"text-neutral-900"},m)),(u||s||i)&&t.createElement(Ape.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,opacity:{ease:"easeIn"}},className:" flex flex-row justify-start z-10",onClick:()=>C()},t.createElement(mz,{height:"w-5 h-5 ml-4 stroke-2 cursor-pointer",variant:"xclose",strokeClass:"stroke-neutral-1000"}))),t.createElement(Zpe,{mode:"wait",exit:!1},i||s||u?t.createElement(Ape.div,{key:"hey",exit:{opacity:0,y:[0,300]},animate:{opacity:1,y:[300,0]},transition:{duration:.2,exit:{duration:.3},opacity:{ease:"easeIn"}},when:i||s||u,className:"flex flex-col justify-between "},t.createElement("div",{className:"flex flex-col justify-between rounded-2xl h-full"},t.createElement("div",{className:"pl-4 pr-8 tb:pr-4"},(P=e.HEADER_LIST,t.createElement("div",{className:"pt-4 "},t.createElement("div",{className:"transform transition-all"},i&&t.createElement(Ape.div,{className:"product_mobile mr-0"},t.createElement(vie,{primaryCard:P[0].primaryCard,secondaryCardArr:P[0].secondaryCardArr,tertiaryCard:P[0].tertiaryCard,flyoutD:P[0].flyoutD})),s&&t.createElement("div",{className:"product_developer"},t.createElement(vie,{primaryCard:P[1].primaryCard,secondaryCardArr:P[1].secondaryCardArr,tertiaryCard:P[1].tertiaryCard})),u&&t.createElement("div",{className:"product_company"},t.createElement(vie,{primaryCard:P[3].primaryCard,secondaryCardArr:P[3].secondaryCardArr,tertiaryCard:P[3].tertiaryCard})))))))):t.createElement(Ape.div,{initial:{opacity:1},animate:{opacity:1},transition:{duration:.1,opacity:{ease:"easeIn"}},className:"mt-7 flex flex-col gap-6 ml-4"},t.createElement("div",{className:"flex flex-col mr-[50px] mb-m:items-center items-end"},t.createElement("img",{className:"inline-block max-w-[242px] w-full",src:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1688572403/hasura-design-system/mutations_1_tdh5ir.png ",alt:""})),t.createElement("nav",{className:"grid divide-y mr-8 tb:mr-4 bg-neutral-0 divide-neutral-200 border border-neutral-200 rounded-3xl mb-6"},e.HEADER_LIST.map((r=>t.createElement("div",{key:r.title,onClick:()=>function(t){const r=e.HEADER_LIST.findIndex((e=>e.title===t));y(r),"Developer"===t&&c(!0),"Customers"===t&&(window.location.href="/case-studies/"),"Pricing"===t&&(window.location.href="/pricing/"),"Product"===t&&l(!0),"Company"===t&&h(!0)}(r.title),className:"flex justify-between items-center p-4 cursor-pointer group"},t.createElement("div",{className:"flex items-center justify-center gap-2"},t.createElement(ce,{textStyle:"body3c-medium",className:"text-neutral-700 hover:text-neutral-1000 transition-all duration-300 ease-in-out"},`${r.title}`)),t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px] group-hover:translate-x-1 ease-in-out transition duration-300",variant:"chevronright",strokeClass:"stroke-neutral-500"})))))))),t.createElement("div",{className:"py-6 shadow-sh1 bg-neutral-0 pl-4 pr-8 self-end w-full"},t.createElement("div",{className:"flex flex-row justify-around"},t.createElement("div",{className:"w-full flex gap-2"},t.createElement("a",{href:g,className:"w-1/2"},t.createElement(V8,{label:"Log In",type:"tonal",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"group-hover:stroke-neutral-0",className:" !w-full"})),t.createElement("a",{href:v,className:"w-1/2"},t.createElement(V8,{label:"Get Started",type:"primary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff",animatedHoverStroke:"group-hover:stroke-neutral-0",className:" !w-full"})))))))));var P,M}function lfe(e){const{label:n,childArray:a}=e,[o,i]=r(!1);return t.createElement("header",{className:"bg-white"},t.createElement("nav",{className:"mx-auto flex max-w-7xl items-center justify-between p-6 lg:px-8","aria-label":"Global"},t.createElement("a",{href:"#",className:"-m-1.5 p-1.5 flex"},t.createElement(mz,{variant:"hasuraPrimary",strokeColor:""})),t.createElement("div",{className:"flex lg:hidden"},t.createElement("button",{type:"button",className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700",onClick:()=>i(!0)},t.createElement("span",{className:"sr-only"},"Open main menu"),t.createElement(mz,{height:"h-6",variant:"menu05",strokeColor:"#3970FD"}))),t.createElement("div",{className:"hidden lg:flex lg:gap-x-12"},a.map((e=>t.createElement("a",{key:e.name,href:e.href},t.createElement(ce,{className:"ml-1.5",textStyle:"body3"},e.name)))),t.createElement("a",{href:"#",className:"text-sm font-semibold leading-6 text-gray-900"},"Log in ",t.createElement("span",{"aria-hidden":"true"},"→")))),t.createElement("div",{className:"transition-all "},t.createElement(h9,{as:"div",className:"lg:hidden",open:o,onClose:i},t.createElement("div",{className:"fixed inset-0 z-10"}),t.createElement(h9.Panel,{className:"fixed border rounded-l-3xl inset-y-0 bg-neutral-0 max-w-min min-w-fit right-0 z-10 w-full overflow-y-auto bg-white px-6 py-6 sm:ring-1 sm:ring-gray-900/10"},t.createElement("div",{className:"flex items-center justify-end"},t.createElement("button",{type:"button",className:"-m-2.5 rounded-md p-2.5 text-gray-700",onClick:()=>i(!1)},t.createElement("span",{className:"sr-only"},"Close menu"),t.createElement(mz,{height:"h-6",variant:"xclose",strokeColor:"#3970FD"}))),t.createElement("div",{className:"mt-6 flow-root"},t.createElement(ce,{textStyle:"h6",className:"text-neutral-400"},"MENU"),t.createElement("div",{className:" flex-col divide-y divide-blue-600/10"},t.createElement("div",{className:"space-y-2 py-6 pr-48"},a.map((e=>t.createElement("a",{key:e.name,href:e.href,className:"-mx-3 rounded-lg flex gap-5 py-2 px-3 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"},t.createElement(mz,{height:"h-6",variant:"home03",strokeColor:"#6C737F"}),e.name)))),t.createElement("div",{className:"py-6"},t.createElement(V8,{leftIconVariant:"none",rightIconVariant:"none",label:"Log In",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff",animatedHoverStroke:"group-hover:stroke-neutral-0"}))))))))}function sfe(...e){return e.filter(Boolean).join(" ")}function cfe(e){const r=Array.isArray(e.tabs)?e.tabs:[];return t.createElement("div",null,t.createElement("div",{className:"sm:hidden"},t.createElement("label",{htmlFor:"tabs",className:"sr-only"},"Select a tab"),t.createElement("select",{id:"tabs",name:"tabs",className:"block w-full rounded-md border-amber-600 py-2 pl-3 pr-10 text-base focus:border-green-600 focus:outline-none focus:ring-pink-500 sm:text-sm",defaultValue:r.length&&r.find((e=>e.current)).name},r.length&&r.map((e=>t.createElement("option",{key:e.name},e.name))))),t.createElement("div",{className:"hidden sm:block"},t.createElement("div",{className:"border-b border-neutral-200"},t.createElement("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs"},r.length&&r.map((e=>t.createElement("a",{key:e.name,href:e.href,className:sfe(e.current?"border-blue-600 text-blue-600 border-b-2":"border-transparent text-neutral-700 hover:text-blue-600 hover:border-blue-600","whitespace-nowrap py-4 px-1 font-medium text-sm"),"aria-current":e.current?"page":void 0},e.name)))))))}function ufe(...e){return e.filter(Boolean).join(" ")}function hfe(e){const r=Array.isArray(e.tabs)?e.tabs:[];return t.createElement("div",null,t.createElement("div",{className:"sm:hidden"},t.createElement("label",{htmlFor:"tabs",className:"sr-only"},"Select a tab"),t.createElement("select",{id:"tabs",name:"tabs",className:"block w-full rounded-md border-pink-300 focus:border-pink-500 focus:ring-pink-500",defaultValue:r.length&&r.find((e=>e.current)).name},r.length&&r.map((e=>t.createElement("option",{key:e.name},e.name))))),t.createElement("div",{className:"hidden sm:block"},t.createElement("nav",{className:"inline-flex space-x-4 bg-neutral-100 p-2 rounded","aria-label":"Tabs"},r.length&&r.map((e=>t.createElement("a",{key:e.name,href:e.href,className:ufe(e.current?"bg-neutral-0 text-neutral-700":"text-neutral-700 bg-neutral-50 hover:text-gray-800","px-3 py-2 font-medium text-sm rounded-md"),"aria-current":e.current?"page":void 0},e.name))))))}function mfe(...e){return e.filter(Boolean).join(" ")}function pfe(e){const r=Array.isArray(e.tabs)?e.tabs:[];return t.createElement("div",null,t.createElement("div",{className:"sm:hidden"},t.createElement("label",{htmlFor:"tabs",className:"sr-only"},"Select a tab"),t.createElement("select",{id:"tabs",name:"tabs",className:"block w-full rounded-md border-gray-300 focus:border-indigo-500 focus:ring-indigo-500",defaultValue:r.length&&r.find((e=>e.current)).name},r.length&&r.map((e=>t.createElement("option",{key:e.name},e.name))))),t.createElement("div",{className:"hidden sm:block"},t.createElement("nav",{className:"flex space-x-4","aria-label":"Tabs"},r.length&&r.map((e=>t.createElement("a",{key:e.name,href:e.href,className:mfe(e.current?"bg-blue-100 text-blue-600 border-blue-600 border-b-2":"text-neutral-700 hover:text-gray-700","px-3 py-2 font-medium text-sm rounded-t-md"),"aria-current":e.current?"page":void 0},e.name))))))}function ffe(e){const{tabs:a,onTabClick:o,pillColor:i}=e,[l,s]=r(a.find((e=>e.current))||a[0]),c=n(null);let u="";i&&(u=A(i));let h="";function m(e){h=l.tabTextColorClass?A(l.tabTextColorClass):"text-neutral-500";let t=" text-neutral-0 transition-all rounded-full "+u,r=" flex-nowrap rounded-full "+h;return l.name===e?t:r}return t.createElement("div",{className:""},t.createElement("div",{className:"block"},t.createElement("nav",{className:"relative inline-flex gap-2 rounded-full","aria-label":"Tabs"},a.map((e=>t.createElement("div",{key:e.name,onClick:t=>((e,t)=>{e.preventDefault(),s(t),o&&o(t);const r=c.current;if(r){const t=e.currentTarget.offsetWidth,n=e.currentTarget.offsetLeft;r.parentElement.offsetLeft;const a=n;r.style.transform=`translateX(${a}px)`,r.style.width=`${t}px`}})(t,e)},t.createElement(ce,{className:`${m(e.name)} ${e.name===l.name?"":"hover:bg-neutral-150"} cursor-pointer px-3 py-1 z-[2] relative whitespace-nowrap`,textStyle:"body3c-medium"},e.name)))),t.createElement("span",{ref:c,className:`absolute left-0 z-[1] ${u} rounded-full transition-all ease-in duration-150`,style:{left:100*l.index+"%",width:`${l.width}px`,height:"28px"}}))))}function dfe(e){const{tabs:n,onTabClick:a,pillColor:o}=e,i=n.find((e=>e.current))?.name||n[0].name,[l,s]=r(i);let c="";o&&(c=A(o));return t.createElement("div",{className:""},t.createElement("div",{className:"block "},t.createElement("nav",{className:"relative inline-flex gap-2 rounded-[32px] ","aria-label":"Tabs"},n&&n.map((e=>t.createElement("button",{key:e.name,onClick:()=>{var t;s((t=e).name),a&&a(t)},className:(l===e.name?" text-neutral-0 transition-all duration-300":" hover:bg-neutral-500/30 text-neutral-400")+" relative px-3 py-1 whitespace-nowrap rounded-full hover:text-neutral-0 transition-all duration-300"},l===e.name&&t.createElement(Ape.div,{layoutId:"active-pill",className:`absolute inset-0 ${c}`,style:{borderRadius:32}}),t.createElement(ce,{textStyle:"body3c-medium",className:"relative z-10 "},e.name)))))))}ife.defaultProps={hideSearch:!1,HEADER_LIST:[{title:"Product",primaryCard:{iconVariant:"layersthree01",mainDescription:"Discover Hasura's core capabilities for automating the building, securing, optimizing, and deploying of APIs.",primaryBtnLabel:"Hasura Data API Platform",primaryBtnCTA:"/products",strokeClass:"stroke-neutral-800",tertiaryBtn:[{cta_leftVariantIcon:"checksquarebroken",cta_leftVariantIconColor:"#6C737F",cta_text:"Compare Plans",cta_link:"/pricing"}],secondaryBtn:[{cta_leftVariantIcon:"zap",cta_leftVariantIconColor:"#6C737F",cta_text:"Deployment Options",cta_link:"/products/deployment"}]},secondaryCardArr:[{childArray:[{description:"",href:"/products/instant-api",icon:"lightning01",name:"Instant API",strokeClass:"stroke-neutral-500"},{description:"",href:"/products/authorization",icon:"eye",name:"Authorization",strokeClass:"stroke-neutral-500"},{description:"",href:"/products/performance",icon:"speedometer03",name:"Performance",strokeClass:"stroke-neutral-500"},{description:"",href:"/products/federation",icon:"data",name:"Federation",strokeClass:"stroke-neutral-500"},{description:"",href:"/products/api-security",icon:"shieldtick",name:"API Security",strokeClass:"stroke-neutral-500"},{description:"",href:"/products/observability",icon:"piechart01",name:"Observability",strokeClass:"stroke-neutral-500"}],label:"CAPABILITIES"},{childArray:[{description:"",href:"/graphql/database",icon:"database01",name:"All Databases",strokeClass:"stroke-neutral-500"},{description:"",href:"/graphql/database?category=planned",icon:"checksquare",name:"Planned Databases",strokeClass:"stroke-neutral-500"}],label:"Data sources"}],flyoutD:{link:"https://hasura.io/ai",IconVariant:"aibot",btnLabel:"AI with Hasura",description:"Use Hasura Notebook to get Gen AI querying over your structured private data sources via GraphQL and REST APIs"}},{title:"Developer",secondaryCardArr:[{childArray:[{description:"",href:"/docs/latest/index/",icon:"file02",name:"Documentation",strokeClass:"stroke-neutral-500"},{description:"",href:"/hub",icon:"hasura",name:"Hasura Hub",strokeClass:"stroke-neutral-500"},{description:"",href:"/reference-app/",icon:"route",name:"Guides",strokeClass:"stroke-neutral-500"},{description:"",href:"/graphql/",icon:"asterisk02",name:"GraphQL Hub",strokeClass:"stroke-neutral-500"},{description:"",href:"https://cloud.hasura.io/public/graphiql",icon:"codebrowser",name:"GraphiQL",strokeClass:"stroke-neutral-500"},{description:"",href:"/changelog",icon:"gitpullrequest",name:"Changelog",strokeClass:"stroke-neutral-500"}],label:"BUILD"},{childArray:[{description:"",href:"/blog",icon:"bookopen01",name:"Blog",strokeClass:"stroke-neutral-500"},{description:"",href:"/learn/",icon:"graduationhat02",name:"Tutorials",strokeClass:"stroke-neutral-500"},{description:"",href:"/events",icon:"calendarplus02",name:"Events",strokeClass:"stroke-neutral-500"},{description:"",href:"/sample-apps/",icon:"box",name:"Resources",strokeClass:"stroke-neutral-500"}],label:"Learn"},{childArray:[{description:"",href:"/community/",icon:"users01",name:"Community",strokeClass:"stroke-neutral-500"},{description:"",href:"https://discord.com/invite/hasura",icon:"discord",name:"Discord",strokeClass:""},{description:"",href:"https://github.com/hasura/graphql-engine/discussions",icon:"octoface",name:"Discussions",strokeClass:""},{description:"",href:"https://www.meetup.com/pro/hasura/",icon:"meetup",name:"Meetups",strokeClass:""},{description:"",href:"/support/",icon:"hand",name:"Support",strokeClass:"stroke-neutral-500"}],label:"Connect"}],tertiaryCard:[{title:"HasuraCon 2023 is here!",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/hascon_211daeb83a.png"},{title:"Top 6 Architecture Trends for API Development",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/api_trends_0a035678d8.png"},{title:"Announcing Hasura integration with Snowflake",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/snowflake_def20494db.png"}]},{title:"Customers",href:""},{title:"Company",secondaryCardArr:[{childArray:[{description:"",href:"/about/",icon:"pentool02",name:"Our Story",strokeClass:"stroke-neutral-500"},{description:"",href:"/partners",icon:"intersectcircle",name:"Partners",strokeClass:"stroke-neutral-500"},{description:"",href:"/careers/",icon:"hearthand",name:"Work at Hasura",strokeClass:"stroke-neutral-500"}],label:"Company"}],tertiaryCard:[{title:"HasuraCon 2023 is here!",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/hascon_211daeb83a.png"},{title:"Top 6 Architecture Trends for API Development",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/api_trends_0a035678d8.png"},{title:"Announcing Hasura integration with Snowflake",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/snowflake_def20494db.png"}]},{title:"Pricing",href:""}],headerUrl:"/"},ffe.defaultProps={pillColor:"bg-blue-500"},dfe.defaultProps={pillColor:"bg-blue-500"};const vfe=e=>{let n;const[a,o]=r(e.visible||!1);return t.createElement("div",{className:"relative inline-flex",onMouseEnter:()=>{n=setTimeout((()=>{o(!0)}),e.delay||500)},onMouseLeave:()=>{clearInterval(n),o(!1)}},e.children,a&&t.createElement("div",{className:"absolute z-50 px-2 py-1 rounded "+("bottom-centre"===e.direction||"bottom-right"===e.direction||"bottom-left"===e.direction?"bottom-full text-xs-bold mb-2.5 left-1/2 transform -translate-x-1/2 bg-blue-600 text-neutral-0 shadow-lg w-full":"left-centre"===e.direction?" text-xs-bold left-[160%] transform -translate-x-1/2 bg-blue-600 text-neutral-0 shadow-lg w-full":"right-centre"===e.direction?" text-xs-bold -left-[60%] transform -translate-x-1/2 bg-blue-600 text-neutral-0 shadow-lg w-full":"top-centre"===e.direction||"top-left"===e.direction?"bottom-full text-xs-bold -mb-[112%] left-1/2 transform -translate-x-1/2 bg-blue-600 text-neutral-0 shadow-lg w-full":"top-right"===e.direction?"bottom-full text-xs-bold -mb-[112%] left-1/2 transform -translate-x-1/2 bg-blue-600 text-neutral-0 shadow-lg w-full":"")},e.content,t.createElement("div",{className:"absolute w-full "+("bottom-centre"===e.direction?"-bottom-1.5 left-1/2 mb-px transform rotate-45 bg-blue-600 -z-10 -ml-1.5":"bottom-right"===e.direction?"-bottom-1.5 left-[82.3%] mb-px transform rotate-45 bg-blue-600 -z-10 -ml-1.5":"bottom-left"===e.direction?"-bottom-1.5 left-[17.6%] mb-px transform rotate-45 bg-blue-600 -z-10 -ml-1.5":"left-centre"===e.direction?"bottom-1.5 transform rotate-45 bg-blue-600 -z-10 -ml-3":"right-centre"===e.direction?"bottom-1.5 left-[82.4%] transform rotate-45 bg-blue-600 -z-10 ml-1.5":"top-centre"===e.direction?"-bottom-1.5 left-1/2 mb-[28%] transform rotate-45 bg-blue-600 -z-10 -ml-1.5":"top-left"===e.direction?"-bottom-1.5 left-[17.6%] mb-[28%] transform rotate-45 bg-blue-600 -z-10 -ml-1.5":"top-right"===e.direction?"-bottom-1.5 left-[82.3%] mb-[28%] transform rotate-45 bg-blue-600 -z-10 -ml-1.5":""),style:{width:"12px",height:"12px",transform:"rotate(45deg)"}})))};function gfe({heroData:e,logo:t,scrollArrow:n,fontSize:a}){const[o,i]=r("volumex"),l=A(e.video_gradient_bg);return React.createElement("div",{className:"db:pt-32 mb-10 db:mb-5 tb:mb-16 tb-l:mb-0"},React.createElement("div",{className:"tb:px-4"},React.createElement("div",{className:"max-w-7xl mx-auto rounded-3xl overflow-hidden "+(e.bg_color?e.bg_color:"")},React.createElement("div",{className:"w-full"},React.createElement("div",{className:"db:flex db:w-full tb-l:flex block"+(e.video_url?" tb:block":" tb:flex")},React.createElement("div",{className:"db:px-28 db:py-20 db:pr-0 tb-l:self-center tb-l:min-w-[400px] mx-auto db:ml-0 db:max-w-[625px] db:min-w-[625px] p-5 pt-10 z-[1] tb:p-16 tb-l:py-12"+(e.video_url?" tb:max-w-[530px]":" tb:ml-0 tb:max-w-[290px] tb:min-w-[310px] tb:pr-0")},e.tag_line&&React.createElement("div",null,React.createElement(ce,{textStyle:"h6",as:"h6",className:"pb-6 uppercase text-center db:text-left font-normal tb-l:text-left "+(e.tag_line_color?e.tag_line_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.tag_line)),e.title&&React.createElement("div",null,t?React.createElement("div",{className:"pb-4 db:text-left text-center tb-l:text-left"+(e.video_url?" tb:text-center":" tb:text-left")},React.createElement("img",{className:"w-[290px] inline-block",src:t,alt:"Brand"})):React.createElement(ce,{textStyle:a||"h1",as:"h1",className:"pb-2 text-center break-words db:text-left tb-l:text-left "+(e.title_color?e.title_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.title)),e.sub_title&&React.createElement("div",null,React.createElement(ce,{textStyle:"sub1",className:"text-center db:text-left tb-l:text-left "+(e.sub_title_color?e.sub_title_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.sub_title)),e.description&&React.createElement("div",null,React.createElement(ce,{textStyle:"sub2",className:"text-center tb:text-left db:text-left tb-l:text-left text-blue-700 [&>*]:mb-8 last:[&>*]:mb-0"},e.description)),e.buttons&&React.createElement("div",{className:" gap-2 flex items-center justify-center tb-l:justify-start db:justify-start pt-6"+(e.video_url?" tb:justify-center":" tb:justify-start")},e.buttons.map(((e,t)=>React.createElement(V8,{leftIconVariant:"none",rightIconVariant:"none",label:e.cta_text,state:"default",size:"lg",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff"}))))),e.video_url?React.createElement("div",{className:"relative"+(e.video_gradient_bg?"":" p-4")},React.createElement("div",{className:"w-12 h-12 bg-neutral-0 rounded-full absolute right-8 bottom-8 shadow-md cursor-pointer z-[2] flex items-center justify-center",onClick:()=>(()=>{if(e.video_url){const e=document.getElementById("hero_vid");e?.muted?(e.muted=!1,i("volumemax")):(e.muted=!0,i("volumex"))}})()},React.createElement(mz,{height:"w-6 h-6 stroke-neutral-800 stroke-[1.5px]",variant:o,strokeColor:"#1F2A37"})),React.createElement("video",{id:"hero_vid",controls:!1,loop:!0,muted:!0,poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",width:"500",height:"500",className:"tb:w-full w-full db:max-w-[500px]"+(e.video_gradient_bg?"":" rounded-xl shadow-md")},React.createElement("source",{src:e.video_url,type:"video/mp4"})),e.video_gradient_bg&&React.createElement("div",{className:`tb-l:w-1/2 w-full h-1/2 tb:h-full absolute left-0 top-0 tb-l:ml-[-4px] tb-l:bg-gradient-to-r ${l} to-transparent bg-gradient-to-b tb:mt-[-4px] tb-l:mt-0`})):React.createElement("div",{className:"w-full",variants:{hidden:{opacity:0},visible:{opacity:1,transition:{delay:.2,duration:1}}}},e.img_url&&React.createElement("div",{className:"text-right pt-0 flex items-end justify-end h-full"},React.createElement("img",{src:e.img_url,alt:"Hero",className:"db:inline tb:w-[90%] tb-l:w-[70%] db:w-[75%] w-full rounded-b-3xl"})))))),n&&React.createElement("div",{className:" hidden tb-l:block translate-y-[-20px]"},React.createElement("div",{className:"px-6 flex justify-center pb-16 animate-bounce h-6 grid-cols-3"},React.createElement("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{filter:"url(#filter0_dd_1052_3729)"},React.createElement("circle",{cx:"30",cy:"26",r:"24",fill:"white"}),React.createElement("path",{d:"M25 27L30 32L35 27M25 20L30 25L35 20",stroke:"#1F2A37",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),React.createElement("defs",null,React.createElement("filter",{id:"filter0_dd_1052_3729",x:"0",y:"0",width:"60",height:"60",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),React.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),React.createElement("feMorphology",{radius:"2",operator:"erode",in:"SourceAlpha",result:"effect1_dropShadow_1052_3729"}),React.createElement("feOffset",{dy:"2"}),React.createElement("feGaussianBlur",{stdDeviation:"2"}),React.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.109804 0 0 0 0 0.14902 0 0 0 0 0.247059 0 0 0 0.06 0"}),React.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1052_3729"}),React.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),React.createElement("feMorphology",{radius:"2",operator:"erode",in:"SourceAlpha",result:"effect2_dropShadow_1052_3729"}),React.createElement("feOffset",{dy:"4"}),React.createElement("feGaussianBlur",{stdDeviation:"4"}),React.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.109804 0 0 0 0 0.14902 0 0 0 0 0.247059 0 0 0 0.1 0"}),React.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_1052_3729",result:"effect2_dropShadow_1052_3729"}),React.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_1052_3729",result:"shape"}))))))))}function bfe({heroData:e,logo:n,scrollArrow:a,fontSize:o}){r("volumex");const i=e=>{const t=e.nextElementSibling;t&&t.scrollIntoView({behavior:"smooth"})};return A(e.video_gradient_bg),t.createElement("div",{className:""},t.createElement("div",{className:""},t.createElement("div",{className:"max-w-7xl mx-auto px-20 py-20 rounded-3xl overflow-hidden "+(e.bg_color?e.bg_color:"")},t.createElement("div",{className:"w-full"},t.createElement("div",{className:"tb-l:flex tb-l:justify-between tb-l:items-center tb-l:flex-row db:w-full flex flex-col-reverse tb:gap-x-16 db:gap-x-10 min-[1880px]:gap-x-72"+(e.video_url?" ":" tb:flex")},t.createElement("div",{className:"max-w-[29.18rem] w-full tb:flex items-start tb:flex-col mt-4 tb:mt-0"},e.tag_line&&t.createElement("div",null,t.createElement(ce,{textStyle:"h6",as:"h6",className:"pb-2 uppercase text-center db:text-left font-normal tb-l:text-left "+(e.tag_line_color?e.tag_line_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.tag_line)),e.title&&t.createElement("div",null,n?t.createElement("div",{className:"pb-4 db:text-left tb:text-center tb-l:text-left"+(e.video_url?" tb:text-center":" tb:text-left")},t.createElement("img",{className:"w-[290px] inline-block",src:n,alt:"Brand"})):t.createElement(ce,{textStyle:"h2",as:"h2",className:"pb-2 tb:text-center break-words db:text-left tb-l:text-left "+(e.title_color?e.title_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.title)),e.sub_title&&t.createElement(ce,{textStyle:"sub1",className:"tb-l:text-center db:text-left flex"+(e.sub_title_color?e.sub_title_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.sub_title),e.description&&t.createElement(ce,{textStyle:"sub1",className:"db:text-left text-neutral-0 [&>*]:mb-8 last:[&>*]:mb-0"},e.description),e.buttons&&t.createElement("div",{className:" gap-6 flex items-center tb:justify-center tb-l:justify-start db:justify-start pt-6"+(e.video_url?" tb:justify-center":" tb:justify-start")},e.buttons[0]&&t.createElement(V8,{type:e.buttons[0].cta_type||"secondary",btnTextColorClass:A("text-neutral-0"),leftIconVariant:"none",rightIconVariant:"none",label:e.buttons[0].cta_text,state:"default",size:"lg",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff"}),e.buttons[1]&&t.createElement(V8,{type:e.buttons[0].cta_type||"primaryLink",btnTextColorClass:A("text-neutral-0"),leftIconVariant:"none",rightIconVariant:"none",label:e.buttons[1].cta_text,state:"default",size:"lg",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff"}))),t.createElement("div",{className:""},(e=>e.imageUrl&&t.createElement("div",{className:""},t.createElement("img",{src:e.imageUrl,alt:e.imageAlt,className:"tb-l:w-full w-1/2"})))(e))),(e=>e.linkCards&&t.createElement("div",{className:"flex mt-16 px-20 pb-20 gap-6 justify-center"},e.linkCards.map(((e,r)=>t.createElement("div",{key:r,className:"w-full"},t.createElement(bie,{linkUrl:e.linkUrl,cardBgColor:e.cardBgColor,cardHoverBg:e.cardHoverBg,iconVariant:e.iconVariant,iconStrokeColor:e.iconStrokeColor,iconArrowVariant:e.iconArrowVariant,iconArrowStrokeColor:e.iconArrowStrokeColor,title:e.title,description:e.description}))))))(e))),e.scrollArrow&&t.createElement("a",{className:"flex justify-center flex-row z-10",onClick:e=>i(e.currentTarget)},t.createElement("div",{className:"flex bg-neutral-0 shadow-md -mt-5 animate-bounce justify-center rounded-full items-center w-12 h-12",onClick:e=>{const t=e.target.parentNode;i(t)}},t.createElement(mz,{variant:"chevrondowndouble",strokeClass:"stroke-neutral-800",height:"h-6 w-6"})))))}function wfe(e){const{heroData:r,activeTab:n,onTabChange:a}=e;let o;if(n.activeTab&&(o=n.activeTab),!r)return t.createElement("div",null);let i="",l="",s="",c="",u="";return e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].heroBgColor&&(i=A(e.heroData.tabContent[o].heroBgColor)),e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].bgColorTab&&(l=A(e.heroData.tabContent[o].bgColorTab)),e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].videoUrl&&(s=e.heroData.tabContent[o].videoUrl),e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].videoPoster&&(c=e.heroData.tabContent[o].videoPoster),e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].img_url&&e.heroData.tabContent[o].img_url,e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].pillColor&&(u=e.heroData.tabContent[o].pillColor),e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].bgColorTab&&(l=A(e.heroData.tabContent[o].bgColorTab)),t.createElement("div",{className:`${i} -mt-[81px] pt-[81px] tb:mt-0 tb:pt-0 max-w-7xl rounded-b-3xl tb:rounded-3xl`},e.heroData.navTabs&&t.createElement("div",{className:"py-5 db:p-20 tb:p-10 flex flex-col shadow rounded-2xl"},t.createElement("div",{className:"flex px-8 tb:px-0 overflow-scroll scrollbar-hide tb-l:justify-center justify-start"},t.createElement("div",{className:`${l} bg-opacity-30 p-1 rounded-[32px]`},t.createElement(ffe,{onTabClick:e=>{if(e.name){const t=e.name.replace(/\s/g,"");a(t)}},tabs:e.heroData.navTabs,bgColorTab:e.heroData.bgColorTab,pillColor:u}))),t.createElement("div",{className:"flex flex-col-reverse pt-6 px-8 tb:px-0 tb:flex tb:flex-row tb:items-center tb:pt-10 tb:justify-between"},t.createElement("div",{className:" mt-3 db:max-w-[488px] tb:w-1/2"},e.heroData.tabContent&&e.heroData.tabContent[o]&&(h=e.heroData.tabContent[o],t.createElement(t.Fragment,null,t.createElement("div",{className:"tb:px-3"},h.title&&t.createElement(ce,{textStyle:"h2",className:A(h.titleTextColor)},h.title),h.subTitle&&t.createElement(ce,{textStyle:"sub2",className:`mt-2 ${A(h.subTitleTextColor)}`},h.subTitle)),h.btnLabel&&t.createElement("div",{className:"flex pl-3 pt-6"},t.createElement(V8,{label:h.btnLabel,type:"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#1E56E3",animatedHoverStroke:"group-hover:stroke-blue-600",className:"flex",btnTextColorClass:"text-blue-600"}))))),t.createElement("div",{className:" db:max-w-[540px] tb:w-1/2 "},t.createElement(pz,{video_url:s,video_poster:c}))),t.createElement("div",{className:""},e.heroData.tabContent[o]&&(e=>e.linkCards&&t.createElement("div",{className:"flex px-8 tb:px-0 tb:justify-center overflow-auto scrollbar-hide flex-row mt-16 gap-6 tb:flex-row "},e.linkCards.map(((e,r)=>t.createElement("div",{key:r,className:`${A(e.cardBorderClass)} border rounded-2xl w-full pb-2 min-w-[11.5rem] max-w-[22.313rem]`},t.createElement(bie,{titleTextColor:e.titleTextColor,descTextColor:e.descTextColor,linkUrl:e.linkUrl,cardBgColor:e.cardBgColor,cardHoverBg:e.cardHoverBg,iconVariant:e.iconVariant,iconStrokeClass:e.iconStrokeColor,iconArrowVariant:e.iconArrowVariant,iconArrowStrokeClass:e.iconArrowStrokeColor,title:e.title,description:e.description}))))))(e.heroData.tabContent[o]))));var h}function yfe({heroData:e}){return t.createElement("div",{className:""},t.createElement("div",{className:""},t.createElement("div",{className:"max-w-7xl mx-auto pb-14 tb:pb-10 db-s:p-20 rounded-3xl overflow-hidden "+(e.bg_color?e.bg_color:"")},t.createElement("div",{className:"w-full"},t.createElement("div",{className:"flex flex-col px-8 db-s:px-0 tb:px-10 pt-5 tb:pt-10 db-s:flex db-s:justify-between db-s:items-center db-s:flex-row db-s:w-full db-s:gap-x-[92px]"},t.createElement("div",{className:"db-s:max-w-[490px] tb-l:max-w-[658px] w-full tb:flex items-start tb:flex-col mt-4 tb:mt-0"},e.title&&t.createElement(t.Fragment,null,e.title&&t.createElement(t.Fragment,null,e.stackedCard&&t.createElement("div",{className:"pb-6"},(r=e.stackedCard,t.createElement("div",{className:"flex flex-row"},r&&r.map(((e,r)=>t.createElement("div",{key:r,className:`w-20 h-20 ${r>0?"-ml-4":""} ${A(e.cardBgClass)} ${A(e.cardHoverbgClass)} rounded-full flex items-center justify-center `},t.createElement("div",{className:"w-14 h-14"},t.createElement("img",{className:"inline-block",src:e.img_link,alt:e.img_alt})))))))),t.createElement(ce,{textStyle:"h2",as:"h2",className:"pb-2 tb:text-center break-words db:text-left tb-l:text-left "+(e.title_color?e.title_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.title))),e.sub_title&&t.createElement(ce,{textStyle:"sub1",className:"tb-l:text-center db:text-left flex"+(e.sub_title_color?e.sub_title_color:"")},e.sub_title),e.description&&t.createElement(ce,{textStyle:"sub1",className:"db:text-left text-neutral-0 [&>*]:mb-8 last:[&>*]:mb-0"},e.description),e.buttons&&t.createElement("div",{className:" gap-6 flex items-center tb:justify-center tb-l:justify-start db:justify-start pt-6"+(e.video_url?" tb:justify-center":" tb:justify-start")},e.buttons[0]&&t.createElement(V8,{type:"primary",btnTextColorClass:A("text-neutral-0"),leftIconVariant:"none",rightIconVariant:"none",label:e.buttons[0].cta_text,state:"default",size:"lg",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff"}),e.buttons[1]&&t.createElement(V8,{type:"primaryLink",btnTextColorClass:A("text-neutral-0"),leftIconVariant:"none",rightIconVariant:"none",label:e.buttons[1].cta_text,state:"default",size:"lg",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff"}))),t.createElement("div",{className:"h-full flex justify-center db-s:self-start w-full"},(e=>e.imageUrl&&t.createElement("div",{className:"py-12 tb:py-14 db-s:pt-0 "},t.createElement("img",{src:e.imageUrl,alt:e.imageAlt,className:"tb-l:w-full db-s:max-w-[540px]"})))(e))),(e=>e.linkCards&&t.createElement("div",{className:"flex px-8 tb:px-10 tb:justify-center db-s:px-0 overflow-auto scrollbar-hide flex-row gap-6 db-s:mt-[68px] tb:flex-row "},e.linkCards.map(((e,r)=>t.createElement("div",{key:r,className:`${A(e.cardBorderClass)} ${A(e.cardBgColor)} ${A(e.cardHoverBg)} transition-all ease-out duration-300 hover:shadow-2xl hover:border-opacity-0 border rounded-2xl w-full min-w-[11.5rem] max-w-[22.313rem]`},t.createElement(bie,{titleTextColor:e.titleTextColor,descTextColor:e.descTextColor,linkUrl:e.linkUrl,iconVariant:e.iconVariant,iconStrokeClass:e.iconStrokeColor,iconArrowVariant:e.iconArrowVariant,iconArrowStrokeClass:e.iconArrowStrokeColor,title:e.title,description:e.description}))))))(e)))));var r}function xfe(e){return t.createElement("div",{className:"max-w-7xl"},t.createElement("div",{className:"relative"},t.createElement("img",{loading:"lazy",src:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1692355512/hasura-design-system/heroevents2_c8mpzp.png",alt:e.img_alt,className:"bg-discord h-[336px] object-cover "})),t.createElement("div",{className:"flex items-start py-12 px-20"},t.createElement("div",{className:"flex-1"}),t.createElement("div",{className:"bg-neutral-0 rounded-3xl w-[400px] z-[1] -mt-[200px] p-10 border border-neutral-200"},t.createElement("div",{className:"flex gap-2 items-center pb-6"},t.createElement(mz,{height:"h-5 w-5",variant:"videorecorder",strokeClass:"stroke-blue-600"}),t.createElement(ce,{textStyle:"h5",className:"text-neutral-1000"})),t.createElement("div",null,t.createElement(n8,{formId:"hf-1051",styleClass:"paper-form-wrapper"})))))}wfe.defaultProps={heroData:{tabContent:{Performance:{heroBgColor:"bg-green-500",title:"Blazing-fast APIs at Global Scale ",subTitle:"Hasura optimizes your API performance up to 10x faster with end-to-end caching, while scaling both vertically and horizontally.",videoUrl:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4",videoPoster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1685017301/Group_2608667_gu6idw.png",subTitleTextColor:"text-neutral-0",titleTextColor:"text-neutral-0",bgColorTab:"bg-neutral-1000",pillColor:"bg-pink-500",button:[{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""},{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""}],linkCards:[{titleTextColor:"text-neutral-0",descTextColor:"text-neutral-0",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"GraphQL response caching"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"}]},Company:{heroBgColor:"bg-blue-500",title:"Leverage Hasura’s Authorization Engine",subTitle:"Hasura optimizes your API performance up to 10x faster with end-to-end caching, while scaling both vertically and horizontally.ss",videoUrl:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4",videoPoster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1685017301/Group_2608667_gu6idw.png",imgUrl:"",subTitleTextColor:"text-neutral-0",titleTextColor:"text-neutral-0",bgColorTab:"bg-neutral-1000",pillColor:"bg-amber-500",button:[{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""},{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""}],linkCards:[{titleTextColor:"text-neutral-0",descTextColor:"text-neutral-0",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"}]},Authorization:{heroBgColor:"bg-cyan-500",title:"Blazing-fast APIs at Global Scale ",subTitle:"Hasura optimizes your API performance up to 10x faster with end-to-end caching, while scaling both vertically and horizontally.",videoUrl:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4",videoPoster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1685017301/Group_2608667_gu6idw.png",imgUrl:"",subTitleTextColor:"text-neutral-0",titleTextColor:"text-neutral-0",bgColorTab:"bg-pink-500",pillColor:"bg-neutral-500",button:[{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""},{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""}],linkCards:[{titleTextColor:"text-neutral-0",descTextColor:"text-neutral-0",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"}]}},navTabs:[{current:!0,name:"Performance"},{current:"false",name:"Company"},{current:"false",name:"Authorization"},{current:"false",name:"Observability"},{current:"false",name:"API Security"}]}};function Ofe(e){const[n,a]=r(!1);if(!e)return t.createElement("div",null);return t.createElement("div",null,t.createElement("div",{className:"flex flex-col-reverse tb:flex tb:flex-row tb:justify-between"},t.createElement("div",{className:`tb:w-1/2 db:max-w-[${e.contentWd?e.contentWd:"535px"}]`},e&&(o=e,t.createElement(t.Fragment,null,o.title&&t.createElement(ce,{textStyle:"h2",as:"h2",className:` hidden tb:block ${o.titleTextColor?A(o.titleTextColor):"text-neutral-1000"}`},o.title),o.subTitle&&t.createElement(ce,{textStyle:"sub1",className:`mt-2 ${o.subTitleTextColor?A(o.subTitleTextColor):"text-neutral-700"}`},o.subTitle),o.buttons&&t.createElement("div",{className:"flex items-center flex-wrap flex-row gap-2"},o.buttons.map(((e,r)=>t.createElement(l,{key:r},e.url&&e.text&&e.type&&t.createElement("a",{href:e.url,key:r,className:"flex pt-6"},t.createElement(V8,{label:e.text,type:e.type,leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"group-hover:stroke-neutral-0",className:"flex "+("ghost"===e.type?" border-opacity-0 hover:border-opacity-100 border-2 border-purple-800 rounded-full ":""),btnbgHoverClass:e.btnBgColorClass}))))))))),t.createElement("div",{className:"grid items-center relative db:max-w-[500px] tb:w-1/2 transition-opacity duration-700 ease-linear "},t.createElement(ce,{textStyle:"h2",as:"h2",className:`tb:hidden pb-6 ${e.titleTextColor?A(e.titleTextColor):"text-neutral-1000"}`},e.title),n?t.createElement(t.Fragment,null,e.videoUrl&&t.createElement("video",{id:"hero_vid",controls:!0,autoPlay:!0,playsInline:!0,width:"500",height:"500",className:"tb:w-full w-full rounded-3xl",src:e.videoUrl})):t.createElement("div",{className:"relative"},e.imgUrl&&t.createElement("img",{src:e.imgUrl,alt:"Illustration",loading:"lazy"}),e.videoUrl&&t.createElement("div",{className:`${e.currentPlayBtnClass} w-14 h-14 cursor-pointer video-play-btn rounded-full flex items-center justify-center absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 shadow-neutral-1000 shadow-2xl`,onClick:()=>a(!0)},t.createElement(mz,{variant:"play",height:"h-6 w-6",strokeColor:"#ffffff",strokeClass:"stroke-neutral-0"}))))),t.createElement("div",{className:""},(e=>e.linkCards&&t.createElement("div",{className:"flex tb-m:justify-center overflow-auto no-scrollbar db:overflow-visible scrollbar-hide flex-row mt-10 tb:mt-12 db:mt-16 gap-6 tb:flex-row "},e.linkCards.map(((e,r)=>t.createElement("div",{key:r,className:`${A(e.cardBorderClass)} ${A(e.cardBgColor)} ${A(e.cardHoverBg)} transition-all ease-out duration-300 hover:shadow-2xl hover:border-opacity-0 border rounded-2xl w-full min-w-[11.5rem] max-w-[22.313rem]`},t.createElement(bie,{titleTextColor:e.titleTextColor,descTextColor:e.descTextColor,linkUrl:e.linkUrl,iconVariant:e.iconVariant,iconStrokeClass:e.iconStrokeColor,iconArrowVariant:e.iconArrowVariant,iconArrowStrokeClass:e.iconArrowStrokeColor,title:e.title,description:e.description}))))))(e)));var o}function Efe(e){const{head:r,description:n,tableValue:a,children:o}=e;return t.createElement("div",{className:"px-4 sm:px-6 lg:px-8 "},t.createElement("div",{className:"sm:flex sm:items-center "},t.createElement("div",{className:"sm:flex-auto"},t.createElement("h1",{className:"text-base font-semibold leading-6 text-gray-900"},r),t.createElement("p",{className:"mt-2 text-sm text-gray-700"},n))),t.createElement("div",null,t.createElement("div",{className:"-mx-4 mt-8 sm:-mx-0"},t.createElement("table",{className:"min-w-full divide-y divide-gray-300 border"},t.createElement("thead",null,t.createElement("tr",null,Object.keys(a[0]).map((e=>t.createElement("th",{key:e,scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900 sm:table-cell"},e))))),t.createElement("tbody",{className:"divide-y divide-gray-200 bg-white"},a.map(((e,r)=>t.createElement("tr",{key:r},Object.keys(e).map(((n,a)=>t.createElement("td",{key:a+r,className:" py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-3"},"",e[n])))))))))))}const jfe=[{name:"Tier 1",href:"",current:!0},{name:"Tier 2",href:"",current:!1},{name:"Tier 3",href:"",current:!1}];function Cfe(e){const{title:n,title_color:a,description:o,desc_color:i,TABLE_VALUE:l,TABLE_HEADER:s}=e,[c,u]=r(1);return t.createElement("div",{className:" max-w-7xl px-4 sm:px-6 lg:px-8 "},t.createElement("div",{className:" flex justify-around "},t.createElement("div",{className:"w-full flex-col items-center flex justify-around tb-l:flex tb-l:flex-col tb-l:items-center"},t.createElement("div",null,n&&t.createElement(ce,{textStyle:"h3",className:A(a)},n),o&&t.createElement(ce,{textStyle:"body1c",className:A(i)},o)),t.createElement("div",{className:" mt-11 p-2 bg-neutral-0 rounded-full shadow tb-l:hidden"},t.createElement(ffe,{onTabClick:function(e){"Tier 1"===e.name&&u(1),"Tier 2"===e.name&&u(2),"Tier 3"===e.name&&u(3)},tabs:jfe})))),t.createElement("div",{className:"tb-l:hidden"},t.createElement("div",{className:"mt-8 bg-neutral-0 rounded-3xl "},t.createElement("div",{className:" shadow rounded-3xl "},t.createElement("div",{className:"flex border-x px-8 py-[1.625rem] border-neutral-200 rounded-t-3xl flex-col justify-center items-center text-center"},t.createElement("div",{className:"flex items-center gap-2"},s[c].icon&&t.createElement(mz,{height:"h-6 w-6",variant:s[c].icon,strokeClass:s[c].iconStrokeClass}),s[c].title&&0==c&&t.createElement(ce,{textStyle:"h5",className:s[c].title_text_color},`${s[c].title}`),s[c].title&&0!=c&&t.createElement(ce,{textStyle:"h5",className:s[c].title_text_color},`${s[c].title}`)),t.createElement("div",{className:" max-w-[10rem]"},s[c].descr&&t.createElement(ce,{textStyle:"body1",className:s[c].descr_text_color},`${s[c].descr}`))),t.createElement("div",{className:"divide-y divide-neutral-200 rounded-b-3xl"},t.createElement("div",{className:"flex flex-col border border-neutral-200 divide-y divide-neutral-200 rounded-b-3xl items-center"},t.createElement("div",{className:"flex divide-y divide-neutral-200 flex-col w-full gap-2 items-start"},l.map(((e,r)=>t.createElement(t.Fragment,{key:r},((e,r)=>{const n=`key${r}`;if(e[n]&&(e[n].text||e[n].iconVariant))return t.createElement(t.Fragment,null,t.createElement("div",{className:"flex gap-4 p-4 w-full"},(e[n].text||e[n].iconVariant)&&t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:"checkcircle",strokeClass:"stroke-green-500"}),t.createElement(t.Fragment,null,t.createElement(ce,{textStyle:"body1c",className:"text-neutral-700 [&>span]:pb-2 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 [&>ul>li]:last:pb-0"},e[n].text&&null!==e[n].text&&t.createElement(t.Fragment,null,`${e[n].text} `),e.rowTitle&&(e[n].text||e[n].iconVariant)&&t.createElement(t.Fragment,null,t.createElement(iie,{components:{p:"span"}},`${e.rowTitle}`))))))})(e,c)))))))))),t.createElement("div",{className:"hidden tb-l:block"},t.createElement("div",{className:"mt-12 bg-neutral-0 rounded-3xl "},t.createElement("table",{className:"min-w-full shadow tableclss rounded-3xl "},t.createElement("thead",null,t.createElement("tr",{className:"divide-x border-b border-neutral-200 divide-neutral-200 text-center rounded-t-3xl"},Object.keys(s).map(((e,r)=>t.createElement("th",{key:r,scope:"col",className:"px-8 py-6 sm:table-cell"},t.createElement("div",{className:""},t.createElement("div",{className:"flex flex-col justify-center items-center text-center"},t.createElement("div",{className:"flex items-center gap-2 w-full justify-center"},s[e].icon&&t.createElement(mz,{height:"h-6 w-6 stroke-[1.5px]",variant:s[e].icon,strokeClass:A(s[e].iconStrokeClass)}),s[e].title&&0==e&&t.createElement(ce,{textStyle:"h5",className:`w-full text-left ${A(s[e].title_text_color)}`},s[e].title),s[e].title&&0!=e&&t.createElement(ce,{textStyle:"h5",className:A(s[e].title_text_color)},t.createElement(iie,null,s[e].title))),t.createElement("div",{className:" max-w-[10rem]"},s[e].descr&&t.createElement(ce,{textStyle:"body1",className:A(s[e].descr_text_color)},s[e].descr))))))))),t.createElement("tbody",{className:"divide-y divide-neutral-200"},l.map(((e,r)=>t.createElement("tr",{className:"divide-x divide-neutral-200",key:r},Object.keys(e).map((n=>t.createElement(t.Fragment,{key:r+n},null!==n&&"rowTitle"===n&&t.createElement("td",{className:"px-8 py-7 w-[22.5rem]"},t.createElement(ce,{className:"max-w-[22rem] text-neutral-700 [&>p]:pb-2 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 [&>ul>li]:last:pb-0",textStyle:"body1c"},t.createElement(iie,null,e[n]))),null!==n&&"rowTitle"!==n&&null!==e[n]&&t.createElement("td",{className:"px-8 py-7 border-table text-center "},e&&n&&e[n]&&null===e[n].text&&!e[n].iconVariant&&null===e[n].iconVariant&&t.createElement(t.Fragment,null),null!==e[n].text&&e[n].text&&t.createElement(ce,{className:"text-neutral-700",textStyle:"body1c"},e[n].text),(null===e[n].text||!e[n].text)&&e[n].iconVariant&&t.createElement("div",{className:"flex justify-center"},t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e[n].iconVariant,strokeClass:A(e[n].iconStrokeClass)}))),null===n&&t.createElement("td",{key:r,className:"px-8 py-7 border-table text-center"}))))))))))))}function Pfe(e){const{head:r,description:n,tableValue:a,children:o}=e;return Object.keys(a[0]).length,t.createElement("div",{className:" "},t.createElement("div",{className:"sm:flex sm:items-center "},t.createElement("div",{className:"sm:flex-auto"},t.createElement("h1",{className:"text-base font-semibold leading-6 text-gray-900"},r),t.createElement("p",{className:"mt-2 text-sm text-gray-700"},n))),t.createElement("div",null,t.createElement("div",{className:"border border-neutral-100 rounded-2xl"},t.createElement("table",{className:"min-w-full divide-y divide-neutral-100 "},t.createElement("thead",null,t.createElement("tr",{className:"divide-x divide-neutral-100"},Object.keys(a[0]).map(((e,r)=>t.createElement("th",{key:e,scope:"col",className:0===r?"rounded-tl-2xl text-left sm:table-cell bg-neutral-50":"text-left sm:table-cell bg-neutral-50 rounded-tr-2xl"},t.createElement(ce,{className:"p-6",textStyle:"body3c-bold"},e)))))),t.createElement("tbody",{className:"divide-y rounded-b-3xl divide-neutral-100 "},a.slice(1).map(((e,r)=>t.createElement("tr",{key:r,className:"divide-x divide-neutral-100 "},Object.keys(e).map(((n,o)=>t.createElement("td",{key:o+r,className:"p-6 "+(r==""+(a.length-2)?"rounded-3xl":"")},t.createElement(ce,{textStyle:"body3c-bold",className:"bg-transparent text-neutral-800"},n.toString()),t.createElement(ce,{textStyle:"body3",className:"text-neutral-800 mt-2"},e[n].toString()))))))))))))}function Mfe(e){const{title:o,title_color:i,description:l,desc_color:s,TABLE_VALUE:c,TABLE_HEADER:u}=e,[h,m]=r(!1),p=n();a((()=>{const e=()=>{p.current.getBoundingClientRect().top,m(!0)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[]);return t.createElement("div",{className:"px-10"},t.createElement("div",{className:"hidden tb:block"},t.createElement("div",{className:" mt-[70px] rounded-3xl bg-neutral-0"},u&&u[0]&&u[0].title&&t.createElement(ce,{textStyle:"h4",className:`pb-10 pl-8 pt-[72px] ${A(i)}`},u[0].title),t.createElement("table",{className:"rounded-3xl w-full table-fixed "},c.map(((e,r)=>t.createElement("tbody",{key:r,className:"border-90 bg-neutral-0"},Object.keys(e).map((n=>t.createElement(t.Fragment,null,t.createElement("tr",{key:r+n,className:""},Object.keys(e[n][0]).map((a=>t.createElement(t.Fragment,{key:a+n+r},null!==a&&t.createElement("th",{ref:p,className:"first:rounded-l-full last:rounded-r-full px-8 z-[100] top-[72px] sticky "+(0===r?"bg-neutral-0":"bg-neutral-100")},t.createElement("div",{className:"flex flex-col py-3.5 gap-[11px]"},t.createElement(ce,{textStyle:"h5",className:"text-neutral-900 text-left whitespace-nowrap"},a),e[n][0][a].btn&&e[n][0][a].btn_cta&&t.createElement("div",{className:"flex -mt-4"},t.createElement("a",{href:e[n][0][a].btn_cta},t.createElement(V8,{label:e[n][0][a].btn,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"",className:" "}))))))))),((e,r)=>{let n="";e[r][0]&&e[r][0];const a=e[r].map((e=>Object.keys(e)[0]))[0];return e[r].length&&(n=e[r].length),t.createElement(t.Fragment,null,e[r].map(((e,r)=>t.createElement("tr",{className:"",key:r},Object.keys(e).map((o=>t.createElement(t.Fragment,{key:r+o},null!==o&&o===a&&r!==n-1&&0!==r&&t.createElement("td",{className:"pl-[30px] border-80 "},t.createElement("div",{className:" "},t.createElement(ce,{className:"py-4 text-neutral-700",textStyle:"body1"},e[o]))),null!==o&&o===a&&r!==n-1&&0===r&&t.createElement("td",{className:"pl-[30px] border-80 "},t.createElement("div",{className:" "},t.createElement(ce,{className:"pb-4 pt-12 text-neutral-700",textStyle:"body1"},e[o]))),null!==o&&o===a&&r===n-1&&t.createElement("td",{className:"pl-[30px] border-80 "},t.createElement("div",{className:" "},t.createElement(ce,{className:"pt-4 pb-12 text-neutral-700",textStyle:"body1"},e[o]))),null!==o&&o!==a&&null!==e[o]&&0!==r&&r!==n-1&&t.createElement("td",{className:"px-8 text-left ml-[30px] border-80 "},e&&o&&e[o]&&null===e[o].text&&!e[o].iconVariant&&null===e[o].iconVariant&&t.createElement("div",{className:""}),null!==e[o].text&&e[o].text&&t.createElement("div",{className:" "},t.createElement(ce,{className:"text-neutral-700 py-4",textStyle:"body1"},e[o].text)),(null===e[o].text||!e[o].text)&&e[o].iconVariant&&t.createElement("div",{className:"flex "},t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e[o].iconVariant,strokeClass:A(e[o].iconStrokeClass)}))),null!==o&&o!==a&&null!==e[o]&&0===r&&t.createElement("td",{className:"px-8 text-left ml-[30px] border-80 "},e&&o&&e[o]&&null===e[o].text&&!e[o].iconVariant&&null===e[o].iconVariant&&t.createElement("div",{className:""}),null!==e[o].text&&e[o].text&&t.createElement("div",{className:" "},t.createElement(ce,{className:"text-neutral-700 pb-4 pt-12",textStyle:"body1"},e[o].text)),(null===e[o].text||!e[o].text)&&e[o].iconVariant&&t.createElement("div",{className:"flex pb-4 pt-12"},t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e[o].iconVariant,strokeClass:A(e[o].iconStrokeClass)}))),null!==o&&o!==a&&null!==e[o]&&r===n-1&&t.createElement("td",{className:"px-8 text-left ml-[30px] border-80 "},e&&o&&e[o]&&null===e[o].text&&!e[o].iconVariant&&null===e[o].iconVariant&&t.createElement("div",{className:""}),null!==e[o].text&&e[o].text&&t.createElement("div",{className:" "},t.createElement(ce,{className:"text-neutral-700 pt-4 pb-12",textStyle:"body1"},e[o].text)),(null===e[o].text||!e[o].text)&&e[o].iconVariant&&t.createElement("div",{className:"flex pt-4 pb-12 "},t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e[o].iconVariant,strokeClass:A(e[o].iconStrokeClass)}))),null===o&&t.createElement("td",{key:r,className:"px-8 py-7 border-table text-center"}))))))))})(e,n))))))),u&&t.createElement(t.Fragment,null,t.createElement("tbody",null,t.createElement("tr",null,t.createElement("td",null),u.map(((e,r)=>t.createElement(t.Fragment,{key:r},0!==r&&e.button_title&&t.createElement("td",{key:r,className:"px-8"},t.createElement("a",{href:e.button_link},t.createElement(V8,{label:e.button_title,type:"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",className:"mt-4 mb-16"})))))))))))))}function kfe(e){const[r,n]=t.useState(0),[a,o]=t.useState(0),[i,l]=t.useState(0),s=e.images.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),c=e=>{n(e),s[e].current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},u=e.images.length,h=()=>{c(r>=u-1?0:r+1)},m=()=>{c(0===r?u-1:r-1)},p=e=>t.createElement("button",{type:"button",onClick:e?m:h,className:"absolute text-2xl z-10 bg-black h-10 w-10 rounded-full bg-neutral-0 flex items-center justify-center "+(e?"left-2 db:-left-5":"right-2 db:-right-5"),style:{top:"40%"}},t.createElement("span",{role:"img","aria-label":"Arrow "+(e?"left":"right")},e?t.createElement(mz,{className:""+(0==r?"invisible":""),height:"h-6",variant:"chevronleft",strokeColor:"#1F2A37"}):t.createElement(mz,{height:"h-6",variant:"chevronright",strokeColor:"#1F2A37"})));return t.createElement("div",null,t.createElement("div",{className:"flex justify-center select-none items-center gap-10 "},t.createElement("div",{className:"relative w-full"},t.createElement("div",{className:"snap-x inline-flex select-none overflow-x-scroll scrollbar-hide",onTouchStart:e=>{o(e.targetTouches[0].clientX)},onTouchMove:e=>{l(e.targetTouches[0].clientX)},onTouchEnd:()=>{a-i>150&&h(),a-i<-150&&m()},onMouseDown:e=>o(e.clientX),onMouseUp:e=>{a-e.clientX>50&&h(),a-e.clientX<-50&&m()}},p(!0),e.images.map(((e,n)=>t.createElement("div",{className:"w-3/4 snap-center shrink-0 mx-4",key:n,ref:s[n]},t.createElement("img",{src:e,className:"w-full select-none rounded-3xl object-contain "+(r==n?"":" opacity-60 transition-opacity delay-300 ease-in"),draggable:"false"})))),p()))),t.createElement("div",null,t.createElement("div",{className:"flex flex-row gap-4 mt-10 ml-4"},e.images.map(((e,n)=>t.createElement("div",{className:"",key:n},t.createElement("img",{src:e,className:`max-w-[6rem] ${r==n?"border-blue-400 border-4":""} rounded-lg object-contain`})))))))}function Sfe(e){const a=n(null),[o,i]=t.useState(0),[l,s]=t.useState(0),[c,u]=t.useState(0),[h,m]=r(!1),p=e.cards.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),f=e.cards.length,d=()=>{let e=1;window.innerWidth>800&&(e=2),window.innerWidth>1140&&(e=3),o<f-e?(i(o+e),a.current.scrollTo({left:a.current.scrollLeft+a.current.children[0].offsetWidth*e,behavior:"smooth"})):(i(0),a.current.scrollTo({left:0,behavior:"smooth"}))},v=()=>{let e=1;if(window.innerWidth>800&&(e=2),window.innerWidth>1140&&(e=3),o>0)i(o-e),a.current.scrollTo({left:a.current.scrollLeft-a.current.children[0].offsetWidth*e,behavior:"smooth"});else{const t=f-1,r=a.current.scrollWidth-a.current.children[0].offsetWidth*e;i(t),a.current.scrollTo({left:r,behavior:"smooth"})}},g=e=>t.createElement("button",{type:"button",onClick:e?v:d,className:"flex text-2xl z-10 bg-black h-10 ml-6 w-10 rounded-full bg-purple-200 hover:bg-neutral-0 flex items-center justify-center "},t.createElement("span",{role:"img","aria-label":"Arrow "+(e?"left":"right")},e?t.createElement(mz,{height:"h-6 w-6",variant:"chevronleft",strokeColor:"#00288E"}):t.createElement(mz,{height:"h-6 w-6",variant:"chevronright",strokeColor:"#00288E"})));return t.createElement("div",{className:""},t.createElement("div",{className:"block tb:hidden"},h?e.cards.map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:p[n]},t.createElement("div",{className:"rounded-3xl overflow-hidden"},t.createElement(e.component,r))))):e.cards.slice(0,6).map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:p[n]},t.createElement("div",{className:"rounded-3xl overflow-hidden"},t.createElement(e.component,r))))),e.cards.length>6&&t.createElement("div",{className:"flex"},t.createElement(V8,{label:h?"View less":"View more",type:"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#1E56E3",animatedHoverStroke:"group-hover:stroke-neutral-0",className:"flex",btnTextColorClass:"text-blue-600",btnBgColorClass:"",onClick:()=>m(!h)}))),t.createElement("div",{className:"hidden tb:flex tb:flex-col"},t.createElement("div",{className:"flex pb-12 items-center justify-end "},t.createElement("div",{className:"flex"},g(!0),g())),t.createElement("div",{className:"justify-center select-none items-center",onTouchStart:e=>{s(e.targetTouches[0].clientX)},onTouchMove:e=>{u(e.targetTouches[0].clientX)},onTouchEnd:()=>{l-c>150&&d(),l-c<-150&&v()},onMouseDown:e=>s(e.clientX),onMouseUp:e=>{l-e.clientX>50&&d(),l-e.clientX<-50&&v()}},t.createElement("div",{className:""},t.createElement("div",{className:"snap-x w-full inline-flex select-none overflow-x-hidden scrollbar-hide",ref:a},e.cards.map(((r,n)=>t.createElement("div",{className:" db:snap-center snap-center tb-m:snap-start mx-5 shrink-0",key:n,ref:p[n]},t.createElement("div",{className:"w-full select-none rounded-3xl object-contain"},t.createElement(e.component,r))))))))))}function Nfe(e){const a=n(null),[o,i]=t.useState(0),[l,s]=r(!1),c=e.cards.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),u=e.cards.length,h=" text-2xl z-10 bg-black h-12 w-12 ml-6 w-10 rounded-full bg-neutral-0 hover:bg-neutral-0 flex items-center justify-center shadow",m=(e,t)=>"isLeft"===t?0===e:"isRight"===t?2===e:void 0;return t.createElement("div",{className:""},t.createElement("div",{className:"block tb:hidden"},l?e.cards.map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:c[n]},t.createElement("div",{className:"rounded-3xl overflow-hidden"},t.createElement(e.component,r))))):e.cards.slice(0,6).map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:c[n]},t.createElement("div",{className:"rounded-3xl overflow-hidden"},t.createElement(e.component,r))))),e.cards.length>6&&t.createElement("div",{className:"flex"},t.createElement(V8,{label:l?"View less":"View more",type:"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#1E56E3",animatedHoverStroke:"group-hover:stroke-neutral-0",className:"flex",btnTextColorClass:"text-blue-600",btnBgColorClass:"",onClick:()=>s(!l)}))),t.createElement("div",{className:"hidden tb:flex tb:flex-col-reverse"},t.createElement("div",{className:"flex pt-10 justify-center items-center"},t.createElement("div",{className:"flex"},t.createElement("button",{type:"button",onClick:()=>{(()=>{if(o>0)i(o-1),a.current.scrollTo({left:a.current.scrollLeft-1*a.current.children[0].offsetWidth,behavior:"smooth"});else{const e=u-1,t=a.current.scrollWidth-1*a.current.children[0].offsetWidth;i(e),a.current.scrollTo({left:t,behavior:"smooth"})}})()},className:`flex bg-blue-600 ${h} disabled:bg-neutral-200 `,disabled:m(o,"isLeft")},t.createElement("span",{role:"img","aria-label":"Arrow left "},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5]",variant:"arrowleft",strokeColor:"#1F2A37"}))),t.createElement("button",{type:"button",onClick:()=>{o<u-1?(i(o+1),a.current.scrollTo({left:a.current.scrollLeft+1*a.current.children[0].offsetWidth,behavior:"smooth"})):(i(0),a.current.scrollTo({left:0,behavior:"smooth"}))},className:`flex bg-blue-600 ${h} disabled:bg-neutral-200 `,disabled:m(o,"isRight")},t.createElement("span",{role:"img","aria-label":"Arrow right "},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5]",variant:"arrowright",strokeColor:"#1F2A37"}))))),t.createElement("div",{className:"justify-center select-none items-center"},t.createElement("div",{className:""},t.createElement("div",{className:"snap-center w-full inline-flex select-none overflow-x-hidden scrollbar-hide",ref:a},e.cards.map(((r,n)=>t.createElement("div",{className:"snap-center first:ml-0 mx-5 shrink-0",key:n,ref:c[n]},t.createElement("div",{className:"w-full snap-center select-none rounded-3xl object-contain"},t.createElement(e.component,r))))))))))}Cfe.defaultProps={title_color:"text-blue-800",desc_color:"text-blue-600"};const Bfe=[["https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016995/optum_Card_17973d6328.png","https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016994/philips_5bab1602cd.png","https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016996/nutrien_e629b651d5.png"]],Vfe=e=>t.createElement("div",{className:"h-full"},t.createElement("div",{className:" w-[300px] flex flex-col items-center justify-between rounded-3xl h-[338px] "},t.createElement("img",{src:e,alt:"img",className:"w-[300px]"})));function Rfe(e){let a=["https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016994/philips_5bab1602cd.png","https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016996/nutrien_e629b651d5.png","https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016995/optum_Card_17973d6328.png"];function o(e){return{video_url:e.video.data.attributes.url||"",testimonial:{card:{title_img:e.slideLogo?.data?.attributes?.url||"",subtitle:e.slideQuoteText||"",avatar:{img_url:e.slideAuthorImage?.data?.attributes?.url||"",name:e.slideAuthorName||"",designation:e.slideAuthorTitle||""}},cardHover:{cardBg:e.slideHoverColor||"",img_url:e.slideHoverImage?.data?.attributes?.url||"",title:e.slideHoverText||"",button:{cta_text:e.slideCTAText||""},slideCTA:e?.slideCTA||""}}}}const i=[];for(const t in e.data)if(e.data.hasOwnProperty(t)){const r=o(e.data[t]);i.push(r)}const[l,s]=r(!1),[c,u]=t.useState(null),h=n(null),m=n(null),[p,f]=t.useState(0),d=i.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),v=Bfe.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),g=a.length,b=" text-2xl z-50 bg-black h-10 w-10 rounded-full bg-neutral-0 shadow-md hover:bg-neutral-100 hover:shadow-lg bg-blue-600 z-500 flex items-center justify-center",w=()=>{u((e=>!e))},y=(e,t)=>"isLeft"===t?0===e:"isRight"===t?2===e:void 0,x=()=>t.createElement("button",{type:"button",onClick:()=>{w(),(()=>{if(p>0)f(p-1),h.current.scrollTo({left:h.current.scrollLeft-1*h.current.children[0].offsetWidth,behavior:"smooth"}),m.current.scrollTo({left:m.current.scrollLeft-1.5*m.current.children[0].offsetWidth,behavior:"smooth"}),s(!1);else{const e=g-1,t=h.current.scrollWidth-1*h.current.children[0].offsetWidth;f(e),h.current.scrollTo({left:t,behavior:"smooth"});const r=m.current.scrollWidth-1.5*m.current.children[0].offsetWidth;f(e),m.current.scrollTo({left:r,behavior:"smooth"}),s(!1)}})()},className:`flex bg-blue-600 ${b} disabled:bg-neutral-200 `,disabled:y(p,"isLeft")},t.createElement("span",{role:"img","aria-label":"Arrow left "},t.createElement(mz,{height:"h-6 w-6",variant:"chevronleft",strokeColor:"#00288E"}))),O=()=>t.createElement("button",{type:"button",onClick:()=>{w(),p<g-1?(f(p+1),h.current.scrollTo({left:h.current.scrollLeft+1*h.current.children[0].offsetWidth,behavior:"smooth"}),m.current.scrollTo({left:m.current.scrollLeft+1.5*m.current.children[0].offsetWidth,behavior:"smooth"})):(f(0),h.current.scrollTo({left:0,behavior:"smooth"}),m.current.scrollTo({left:0,behavior:"smooth"}),s(!0))},className:`flex bg-blue-600 ${b} disabled:bg-neutral-200 `,disabled:y(p,"isRight")},t.createElement("span",{role:"img","aria-label":"Arrow right "},t.createElement(mz,{height:"h-6 w-6",variant:"chevronright",strokeColor:"#00288E"}))),[E,j]=r(!1);return t.createElement("div",{className:"min-[699px]:relative block"},t.createElement("div",{className:"mx-auto w-screen"},t.createElement("div",{className:"min-[699px]:relative flex flex-col items-center right-[75ppx] top-[112px]"},t.createElement("div",{className:"absolute"})),t.createElement("div",{className:" min-[699px]:relative top-5 rounded-lg"},t.createElement("div",{className:" min-[699px]:absolute"},t.createElement("div",{className:" flex flex-col-reverse tb:flex-col-reverse tb:flex items-center"},t.createElement("div",{className:"hidden min-[699px]:flex z-10 min-[699px]:mt-[70px] justify-center items-center"},t.createElement("div",{className:"flex w-screen gap-6 justify-center "},t.createElement("div",{className:"btnDBleft"},x()),t.createElement("div",{className:"btnDBright"},O()))),t.createElement("div",{className:"max-[369px]:mt-8 min-[400px]:-mt-[10rem] min-[699px]:hidden"},t.createElement("div",{className:"flex w-screen gap-6 justify-center "},x(),O())),t.createElement("div",{className:"justify-center select-none items-center"},t.createElement("div",{className:"w-screen flex justify-center items-center "},t.createElement("div",{className:" z-30"},t.createElement("div",{className:"snap-x max-[699px]:w-screen bg-neutral-00 tb:w-[580px] items-center z-20 inline-flex select-none overflow-x-hidden scrollbar-hide",ref:h},i.map(((e,r)=>t.createElement("div",{className:" db:snap-center snap-center mx-6 ",key:r,ref:d[r]},t.createElement("div",{className:"select-none rounded-3xl object-contain "},t.createElement(Sie,e))))))),t.createElement("div",{className:"hidden snap-x tb-l:max-w-[1240px] min-[1300px]:max-w-7xl\n gap-[167px]\n items-center min-[1300px]:flex select-none overflow-x-hidden scrollbar-hide absolute z-0",ref:m},a.map(((e,r)=>t.createElement(t.Fragment,null,t.createElement("div",{className:" transition-all duration-[1500ms] z-[1] snap-center tb-m:snap-start mx-3",key:r+"x",ref:v[r]},t.createElement("div",{className:"select-none rounded-3xl object-contain"},t.createElement("div",null,0==r&&Vfe(a[r+1]),1==r&&Vfe(a[1])))),t.createElement("div",{className:(E?" ":"")+" transition-all duration-[1500ms] z-[1] snap-center tb-m:snap-start mx-3 ",key:r+"y",ref:v[r]},t.createElement("div",{className:"select-none rounded-3xl object-contain"},Vfe(a[2]))),t.createElement("div",{className:" transition-all duration-[1500ms] z-[1] snap-center tb-m:snap-start mx-3 ",key:r+"z",ref:v[r]},t.createElement("div",{className:"select-none rounded-3xl object-contain"},Vfe(a[0])))))))))))),t.createElement("div",{className:" hidden min-[699px]:flex tb:flex-col items-center"},t.createElement("div",{className:"relative -right-[44px]"},t.createElement("img",{alt:"tab",src:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1687108911/hasura-design-system/Group_2608834_rxnldq.png",className:"w-[709px]"})))))}function Afe(e){const a=n(null),[o,i]=t.useState(0),[l,s]=t.useState(0),[c,u]=t.useState(0),[h,m]=r(!1),p=e.cards.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),f=e.cards.length,d=()=>{o<f-1?(i(o+1),a.current.scrollTo({left:a.current.scrollLeft+1*a.current.children[0].offsetWidth,behavior:"smooth"})):(i(0),a.current.scrollTo({left:0,behavior:"smooth"}))},v=()=>{if(o>0)i(o-1),a.current.scrollTo({left:a.current.scrollLeft-1*a.current.children[0].offsetWidth,behavior:"smooth"});else{const e=f-1,t=a.current.scrollWidth-1*a.current.children[0].offsetWidth;i(e),a.current.scrollTo({left:t,behavior:"smooth"})}},g=" text-2xl z-10 bg-black h-10 w-10 ml-6 w-10 rounded-full bg-neutral-0 hover:bg-neutral-0 flex items-center justify-center shadow",b=(e,t)=>"isLeft"===t?0===e:"isRight"===t?2===e:void 0;return t.createElement("div",{className:""},t.createElement("div",{className:"flex flex-row overflow-scroll scrollbar-hide gap-4 tb:hidden"},h?e.cards.map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:p[n]},t.createElement("div",{className:"rounded-3xl shadow min-w-[312px] overflow-hidden"},t.createElement(e.component,r))))):e.cards.slice(0,6).map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:p[n]},t.createElement("div",{className:"rounded-3xl shadow overflow-hidden"},t.createElement(e.component,r))))),e.cards.length>6&&t.createElement("div",{className:"flex"},t.createElement(V8,{label:h?"View less":"View more",type:"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#1E56E3",animatedHoverStroke:"group-hover:stroke-neutral-0",className:"flex",btnTextColorClass:"text-blue-600",btnBgColorClass:"",onClick:()=>m(!h)}))),t.createElement("div",{className:"hidden tb:flex tb:flex-col-reverse"},t.createElement("div",{className:"flex items-center justify-center mt-10"},t.createElement("div",{className:"flex"},t.createElement("button",{type:"button",onClick:()=>{v()},className:`flex bg-blue-600 ${g} disabled:bg-neutral-200 `,disabled:b(o,"isLeft")},t.createElement("span",{role:"img","aria-label":"Arrow left "},t.createElement(mz,{height:"h-6 w-6",variant:"chevronleft",strokeColor:"#6C737F"}))),t.createElement("button",{type:"button",onClick:()=>{d()},className:`flex bg-blue-600 ${g} disabled:bg-neutral-200 `,disabled:b(o,"isRight")},t.createElement("span",{role:"img","aria-label":"Arrow right "},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5]",variant:"chevronright",strokeColor:"#6C737F"}))))),t.createElement("div",{className:"justify-center select-none items-center",onTouchStart:e=>{s(e.targetTouches[0].clientX)},onTouchMove:e=>{u(e.targetTouches[0].clientX)},onTouchEnd:()=>{l-c>150&&d(),l-c<-150&&v()},onMouseDown:e=>s(e.clientX),onMouseUp:e=>{l-e.clientX>50&&d(),l-e.clientX<-50&&v()}},t.createElement("div",{className:""},t.createElement("div",{className:"snap-x w-full inline-flex select-none overflow-x-hidden scrollbar-hide",ref:a},e.cards.map(((r,n)=>t.createElement("div",{className:" snap-center mx-5 shrink-0 py-1",key:n,ref:p[n]},t.createElement("div",{className:"w-full select-none rounded-3xl object-contain"},t.createElement(e.component,r))))))))))}function Tfe({components:e,variants:n}){const[o,i]=r(!0),[l,s]=r(0),[c,u]=r(e.length-1),[h,m]=r(1),[p,f]=r(0),[d,v]=r(!0),g=()=>{d&&b()};a((()=>{const e=setInterval(g,3e3);return()=>clearInterval(e)}),[l,d]);const b=()=>{c===e.length-1?u(0):u(c+1),l===e.length-1?s(0):s(l+1),h===e.length-1?m(0):m(h+1),i(!0),f((t=>t===e.length-1?0:t+1)),i(!0)},w=()=>{i(!1),u(0===c?e.length-1:c-1),s(0===l?e.length-1:l-1),m(0===h?e.length-1:h-1),f((t=>0===t?e.length-1:t-1)),i(!1)},y=()=>{v(!1)},x=()=>{v(!0)};return e?t.createElement("div",{className:"h-full",onMouseEnter:y,onMouseLeave:x},t.createElement("div",{className:"hidden tb-l:grid relative h-full"},t.createElement(Ape.div,{className:"flex justify-center "},t.createElement(Zpe,{initial:!1},t.createElement(Ape.div,{key:c,variants:n,initial:o?"center":"leftHidden",animate:"left",exit:"leftHidden",className:"carousel-item"},e[c]),t.createElement(Ape.div,{variants:n,key:l,initial:o?"right":"left",animate:"center",className:"carousel-item"},e[l]),t.createElement(Ape.div,{key:h,variants:n,initial:o?"rightHidden":"center",animate:"right",exit:"rightHidden",className:"carousel-item"},e[h])))),t.createElement("div",{className:"hidden tb-l:flex mt-10 "},t.createElement("div",{className:"gap-4 w-full h-full flex justify-center"},t.createElement(Ape.button,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{type:"spring",duration:.5},whileHover:{scale:1.1},whileTap:{scale:.8},className:" w-12 h-12 bg-neutral-0 shadow hover:bg-neutral-100 rounded-full flex justify-center items-center active:bg-neutral-200 ",onClick:w},t.createElement(mz,{height:"h-6 w-6",variant:"chevronleft",strokeClass:"stroke-neutral-800"})),t.createElement(Ape.button,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{type:"spring",duration:.5},whileHover:{scale:1.1},whileTap:{scale:.8},className:"w-12 h-12 bg-neutral-0 shadow hover:bg-neutral-100 rounded-full flex justify-center items-center active:bg-neutral-200",onClick:b},t.createElement(mz,{height:"h-6 w-6",variant:"chevronright",strokeClass:"stroke-neutral-800"})))),t.createElement("div",{className:"tb-l:hidden flex overflow-x-scroll pb-10 pt-4 tb:pb-16 tb:pt-10 px-4 gap-2 mb-m:gap-4 tb-m:gap-4"},e.map(((e,r)=>t.createElement(t.Fragment,{key:r},t.createElement("div",{className:"tb-l:min-w-[700px] tb:min-w-[500px] mb-s:min-w-[350px] min-w-[300px]"},e)))))):t.createElement(t.Fragment,null)}function Hfe({components:e,variants:n}){const[o,i]=r(!0),[l,s]=r(0),[c,u]=r(e.length-1),[h,m]=r(1),[p,f]=r(0),[d,v]=r(!0),g=()=>{d&&b()};a((()=>{const e=setInterval(g,3e3);return()=>clearInterval(e)}),[l,d]);const b=()=>{i(!0),c===e.length-1?u(0):u(c+1),l===e.length-1?s(0):s(l+1),h===e.length-1?m(0):m(h+1),f((t=>t===e.length-1?0:t+1))},w=()=>{i(!1),u(0===c?e.length-1:c-1),s(0===l?e.length-1:l-1),m(0===h?e.length-1:h-1),f((t=>0===t?e.length-1:t-1))},y=()=>{v(!1)},x=()=>{v(!1)};return e?t.createElement("div",{className:"h-full",onMouseEnter:y,onMouseLeave:x},t.createElement("div",{className:"hidden tb-l:grid relative h-full"},t.createElement(Ape.div,{className:"flex justify-center "},t.createElement(Zpe,{initial:!1},t.createElement(Ape.div,{key:c,variants:n,animate:o?"rightHidden":"left",exit:"leftHidden",className:"carousel-item"},e[c]),t.createElement(Ape.div,{variants:n,key:l,animate:"center",className:"carousel-item"},e[l]),t.createElement(Ape.div,{key:h,variants:n,animate:o?"leftHidden":"right",exit:"rightHidden",className:"carousel-item"},e[h])))),t.createElement("div",{className:"hidden tb-l:flex mt-10 "},t.createElement("div",{className:"gap-4 w-full h-full flex justify-center"},t.createElement(Ape.button,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{type:"spring",duration:.5},whileHover:{scale:1.1},whileTap:{scale:.8},className:" w-12 h-12 bg-neutral-0 shadow hover:bg-neutral-100 rounded-full flex justify-center items-center active:bg-neutral-200 ",onClick:w},t.createElement(mz,{height:"h-6 w-6",variant:"chevronleft",strokeClass:"stroke-neutral-800"})),t.createElement(Ape.button,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{type:"spring",duration:.5},whileHover:{scale:1.1},whileTap:{scale:.8},className:"w-12 h-12 bg-neutral-0 shadow hover:bg-neutral-100 rounded-full flex justify-center items-center active:bg-neutral-200",onClick:b},t.createElement(mz,{height:"h-6 w-6",variant:"chevronright",strokeClass:"stroke-neutral-800"})))),t.createElement("div",{className:"tb-l:hidden flex overflow-x-scroll pb-10 pt-4 tb:pb-16 tb:pt-10 px-4 gap-2 mb-m:gap-4 tb-m:gap-4"},e.map(((e,r)=>t.createElement(t.Fragment,{key:r},t.createElement("div",{className:"tb-l:min-w-[700px] tb:min-w-[500px] mb-s:min-w-[350px] min-w-[300px]"},e)))))):t.createElement(t.Fragment,null)}const Lfe=()=>t.createElement("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M7.31687 9.12914C7.31687 10.1979 6.47716 11.0376 5.40844 11.0376C4.33971 11.0376 3.5 10.1979 3.5 9.12914C3.5 8.06042 4.33971 7.2207 5.40844 7.2207C6.47716 7.2207 7.31687 8.06042 7.31687 9.12914ZM7.31687 12.5643H3.5V24.7783H7.31687V12.5643ZM13.4239 12.5643H9.607V24.7783H13.4239V18.366C13.4239 14.7781 18.0041 14.4728 18.0041 18.366V24.7783H21.821V17.0682C21.821 11.0376 15.027 11.2666 13.4239 14.2438V12.5643Z"})),Ife=()=>t.createElement("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.087 8.93655L21.087 8.93659L21.1002 8.93761C21.9378 9.00203 22.3817 9.16101 22.6263 9.30672C22.827 9.42628 23.0039 9.59975 23.1728 9.98218C23.3636 10.4144 23.5265 11.0801 23.6296 12.1242C23.7315 13.1571 23.7646 14.4356 23.7646 16.0392C23.7646 17.6426 23.7315 18.9284 23.6294 19.9704C23.5261 21.0243 23.3626 21.7015 23.17 22.1417C22.9987 22.5332 22.8229 22.7001 22.6368 22.8096C22.4079 22.9441 21.9795 23.0951 21.1534 23.1375L21.1534 23.1374L21.1445 23.1379C17.4729 23.3419 9.22945 23.3423 5.5387 23.1392C4.71481 23.0738 4.27627 22.9162 4.03377 22.7718C3.8331 22.6522 3.65613 22.4787 3.4873 22.0963C3.29651 21.6641 3.13358 20.9984 3.03051 19.9542C2.92855 18.9213 2.8955 17.6429 2.8955 16.0392C2.8955 14.4356 2.92855 13.1571 3.03051 12.1242C3.13358 11.0801 3.29651 10.4144 3.4873 9.98219C3.65613 9.59975 3.8331 9.42628 4.03377 9.30672C4.27834 9.16101 4.7223 9.00203 5.55985 8.93761L5.55985 8.93765L5.5731 8.93655C9.21419 8.63312 17.4459 8.63312 21.087 8.93655ZM0.808594 16.0392C0.808594 22.5087 1.33032 24.9086 5.39979 25.2216C9.15622 25.4303 17.5039 25.4303 21.2603 25.2216C25.3298 25.0129 25.8515 22.5087 25.8515 16.0392C25.8515 9.56983 25.3298 7.16988 21.2603 6.85685C17.5039 6.54381 9.15622 6.54381 5.39979 6.85685C1.33032 7.16988 0.808594 9.56983 0.808594 16.0392ZM11.71 19.4583C11.0162 19.8052 10.1999 19.3006 10.1999 18.525V13.554C10.1999 12.7783 11.0162 12.2738 11.71 12.6207L16.6809 15.1062C17.45 15.4907 17.45 16.5882 16.6809 16.9728L11.71 19.4583Z"})),Ffe=()=>t.createElement("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M10.755 13.0059H8.50977V15.9995H10.755V24.9805H14.4971V15.9995H17.1914L17.4907 13.0059H14.4971V11.7336C14.4971 11.06 14.6468 10.7606 15.3203 10.7606H17.4907V7.01855H14.6468C11.9525 7.01855 10.755 8.21602 10.755 10.4613V13.0059Z"})),_fe=()=>t.createElement("svg",{className:"w-[21px] h-5",width:"1200",height:"1227",viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:"white"})),Zfe=()=>t.createElement("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.3394 7.2359C16.2009 7.2359 16.5586 7.2359 17.7212 7.32532C20.6722 7.41475 22.0135 8.84554 22.103 11.7071C22.1924 12.8696 22.1924 13.1379 22.1924 15.9995C22.1924 18.8611 22.1924 19.2188 22.103 20.2919C22.0135 23.1535 20.5828 24.5843 17.7212 24.6737C16.5586 24.7631 16.2904 24.7631 13.3394 24.7631C10.4778 24.7631 10.1201 24.7631 9.04697 24.6737C6.09596 24.5843 4.75459 23.1535 4.66517 20.2919C4.57574 19.1294 4.57574 18.8611 4.57574 15.9995C4.57574 13.1379 4.57574 12.7802 4.66517 11.7071C4.75459 8.84554 6.18538 7.41475 9.04697 7.32532C10.1201 7.2359 10.4778 7.2359 13.3394 7.2359ZM13.3394 5.26855C10.3883 5.26855 10.0306 5.26855 8.95755 5.35798C5.02286 5.53683 2.87667 7.68302 2.69782 11.6177C2.6084 12.6908 2.6084 13.0485 2.6084 15.9995C2.6084 18.9505 2.6084 19.3082 2.69782 20.3813C2.87667 24.316 5.02286 26.4622 8.95755 26.641C10.0306 26.7305 10.3883 26.7305 13.3394 26.7305C16.2904 26.7305 16.6481 26.7305 17.7212 26.641C21.6558 26.4622 23.802 24.316 23.9809 20.3813C24.0703 19.3082 24.0703 18.9505 24.0703 15.9995C24.0703 13.0485 24.0703 12.6908 23.9809 11.6177C23.802 7.68302 21.6558 5.53683 17.7212 5.35798C16.6481 5.26855 16.2904 5.26855 13.3394 5.26855ZM13.3394 10.4552C10.2989 10.4552 7.79503 12.9591 7.79503 15.9995C7.79503 19.0399 10.2989 21.5438 13.3394 21.5438C16.3798 21.5438 18.8837 19.0399 18.8837 15.9995C18.8837 12.9591 16.3798 10.4552 13.3394 10.4552ZM13.3394 19.5765C11.372 19.5765 9.76237 17.9669 9.76237 15.9995C9.76237 14.0322 11.372 12.4225 13.3394 12.4225C15.3067 12.4225 16.9163 14.0322 16.9163 15.9995C16.9163 17.9669 15.3067 19.5765 13.3394 19.5765ZM19.0625 9.02439C18.3471 9.02439 17.8106 9.56094 17.8106 10.2763C17.8106 10.9917 18.3471 11.5283 19.0625 11.5283C19.7779 11.5283 20.3145 10.9917 20.3145 10.2763C20.3145 9.56094 19.7779 9.02439 19.0625 9.02439Z"})),Dfe=[{icon:t.createElement(Lfe,null),linkUrl:"https://www.linkedin.com/company/hasura/"},{icon:t.createElement(Ife,null),linkUrl:"https://www.youtube.com/channel/UCZo1ciR8pZvdD3Wxp9aSNhQ"},{icon:t.createElement(Ffe,null),linkUrl:"https://www.facebook.com/HasuraHQ"},{icon:t.createElement(_fe,null),linkUrl:"https://twitter.com/hasurahq",className:"py-1"},{icon:t.createElement(Zfe,null),linkUrl:"https://www.instagram.com/hasurahq/?hl=en"}];function qfe(e){const[n,o]=r(!1),[i,l]=r(null);return a((()=>{fetch("https://status.hasura.io/api/v2/status.json").then((e=>e.json())).then((e=>{l(e),o(!1)}),(e=>{o(!0)}))}),[]),t.createElement("div",null,t.createElement("div",{className:"db-s:flex justify-between gap-10 db-s:gap-20 db:gap-40"},t.createElement("div",{className:"pb-10 db-s:pb-0 px-4 tb:px-0"},t.createElement("a",{href:e.brandLink,className:""},t.createElement("img",{className:"max-w-[125px]",src:e.brandUrl,alt:e.brandAlt}))),t.createElement("div",{className:"flex justify-between px-4 tb:px-0 tb:justify-start tb-l:justify-between flex-1 flex-wrap gap-y-10 tb:gap-y-16"},e.footerLinks.map(((e,r)=>t.createElement("div",{key:r,className:"min-w-[130px] db-s:min-w-fit"},t.createElement(ce,{textStyle:"body3c-semi-bold",className:"text-neutral-600"},e.title),e.links.map(((e,r)=>t.createElement("a",{href:e.linkUrl},t.createElement(ce,{textStyle:"body3",className:"text-neutral-600 mt-2 tb:mt-4 hover:text-neutral-1000"},e.linkText))))))))),t.createElement("div",{className:"flex flex-col tb-m:flex-row items-center justify-between tb:pt-24"},t.createElement("div",{className:"flex items-center justify-center pt-10 tb-m:pt-0 pb-4 tb-m:pb-0 tb-m:justify-start"},Dfe.map(((e,r)=>t.createElement("a",{href:e.linkUrl,className:"mx-2 tb-l:mx-4 first:ml-0 last:mr-0 [&>svg>path]:fill-neutral-400 [&>svg>path]:hover:fill-neutral-600 "+(e.className?e.className:"")},e.icon)))),i&&!n&&t.createElement(t.Fragment,null,t.createElement("a",{href:"https://status.hasura.io/",className:""},t.createElement("div",{className:" bg-neutral-0 rounded-full shadow hover:shadow-lg transition-all duration-300 px-4 py-2 inline-flex justify-center items-center"},t.createElement("div",{className:"w-4 h-4 bg-green-400 rounded-full mr-2"}),t.createElement(ce,{textStyle:"body3",className:"text-neutral-1000"},i?.status.description)))),t.createElement("div",null,t.createElement(ce,{textStyle:"body3c",className:"text-neutral-600 pt-4 tb-m:pt-0"},"© ",(new Date).getFullYear()," Hasura Inc. All rights reserved"))))}function Ufe(e){A(e.title_color);const n=A(e.sub_text_color),o=e.feature_cards_links&&e.feature_cards_links[0]?.title?e.feature_cards_links[0].title:null,[i,s]=r();return a((()=>{o&&s(o)}),[o]),t.createElement(t.Fragment,null,e.feature_cards_links&&t.createElement(t.Fragment,null,e.tagLine&&t.createElement(ce,{textStyle:"h6",as:"h6",className:"text-blue-800 uppercase pb-1 tb-l:w-1/2"},e.tagLine),t.createElement(ce,{textStyle:"h4",as:"h4",className:"text-neutral-1000 pb-8 tb-l:w-1/2"},e.title)),t.createElement("div",{className:"grid grid-cols-1 tb-l:grid-cols-2 gap-10 tb:gap-8"+(e.feature_cards_links?" tb:gap-16":" tb-l:gap-20")},t.createElement("div",null,t.createElement("div",null,!e.feature_cards_links&&t.createElement(t.Fragment,null,e.tagLine&&t.createElement(ce,{textStyle:"h6",as:"h6",className:"text-blue-800 uppercase pb-1 tb-l:w-1/2"},e.tagLine),t.createElement(ce,{textStyle:"h4",as:"h4",className:"text-neutral-1000 pb-6 max-w-[330px]"},e.title)),!e.feature_cards_links&&e.sub_title&&t.createElement(ce,{textStyle:"sub1",className:`${n} pb-2 -mt-4`},e.sub_title),!e.content_right&&t.createElement(t.Fragment,null,e.descriptions&&e.descriptions.map(((e,r)=>t.createElement(ce,{key:r,textStyle:"body1",className:"pb-6 pr-8 max-w-[412px] [&>p]:pb-2 [&>p]:text-neutral-600 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>ul>li]:text-neutral-600"},t.createElement(iie,null,e.description)))),e.descriptions_list&&t.createElement("div",{className:"pb-6"},e.descriptions_list&&e.descriptions_list.map(((e,r)=>{const n=A(e.icon_bg_color),a=A(e.icon_color);return t.createElement("div",{className:"flex items-start pb-4 last:pb-0",key:r},t.createElement("div",{className:`${n} w-6 h-6 min-w-[24px] min-h-[24px] rounded-full mr-2 flex items-center justify-center`},t.createElement(mz,{height:"h-3 w-3 stroke-[1.5px]",variant:e.icon_name,strokeClass:a,strokeColor:""})),t.createElement(ce,{textStyle:"body1",className:"text-neutral-600"},e.description))}))),e.addiDescription&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-600 max-w-[412px]"},e.addiDescription)),e.feature_cards_links&&t.createElement("div",{className:"tb:border border-neutral-150 rounded-3xl max-w-[460px]"},e.feature_cards_links.map(((e,r)=>{const n=A(e.icon_color),a=A(e.tab_img_bg_class);return t.createElement("div",{key:r,className:"border-b border-b-neutral-150 last:border-b-0 cursor-pointer",onClick:()=>s(e.title)},t.createElement("div",{className:"my-4 tb-l:m-2 p-4 tb:p-6 rounded-2xl transition ease-in duration-200 hover:bg-neutral-50"+(i===e.title?" bg-neutral-150":""),key:r},t.createElement("div",{className:"flex items-center pb-4"},t.createElement(mz,{height:"w-6 h-6 mr-2 stroke-[1.5px]",variant:e.icon_name,strokeClass:n,strokeColor:""}),t.createElement(ce,{textStyle:"h5",as:"h5",className:"text-neutral-1000"},e.title)),e.description&&t.createElement(ce,{textStyle:"body3",className:"pb-4 text-neutral-600"},e.description),e.descriptions_list&&e.descriptions_list.map(((e,r)=>{const n=A(e.icon_bg_color),a=A(e.icon_color);return t.createElement("div",{className:"flex items-start pb-4 last:pb-0",key:r},t.createElement("div",{className:`${n} w-5 h-5 min-w-[20px] min-h-[20px] rounded-full mr-2 flex items-center justify-center`},t.createElement(mz,{height:"h-3 w-3 stroke-[1.5px]",variant:e.icon_name,strokeClass:a,strokeColor:""})),t.createElement(ce,{textStyle:"body3",className:"text-neutral-600"},e.description))})),e.cta_text&&e.cta_link&&t.createElement("a",{href:e.cta_link,className:"inline-flex"},t.createElement(V8,{label:e.cta_text,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"text-blue-600",animatedHoverStroke:"group-hover:stroke-blue-600"})),e.tab_img_url&&t.createElement("div",{className:`${a} tb-l:hidden p-4 tb-l:p-12 rounded-2xl mt-8`},t.createElement("img",{src:e.tab_img_url,alt:e.title,loading:"lazy"}))))}))),e.button&&t.createElement("div",{className:"flex gap-6 items-center"},e.button.map(((e,r)=>t.createElement("a",{href:e.cta_link,key:r,className:"flex "},t.createElement(V8,{label:e.cta_text,type:e.cta_type||"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:e.rightAnimatedArrowColor||"#3970FD",btnBgColorClass:e.btnBg,btnTextHoverClass:e.btnTextColorClass,animatedHoverStroke:e.animatedHoverStroke,btnTextColorClass:e.btnTextColorClass}))))))),t.createElement(t.Fragment,null,e.content_right?t.createElement("div",null,e.descriptions&&e.descriptions.map(((e,r)=>t.createElement(ce,{key:r,textStyle:"body1",className:"pb-6 pr-8 max-w-[412px] [&>p]:pb-2 last:[&>p]:pb-0 [&>p]:text-neutral-600 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>ul>li]:text-neutral-600"},t.createElement(iie,null,e.description)))),e.descriptions_list&&t.createElement("div",{className:"pb-6"},e.descriptions_list&&e.descriptions_list.map(((e,r)=>{const n=A(e.icon_bg_color),a=A(e.icon_color);return t.createElement("div",{className:"flex items-start pb-4 last:pb-0",key:r},t.createElement("div",{className:`${n} w-6 h-6 min-w-[24px] min-h-[24px] rounded-full mr-2 flex items-center justify-center`},t.createElement(mz,{height:"h-3 w-3 stroke-[1.5px]",variant:e.icon_name,strokeClass:a,strokeColor:""})),t.createElement(ce,{textStyle:"body1",className:"text-neutral-600"},e.description))}))),e.addiDescription&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-600 max-w-[412px]"},e.addiDescription)):t.createElement(t.Fragment,null,e.feature_cards_links?t.createElement(t.Fragment,null,e.feature_cards_links.map(((e,r)=>(A(e.tab_img_bg_class),t.createElement(l,{key:r},i===e.title&&t.createElement("div",{className:("pattern"===e.tab_img_bg_class?"bg-neutral-100":"")+" hidden h-full p-4 tb-l:p-12 tb-l:flex items-center justify-center rounded-2xl db:rounded-3xl relative bg-neutral-100"},"pattern"===e.tab_img_bg_class&&t.createElement("div",{className:"pattern-gradient absolute left-0 top-0 w-full h-full rounded-3xl"}),e.tab_video_url?t.createElement("video",{loading:"lazy",controls:!1,autoPlay:!0,loop:!0,muted:!0,poster:e.tab_video_poster,className:"z-[1]"},t.createElement("source",{src:e.tab_video_url,type:"video/mp4"})):t.createElement("img",{className:"z-[1] max-h-[530px]",src:e.tab_img_url,alt:e.title,loading:"lazy"}))))))):t.createElement(t.Fragment,null,e.iframe_url||e.video_url?t.createElement("div",null,e.iframe_url?t.createElement("div",{className:"relative pb-[56.2%]"},t.createElement("iframe",{loading:"lazy",title:e.title,src:e.iframe_url,frameBorder:"0",allowFullScreen:!0,className:"absolute w-full h-full rounded-2xl db:rounded-3xl"})):t.createElement("video",{loading:"lazy",controls:!1,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,poster:e.video_poster,src:e.video_url,className:"rounded-2xl db:rounded-3xl"})):t.createElement(t.Fragment,null,e.img_url&&t.createElement("div",{className:("pattern"===e.img_bg_class?"px-5 py-10 db:p-8 bg-neutral-100":"px-0 py-0")+` ${A(e.img_bg_class)} relative rounded-2xl db:rounded-3xl`},"pattern"===e.img_bg_class&&t.createElement("div",{className:"pattern-gradient z-0 absolute left-0 top-0 w-full h-full rounded-3xl"}),t.createElement("img",{className:("pattern"===e.img_bg_class?"":"rounded-2xl db:rounded-3xl")+" z-[1] relative inline-block",src:e.img_url,alt:e.title,loading:"lazy"}))))))))}function $fe(e){return t.createElement("div",{className:"tb-m:flex gap-14 gap-y-14 gap-x-14 tb:gap-12 db-s:gap-20 db:gap-24"},t.createElement("div",{className:"pb-10 tb-m:pb-0 db-s:max-w-[524px] tb-m:w-1/2 w-full flex flex-col justify-between"},t.createElement("div",null,e.tagline&&t.createElement(ce,{textStyle:"h6",as:"h6",className:"pb-2 uppercase text-blue-400"},e.tagline),e.title&&t.createElement(ce,{textStyle:"h3",as:"h3",className:"pb-2 text-neutral-1000"},e.title),e.description&&t.createElement(ce,{textStyle:"sub2",className:"pb-6 text-neutral-600"},e.description)),t.createElement("div",null,e.imgUrl&&t.createElement("div",{className:"pb-4 pt-2"},t.createElement("img",{className:"max-w-[210px]",src:e.imgUrl,alt:e.title?e.title:"Illu"})),e.button&&t.createElement("a",{href:e.button.cta_link,className:"inline-flex ",download:!0,target:"_blank"},t.createElement(V8,{label:e.button.cta_text,type:e.button.cta_type||"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:e.button.rightAnimatedArrowColor||"#3970FD",animatedHoverStroke:"group-hover:stroke-blue-600",btnTextHoverClass:"hover:text-blue-600",btnTextColorClass:"text-blue-500"})))),e.iconCards&&t.createElement("div",{className:"flex-1 pt-10 tb-m:pt-0 border-t border-neutral-200 tb-m:border-t-0"},e.iconCards.map(((e,r)=>t.createElement("div",{className:"pb-6 tb:pb-10 tb-l:pb-16 last:pb-0 tb:flex",key:r},t.createElement("div",{className:"w-12 h-12 min-w-[48px] rounded-full flex justify-center items-center mr-5 "+(e.iconBgClass?A(e.iconBgClass):"bg-blue-300")},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5px]",variant:e.iconName?e.iconName:"cube02",strokeClass:"stroke-neutral-1000"})),t.createElement("div",null,t.createElement(ce,{textStyle:"h4",as:"h4",className:"pb-2 pt-4 tb:pt-0 text-neutral-1000"},e.title),t.createElement(ce,{textStyle:"body1",className:"text-neutral-600"},e.description)))))))}function zfe(e){const[n,o]=r(!1),[i,l]=r("");a((()=>{if(e.tabContent){const t=Object.keys(e.tabContent);l(t[0])}}),[e.tabContent]);return t.createElement("div",null,e.navTabs&&t.createElement("div",{className:"max-w-[44.44rem] rounded-2xl"},t.createElement("div",{className:"flex pb-8 overflow-scroll scrollbar-hide"},t.createElement(ffe,{onTabClick:e=>{e.name&&l(e.name)},tabs:e.navTabs,pillColor:e.pillColor,bgColorTab:e.bgColorTab})),t.createElement("div",{className:""},e.tabContent&&e.tabContent[i]&&(s=e.tabContent[i],t.createElement(t.Fragment,null,t.createElement("div",{className:""},s.title&&t.createElement(ce,{textStyle:"body1c-semi-bold",className:A(s.title_color)},s.title),s.subTitle&&t.createElement(ce,{textStyle:"body3",className:"mt-2 "+A(s.sub_title_color)},s.subTitle),s.readMore_cta&&t.createElement("div",{className:"flex"},t.createElement("a",{href:s.readMore_cta_link??""},t.createElement(V8,{label:s.readMore_cta,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"",className:" mt-4"})))),s.btnLabel&&t.createElement("div",{className:"flex pl-3 pt-6 pb-8"},t.createElement(V8,{label:s.btnLabel,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#1E56E3",animatedHoverStroke:"group-hover:stroke-blue-600",className:"flex",btnTextColorClass:"text-blue-600"})),t.createElement("div",{className:"mt-8"},n&&s.video_url?t.createElement("video",{id:"hero_vid",controls:!0,autoPlay:!0,muted:!0,playsInline:!0,width:"500",height:"500",className:"tb:w-full w-full rounded-3xl",src:s.video_url}):t.createElement("div",{className:"relative"},s.img_url&&t.createElement("img",{src:s.img_url,alt:"Illustration",className:" rounded-2xl"}),s.video_url&&t.createElement("div",{className:"w-14 h-14 cursor-pointer video-play-btn before:bg-blue-700 after:bg-blue-700 rounded-full flex items-center justify-center bg-blue-700 absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 shadow-neutral-1000 shadow-2xl",onClick:()=>o(!0)},t.createElement(mz,{variant:"play",height:"h-6 w-6 ml-1",strokeClass:"stroke-neutral-0"})))))))));var s}function Wfe(e){return t.createElement("div",{className:"flex tb-l:flex-row flex-col justify-between"},t.createElement("div",null,t.createElement(ce,{textStyle:"h4",className:"text-neutral-1000"},e.title),t.createElement(ce,{textStyle:"body1",className:"mt-4 text-neutral-700 max-w-[430px]"},e.description)),t.createElement("div",{className:"max-w-[583px] pt-8 tb-l:pt-0"},t.createElement(zfe,{navTabs:e.navTabs,tabContent:e.tabContent,pillColor:e.pillColor,bgColorTab:e.bgColorTab})))}function Gfe(e){return t.createElement(t.Fragment,null,t.createElement("div",{className:"flex flex-col-reverse px-6 py-10 db:px-0 db:py-0 db:flex-row db:gap-[132px]"},t.createElement("div",{className:"flex flex-col db:pl-20 db:pt-20 db:pb-[74px]"},e.tagline&&t.createElement(ce,{textStyle:"h6",className:"text-blue-400 db:block uppercase mb-2 hidden "},e.tagline),e.title&&e.description&&t.createElement("div",{className:"flex flex-col gap-4"},t.createElement(ce,{textStyle:"h3",className:"text-neutral-1000 db:block hidden"},e.title),t.createElement(ce,{textStyle:"sub2",className:"text-neutral-600 db:mt-0 mt-4 "},e.description)),e.CTA&&t.createElement("div",{className:"mt-4 tb:mt-6 flex"},t.createElement("a",{href:e.CTA.url},t.createElement(V8,{label:e.CTA.text,type:e.CTA.type||"secondary",size:"md",rightAnimatedArrowColor:"#3970FD"})))),e.video_url&&t.createElement("div",{className:"flex mt-4 tb:mt-0 tb:items-end tb:max-w-[600px] db:min-w-[550px]"},t.createElement("video",{autoPlay:!0,loop:!0,playsInline:!0,muted:!0,src:e.video_url,className:" rounded-xl db:rounded-none db:rounded-br-3xl db:rounded-tl-3xl"})),t.createElement("div",{className:"db:hidden pb-2"},t.createElement(ce,{textStyle:"h3",className:"text-neutral-1000"},e.title)),e.tagline&&t.createElement(ce,{textStyle:"h6",className:"text-blue-400 db:hidden uppercase"},e.tagline)))}function Qfe(e){return t.createElement(t.Fragment,null,t.createElement("div",{className:"divide-y divide-neutral-200"},t.createElement("div",{className:" pb-8"},t.createElement("div",null,e.imgUrl&&t.createElement("div",{className:"flex"},t.createElement("img",{alt:e.title??"connectorImage",src:e.imgUrl,className:" max-h-[25px] "})),e.tags&&t.createElement("div",{className:"gap-2 pt-8 flex flex-wrap"},e.tags.map(((e,r)=>t.createElement(x8,{key:r,color:e.color,children:e.label}))))),t.createElement("div",null,e.title&&t.createElement("div",{className:"pt-4 text-hds-t-h3 text-neutral-1000"},e.title),e.description&&t.createElement(ce,{textStyle:"sub2",className:"pt-2 text-neutral-500"},e.description)),e.btnLink&&t.createElement("a",{href:e.btnLink,className:"mt-4 flex"},t.createElement(V8,{type:"secondary",label:e.btnLabel??"Deployment guide",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#3970FD"}))),t.createElement("div",{className:"py-8 "},t.createElement(ce,{textStyle:"h6",className:"text-neutral-500 uppercase"},e.aboutTitle??"About"),t.createElement("div",{className:"pt-4 flex flex-col gap-2"},e.versionValue&&t.createElement("div",{className:"flex gap-2"},t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500"},e.version??"Version"),t.createElement(x8,{color:"blue",children:e.versionValue})),e.typeValue&&t.createElement("div",{className:"flex gap-2 items-center"},t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500"},e.typeText??"Type"),t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e.typeIconVariant,strokeClass:"stroke-neutral-800"}),t.createElement(ce,{textStyle:"body1c-medium",className:"text-neutral-800"},e.typeValue)),e.releasedValue&&t.createElement("div",{className:"flex gap-2"},t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500"},e.releasedText??"Released"),t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-800"},e.releasedValue)),e.lastUpdateValue&&t.createElement("div",{className:"flex gap-2"},t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500"},e.lastUpdatedText??"Last Updated"),t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-800"},e.lastUpdateValue)),e.deployed&&t.createElement("div",{className:"flex gap-2"},t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500"},e.deployed??"Deployed"),t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-800"},e.deployedValue)),e.githubRepoLink&&t.createElement("a",{href:e.githubRepoLink,className:"flex gap-2 items-center"},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5px]",variant:"octoface"}),t.createElement(ce,{textStyle:"body1-medium",className:"text-blue-600"},e.githubText??"Github Repo"),t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:"linkexternal01",strokeClass:"stroke-blue-600"})))),t.createElement("div",{className:"py-8"},t.createElement(ce,{textStyle:"h6",className:"text-neutral-500 uppercase"},e.creator??"Creator"),e.hasuraIncUrl&&t.createElement("a",{href:e.hasuraIncUrl,className:"flex gap-2 items-center pt-4"},t.createElement(ce,{textStyle:"body1-medium",className:"text-blue-600"},e.hasuraInc??"Hasura, Inc"),t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:"linkexternal01",strokeClass:"stroke-blue-600"})),e.Email&&t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500 pt-2"},e.Email??"support@hasura.io"))))}function Yfe(e){return t.createElement(t.Fragment,null,e.tagline&&t.createElement(ce,{textStyle:"body1-medium",className:"flex items-center text-neutral-700 pb-4"},e.tagIcon&&t.createElement(mz,{height:"h-6 w-6 stroke-[1.5px] mr-2",variant:e.tagIcon,strokeClass:"stroke-neutral-700"}),e.tagline),e.agendaTitle&&t.createElement(ce,{textStyle:"h3",as:"h3",className:"text-neutral-1000 pb-4"},e.agendaTitle),e.agendaList&&e.agendaList.map(((e,r)=>t.createElement("div",{key:r,className:0===r?"":"pt-4"},e.title&&t.createElement(ce,{textStyle:"h5",as:"h5",className:"text-neutral-700 pb-1"},e.title),e.description&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-700 [&>p]:pb-1 [&>p>img]:mt-4 [&>p>img]:max-w-[420px] [&>p>img]:w-full [&>p>img:nth-child(2)]:max-w-[140px] last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-1 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p>a:hover]:text-blue-800"},t.createElement(iie,null,e.description))))),e.closingNotes&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-700 pt-4 [&>p]:pb-4 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-1 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p>a:hover]:text-blue-800"},t.createElement(iie,null,e.closingNotes)))}function Kfe(e){return t.createElement("div",{className:"group/eventListing rounded-3xl transition-all duration-300"},t.createElement("div",{className:"self-start rounded-t-3xl"},e.eventListingImg&&t.createElement("div",{className:"relative"},t.createElement("div",null,t.createElement("img",{src:e.eventListingImg,alt:e.title,className:` rounded-t-3xl h-[179px] object-cover ${e.imgBG}`,loading:"lazy"}),e.imgTagText&&t.createElement("div",{className:" scale-75 absolute top-2 -right-1"},t.createElement(C8,{statusCircleBgClass:e.circleBG??"bg-red-400",statusTextClass:"text-neutral-900",bgClass:"bg-neutral-0",statusText:e.imgTagText??"Concluded"}))))),t.createElement("div",{className:"border border-neutral-200 group-hover/eventListing:border-opacity-0 transition-all duration-300 rounded-b-3xl"},t.createElement("div",{className:"p-6 pb-0"},e.eventType&&t.createElement(x8,{color:e.badgeColor??"green",children:e.eventType}),e.title&&t.createElement("div",{className:"text-neutral-1000 text-hds-m-h5 tb:text-hds-t-h5 py-2"},e.title)),e.eventDate&&t.createElement(ce,{textStyle:"body3-medium",className:"text-neutral-700 flex items-center duration-300 self-end p-6 pt-0"},e.eventDate,t.createElement("div",null,t.createElement(mz,{className:"z-10 stroke-2 group-hover/eventListing:translate-x-[0.15rem] group-hover/eventListing:transition-all group-hover/eventListing:duration-300",height:"h-5 w-5",variant:"chevronright",strokeClass:"stroke-neutral-500"}),t.createElement(mz,{className:"invisible stroke-2 group-hover/eventListing:transition-all group-hover/eventListing:delay-100 group-hover/eventListing:visible ",height:"h-5 w-5 -mt-5",variant:"minus01",strokeClass:"stroke-neutral-500"})))))}function Xfe(e){const[n,a]=r(null),o=e=>{a(n===e?null:e)};return t.createElement("div",{className:"divide-y divide-neutral-200"},e.accordionData&&e.accordionData.map(((e,r)=>t.createElement("div",{key:r,className:" first:pt-0 last:pb-0 py-6 flex"},t.createElement("div",{className:" cursor-pointer",onClick:()=>o(r)},t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px] ",variant:n===r?"minus":"plus",strokeClass:"stroke-blue-600",className:" transition-opacity duration-300 mt-1"})),t.createElement("div",null,t.createElement(Ape.div,{className:" pl-4 ",initial:{opacity:0},animate:{opacity:1},exit:{opacity:1},transition:{duration:.3,type:"easeIn"}},t.createElement("div",{className:"flex items-center justify-between cursor-pointer"},t.createElement("div",{className:"flex items-center",onClick:()=>o(r)},e.title&&t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-900"},e.title)))),t.createElement(Zpe,null,n===r&&t.createElement(Ape.div,{className:"",initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.1,type:"tween"}},e.content&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-900 pl-4 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p]:pb-2 last:[&>p]:pb-0 [&>ul>li>a]:text-blue-600"},t.createElement(iie,{components:{a:({node:e,...r})=>t.createElement("a",dz({className:"text-blue-600",target:"_blank"},r))}},e.content)))))))))}qfe.defaultProps={brandUrl:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1686659126/website%20v3/hasura-primary_y9cdnn.svg",brandAlt:"Hasura",brandLink:"https://hasura.io/",footerLinks:[{title:"Platform",links:[{linkText:"Hasura CE Edition",linkUrl:"https://hasura.io/opensource/"},{linkText:"Hasura EE",linkUrl:"https://hasura.io/enterprise/"},{linkText:"Hasura Cloud",linkUrl:"https://hasura.io/cloud/"},{linkText:"Pricing",linkUrl:"https://hasura.io/pricing/"}]},{title:"Capabilities",links:[{linkText:"Instant API",linkUrl:"https://hasura.io/product/instant-api/"},{linkText:"Authorization",linkUrl:"https://hasura.io/product/authorization/"},{linkText:"Performance",linkUrl:"https://hasura.io/product/performance/"},{linkText:"Federation",linkUrl:"https://hasura.io/products/federation"},{linkText:"API Security",linkUrl:"https://hasura.io/product/api-security/"},{linkText:"Observability",linkUrl:"https://hasura.io/product/observability/"}]},{title:"Build",links:[{linkText:"Docs",linkUrl:"https://hasura.io/docs/latest/index/"},{linkText:"Hasura Hub",linkUrl:"https://hasura.io/hub/"},{linkText:"Changelog",linkUrl:"https://github.com/hasura/graphql-engine/releases/"},{linkText:"GraphiQL",linkUrl:"https://cloud.hasura.io/public/graphiql"}]},{title:"Learn",links:[{linkText:"Blog",linkUrl:"https://hasura.io/blog/"},{linkText:"Tutorials",linkUrl:"https://hasura.io/learn/"},{linkText:"Events",linkUrl:"https://hasura.io/events/"}]},{title:"Company",links:[{linkText:"Our Story",linkUrl:"https://hasura.io/about/"},{linkText:"Careers",linkUrl:"https://hasura.io/careers/"},{linkText:"Partners",linkUrl:"https://hasura.io/partners/"},{linkText:"Legal",linkUrl:"https://hasura.io/legal/"},{linkText:"Privacy Policy",linkUrl:"https://hasura.io/legal/hasura-privacy-policy/"}]},{title:"Connect",links:[{linkText:"Community",linkUrl:"https://hasura.io/community/"},{linkText:"Discord",linkUrl:"https://discord.com/invite/hasura"}]},{title:"Community",links:[{linkText:"Docs",linkUrl:"https://hasura.io/docs/latest/index/"},{linkText:"Help",linkUrl:"https://hasura.io/help/"},{linkText:"Github",linkUrl:"https://github.com/hasura"},{linkText:"Swag Store",linkUrl:"https://store.hasura.io/"},{linkText:"Contact Sales",linkUrl:"https://hasura.io/contact-us/"}]}]},Wfe.defaultProps={title:"Build any supergraph topology",description:"Build a supergraph using Hasura, use Hasura to implement a GraphQL gateway pattern or use Hasura to federate existing resources into another supergraph. Hasura allows you to shape any supergraph topology that works for you. \n\nCheck out some of the Federation architecture patterns implemented by our users.",navTabs:[{current:"[Circular]",href:"",name:"Performance"},{current:"[Circular]",href:"",name:"Company"},{current:"[Circular]",href:"",name:"Authorization"},{current:"[Circular]",href:"",name:"Observability"},{current:"[Circular]",href:"",name:"API Security"}],tabContent:{"API Security":{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",subTitle:"Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.",title:"5Get blazing-fast APIs without the extra work",video_poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4"},Authorization:{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",subTitle:"Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.",title:"3Get blazing-fast APIs without the extra work",video_poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4"},Company:{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",subTitle:"Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.",title:"2Get blazing-fast APIs without the extra work",video_poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4"},Observability:{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",subTitle:"Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.",title:"4Get blazing-fast APIs without the extra work",video_poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4"},Performance:{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",readMore_cta:"Read More About Performance",subTitle:"Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.",title:"1Get blazing-fast APIs without the extra work",video_poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4"}}},Gfe.defaultProps={title:"100+ Data Sources",description:"description1",CTA:{text:"Button Label"},video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1654760488/samples/sea-turtle.mp4"};export{Qfe as AboutSectionCard,e8 as AlgoliaSearch,Mie as AnnouncementMd,jie as AnnouncementSM,h8 as AvatarGroup,x8 as Badges,M8 as Banner,die as BrandCard,S8 as BreadCrumbs,J5 as Card,fz as Card3dHover,kfe as Carousel,Nfe as CarouselB,Sfe as CarouselCard,nfe as Checkbox,Oie as CommunityCard,rfe as ConnectorCard,j8 as Count,Afe as CustomCarousel,lfe as CustomHeader,Tfe as CustomerStories,Gfe as DataSourcesCard,$pe as DefaultIF,zpe as ErrorIF,Kfe as EventListingCard,Upe as EventScheduleCard,Hfe as EventStories,Yfe as EventsAgenda,P8 as EyeBrowText,Xfe as FAQSection,gie as FeedbackCard,kte as FlyoutA,Ste as FlyoutB,Nte as FlyoutC,Bte as FlyoutD,V8 as HDSButton,R8 as HDSButtonVariants,A as HDSColor,n8 as HDSPaperForm,o8 as HDSSearch,b8 as HasConAvatar,gfe as Hero1,wfe as HeroCapability,xfe as HeroEvents,yfe as HeroIntegration,Ofe as HeroLinkCard,bfe as HeroSecondary,Rfe as HomepageCarouselPrimary,mz as Icon,u8 as IconAvatar,uie as IconCard,fie as IconCardButton,Wpe as IconLeadingIF,Gpe as IconTrailIF,l8 as ImageAvatar,mie as ImageBadgeCard,hie as ImageCard,p8 as InitialsAvatar,tfe as InviteCard,efe as InviteIF,Qpe as LeadingDropIF,Ype as LeadingTextIF,bie as LinkCard,C8 as LiveStatus,a8 as MarketoForm,pz as MediaBox,zfe as NavCard,Wfe as NavTabCard,Mfe as PricingTableB,g8 as ProfileAvatar,wie as ResourcesCard,Dpe as StoryCardSM,qpe as StoryCardXL,ffe as Tab,Efe as TableA,Cfe as TableB,Pfe as TableC,cfe as Tabone,hfe as Tabthree,pfe as Tabtwo,i8 as TagFilter,lie as TalkCard,sie as TalkCard2,yie as TalkDetailCard,kie as Testimonial,Kpe as TextAreaIF,Ufe as TextCard,$fe as TextIconCard,vfe as Tooltip,Xpe as TrailingButtonIF,Jpe as TrailingDropdownIF,he as Translations,ce as Typography,ue as TypographyClasses,vie as V3Dropdown,qfe as V3Footer,ife as V3Header,dfe as V3Tab,Sie as VideoCard};
29
+ */"production"===process.env.NODE_ENV?Noe.exports=function(){if(Soe)return Boe;Soe=1;var e,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen");function d(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case n:case o:case a:case u:case h:return e;default:switch(e=e&&e.$$typeof){case s:case l:case c:case p:case m:case i:return e;default:return f}}case r:return f}}}return e=Symbol.for("react.module.reference"),Boe.ContextConsumer=l,Boe.ContextProvider=i,Boe.Element=t,Boe.ForwardRef=c,Boe.Fragment=n,Boe.Lazy=p,Boe.Memo=m,Boe.Portal=r,Boe.Profiler=o,Boe.StrictMode=a,Boe.Suspense=u,Boe.SuspenseList=h,Boe.isAsyncMode=function(){return!1},Boe.isConcurrentMode=function(){return!1},Boe.isContextConsumer=function(e){return d(e)===l},Boe.isContextProvider=function(e){return d(e)===i},Boe.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Boe.isForwardRef=function(e){return d(e)===c},Boe.isFragment=function(e){return d(e)===n},Boe.isLazy=function(e){return d(e)===p},Boe.isMemo=function(e){return d(e)===m},Boe.isPortal=function(e){return d(e)===r},Boe.isProfiler=function(e){return d(e)===o},Boe.isStrictMode=function(e){return d(e)===a},Boe.isSuspense=function(e){return d(e)===u},Boe.isSuspenseList=function(e){return d(e)===h},Boe.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===o||t===a||t===u||t===h||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===m||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},Boe.typeOf=d,Boe}():Noe.exports=(Voe||(Voe=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen");function d(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var d=e.type;switch(d){case n:case o:case a:case u:case h:return d;default:var v=d&&d.$$typeof;switch(v){case s:case l:case c:case p:case m:case i:return v;default:return f}}case r:return f}}}e=Symbol.for("react.module.reference");var v=l,g=i,b=t,w=c,y=n,x=p,O=m,E=r,j=o,C=a,P=u,M=h,k=!1,S=!1;Roe.ContextConsumer=v,Roe.ContextProvider=g,Roe.Element=b,Roe.ForwardRef=w,Roe.Fragment=y,Roe.Lazy=x,Roe.Memo=O,Roe.Portal=E,Roe.Profiler=j,Roe.StrictMode=C,Roe.Suspense=P,Roe.SuspenseList=M,Roe.isAsyncMode=function(e){return k||(k=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},Roe.isConcurrentMode=function(e){return S||(S=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},Roe.isContextConsumer=function(e){return d(e)===l},Roe.isContextProvider=function(e){return d(e)===i},Roe.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Roe.isForwardRef=function(e){return d(e)===c},Roe.isFragment=function(e){return d(e)===n},Roe.isLazy=function(e){return d(e)===p},Roe.isMemo=function(e){return d(e)===m},Roe.isPortal=function(e){return d(e)===r},Roe.isProfiler=function(e){return d(e)===o},Roe.isStrictMode=function(e){return d(e)===a},Roe.isSuspense=function(e){return d(e)===u},Roe.isSuspenseList=function(e){return d(e)===h},Roe.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===o||t===a||t===u||t===h||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===m||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},Roe.typeOf=d}()),Roe);var Aoe=T(Noe.exports);function Toe(e){const t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}var Hoe={exports:{}},Loe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ioe=/\n/g,Foe=/^\s*/,_oe=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Zoe=/^:\s*/,Doe=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,qoe=/^[;\s]*/,Uoe=/^\s+|\s+$/g,$oe="";function zoe(e){return e?e.replace(Uoe,$oe):$oe}var Woe=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function a(e){var t=e.match(Ioe);t&&(r+=t.length);var a=e.lastIndexOf("\n");n=~a?e.length-a:n+e.length}function o(){var e={line:r,column:n};return function(t){return t.position=new i(e),c(),t}}function i(e){this.start=e,this.end={line:r,column:n},this.source=t.source}function l(a){var o=new Error(t.source+":"+r+":"+n+": "+a);if(o.reason=a,o.filename=t.source,o.line=r,o.column=n,o.source=e,!t.silent)throw o}function s(t){var r=t.exec(e);if(r){var n=r[0];return a(n),e=e.slice(n.length),r}}function c(){s(Foe)}function u(e){var t;for(e=e||[];t=h();)!1!==t&&e.push(t);return e}function h(){var t=o();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;$oe!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,$oe===e.charAt(r-1))return l("End of comment missing");var i=e.slice(2,r-2);return n+=2,a(i),e=e.slice(r),n+=2,t({type:"comment",comment:i})}}function m(){var e=o(),t=s(_oe);if(t){if(h(),!s(Zoe))return l("property missing ':'");var r=s(Doe),n=e({type:"declaration",property:zoe(t[0].replace(Loe,$oe)),value:r?zoe(r[0].replace(Loe,$oe)):$oe});return s(qoe),n}}return i.prototype.content=e,c(),function(){var e,t=[];for(u(t);e=m();)!1!==e&&(t.push(e),u(t));return t}()};function Goe(e,t){var r,n=null;if(!e||"string"!=typeof e)return n;for(var a,o,i=Woe(e),l="function"==typeof t,s=0,c=i.length;s<c;s++)a=(r=i[s]).property,o=r.value,l?t(a,o,r):o&&(n||(n={}),n[a]=o);return n}Hoe.exports=Goe,Hoe.exports.default=Goe;var Qoe=T(Hoe.exports);const Yoe={}.hasOwnProperty,Koe=new Set(["table","thead","tbody","tfoot","tr"]);function Xoe(e,t){const r=[];let n,a=-1;for(;++a<t.children.length;)n=t.children[a],"element"===n.type?r.push(Joe(e,n,a,t)):"text"===n.type?"element"===t.type&&Koe.has(t.tagName)&&Toe(n)||r.push(n.value):"raw"!==n.type||e.options.skipHtml||r.push(n.value);return r}function Joe(e,r,n,a){const o=e.options,i=void 0===o.transformLinkUri?Rte:o.transformLinkUri,l=e.schema,s=r.tagName,c={};let u,h=l;if("html"===l.space&&"svg"===s&&(h=xoe,e.schema=h),r.properties)for(u in r.properties)Yoe.call(r.properties,u)&&tie(c,u,r.properties[u],e);"ol"!==s&&"ul"!==s||e.listDepth++;const m=Xoe(e,r);"ol"!==s&&"ul"!==s||e.listDepth--,e.schema=l;const p=r.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},f=o.components&&Yoe.call(o.components,s)?o.components[s]:s,d="string"==typeof f||f===t.Fragment;if(!Aoe.isValidElementType(f))throw new TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(c.key=n,"a"===s&&o.linkTarget&&(c.target="function"==typeof o.linkTarget?o.linkTarget(String(c.href||""),r.children,"string"==typeof c.title?c.title:null):o.linkTarget),"a"===s&&i&&(c.href=i(String(c.href||""),r.children,"string"==typeof c.title?c.title:null)),d||"code"!==s||"element"!==a.type||"pre"===a.tagName||(c.inline=!0),d||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(c.level=Number.parseInt(s.charAt(1),10)),"img"===s&&o.transformImageUri&&(c.src=o.transformImageUri(String(c.src||""),String(c.alt||""),"string"==typeof c.title?c.title:null)),!d&&"li"===s&&"element"===a.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const r=e.children[t];if("element"===r.type&&"input"===r.tagName)return r}return null}(r);c.checked=e&&e.properties?Boolean(e.properties.checked):null,c.index=eie(a,r),c.ordered="ol"===a.tagName}var v;return d||"ol"!==s&&"ul"!==s||(c.ordered="ol"===s,c.depth=e.listDepth),"td"!==s&&"th"!==s||(c.align&&(c.style||(c.style={}),c.style.textAlign=c.align,delete c.align),d||(c.isHeader="th"===s)),d||"tr"!==s||"element"!==a.type||(c.isHeader=Boolean("thead"===a.tagName)),o.sourcePos&&(c["data-sourcepos"]=[(v=p).start.line,":",v.start.column,"-",v.end.line,":",v.end.column].map(String).join("")),!d&&o.rawSourcePos&&(c.sourcePosition=r.position),!d&&o.includeElementIndex&&(c.index=eie(a,r),c.siblingCount=eie(a)),d||(c.node=r),m.length>0?t.createElement(f,c,m):t.createElement(f,c)}function eie(e,t){let r=-1,n=0;for(;++r<e.children.length&&e.children[r]!==t;)"element"===e.children[r].type&&n++;return n}function tie(e,t,r,n){const a=function(e,t){const r=qae(t);let n=t,a=Uae;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&"data"===r.slice(0,4)&&foe.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(doe,boe);n="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!doe.test(e)){let r=e.replace(voe,goe);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}a=roe}return new a(n,t)}(n.schema,t);let o=r;null!=o&&o==o&&(Array.isArray(o)&&(o=a.commaSeparated?function(e,t){const r=t||{};return(""===e[e.length-1]?[...e,""]:e).join((r.padRight?" ":"")+","+(!1===r.padLeft?"":" ")).trim()}(o):o.join(" ").trim()),"style"===a.property&&"string"==typeof o&&(o=function(e){const t={};try{Qoe(e,r)}catch{}return t;function r(e,r){const n="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[n.replace(/-([a-z])/g,rie)]=r}}(o)),a.space&&a.property?e[Yoe.call(woe,a.property)?woe[a.property]:a.property]=o:a.attribute&&(e[a.attribute]=o))}function rie(e,t){return t.toUpperCase()}const nie={}.hasOwnProperty,aie="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",oie={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function iie(e){for(const t in oie)if(nie.call(oie,t)&&nie.call(e,t)){const e=oie[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <${aie}#${e.id}> for more info)`),delete oie[t]}const r=ore().use(uae).use(e.remarkPlugins||[]).use(_ae,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(koe,e),n=new Dte;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const a=r.runSync(r.parse(n),n);if("root"!==a.type)throw new TypeError("Expected a `root` node");let o=t.createElement(t.Fragment,{},Xoe({options:e,schema:yoe,listDepth:0},a));return e.className&&(o=t.createElement("div",{className:e.className},o)),o}function lie(e){let r="";return r=void 0===e.speakerSet?"flex":"flex tb-l:flex-row flex-col",t.createElement("div",{className:"grid w-full"},t.createElement("div",{className:`${r} w-full max-w-[882px]`},t.createElement("div",{className:"px-8 py-6"+(e.speakerSet?" border-b tb-l:w-[62%] border-b-neutral-150 tb:border-0 tb:border-r tb:border-r-neutral-150":"")},t.createElement(x8,{size:e.badges.size,color:e.badges.color,leftIconVariant:e.badges.leftIconVariant,leftIconColor:e.badges.leftIconColor,children:e.badges.label}),t.createElement(ce,{className:"my-2 text-blue-800",textStyle:"h5"},e.title),e.para&&t.createElement(ce,{className:"line-clamp-3 text-neutral-700",textStyle:"body1c"},e.para)),e.speakerSet&&t.createElement("div",{className:"flex flex-col tb-l:w-[38%] pt-0 tb:pt-[2.875rem] justify-between"},e.speakerSet&&t.createElement("div",{className:"pl-6 flex gap-6 mt-9 tb:mt-0 mb-9 flex-col "},e.speakerSet.map(((e,r)=>t.createElement("div",{key:r,className:""},t.createElement(g8,{name:e.name,size:"md",designation:e.designation,imageUrl:e.imageUrl}))))),t.createElement("div",{className:" w-full border-t border-t-neutral-150 p-6 flex flex-row justify-between items-center"},t.createElement(ce,{textStyle:"h6",className:"text-blue-800"},e.eventTime),t.createElement(V8,{leftIconVariant:"calendarplus02",leftIconColor:"#1E56E3",rightIconVariant:"none",state:"default",size:"sm",type:"iconOnly",label:""})))))}function sie(e){let r="";return r=e.speakerSet?"tb-l:justify-between":"tb-l:justify-center",t.createElement("a",{href:e.readUrl??"#",className:"grid group"},t.createElement("div",{className:"flex flex-col tb-l:flex-row tb-l:justify-between "},t.createElement("div",{className:"px-6 pt-6 tb-l:px-8 tb-l:pb-6 tb-l:border-r tb-l:border-r-neutral-200"},t.createElement("div",{className:"flex flex-row flex-wrap tb:gap-3 gap-2"},e.badges&&e.badges.map(((e,r)=>t.createElement("div",{key:r,className:"flex whitespace-nowrap"},t.createElement(x8,{size:e.size,color:e.color,leftIconVariant:e.leftIconVariant,leftIconColor:e.leftIconColor,leftIconColorClass:A(e.leftIconColorClass),children:e.label}))))),t.createElement("div",{className:"tb-l:w-[380px] db:w-[520px] flex flex-col tb:justify-between"},t.createElement("div",null,t.createElement(ce,{className:"mt-2 text-blue-800",textStyle:"h5"},e.title),e.para&&t.createElement(ce,{className:"line-clamp-3 mt-2 text-neutral-700",textStyle:"body1c"},e.para)),t.createElement("div",{className:"flex pb-6 tb-l:pb-0"},e.readUrl&&e.para&&t.createElement("div",null,t.createElement(V8,{label:e.videoUrl?"Watch Recording":"Read more",type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",className:"mt-2",btnTextColorClass:"text-blue-500",animatedHoverStroke:"stroke-blue-500",btnTextHoverClass:"hover:text-blue-500"}))))),t.createElement("div",{className:`${r} tb-l:divide-y-2 divide-neutral-200 flex tb-l:w-full flex-col pt-0`},e.speakerSet&&t.createElement("div",{className:"px-6 py-6 border-t border-neutral-200 flex flex-col gap-6 tb:mt-0 tb-l:border-0 tb-l:h-full tb-l:justify-center "},e.speakerSet.map(((r,n)=>t.createElement("div",{key:n,className:"block"},t.createElement(g8,{name:r.name,size:"md",designation:r.designation,imageUrl:r.imageUrl,avatarBgColor:e.avatarBgColor}))))),e.eventTime&&t.createElement("div",{className:"border-t border-neutral-200 tb-l:border-0 w-full pl-6 p-6 flex flex-row justify-between items-center"},t.createElement(ce,{textStyle:"h6",className:"text-blue-800 uppercase"},e.eventTime),e.addCalendarUrl&&t.createElement("a",{href:e.addCalendarUrl},t.createElement(V8,{leftIconVariant:"calendarplus02",leftIconColor:"#1E56E3",rightIconVariant:"none",state:"default",size:"sm",type:"iconOnly",label:""}))))))}iie.propTypes={children:se.string,className:se.string,allowElement:se.func,allowedElements:se.arrayOf(se.string),disallowedElements:se.arrayOf(se.string),unwrapDisallowed:se.bool,remarkPlugins:se.arrayOf(se.oneOfType([se.object,se.func,se.arrayOf(se.oneOfType([se.bool,se.string,se.object,se.func,se.arrayOf(se.any)]))])),rehypePlugins:se.arrayOf(se.oneOfType([se.object,se.func,se.arrayOf(se.oneOfType([se.bool,se.string,se.object,se.func,se.arrayOf(se.any)]))])),sourcePos:se.bool,rawSourcePos:se.bool,skipHtml:se.bool,includeElementIndex:se.bool,transformLinkUri:se.oneOfType([se.func,se.bool]),linkTarget:se.oneOfType([se.func,se.string]),transformImageUri:se.func,components:se.object};const cie={withButton:{cardStyle:"p-10 ",iconWidthStyle:"h-20 w-20",iconStyle:"h-10 w-10",titleTextStyle:"h4",titleClasses:"mb-1 text-blue-800 text-hds-m-h4 tb:text-hds-t-h4 db:text-hds-d-h4",descTextStyle:"body1c",descClasses:"text-neutral-1000 text-hds-m-body1c tb:text-hds-t-body1c db:text-hds-d-body1c"},withoutButton:{cardStyle:"p-6",iconWidthStyle:"h-12 w-12",iconStyle:"h-6 w-6",titleTextStyle:"h5",titleClasses:"mb-1 text-blue-600 text-hds-m-h5 tb:text-hds-t-h5 db:text-hds-d-h5",descTextStyle:"body1",descClasses:"text-neutral-1000 text-hds-m-body1 tb:text-hds-t-body1 db:text-hds-d-body1"},sm:{cardStyle:"p-6",iconWidthStyle:"h-12 w-12",iconStyle:"h-6 w-6",titleTextStyle:"body1c-semi-bold",titleClasses:"mb-1 text-neutral-800 text-hds-m-body1c-semi-bold tb:text-hds-t-body1c-semi-bold db:text-hds-d-body1c-semi-bold",descTextStyle:"body3",descClasses:"text-neutral-800 text-hds-m-body3 tb:text-hds-t-body3 db:text-hds-d-body3"}};function uie(e){const r=A(e.iconBg);return t.createElement(t.Fragment,null,e.readMoreBtn&&e.button||!e.readMoreBtn&&!e.button||e.button&&e.button.length>1||!e.linkHover?t.createElement("div",{className:`bg-neutral-0 grid h-full transition-all ease-in-out rounded-3xl ${cie[e.cardType].cardStyle} `+(e.cardBorder?e.cardBorder:"tb:shadow")},t.createElement("div",{className:" self-start"},t.createElement("div",{className:`${r} ${cie[e.cardType].iconWidthStyle} w-12 h-12 flex items-center justify-center rounded-full mb-6`},t.createElement(mz,{height:`stroke-[1.5px] ${cie[e.cardType].iconStyle}`,variant:e.iconVariant,strokeColor:e.iconStroke,strokeClass:A(e.iconStrokeClass)})),t.createElement("div",{className:"flex-1"},e.cardType&&t.createElement(t.Fragment,null,t.createElement(ce,{textStyle:cie[e.cardType].titleTextStyle,className:cie[e.cardType].titleClasses},e.title),t.createElement(ce,{textStyle:cie[e.cardType].descTextStyle,className:`${cie[e.cardType].descClasses} [&>p]:pb-2 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600`},t.createElement(iie,null,e.description))))),e.readMoreBtn&&t.createElement(t.Fragment,null,e.linkHover?t.createElement("a",{href:e.readMoreBtn.cta_link,className:"flex self-end"},t.createElement("div",{className:"flex"},t.createElement(V8,{label:e.readMoreBtn.cta_text,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"",className:" mt-4"}))):t.createElement("div",{className:"flex self-end"},t.createElement(V8,{label:e.readMoreBtn.cta_text,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!1,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-neutral-800",btnTextHoverClass:"",className:" mt-4 hover:cursor-default"}))),e.button&&t.createElement("div",{className:"flex gap-2 "},e.button.map(((e,r)=>t.createElement("a",{href:e.cta_link,key:r,className:"flex self-end mt-7"},t.createElement("div",{className:"flex"},t.createElement(V8,{label:e.cta_text,type:e.cta_type||"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:e.rightAnimatedArrowColor||"#3970FD",btnBgColorClass:e.btnBg,btnTextHoverClass:e.btnTextColorClass,animatedHoverStroke:e.animatedHoverStroke,btnTextColorClass:e.btnTextColorClass}))))))):t.createElement("a",{href:e.readMoreBtn&&!e.button?e.readMoreBtn.cta_link:e.button[0].cta_link,className:`bg-neutral-0 group grid h-full duration-300 transition-all ease-in-out rounded-3xl ${cie[e.cardType].cardStyle} `+(e.cardBorder?e.cardBorder:"tb:shadow")+(e.readMoreBtn||e.button||e.linkHover?" hover:shadow-lg hover:translate-y-0.5 ":"")},t.createElement("div",{className:" self-start"},t.createElement("div",{className:`${r} ${cie[e.cardType].iconWidthStyle} w-12 h-12 flex items-center justify-center rounded-full mb-6`},t.createElement(mz,{height:`stroke-[1.5px] ${cie[e.cardType].iconStyle}`,variant:e.iconVariant,strokeColor:e.iconStroke,strokeClass:A(e.iconStrokeClass)})),t.createElement("div",{className:"flex-1"},e.cardType&&t.createElement(t.Fragment,null,t.createElement(ce,{textStyle:cie[e.cardType].titleTextStyle,className:cie[e.cardType].titleClasses},e.title),t.createElement(ce,{textStyle:cie[e.cardType].descTextStyle,className:`${cie[e.cardType].descClasses} [&>p]:pb-2 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600`},t.createElement(iie,null,e.description))))),e.readMoreBtn&&t.createElement("div",{className:"flex self-end"},t.createElement(V8,{label:e.readMoreBtn.cta_text,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"",className:" mt-4"})),e.button&&t.createElement("div",{className:"flex pt-4 gap-2 self-end"},e.button.map(((e,r)=>t.createElement("div",{className:"flex"},t.createElement(V8,{label:e.cta_text,type:e.cta_type||"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:e.rightAnimatedArrowColor||"#3970FD",btnBgColorClass:e.btnBg,btnTextHoverClass:e.btnTextColorClass,animatedHoverStroke:e.animatedHoverStroke,btnTextColorClass:e.btnTextColorClass})))))))}function hie(e){return t.createElement("a",{href:e.linkUrl,className:" bg-neutral-0 rounded-3xl mb-s:flex items-center shadow-sm"},t.createElement("div",{className:"h-full w-full mb-s:max-w-[142px]"},t.createElement("img",{className:" w-full rounded-t-3xl mb-s:rounded-tr-none mb-s:rounded-s-3xl h-full",src:e.imgUrl,alt:e.imgAlt})),t.createElement("div",{className:"p-4 mb-m:p-6"},t.createElement(ce,{textStyle:"h5",as:"h5",className:"text-neutral-1000 pb-2"},e.title),t.createElement(ce,{textStyle:"body3",className:" text-neutral-600"},e.description)))}function mie(e){return t.createElement(t.Fragment,null,t.createElement("div",null,t.createElement("a",{href:e.sliderLink},t.createElement("div",{className:`${A(e.cardBg)}bg-neutral-0 shadow hover:transition-all hover:ease-in-out hover:duration-300 hover:border-opacity-0 min-h-[443px] min-w-[312px] tb:max-w-[763px] tb:min-h-[245px] rounded-3xl tb:p-8 p-4`},t.createElement("div",{className:"flex flex-col-reverse tb:flex-row justify-between gap-4 items-center"},t.createElement("div",{className:"tb:max-w-[393px] mt-8 tb:mt-0"},t.createElement(x8,{color:e.badge.color,children:e.badge.label,text_color:"text-neutral-0"}),t.createElement(ce,{textStyle:"h4",className:"mt-2 text-neutral-1000 max-w-[326px]"},e.title),t.createElement(ce,{textStyle:"sub2",className:"mt-2 text-neutral-600"},e.subTitle)),t.createElement("div",{className:"flex justify-center h-full items-center"},t.createElement("img",{src:e.imageUrl,alt:e.title,className:"tb:max-w-[290px] rounded-lg flex items-center justify-center tb:max-h-[181px]"})))))))}uie.defaultProps={cardType:"withoutButton",iconStrokeClass:"stroke-neutral-1000",linkHover:"true"},mz.propTypes={cardType:se.oneOf(["withoutButton","withButton","sm"])};const pie={withButton:{cardStyle:"p-10 ",iconWidthStyle:"h-20 w-20",iconStyle:"h-10 w-10",titleTextStyle:"h4",titleClasses:"mb-1 text-hds-m-h4 tb:text-hds-t-h4 db:text-hds-d-h4",descTextStyle:"body1c",descClasses:"text-hds-m-body1c tb:text-hds-t-body1c db:text-hds-d-body1c"},withoutButton:{cardStyle:"p-6",iconWidthStyle:"h-12 w-12",iconStyle:"h-6 w-6",titleTextStyle:"h5",titleClasses:"mb-1 text-blue-600 text-hds-m-h5 tb:text-hds-t-h5 db:text-hds-d-h5",descTextStyle:"body1",descClasses:"text-neutral-1000 text-hds-m-body1 tb:text-hds-t-body1 db:text-hds-d-body1"},sm:{cardStyle:"p-6",iconWidthStyle:"h-12 w-12",iconStyle:"h-6 w-6",titleTextStyle:"body3c",titleClasses:"mb-1 text-neutral-800 text-hds-m-body3c-bold tb:text-hds-t-body3c-bold db:text-hds-d-body3c-bold",descTextStyle:"body3",descClasses:"text-neutral-800 text-hds-m-body3 tb:text-hds-t-body3 db:text-hds-d-body3"}};function fie(e){const r=e.iconBg?A(e.iconBg):"",n=e.titleColorClass?A(e.titleColorClass):"text-neutral-1000",a=e.descColorClass?A(e.descColorClass):"text-neutral-800";return t.createElement(t.Fragment,null,t.createElement("div",null,e.imgUrl?t.createElement("div",{className:`${pie[e.cardType].iconWidthStyle} w-12 h-12 inline-flex items-center justify-center rounded-full mb-6`},t.createElement("img",{className:"w-full",src:e.imgUrl,alt:e.title})):t.createElement("div",{className:`${r} ${pie[e.cardType].iconWidthStyle} w-12 h-12 flex items-center justify-center rounded-full mb-6`},t.createElement(mz,{height:`stroke-[1.5px] ${pie[e.cardType].iconStyle}`,variant:e.iconVariant,strokeColor:e.iconStroke,strokeClass:A(e.iconStrokeClass)})),e.cardType&&t.createElement(t.Fragment,null,t.createElement(ce,{textStyle:pie[e.cardType].titleTextStyle,className:`${pie[e.cardType].titleClasses} ${n}`},e.title),t.createElement(ce,{textStyle:pie[e.cardType].descTextStyle,className:`${pie[e.cardType].descClasses} ${a} [&>p]:${a} [&>p]:pb-2 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600`},t.createElement(iie,null,e.description)))),e.button&&t.createElement("div",{className:"inline-flex pt-6"},t.createElement(V8,{label:e.button.cta_text,type:e.button.cta_type||"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:e.button.rightAnimatedArrowColor||"#3970FD",btnBgColorClass:e.button.btnBg,btnTextHoverClass:e.button.btnTextColorClass,animatedHoverStroke:e.button.animatedHoverStroke,btnTextColorClass:e.button.btnTextColorClass})))}function die(e){return t.createElement(t.Fragment,null,t.createElement(t.Fragment,null,t.createElement("div",{className:"pt-10 db:pt-20"},t.createElement(ce,{textStyle:"h6",as:"h6",className:"pb-6 db:pb-10 text-center text-neutral-400 uppercase"},"40+ of the fortune100 companies use hasura"),t.createElement("div",{className:"gridAutoClass"},e.imgArray.map(((e,r)=>t.createElement("div",{key:r,className:"border"},t.createElement("img",{src:e.imgSrc,alt:e.imgAlt}))))))))}function vie(e){return t.createElement("div",null,t.createElement("div",{className:"tb-l:flex mb-2 tb-l:mb-0 flex w-full tb-l:bg-neutral-150 flex-col tb-l:flex-row max-w-7xl tb-l:gap-2 rounded-2xl "},e.primaryCard&&t.createElement("div",{className:""},t.createElement("div",{className:" bg-neutral-0 rounded-2xl h-full w-full min-w-[250px]"},t.createElement(Ste,e.primaryCard))),t.createElement("div",{className:"tb-l:flex-row tb-l:flex mt-2 flex flex-col gap-2 tb-l:mt-0"},e.secondaryCardArr&&e.secondaryCardArr.map(((e,r)=>t.createElement("div",{key:r,className:(e.card_bg,"bg-neutral-0 rounded-2xl")},t.createElement(kte,{label:e.label,childArray:e.childArray,split:e.split}))))),e.flyoutD&&t.createElement(t.Fragment,null,t.createElement("div",{className:" bg-neutral-0 shadow rounded-2xl w-full tb-l:w-[170px] tb-xl:w-[223px] px-6 py-6 mt-2 tb-l:mt-0"},t.createElement("div",null,t.createElement(Bte,e.flyoutD))))))}function gie(e){let r="";return e.logoBg&&(r=A(e.logoBg)),t.createElement("a",{href:e.caseStudyUrl,className:"group bg-neutral-0 rounded-3xl shadow p-6 tb-l:p-10 grid mb-6 db-s:mb-0 last:mb-0 flex-1 max-w-[920px] mx-auto flex-col transition-all duration-300 ease-in-out hover:shadow-lg hover:translate-y-0.5"},t.createElement("div",{className:" self-start"},t.createElement(g8,{name:e.speakerName,size:"xl",designation:e.speakerDesignation,imageUrl:e.speakerImgUrl,avatarVariant:"circle",avatarType:"secondary"}),t.createElement("div",{className:e.dividerClass?"py-8":"py-6"},t.createElement(ce,{textStyle:"sub2",className:"text-neutral-600"},e.description))),t.createElement("div",{className:" self-end"},e.dividerClass&&t.createElement("div",{className:`${A(e.dividerClass)} mb-2`}),t.createElement("div",{className:"mb-s:flex items-start"+(e.dividerClass?" pt-6":"mt-0")},t.createElement("div",{className:"border border-neutral-150 p-2 flex items-center justify-center rounded-2xl "+r+(e.dividerClass?" w-[72px] h-[56px] min-w-[72px]":" w-[112px] h-[90px] min-w-[112px] ")},t.createElement("img",{className:"max-h-[20px]",src:e.brandImgUrl,alt:e.brandImgAlt})),t.createElement("div",{className:"pt-4 mb-s:pt-0 "+(e.dividerClass?"mb-s:pl-6":"mb-s:pl-8")},t.createElement(ce,{textStyle:e.dividerClass?"body2":"body1",className:"text-neutral-600 pb-1"},e.blurb),t.createElement("div",{className:"flex"},t.createElement(V8,{label:e.ctaText,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",className:"mt-0 justify-start",btnTextColorClass:"text-blue-500",btnTextHoverClass:"hover:text-blue-500",animatedHoverStroke:"group-hover:stroke-blue-500"}))))))}function bie(e){return t.createElement(t.Fragment,null,t.createElement("a",{href:e.linkUrl,className:"rounded-2xl p-6 h-full flex flex-col justify-between"},e.brandImageUrl?t.createElement("div",{className:"flex flex-col"},e.iconArrowVariant&&t.createElement("div",{className:"flex justify-end items-end"},t.createElement(mz,{height:"w-6 h-6 stroke-[1.5px] stroke-blue-400",variant:e.iconArrowVariant,strokeColor:e.iconArrowStrokeColor,strokeClass:A(e.iconArrowStrokeClass)})),t.createElement("img",{src:e.brandImageUrl,alt:e.brandImageAlt})):t.createElement(t.Fragment,null,t.createElement("div",{className:"flex items-center"},t.createElement("div",{className:"flex items-center flex-1 pb-2"},e.iconVariant&&t.createElement(mz,{height:"w-6 h-6 mr-2 stroke-[1.5px] ",variant:e.iconVariant,strokeColor:e.iconStrokeColor,strokeClass:A(e.iconStrokeClass)}),t.createElement(ce,{as:"h5",textStyle:"body1c-bold",className:A(e.titleTextColor)},e.title)),e.iconArrowVariant&&t.createElement(mz,{height:"w-6 h-6 stroke-[1.5px] stroke-blue-400",variant:e.iconArrowVariant,strokeColor:e.iconArrowStrokeColor,strokeClass:A(e.iconArrowStrokeClass)})),e.description&&t.createElement("div",null,t.createElement(ce,{textStyle:"body3",className:`${A(e.descTextColor)} mt-2`},e.description)))))}function wie(e){return A(e.iconBg),t.createElement(t.Fragment,null,t.createElement("div",{className:`p-8 ${e.cardBg} min-w-[18rem] rounded-3xl`},e.title&&t.createElement(ce,{textStyle:"h6",className:`uppercase ${e.title_text_color}`},e.title),t.createElement("div",{className:"mt-6"},e.resourcesArr.map(((e,r)=>t.createElement("a",{key:r,href:e.cta_linkUrl,className:"flex gap-2 mt-4"},t.createElement(mz,{height:"w-6 h-6 mr-2 stroke-[1.5px] stroke-blue-600",variant:e.cta_icon,strokeClass:e.cta_stroke}),t.createElement(ce,{textStyle:"body2c",className:e.cta_text_color},e.cta_text)))))))}function yie(e){const n="undefined"!=typeof window;A(e.badgeLeftIconColor);const[o,i]=r(!1);return a((()=>{if(n&&"localStorage"in window&&window.localStorage&&"getItem"in window.localStorage){window.localStorage.getItem("hasCon2023TalkVideoConsent")&&i(!0)}}),[]),t.createElement("div",{className:"grid grid-cols-1 tb-m:grid-cols-2 gap-6 db:gap-28 tb-m:gap-16"},t.createElement("div",{className:"tb-m:sticky tb-m:self-start tb-m:top-36"},t.createElement("div",{className:"flex flex-row flex-wrap tb:gap-3 gap-2"},e.badges&&e.badges.map(((e,r)=>t.createElement("div",{key:r,className:"flex whitespace-nowrap"},t.createElement(x8,{size:e.size,color:e.color,leftIconVariant:e.leftIconVariant,leftIconColor:e.leftIconColor,leftIconColorClass:A(e.leftIconColorClass),children:e.label}))))),e.tag_line&&t.createElement(ce,{textStyle:"h6",className:"text-blue-600 uppercase pt-4 pb-2"},e.tag_line),e.title&&t.createElement(ce,{textStyle:"h3",as:"h3",className:"text-blue-900 pb-6 db:pb-0"},e.title),e.social_share&&t.createElement("div",{className:"flex pb-6 tb:pt-0 tb:pb-0 items-center "},e.social_share.map(((e,r)=>t.createElement("a",{key:r,href:e.share_url,className:"mx-2 first:ml-0 last:mr-0"},t.createElement("img",{src:e.img_url,alt:e.img_alt}))))),e.speaker_card&&t.createElement("div",{className:"border-t border-neutral-200 border-b pb-6 tb:border-0 tb:pb-0"},t.createElement(ce,{textStyle:"h6",as:"h6",className:"uppercase text-neutral-500 pb-6 pt-6 tb:pt-14"},"speakers"),e.speaker_card.map(((r,n)=>t.createElement("div",{key:n,className:"pb-4 last:pb-0"},t.createElement(g8,{name:r.name,size:"md",designation:r.designation,imageUrl:r.imageUrl,avatarVariant:"circle",avatarBgColor:e.avatarBgColor})))))),t.createElement("div",null,e.videoUrl&&t.createElement("div",{className:"pb-6"},o?t.createElement(t.Fragment,null,t.createElement("div",{className:"relative pb-[56.2%]"},t.createElement("iframe",{loading:"lazy",title:e.title,src:e.videoUrl,frameBorder:"0",allowFullScreen:!0,className:"absolute w-full h-full"}))):t.createElement("div",{className:"p-5 md:pt-10 md:px-6 lg:px-9 rounded-3xl border border-neutral-200"},t.createElement(ce,{textStyle:"h6",as:"h6",className:"text-neutral-800 uppercase flex items-center"},t.createElement(mz,{height:"w-6 h-6 mr-3 stroke-neutral-800 stroke-[1.5px]",variant:"ticket01",strokeColor:"#1F2A37"}),e.formTitle),t.createElement(n8,{onSubmitCB:()=>{n&&window.localStorage.setItem("hasCon2023TalkVideoConsent","true")},formId:e.paperformId,styleClass:"paper-form-wrapper"}))),t.createElement(ce,{textStyle:"h4",as:"h4",className:"text-neutral-800 pb-4"},"About the Talk"),e.description&&t.createElement(ce,{className:"text-neutral-800 [&>p]:pb-2 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0",textStyle:"body1"},t.createElement(iie,null,e.description))))}fie.defaultProps={cardType:"withoutButton",iconStrokeClass:"stroke-neutral-1000",iconVariant:"cube01"},fie.propTypes={cardType:se.oneOf(["withoutButton","withButton","sm"])},die.defaultProps={rotate:"false",imgArray:[{imgSrc:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1682487186/hasura-con-2023/costco_eb2lmu.png",imgAlt:""},{imgSrc:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1682487186/hasura-con-2023/verizon_sj4rgc.png",imgAlt:""},{imgSrc:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1682487186/hasura-con-2023/costco_eb2lmu.png",imgAlt:""},{imgSrc:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1682487186/hasura-con-2023/costco_eb2lmu.png",imgAlt:""}]},vie.defaultProps={secondaryCardArr:[{childArray:[{description:"",href:"#",icon:"cube01",name:"Analytics"},{description:"",href:"#",icon:"cube01",name:"Engagement"},{description:"",href:"#",icon:"cube01",name:"Security"},{description:"",href:"#",icon:"cube01",name:"Security"},{description:"",href:"#",icon:"cube01",name:"Security"}],label:"Label1"}]},gie.defaultProps={ctaText:"Read the case study"},bie.defaultProps={descTextColor:"",titleTextColor:"",brandImageUrl:"",brandImageAlt:"",linkUrl:"#",iconVariant:"videorecorder",iconStrokeColor:"blue-500",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},wie.defaultProps={cardBg:"bg-neutral-0",title:"Resources Card",title_text_color:"text-blue-600",resourcesArr:[{cta_text:"This is one really long link that may spill onto the next line",cta_icon:"linkexternal01",cta_text_color:"text-neutral-700 hover:text-blue-600 ",cta_stroke:"stroke-blue-600",cta_linkUrl:"#"},{cta_text:"This is a regular link that fits in one line",cta_text_color:"text-neutral-700",cta_icon:"linkexternal01",cta_stroke:"stroke-blue-600",cta_linkUrl:"#"},{cta_text:"text3",cta_text_color:"text-neutral-700",cta_icon:"linkexternal01",cta_stroke:"stroke-blue-600",cta_linkUrl:"#"},{cta_text:"text4",cta_text_color:"text-neutral-700",cta_icon:"linkexternal01",cta_stroke:"stroke-blue-600",cta_linkUrl:"#"}]},yie.defaultProps={};const xie=()=>t.createElement("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M8.67602 24.7482C16.8006 24.7482 21.2437 18.0172 21.2437 12.1806C21.2437 11.9893 21.2398 11.7991 21.2309 11.6096C22.0934 10.9861 22.8431 10.208 23.4345 9.32253C22.6431 9.67415 21.7914 9.91094 20.8979 10.0177C21.8098 9.47092 22.5101 8.60557 22.8404 7.5742C21.9868 8.08033 21.0417 8.44812 20.0358 8.64646C19.2294 7.78796 18.0815 7.25098 16.8114 7.25098C14.3718 7.25098 12.3935 9.22924 12.3935 11.6676C12.3935 12.0143 12.4325 12.3513 12.5079 12.6747C8.83714 12.4903 5.58191 10.7325 3.4036 8.06001C3.02381 8.71257 2.80515 9.47116 2.80515 10.2799C2.80515 11.8123 3.58504 13.1652 4.77092 13.9568C4.04637 13.9345 3.36564 13.7352 2.77038 13.4042C2.7694 13.4225 2.7694 13.4411 2.7694 13.4605C2.7694 15.5999 4.29221 17.3859 6.31308 17.7907C5.94211 17.8918 5.55179 17.9462 5.14875 17.9462C4.86421 17.9462 4.58752 17.9178 4.31841 17.8666C4.88062 19.6213 6.51142 20.8985 8.44486 20.9345C6.93283 22.1194 5.02827 22.8253 2.95892 22.8253C2.60265 22.8253 2.25102 22.805 1.90527 22.7641C3.86002 24.0168 6.18109 24.7482 8.67602 24.7482Z",fill:"#00acee"}));function Oie(e){return t.createElement("a",{href:e.linkUrl},t.createElement("div",{className:"p-5 tb:p-8 bg-neutral-0 shadow-sm rounded-3xl mx-5"},t.createElement(xie,null),t.createElement(ce,{textStyle:"h5",as:"h5",className:"text-neutral-1000 py-4"},e.name),t.createElement(ce,{textStyle:"body1",className:"text-neutral-500"},e.tweets)))}const Eie={blue:"bg-neutral-0 tb:bg-blue-500 text-blue-500 tb:text-neutral-0",purple:"bg-neutral-0 tb:bg-purple-500 text-purple-500 tb:text-neutral-0",pink:"bg-neutral-0 tb:bg-pink-500 text-pink-500 tb:text-neutral-0",amber:"bg-neutral-0 tb:bg-amber-500 text-amber-500 tb:text-neutral-0",cyan:"bg-neutral-0 tb:bg-cyan-500 text-cyan-500 tb:text-neutral-0",green:"bg-neutral-0 tb:bg-green-500 text-green-500 tb:text-neutral-0"};function jie(e){const r=e.bgColorClass?A(e.bgColorClass):"bg-neutral-0",n=e.linkTextColorClass?A(e.linkTextColorClass):"text-neutral-600";return t.createElement("div",{className:`${r} rounded-2xl tb:rounded-full shadow p-3 tb:py-2 tb:px-2 inline-flex items-center`},t.createElement("div",{className:"block items-center tb:flex"},e.tagText&&t.createElement(ce,{textStyle:"body2-medium",className:`inline-flex pl-0 tb:py-1 tb:px-3 rounded-full mr-4 min-w-fit ${Eie[e.tagColor]}`},e.tagText),t.createElement("a",{href:e.linkUrl,className:"pl-0 px-3 block tb:px-0 tb:pb-0"},t.createElement(ce,{textStyle:"body2-medium",className:`${n} group flex items-center`},e.linkText,t.createElement(mz,{height:"block w-6 h-6 stroke-2 ml-2 mr-1 transition ease-in-out group-hover:translate-x-[5px]",variant:"arrownarrowright",strokeClass:"stroke-blue-500"})))))}const Cie={blue:"bg-neutral-0 tb:bg-blue-500 text-blue-500 tb:text-neutral-0",purple:"bg-neutral-0 tb:bg-purple-500 text-purple-500 tb:text-neutral-0",pink:"bg-neutral-0 tb:bg-pink-500 text-pink-500 tb:text-neutral-0",amber:"bg-neutral-0 tb:bg-amber-500 text-amber-500 tb:text-neutral-0",cyan:"bg-neutral-0 tb:bg-cyan-500 text-cyan-500 tb:text-neutral-0",green:"bg-neutral-0 tb:bg-green-500 text-green-500 tb:text-neutral-0"},Pie="undefined"!=typeof window;function Mie(e){const[n,o]=r(!0),i=e.bgColorClass?A(e.bgColorClass):"bg-neutral-0",l=e.linkTextColorClass?A(e.linkTextColorClass):"text-neutral-600",s=e.tagColor?e.tagColor:"purple",c=e.iconBgColor?A(e.iconBgColor):"bg-blue-200",[u,h]=r(!1);return a((()=>{if(Pie&&"sessionStorage"in window&&window.sessionStorage&&"getItem"in window.sessionStorage){window.sessionStorage.getItem("announcementConsent")&&h(!0)}}),[]),n&&!u?t.createElement("div",{className:"py-6"},t.createElement("div",{className:`${i} flex justify-between relative rounded-2xl tb:rounded-full shadow p-4 tb:justify-center tb:items-center`},t.createElement("div",{className:"tb:items-center flex tb:justify-center"},e.brandImg&&t.createElement("div",{className:"tb:pb-0 tb:pl-14 pr-2"},t.createElement("img",{className:"mt-[2px] tb:mt-0 min-h-[20px] min-w-[20px] max-w-[20px] max-h-[20px] tb:min-h-[32px] tb:min-w-[32px] tb:max-w-[32px] tb:max-h-[32px]",src:e.brandImg,alt:e.brandImgAlt})),e.iconBgColor&&t.createElement("div",{className:`${c} mt-[2px] tb:mt-0 ml-0 mb-1 tb:mb-0 tb:ml-14 mr-2 w-5 h-5 tb:w-8 tb:h-8 min-w-[20px] tb:min-w-[32px] rounded-full flex items-center justify-center`},t.createElement(mz,{height:"block w-4 h-4 tb:w-5 tb:h-5 stroke-[2px] transition ease-in-out",variant:e.iconVariant,strokeClass:"stroke-neutral-1000"})),e.tagText&&t.createElement(ce,{textStyle:"body2-medium",className:`inline-flex py-1 px-0 tb:px-3 ml-0 tb:ml-14 tb-m:ml-6 rounded-full mr-4 min-w-fit ${Cie[s]}`},e.tagText),t.createElement("a",{href:e.linkUrl,className:"block pb-0"},t.createElement(ce,{textStyle:"body2-medium",className:`${l} group flex items-center [&>div]:inline-block`},e.linkText,t.createElement(mz,{height:" hds-hidden tb:block w-6 h-6 stroke-[2px] ml-3 transition ease-in-out group-hover:translate-x-[5px]",variant:"arrownarrowright",strokeClass:"stroke-blue-500"})))),t.createElement("div",{className:"static mt-[2px] tb:mt-0 ml-3 tb:ml-0 tb:absolute top-1/2 tb:-translate-y-1/2 tb:left-6 cursor-pointer w-5 h-5 min-w-[20px] tb:w-8 tb:min-w-[32px] tb:h-8 rounded-full bg-neutral-100 flex items-center justify-center",onClick:()=>(o(!1),void(Pie&&window.sessionStorage.setItem("announcementConsent","true")))},t.createElement(mz,{height:"block w-4 h-4 tb:w-6 tb:h-6 stroke-[2px] transition ease-in-out",variant:"xclose",strokeClass:"stroke-neutral-800"})))):null}function kie(e){const[n,a]=r(!1),o=e=>(e=e.card,t.createElement(t.Fragment,null,t.createElement("div",{className:" backdrop-blur-lg bg-neutral-1000 bg-opacity-20 rounded-[6px] w-[220px] h-[428px] flex flex-col justify-between "},t.createElement("div",{className:"h-[428px]"},t.createElement("div",{className:" pt-8 pl-6"},t.createElement("img",{src:e.title_img,alt:"Card",className:" inline-block w-16 "})),e.subtitle&&t.createElement("div",{className:"mt-6 px-6 font-petrona text-base font-normal text-neutral-0 "},e.subtitle)),t.createElement("div",{className:"pl-6 pb-8"},e.avatar.img_url&&t.createElement("img",{className:` w-14 h-14 shadow rounded-full ${e.avatarBgColor??"bg-neutral-0"} rounded inline-block`,alt:"avatar",src:e.avatar.img_url}),t.createElement("div",{className:" pt-3"},e.avatar&&e.avatar.name&&t.createElement(ce,{textStyle:"body2c-bold",className:" text-neutral-0"},e.avatar.name),e.avatar&&e.avatar.designation&&t.createElement(ce,{textStyle:"body3c",className:" text-neutral-0 mt-1"},e.avatar.designation)))))),i=e=>(e=e.cardHover,t.createElement("div",{className:"h-[428px]"},t.createElement("div",{className:`${A(e.cardBg)} rounded-[6px] w-[220px] justify-between h-[428px] flex flex-col`},t.createElement("div",{className:" "},t.createElement("div",{className:"pt-8 pl-6 "},t.createElement("img",{src:e.img_url,alt:"Card",className:" inline-block max-w-[148px]"})),t.createElement("div",{className:"mt-6 px-6 text-xl leading-[27px] font-semibold text-neutral-0"},e.title)),t.createElement("div",{className:"flex pb-8 pl-6 pt-5"},t.createElement("a",{href:e?.slideCTA||""},t.createElement(V8,{className:"flex",label:e.button.cta_text,type:"secondaryLink",btnTextHoverClass:"hover:text-neutral-0",btnTextColorClass:"text-neutral-0"}))))));return t.createElement("div",{className:" w-[220px] h-[428px] rounded-2xl",onMouseEnter:()=>{a(!0)},onMouseLeave:()=>{a(!1)}},t.createElement("div",{className:"transition-all max-w-[220px] absolute left-0 top-0 ease-in-out rounded-[6px] duration-300 "+(n?"opacity-0 ":"opacity-100")},t.createElement(o,{card:e.card})),t.createElement("div",{className:"transition-al absolute left-0 top-0 ease-in-out rounded-[6px] duration-300 "+(n?"opacity-100":"opacity-0")},t.createElement(i,{cardHover:e.cardHover})))}function Sie(e){return t.createElement(t.Fragment,null,t.createElement("div",{className:"relative overflow-hidden"},t.createElement("div",{className:"absolute z-50 right-[4px] rounded-[6px] hidden min-[699px]:block w-[220px] h-[428px] top-[4px] bg-neutral-0/40"},t.createElement(kie,{card:e.testimonial.card,cardHover:e.testimonial.cardHover})),t.createElement("div",{className:" relative hidden w-[580px] h-[436px] rounded-2xl min-[699px]:flex justify-center items-center"},t.createElement("div",{className:"w-[580px] h-[436px] rounded-lg flex flex-col items-center justify-center overflow-hidden"},t.createElement("div",{className:""},t.createElement("div",{className:""},t.createElement("video",{autoPlay:!0,loop:!0,muted:!0,className:" object-fill max-w-full max-h-full scale-150",src:e.video_url}),t.createElement("div",{className:"w-full relative z-50 flex-col flex items-center"},t.createElement("div",{className:"relative top-[55px] left-[0px] w-[147px] h-[3px] bg-neutral-0/20"})))))),t.createElement("div",{className:"overflow-x-hidden w-screen min-[699px]:hidden"},t.createElement("div",{className:"max-[375]:h-[684px] h-[600px] rounded flex flex-col items-center justify-cente overflow-hidden"},t.createElement("div",{className:""},t.createElement("div",{className:""},t.createElement("div",{className:"h-[348px]"},t.createElement("video",{autoPlay:!0,loop:!0,muted:!0,className:" object-fill max-w-full max-h-full min-[699px]:scale-[1.7]",src:e.video_url})),t.createElement("div",{className:"absolute max-[365px]:h-[657px] h-[600px] z-50 top-[72px] px-4"},t.createElement("div",{className:""},t.createElement(gie,{brandImgUrl:e.testimonial.card.title_img,brandImgAlt:e.testimonial.card.avatar.name,description:e.testimonial.card.subtitle,speakerName:e.testimonial.card.avatar.name,speakerDesignation:e.testimonial.card.avatar.designation,speakerImgUrl:e.testimonial.card.avatar.img_url,blurb:e.testimonial.cardHover.title,dividerClass:"border-b border-neutral-150",caseStudyUrl:e.testimonial.cardHover.button.cta_text})))))))))}kie.defaultProps={card:{cardBg:"",img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1679302435/main-web/roadshow/nagaraja-nayak_l4xte5.png",title_img:"Optum",img_alt:"optum",subtitle:"“Optum goes from concept to production in 100 days with Hasura”",avatar:{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1679302435/main-web/roadshow/nagaraja-nayak_l4xte5.png",name:"Nagaraja Nayak",designation:"Optum",avatarBgColor:"bg-yellow-400"}},cardHover:{cardBg:"bg-green-500",img_url:"",img_alt:"",title:"Optum goes from concept to production in 100 days with Hasura",button:{cta_text:"Read the case Study"}}};const Nie=o({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Bie=o({}),Vie=o(null),Rie="undefined"!=typeof document,Aie=Rie?h:a,Tie=o({strict:!1});function Hie(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Lie(e){return"string"==typeof e||Array.isArray(e)}function Iie(e){return"object"==typeof e&&"function"==typeof e.start}const Fie=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_ie=["initial",...Fie];function Zie(e){return Iie(e.animate)||_ie.some((t=>Lie(e[t])))}function Die(e){return Boolean(Zie(e)||e.variants)}function qie(e){const{initial:t,animate:r}=function(e,t){if(Zie(e)){const{initial:t,animate:r}=e;return{initial:!1===t||Lie(t)?t:void 0,animate:Lie(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,v(Bie));return y((()=>({initial:t,animate:r})),[Uie(t),Uie(r)])}function Uie(e){return Array.isArray(e)?e.join(" "):e}const $ie={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},zie={};for(const e in $ie)zie[e]={isEnabled:t=>$ie[e].some((e=>!!t[e]))};const Wie=o({}),Gie=o({}),Qie=Symbol.for("motionComponentSymbol");function Yie({preloadedFeatures:t,createVisualElement:r,useRender:o,useVisualState:i,Component:l}){t&&function(e){for(const t in e)zie[t]={...zie[t],...e[t]}}(t);const s=m((function(s,c){let u;const h={...v(Nie),...s,layoutId:Kie(s)},{isStatic:m}=h,p=qie(s),f=i(s,m);if(!m&&Rie){p.visualElement=function(e,t,r,o){const{visualElement:i}=v(Bie),l=v(Tie),s=v(Vie),c=v(Nie).reducedMotion,u=n();o=o||l.renderer,!u.current&&o&&(u.current=o(e,{visualState:t,parent:i,props:r,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:c}));const h=u.current;return x((()=>{h&&h.update(r,s)})),Aie((()=>{h&&h.render()})),a((()=>{h&&h.updateFeatures()})),(window.HandoffAppearAnimations?Aie:a)((()=>{h&&h.animationState&&h.animationState.animateChanges()})),h}(l,f,h,r);const e=v(Gie),o=v(Tie).strict;p.visualElement&&(u=p.visualElement.loadFeatures(h,o,t,e))}return e.createElement(Bie.Provider,{value:p},u&&p.visualElement?e.createElement(u,{visualElement:p.visualElement,...h}):null,o(l,s,function(e,t,r){return w((n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):Hie(r)&&(r.current=n))}),[t])}(f,p.visualElement,c),f,m,p.visualElement))}));return s[Qie]=l,s}function Kie({layoutId:e}){const t=v(Wie).id;return t&&void 0!==e?t+"-"+e:e}function Xie(e){function t(t,r={}){return Yie(e(t,r))}if("undefined"==typeof Proxy)return t;const r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}const Jie=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ele(e){return"string"==typeof e&&!e.includes("-")&&!!(Jie.indexOf(e)>-1||/[A-Z]/.test(e))}const tle={};const rle=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],nle=new Set(rle);function ale(e,{layout:t,layoutId:r}){return nle.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!tle[e]||"opacity"===e)}const ole=e=>Boolean(e&&e.getVelocity),ile={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},lle=rle.length;const sle=e=>t=>"string"==typeof t&&t.startsWith(e),cle=sle("--"),ule=sle("var(--"),hle=(e,t)=>t&&"number"==typeof e?t.transform(e):e,mle=(e,t,r)=>Math.min(Math.max(r,e),t),ple={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},fle={...ple,transform:e=>mle(0,1,e)},dle={...ple,default:1},vle=e=>Math.round(1e5*e)/1e5,gle=/(-)?([\d]*\.?[\d])+/g,ble=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,wle=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function yle(e){return"string"==typeof e}const xle=e=>({test:t=>yle(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Ole=xle("deg"),Ele=xle("%"),jle=xle("px"),Cle=xle("vh"),Ple=xle("vw"),Mle={...Ele,parse:e=>Ele.parse(e)/100,transform:e=>Ele.transform(100*e)},kle={...ple,transform:Math.round},Sle={borderWidth:jle,borderTopWidth:jle,borderRightWidth:jle,borderBottomWidth:jle,borderLeftWidth:jle,borderRadius:jle,radius:jle,borderTopLeftRadius:jle,borderTopRightRadius:jle,borderBottomRightRadius:jle,borderBottomLeftRadius:jle,width:jle,maxWidth:jle,height:jle,maxHeight:jle,size:jle,top:jle,right:jle,bottom:jle,left:jle,padding:jle,paddingTop:jle,paddingRight:jle,paddingBottom:jle,paddingLeft:jle,margin:jle,marginTop:jle,marginRight:jle,marginBottom:jle,marginLeft:jle,rotate:Ole,rotateX:Ole,rotateY:Ole,rotateZ:Ole,scale:dle,scaleX:dle,scaleY:dle,scaleZ:dle,skew:Ole,skewX:Ole,skewY:Ole,distance:jle,translateX:jle,translateY:jle,translateZ:jle,x:jle,y:jle,z:jle,perspective:jle,transformPerspective:jle,opacity:fle,originX:Mle,originY:Mle,originZ:jle,zIndex:kle,fillOpacity:fle,strokeOpacity:fle,numOctaves:kle};function Nle(e,t,r,n){const{style:a,vars:o,transform:i,transformOrigin:l}=e;let s=!1,c=!1,u=!0;for(const e in t){const r=t[e];if(cle(e)){o[e]=r;continue}const n=Sle[e],h=hle(r,n);if(nle.has(e)){if(s=!0,i[e]=h,!u)continue;r!==(n.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,l[e]=h):a[e]=h}if(t.transform||(s||n?a.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,a){let o="";for(let t=0;t<lle;t++){const r=rle[t];void 0!==e[r]&&(o+=`${ile[r]||r}(${e[r]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),a?o=a(e,n?"":o):r&&n&&(o="none"),o}(e.transform,r,u,n):a.transform&&(a.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:r=0}=l;a.transformOrigin=`${e} ${t} ${r}`}}const Ble=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Vle(e,t,r){for(const n in t)ole(t[n])||ale(n,r)||(e[n]=t[n])}function Rle(e,t,r){const n={};return Vle(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t,r){return y((()=>{const n=Ble();return Nle(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)}),[t])}(e,t,r)),e.transformValues?e.transformValues(n):n}function Ale(e,t,r){const n={},a=Rle(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=a,n}const Tle=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Hle(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Tle.has(e)}let Lle=e=>!Hle(e);try{(Ile=require("@emotion/is-prop-valid").default)&&(Lle=e=>e.startsWith("on")?!Hle(e):Ile(e))}catch(e){}var Ile;function Fle(e,t,r){return"string"==typeof e?e:jle.transform(t+r*e)}const _le={offset:"stroke-dashoffset",array:"stroke-dasharray"},Zle={offset:"strokeDashoffset",array:"strokeDasharray"};function Dle(e,{attrX:t,attrY:r,attrScale:n,originX:a,originY:o,pathLength:i,pathSpacing:l=1,pathOffset:s=0,...c},u,h,m){if(Nle(e,c,u,m),h)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:f,dimensions:d}=e;p.transform&&(d&&(f.transform=p.transform),delete p.transform),d&&(void 0!==a||void 0!==o||f.transform)&&(f.transformOrigin=function(e,t,r){return`${Fle(t,e.x,e.width)} ${Fle(r,e.y,e.height)}`}(d,void 0!==a?a:.5,void 0!==o?o:.5)),void 0!==t&&(p.x=t),void 0!==r&&(p.y=r),void 0!==n&&(p.scale=n),void 0!==i&&function(e,t,r=1,n=0,a=!0){e.pathLength=1;const o=a?_le:Zle;e[o.offset]=jle.transform(-n);const i=jle.transform(t),l=jle.transform(r);e[o.array]=`${i} ${l}`}(p,i,l,s,!1)}const qle=()=>({...Ble(),attrs:{}}),Ule=e=>"string"==typeof e&&"svg"===e.toLowerCase();function $le(e,t,r,n){const a=y((()=>{const r=qle();return Dle(r,t,{enableHardwareAcceleration:!1},Ule(n),e.transformTemplate),{...r.attrs,style:{...r.style}}}),[t]);if(e.style){const t={};Vle(t,e.style,e),a.style={...t,...a.style}}return a}function zle(e=!1){return(t,r,n,{latestValues:a},o)=>{const i=(ele(t)?$le:Ale)(r,a,o,t),l=function(e,t,r){const n={};for(const a in e)"values"===a&&"object"==typeof e.values||(Lle(a)||!0===r&&Hle(a)||!t&&!Hle(a)||e.draggable&&a.startsWith("onDrag"))&&(n[a]=e[a]);return n}(r,"string"==typeof t,e),s={...l,...i,ref:n},{children:c}=r,u=y((()=>ole(c)?c.get():c),[c]);return d(t,{...s,children:u})}}const Wle=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Gle(e,{style:t,vars:r},n,a){Object.assign(e.style,t,a&&a.getProjectionStyles(n));for(const t in r)e.style.setProperty(t,r[t])}const Qle=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Yle(e,t,r,n){Gle(e,t,void 0,n);for(const r in t.attrs)e.setAttribute(Qle.has(r)?r:Wle(r),t.attrs[r])}function Kle(e,t){const{style:r}=e,n={};for(const a in r)(ole(r[a])||t.style&&ole(t.style[a])||ale(a,e))&&(n[a]=r[a]);return n}function Xle(e,t){const r=Kle(e,t);for(const n in e)if(ole(e[n])||ole(t[n])){r[-1!==rle.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return r}function Jle(e,t,r,n={},a={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,a)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,a)),t}function ese(e){const t=n(null);return null===t.current&&(t.current=e()),t.current}const tse=e=>Array.isArray(e),rse=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),nse=e=>tse(e)?e[e.length-1]||0:e;function ase(e){const t=ole(e)?e.get():e;return rse(t)?t.toValue():t}const ose=e=>(t,r)=>{const n=v(Bie),a=v(Vie),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,a,o){const i={latestValues:ise(n,a,o,e),renderState:t()};return r&&(i.mount=e=>r(n,e,i)),i}(e,t,n,a);return r?o():ese(o)};function ise(e,t,r,n){const a={},o=n(e,{});for(const e in o)a[e]=ase(o[e]);let{initial:i,animate:l}=e;const s=Zie(e),c=Die(e);t&&c&&!s&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===l&&(l=t.animate));let u=!!r&&!1===r.initial;u=u||!1===i;const h=u?l:i;if(h&&"boolean"!=typeof h&&!Iie(h)){(Array.isArray(h)?h:[h]).forEach((t=>{const r=Jle(e,t);if(!r)return;const{transitionEnd:n,transition:o,...i}=r;for(const e in i){let t=i[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(a[e]=t)}for(const e in n)a[e]=n[e]}))}return a}const lse={useVisualState:ose({scrapeMotionValuesFromProps:Xle,createRenderState:qle,onMount:(e,t,{renderState:r,latestValues:n})=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}Dle(r,n,{enableHardwareAcceleration:!1},Ule(t.tagName),e.transformTemplate),Yle(t,r)}})},sse={useVisualState:ose({scrapeMotionValuesFromProps:Kle,createRenderState:Ble})};function cse(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const use=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function hse(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const mse=e=>t=>use(t)&&e(t,hse(t));function pse(e,t,r,n){return cse(e,t,mse(r),n)}const fse=(e,t)=>r=>t(e(r)),dse=(...e)=>e.reduce(fse);function vse(e){let t=null;return()=>{const r=()=>{t=null};return null===t&&(t=e,r)}}const gse=vse("dragHorizontal"),bse=vse("dragVertical");function wse(e){let t=!1;if("y"===e)t=bse();else if("x"===e)t=gse();else{const e=gse(),r=bse();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}function yse(){const e=wse(!0);return!e||(e(),!1)}class xse{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Ose={delta:0,timestamp:0,isProcessing:!1};let Ese=!0,jse=!1;const Cse=["read","update","preRender","render","postRender"],Pse=Cse.reduce(((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,a=!1,o=!1;const i=new WeakSet,l={schedule:(e,o=!1,l=!1)=>{const s=l&&a,c=s?t:r;return o&&i.add(e),-1===c.indexOf(e)&&(c.push(e),s&&a&&(n=t.length)),e},cancel:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1),i.delete(e)},process:s=>{if(a)o=!0;else{if(a=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let r=0;r<n;r++){const n=t[r];n(s),i.has(n)&&(l.schedule(n),e())}a=!1,o&&(o=!1,l.process(s))}}};return l}((()=>jse=!0)),e)),{}),Mse=e=>Pse[e].process(Ose),kse=e=>{jse=!1,Ose.delta=Ese?1e3/60:Math.max(Math.min(e-Ose.timestamp,40),1),Ose.timestamp=e,Ose.isProcessing=!0,Cse.forEach(Mse),Ose.isProcessing=!1,jse&&(Ese=!1,requestAnimationFrame(kse))},Sse=Cse.reduce(((e,t)=>{const r=Pse[t];return e[t]=(e,t=!1,n=!1)=>(jse||(jse=!0,Ese=!0,Ose.isProcessing||requestAnimationFrame(kse)),r.schedule(e,t,n)),e}),{});function Nse(e){Cse.forEach((t=>Pse[t].cancel(e)))}function Bse(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End");return pse(e.current,r,((r,a)=>{if("touch"===r.type||yse())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[n]&&Sse.update((()=>o[n](r,a)))}),{passive:!e.getProps()[n]})}const Vse=(e,t)=>!!t&&(e===t||Vse(e,t.parentElement)),Rse=e=>e;function Ase(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,hse(r))}const Tse=new WeakMap,Hse=new WeakMap,Lse=e=>{const t=Tse.get(e.target);t&&t(e)},Ise=e=>{e.forEach(Lse)};function Fse(e,t,r){const n=function({root:e,...t}){const r=e||document;Hse.has(r)||Hse.set(r,{});const n=Hse.get(r),a=JSON.stringify(t);return n[a]||(n[a]=new IntersectionObserver(Ise,{root:e,...t})),n[a]}(t);return Tse.set(e,r),n.observe(e),()=>{Tse.delete(e),n.unobserve(e)}}const _se={some:0,all:1};const Zse={inView:{Feature:class extends xse{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:a}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:_se[n]};return Fse(this.node.current,o,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,a&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),o=t?r:n;o&&o(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends xse{constructor(){super(...arguments),this.removeStartListeners=Rse,this.removeEndListeners=Rse,this.removeAccessibleListeners=Rse,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),n=pse(window,"pointerup",((e,t)=>{if(!this.checkPressEnd())return;const{onTap:r,onTapCancel:n}=this.node.getProps();Sse.update((()=>{Vse(this.node.current,e.target)?r&&r(e,t):n&&n(e,t)}))}),{passive:!(r.onTap||r.onPointerUp)}),a=pse(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=dse(n,a),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=cse(this.node.current,"keydown",(e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=cse(this.node.current,"keyup",(e=>{"Enter"===e.key&&this.checkPressEnd()&&Ase("up",((e,t)=>{const{onTap:r}=this.node.getProps();r&&Sse.update((()=>r(e,t)))}))})),Ase("down",((e,t)=>{this.startPress(e,t)}))})),t=cse(this.node.current,"blur",(()=>{this.isPressing&&Ase("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=dse(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&Sse.update((()=>r(e,t)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!yse()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&Sse.update((()=>r(e,t)))}mount(){const e=this.node.getProps(),t=pse(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=cse(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=dse(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends xse{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=dse(cse(this.node.current,"focus",(()=>this.onFocus())),cse(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends xse{mount(){this.unmount=dse(Bse(this.node,!0),Bse(this.node,!1))}unmount(){}}}};function Dse(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function qse(e,t,r){const n=e.getProps();return Jle(n,t,void 0!==r?r:n.custom,function(e){const t={};return e.values.forEach(((e,r)=>t[r]=e.get())),t}(e),function(e){const t={};return e.values.forEach(((e,r)=>t[r]=e.getVelocity())),t}(e))}const Use="data-"+Wle("framerAppearId");let $se=Rse,zse=Rse;"production"!==process.env.NODE_ENV&&($se=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},zse=(e,t)=>{if(!e)throw new Error(t)});const Wse=e=>1e3*e,Gse=e=>e/1e3,Qse=!1,Yse=e=>Array.isArray(e)&&"number"==typeof e[0];function Kse(e){return Boolean(!e||"string"==typeof e&&Jse[e]||Yse(e)||Array.isArray(e)&&e.every(Kse))}const Xse=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,Jse={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Xse([0,.65,.55,1]),circOut:Xse([.55,0,1,.45]),backIn:Xse([.31,.01,.66,-.59]),backOut:Xse([.33,1.53,.69,.99])};function ece(e){if(e)return Yse(e)?Xse(e):Array.isArray(e)?e.map(ece):Jse[e]}const tce={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},rce={},nce={};for(const e in tce)nce[e]=()=>(void 0===rce[e]&&(rce[e]=tce[e]()),rce[e]);const ace=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,oce=1e-7,ice=12;function lce(e,t,r,n){if(e===t&&r===n)return Rse;const a=t=>function(e,t,r,n,a){let o,i,l=0;do{i=t+(r-t)/2,o=ace(i,n,a)-e,o>0?r=i:t=i}while(Math.abs(o)>oce&&++l<ice);return i}(t,0,1,e,r);return e=>0===e||1===e?e:ace(a(e),t,n)}const sce=lce(.42,0,1,1),cce=lce(0,0,.58,1),uce=lce(.42,0,.58,1),hce=e=>Array.isArray(e)&&"number"!=typeof e[0],mce=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,pce=e=>t=>1-e(1-t),fce=e=>1-Math.sin(Math.acos(e)),dce=pce(fce),vce=mce(dce),gce=lce(.33,1.53,.69,.99),bce=pce(gce),wce=mce(bce),yce={linear:Rse,easeIn:sce,easeInOut:uce,easeOut:cce,circIn:fce,circInOut:vce,circOut:dce,backIn:bce,backInOut:wce,backOut:gce,anticipate:e=>(e*=2)<1?.5*bce(e):.5*(2-Math.pow(2,-10*(e-1)))},xce=e=>{if(Array.isArray(e)){zse(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,a]=e;return lce(t,r,n,a)}return"string"==typeof e?(zse(void 0!==yce[e],`Invalid easing type '${e}'`),yce[e]):e},Oce=(e,t)=>r=>Boolean(yle(r)&&wle.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Ece=(e,t,r)=>n=>{if(!yle(n))return n;const[a,o,i,l]=n.match(gle);return{[e]:parseFloat(a),[t]:parseFloat(o),[r]:parseFloat(i),alpha:void 0!==l?parseFloat(l):1}},jce={...ple,transform:e=>Math.round((e=>mle(0,255,e))(e))},Cce={test:Oce("rgb","red"),parse:Ece("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+jce.transform(e)+", "+jce.transform(t)+", "+jce.transform(r)+", "+vle(fle.transform(n))+")"};const Pce={test:Oce("#"),parse:function(e){let t="",r="",n="",a="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),a=e.substring(4,5),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}},transform:Cce.transform},Mce={test:Oce("hsl","hue"),parse:Ece("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Ele.transform(vle(t))+", "+Ele.transform(vle(r))+", "+vle(fle.transform(n))+")"},kce={test:e=>Cce.test(e)||Pce.test(e)||Mce.test(e),parse:e=>Cce.test(e)?Cce.parse(e):Mce.test(e)?Mce.parse(e):Pce.parse(e),transform:e=>yle(e)?e:e.hasOwnProperty("red")?Cce.transform(e):Mce.transform(e)},Sce=(e,t,r)=>-r*e+r*t+e;function Nce(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}const Bce=(e,t,r)=>{const n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},Vce=[Pce,Cce,Mce];function Rce(e){const t=(e=>Vce.find((t=>t.test(e))))(e);zse(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Mce&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let a=0,o=0,i=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,l=2*r-n;a=Nce(l,n,e+1/3),o=Nce(l,n,e),i=Nce(l,n,e-1/3)}else a=o=i=r;return{red:Math.round(255*a),green:Math.round(255*o),blue:Math.round(255*i),alpha:n}}(r)),r}const Ace=(e,t)=>{const r=Rce(e),n=Rce(t),a={...r};return e=>(a.red=Bce(r.red,n.red,e),a.green=Bce(r.green,n.green,e),a.blue=Bce(r.blue,n.blue,e),a.alpha=Sce(r.alpha,n.alpha,e),Cce.transform(a))};const Tce={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Rse},Hce={regex:ble,countKey:"Colors",token:"${c}",parse:kce.parse},Lce={regex:gle,countKey:"Numbers",token:"${n}",parse:ple.parse};function Ice(e,{regex:t,countKey:r,token:n,parse:a}){const o=e.tokenised.match(t);o&&(e["num"+r]=o.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...o.map(a)))}function Fce(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Ice(r,Tce),Ice(r,Hce),Ice(r,Lce),r}function _ce(e){return Fce(e).values}function Zce(e){const{values:t,numColors:r,numVars:n,tokenised:a}=Fce(e),o=t.length;return e=>{let t=a;for(let a=0;a<o;a++)t=a<n?t.replace(Tce.token,e[a]):a<n+r?t.replace(Hce.token,kce.transform(e[a])):t.replace(Lce.token,vle(e[a]));return t}}const Dce=e=>"number"==typeof e?0:e;const qce={test:function(e){var t,r;return isNaN(e)&&yle(e)&&((null===(t=e.match(gle))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(ble))||void 0===r?void 0:r.length)||0)>0},parse:_ce,createTransformer:Zce,getAnimatableNone:function(e){const t=_ce(e);return Zce(e)(t.map(Dce))}},Uce=(e,t)=>r=>`${r>0?t:e}`;function $ce(e,t){return"number"==typeof e?r=>Sce(e,t,r):kce.test(e)?Ace(e,t):e.startsWith("var(")?Uce(e,t):Gce(e,t)}const zce=(e,t)=>{const r=[...e],n=r.length,a=e.map(((e,r)=>$ce(e,t[r])));return e=>{for(let t=0;t<n;t++)r[t]=a[t](e);return r}},Wce=(e,t)=>{const r={...e,...t},n={};for(const a in r)void 0!==e[a]&&void 0!==t[a]&&(n[a]=$ce(e[a],t[a]));return e=>{for(const t in n)r[t]=n[t](e);return r}},Gce=(e,t)=>{const r=qce.createTransformer(t),n=Fce(e),a=Fce(t);return n.numVars===a.numVars&&n.numColors===a.numColors&&n.numNumbers>=a.numNumbers?dse(zce(n.values,a.values),r):($se(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Uce(e,t))},Qce=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},Yce=(e,t)=>r=>Sce(e,t,r);function Kce(e,t,r){const n=[],a=r||function(e){return"number"==typeof e?Yce:"string"==typeof e?kce.test(e)?Ace:Gce:Array.isArray(e)?zce:"object"==typeof e?Wce:Yce}(e[0]),o=e.length-1;for(let r=0;r<o;r++){let o=a(e[r],e[r+1]);if(t){const e=Array.isArray(t)?t[r]||Rse:t;o=dse(e,o)}n.push(o)}return n}function Xce(e,t,{clamp:r=!0,ease:n,mixer:a}={}){const o=e.length;if(zse(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const i=Kce(t,n,a),l=i.length,s=t=>{let r=0;if(l>1)for(;r<e.length-2&&!(t<e[r+1]);r++);const n=Qce(e[r],e[r+1],t);return i[r](n)};return r?t=>s(mle(e[0],e[o-1],t)):s}function Jce(e){const t=[0];return function(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const a=Qce(0,t,n);e.push(Sce(r,1,a))}}(t,e.length-1),t}function eue({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const a=hce(n)?n.map(xce):xce(n),o={done:!1,value:t[0]},i=function(e,t){return e.map((e=>e*t))}(r&&r.length===t.length?r:Jce(t),e),l=Xce(i,t,{ease:Array.isArray(a)?a:(s=t,c=a,s.map((()=>c||uce)).splice(0,s.length-1))});var s,c;return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}function tue(e,t){return t?e*(1e3/t):0}const rue=5;function nue(e,t,r){const n=Math.max(t-rue,0);return tue(r-e(n),t-n)}const aue=.001,oue=.01,iue=10,lue=.05,sue=1;function cue({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let a,o;$se(e<=Wse(iue),"Spring duration must be 10 seconds or less");let i=1-t;i=mle(lue,sue,i),e=mle(oue,iue,Gse(e)),i<1?(a=t=>{const n=t*i,a=n*e,o=n-r,l=hue(t,i),s=Math.exp(-a);return aue-o/l*s},o=t=>{const n=t*i*e,o=n*r+r,l=Math.pow(i,2)*Math.pow(t,2)*e,s=Math.exp(-n),c=hue(Math.pow(t,2),i);return(-a(t)+aue>0?-1:1)*((o-l)*s)/c}):(a=t=>Math.exp(-t*e)*((t-r)*e+1)-aue,o=t=>Math.exp(-t*e)*(e*e*(r-t)));const l=function(e,t,r){let n=r;for(let r=1;r<uue;r++)n-=e(n)/t(n);return n}(a,o,5/e);if(e=Wse(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(l,2)*n;return{stiffness:t,damping:2*i*Math.sqrt(n*t),duration:e}}}const uue=12;function hue(e,t){return e*Math.sqrt(1-t*t)}const mue=["duration","bounce"],pue=["stiffness","damping","mass"];function fue(e,t){return t.some((t=>void 0!==e[t]))}function due({keyframes:e,restDelta:t,restSpeed:r,...n}){const a=e[0],o=e[e.length-1],i={done:!1,value:a},{stiffness:l,damping:s,mass:c,velocity:u,duration:h,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!fue(e,pue)&&fue(e,mue)){const r=cue(e);t={...t,...r,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(n),p=u?-Gse(u):0,f=s/(2*Math.sqrt(l*c)),d=o-a,v=Gse(Math.sqrt(l/c)),g=Math.abs(d)<5;let b;if(r||(r=g?.01:2),t||(t=g?.005:.5),f<1){const e=hue(v,f);b=t=>{const r=Math.exp(-f*v*t);return o-r*((p+f*v*d)/e*Math.sin(e*t)+d*Math.cos(e*t))}}else if(1===f)b=e=>o-Math.exp(-v*e)*(d+(p+v*d)*e);else{const e=v*Math.sqrt(f*f-1);b=t=>{const r=Math.exp(-f*v*t),n=Math.min(e*t,300);return o-r*((p+f*v*d)*Math.sinh(n)+e*d*Math.cosh(n))/e}}return{calculatedDuration:m&&h||null,next:e=>{const n=b(e);if(m)i.done=e>=h;else{let a=p;0!==e&&(a=f<1?nue(b,e,n):0);const l=Math.abs(a)<=r,s=Math.abs(o-n)<=t;i.done=l&&s}return i.value=i.done?o:n,i}}}function vue({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:i,min:l,max:s,restDelta:c=.5,restSpeed:u}){const h=e[0],m={done:!1,value:h},p=e=>void 0===l?s:void 0===s||Math.abs(l-e)<Math.abs(s-e)?l:s;let f=r*t;const d=h+f,v=void 0===i?d:i(d);v!==d&&(f=v-h);const g=e=>-f*Math.exp(-e/n),b=e=>v+g(e),w=e=>{const t=g(e),r=b(e);m.done=Math.abs(t)<=c,m.value=m.done?v:r};let y,x;const O=e=>{(e=>void 0!==l&&e<l||void 0!==s&&e>s)(m.value)&&(y=e,x=due({keyframes:[m.value,p(m.value)],velocity:nue(b,e,m.value),damping:a,stiffness:o,restDelta:c,restSpeed:u}))};return O(0),{calculatedDuration:null,next:e=>{let t=!1;return x||void 0!==y||(t=!0,w(e),O(e)),void 0!==y&&e>y?x.next(e-y):(!t&&w(e),m)}}}const gue=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Sse.update(t,!0),stop:()=>Nse(t),now:()=>Ose.isProcessing?Ose.timestamp:performance.now()}},bue=2e4;function wue(e){let t=0;let r=e.next(t);for(;!r.done&&t<bue;)t+=50,r=e.next(t);return t>=bue?1/0:t}const yue={decay:vue,inertia:vue,tween:eue,keyframes:eue,spring:due};function xue({autoplay:e=!0,delay:t=0,driver:r=gue,keyframes:n,type:a="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:l="loop",onPlay:s,onStop:c,onComplete:u,onUpdate:h,...m}){let p,f,d=1,v=!1;const g=()=>{p&&p(),f=new Promise((e=>{p=e}))};let b;g();const w=yue[a]||eue;let y;w!==eue&&"number"!=typeof n[0]&&(y=Xce([0,100],n,{clamp:!1}),n=[0,100]);const x=w({...m,keyframes:n});let O;"mirror"===l&&(O=w({...m,keyframes:[...n].reverse(),velocity:-(m.velocity||0)}));let E="idle",j=null,C=null,P=null;null===x.calculatedDuration&&o&&(x.calculatedDuration=wue(x));const{calculatedDuration:M}=x;let k=1/0,S=1/0;null!==M&&(k=M+i,S=k*(o+1)-i);let N=0;const B=e=>{if(null===C)return;d>0&&(C=Math.min(C,e)),N=null!==j?j:(e-C)*d;const r=N-t,a=r<0;N=Math.max(r,0),"finished"===E&&null===j&&(N=S);let s=N,c=x;if(o){const e=N/k;let t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,t=Math.min(t,o+1);const n=Boolean(t%2);n&&("reverse"===l?(r=1-r,i&&(r-=i/k)):"mirror"===l&&(c=O));let a=mle(0,1,r);N>S&&(a="reverse"===l&&n?1:0),s=a*k}const u=a?{done:!1,value:n[0]}:c.next(s);y&&(u.value=y(u.value));let{done:m}=u;a||null===M||(m=N>=S);const p=null===j&&("finished"===E||"running"===E&&m||d<0&&N<=0);return h&&h(u.value),p&&A(),u},V=()=>{b&&b.stop(),b=void 0},R=()=>{E="idle",V(),g(),C=P=null},A=()=>{E="finished",u&&u(),V(),g()},T=()=>{if(v)return;b||(b=r(B));const e=b.now();s&&s(),null!==j?C=e-j:C&&"finished"!==E||(C=e),P=C,j=null,E="running",b.start()};e&&T();const H={then:(e,t)=>f.then(e,t),get time(){return Gse(N)},set time(e){e=Wse(e),N=e,null===j&&b&&0!==d?C=b.now()-e/d:j=e},get duration(){const e=null===x.calculatedDuration?wue(x):x.calculatedDuration;return Gse(e)},get speed(){return d},set speed(e){e!==d&&b&&(d=e,H.time=Gse(N))},get state(){return E},play:T,pause:()=>{E="paused",j=N},stop:()=>{v=!0,"idle"!==E&&(E="idle",c&&c(),R())},cancel:()=>{null!==P&&B(P),R()},complete:()=>{E="finished"},sample:e=>(C=0,B(e))};return H}const Oue=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Eue(e,t,{onUpdate:r,onComplete:n,...a}){if(!(nce.waapi()&&Oue.has(t)&&!a.repeatDelay&&"mirror"!==a.repeatType&&0!==a.damping&&"inertia"!==a.type))return!1;let o,i,l=!1;const s=()=>{i=new Promise((e=>{o=e}))};s();let{keyframes:c,duration:u=300,ease:h,times:m}=a;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Kse(t.ease))(t,a)){const e=xue({...a,repeat:0,delay:0});let t={done:!1,value:c[0]};const r=[];let n=0;for(;!t.done&&n<2e4;)t=e.sample(n),r.push(t.value),n+=10;m=void 0,c=r,u=n-10,h="linear"}const p=function(e,t,r,{delay:n=0,duration:a,repeat:o=0,repeatType:i="loop",ease:l,times:s}={}){const c={[t]:r};s&&(c.offset=s);const u=ece(l);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:n,duration:a,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===i?"alternate":"normal"})}(e.owner.current,t,c,{...a,duration:u,ease:h,times:m}),f=()=>p.cancel(),d=()=>{Sse.update(f),o(),s()};return p.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:r="loop"}){return e[t&&"loop"!==r&&t%2==1?0:e.length-1]}(c,a)),n&&n(),d()},{then:(e,t)=>i.then(e,t),get time(){return Gse(p.currentTime||0)},set time(e){p.currentTime=Wse(e)},get speed(){return p.playbackRate},set speed(e){p.playbackRate=e},get duration(){return Gse(u)},play:()=>{l||(p.play(),Nse(f))},pause:()=>p.pause(),stop:()=>{if(l=!0,"idle"===p.playState)return;const{currentTime:t}=p;if(t){const r=xue({...a,autoplay:!1});e.setWithVelocity(r.sample(t-10).value,r.sample(t).value,10)}d()},complete:()=>p.finish(),cancel:d}}const jue={type:"spring",stiffness:500,damping:25,restSpeed:10},Cue={type:"keyframes",duration:.8},Pue={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Mue=(e,{keyframes:t})=>t.length>2?Cue:nle.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:jue:Pue,kue=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!qce.test(t)&&"0"!==t||t.startsWith("url("))),Sue=new Set(["brightness","contrast","saturate","opacity"]);function Nue(e){const[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(gle)||[];if(!n)return e;const a=r.replace(n,"");let o=Sue.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+a+")"}const Bue=/([a-z-]*)\(.*?\)/g,Vue={...qce,getAnimatableNone:e=>{const t=e.match(Bue);return t?t.map(Nue).join(" "):e}},Rue={...Sle,color:kce,backgroundColor:kce,outlineColor:kce,fill:kce,stroke:kce,borderColor:kce,borderTopColor:kce,borderRightColor:kce,borderBottomColor:kce,borderLeftColor:kce,filter:Vue,WebkitFilter:Vue},Aue=e=>Rue[e];function Tue(e,t){let r=Aue(e);return r!==Vue&&(r=qce),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const Hue=e=>/^0[^.\s]+$/.test(e);function Lue(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Hue(e):void 0}function Iue(e,t){return e[t]||e.default||e}const Fue=(e,t,r,n={})=>a=>{const o=Iue(n,e)||{},i=o.delay||n.delay||0;let{elapsed:l=0}=n;l-=Wse(i);const s=function(e,t,r,n){const a=kue(t,r);let o;o=Array.isArray(r)?[...r]:[null,r];const i=void 0!==n.from?n.from:e.get();let l;const s=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?i:o[e-1]),Lue(o[e])&&s.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(l=o[e]);if(a&&s.length&&l)for(let e=0;e<s.length;e++)o[s[e]]=Tue(t,l);return o}(t,e,r,o),c=s[0],u=s[s.length-1],h=kue(e,c),m=kue(e,u);$se(h===m,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let p={keyframes:s,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-l,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{a(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:a,repeat:o,repeatType:i,repeatDelay:l,from:s,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(p={...p,...Mue(e,p)}),p.duration&&(p.duration=Wse(p.duration)),p.repeatDelay&&(p.repeatDelay=Wse(p.repeatDelay)),!h||!m||Qse||!1===o.type)return function({keyframes:e,delay:t,onUpdate:r,onComplete:n}){const a=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:Rse,pause:Rse,stop:Rse,then:e=>(e(),Promise.resolve()),cancel:Rse,complete:Rse});return t?xue({keyframes:[0,1],duration:0,delay:t,onComplete:a}):a()}(p);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const r=Eue(t,e,p);if(r)return r}return xue(p)};function _ue(e){return Boolean(ole(e)&&e.add)}const Zue=e=>/^\-?\d*\.?\d+$/.test(e);function Due(e,t){-1===e.indexOf(t)&&e.push(t)}function que(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Uue{constructor(){this.subscriptions=[]}add(e){return Due(this.subscriptions,e),()=>que(this.subscriptions,e)}notify(e,t,r){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let a=0;a<n;a++){const n=this.subscriptions[a];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const $ue=new Set;function zue(e,t,r){e||$ue.has(t)||(console.warn(t),r&&console.warn(r),$ue.add(t))}class Wue{constructor(e,t={}){this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:r,timestamp:n}=Ose;this.lastUpdated!==n&&(this.timeDelta=r,this.lastUpdated=n,Sse.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Sse.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(e=>!isNaN(parseFloat(e)))(this.current),this.owner=t.owner}onChange(e){return"production"!==process.env.NODE_ENV&&zue(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Uue);const r=this.events[e].add(t);return"change"===e?()=>{r(),Sse.read((()=>{this.events.change.getSize()||this.stop()}))}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?tue(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Gue(e,t){return new Wue(e,t)}const Que=e=>t=>t.test(e),Yue=[ple,jle,Ele,Ole,Ple,Cle,{test:e=>"auto"===e,parse:e=>e}],Kue=e=>Yue.find(Que(e)),Xue=[...Yue,kce,qce],Jue=e=>Xue.find(Que(e));function ehe(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Gue(r))}function the(e,t){if(!t)return;return(t[e]||t.default||t).from}function rhe({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}function nhe(e,t,{delay:r=0,transitionOverride:n,type:a}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:i,...l}=e.makeTargetAnimatable(t);const s=e.getValue("willChange");n&&(o=n);const c=[],u=a&&e.animationState&&e.animationState.getState()[a];for(const t in l){const n=e.getValue(t),a=l[t];if(!n||void 0===a||u&&rhe(u,t))continue;const i={delay:r,elapsed:0,...o};if(window.HandoffAppearAnimations&&!n.hasAnimated){const r=e.getProps()[Use];r&&(i.elapsed=window.HandoffAppearAnimations(r,t,n,Sse))}n.start(Fue(t,n,a,e.shouldReduceMotion&&nle.has(t)?{type:!1}:i));const h=n.animation;_ue(s)&&(s.add(t),h.then((()=>s.remove(t)))),c.push(h)}return i&&Promise.all(c).then((()=>{i&&function(e,t){const r=qse(e,t);let{transitionEnd:n={},transition:a={},...o}=r?e.makeTargetAnimatable(r,!1):{};o={...o,...n};for(const t in o)ehe(e,t,nse(o[t]))}(e,i)})),c}function ahe(e,t,r={}){const n=qse(e,t,r.custom);let{transition:a=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(a=r.transitionOverride);const o=n?()=>Promise.all(nhe(e,n,r)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(n=0)=>{const{delayChildren:o=0,staggerChildren:i,staggerDirection:l}=a;return function(e,t,r=0,n=0,a=1,o){const i=[],l=(e.variantChildren.size-1)*n,s=1===a?(e=0)=>e*n:(e=0)=>l-e*n;return Array.from(e.variantChildren).sort(ohe).forEach(((e,n)=>{e.notify("AnimationStart",t),i.push(ahe(e,t,{...o,delay:r+s(n)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(i)}(e,t,o+n,i,l,r)}:()=>Promise.resolve(),{when:l}=a;if(l){const[e,t]="beforeChildren"===l?[o,i]:[i,o];return e().then((()=>t()))}return Promise.all([o(),i(r.delay)])}function ohe(e,t){return e.sortNodePosition(t)}const ihe=[...Fie].reverse(),lhe=Fie.length;function she(e){return t=>Promise.all(t.map((({animation:t,options:r})=>function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t)){const a=t.map((t=>ahe(e,t,r)));n=Promise.all(a)}else if("string"==typeof t)n=ahe(e,t,r);else{const a="function"==typeof t?qse(e,t,r.custom):t;n=Promise.all(nhe(e,a,r))}return n.then((()=>e.notify("AnimationComplete",t)))}(e,t,r))))}function che(e){let t=she(e);const r={animate:hhe(!0),whileInView:hhe(),whileHover:hhe(),whileTap:hhe(),whileDrag:hhe(),whileFocus:hhe(),exit:hhe()};let n=!0;const a=(t,r)=>{const n=qse(e,r);if(n){const{transition:e,transitionEnd:r,...a}=n;t={...t,...a,...r}}return t};function o(o,i){const l=e.getProps(),s=e.getVariantContext(!0)||{},c=[],u=new Set;let h={},m=1/0;for(let t=0;t<lhe;t++){const p=ihe[t],f=r[p],d=void 0!==l[p]?l[p]:s[p],v=Lie(d),g=p===i?f.isActive:null;!1===g&&(m=t);let b=d===s[p]&&d!==l[p]&&v;if(b&&n&&e.manuallyAnimateOnMount&&(b=!1),f.protectedKeys={...h},!f.isActive&&null===g||!d&&!f.prevProp||Iie(d)||"boolean"==typeof d)continue;const w=uhe(f.prevProp,d);let y=w||p===i&&f.isActive&&!b&&v||t>m&&v;const x=Array.isArray(d)?d:[d];let O=x.reduce(a,{});!1===g&&(O={});const{prevResolvedValues:E={}}=f,j={...E,...O},C=e=>{y=!0,u.delete(e),f.needsAnimating[e]=!0};for(const e in j){const t=O[e],r=E[e];h.hasOwnProperty(e)||(t!==r?tse(t)&&tse(r)?!Dse(t,r)||w?C(e):f.protectedKeys[e]=!0:void 0!==t?C(e):u.add(e):void 0!==t&&u.has(e)?C(e):f.protectedKeys[e]=!0)}f.prevProp=d,f.prevResolvedValues=O,f.isActive&&(h={...h,...O}),n&&e.blockInitialAnimation&&(y=!1),y&&!b&&c.push(...x.map((e=>({animation:e,options:{type:p,...o}}))))}if(u.size){const t={};u.forEach((r=>{const n=e.getBaseTarget(r);void 0!==n&&(t[r]=n)})),c.push({animation:t})}let p=Boolean(c.length);return n&&!1===l.initial&&!e.manuallyAnimateOnMount&&(p=!1),n=!1,p?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,n,a){var i;if(r[t].isActive===n)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach((e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n;const l=o(a,t);for(const e in r)r[e].protectedKeys={};return l},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}function uhe(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Dse(t,e)}function hhe(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let mhe=0;const phe={animation:{Feature:class extends xse{constructor(e){super(e),e.animationState||(e.animationState=che(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Iie(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends xse{constructor(){super(...arguments),this.id=mhe++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const a=this.node.animationState.setActive("exit",!e,{custom:null!=r?r:this.node.getProps().custom});t&&!e&&a.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},fhe=(e,t)=>Math.abs(e-t);class dhe{constructor(e,t,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=bhe(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){const r=fhe(e.x,t.x),n=fhe(e.y,t.y);return Math.sqrt(r**2+n**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!r)return;const{point:n}=e,{timestamp:a}=Ose;this.history.push({...n,timestamp:a});const{onStart:o,onMove:i}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),i&&i(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=vhe(t,this.transformPagePoint),Sse.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:r,onSessionEnd:n}=this.handlers,a=bhe("pointercancel"===e.type?this.lastMoveEventInfo:vhe(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,a),n&&n(e,a)},!use(e))return;this.handlers=t,this.transformPagePoint=r;const n=vhe(hse(e),this.transformPagePoint),{point:a}=n,{timestamp:o}=Ose;this.history=[{...a,timestamp:o}];const{onSessionStart:i}=t;i&&i(e,bhe(n,this.history)),this.removeListeners=dse(pse(window,"pointermove",this.handlePointerMove),pse(window,"pointerup",this.handlePointerUp),pse(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Nse(this.updatePoint)}}function vhe(e,t){return t?{point:t(e.point)}:e}function ghe(e,t){return{x:e.x-t.x,y:e.y-t.y}}function bhe({point:e},t){return{point:e,delta:ghe(e,yhe(t)),offset:ghe(e,whe(t)),velocity:xhe(t,.1)}}function whe(e){return e[0]}function yhe(e){return e[e.length-1]}function xhe(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const a=yhe(e);for(;r>=0&&(n=e[r],!(a.timestamp-n.timestamp>Wse(t)));)r--;if(!n)return{x:0,y:0};const o=Gse(a.timestamp-n.timestamp);if(0===o)return{x:0,y:0};const i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Ohe(e){return e.max-e.min}function Ehe(e,t=0,r=.01){return Math.abs(e-t)<=r}function jhe(e,t,r,n=.5){e.origin=n,e.originPoint=Sce(t.min,t.max,e.origin),e.scale=Ohe(r)/Ohe(t),(Ehe(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Sce(r.min,r.max,e.origin)-e.originPoint,(Ehe(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Che(e,t,r,n){jhe(e.x,t.x,r.x,n?n.originX:void 0),jhe(e.y,t.y,r.y,n?n.originY:void 0)}function Phe(e,t,r){e.min=r.min+t.min,e.max=e.min+Ohe(t)}function Mhe(e,t,r){e.min=t.min-r.min,e.max=e.min+Ohe(t)}function khe(e,t,r){Mhe(e.x,t.x,r.x),Mhe(e.y,t.y,r.y)}function She(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function Nhe(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}const Bhe=.35;function Vhe(e,t,r){return{min:Rhe(e,t),max:Rhe(e,r)}}function Rhe(e,t){return"number"==typeof e?e:e[t]||0}const Ahe=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),The=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Hhe(e){return[e("x"),e("y")]}function Lhe({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function Ihe(e){return void 0===e||1===e}function Fhe({scale:e,scaleX:t,scaleY:r}){return!Ihe(e)||!Ihe(t)||!Ihe(r)}function _he(e){return Fhe(e)||Zhe(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Zhe(e){return Dhe(e.x)||Dhe(e.y)}function Dhe(e){return e&&"0%"!==e}function qhe(e,t,r){return r+t*(e-r)}function Uhe(e,t,r,n,a){return void 0!==a&&(e=qhe(e,a,n)),qhe(e,r,n)+t}function $he(e,t=0,r=1,n,a){e.min=Uhe(e.min,t,r,n,a),e.max=Uhe(e.max,t,r,n,a)}function zhe(e,{x:t,y:r}){$he(e.x,t.translate,t.scale,t.originPoint),$he(e.y,r.translate,r.scale,r.originPoint)}function Whe(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ghe(e,t){e.min=e.min+t,e.max=e.max+t}function Qhe(e,t,[r,n,a]){const o=void 0!==t[a]?t[a]:.5,i=Sce(e.min,e.max,o);$he(e,t[r],t[n],i,t.scale)}const Yhe=["x","scaleX","originX"],Khe=["y","scaleY","originY"];function Xhe(e,t){Qhe(e.x,t,Yhe),Qhe(e.y,t,Khe)}function Jhe(e,t){return Lhe(function(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}const eme=new WeakMap;class tme{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=The(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;this.panSession=new dhe(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(hse(e,"page").point)},onStart:(e,t)=>{const{drag:r,dragPropagation:n,onDragStart:a}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=wse(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Hhe((e=>{let t=this.getAxisMotionValue(e).get()||0;if(Ele.test(t)){const{projection:r}=this.visualElement;if(r&&r.layout){const n=r.layout.layoutBox[e];if(n){t=Ohe(n)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),a&&Sse.update((()=>a(e,t)),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:r,dragDirectionLock:n,onDirectionLock:a,onDrag:o}=this.getProps();if(!r&&!this.openGlobalLock)return;const{offset:i}=t;if(n&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let r=null;Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x");return r}(i),void(null!==this.currentDirection&&a&&a(this.currentDirection));this.updateAxis("x",t.point,i),this.updateAxis("y",t.point,i),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:n}=t;this.startAnimation(n);const{onDragEnd:a}=this.getProps();a&&Sse.update((()=>a(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){const{drag:n}=this.getProps();if(!r||!rme(e,n,this.currentDirection))return;const a=this.getAxisMotionValue(e);let o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?Sce(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?Sce(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),a.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:r}=this.visualElement.projection||{},n=this.constraints;e&&Hie(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!r)&&function(e,{top:t,left:r,bottom:n,right:a}){return{x:She(e.x,r,a),y:She(e.y,t,n)}}(r.layoutBox,e),this.elastic=function(e=Bhe){return!1===e?e=0:!0===e&&(e=Bhe),{x:Vhe(e,"left","right"),y:Vhe(e,"top","bottom")}}(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Hhe((e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(r.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Hie(e))return!1;const r=e.current;zse(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const a=function(e,t,r){const n=Jhe(e,r),{scroll:a}=t;return a&&(Ghe(n.x,a.offset.x),Ghe(n.y,a.offset.y)),n}(r,n.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Nhe(e.x,t.x),y:Nhe(e.y,t.y)}}(n.layout.layoutBox,a);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=Lhe(e))}return o}startAnimation(e){const{drag:t,dragMomentum:r,dragElastic:n,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:i}=this.getProps(),l=this.constraints||{},s=Hhe((i=>{if(!rme(i,t,this.currentDirection))return;let s=l&&l[i]||{};o&&(s={min:0,max:0});const c=n?200:1e6,u=n?40:1e7,h={type:"inertia",velocity:r?e[i]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...a,...s};return this.startAxisValueAnimation(i,h)}));return Promise.all(s).then(i)}startAxisValueAnimation(e,t){const r=this.getAxisMotionValue(e);return r.start(Fue(e,r,0,t))}stopAnimation(){Hhe((e=>this.getAxisMotionValue(e).stop()))}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),n=r[t];return n||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Hhe((t=>{const{drag:r}=this.getProps();if(!rme(t,r,this.currentDirection))return;const{projection:n}=this.visualElement,a=this.getAxisMotionValue(t);if(n&&n.layout){const{min:r,max:o}=n.layout.layoutBox[t];a.set(e[t]-Sce(r,o,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!Hie(t)||!r||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Hhe((e=>{const t=this.getAxisMotionValue(e);if(t){const r=t.get();n[e]=function(e,t){let r=.5;const n=Ohe(e),a=Ohe(t);return a>n?r=Qce(t.min,t.max-n,e.min):n>a&&(r=Qce(e.min,e.max-a,t.min)),mle(0,1,r)}({min:r,max:r},this.constraints[e])}}));const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Hhe((t=>{if(!rme(t,e,null))return;const r=this.getAxisMotionValue(t),{min:a,max:o}=this.constraints[t];r.set(Sce(a,o,n[t]))}))}addListeners(){if(!this.visualElement.current)return;eme.set(this.visualElement,this);const e=pse(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();Hie(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),t();const a=cse(window,"resize",(()=>this.scalePositionWithinConstraints())),o=r.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Hhe((t=>{const r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))})),this.visualElement.render())}));return()=>{a(),e(),n(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:a=!1,dragElastic:o=Bhe,dragMomentum:i=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:a,dragElastic:o,dragMomentum:i}}}function rme(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}const nme=e=>(t,r)=>{e&&Sse.update((()=>e(t,r)))};const ame={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ome(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ime={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!jle.test(e))return e;e=parseFloat(e)}return`${ome(e,t.target.x)}% ${ome(e,t.target.y)}%`}},lme={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,a=qce.parse(e);if(a.length>5)return n;const o=qce.createTransformer(e),i="number"!=typeof a[0]?1:0,l=r.x.scale*t.x,s=r.y.scale*t.y;a[0+i]/=l,a[1+i]/=s;const c=Sce(l,s,.5);return"number"==typeof a[2+i]&&(a[2+i]/=c),"number"==typeof a[3+i]&&(a[3+i]/=c),o(a)}};class sme extends t.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:a}=e;var o;o=ume,Object.assign(tle,o),a&&(t.group&&t.group.add(a),r&&r.register&&n&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",(()=>{this.safeToRemove()})),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),ame.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:r,drag:n,isPresent:a}=this.props,o=r.projection;return o?(o.isPresent=a,n||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?o.promote():o.relegate()||Sse.postRender((()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function cme(e){const[r,n]=function(){const e=v(Vie);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=O();return a((()=>n(o)),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}(),o=v(Wie);return t.createElement(sme,{...e,layoutGroup:o,switchLayoutGroup:v(Gie),isPresent:r,safeToRemove:n})}const ume={borderRadius:{...ime,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ime,borderTopRightRadius:ime,borderBottomLeftRadius:ime,borderBottomRightRadius:ime,boxShadow:lme},hme=["TopLeft","TopRight","BottomLeft","BottomRight"],mme=hme.length,pme=e=>"string"==typeof e?parseFloat(e):e,fme=e=>"number"==typeof e||jle.test(e);function dme(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const vme=bme(0,.5,dce),gme=bme(.5,.95,Rse);function bme(e,t,r){return n=>n<e?0:n>t?1:r(Qce(e,t,n))}function wme(e,t){e.min=t.min,e.max=t.max}function yme(e,t){wme(e.x,t.x),wme(e.y,t.y)}function xme(e,t,r,n,a){return e=qhe(e-=t,1/r,n),void 0!==a&&(e=qhe(e,1/a,n)),e}function Ome(e,t,[r,n,a],o,i){!function(e,t=0,r=1,n=.5,a,o=e,i=e){Ele.test(t)&&(t=parseFloat(t),t=Sce(i.min,i.max,t/100)-i.min);if("number"!=typeof t)return;let l=Sce(o.min,o.max,n);e===o&&(l-=t),e.min=xme(e.min,t,r,l,a),e.max=xme(e.max,t,r,l,a)}(e,t[r],t[n],t[a],t.scale,o,i)}const Eme=["x","scaleX","originX"],jme=["y","scaleY","originY"];function Cme(e,t,r,n){Ome(e.x,t,Eme,r?r.x:void 0,n?n.x:void 0),Ome(e.y,t,jme,r?r.y:void 0,n?n.y:void 0)}function Pme(e){return 0===e.translate&&1===e.scale}function Mme(e){return Pme(e.x)&&Pme(e.y)}function kme(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Sme(e){return Ohe(e.x)/Ohe(e.y)}class Nme{constructor(){this.members=[]}add(e){Due(this.members,e),e.scheduleRender()}remove(e){if(que(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let r;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){r=t;break}}return!!r&&(this.promote(r),!0)}promote(e,t){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:n}=e.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Bme(e,t,r){let n="";const a=e.x.translate/t.x,o=e.y.translate/t.y;if((a||o)&&(n=`translate3d(${a}px, ${o}px, 0) `),1===t.x&&1===t.y||(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:e,rotateX:t,rotateY:a}=r;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),a&&(n+=`rotateY(${a}deg) `)}const i=e.x.scale*t.x,l=e.y.scale*t.y;return 1===i&&1===l||(n+=`scale(${i}, ${l})`),n||"none"}const Vme=(e,t)=>e.depth-t.depth;class Rme{constructor(){this.children=[],this.isDirty=!1}add(e){Due(this.children,e),this.isDirty=!0}remove(e){que(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Vme),this.isDirty=!1,this.children.forEach(e)}}const Ame=["","X","Y","Z"];let Tme=0;const Hme={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Lme({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:a}){return class{constructor(e={},r=(null==t?void 0:t())){this.id=Tme++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;Hme.totalNodes=Hme.resolvedTargetDeltas=Hme.recalculatedProjection=0,this.nodes.forEach(_me),this.nodes.forEach(Wme),this.nodes.forEach(Gme),this.nodes.forEach(Zme),e=Hme,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Rme)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Uue),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;var n;this.isSVG=(n=t)instanceof SVGElement&&"svg"!==n.tagName,this.instance=t;const{layoutId:a,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(o||a)&&(this.isLayoutDirty=!0),e){let r;const n=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){const r=performance.now(),n=({timestamp:a})=>{const o=a-r;o>=t&&(Nse(n),e(o-t))};return Sse.read(n,!0),()=>Nse(n)}(n,250),ame.hasAnimatedSinceResize&&(ame.hasAnimatedSinceResize=!1,this.nodes.forEach(zme))}))}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&i&&(a||o)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const a=this.options.transition||i.getDefaultTransition()||epe,{onLayoutAnimationStart:o,onLayoutAnimationComplete:l}=i.getProps(),s=!this.targetLayout||!kme(this.targetLayout,n)||r,c=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(s||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Iue(a,"layout"),onPlay:o,onComplete:l};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||zme(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Nse(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Qme),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;const n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(qme);this.isUpdating||this.nodes.forEach(Ume),this.isUpdating=!1,this.nodes.forEach($me),this.nodes.forEach(Ime),this.nodes.forEach(Fme),this.clearAllSnapshots();const e=performance.now();Ose.delta=mle(0,1e3/60,e-Ose.timestamp),Ose.timestamp=e,Ose.isProcessing=!0,Pse.update.process(Ose),Pse.preRender.process(Ose),Pse.render.process(Ose),Ose.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask((()=>this.update())))}clearAllSnapshots(){this.nodes.forEach(Dme),this.sharedNodes.forEach(Yme)}scheduleUpdateProjection(){Sse.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Sse.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=The(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!a)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Mme(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&(t||_he(this.latestValues)||o)&&(a(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let r=this.removeElementScroll(t);var n;return e&&(r=this.removeTransform(r)),tpe((n=r).x),tpe(n.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return The();const t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(Ghe(t.x,r.offset.x),Ghe(t.y,r.offset.y)),t}removeElementScroll(e){const t=The();yme(t,e);for(let r=0;r<this.path.length;r++){const n=this.path[r],{scroll:a,options:o}=n;if(n!==this.root&&a&&o.layoutScroll){if(a.isRoot){yme(t,e);const{scroll:r}=this.root;r&&(Ghe(t.x,-r.offset.x),Ghe(t.y,-r.offset.y))}Ghe(t.x,a.offset.x),Ghe(t.y,a.offset.y)}}return t}applyTransform(e,t=!1){const r=The();yme(r,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&Xhe(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),_he(n.latestValues)&&Xhe(r,n.latestValues)}return _he(this.latestValues)&&Xhe(r,this.latestValues),r}removeTransform(e){const t=The();yme(t,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];if(!r.instance)continue;if(!_he(r.latestValues))continue;Fhe(r.latestValues)&&r.updateSnapshot();const n=The();yme(n,r.measurePageBox()),Cme(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return _he(this.latestValues)&&Cme(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ose.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const r=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=r.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==r;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:a,layoutId:o}=this.options;if(this.layout&&(a||o)){if(this.resolvedRelativeTargetAt=Ose.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=The(),this.relativeTargetOrigin=The(),khe(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),yme(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var i,l,s;if(this.target||(this.target=The(),this.targetWithTransforms=The()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),i=this.target,l=this.relativeTarget,s=this.relativeParent.target,Phe(i.x,l.x,s.x),Phe(i.y,l.y,s.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):yme(this.target,this.layout.layoutBox),zhe(this.target,this.targetDelta)):yme(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=The(),this.relativeTargetOrigin=The(),khe(this.relativeTargetOrigin,this.target,e.target),yme(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Hme.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Fhe(this.parent.latestValues)&&!Zhe(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),r=Boolean(this.resumingFrom)||this!==t;let n=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Ose.timestamp&&(n=!1),n)return;const{layout:a,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!a&&!o)return;yme(this.layoutCorrected,this.layout.layoutBox);const i=this.treeScale.x,l=this.treeScale.y;!function(e,t,r,n=!1){const a=r.length;if(!a)return;let o,i;t.x=t.y=1;for(let l=0;l<a;l++){o=r[l],i=o.projectionDelta;const a=o.instance;a&&a.style&&"contents"===a.style.display||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Xhe(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,zhe(e,i)),n&&_he(o.latestValues)&&Xhe(e,o.latestValues))}t.x=Whe(t.x),t.y=Whe(t.y)}(this.layoutCorrected,this.treeScale,this.path,r),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:s}=t;if(!s)return void(this.projectionTransform&&(this.projectionDelta=Ahe(),this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta=Ahe(),this.projectionDeltaWithTransform=Ahe());const c=this.projectionTransform;Che(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.projectionTransform=Bme(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===i&&this.treeScale.y===l||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),Hme.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const r=this.snapshot,n=r?r.latestValues:{},a={...this.latestValues},o=Ahe();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const i=The(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),s=this.getStack(),c=!s||s.members.length<=1,u=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(Jme));let h;this.animationProgress=0,this.mixTargetDelta=t=>{const r=t/1e3;Kme(o.x,e.x,r),Kme(o.y,e.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(khe(i,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,r,n){Xme(e.x,t.x,r.x,n),Xme(e.y,t.y,r.y,n)}(this.relativeTarget,this.relativeTargetOrigin,i,r),h&&kme(this.relativeTarget,h)&&(this.isProjectionDirty=!1),h||(h=The()),yme(h,this.relativeTarget)),l&&(this.animationValues=a,function(e,t,r,n,a,o){a?(e.opacity=Sce(0,void 0!==r.opacity?r.opacity:1,vme(n)),e.opacityExit=Sce(void 0!==t.opacity?t.opacity:1,0,gme(n))):o&&(e.opacity=Sce(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let a=0;a<mme;a++){const o=`border${hme[a]}Radius`;let i=dme(t,o),l=dme(r,o);void 0===i&&void 0===l||(i||(i=0),l||(l=0),0===i||0===l||fme(i)===fme(l)?(e[o]=Math.max(Sce(pme(i),pme(l),n),0),(Ele.test(l)||Ele.test(i))&&(e[o]+="%")):e[o]=l)}(t.rotate||r.rotate)&&(e.rotate=Sce(t.rotate||0,r.rotate||0,n))}(a,n,this.latestValues,r,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Nse(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Sse.update((()=>{ame.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){const n=ole(e)?e:Gue(e);return n.start(Fue("",n,t,r)),n.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:r,layout:n,latestValues:a}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&rpe(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||The();const t=Ohe(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;const n=Ohe(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}yme(t,r),Xhe(t,a),Che(this.projectionDeltaWithTransform,this.layoutCorrected,t,a)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Nme);this.sharedNodes.get(e).add(t);const r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){const n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(t=!0),!t)return;const n={};for(let t=0;t<Ame.length;t++){const a="rotate"+Ame[t];r[a]&&(n[a]=r[a],e.setStaticValue(a,0))}e.render();for(const t in n)e.setStaticValue(t,n[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,r;const n={};if(!this.instance||this.isSVG)return n;if(!this.isVisible)return{visibility:"hidden"};n.visibility="";const a=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=ase(e.pointerEvents)||"",n.transform=a?a(this.latestValues,""):"none",n;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ase(e.pointerEvents)||""),this.hasProjected&&!_he(this.latestValues)&&(t.transform=a?a({},""):"none",this.hasProjected=!1),t}const i=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=Bme(this.projectionDeltaWithTransform,this.treeScale,i),a&&(n.transform=a(i,n.transform));const{x:l,y:s}=this.projectionDelta;n.transformOrigin=`${100*l.origin}% ${100*s.origin}% 0`,o.animationValues?n.opacity=o===this?null!==(r=null!==(t=i.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:n.opacity=o===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0;for(const e in tle){if(void 0===i[e])continue;const{correct:t,applyTo:r}=tle[e],a="none"===n.transform?i[e]:t(i[e],o);if(r){const e=r.length;for(let t=0;t<e;t++)n[r[t]]=a}else n[e]=a}return this.options.layoutId&&(n.pointerEvents=o===this?ase(e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(qme),this.root.sharedNodes.clear()}}}function Ime(e){e.updateLayout()}function Fme(e){var t;const r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:n}=e.layout,{animationType:a}=e.options,o=r.source!==e.layout.source;"size"===a?Hhe((e=>{const n=o?r.measuredBox[e]:r.layoutBox[e],a=Ohe(n);n.min=t[e].min,n.max=n.min+a})):rpe(a,r.layoutBox,t)&&Hhe((n=>{const a=o?r.measuredBox[n]:r.layoutBox[n],i=Ohe(t[n]);a.max=a.min+i,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+i)}));const i=Ahe();Che(i,t,r.layoutBox);const l=Ahe();o?Che(l,e.applyTransform(n,!0),r.measuredBox):Che(l,t,r.layoutBox);const s=!Mme(i);let c=!1;if(!e.resumeFrom){const n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:a,layout:o}=n;if(a&&o){const i=The();khe(i,r.layoutBox,a.layoutBox);const l=The();khe(l,t,o.layoutBox),kme(i,l)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=i,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:l,layoutDelta:i,hasLayoutChanged:s,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function _me(e){Hme.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Zme(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Dme(e){e.clearSnapshot()}function qme(e){e.clearMeasurements()}function Ume(e){e.isLayoutDirty=!1}function $me(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function zme(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Wme(e){e.resolveTargetDelta()}function Gme(e){e.calcProjection()}function Qme(e){e.resetRotation()}function Yme(e){e.removeLeadSnapshot()}function Kme(e,t,r){e.translate=Sce(t.translate,0,r),e.scale=Sce(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Xme(e,t,r,n){e.min=Sce(t.min,r.min,n),e.max=Sce(t.max,r.max,n)}function Jme(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const epe={duration:.45,ease:[.4,0,.1,1]};function tpe(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function rpe(e,t,r){return"position"===e||"preserve-aspect"===e&&!Ehe(Sme(t),Sme(r),.2)}const npe=Lme({attachResizeListener:(e,t)=>cse(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ape={current:void 0},ope=Lme({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ape.current){const e=new npe({});e.mount(window),e.setOptions({layoutScroll:!0}),ape.current=e}return ape.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),ipe={pan:{Feature:class extends xse{constructor(){super(...arguments),this.removePointerDownListener=Rse}onPointerDown(e){this.session=new dhe(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:nme(e),onStart:nme(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&Sse.update((()=>n(e,t)))}}}mount(){this.removePointerDownListener=pse(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends xse{constructor(e){super(e),this.removeGroupControls=Rse,this.removeListeners=Rse,this.controls=new tme(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Rse}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ope,MeasureLayout:cme}},lpe=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;const spe=4;function cpe(e,t,r=1){zse(r<=spe,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[n,a]=function(e){const t=lpe.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]}(e);if(!n)return;const o=window.getComputedStyle(t).getPropertyValue(n);return o?o.trim():ule(a)?cpe(a,t,r+1):a}const upe=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),hpe=e=>upe.has(e),mpe=e=>e===ple||e===jle,ppe=(e,t)=>parseFloat(e.split(", ")[t]),fpe=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;const a=n.match(/^matrix3d\((.+)\)$/);if(a)return ppe(a[1],t);{const t=n.match(/^matrix\((.+)\)$/);return t?ppe(t[1],e):0}},dpe=new Set(["x","y","z"]),vpe=rle.filter((e=>!dpe.has(e)));const gpe={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:fpe(4,13),y:fpe(5,14)},bpe=(e,t,r={},n={})=>{t={...t},n={...n};const a=Object.keys(t).filter(hpe);let o=[],i=!1;const l=[];if(a.forEach((a=>{const s=e.getValue(a);if(!e.hasValue(a))return;let c=r[a],u=Kue(c);const h=t[a];let m;if(tse(h)){const e=h.length,t=null===h[0]?1:0;c=h[t],u=Kue(c);for(let r=t;r<e&&null!==h[r];r++)m?zse(Kue(h[r])===m,"All keyframes must be of the same type"):(m=Kue(h[r]),zse(m===u||mpe(u)&&mpe(m),"Keyframes must be of the same dimension as the current value"))}else m=Kue(h);if(u!==m)if(mpe(u)&&mpe(m)){const e=s.get();"string"==typeof e&&s.set(parseFloat(e)),"string"==typeof h?t[a]=parseFloat(h):Array.isArray(h)&&m===jle&&(t[a]=h.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==m?void 0:m.transform)&&(0===c||0===h)?0===c?s.set(m.transform(c)):t[a]=u.transform(h):(i||(o=function(e){const t=[];return vpe.forEach((r=>{const n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t.length&&e.render(),t}(e),i=!0),l.push(a),n[a]=void 0!==n[a]?n[a]:t[a],s.jump(h))})),l.length){const r=l.indexOf("height")>=0?window.pageYOffset:null,a=((e,t,r)=>{const n=t.measureViewportBox(),a=t.current,o=getComputedStyle(a),{display:i}=o,l={};"none"===i&&t.setStaticValue("display",e.display||"block"),r.forEach((e=>{l[e]=gpe[e](n,o)})),t.render();const s=t.measureViewportBox();return r.forEach((r=>{const n=t.getValue(r);n&&n.jump(l[r]),e[r]=gpe[r](s,o)})),e})(t,e,l);return o.length&&o.forEach((([t,r])=>{e.getValue(t).set(r)})),e.render(),Rie&&null!==r&&window.scrollTo({top:r}),{target:a,transitionEnd:n}}return{target:t,transitionEnd:n}};function wpe(e,t,r,n){return(e=>Object.keys(e).some(hpe))(t)?bpe(e,t,r,n):{target:t,transitionEnd:n}}const ype=(e,t,r,n)=>{const a=function(e,{...t},r){const n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach((e=>{const t=e.get();if(!ule(t))return;const r=cpe(t,n);r&&e.set(r)}));for(const e in t){const a=t[e];if(!ule(a))continue;const o=cpe(a,n);o&&(t[e]=o,r||(r={}),void 0===r[e]&&(r[e]=a))}return{target:t,transitionEnd:r}}(e,t,n);return wpe(e,t=a.target,r,n=a.transitionEnd)},xpe={current:null},Ope={current:!1};const Epe=new WeakMap,jpe=Object.keys(zie),Cpe=jpe.length,Ppe=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Mpe=_ie.length;class kpe{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Sse.render(this.render,!1,!0);const{latestValues:i,renderState:l}=a;this.latestValues=i,this.baseTarget={...i},this.initialValues=t.initial?{...i}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=Zie(t),this.isVariantNode=Die(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:s,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==i[e]&&ole(t)&&(t.set(i[e],!1),_ue(s)&&s.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Epe.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),Ope.current||function(){if(Ope.current=!0,Rie)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>xpe.current=e.matches;e.addListener(t),t()}else xpe.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||xpe.current),"production"!==process.env.NODE_ENV&&zue(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Epe.delete(this.current),this.projection&&this.projection.unmount(),Nse(this.notifyUpdate),Nse(this.render),this.valueSubscriptions.forEach((e=>e())),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const r=nle.has(e),n=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&Sse.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)})),a=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(()=>{n(),a()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,n,a){let o,i;if("production"!==process.env.NODE_ENV&&n&&r){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?$se(!1,e):zse(!1,e)}for(let e=0;e<Cpe;e++){const r=jpe[e],{isEnabled:n,Feature:a,ProjectionNode:l,MeasureLayout:s}=zie[r];l&&(o=l),n(t)&&(!this.features[r]&&a&&(this.features[r]=new a(this)),s&&(i=s))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:r,drag:n,dragConstraints:i,layoutScroll:l,layoutRoot:s}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:Boolean(n)||i&&Hie(i),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:a,layoutScroll:l,layoutRoot:s})}return i}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):The()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Ppe.length;t++){const r=Ppe[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){const{willChange:n}=t;for(const a in t){const o=t[a],i=r[a];if(ole(o))e.addValue(a,o),_ue(n)&&n.add(a),"development"===process.env.NODE_ENV&&zue("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(ole(i))e.addValue(a,Gue(o,{owner:e})),_ue(n)&&n.remove(a);else if(i!==o)if(e.hasValue(a)){const t=e.getValue(a);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(a);e.addValue(a,Gue(void 0!==t?t:o,{owner:e}))}}for(const n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<Mpe;e++){const r=_ie[e],n=this.props[r];(Lie(n)||!1===n)&&(t[r]=n)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=Gue(t,{owner:this}),this.addValue(e,r)),r}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(t=Jle(this.props,r))||void 0===t?void 0:t[e]:void 0;if(r&&void 0!==n)return n;const a=this.getBaseTargetFromProps(this.props,e);return void 0===a||ole(a)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:a}on(e,t){return this.events[e]||(this.events[e]=new Uue),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Spe extends kpe{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},a){let o=function(e,t,r){const n={};for(const a in e){const e=the(a,t);if(void 0!==e)n[a]=e;else{const e=r.getValue(a);e&&(n[a]=e.get())}}return n}(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),o&&(o=n(o))),a){!function(e,t,r){var n,a;const o=Object.keys(t).filter((t=>!e.hasValue(t))),i=o.length;if(i)for(let l=0;l<i;l++){const i=o[l],s=t[i];let c=null;Array.isArray(s)&&(c=s[0]),null===c&&(c=null!==(a=null!==(n=r[i])&&void 0!==n?n:e.readValue(i))&&void 0!==a?a:t[i]),null!=c&&("string"==typeof c&&(Zue(c)||Hue(c))?c=parseFloat(c):!Jue(c)&&qce.test(s)&&(c=Tue(i,s)),e.addValue(i,Gue(c,{owner:e})),void 0===r[i]&&(r[i]=c),null!==c&&e.setBaseTarget(i,c))}}(this,r,o);const e=ype(this,r,o,t);t=e.transitionEnd,r=e.target}return{transition:e,transitionEnd:t,...r}}}class Npe extends Spe{readValueFromInstance(e,t){if(nle.has(t)){const e=Aue(t);return e&&e.default||0}{const n=(r=e,window.getComputedStyle(r)),a=(cle(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof a?a.trim():a}var r}measureInstanceViewportBox(e,{transformPagePoint:t}){return Jhe(e,t)}build(e,t,r,n){Nle(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Kle(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;ole(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}renderInstance(e,t,r,n){Gle(e,t,r,n)}}class Bpe extends Spe{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(nle.has(t)){const e=Aue(t);return e&&e.default||0}return t=Qle.has(t)?t:Wle(t),e.getAttribute(t)}measureInstanceViewportBox(){return The()}scrapeMotionValuesFromProps(e,t){return Xle(e,t)}build(e,t,r,n){Dle(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){Yle(e,t,0,n)}mount(e){this.isSVGTag=Ule(e.tagName),super.mount(e)}}const Vpe=(e,t)=>ele(e)?new Bpe(t,{enableHardwareAcceleration:!1}):new Npe(t,{enableHardwareAcceleration:!0}),Rpe={...phe,...Zse,...ipe,...{layout:{ProjectionNode:ope,MeasureLayout:cme}}},Ape=Xie(((e,t)=>function(e,{forwardMotionProps:t=!1},r,n){return{...ele(e)?lse:sse,preloadedFeatures:r,useRender:zle(t),createVisualElement:n,Component:e}}(e,t,Rpe,Vpe)));function Tpe(){const e=n(!1);return Aie((()=>(e.current=!0,()=>{e.current=!1})),[]),e}class Hpe extends e.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Lpe({children:t,isPresent:r}){const a=O(),o=n(null),i=n({width:0,height:0,top:0,left:0});return x((()=>{const{width:e,height:t,top:n,left:l}=i.current;if(r||!o.current||!e||!t)return;o.current.dataset.motionPopId=a;const s=document.createElement("style");return document.head.appendChild(s),s.sheet&&s.sheet.insertRule(`\n [data-motion-pop-id="${a}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${n}px !important;\n left: ${l}px !important;\n }\n `),()=>{document.head.removeChild(s)}}),[r]),e.createElement(Hpe,{isPresent:r,childRef:o,sizeRef:i},e.cloneElement(t,{ref:o}))}const Ipe=({children:t,initial:r,isPresent:n,onExitComplete:a,custom:o,presenceAffectsLayout:i,mode:l})=>{const s=ese(Fpe),c=O(),u=y((()=>({id:c,initial:r,isPresent:n,custom:o,onExitComplete:e=>{s.set(e,!0);for(const e of s.values())if(!e)return;a&&a()},register:e=>(s.set(e,!1),()=>s.delete(e))})),i?void 0:[n]);return y((()=>{s.forEach(((e,t)=>s.set(t,!1)))}),[n]),e.useEffect((()=>{!n&&!s.size&&a&&a()}),[n]),"popLayout"===l&&(t=e.createElement(Lpe,{isPresent:n},t)),e.createElement(Vie.Provider,{value:u},t)};function Fpe(){return new Map}const _pe=e=>e.key||"";const Zpe=({children:t,custom:o,initial:i=!0,onExitComplete:l,exitBeforeEnter:c,presenceAffectsLayout:u=!0,mode:h="sync"})=>{zse(!c,"Replace exitBeforeEnter with mode='wait'");const m=v(Wie).forceRender||function(){const e=Tpe(),[t,n]=r(0),a=w((()=>{e.current&&n(t+1)}),[t]);return[w((()=>Sse.postRender(a)),[a]),t]}()[0],d=Tpe(),g=function(e){const t=[];return s.forEach(e,(e=>{p(e)&&t.push(e)})),t}(t);let b=g;const y=n(new Map).current,x=n(b),O=n(new Map).current,E=n(!0);var j;if(Aie((()=>{E.current=!1,function(e,t){e.forEach((e=>{const r=_pe(e);t.set(r,e)}))}(g,O),x.current=b})),j=()=>{E.current=!0,O.clear(),y.clear()},a((()=>()=>j()),[]),E.current)return e.createElement(e.Fragment,null,b.map((t=>e.createElement(Ipe,{key:_pe(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:u,mode:h},t))));b=[...b];const C=x.current.map(_pe),P=g.map(_pe),M=C.length;for(let e=0;e<M;e++){const t=C[e];-1!==P.indexOf(t)||y.has(t)||y.set(t,void 0)}return"wait"===h&&y.size&&(b=[]),y.forEach(((t,r)=>{if(-1!==P.indexOf(r))return;const n=O.get(r);if(!n)return;const a=C.indexOf(r);let i=t;if(!i){const t=()=>{O.delete(r),y.delete(r);const e=x.current.findIndex((e=>e.key===r));if(x.current.splice(e,1),!y.size){if(x.current=g,!1===d.current)return;m(),l&&l()}};i=e.createElement(Ipe,{key:_pe(n),isPresent:!1,onExitComplete:t,custom:o,presenceAffectsLayout:u,mode:h},n),y.set(r,i)}b.splice(a,0,i)})),b=b.map((t=>{const r=t.key;return y.has(r)?t:e.createElement(Ipe,{key:_pe(t),isPresent:!0,presenceAffectsLayout:u,mode:h},t)})),"production"!==process.env.NODE_ENV&&"wait"===h&&b.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),e.createElement(e.Fragment,null,y.size?b:b.map((e=>f(e))))};function Dpe(e){return t.createElement(t.Fragment,null,t.createElement("a",{href:e.linkUrl,target:e.isExternalLink?"_blank":"",rel:e.isExternalLink?"noopener noreferrer":"",className:"rounded-2xl hover:shadow-xl p-8 h-full flex flex-col justify-between group/sc border border-neutral-200 hover:border-opacity-0 min-h-[260px] group"},t.createElement(t.Fragment,null,t.createElement("div",{className:"flex items-center justify-between pb-5"},e.brandImageUrl&&e.brandImageAlt&&t.createElement("div",{className:"max-h-[64px]"},t.createElement("img",{src:e.brandImageUrl,alt:e.brandImageAlt,className:"max-h-[44px] brightness-0 transition ease-in-out duration-300 group-hover:brightness-100"})),e.iconVariant&&t.createElement("div",{className:"hidden tb:flex flex-row relative "},e.iconTag&&t.createElement("div",{className:"gap-2 items-center transition-all duration-[350ms] group-hover/sc:opacity-100 inline-flex flex-row translate-x-0 group-hover/sc:-translate-x-5"},t.createElement(mz,{height:"w-6 h-6 stroke-[1.5px]",variant:e.iconArrowVariant??"",strokeClass:"stroke-neutral-400"}),t.createElement("div",{className:" opacity-0 group-hover/sc:opacity-100 transition-opacity duration-[350ms] "},t.createElement(ce,{textStyle:"body3-medium",className:"hidden text-neutral-400 group-hover/sc:block"},e.iconTag))))),e.description&&t.createElement("div",null,t.createElement("div",{className:"translate-y-10 group-hover/sc:translate-y-0 duration-300 transition-all"},t.createElement(ce,{textStyle:"body1c",className:`${A(e.descTextColor)} mt-2`},e.description)),t.createElement("div",{className:"translate-y-8 transition-all group-hover/sc:translate-y-0 opacity-0 group-hover/sc:opacity-100 duration-300 group-hover/sc:flex"},t.createElement("div",{className:"flex"},t.createElement(V8,{label:e.readMoreBtn.cta_text??"Read More",type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"",className:" mt-[14px]"})))))))}function qpe(e){return t.createElement(t.Fragment,null,t.createElement("div",{className:"flex flex-col-reverse px-6 py-10 tb-l:px-0 tb-l:py-0 tb-l:flex-row tb-l:gap-10 db:gap-32 tb-l:max-w-7xl min-h-[742px] tb-l:min-h-[518px]"},t.createElement("div",{className:"flex flex-col tb-l:pl-20 tb-l:pt-14 tb-l:pb-14"},e.tagline&&t.createElement(ce,{textStyle:"h6",className:"text-blue-400 tb-l:block uppercase mb-2 hidden "},e.tagline),e.brandImageURL&&e.brandImageAlt&&t.createElement("div",{className:"tb-l:flex hidden -ml-2 pb-1 justify-start"},t.createElement("img",{src:e.brandImageURL,alt:e.brandImageAlt,className:"max-h-[64px]"})),e.title&&t.createElement("div",{className:"flex flex-col gap-6 tb-l:max-w-[547px] "},t.createElement(ce,{textStyle:"h3",className:"text-neutral-1000 tb-l:block hidden min-h-[144px] overflow-clip"},e.title),e.heroList&&t.createElement("div",null,t.createElement("div",{className:"flex flex-col pt-6 tb-l:pt-0 gap-4"},e.heroList.map(((e,r)=>t.createElement("div",{key:r,className:"flex gap-5"},t.createElement(mz,{height:"tb:h-8 tb:w-8 h-6 w-6",variant:e.iconVariant,strokeClass:e.strokeClass??"stroke-neutral-800"}),t.createElement(ce,{textStyle:"sub2",className:"text-neutral-700"},e.title))))))),e.CTA&&t.createElement("div",{className:"mt-10 tb:flex"},t.createElement("a",{href:e.CTA.url},t.createElement(V8,{label:e.CTA.text,type:"secondary",size:"md",rightAnimatedArrowColor:"#3970FD"})))),e.heroImageURL&&e.heroImageAlt?t.createElement(t.Fragment,null,t.createElement("div",{className:"flex justify-center tb:justify-start tb-l:justify-end tb-l:pt-14 tb:max-w-[600px]"},t.createElement("img",{src:e.heroImageURL,alt:e.heroImageAlt,className:"rounded-xl tb-l:rounded-none tb-l:rounded-br-3xl tb-l:rounded-tl-3xl w-full h-auto object-cover db-s:max-w-[650px] tb-l:max-w-[600px] tb:max-w-[420px] "}))):t.createElement(t.Fragment,null,e.video_url&&t.createElement("div",{className:"flex mt-4 tb:mt-0 tb:items-end tb:max-w-[600px] tb-l:min-w-[550px]"},t.createElement("video",{autoPlay:!0,loop:!0,playsInline:!0,muted:!0,src:e.video_url,className:" rounded-xl tb-l:rounded-none tb-l:rounded-br-3xl tb-l:rounded-tl-3xl"}))),t.createElement("div",{className:"tb-l:hidden pb-6"},e.brandImageURL&&e.brandImageAlt&&t.createElement("div",{className:"pb-1 -ml-1 "},t.createElement("img",{src:e.brandImageURL,alt:e.brandImageAlt,className:"max-h-[40px]"})),t.createElement("div",{className:"text-neutral-1000 text-hds-m-h4 tb:text-hds-t-h3 db:text-hds-d-h3"},e.title)),e.tagline&&t.createElement(ce,{textStyle:"h6",className:"text-blue-400 tb-l:hidden uppercase"},e.tagline)))}function Upe(e){return t.createElement(t.Fragment,null,t.createElement("div",null,e.eventBadge&&t.createElement("div",{className:"pb-2"},t.createElement(x8,{color:e.badgeColor??"green",children:e.eventBadge})),e.title&&t.createElement(ce,{textStyle:"h3",as:"h1",className:A(e.titleTextColor)+" pb-6"},e.title),(e.eventDate||e.eventTime||e.eventLocation||e.social)&&t.createElement("div",{className:"flex tb:divide-x divide-y tb:divide-y-0 divide-neutral-200 pb-6 tb:flex-row flex-col"},e.eventDate&&t.createElement("div",{className:"flex flex-col tb:pr-6 pb-4 tb:pb-0 gap-1"},t.createElement("div",{className:"flex gap-2 items-center"},t.createElement(mz,{height:"h-[18px] w-[18px]",variant:"calendar",strokeClass:"stroke-neutral-600 stroke-2"}),t.createElement(ce,{textStyle:"h6",className:"capitalize text-neutral-600"},"WHEN")),t.createElement(ce,{textStyle:"sub2",className:"text-neutral-700"},e.eventDate)),e.eventTime&&t.createElement("div",{className:"flex flex-col tb:px-6 py-4 tb:py-0 gap-1"},t.createElement("div",{className:"flex gap-2 items-center"},t.createElement(mz,{height:"h-[18px] w-[18px]",variant:"clock",strokeClass:"stroke-neutral-600 stroke-2"}),t.createElement(ce,{textStyle:"h6",className:"capitalize text-neutral-600"},"TIME")),t.createElement(ce,{textStyle:"sub2",className:"text-neutral-700"},e.eventTime)),e.eventLocation&&t.createElement("div",{className:"flex flex-col tb:px-6 py-4 tb:py-0 gap-1 "},t.createElement("div",{className:"flex gap-2 items-center"},t.createElement(mz,{height:"h-[18px] w-[18px]",variant:"markerpin03",strokeClass:"stroke-neutral-600 stroke-2"}),t.createElement(ce,{textStyle:"h6",className:"capitalize text-neutral-600"},"WHERE")),t.createElement(ce,{textStyle:"sub2",className:"text-neutral-700"},e.eventLocation)),e.social&&t.createElement("div",{className:"px-6 flex flex-wrap gap-4 items-center"},e.social&&e.social.twitter&&t.createElement("a",{href:e.social.twitter},t.createElement(mz,{variant:"twitter",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"})),e.social&&e.social.linkedin&&t.createElement("a",{href:e.social.linkedin},t.createElement(mz,{variant:"linkedin",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"})),e.social&&e.social.facebook&&t.createElement("a",{href:e.social.facebook},t.createElement(mz,{variant:"facebookBlue",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"})))),e.subtitle&&t.createElement(ce,{textStyle:"h5",className:"text-neutral-700 pb-2"},e.subtitle),e.description&&t.createElement(ce,{textStyle:"sub2",className:"text-neutral-700 pb-6 [&>p]:pb-2 [&>p>img]:mt-4 [&>p>img]:max-w-[420px] [&>p>img]:w-full [&>p>img:nth-child(2)]:max-w-[140px] last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-1 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p>a:hover]:text-blue-800 "},t.createElement(iie,null,e.description)),e.speakers&&t.createElement("div",{className:"pt-6 border-t border-neutral-200 gap-8 flex flex-wrap"},e.speakers&&e.speakers.map(((e,r)=>{return t.createElement("div",{key:r},(n=e.speakerName,a=e.speakerDesignation,o=e.speakerImgUrl,t.createElement("div",{className:""},t.createElement(g8,{name:n,size:"md",designation:a,imageUrl:o,avatarVariant:"circle",avatarType:"primary"}))));var n,a,o})))))}function $pe({disabled:e,label:n,helper:a,size:o,placeholder:i,onChange:l}){const[s,c]=r("");return t.createElement("div",null,t.createElement("label",{htmlFor:"email",className:"ml-4 block text-sm-medium text-neutral-800"},n),t.createElement("div",{className:"mt-1"},t.createElement("input",{type:"email",name:"email",id:"email",disabled:e,className:"block w-full rounded-full border-neutral-200 shadow-none text-neutral-800 focus:outline-none focus:border-neutral-200 focus:shadow-[0_0px_0px_4px_#DFE8FF] focus:ring-0 hover:shadow hover:border-neutral-300 placeholder:text-neutral-500 placeholder:text-md-regular disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200",placeholder:i,"aria-describedby":"email-description",onChange:e=>{const t=e.target.value;c(t),l&&l(t)}})),t.createElement("p",{className:"mt-2 ml-4 text-sm-regular text-neutral-800",id:"email-description"},a))}function zpe({label:e,helper:n,size:a,placeholder:o,rightIconVariant:i,rightIconColor:l,disabled:s,onChange:c}){const[u,h]=r("");return t.createElement("div",null,t.createElement("label",{htmlFor:"email",className:"block ml-4 text-sm-medium text-neutral-800"},e),t.createElement("div",{className:"relative mt-1 rounded-full shadow-sm"},t.createElement("input",{type:"email",name:"email",id:"email",className:"block w-full rounded-full shadow border-pink-500 focus:border-pink-500 focus:outline-none focus:ring-pink-500 sm:text-sm focus:shadow-[0_0px_0px_4px_#FFE6F0] placeholder:text-neutral-500 placeholder:text-md-regular ",placeholder:o,defaultValue:"adamwathan","aria-invalid":"true","aria-describedby":"email-error",onChange:e=>{const t=e.target.value;h(t),c&&c(t)}}),t.createElement("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-4"},i&&"none"!==i&&t.createElement("div",{className:" ml-1.5 h-4 w-4"},t.createElement(mz,{variant:i,strokeColor:l})))),t.createElement("p",{className:"mt-2 ml-4 text-xs-regular text-pink-600",id:"email-error"},n))}function Wpe({label:e,helper:n,size:a,placeholder:o,leftIconVariant:i,leftIconColor:l,disabled:s,onChange:c}){return r(""),t.createElement("div",null,t.createElement("label",{htmlFor:"email",className:"block text-sm-medium text-neutral-800"},e),t.createElement("div",{className:"relative mt-1 rounded-md shadow-sm"},t.createElement("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},i&&"none"!==i&&t.createElement("div",{className:"-ml-0.5 mr-2 h-4 w-4"},t.createElement(mz,{variant:i,strokeColor:l}))),t.createElement("input",{type:"email",name:"email",id:"email",disabled:s,className:"block w-full rounded-md border-gray-300 pl-10 focus:border-indigo-500 focus:ring-indigo-500 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 sm:text-sm",placeholder:o})),t.createElement("p",{className:"mt-2 text-sm-regular text-neutral-800",id:"email-description"},n))}function Gpe({label:e,helper:n,size:a,placeholder:o,rightIconVariant:i,rightIconColor:l,disabled:s,onChange:c}){const[u,h]=r("");return t.createElement("div",null,t.createElement("label",{htmlFor:"account-number",className:"block text-sm-medium ml-4 text-neutral-800"},e),t.createElement("div",{className:"relative mt-1 rounded-full shadow-sm"},t.createElement("input",{type:"text",name:"account-number",id:"account-number",disabled:s,className:"block w-full rounded-full border-gray-300 pr-10 focus:border-indigo-500 focus:ring-indigo-500 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 sm:text-sm",placeholder:"000-00-0000",onChange:e=>{const t=e.target.value;h(t),c&&c(t)}}),t.createElement("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-4"},i&&"none"!==i&&t.createElement("div",{className:" ml-1.5 h-4 w-4"},t.createElement(mz,{variant:i,strokeColor:l})))),t.createElement("p",{className:"mt-2 ml-4 text-sm-regular text-neutral-800",id:"email-description"},n))}function Qpe({disabled:e,label:n,helper:a,size:o,placeholder:i,dropOptions:l,onChange:s}){return r(""),t.createElement("div",null,t.createElement("label",{htmlFor:"phone-number",className:"block text-sm-medium text-neutral-800"},n),t.createElement("div",{className:"relative mt-1"},t.createElement("div",{className:"absolute inset-y-0 left-0 flex items-center"},t.createElement("label",{htmlFor:"country",className:"sr-only"},"Country"),t.createElement("select",{id:"country",name:"country",autoComplete:"country",disabled:e,className:"h-full rounded-l-md border-neutral-300 border-r-0 bg-transparent py-0 pl-3 pr-7 text-gray-500 focus:border-none focus:ring-0 sm:text-sm-regular focus:outline-none focus:border-neutral-200 focus:shadow-[0_0px_0px_4px_#DFE8FF] disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200"},l.map((e=>t.createElement("option",null,e))))),t.createElement("input",{type:"text",name:"phone-number",id:"phone-number",disabled:e,className:" block w-full rounded-lg border-neutral-200 shadow-none text-neutral-800 py-1.5 pl-16 sm:text-sm-regular focus:outline-none focus:border-neutral-200 focus:shadow-[0_0px_0px_4px_#DFE8FF] focus:ring-0 hover:shadow hover:border-neutral-300 placeholder:text-neutral-500 placeholder:text-md-regular disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 ",placeholder:" "+i})),t.createElement("p",{className:"mt-2 text-sm-regular text-neutral-800",id:"email-description"},a))}function Ype(){return React.createElement("div",null,"leading text")}function Kpe({label:e,placeholder:r,disabled:n}){return t.createElement("div",null,t.createElement("label",{htmlFor:"comment",className:"block text-sm-medium leading-6 text-neutral-800"},e),t.createElement("div",{className:"mt-2"},t.createElement("textarea",{rows:4,name:"comment",id:"comment",disabled:n,className:"block w-full rounded-md border-0 text-neutral-800 shadow ring-1 ring-inset ring-neutral-200 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 sm:py-1.5 sm:text-md-regular sm:leading-6",defaultValue:"",placeholder:r})))}function Xpe({label:e,disabled:r,helper:n,size:a,placeholder:o,leftIconVariant:i,leftIconColor:l,rightIconVariant:s,rightIconColor:c,buttonName:u}){return t.createElement("div",null,t.createElement("label",{htmlFor:"email",className:"block text-sm font-medium leading-6 text-gray-900"},e),t.createElement("div",{className:"mt-2 flex rounded-md shadow-sm"},t.createElement("div",{className:"relative flex flex-grow items-stretch focus-within:z-10"},t.createElement("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},i&&"none"!==i&&t.createElement("div",{className:"-ml-0.5 mr-2 h-4 w-4"},t.createElement(mz,{variant:i,strokeColor:l}))),t.createElement("input",{type:"email",name:"email",id:"email",disabled:r,className:"block w-full rounded-none rounded-l-md border-0 py-1.5 pl-10 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 sm:text-sm sm:leading-6",placeholder:o})),t.createElement("button",{type:"button",disabled:r,className:"relative -ml-px inline-flex items-center gap-x-1.5 rounded-r-md px-3 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200"},s&&"none"!==s&&t.createElement("div",{className:" ml-1.5 h-4 w-4"},t.createElement(mz,{variant:s,strokeColor:c})),u)))}function Jpe({disabled:e,label:r,helper:n,size:a,placeholder:o,dropOptions:i,currencySymbol:l}){return t.createElement("div",null,t.createElement("label",{htmlFor:"price",className:"block text-sm font-medium leading-6 text-gray-900"},r),t.createElement("div",{className:"relative mt-2 rounded-md shadow-sm"},t.createElement("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},t.createElement("span",{className:"text-gray-500 sm:text-sm"},l)),t.createElement("input",{type:"text",name:"price",id:"price",disabled:e,className:"block w-full rounded-md border-0 py-1.5 pl-7 pr-20 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-gray-200 sm:text-sm sm:leading-6",placeholder:o}),t.createElement("div",{className:"absolute inset-y-0 right-0 flex items-center"},t.createElement("label",{htmlFor:"currency",className:"sr-only"},"Currency"),t.createElement("select",{id:"currency",name:"currency",disabled:e,className:"h-full rounded-md border border-blue-200 py-0 pl-2 pr-7 text-gray-500 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm"},i.map((e=>t.createElement("option",null,e)))))))}function efe({disabled:e,label:n,helper:a,size:o,placeholder:i,onChange:l}){return r(""),t.createElement("div",null,t.createElement("div",{className:"flex bg-neutral-0 border border-neutral-300 rounded-full shadow-sm"},t.createElement("div",{className:"relative flex flex-grow items-stretch "},t.createElement("input",{type:"email",name:"email",id:"email",disabled:e,className:"block w-full rounded-l-full border-0 text-hds-m-body3c tb:text-hds-t-body3c db:text-hds-d-body3c py-3 pl-5 placeholder:text-hds-m-body3c placeholder:tb:text-hds-t-body3c placeholder:db:text-hds-d-body3c placeholder:text-neutral-500 placeholder:bg-neutral-0 focus:ring-0 active:bg-neutral-0 focus:bg-neutral-0 visited:bg-neutral-0 disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 disabled:ring-neutral-200",placeholder:i})),t.createElement("div",{className:" py-[3.5px] pr-[3px] z-20"},t.createElement(V8,{type:"tonal",btnBgColorClass:"bg-blue-100",btnbgHoverClass:"hover:bg-blue-500",rightAnimatedArrowColor:"#3970FD",label:n}))))}function tfe(e){return t.createElement("div",{className:""},t.createElement("div",{className:" flex "+("primary"===e.cardType?" flex flex-col-reverse ":"pb-6 flex flex-col")},e.imgURL&&t.createElement("div",{className:"primary"===e.cardType?"py-11":"pb-4"},t.createElement("img",{src:e.imgURL,loading:"lazy",alt:e.title,className:(e.cardType,"max-h-[200px]")})),t.createElement("div",null,e.titleTag&&t.createElement("div",{className:" text-hds-m-h6 text-neutral-500 uppercase"},e.titleTag),e.title&&t.createElement(ce,{textStyle:"h4",className:"text-neutral-1000"},e.title),e.schedule&&t.createElement("div",{className:"flex gap-4 pt-4 flex-wrap"},e.schedule.date&&t.createElement("div",{className:"border border-neutral-200 rounded-2xl p-4 min-w-[152px] "},e.schedule.day&&t.createElement(ce,{textStyle:"h6",className:"text-neutral-600"},e.schedule.day),e.schedule.date&&t.createElement(ce,{textStyle:"h4",className:"text-neutral-1000"},e.schedule.date)),e.schedule.time&&t.createElement("div",{className:"border border-neutral-200 rounded-2xl p-4 min-w-[152px]"},e.schedule.timezone&&t.createElement(ce,{textStyle:"h6",className:"text-neutral-600"},e.schedule.timezone),e.schedule.time&&t.createElement(ce,{textStyle:"h4",className:"text-neutral-1000"},e.schedule.time))))),t.createElement("div",{className:"pb-6 border-neutral-200"},e.inviteTitle&&t.createElement(ce,{textStyle:"h5",className:"text-neutral-800 border-t border-neutral-200 pt-6"},e.inviteTitle),e.inviteTitle2&&t.createElement(ce,{textStyle:"h4",className:"text-neutral-1000"},e.inviteTitle2),e.inviteSubtitle&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-800"},e.inviteSubtitle)),t.createElement("div",{className:"pb-6"},(()=>{const r=e.invites||0,n=Array.from({length:r},((r,n)=>t.createElement("div",{className:"",key:n},t.createElement(efe,{label:e.IFbuttonLabel,placeholder:e.IFbuttonPlaceholder}))));return t.createElement("div",{className:"flex flex-col gap-4"},n)})()),(e.social||e.calendarLink)&&t.createElement("div",{className:"border-t border-neutral-200 pt-6 flex gap-6 flex-wrap justify-center"},e.social&&t.createElement("div",{className:"flex flex-wrap items-center"},e.social&&e.social.twitter&&t.createElement("a",{href:e.social.twitter,className:"w-[45px] flex justify-center"},t.createElement(mz,{variant:"twitter",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"})),e.social&&e.social.linkedin&&t.createElement("a",{href:e.social.linkedin,className:"w-[45px] flex justify-center"},t.createElement(mz,{variant:"linkedin",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"})),e.social&&e.social.facebook&&t.createElement("a",{href:e.social.facebook,className:"w-[45px] flex justify-center"},t.createElement(mz,{variant:"facebookBlue",className:"brightness-0 hover:brightness-100 cursor-pointer transition-all duration-300"}))),t.createElement("div",null,t.createElement(R8,{variant:"calendarButton",label:"Add to Calendar",labelColor:"text-blue-500",iconStrokeClass:"stroke-blue-500",iconVariant:"calendarplus02"}))))}function rfe(e){return t.createElement(t.Fragment,null,e.linkUrl&&t.createElement("a",{href:e.linkUrl,className:" flex flex-col gap-10 justify-between h-full"},t.createElement("div",{className:"flex justify-between"},e.imgUrl&&t.createElement("div",{className:"flex"},t.createElement("img",{alt:e.title??"connectorImage",src:e.imgUrl,className:" max-h-[25px] object-contain "})),e.checkIcon&&t.createElement("div",{className:"ml-2"},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5px]",variant:e.checkIcon,strokeClass:"stroke-blue-600"}))),t.createElement("div",null,e.title&&t.createElement(ce,{textStyle:"body2-bold",className:"text-neutral-1000"},e.title),e.description&&t.createElement(ce,{textStyle:"body3",className:"pt-2 text-neutral-600"},e.description),t.createElement("div",{className:"flex flex-row items-center gap-2 pt-3"},e.iconVariant&&t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e.iconVariant,strokeClass:"stroke-neutral-600"}),e.iconTag&&t.createElement(ce,{textStyle:"body2-bold",className:"text-neutral-1000"},e.iconTag)))))}function nfe(e){const{disabled:r,CHECKBOX_ARR:n}=e;return t.createElement("fieldset",null,t.createElement("legend",{className:"sr-only"},"Notifications"),t.createElement("div",{className:"space-y-5"},n.map((e=>t.createElement("div",{className:"relative flex items-start"},t.createElement("div",{className:"flex h-6 items-center"},t.createElement("input",{id:"comments","aria-describedby":"comments-description",name:"comments",type:"checkbox",disabled:r,className:"h-4 w-4 rounded-full border-neutral-200 focus:ring-blue-100 focus:ring-offset-0 focus:ring-0 focus:border focus:bg-neutral-0 focus:border-neutral-300 focus:shadow-[0px_0px_0px_4px_#F0F4FF] focus:outline-none hover:bg-blue-200 hover:border hover:border-blue-600 bg-checkbox checked:hover:bg-blue-200 checked:border-blue-600 checked:bg-blue-100 checked:focus:border checked:focus:border-blue-600 checked:focus:bg-blue-100 checked:hover:border checked:hover:border-blue-600 checked:focus:shadow-[0px_0px_0px_4px_#F0F4FF] disabled:bg-neutral-100 disabled:border disabled:border-neutral-300 "})),t.createElement("div",{className:"ml-3 text-sm leading-6"},t.createElement("label",{htmlFor:"comments",className:"text-neutral-800"},e.label),t.createElement("p",{id:"comments-description",className:"text-neutral-600"},e.description)))))),t.createElement("style",null,'\n .bg-checkbox:checked {\n background-image: url("data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27blue%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath d=%27M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z%27/%3e%3c/svg%3e")\n \n }\n '))}function afe(...e){return e.filter(Boolean).join(" ")}Dpe.defaultProps={descTextColor:"text-neutral-700",isExternalLink:"false",iconTag:"Customer Stories",titleTextColor:"",brandImageUrl:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1690909443/hasura-design-system/swiggy_m2hjxy.png",brandImageAlt:"pipe",linkUrl:"?path=/story/hasura-design-system--hasura-design-system&globals=backgrounds.value:!hex(3b5998)",iconVariant:"videorecorder",iconStrokeColor:"blue-500",iconArrowVariant:"home03",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura Model Level Authorization System for ",readMoreBtn:{cta_text:"Read More"}},qpe.defaultProps={heroImageURL:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1690802853/website%20v3/optum_hiqty8.png",heroImageAlt:"optum",heroIconVariant:"calendar",heroIconStrokeClass:"stroke-neutral-1000",heroListTitle:"100 days from concept to production",brandImageURL:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1690982762/pulley_pcj45e_8fd10af212.png",brandImageAlt:"optum",title:"Healthcare giant Optum goes from concept to production in 100 days with Hasura",description:"description1",CTA:{text:"Button Label"},heroList:[{iconVariant:"calendar",title:"100 days from concept to production"},{iconVariant:"database03",title:"Vastly improved access to relevant data"},{iconVariant:"settings01",title:"Simpler data and API management"}]};const ofe=(e,t)=>{if(t){const r=new URL(e);return r.searchParams.set("pg",t),r.toString()}return e};function ife(e){e.HEADER_LIST.length;const[n,o]=r(!1),[i,l]=r(!1),[s,c]=r(!1),[u,h]=r(!1),[m,p]=r("");r(!1);const[f,d]=r(!1),v=ofe("https://cloud.hasura.io/signup?pg=sample-apps&plcmt=header&cta=try-hasura&tech=default",e.website_key),g=ofe("https://cloud.hasura.io/login?pg=sample-apps&plcmt=header&cta=log-in&tech=default",e.website_key),[b,w]=r(Array(e.HEADER_LIST.length).fill(!1)),y=e=>{w((t=>{const r=[...t];return r[e]=!0,r}))},x=e=>{w((t=>{const r=[...t];return r[e]=!1,r}))},O=(e,r)=>{const{title:n,primaryCard:a,secondaryCardArr:o,tertiaryCard:i,flyoutD:l}=e[r];return t.createElement("div",{id:`dropdown_${r}`},e[r]&&t.createElement("div",{className:"relative",onMouseEnter:()=>y(r),onMouseLeave:()=>x(r)},t.createElement("div",{className:afe("group inline-flex items-center rounded-md bg-white hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",b[r]?"":"text-gray-500")},t.createElement("div",{className:"flex flex-col items-center cursor-pointer"},t.createElement(ce,{className:"hover:text-blue-600",textStyle:"body3c-medium"},`${n} `))),t.createElement(Ape.div,null,b[r]&&t.createElement("div",{id:`dropdown_${r}_content`,className:"left-0 z-20",onMouseEnter:()=>y(r),onMouseLeave:()=>x(r),onScroll:()=>x(r)},t.createElement(Ape.div,{initial:{opacity:0},animate:{opacity:1},transition:{ease:"easeInOut",duration:.1},className:"absolute -left-[137px] z-[2] transform "+(b[0]?"-left-[137px] ":"")+(b[1]?"-left-[218px]":"")+(b[3]?"-left-[50px] ":"")},((e,r,n,a)=>t.createElement("div",null,t.createElement("div",null,t.createElement("hr",{className:"w-full h-6 border-0"})),t.createElement("div",{className:"p-2 bg-neutral-150 rounded-3xl"},t.createElement(vie,{primaryCard:e,secondaryCardArr:r,tertiaryCard:n,flyoutD:a}))))(a,o,i,l))))))};let E,j;function C(){o(!n),c(!1),h(!1),l(!1),p(""),e.HEADER_LIST.forEach(((e,t)=>{x(t)}))}return n&&(E="rotate-45 ",j="-rotate-45 "),n||(E=" ",j="translate-y-[5.8px] "),a((()=>{i?p("Product"):s?p("Developer"):u&&p("Company")}),[i,s,u]),t.createElement("div",{className:"relative mx-auto"},t.createElement("div",{className:`flex items-center ${A(e.headerBg)} justify-between py-4 db:py-3 tb-l:justify-start`},t.createElement("div",{className:"flex flex-row justify-between items-center w-full tb-l:w-fit"},t.createElement("div",null,t.createElement("a",{href:e.headerUrl,className:"flex items-center"},t.createElement(mz,{height:"w-[103px] h-[33px]",variant:"hasuraPrimary",strokeColor:""}))),t.createElement("div",{className:"hds-hidden-tbl flex z-[10] items-center gap-6"},t.createElement("div",{className:"h-full "+(n?" hds-hidden":"")},!e.hideSearch&&t.createElement(e8,e)),!(u||s||i)&&t.createElement(Ape.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.3,opacity:{ease:"easeIn"}},className:"h-5 w-5 mt-3",onClick:()=>C()},t.createElement("div",{className:" h-5 cursor-pointer"},t.createElement("div",{"aria-hidden":"true",className:`${E} block absolute h-[2px] w-[15px] bg-neutral-800 transform transition duration-500 ease-in-out`}),t.createElement("div",{"aria-hidden":"true",className:`${j} block absolute h-0.5 w-[15px] bg-neutral-800 transform transition duration-500 ease-in-out`}))))),t.createElement("div",{className:"hds-hidden tb-l:flex flex-row w-full justify-between items-center"},t.createElement("nav",{className:"hds-hidden items-baseline relative tb-l:pl-8 tb-l:flex tb-l:space-x-6",onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1)},(M=e.HEADER_LIST,t.createElement(t.Fragment,null,O(M,0),O(M,1),t.createElement("a",{href:"/case-studies/"},t.createElement(ce,{className:"hover:text-blue-600 cursor-pointer",textStyle:"body3c-medium"},"Customers ")),O(M,3),t.createElement("a",{href:"/pricing"},t.createElement(ce,{className:"hover:text-blue-600 cursor-pointer",textStyle:"body3c-medium"},"Pricing "))))),t.createElement("div",{className:"hds-hidden tb-l:flex flex-row items-center gap-x-4 "},!e.hideSearch&&t.createElement(e8,e),t.createElement("a",{href:"/contact-us?type=hasuraenterprise",className:"hds-hidden db:flex"},t.createElement(ce,{textStyle:"body3c-medium",className:"text-neutral-800 hover:text-blue-600"},"Contact Sales")),t.createElement("a",{href:g},t.createElement(V8,{label:"Log In",type:"tonal",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"group-hover:stroke-neutral-0",className:"hds-hidden tb-l:flex"})),t.createElement("a",{href:v},t.createElement(V8,{label:"Get Started",type:"primary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff",animatedHoverStroke:"group-hover:stroke-neutral-0",className:"hds-hidden tb:flex"})))),t.createElement("div",{className:"hds-hidden-tbl overflow-auto flex "},t.createElement("div",{className:"bg-neutral-100 shadow-sh1 hds-hidden-tbl block fixed w-full tb:max-w-[480px] tb:left-auto tb:right-0 mx-auto left-4 top-0 transform transition duration-500 ease-in-out h-[calc(100%-1px)] max-h-screen overflow-y-auto"+(n?" translate-x-0":" translate-x-[1240px]")},t.createElement("div",{className:"bg-neutral-100 h-[calc(100%-80px)] rounded-2xl overflow-y-scroll scrollbar-hide"},t.createElement("div",{className:"pt-6 pb-4 tb:mr-[12px] mr-[30px] min-h-[36px] flex flex-row justify-between items-center sticky top-0 bg-neutral-100 z-50 "},(u||s||i)&&t.createElement("div",{className:" flex flex-row justify-start z-10",onClick:()=>(c(!1),h(!1),l(!1),p(""),void e.HEADER_LIST.forEach(((e,t)=>{x(t)})))},t.createElement(mz,{height:"w-5 h-5 ml-4 cursor-pointer",variant:"arrowleft",strokeClass:"stroke-neutral-1000"})),t.createElement(Ape.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,opacity:{ease:"easeIn"}},className:"w-full justify-center flex "},t.createElement(ce,{textStyle:"body3c-medium",className:"text-neutral-900"},m)),(u||s||i)&&t.createElement(Ape.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,opacity:{ease:"easeIn"}},className:" flex flex-row justify-start z-10",onClick:()=>C()},t.createElement(mz,{height:"w-5 h-5 ml-4 stroke-2 cursor-pointer",variant:"xclose",strokeClass:"stroke-neutral-1000"}))),t.createElement(Zpe,{mode:"wait",exit:!1},i||s||u?t.createElement(Ape.div,{key:"hey",exit:{opacity:0,y:[0,300]},animate:{opacity:1,y:[300,0]},transition:{duration:.2,exit:{duration:.3},opacity:{ease:"easeIn"}},when:i||s||u,className:"flex flex-col justify-between "},t.createElement("div",{className:"flex flex-col justify-between rounded-2xl h-full"},t.createElement("div",{className:"pl-4 pr-8 tb:pr-4"},(P=e.HEADER_LIST,t.createElement("div",{className:"pt-4 "},t.createElement("div",{className:"transform transition-all"},i&&t.createElement(Ape.div,{className:"product_mobile mr-0"},t.createElement(vie,{primaryCard:P[0].primaryCard,secondaryCardArr:P[0].secondaryCardArr,tertiaryCard:P[0].tertiaryCard,flyoutD:P[0].flyoutD})),s&&t.createElement("div",{className:"product_developer"},t.createElement(vie,{primaryCard:P[1].primaryCard,secondaryCardArr:P[1].secondaryCardArr,tertiaryCard:P[1].tertiaryCard})),u&&t.createElement("div",{className:"product_company"},t.createElement(vie,{primaryCard:P[3].primaryCard,secondaryCardArr:P[3].secondaryCardArr,tertiaryCard:P[3].tertiaryCard})))))))):t.createElement(Ape.div,{initial:{opacity:1},animate:{opacity:1},transition:{duration:.1,opacity:{ease:"easeIn"}},className:"mt-7 flex flex-col gap-6 ml-4"},t.createElement("div",{className:"flex flex-col mr-[50px] mb-m:items-center items-end"},t.createElement("img",{className:"inline-block max-w-[242px] w-full",src:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1688572403/hasura-design-system/mutations_1_tdh5ir.png ",alt:""})),t.createElement("nav",{className:"grid divide-y mr-8 tb:mr-4 bg-neutral-0 divide-neutral-200 border border-neutral-200 rounded-3xl mb-6"},e.HEADER_LIST.map((r=>t.createElement("div",{key:r.title,onClick:()=>function(t){const r=e.HEADER_LIST.findIndex((e=>e.title===t));y(r),"Developer"===t&&c(!0),"Customers"===t&&(window.location.href="/case-studies/"),"Pricing"===t&&(window.location.href="/pricing/"),"Product"===t&&l(!0),"Company"===t&&h(!0)}(r.title),className:"flex justify-between items-center p-4 cursor-pointer group"},t.createElement("div",{className:"flex items-center justify-center gap-2"},t.createElement(ce,{textStyle:"body3c-medium",className:"text-neutral-700 hover:text-neutral-1000 transition-all duration-300 ease-in-out"},`${r.title}`)),t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px] group-hover:translate-x-1 ease-in-out transition duration-300",variant:"chevronright",strokeClass:"stroke-neutral-500"})))))))),t.createElement("div",{className:"py-6 shadow-sh1 bg-neutral-0 pl-4 pr-8 self-end w-full"},t.createElement("div",{className:"flex flex-row justify-around"},t.createElement("div",{className:"w-full flex gap-2"},t.createElement("a",{href:g,className:"w-1/2"},t.createElement(V8,{label:"Log In",type:"tonal",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"group-hover:stroke-neutral-0",className:" !w-full"})),t.createElement("a",{href:v,className:"w-1/2"},t.createElement(V8,{label:"Get Started",type:"primary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff",animatedHoverStroke:"group-hover:stroke-neutral-0",className:" !w-full"})))))))));var P,M}function lfe(e){const{label:n,childArray:a}=e,[o,i]=r(!1);return t.createElement("header",{className:"bg-white"},t.createElement("nav",{className:"mx-auto flex max-w-7xl items-center justify-between p-6 lg:px-8","aria-label":"Global"},t.createElement("a",{href:"#",className:"-m-1.5 p-1.5 flex"},t.createElement(mz,{variant:"hasuraPrimary",strokeColor:""})),t.createElement("div",{className:"flex lg:hidden"},t.createElement("button",{type:"button",className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700",onClick:()=>i(!0)},t.createElement("span",{className:"sr-only"},"Open main menu"),t.createElement(mz,{height:"h-6",variant:"menu05",strokeColor:"#3970FD"}))),t.createElement("div",{className:"hidden lg:flex lg:gap-x-12"},a.map((e=>t.createElement("a",{key:e.name,href:e.href},t.createElement(ce,{className:"ml-1.5",textStyle:"body3"},e.name)))),t.createElement("a",{href:"#",className:"text-sm font-semibold leading-6 text-gray-900"},"Log in ",t.createElement("span",{"aria-hidden":"true"},"→")))),t.createElement("div",{className:"transition-all "},t.createElement(h9,{as:"div",className:"lg:hidden",open:o,onClose:i},t.createElement("div",{className:"fixed inset-0 z-10"}),t.createElement(h9.Panel,{className:"fixed border rounded-l-3xl inset-y-0 bg-neutral-0 max-w-min min-w-fit right-0 z-10 w-full overflow-y-auto bg-white px-6 py-6 sm:ring-1 sm:ring-gray-900/10"},t.createElement("div",{className:"flex items-center justify-end"},t.createElement("button",{type:"button",className:"-m-2.5 rounded-md p-2.5 text-gray-700",onClick:()=>i(!1)},t.createElement("span",{className:"sr-only"},"Close menu"),t.createElement(mz,{height:"h-6",variant:"xclose",strokeColor:"#3970FD"}))),t.createElement("div",{className:"mt-6 flow-root"},t.createElement(ce,{textStyle:"h6",className:"text-neutral-400"},"MENU"),t.createElement("div",{className:" flex-col divide-y divide-blue-600/10"},t.createElement("div",{className:"space-y-2 py-6 pr-48"},a.map((e=>t.createElement("a",{key:e.name,href:e.href,className:"-mx-3 rounded-lg flex gap-5 py-2 px-3 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"},t.createElement(mz,{height:"h-6",variant:"home03",strokeColor:"#6C737F"}),e.name)))),t.createElement("div",{className:"py-6"},t.createElement(V8,{leftIconVariant:"none",rightIconVariant:"none",label:"Log In",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff",animatedHoverStroke:"group-hover:stroke-neutral-0"}))))))))}function sfe(...e){return e.filter(Boolean).join(" ")}function cfe(e){const r=Array.isArray(e.tabs)?e.tabs:[];return t.createElement("div",null,t.createElement("div",{className:"sm:hidden"},t.createElement("label",{htmlFor:"tabs",className:"sr-only"},"Select a tab"),t.createElement("select",{id:"tabs",name:"tabs",className:"block w-full rounded-md border-amber-600 py-2 pl-3 pr-10 text-base focus:border-green-600 focus:outline-none focus:ring-pink-500 sm:text-sm",defaultValue:r.length&&r.find((e=>e.current)).name},r.length&&r.map((e=>t.createElement("option",{key:e.name},e.name))))),t.createElement("div",{className:"hidden sm:block"},t.createElement("div",{className:"border-b border-neutral-200"},t.createElement("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs"},r.length&&r.map((e=>t.createElement("a",{key:e.name,href:e.href,className:sfe(e.current?"border-blue-600 text-blue-600 border-b-2":"border-transparent text-neutral-700 hover:text-blue-600 hover:border-blue-600","whitespace-nowrap py-4 px-1 font-medium text-sm"),"aria-current":e.current?"page":void 0},e.name)))))))}function ufe(...e){return e.filter(Boolean).join(" ")}function hfe(e){const r=Array.isArray(e.tabs)?e.tabs:[];return t.createElement("div",null,t.createElement("div",{className:"sm:hidden"},t.createElement("label",{htmlFor:"tabs",className:"sr-only"},"Select a tab"),t.createElement("select",{id:"tabs",name:"tabs",className:"block w-full rounded-md border-pink-300 focus:border-pink-500 focus:ring-pink-500",defaultValue:r.length&&r.find((e=>e.current)).name},r.length&&r.map((e=>t.createElement("option",{key:e.name},e.name))))),t.createElement("div",{className:"hidden sm:block"},t.createElement("nav",{className:"inline-flex space-x-4 bg-neutral-100 p-2 rounded","aria-label":"Tabs"},r.length&&r.map((e=>t.createElement("a",{key:e.name,href:e.href,className:ufe(e.current?"bg-neutral-0 text-neutral-700":"text-neutral-700 bg-neutral-50 hover:text-gray-800","px-3 py-2 font-medium text-sm rounded-md"),"aria-current":e.current?"page":void 0},e.name))))))}function mfe(...e){return e.filter(Boolean).join(" ")}function pfe(e){const r=Array.isArray(e.tabs)?e.tabs:[];return t.createElement("div",null,t.createElement("div",{className:"sm:hidden"},t.createElement("label",{htmlFor:"tabs",className:"sr-only"},"Select a tab"),t.createElement("select",{id:"tabs",name:"tabs",className:"block w-full rounded-md border-gray-300 focus:border-indigo-500 focus:ring-indigo-500",defaultValue:r.length&&r.find((e=>e.current)).name},r.length&&r.map((e=>t.createElement("option",{key:e.name},e.name))))),t.createElement("div",{className:"hidden sm:block"},t.createElement("nav",{className:"flex space-x-4","aria-label":"Tabs"},r.length&&r.map((e=>t.createElement("a",{key:e.name,href:e.href,className:mfe(e.current?"bg-blue-100 text-blue-600 border-blue-600 border-b-2":"text-neutral-700 hover:text-gray-700","px-3 py-2 font-medium text-sm rounded-t-md"),"aria-current":e.current?"page":void 0},e.name))))))}function ffe(e){const{tabs:a,onTabClick:o,pillColor:i}=e,[l,s]=r(a.find((e=>e.current))||a[0]),c=n(null);let u="";i&&(u=A(i));let h="";function m(e){h=l.tabTextColorClass?A(l.tabTextColorClass):"text-neutral-500";let t=" text-neutral-0 transition-all rounded-full "+u,r=" flex-nowrap rounded-full "+h;return l.name===e?t:r}return t.createElement("div",{className:""},t.createElement("div",{className:"block"},t.createElement("nav",{className:"relative inline-flex gap-2 rounded-full","aria-label":"Tabs"},a.map((e=>t.createElement("div",{key:e.name,onClick:t=>((e,t)=>{e.preventDefault(),s(t),o&&o(t);const r=c.current;if(r){const t=e.currentTarget.offsetWidth,n=e.currentTarget.offsetLeft;r.parentElement.offsetLeft;const a=n;r.style.transform=`translateX(${a}px)`,r.style.width=`${t}px`}})(t,e)},t.createElement(ce,{className:`${m(e.name)} ${e.name===l.name?"":"hover:bg-neutral-150"} cursor-pointer px-3 py-1 z-[2] relative whitespace-nowrap`,textStyle:"body3c-medium"},e.name)))),t.createElement("span",{ref:c,className:`absolute left-0 z-[1] ${u} rounded-full transition-all ease-in duration-150`,style:{left:100*l.index+"%",width:`${l.width}px`,height:"28px"}}))))}function dfe(e){const{tabs:n,onTabClick:a,pillColor:o,initalTab:i=!0}=e,l=n.find((e=>e.current))?.name||(i?n[0].name:""),[s,c]=r(l);let u="";o&&(u=A(o));return t.createElement("div",{className:""},t.createElement("div",{className:"block "},t.createElement("nav",{className:"relative inline-flex gap-2 rounded-[32px] ","aria-label":"Tabs"},n&&n.map((e=>t.createElement("button",{key:e.name,onClick:()=>{var t;c((t=e).name),a&&a(t)},className:(s===e.name?" text-neutral-0 transition-all duration-300":" hover:bg-neutral-500/30 text-neutral-400")+" relative px-3 py-1 whitespace-nowrap rounded-full hover:text-neutral-0 transition-all duration-300"},s===e.name&&t.createElement(Ape.div,{layoutId:"active-pill",className:`absolute inset-0 ${u}`,style:{borderRadius:32}}),t.createElement(ce,{textStyle:"body3c-medium",className:"relative z-10 "},e.name)))))))}ife.defaultProps={hideSearch:!1,HEADER_LIST:[{title:"Product",primaryCard:{iconVariant:"layersthree01",mainDescription:"Discover Hasura's core capabilities for automating the building, securing, optimizing, and deploying of APIs.",primaryBtnLabel:"Hasura Data API Platform",primaryBtnCTA:"/products",strokeClass:"stroke-neutral-800",tertiaryBtn:[{cta_leftVariantIcon:"checksquarebroken",cta_leftVariantIconColor:"#6C737F",cta_text:"Compare Plans",cta_link:"/pricing"}],secondaryBtn:[{cta_leftVariantIcon:"zap",cta_leftVariantIconColor:"#6C737F",cta_text:"Deployment Options",cta_link:"/products/deployment"}]},secondaryCardArr:[{childArray:[{description:"",href:"/products/instant-api",icon:"lightning01",name:"Instant API",strokeClass:"stroke-neutral-500"},{description:"",href:"/products/authorization",icon:"eye",name:"Authorization",strokeClass:"stroke-neutral-500"},{description:"",href:"/products/performance",icon:"speedometer03",name:"Performance",strokeClass:"stroke-neutral-500"},{description:"",href:"/products/federation",icon:"data",name:"Federation",strokeClass:"stroke-neutral-500"},{description:"",href:"/products/api-security",icon:"shieldtick",name:"API Security",strokeClass:"stroke-neutral-500"},{description:"",href:"/products/observability",icon:"piechart01",name:"Observability",strokeClass:"stroke-neutral-500"}],label:"CAPABILITIES"},{childArray:[{description:"",href:"/graphql/database",icon:"database01",name:"All Databases",strokeClass:"stroke-neutral-500"},{description:"",href:"/graphql/database?category=planned",icon:"checksquare",name:"Planned Databases",strokeClass:"stroke-neutral-500"}],label:"Data sources"}],flyoutD:{link:"https://hasura.io/ai",IconVariant:"aibot",btnLabel:"AI with Hasura",description:"Use Hasura Notebook to get Gen AI querying over your structured private data sources via GraphQL and REST APIs"}},{title:"Developer",secondaryCardArr:[{childArray:[{description:"",href:"/docs/latest/index/",icon:"file02",name:"Documentation",strokeClass:"stroke-neutral-500"},{description:"",href:"/hub",icon:"hasura",name:"Hasura Hub",strokeClass:"stroke-neutral-500"},{description:"",href:"/reference-app/",icon:"route",name:"Guides",strokeClass:"stroke-neutral-500"},{description:"",href:"/graphql/",icon:"asterisk02",name:"GraphQL Hub",strokeClass:"stroke-neutral-500"},{description:"",href:"https://cloud.hasura.io/public/graphiql",icon:"codebrowser",name:"GraphiQL",strokeClass:"stroke-neutral-500"},{description:"",href:"/changelog",icon:"gitpullrequest",name:"Changelog",strokeClass:"stroke-neutral-500"}],label:"BUILD"},{childArray:[{description:"",href:"/blog",icon:"bookopen01",name:"Blog",strokeClass:"stroke-neutral-500"},{description:"",href:"/learn/",icon:"graduationhat02",name:"Tutorials",strokeClass:"stroke-neutral-500"},{description:"",href:"/events",icon:"calendarplus02",name:"Events",strokeClass:"stroke-neutral-500"},{description:"",href:"/sample-apps/",icon:"box",name:"Resources",strokeClass:"stroke-neutral-500"}],label:"Learn"},{childArray:[{description:"",href:"/community/",icon:"users01",name:"Community",strokeClass:"stroke-neutral-500"},{description:"",href:"https://discord.com/invite/hasura",icon:"discord",name:"Discord",strokeClass:""},{description:"",href:"https://github.com/hasura/graphql-engine/discussions",icon:"octoface",name:"Discussions",strokeClass:""},{description:"",href:"https://www.meetup.com/pro/hasura/",icon:"meetup",name:"Meetups",strokeClass:""},{description:"",href:"/support/",icon:"hand",name:"Support",strokeClass:"stroke-neutral-500"}],label:"Connect"}],tertiaryCard:[{title:"HasuraCon 2023 is here!",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/hascon_211daeb83a.png"},{title:"Top 6 Architecture Trends for API Development",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/api_trends_0a035678d8.png"},{title:"Announcing Hasura integration with Snowflake",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/snowflake_def20494db.png"}]},{title:"Customers",href:""},{title:"Company",secondaryCardArr:[{childArray:[{description:"",href:"/about/",icon:"pentool02",name:"Our Story",strokeClass:"stroke-neutral-500"},{description:"",href:"/partners",icon:"intersectcircle",name:"Partners",strokeClass:"stroke-neutral-500"},{description:"",href:"/careers/",icon:"hearthand",name:"Work at Hasura",strokeClass:"stroke-neutral-500"}],label:"Company"}],tertiaryCard:[{title:"HasuraCon 2023 is here!",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/hascon_211daeb83a.png"},{title:"Top 6 Architecture Trends for API Development",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/api_trends_0a035678d8.png"},{title:"Announcing Hasura integration with Snowflake",title_colorClass:"text-neutral-900",img_url:"https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/snowflake_def20494db.png"}]},{title:"Pricing",href:""}],headerUrl:"/"},ffe.defaultProps={pillColor:"bg-blue-500"},dfe.defaultProps={pillColor:"bg-blue-500"};const vfe=e=>{let n;const[a,o]=r(e.visible||!1);return t.createElement("div",{className:"relative inline-flex",onMouseEnter:()=>{n=setTimeout((()=>{o(!0)}),e.delay||500)},onMouseLeave:()=>{clearInterval(n),o(!1)}},e.children,a&&t.createElement("div",{className:"absolute z-50 px-2 py-1 rounded "+("bottom-centre"===e.direction||"bottom-right"===e.direction||"bottom-left"===e.direction?"bottom-full text-xs-bold mb-2.5 left-1/2 transform -translate-x-1/2 bg-blue-600 text-neutral-0 shadow-lg w-full":"left-centre"===e.direction?" text-xs-bold left-[160%] transform -translate-x-1/2 bg-blue-600 text-neutral-0 shadow-lg w-full":"right-centre"===e.direction?" text-xs-bold -left-[60%] transform -translate-x-1/2 bg-blue-600 text-neutral-0 shadow-lg w-full":"top-centre"===e.direction||"top-left"===e.direction?"bottom-full text-xs-bold -mb-[112%] left-1/2 transform -translate-x-1/2 bg-blue-600 text-neutral-0 shadow-lg w-full":"top-right"===e.direction?"bottom-full text-xs-bold -mb-[112%] left-1/2 transform -translate-x-1/2 bg-blue-600 text-neutral-0 shadow-lg w-full":"")},e.content,t.createElement("div",{className:"absolute w-full "+("bottom-centre"===e.direction?"-bottom-1.5 left-1/2 mb-px transform rotate-45 bg-blue-600 -z-10 -ml-1.5":"bottom-right"===e.direction?"-bottom-1.5 left-[82.3%] mb-px transform rotate-45 bg-blue-600 -z-10 -ml-1.5":"bottom-left"===e.direction?"-bottom-1.5 left-[17.6%] mb-px transform rotate-45 bg-blue-600 -z-10 -ml-1.5":"left-centre"===e.direction?"bottom-1.5 transform rotate-45 bg-blue-600 -z-10 -ml-3":"right-centre"===e.direction?"bottom-1.5 left-[82.4%] transform rotate-45 bg-blue-600 -z-10 ml-1.5":"top-centre"===e.direction?"-bottom-1.5 left-1/2 mb-[28%] transform rotate-45 bg-blue-600 -z-10 -ml-1.5":"top-left"===e.direction?"-bottom-1.5 left-[17.6%] mb-[28%] transform rotate-45 bg-blue-600 -z-10 -ml-1.5":"top-right"===e.direction?"-bottom-1.5 left-[82.3%] mb-[28%] transform rotate-45 bg-blue-600 -z-10 -ml-1.5":""),style:{width:"12px",height:"12px",transform:"rotate(45deg)"}})))};function gfe({heroData:e,logo:t,scrollArrow:n,fontSize:a}){const[o,i]=r("volumex"),l=A(e.video_gradient_bg);return React.createElement("div",{className:"db:pt-32 mb-10 db:mb-5 tb:mb-16 tb-l:mb-0"},React.createElement("div",{className:"tb:px-4"},React.createElement("div",{className:"max-w-7xl mx-auto rounded-3xl overflow-hidden "+(e.bg_color?e.bg_color:"")},React.createElement("div",{className:"w-full"},React.createElement("div",{className:"db:flex db:w-full tb-l:flex block"+(e.video_url?" tb:block":" tb:flex")},React.createElement("div",{className:"db:px-28 db:py-20 db:pr-0 tb-l:self-center tb-l:min-w-[400px] mx-auto db:ml-0 db:max-w-[625px] db:min-w-[625px] p-5 pt-10 z-[1] tb:p-16 tb-l:py-12"+(e.video_url?" tb:max-w-[530px]":" tb:ml-0 tb:max-w-[290px] tb:min-w-[310px] tb:pr-0")},e.tag_line&&React.createElement("div",null,React.createElement(ce,{textStyle:"h6",as:"h6",className:"pb-6 uppercase text-center db:text-left font-normal tb-l:text-left "+(e.tag_line_color?e.tag_line_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.tag_line)),e.title&&React.createElement("div",null,t?React.createElement("div",{className:"pb-4 db:text-left text-center tb-l:text-left"+(e.video_url?" tb:text-center":" tb:text-left")},React.createElement("img",{className:"w-[290px] inline-block",src:t,alt:"Brand"})):React.createElement(ce,{textStyle:a||"h1",as:"h1",className:"pb-2 text-center break-words db:text-left tb-l:text-left "+(e.title_color?e.title_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.title)),e.sub_title&&React.createElement("div",null,React.createElement(ce,{textStyle:"sub1",className:"text-center db:text-left tb-l:text-left "+(e.sub_title_color?e.sub_title_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.sub_title)),e.description&&React.createElement("div",null,React.createElement(ce,{textStyle:"sub2",className:"text-center tb:text-left db:text-left tb-l:text-left text-blue-700 [&>*]:mb-8 last:[&>*]:mb-0"},e.description)),e.buttons&&React.createElement("div",{className:" gap-2 flex items-center justify-center tb-l:justify-start db:justify-start pt-6"+(e.video_url?" tb:justify-center":" tb:justify-start")},e.buttons.map(((e,t)=>React.createElement(V8,{leftIconVariant:"none",rightIconVariant:"none",label:e.cta_text,state:"default",size:"lg",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff"}))))),e.video_url?React.createElement("div",{className:"relative"+(e.video_gradient_bg?"":" p-4")},React.createElement("div",{className:"w-12 h-12 bg-neutral-0 rounded-full absolute right-8 bottom-8 shadow-md cursor-pointer z-[2] flex items-center justify-center",onClick:()=>(()=>{if(e.video_url){const e=document.getElementById("hero_vid");e?.muted?(e.muted=!1,i("volumemax")):(e.muted=!0,i("volumex"))}})()},React.createElement(mz,{height:"w-6 h-6 stroke-neutral-800 stroke-[1.5px]",variant:o,strokeColor:"#1F2A37"})),React.createElement("video",{id:"hero_vid",controls:!1,loop:!0,muted:!0,poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",width:"500",height:"500",className:"tb:w-full w-full db:max-w-[500px]"+(e.video_gradient_bg?"":" rounded-xl shadow-md")},React.createElement("source",{src:e.video_url,type:"video/mp4"})),e.video_gradient_bg&&React.createElement("div",{className:`tb-l:w-1/2 w-full h-1/2 tb:h-full absolute left-0 top-0 tb-l:ml-[-4px] tb-l:bg-gradient-to-r ${l} to-transparent bg-gradient-to-b tb:mt-[-4px] tb-l:mt-0`})):React.createElement("div",{className:"w-full",variants:{hidden:{opacity:0},visible:{opacity:1,transition:{delay:.2,duration:1}}}},e.img_url&&React.createElement("div",{className:"text-right pt-0 flex items-end justify-end h-full"},React.createElement("img",{src:e.img_url,alt:"Hero",className:"db:inline tb:w-[90%] tb-l:w-[70%] db:w-[75%] w-full rounded-b-3xl"})))))),n&&React.createElement("div",{className:" hidden tb-l:block translate-y-[-20px]"},React.createElement("div",{className:"px-6 flex justify-center pb-16 animate-bounce h-6 grid-cols-3"},React.createElement("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{filter:"url(#filter0_dd_1052_3729)"},React.createElement("circle",{cx:"30",cy:"26",r:"24",fill:"white"}),React.createElement("path",{d:"M25 27L30 32L35 27M25 20L30 25L35 20",stroke:"#1F2A37",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),React.createElement("defs",null,React.createElement("filter",{id:"filter0_dd_1052_3729",x:"0",y:"0",width:"60",height:"60",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},React.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),React.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),React.createElement("feMorphology",{radius:"2",operator:"erode",in:"SourceAlpha",result:"effect1_dropShadow_1052_3729"}),React.createElement("feOffset",{dy:"2"}),React.createElement("feGaussianBlur",{stdDeviation:"2"}),React.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.109804 0 0 0 0 0.14902 0 0 0 0 0.247059 0 0 0 0.06 0"}),React.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1052_3729"}),React.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),React.createElement("feMorphology",{radius:"2",operator:"erode",in:"SourceAlpha",result:"effect2_dropShadow_1052_3729"}),React.createElement("feOffset",{dy:"4"}),React.createElement("feGaussianBlur",{stdDeviation:"4"}),React.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.109804 0 0 0 0 0.14902 0 0 0 0 0.247059 0 0 0 0.1 0"}),React.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_1052_3729",result:"effect2_dropShadow_1052_3729"}),React.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_1052_3729",result:"shape"}))))))))}function bfe({heroData:e,logo:n,scrollArrow:a,fontSize:o}){r("volumex");const i=e=>{const t=e.nextElementSibling;t&&t.scrollIntoView({behavior:"smooth"})};return A(e.video_gradient_bg),t.createElement("div",{className:""},t.createElement("div",{className:""},t.createElement("div",{className:"max-w-7xl mx-auto px-20 py-20 rounded-3xl overflow-hidden "+(e.bg_color?e.bg_color:"")},t.createElement("div",{className:"w-full"},t.createElement("div",{className:"tb-l:flex tb-l:justify-between tb-l:items-center tb-l:flex-row db:w-full flex flex-col-reverse tb:gap-x-16 db:gap-x-10 min-[1880px]:gap-x-72"+(e.video_url?" ":" tb:flex")},t.createElement("div",{className:"max-w-[29.18rem] w-full tb:flex items-start tb:flex-col mt-4 tb:mt-0"},e.tag_line&&t.createElement("div",null,t.createElement(ce,{textStyle:"h6",as:"h6",className:"pb-2 uppercase text-center db:text-left font-normal tb-l:text-left "+(e.tag_line_color?e.tag_line_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.tag_line)),e.title&&t.createElement("div",null,n?t.createElement("div",{className:"pb-4 db:text-left tb:text-center tb-l:text-left"+(e.video_url?" tb:text-center":" tb:text-left")},t.createElement("img",{className:"w-[290px] inline-block",src:n,alt:"Brand"})):t.createElement(ce,{textStyle:"h2",as:"h2",className:"pb-2 tb:text-center break-words db:text-left tb-l:text-left "+(e.title_color?e.title_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.title)),e.sub_title&&t.createElement(ce,{textStyle:"sub1",className:"tb-l:text-center db:text-left flex"+(e.sub_title_color?e.sub_title_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.sub_title),e.description&&t.createElement(ce,{textStyle:"sub1",className:"db:text-left text-neutral-0 [&>*]:mb-8 last:[&>*]:mb-0"},e.description),e.buttons&&t.createElement("div",{className:" gap-6 flex items-center tb:justify-center tb-l:justify-start db:justify-start pt-6"+(e.video_url?" tb:justify-center":" tb:justify-start")},e.buttons[0]&&t.createElement(V8,{type:e.buttons[0].cta_type||"secondary",btnTextColorClass:A("text-neutral-0"),leftIconVariant:"none",rightIconVariant:"none",label:e.buttons[0].cta_text,state:"default",size:"lg",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff"}),e.buttons[1]&&t.createElement(V8,{type:e.buttons[0].cta_type||"primaryLink",btnTextColorClass:A("text-neutral-0"),leftIconVariant:"none",rightIconVariant:"none",label:e.buttons[1].cta_text,state:"default",size:"lg",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff"}))),t.createElement("div",{className:""},(e=>e.imageUrl&&t.createElement("div",{className:""},t.createElement("img",{src:e.imageUrl,alt:e.imageAlt,className:"tb-l:w-full w-1/2"})))(e))),(e=>e.linkCards&&t.createElement("div",{className:"flex mt-16 px-20 pb-20 gap-6 justify-center"},e.linkCards.map(((e,r)=>t.createElement("div",{key:r,className:"w-full"},t.createElement(bie,{linkUrl:e.linkUrl,cardBgColor:e.cardBgColor,cardHoverBg:e.cardHoverBg,iconVariant:e.iconVariant,iconStrokeColor:e.iconStrokeColor,iconArrowVariant:e.iconArrowVariant,iconArrowStrokeColor:e.iconArrowStrokeColor,title:e.title,description:e.description}))))))(e))),e.scrollArrow&&t.createElement("a",{className:"flex justify-center flex-row z-10",onClick:e=>i(e.currentTarget)},t.createElement("div",{className:"flex bg-neutral-0 shadow-md -mt-5 animate-bounce justify-center rounded-full items-center w-12 h-12",onClick:e=>{const t=e.target.parentNode;i(t)}},t.createElement(mz,{variant:"chevrondowndouble",strokeClass:"stroke-neutral-800",height:"h-6 w-6"})))))}function wfe(e){const{heroData:r,activeTab:n,onTabChange:a}=e;let o;if(n.activeTab&&(o=n.activeTab),!r)return t.createElement("div",null);let i="",l="",s="",c="",u="";return e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].heroBgColor&&(i=A(e.heroData.tabContent[o].heroBgColor)),e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].bgColorTab&&(l=A(e.heroData.tabContent[o].bgColorTab)),e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].videoUrl&&(s=e.heroData.tabContent[o].videoUrl),e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].videoPoster&&(c=e.heroData.tabContent[o].videoPoster),e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].img_url&&e.heroData.tabContent[o].img_url,e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].pillColor&&(u=e.heroData.tabContent[o].pillColor),e.heroData&&e.heroData.tabContent&&e.heroData.tabContent[o]&&e.heroData.tabContent[o].bgColorTab&&(l=A(e.heroData.tabContent[o].bgColorTab)),t.createElement("div",{className:`${i} -mt-[81px] pt-[81px] tb:mt-0 tb:pt-0 max-w-7xl rounded-b-3xl tb:rounded-3xl`},e.heroData.navTabs&&t.createElement("div",{className:"py-5 db:p-20 tb:p-10 flex flex-col shadow rounded-2xl"},t.createElement("div",{className:"flex px-8 tb:px-0 overflow-scroll scrollbar-hide tb-l:justify-center justify-start"},t.createElement("div",{className:`${l} bg-opacity-30 p-1 rounded-[32px]`},t.createElement(ffe,{onTabClick:e=>{if(e.name){const t=e.name.replace(/\s/g,"");a(t)}},tabs:e.heroData.navTabs,bgColorTab:e.heroData.bgColorTab,pillColor:u}))),t.createElement("div",{className:"flex flex-col-reverse pt-6 px-8 tb:px-0 tb:flex tb:flex-row tb:items-center tb:pt-10 tb:justify-between"},t.createElement("div",{className:" mt-3 db:max-w-[488px] tb:w-1/2"},e.heroData.tabContent&&e.heroData.tabContent[o]&&(h=e.heroData.tabContent[o],t.createElement(t.Fragment,null,t.createElement("div",{className:"tb:px-3"},h.title&&t.createElement(ce,{textStyle:"h2",className:A(h.titleTextColor)},h.title),h.subTitle&&t.createElement(ce,{textStyle:"sub2",className:`mt-2 ${A(h.subTitleTextColor)}`},h.subTitle)),h.btnLabel&&t.createElement("div",{className:"flex pl-3 pt-6"},t.createElement(V8,{label:h.btnLabel,type:"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#1E56E3",animatedHoverStroke:"group-hover:stroke-blue-600",className:"flex",btnTextColorClass:"text-blue-600"}))))),t.createElement("div",{className:" db:max-w-[540px] tb:w-1/2 "},t.createElement(pz,{video_url:s,video_poster:c}))),t.createElement("div",{className:""},e.heroData.tabContent[o]&&(e=>e.linkCards&&t.createElement("div",{className:"flex px-8 tb:px-0 tb:justify-center overflow-auto scrollbar-hide flex-row mt-16 gap-6 tb:flex-row "},e.linkCards.map(((e,r)=>t.createElement("div",{key:r,className:`${A(e.cardBorderClass)} border rounded-2xl w-full pb-2 min-w-[11.5rem] max-w-[22.313rem]`},t.createElement(bie,{titleTextColor:e.titleTextColor,descTextColor:e.descTextColor,linkUrl:e.linkUrl,cardBgColor:e.cardBgColor,cardHoverBg:e.cardHoverBg,iconVariant:e.iconVariant,iconStrokeClass:e.iconStrokeColor,iconArrowVariant:e.iconArrowVariant,iconArrowStrokeClass:e.iconArrowStrokeColor,title:e.title,description:e.description}))))))(e.heroData.tabContent[o]))));var h}function yfe({heroData:e}){return t.createElement("div",{className:""},t.createElement("div",{className:""},t.createElement("div",{className:"max-w-7xl mx-auto pb-14 tb:pb-10 db-s:p-20 rounded-3xl overflow-hidden "+(e.bg_color?e.bg_color:"")},t.createElement("div",{className:"w-full"},t.createElement("div",{className:"flex flex-col px-8 db-s:px-0 tb:px-10 pt-5 tb:pt-10 db-s:flex db-s:justify-between db-s:items-center db-s:flex-row db-s:w-full db-s:gap-x-[92px]"},t.createElement("div",{className:"db-s:max-w-[490px] tb-l:max-w-[658px] w-full tb:flex items-start tb:flex-col mt-4 tb:mt-0"},e.title&&t.createElement(t.Fragment,null,e.title&&t.createElement(t.Fragment,null,e.stackedCard&&t.createElement("div",{className:"pb-6"},(r=e.stackedCard,t.createElement("div",{className:"flex flex-row"},r&&r.map(((e,r)=>t.createElement("div",{key:r,className:`w-20 h-20 ${r>0?"-ml-4":""} ${A(e.cardBgClass)} ${A(e.cardHoverbgClass)} rounded-full flex items-center justify-center `},t.createElement("div",{className:"w-14 h-14"},t.createElement("img",{className:"inline-block",src:e.img_link,alt:e.img_alt})))))))),t.createElement(ce,{textStyle:"h2",as:"h2",className:"pb-2 tb:text-center break-words db:text-left tb-l:text-left "+(e.title_color?e.title_color:"")+(e.video_url?" tb:text-center":" tb:text-left")},e.title))),e.sub_title&&t.createElement(ce,{textStyle:"sub1",className:"tb-l:text-center db:text-left flex"+(e.sub_title_color?e.sub_title_color:"")},e.sub_title),e.description&&t.createElement(ce,{textStyle:"sub1",className:"db:text-left text-neutral-0 [&>*]:mb-8 last:[&>*]:mb-0"},e.description),e.buttons&&t.createElement("div",{className:" gap-6 flex items-center tb:justify-center tb-l:justify-start db:justify-start pt-6"+(e.video_url?" tb:justify-center":" tb:justify-start")},e.buttons[0]&&t.createElement(V8,{type:"primary",btnTextColorClass:A("text-neutral-0"),leftIconVariant:"none",rightIconVariant:"none",label:e.buttons[0].cta_text,state:"default",size:"lg",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff"}),e.buttons[1]&&t.createElement(V8,{type:"primaryLink",btnTextColorClass:A("text-neutral-0"),leftIconVariant:"none",rightIconVariant:"none",label:e.buttons[1].cta_text,state:"default",size:"lg",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#ffffff"}))),t.createElement("div",{className:"h-full flex justify-center db-s:self-start w-full"},(e=>e.imageUrl&&t.createElement("div",{className:"py-12 tb:py-14 db-s:pt-0 "},t.createElement("img",{src:e.imageUrl,alt:e.imageAlt,className:"tb-l:w-full db-s:max-w-[540px]"})))(e))),(e=>e.linkCards&&t.createElement("div",{className:"flex px-8 tb:px-10 tb:justify-center db-s:px-0 overflow-auto scrollbar-hide flex-row gap-6 db-s:mt-[68px] tb:flex-row "},e.linkCards.map(((e,r)=>t.createElement("div",{key:r,className:`${A(e.cardBorderClass)} ${A(e.cardBgColor)} ${A(e.cardHoverBg)} transition-all ease-out duration-300 hover:shadow-2xl hover:border-opacity-0 border rounded-2xl w-full min-w-[11.5rem] max-w-[22.313rem]`},t.createElement(bie,{titleTextColor:e.titleTextColor,descTextColor:e.descTextColor,linkUrl:e.linkUrl,iconVariant:e.iconVariant,iconStrokeClass:e.iconStrokeColor,iconArrowVariant:e.iconArrowVariant,iconArrowStrokeClass:e.iconArrowStrokeColor,title:e.title,description:e.description}))))))(e)))));var r}function xfe(e){return t.createElement("div",{className:"max-w-7xl"},t.createElement("div",{className:"relative"},t.createElement("img",{loading:"lazy",src:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1692355512/hasura-design-system/heroevents2_c8mpzp.png",alt:e.img_alt,className:"bg-discord h-[336px] object-cover "})),t.createElement("div",{className:"flex items-start py-12 px-20"},t.createElement("div",{className:"flex-1"}),t.createElement("div",{className:"bg-neutral-0 rounded-3xl w-[400px] z-[1] -mt-[200px] p-10 border border-neutral-200"},t.createElement("div",{className:"flex gap-2 items-center pb-6"},t.createElement(mz,{height:"h-5 w-5",variant:"videorecorder",strokeClass:"stroke-blue-600"}),t.createElement(ce,{textStyle:"h5",className:"text-neutral-1000"})),t.createElement("div",null,t.createElement(n8,{formId:"hf-1051",styleClass:"paper-form-wrapper"})))))}wfe.defaultProps={heroData:{tabContent:{Performance:{heroBgColor:"bg-green-500",title:"Blazing-fast APIs at Global Scale ",subTitle:"Hasura optimizes your API performance up to 10x faster with end-to-end caching, while scaling both vertically and horizontally.",videoUrl:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4",videoPoster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1685017301/Group_2608667_gu6idw.png",subTitleTextColor:"text-neutral-0",titleTextColor:"text-neutral-0",bgColorTab:"bg-neutral-1000",pillColor:"bg-pink-500",button:[{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""},{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""}],linkCards:[{titleTextColor:"text-neutral-0",descTextColor:"text-neutral-0",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"GraphQL response caching"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"}]},Company:{heroBgColor:"bg-blue-500",title:"Leverage Hasura’s Authorization Engine",subTitle:"Hasura optimizes your API performance up to 10x faster with end-to-end caching, while scaling both vertically and horizontally.ss",videoUrl:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4",videoPoster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1685017301/Group_2608667_gu6idw.png",imgUrl:"",subTitleTextColor:"text-neutral-0",titleTextColor:"text-neutral-0",bgColorTab:"bg-neutral-1000",pillColor:"bg-amber-500",button:[{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""},{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""}],linkCards:[{titleTextColor:"text-neutral-0",descTextColor:"text-neutral-0",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"}]},Authorization:{heroBgColor:"bg-cyan-500",title:"Blazing-fast APIs at Global Scale ",subTitle:"Hasura optimizes your API performance up to 10x faster with end-to-end caching, while scaling both vertically and horizontally.",videoUrl:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4",videoPoster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1685017301/Group_2608667_gu6idw.png",imgUrl:"",subTitleTextColor:"text-neutral-0",titleTextColor:"text-neutral-0",bgColorTab:"bg-pink-500",pillColor:"bg-neutral-500",button:[{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""},{cta_text:"Get Started",btnBg:"",bg_color:"bg-blue-900",cta_link:"",cta_type:""}],linkCards:[{titleTextColor:"text-neutral-0",descTextColor:"text-neutral-0",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"},{cardBgColor:"bg-pink-300",cardHoverBg:"bg-pink-900",iconVariant:"videorecorder",iconStrokeColor:"#3970FD",iconArrowVariant:"arrownarrowupright",iconArrowStrokeColor:"blue-400",title:"Webinar",description:"Model Level Authorization System for GraphQL with Hasura"}]}},navTabs:[{current:!0,name:"Performance"},{current:"false",name:"Company"},{current:"false",name:"Authorization"},{current:"false",name:"Observability"},{current:"false",name:"API Security"}]}};function Ofe(e){const[n,a]=r(!1);if(!e)return t.createElement("div",null);return t.createElement("div",null,t.createElement("div",{className:"flex flex-col-reverse tb:flex tb:flex-row tb:justify-between"},t.createElement("div",{className:`tb:w-1/2 db:max-w-[${e.contentWd?e.contentWd:"535px"}]`},e&&(o=e,t.createElement(t.Fragment,null,o.title&&t.createElement(ce,{textStyle:"h2",as:"h2",className:` hidden tb:block ${o.titleTextColor?A(o.titleTextColor):"text-neutral-1000"}`},o.title),o.subTitle&&t.createElement(ce,{textStyle:"sub1",className:`mt-2 ${o.subTitleTextColor?A(o.subTitleTextColor):"text-neutral-700"}`},o.subTitle),o.buttons&&t.createElement("div",{className:"flex items-center flex-wrap flex-row gap-2"},o.buttons.map(((e,r)=>t.createElement(l,{key:r},e.url&&e.text&&e.type&&t.createElement("a",{href:e.url,key:r,className:"flex pt-6"},t.createElement(V8,{label:e.text,type:e.type,leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:e.rightAnimatedArrowColor??"#3970FD",animatedHoverStroke:e.animatedHoverStroke??"group-hover:stroke-neutral-0",btnTextColorClass:e.btnTextColorClass,btnTextHoverClass:e.btnTextHoverClass,className:"flex "+("ghost"===e.type?" border-opacity-0 hover:border-opacity-100 border-2 rounded-full "+e.ghostClasses:""),btnbgHoverClass:e.btnBgColorClass}))))))))),t.createElement("div",{className:"grid items-center relative db:max-w-[500px] tb:w-1/2 transition-opacity duration-700 ease-linear "},t.createElement(ce,{textStyle:"h2",as:"h2",className:`tb:hidden pb-6 ${e.titleTextColor?A(e.titleTextColor):"text-neutral-1000"}`},e.title),n?t.createElement(t.Fragment,null,e.videoUrl&&t.createElement("video",{id:"hero_vid",controls:!0,autoPlay:!0,playsInline:!0,width:"500",height:"500",className:"tb:w-full w-full rounded-3xl",src:e.videoUrl})):t.createElement("div",{className:"relative"},e.imgUrl&&t.createElement("img",{src:e.imgUrl,alt:"Illustration",loading:"lazy"}),e.videoUrl&&t.createElement("div",{className:`${e.currentPlayBtnClass} w-14 h-14 cursor-pointer video-play-btn rounded-full flex items-center justify-center absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 shadow-neutral-1000 shadow-2xl`,onClick:()=>a(!0)},t.createElement(mz,{variant:"play",height:"h-6 w-6",strokeColor:"#ffffff",strokeClass:"stroke-neutral-0"}))))),t.createElement("div",{className:""},(e=>e.linkCards&&t.createElement("div",{className:"flex tb-m:justify-center overflow-auto no-scrollbar db:overflow-visible scrollbar-hide flex-row mt-10 tb:mt-12 db:mt-16 gap-6 tb:flex-row "},e.linkCards.map(((e,r)=>t.createElement("div",{key:r,className:`${A(e.cardBorderClass)} ${A(e.cardBgColor)} ${A(e.cardHoverBg)} transition-all ease-out duration-300 hover:shadow-2xl hover:border-opacity-0 border rounded-2xl w-full min-w-[11.5rem] max-w-[22.313rem]`},t.createElement(bie,{titleTextColor:e.titleTextColor,descTextColor:e.descTextColor,linkUrl:e.linkUrl,iconVariant:e.iconVariant,iconStrokeClass:e.iconStrokeColor,iconArrowVariant:e.iconArrowVariant,iconArrowStrokeClass:e.iconArrowStrokeColor,title:e.title,description:e.description}))))))(e)));var o}function Efe(e){const{head:r,description:n,tableValue:a,children:o}=e;return t.createElement("div",{className:"px-4 sm:px-6 lg:px-8 "},t.createElement("div",{className:"sm:flex sm:items-center "},t.createElement("div",{className:"sm:flex-auto"},t.createElement("h1",{className:"text-base font-semibold leading-6 text-gray-900"},r),t.createElement("p",{className:"mt-2 text-sm text-gray-700"},n))),t.createElement("div",null,t.createElement("div",{className:"-mx-4 mt-8 sm:-mx-0"},t.createElement("table",{className:"min-w-full divide-y divide-gray-300 border"},t.createElement("thead",null,t.createElement("tr",null,Object.keys(a[0]).map((e=>t.createElement("th",{key:e,scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900 sm:table-cell"},e))))),t.createElement("tbody",{className:"divide-y divide-gray-200 bg-white"},a.map(((e,r)=>t.createElement("tr",{key:r},Object.keys(e).map(((n,a)=>t.createElement("td",{key:a+r,className:" py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-3"},"",e[n])))))))))))}const jfe=[{name:"Tier 1",href:"",current:!0},{name:"Tier 2",href:"",current:!1},{name:"Tier 3",href:"",current:!1}];function Cfe(e){const{title:n,title_color:a,description:o,desc_color:i,TABLE_VALUE:l,TABLE_HEADER:s}=e,[c,u]=r(1);return t.createElement("div",{className:" max-w-7xl px-4 sm:px-6 lg:px-8 "},t.createElement("div",{className:" flex justify-around "},t.createElement("div",{className:"w-full flex-col items-center flex justify-around tb-l:flex tb-l:flex-col tb-l:items-center"},t.createElement("div",null,n&&t.createElement(ce,{textStyle:"h3",className:A(a)},n),o&&t.createElement(ce,{textStyle:"body1c",className:A(i)},o)),t.createElement("div",{className:" mt-11 p-2 bg-neutral-0 rounded-full shadow tb-l:hidden"},t.createElement(ffe,{onTabClick:function(e){"Tier 1"===e.name&&u(1),"Tier 2"===e.name&&u(2),"Tier 3"===e.name&&u(3)},tabs:jfe})))),t.createElement("div",{className:"tb-l:hidden"},t.createElement("div",{className:"mt-8 bg-neutral-0 rounded-3xl "},t.createElement("div",{className:" shadow rounded-3xl "},t.createElement("div",{className:"flex border-x px-8 py-[1.625rem] border-neutral-200 rounded-t-3xl flex-col justify-center items-center text-center"},t.createElement("div",{className:"flex items-center gap-2"},s[c].icon&&t.createElement(mz,{height:"h-6 w-6",variant:s[c].icon,strokeClass:s[c].iconStrokeClass}),s[c].title&&0==c&&t.createElement(ce,{textStyle:"h5",className:s[c].title_text_color},`${s[c].title}`),s[c].title&&0!=c&&t.createElement(ce,{textStyle:"h5",className:s[c].title_text_color},`${s[c].title}`)),t.createElement("div",{className:" max-w-[10rem]"},s[c].descr&&t.createElement(ce,{textStyle:"body1",className:s[c].descr_text_color},`${s[c].descr}`))),t.createElement("div",{className:"divide-y divide-neutral-200 rounded-b-3xl"},t.createElement("div",{className:"flex flex-col border border-neutral-200 divide-y divide-neutral-200 rounded-b-3xl items-center"},t.createElement("div",{className:"flex divide-y divide-neutral-200 flex-col w-full gap-2 items-start"},l.map(((e,r)=>t.createElement(t.Fragment,{key:r},((e,r)=>{const n=`key${r}`;if(e[n]&&(e[n].text||e[n].iconVariant))return t.createElement(t.Fragment,null,t.createElement("div",{className:"flex gap-4 p-4 w-full"},(e[n].text||e[n].iconVariant)&&t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:"checkcircle",strokeClass:"stroke-green-500"}),t.createElement(t.Fragment,null,t.createElement(ce,{textStyle:"body1c",className:"text-neutral-700 [&>span]:pb-2 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 [&>ul>li]:last:pb-0"},e[n].text&&null!==e[n].text&&t.createElement(t.Fragment,null,`${e[n].text} `),e.rowTitle&&(e[n].text||e[n].iconVariant)&&t.createElement(t.Fragment,null,t.createElement(iie,{components:{p:"span"}},`${e.rowTitle}`))))))})(e,c)))))))))),t.createElement("div",{className:"hidden tb-l:block"},t.createElement("div",{className:"mt-12 bg-neutral-0 rounded-3xl "},t.createElement("table",{className:"min-w-full shadow tableclss rounded-3xl "},t.createElement("thead",null,t.createElement("tr",{className:"divide-x border-b border-neutral-200 divide-neutral-200 text-center rounded-t-3xl"},Object.keys(s).map(((e,r)=>t.createElement("th",{key:r,scope:"col",className:"px-8 py-6 sm:table-cell"},t.createElement("div",{className:""},t.createElement("div",{className:"flex flex-col justify-center items-center text-center"},t.createElement("div",{className:"flex items-center gap-2 w-full justify-center"},s[e].icon&&t.createElement(mz,{height:"h-6 w-6 stroke-[1.5px]",variant:s[e].icon,strokeClass:A(s[e].iconStrokeClass)}),s[e].title&&0==e&&t.createElement(ce,{textStyle:"h5",className:`w-full text-left ${A(s[e].title_text_color)}`},s[e].title),s[e].title&&0!=e&&t.createElement(ce,{textStyle:"h5",className:A(s[e].title_text_color)},t.createElement(iie,null,s[e].title))),t.createElement("div",{className:" max-w-[10rem]"},s[e].descr&&t.createElement(ce,{textStyle:"body1",className:A(s[e].descr_text_color)},s[e].descr))))))))),t.createElement("tbody",{className:"divide-y divide-neutral-200"},l.map(((e,r)=>t.createElement("tr",{className:"divide-x divide-neutral-200",key:r},Object.keys(e).map((n=>t.createElement(t.Fragment,{key:r+n},null!==n&&"rowTitle"===n&&t.createElement("td",{className:"px-8 py-7 w-[22.5rem]"},t.createElement(ce,{className:"max-w-[22rem] text-neutral-700 [&>p]:pb-2 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 [&>ul>li]:last:pb-0",textStyle:"body1c"},t.createElement(iie,null,e[n]))),null!==n&&"rowTitle"!==n&&null!==e[n]&&t.createElement("td",{className:"px-8 py-7 border-table text-center "},e&&n&&e[n]&&null===e[n].text&&!e[n].iconVariant&&null===e[n].iconVariant&&t.createElement(t.Fragment,null),null!==e[n].text&&e[n].text&&t.createElement(ce,{className:"text-neutral-700",textStyle:"body1c"},e[n].text),(null===e[n].text||!e[n].text)&&e[n].iconVariant&&t.createElement("div",{className:"flex justify-center"},t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e[n].iconVariant,strokeClass:A(e[n].iconStrokeClass)}))),null===n&&t.createElement("td",{key:r,className:"px-8 py-7 border-table text-center"}))))))))))))}function Pfe(e){const{head:r,description:n,tableValue:a,children:o}=e;return Object.keys(a[0]).length,t.createElement("div",{className:" "},t.createElement("div",{className:"sm:flex sm:items-center "},t.createElement("div",{className:"sm:flex-auto"},t.createElement("h1",{className:"text-base font-semibold leading-6 text-gray-900"},r),t.createElement("p",{className:"mt-2 text-sm text-gray-700"},n))),t.createElement("div",null,t.createElement("div",{className:"border border-neutral-100 rounded-2xl"},t.createElement("table",{className:"min-w-full divide-y divide-neutral-100 "},t.createElement("thead",null,t.createElement("tr",{className:"divide-x divide-neutral-100"},Object.keys(a[0]).map(((e,r)=>t.createElement("th",{key:e,scope:"col",className:0===r?"rounded-tl-2xl text-left sm:table-cell bg-neutral-50":"text-left sm:table-cell bg-neutral-50 rounded-tr-2xl"},t.createElement(ce,{className:"p-6",textStyle:"body3c-bold"},e)))))),t.createElement("tbody",{className:"divide-y rounded-b-3xl divide-neutral-100 "},a.slice(1).map(((e,r)=>t.createElement("tr",{key:r,className:"divide-x divide-neutral-100 "},Object.keys(e).map(((n,o)=>t.createElement("td",{key:o+r,className:"p-6 "+(r==""+(a.length-2)?"rounded-3xl":"")},t.createElement(ce,{textStyle:"body3c-bold",className:"bg-transparent text-neutral-800"},n.toString()),t.createElement(ce,{textStyle:"body3",className:"text-neutral-800 mt-2"},e[n].toString()))))))))))))}function Mfe(e){const{title:o,title_color:i,description:l,desc_color:s,TABLE_VALUE:c,TABLE_HEADER:u}=e,[h,m]=r(!1),p=n();a((()=>{const e=()=>{p.current.getBoundingClientRect().top,m(!0)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[]);return t.createElement("div",{className:"px-10"},t.createElement("div",{className:"hidden tb:block"},t.createElement("div",{className:" mt-[70px] rounded-3xl bg-neutral-0"},u&&u[0]&&u[0].title&&t.createElement(ce,{textStyle:"h4",className:`pb-10 pl-8 pt-[72px] ${A(i)}`},u[0].title),t.createElement("table",{className:"rounded-3xl w-full table-fixed "},c.map(((e,r)=>t.createElement("tbody",{key:r,className:"border-90 bg-neutral-0"},Object.keys(e).map((n=>t.createElement(t.Fragment,null,t.createElement("tr",{key:r+n,className:""},Object.keys(e[n][0]).map((a=>t.createElement(t.Fragment,{key:a+n+r},null!==a&&t.createElement("th",{ref:p,className:"first:rounded-l-full last:rounded-r-full px-8 z-[100] top-[72px] sticky "+(0===r?"bg-neutral-0":"bg-neutral-100")},t.createElement("div",{className:"flex flex-col py-3.5 gap-[11px]"},t.createElement(ce,{textStyle:"h5",className:"text-neutral-900 text-left whitespace-nowrap"},a),e[n][0][a].btn&&e[n][0][a].btn_cta&&t.createElement("div",{className:"flex -mt-4"},t.createElement("a",{href:e[n][0][a].btn_cta},t.createElement(V8,{label:e[n][0][a].btn,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"",className:" "}))))))))),((e,r)=>{let n="";e[r][0]&&e[r][0];const a=e[r].map((e=>Object.keys(e)[0]))[0];return e[r].length&&(n=e[r].length),t.createElement(t.Fragment,null,e[r].map(((e,r)=>t.createElement("tr",{className:"",key:r},Object.keys(e).map((o=>t.createElement(t.Fragment,{key:r+o},null!==o&&o===a&&r!==n-1&&0!==r&&t.createElement("td",{className:"pl-[30px] border-80 "},t.createElement("div",{className:" "},t.createElement(ce,{className:"py-4 text-neutral-700",textStyle:"body1"},e[o]))),null!==o&&o===a&&r!==n-1&&0===r&&t.createElement("td",{className:"pl-[30px] border-80 "},t.createElement("div",{className:" "},t.createElement(ce,{className:"pb-4 pt-12 text-neutral-700",textStyle:"body1"},e[o]))),null!==o&&o===a&&r===n-1&&t.createElement("td",{className:"pl-[30px] border-80 "},t.createElement("div",{className:" "},t.createElement(ce,{className:"pt-4 pb-12 text-neutral-700",textStyle:"body1"},e[o]))),null!==o&&o!==a&&null!==e[o]&&0!==r&&r!==n-1&&t.createElement("td",{className:"px-8 text-left ml-[30px] border-80 "},e&&o&&e[o]&&null===e[o].text&&!e[o].iconVariant&&null===e[o].iconVariant&&t.createElement("div",{className:""}),null!==e[o].text&&e[o].text&&t.createElement("div",{className:" "},t.createElement(ce,{className:"text-neutral-700 py-4",textStyle:"body1"},e[o].text)),(null===e[o].text||!e[o].text)&&e[o].iconVariant&&t.createElement("div",{className:"flex "},t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e[o].iconVariant,strokeClass:A(e[o].iconStrokeClass)}))),null!==o&&o!==a&&null!==e[o]&&0===r&&t.createElement("td",{className:"px-8 text-left ml-[30px] border-80 "},e&&o&&e[o]&&null===e[o].text&&!e[o].iconVariant&&null===e[o].iconVariant&&t.createElement("div",{className:""}),null!==e[o].text&&e[o].text&&t.createElement("div",{className:" "},t.createElement(ce,{className:"text-neutral-700 pb-4 pt-12",textStyle:"body1"},e[o].text)),(null===e[o].text||!e[o].text)&&e[o].iconVariant&&t.createElement("div",{className:"flex pb-4 pt-12"},t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e[o].iconVariant,strokeClass:A(e[o].iconStrokeClass)}))),null!==o&&o!==a&&null!==e[o]&&r===n-1&&t.createElement("td",{className:"px-8 text-left ml-[30px] border-80 "},e&&o&&e[o]&&null===e[o].text&&!e[o].iconVariant&&null===e[o].iconVariant&&t.createElement("div",{className:""}),null!==e[o].text&&e[o].text&&t.createElement("div",{className:" "},t.createElement(ce,{className:"text-neutral-700 pt-4 pb-12",textStyle:"body1"},e[o].text)),(null===e[o].text||!e[o].text)&&e[o].iconVariant&&t.createElement("div",{className:"flex pt-4 pb-12 "},t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e[o].iconVariant,strokeClass:A(e[o].iconStrokeClass)}))),null===o&&t.createElement("td",{key:r,className:"px-8 py-7 border-table text-center"}))))))))})(e,n))))))),u&&t.createElement(t.Fragment,null,t.createElement("tbody",null,t.createElement("tr",null,t.createElement("td",null),u.map(((e,r)=>t.createElement(t.Fragment,{key:r},0!==r&&e.button_title&&t.createElement("td",{key:r,className:"px-8"},t.createElement("a",{href:e.button_link},t.createElement(V8,{label:e.button_title,type:"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",className:"mt-4 mb-16"})))))))))))))}function kfe(e){const[r,n]=t.useState(0),[a,o]=t.useState(0),[i,l]=t.useState(0),s=e.images.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),c=e=>{n(e),s[e].current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},u=e.images.length,h=()=>{c(r>=u-1?0:r+1)},m=()=>{c(0===r?u-1:r-1)},p=e=>t.createElement("button",{type:"button",onClick:e?m:h,className:"absolute text-2xl z-10 bg-black h-10 w-10 rounded-full bg-neutral-0 flex items-center justify-center "+(e?"left-2 db:-left-5":"right-2 db:-right-5"),style:{top:"40%"}},t.createElement("span",{role:"img","aria-label":"Arrow "+(e?"left":"right")},e?t.createElement(mz,{className:""+(0==r?"invisible":""),height:"h-6",variant:"chevronleft",strokeColor:"#1F2A37"}):t.createElement(mz,{height:"h-6",variant:"chevronright",strokeColor:"#1F2A37"})));return t.createElement("div",null,t.createElement("div",{className:"flex justify-center select-none items-center gap-10 "},t.createElement("div",{className:"relative w-full"},t.createElement("div",{className:"snap-x inline-flex select-none overflow-x-scroll scrollbar-hide",onTouchStart:e=>{o(e.targetTouches[0].clientX)},onTouchMove:e=>{l(e.targetTouches[0].clientX)},onTouchEnd:()=>{a-i>150&&h(),a-i<-150&&m()},onMouseDown:e=>o(e.clientX),onMouseUp:e=>{a-e.clientX>50&&h(),a-e.clientX<-50&&m()}},p(!0),e.images.map(((e,n)=>t.createElement("div",{className:"w-3/4 snap-center shrink-0 mx-4",key:n,ref:s[n]},t.createElement("img",{src:e,className:"w-full select-none rounded-3xl object-contain "+(r==n?"":" opacity-60 transition-opacity delay-300 ease-in"),draggable:"false"})))),p()))),t.createElement("div",null,t.createElement("div",{className:"flex flex-row gap-4 mt-10 ml-4"},e.images.map(((e,n)=>t.createElement("div",{className:"",key:n},t.createElement("img",{src:e,className:`max-w-[6rem] ${r==n?"border-blue-400 border-4":""} rounded-lg object-contain`})))))))}function Sfe(e){const a=n(null),[o,i]=t.useState(0),[l,s]=t.useState(0),[c,u]=t.useState(0),[h,m]=r(!1),p=e.cards.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),f=e.cards.length,d=()=>{let e=1;window.innerWidth>800&&(e=2),window.innerWidth>1140&&(e=3),o<f-e?(i(o+e),a.current.scrollTo({left:a.current.scrollLeft+a.current.children[0].offsetWidth*e,behavior:"smooth"})):(i(0),a.current.scrollTo({left:0,behavior:"smooth"}))},v=()=>{let e=1;if(window.innerWidth>800&&(e=2),window.innerWidth>1140&&(e=3),o>0)i(o-e),a.current.scrollTo({left:a.current.scrollLeft-a.current.children[0].offsetWidth*e,behavior:"smooth"});else{const t=f-1,r=a.current.scrollWidth-a.current.children[0].offsetWidth*e;i(t),a.current.scrollTo({left:r,behavior:"smooth"})}},g=e=>t.createElement("button",{type:"button",onClick:e?v:d,className:"flex text-2xl z-10 bg-black h-10 ml-6 w-10 rounded-full bg-purple-200 hover:bg-neutral-0 flex items-center justify-center "},t.createElement("span",{role:"img","aria-label":"Arrow "+(e?"left":"right")},e?t.createElement(mz,{height:"h-6 w-6",variant:"chevronleft",strokeColor:"#00288E"}):t.createElement(mz,{height:"h-6 w-6",variant:"chevronright",strokeColor:"#00288E"})));return t.createElement("div",{className:""},t.createElement("div",{className:"block tb:hidden"},h?e.cards.map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:p[n]},t.createElement("div",{className:"rounded-3xl overflow-hidden"},t.createElement(e.component,r))))):e.cards.slice(0,6).map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:p[n]},t.createElement("div",{className:"rounded-3xl overflow-hidden"},t.createElement(e.component,r))))),e.cards.length>6&&t.createElement("div",{className:"flex"},t.createElement(V8,{label:h?"View less":"View more",type:"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#1E56E3",animatedHoverStroke:"group-hover:stroke-neutral-0",className:"flex",btnTextColorClass:"text-blue-600",btnBgColorClass:"",onClick:()=>m(!h)}))),t.createElement("div",{className:"hidden tb:flex tb:flex-col"},t.createElement("div",{className:"flex pb-12 items-center justify-end "},t.createElement("div",{className:"flex"},g(!0),g())),t.createElement("div",{className:"justify-center select-none items-center",onTouchStart:e=>{s(e.targetTouches[0].clientX)},onTouchMove:e=>{u(e.targetTouches[0].clientX)},onTouchEnd:()=>{l-c>150&&d(),l-c<-150&&v()},onMouseDown:e=>s(e.clientX),onMouseUp:e=>{l-e.clientX>50&&d(),l-e.clientX<-50&&v()}},t.createElement("div",{className:""},t.createElement("div",{className:"snap-x w-full inline-flex select-none overflow-x-hidden scrollbar-hide",ref:a},e.cards.map(((r,n)=>t.createElement("div",{className:" db:snap-center snap-center tb-m:snap-start mx-5 shrink-0",key:n,ref:p[n]},t.createElement("div",{className:"w-full select-none rounded-3xl object-contain"},t.createElement(e.component,r))))))))))}function Nfe(e){const a=n(null),[o,i]=t.useState(0),[l,s]=r(!1),c=e.cards.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),u=e.cards.length,h=" text-2xl z-10 bg-black h-12 w-12 ml-6 w-10 rounded-full bg-neutral-0 hover:bg-neutral-0 flex items-center justify-center shadow",m=(e,t)=>"isLeft"===t?0===e:"isRight"===t?2===e:void 0;return t.createElement("div",{className:""},t.createElement("div",{className:"block tb:hidden"},l?e.cards.map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:c[n]},t.createElement("div",{className:"rounded-3xl overflow-hidden"},t.createElement(e.component,r))))):e.cards.slice(0,6).map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:c[n]},t.createElement("div",{className:"rounded-3xl overflow-hidden"},t.createElement(e.component,r))))),e.cards.length>6&&t.createElement("div",{className:"flex"},t.createElement(V8,{label:l?"View less":"View more",type:"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#1E56E3",animatedHoverStroke:"group-hover:stroke-neutral-0",className:"flex",btnTextColorClass:"text-blue-600",btnBgColorClass:"",onClick:()=>s(!l)}))),t.createElement("div",{className:"hidden tb:flex tb:flex-col-reverse"},t.createElement("div",{className:"flex pt-10 justify-center items-center"},t.createElement("div",{className:"flex"},t.createElement("button",{type:"button",onClick:()=>{(()=>{if(o>0)i(o-1),a.current.scrollTo({left:a.current.scrollLeft-1*a.current.children[0].offsetWidth,behavior:"smooth"});else{const e=u-1,t=a.current.scrollWidth-1*a.current.children[0].offsetWidth;i(e),a.current.scrollTo({left:t,behavior:"smooth"})}})()},className:`flex bg-blue-600 ${h} disabled:bg-neutral-200 `,disabled:m(o,"isLeft")},t.createElement("span",{role:"img","aria-label":"Arrow left "},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5]",variant:"arrowleft",strokeColor:"#1F2A37"}))),t.createElement("button",{type:"button",onClick:()=>{o<u-1?(i(o+1),a.current.scrollTo({left:a.current.scrollLeft+1*a.current.children[0].offsetWidth,behavior:"smooth"})):(i(0),a.current.scrollTo({left:0,behavior:"smooth"}))},className:`flex bg-blue-600 ${h} disabled:bg-neutral-200 `,disabled:m(o,"isRight")},t.createElement("span",{role:"img","aria-label":"Arrow right "},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5]",variant:"arrowright",strokeColor:"#1F2A37"}))))),t.createElement("div",{className:"justify-center select-none items-center"},t.createElement("div",{className:""},t.createElement("div",{className:"snap-center w-full inline-flex select-none overflow-x-hidden scrollbar-hide",ref:a},e.cards.map(((r,n)=>t.createElement("div",{className:"snap-center first:ml-0 mx-5 shrink-0",key:n,ref:c[n]},t.createElement("div",{className:"w-full snap-center select-none rounded-3xl object-contain"},t.createElement(e.component,r))))))))))}Cfe.defaultProps={title_color:"text-blue-800",desc_color:"text-blue-600"};const Bfe=[["https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016995/optum_Card_17973d6328.png","https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016994/philips_5bab1602cd.png","https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016996/nutrien_e629b651d5.png"]],Vfe=e=>t.createElement("div",{className:"h-full"},t.createElement("div",{className:" w-[300px] flex flex-col items-center justify-between rounded-3xl h-[338px] "},t.createElement("img",{src:e,alt:"img",className:"w-[300px]"})));function Rfe(e){let a=["https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016994/philips_5bab1602cd.png","https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016996/nutrien_e629b651d5.png","https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687016995/optum_Card_17973d6328.png"];function o(e){return{video_url:e.video.data.attributes.url||"",testimonial:{card:{title_img:e.slideLogo?.data?.attributes?.url||"",subtitle:e.slideQuoteText||"",avatar:{img_url:e.slideAuthorImage?.data?.attributes?.url||"",name:e.slideAuthorName||"",designation:e.slideAuthorTitle||""}},cardHover:{cardBg:e.slideHoverColor||"",img_url:e.slideHoverImage?.data?.attributes?.url||"",title:e.slideHoverText||"",button:{cta_text:e.slideCTAText||""},slideCTA:e?.slideCTA||""}}}}const i=[];for(const t in e.data)if(e.data.hasOwnProperty(t)){const r=o(e.data[t]);i.push(r)}const[l,s]=r(!1),[c,u]=t.useState(null),h=n(null),m=n(null),[p,f]=t.useState(0),d=i.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),v=Bfe.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),g=a.length,b=" text-2xl z-50 bg-black h-10 w-10 rounded-full bg-neutral-0 shadow-md hover:bg-neutral-100 hover:shadow-lg bg-blue-600 z-500 flex items-center justify-center",w=()=>{u((e=>!e))},y=(e,t)=>"isLeft"===t?0===e:"isRight"===t?2===e:void 0,x=()=>t.createElement("button",{type:"button",onClick:()=>{w(),(()=>{if(p>0)f(p-1),h.current.scrollTo({left:h.current.scrollLeft-1*h.current.children[0].offsetWidth,behavior:"smooth"}),m.current.scrollTo({left:m.current.scrollLeft-1.5*m.current.children[0].offsetWidth,behavior:"smooth"}),s(!1);else{const e=g-1,t=h.current.scrollWidth-1*h.current.children[0].offsetWidth;f(e),h.current.scrollTo({left:t,behavior:"smooth"});const r=m.current.scrollWidth-1.5*m.current.children[0].offsetWidth;f(e),m.current.scrollTo({left:r,behavior:"smooth"}),s(!1)}})()},className:`flex bg-blue-600 ${b} disabled:bg-neutral-200 `,disabled:y(p,"isLeft")},t.createElement("span",{role:"img","aria-label":"Arrow left "},t.createElement(mz,{height:"h-6 w-6",variant:"chevronleft",strokeColor:"#00288E"}))),O=()=>t.createElement("button",{type:"button",onClick:()=>{w(),p<g-1?(f(p+1),h.current.scrollTo({left:h.current.scrollLeft+1*h.current.children[0].offsetWidth,behavior:"smooth"}),m.current.scrollTo({left:m.current.scrollLeft+1.5*m.current.children[0].offsetWidth,behavior:"smooth"})):(f(0),h.current.scrollTo({left:0,behavior:"smooth"}),m.current.scrollTo({left:0,behavior:"smooth"}),s(!0))},className:`flex bg-blue-600 ${b} disabled:bg-neutral-200 `,disabled:y(p,"isRight")},t.createElement("span",{role:"img","aria-label":"Arrow right "},t.createElement(mz,{height:"h-6 w-6",variant:"chevronright",strokeColor:"#00288E"}))),[E,j]=r(!1);return t.createElement("div",{className:"min-[699px]:relative block"},t.createElement("div",{className:"mx-auto w-screen"},t.createElement("div",{className:"min-[699px]:relative flex flex-col items-center right-[75ppx] top-[112px]"},t.createElement("div",{className:"absolute"})),t.createElement("div",{className:" min-[699px]:relative top-5 rounded-lg"},t.createElement("div",{className:" min-[699px]:absolute"},t.createElement("div",{className:" flex flex-col-reverse tb:flex-col-reverse tb:flex items-center"},t.createElement("div",{className:"hidden min-[699px]:flex z-10 min-[699px]:mt-[70px] justify-center items-center"},t.createElement("div",{className:"flex w-screen gap-6 justify-center "},t.createElement("div",{className:"btnDBleft"},x()),t.createElement("div",{className:"btnDBright"},O()))),t.createElement("div",{className:"max-[369px]:mt-8 min-[400px]:-mt-[10rem] min-[699px]:hidden"},t.createElement("div",{className:"flex w-screen gap-6 justify-center "},x(),O())),t.createElement("div",{className:"justify-center select-none items-center"},t.createElement("div",{className:"w-screen flex justify-center items-center "},t.createElement("div",{className:" z-30"},t.createElement("div",{className:"snap-x max-[699px]:w-screen bg-neutral-00 tb:w-[580px] items-center z-20 inline-flex select-none overflow-x-hidden scrollbar-hide",ref:h},i.map(((e,r)=>t.createElement("div",{className:" db:snap-center snap-center mx-6 ",key:r,ref:d[r]},t.createElement("div",{className:"select-none rounded-3xl object-contain "},t.createElement(Sie,e))))))),t.createElement("div",{className:"hidden snap-x tb-l:max-w-[1240px] min-[1300px]:max-w-7xl\n gap-[167px]\n items-center min-[1300px]:flex select-none overflow-x-hidden scrollbar-hide absolute z-0",ref:m},a.map(((e,r)=>t.createElement(t.Fragment,null,t.createElement("div",{className:" transition-all duration-[1500ms] z-[1] snap-center tb-m:snap-start mx-3",key:r+"x",ref:v[r]},t.createElement("div",{className:"select-none rounded-3xl object-contain"},t.createElement("div",null,0==r&&Vfe(a[r+1]),1==r&&Vfe(a[1])))),t.createElement("div",{className:(E?" ":"")+" transition-all duration-[1500ms] z-[1] snap-center tb-m:snap-start mx-3 ",key:r+"y",ref:v[r]},t.createElement("div",{className:"select-none rounded-3xl object-contain"},Vfe(a[2]))),t.createElement("div",{className:" transition-all duration-[1500ms] z-[1] snap-center tb-m:snap-start mx-3 ",key:r+"z",ref:v[r]},t.createElement("div",{className:"select-none rounded-3xl object-contain"},Vfe(a[0])))))))))))),t.createElement("div",{className:" hidden min-[699px]:flex tb:flex-col items-center"},t.createElement("div",{className:"relative -right-[44px]"},t.createElement("img",{alt:"tab",src:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1687108911/hasura-design-system/Group_2608834_rxnldq.png",className:"w-[709px]"})))))}function Afe(e){const a=n(null),[o,i]=t.useState(0),[l,s]=t.useState(0),[c,u]=t.useState(0),[h,m]=r(!1),p=e.cards.reduce(((e,r,n)=>(e[n]=t.createRef(),e)),{}),f=e.cards.length,d=()=>{o<f-1?(i(o+1),a.current.scrollTo({left:a.current.scrollLeft+1*a.current.children[0].offsetWidth,behavior:"smooth"})):(i(0),a.current.scrollTo({left:0,behavior:"smooth"}))},v=()=>{if(o>0)i(o-1),a.current.scrollTo({left:a.current.scrollLeft-1*a.current.children[0].offsetWidth,behavior:"smooth"});else{const e=f-1,t=a.current.scrollWidth-1*a.current.children[0].offsetWidth;i(e),a.current.scrollTo({left:t,behavior:"smooth"})}},g=" text-2xl z-10 bg-black h-10 w-10 ml-6 w-10 rounded-full bg-neutral-0 hover:bg-neutral-0 flex items-center justify-center shadow",b=(e,t)=>"isLeft"===t?0===e:"isRight"===t?2===e:void 0;return t.createElement("div",{className:""},t.createElement("div",{className:"flex flex-row overflow-scroll scrollbar-hide gap-4 tb:hidden"},h?e.cards.map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:p[n]},t.createElement("div",{className:"rounded-3xl shadow min-w-[312px] overflow-hidden"},t.createElement(e.component,r))))):e.cards.slice(0,6).map(((r,n)=>t.createElement("div",{className:"my-5",key:n,ref:p[n]},t.createElement("div",{className:"rounded-3xl shadow overflow-hidden"},t.createElement(e.component,r))))),e.cards.length>6&&t.createElement("div",{className:"flex"},t.createElement(V8,{label:h?"View less":"View more",type:"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#1E56E3",animatedHoverStroke:"group-hover:stroke-neutral-0",className:"flex",btnTextColorClass:"text-blue-600",btnBgColorClass:"",onClick:()=>m(!h)}))),t.createElement("div",{className:"hidden tb:flex tb:flex-col-reverse"},t.createElement("div",{className:"flex items-center justify-center mt-10"},t.createElement("div",{className:"flex"},t.createElement("button",{type:"button",onClick:()=>{v()},className:`flex bg-blue-600 ${g} disabled:bg-neutral-200 `,disabled:b(o,"isLeft")},t.createElement("span",{role:"img","aria-label":"Arrow left "},t.createElement(mz,{height:"h-6 w-6",variant:"chevronleft",strokeColor:"#6C737F"}))),t.createElement("button",{type:"button",onClick:()=>{d()},className:`flex bg-blue-600 ${g} disabled:bg-neutral-200 `,disabled:b(o,"isRight")},t.createElement("span",{role:"img","aria-label":"Arrow right "},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5]",variant:"chevronright",strokeColor:"#6C737F"}))))),t.createElement("div",{className:"justify-center select-none items-center",onTouchStart:e=>{s(e.targetTouches[0].clientX)},onTouchMove:e=>{u(e.targetTouches[0].clientX)},onTouchEnd:()=>{l-c>150&&d(),l-c<-150&&v()},onMouseDown:e=>s(e.clientX),onMouseUp:e=>{l-e.clientX>50&&d(),l-e.clientX<-50&&v()}},t.createElement("div",{className:""},t.createElement("div",{className:"snap-x w-full inline-flex select-none overflow-x-hidden scrollbar-hide",ref:a},e.cards.map(((r,n)=>t.createElement("div",{className:" snap-center mx-5 shrink-0 py-1",key:n,ref:p[n]},t.createElement("div",{className:"w-full select-none rounded-3xl object-contain"},t.createElement(e.component,r))))))))))}function Tfe({components:e,variants:n}){const[o,i]=r(!0),[l,s]=r(0),[c,u]=r(e.length-1),[h,m]=r(1),[p,f]=r(0),[d,v]=r(!0),g=()=>{d&&b()};a((()=>{const e=setInterval(g,3e3);return()=>clearInterval(e)}),[l,d]);const b=()=>{c===e.length-1?u(0):u(c+1),l===e.length-1?s(0):s(l+1),h===e.length-1?m(0):m(h+1),i(!0),f((t=>t===e.length-1?0:t+1)),i(!0)},w=()=>{i(!1),u(0===c?e.length-1:c-1),s(0===l?e.length-1:l-1),m(0===h?e.length-1:h-1),f((t=>0===t?e.length-1:t-1)),i(!1)},y=()=>{v(!1)},x=()=>{v(!0)};return e?t.createElement("div",{className:"h-full",onMouseEnter:y,onMouseLeave:x},t.createElement("div",{className:"hidden tb-l:grid relative h-full"},t.createElement(Ape.div,{className:"flex justify-center "},t.createElement(Zpe,{initial:!1},t.createElement(Ape.div,{key:c,variants:n,initial:o?"center":"leftHidden",animate:"left",exit:"leftHidden",className:"carousel-item"},e[c]),t.createElement(Ape.div,{variants:n,key:l,initial:o?"right":"left",animate:"center",className:"carousel-item"},e[l]),t.createElement(Ape.div,{key:h,variants:n,initial:o?"rightHidden":"center",animate:"right",exit:"rightHidden",className:"carousel-item"},e[h])))),t.createElement("div",{className:"hidden tb-l:flex mt-10 "},t.createElement("div",{className:"gap-4 w-full h-full flex justify-center"},t.createElement(Ape.button,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{type:"spring",duration:.5},whileHover:{scale:1.1},whileTap:{scale:.8},className:" w-12 h-12 bg-neutral-0 shadow hover:bg-neutral-100 rounded-full flex justify-center items-center active:bg-neutral-200 ",onClick:w},t.createElement(mz,{height:"h-6 w-6",variant:"chevronleft",strokeClass:"stroke-neutral-800"})),t.createElement(Ape.button,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{type:"spring",duration:.5},whileHover:{scale:1.1},whileTap:{scale:.8},className:"w-12 h-12 bg-neutral-0 shadow hover:bg-neutral-100 rounded-full flex justify-center items-center active:bg-neutral-200",onClick:b},t.createElement(mz,{height:"h-6 w-6",variant:"chevronright",strokeClass:"stroke-neutral-800"})))),t.createElement("div",{className:"tb-l:hidden flex overflow-x-scroll pb-10 pt-4 tb:pb-16 tb:pt-10 px-4 gap-2 mb-m:gap-4 tb-m:gap-4"},e.map(((e,r)=>t.createElement(t.Fragment,{key:r},t.createElement("div",{className:"tb-l:min-w-[700px] tb:min-w-[500px] mb-s:min-w-[350px] min-w-[300px]"},e)))))):t.createElement(t.Fragment,null)}function Hfe({components:e,variants:n}){const[o,i]=r(!0),[l,s]=r(0),[c,u]=r(e.length-1),[h,m]=r(1),[p,f]=r(0),[d,v]=r(!0),g=()=>{d&&b()};a((()=>{const e=setInterval(g,3e3);return()=>clearInterval(e)}),[l,d]);const b=()=>{i(!0),c===e.length-1?u(0):u(c+1),l===e.length-1?s(0):s(l+1),h===e.length-1?m(0):m(h+1),f((t=>t===e.length-1?0:t+1))},w=()=>{i(!1),u(0===c?e.length-1:c-1),s(0===l?e.length-1:l-1),m(0===h?e.length-1:h-1),f((t=>0===t?e.length-1:t-1))},y=()=>{v(!1)},x=()=>{v(!1)};return e?t.createElement("div",{className:"h-full",onMouseEnter:y,onMouseLeave:x},t.createElement("div",{className:"hidden tb-l:grid relative h-full"},t.createElement(Ape.div,{className:"flex justify-center "},t.createElement(Zpe,{initial:!1},t.createElement(Ape.div,{key:c,variants:n,animate:o?"rightHidden":"left",exit:"leftHidden",className:"carousel-item"},e[c]),t.createElement(Ape.div,{variants:n,key:l,animate:"center",className:"carousel-item"},e[l]),t.createElement(Ape.div,{key:h,variants:n,animate:o?"leftHidden":"right",exit:"rightHidden",className:"carousel-item"},e[h])))),t.createElement("div",{className:"hidden tb-l:flex mt-10 "},t.createElement("div",{className:"gap-4 w-full h-full flex justify-center"},t.createElement(Ape.button,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{type:"spring",duration:.5},whileHover:{scale:1.1},whileTap:{scale:.8},className:" w-12 h-12 bg-neutral-0 shadow hover:bg-neutral-100 rounded-full flex justify-center items-center active:bg-neutral-200 ",onClick:w},t.createElement(mz,{height:"h-6 w-6",variant:"chevronleft",strokeClass:"stroke-neutral-800"})),t.createElement(Ape.button,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{type:"spring",duration:.5},whileHover:{scale:1.1},whileTap:{scale:.8},className:"w-12 h-12 bg-neutral-0 shadow hover:bg-neutral-100 rounded-full flex justify-center items-center active:bg-neutral-200",onClick:b},t.createElement(mz,{height:"h-6 w-6",variant:"chevronright",strokeClass:"stroke-neutral-800"})))),t.createElement("div",{className:"tb-l:hidden flex overflow-x-scroll pb-10 pt-4 tb:pb-16 tb:pt-10 px-4 gap-2 mb-m:gap-4 tb-m:gap-4"},e.map(((e,r)=>t.createElement(t.Fragment,{key:r},t.createElement("div",{className:"tb-l:min-w-[700px] tb:min-w-[500px] mb-s:min-w-[350px] min-w-[300px]"},e)))))):t.createElement(t.Fragment,null)}const Lfe=()=>t.createElement("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M7.31687 9.12914C7.31687 10.1979 6.47716 11.0376 5.40844 11.0376C4.33971 11.0376 3.5 10.1979 3.5 9.12914C3.5 8.06042 4.33971 7.2207 5.40844 7.2207C6.47716 7.2207 7.31687 8.06042 7.31687 9.12914ZM7.31687 12.5643H3.5V24.7783H7.31687V12.5643ZM13.4239 12.5643H9.607V24.7783H13.4239V18.366C13.4239 14.7781 18.0041 14.4728 18.0041 18.366V24.7783H21.821V17.0682C21.821 11.0376 15.027 11.2666 13.4239 14.2438V12.5643Z"})),Ife=()=>t.createElement("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.087 8.93655L21.087 8.93659L21.1002 8.93761C21.9378 9.00203 22.3817 9.16101 22.6263 9.30672C22.827 9.42628 23.0039 9.59975 23.1728 9.98218C23.3636 10.4144 23.5265 11.0801 23.6296 12.1242C23.7315 13.1571 23.7646 14.4356 23.7646 16.0392C23.7646 17.6426 23.7315 18.9284 23.6294 19.9704C23.5261 21.0243 23.3626 21.7015 23.17 22.1417C22.9987 22.5332 22.8229 22.7001 22.6368 22.8096C22.4079 22.9441 21.9795 23.0951 21.1534 23.1375L21.1534 23.1374L21.1445 23.1379C17.4729 23.3419 9.22945 23.3423 5.5387 23.1392C4.71481 23.0738 4.27627 22.9162 4.03377 22.7718C3.8331 22.6522 3.65613 22.4787 3.4873 22.0963C3.29651 21.6641 3.13358 20.9984 3.03051 19.9542C2.92855 18.9213 2.8955 17.6429 2.8955 16.0392C2.8955 14.4356 2.92855 13.1571 3.03051 12.1242C3.13358 11.0801 3.29651 10.4144 3.4873 9.98219C3.65613 9.59975 3.8331 9.42628 4.03377 9.30672C4.27834 9.16101 4.7223 9.00203 5.55985 8.93761L5.55985 8.93765L5.5731 8.93655C9.21419 8.63312 17.4459 8.63312 21.087 8.93655ZM0.808594 16.0392C0.808594 22.5087 1.33032 24.9086 5.39979 25.2216C9.15622 25.4303 17.5039 25.4303 21.2603 25.2216C25.3298 25.0129 25.8515 22.5087 25.8515 16.0392C25.8515 9.56983 25.3298 7.16988 21.2603 6.85685C17.5039 6.54381 9.15622 6.54381 5.39979 6.85685C1.33032 7.16988 0.808594 9.56983 0.808594 16.0392ZM11.71 19.4583C11.0162 19.8052 10.1999 19.3006 10.1999 18.525V13.554C10.1999 12.7783 11.0162 12.2738 11.71 12.6207L16.6809 15.1062C17.45 15.4907 17.45 16.5882 16.6809 16.9728L11.71 19.4583Z"})),Ffe=()=>t.createElement("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M10.755 13.0059H8.50977V15.9995H10.755V24.9805H14.4971V15.9995H17.1914L17.4907 13.0059H14.4971V11.7336C14.4971 11.06 14.6468 10.7606 15.3203 10.7606H17.4907V7.01855H14.6468C11.9525 7.01855 10.755 8.21602 10.755 10.4613V13.0059Z"})),_fe=()=>t.createElement("svg",{className:"w-[21px] h-5",width:"1200",height:"1227",viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:"white"})),Zfe=()=>t.createElement("svg",{width:"26",height:"32",viewBox:"0 0 26 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.3394 7.2359C16.2009 7.2359 16.5586 7.2359 17.7212 7.32532C20.6722 7.41475 22.0135 8.84554 22.103 11.7071C22.1924 12.8696 22.1924 13.1379 22.1924 15.9995C22.1924 18.8611 22.1924 19.2188 22.103 20.2919C22.0135 23.1535 20.5828 24.5843 17.7212 24.6737C16.5586 24.7631 16.2904 24.7631 13.3394 24.7631C10.4778 24.7631 10.1201 24.7631 9.04697 24.6737C6.09596 24.5843 4.75459 23.1535 4.66517 20.2919C4.57574 19.1294 4.57574 18.8611 4.57574 15.9995C4.57574 13.1379 4.57574 12.7802 4.66517 11.7071C4.75459 8.84554 6.18538 7.41475 9.04697 7.32532C10.1201 7.2359 10.4778 7.2359 13.3394 7.2359ZM13.3394 5.26855C10.3883 5.26855 10.0306 5.26855 8.95755 5.35798C5.02286 5.53683 2.87667 7.68302 2.69782 11.6177C2.6084 12.6908 2.6084 13.0485 2.6084 15.9995C2.6084 18.9505 2.6084 19.3082 2.69782 20.3813C2.87667 24.316 5.02286 26.4622 8.95755 26.641C10.0306 26.7305 10.3883 26.7305 13.3394 26.7305C16.2904 26.7305 16.6481 26.7305 17.7212 26.641C21.6558 26.4622 23.802 24.316 23.9809 20.3813C24.0703 19.3082 24.0703 18.9505 24.0703 15.9995C24.0703 13.0485 24.0703 12.6908 23.9809 11.6177C23.802 7.68302 21.6558 5.53683 17.7212 5.35798C16.6481 5.26855 16.2904 5.26855 13.3394 5.26855ZM13.3394 10.4552C10.2989 10.4552 7.79503 12.9591 7.79503 15.9995C7.79503 19.0399 10.2989 21.5438 13.3394 21.5438C16.3798 21.5438 18.8837 19.0399 18.8837 15.9995C18.8837 12.9591 16.3798 10.4552 13.3394 10.4552ZM13.3394 19.5765C11.372 19.5765 9.76237 17.9669 9.76237 15.9995C9.76237 14.0322 11.372 12.4225 13.3394 12.4225C15.3067 12.4225 16.9163 14.0322 16.9163 15.9995C16.9163 17.9669 15.3067 19.5765 13.3394 19.5765ZM19.0625 9.02439C18.3471 9.02439 17.8106 9.56094 17.8106 10.2763C17.8106 10.9917 18.3471 11.5283 19.0625 11.5283C19.7779 11.5283 20.3145 10.9917 20.3145 10.2763C20.3145 9.56094 19.7779 9.02439 19.0625 9.02439Z"})),Dfe=[{icon:t.createElement(Lfe,null),linkUrl:"https://www.linkedin.com/company/hasura/"},{icon:t.createElement(Ife,null),linkUrl:"https://www.youtube.com/channel/UCZo1ciR8pZvdD3Wxp9aSNhQ"},{icon:t.createElement(Ffe,null),linkUrl:"https://www.facebook.com/HasuraHQ"},{icon:t.createElement(_fe,null),linkUrl:"https://twitter.com/hasurahq",className:"py-1"},{icon:t.createElement(Zfe,null),linkUrl:"https://www.instagram.com/hasurahq/?hl=en"}];function qfe(e){const[n,o]=r(!1),[i,l]=r(null);return a((()=>{fetch("https://status.hasura.io/api/v2/status.json").then((e=>e.json())).then((e=>{l(e),o(!1)}),(e=>{o(!0)}))}),[]),t.createElement("div",null,t.createElement("div",{className:"db-s:flex justify-between gap-10 db-s:gap-20 db:gap-40"},t.createElement("div",{className:"pb-10 db-s:pb-0 px-4 tb:px-0"},t.createElement("a",{href:e.brandLink,className:""},t.createElement("img",{className:"max-w-[125px]",src:e.brandUrl,alt:e.brandAlt}))),t.createElement("div",{className:"flex justify-between px-4 tb:px-0 tb:justify-start tb-l:justify-between flex-1 flex-wrap gap-y-10 tb:gap-y-16"},e.footerLinks.map(((e,r)=>t.createElement("div",{key:r,className:"min-w-[130px] db-s:min-w-fit"},t.createElement(ce,{textStyle:"body3c-semi-bold",className:"text-neutral-600"},e.title),e.links.map(((e,r)=>t.createElement("a",{href:e.linkUrl},t.createElement(ce,{textStyle:"body3",className:"text-neutral-600 mt-2 tb:mt-4 hover:text-neutral-1000"},e.linkText))))))))),t.createElement("div",{className:"flex flex-col tb-m:flex-row items-center justify-between tb:pt-24"},t.createElement("div",{className:"flex items-center justify-center pt-10 tb-m:pt-0 pb-4 tb-m:pb-0 tb-m:justify-start"},Dfe.map(((e,r)=>t.createElement("a",{href:e.linkUrl,className:"mx-2 tb-l:mx-4 first:ml-0 last:mr-0 [&>svg>path]:fill-neutral-400 [&>svg>path]:hover:fill-neutral-600 "+(e.className?e.className:"")},e.icon)))),i&&!n&&t.createElement(t.Fragment,null,t.createElement("a",{href:"https://status.hasura.io/",className:""},t.createElement("div",{className:" bg-neutral-0 rounded-full shadow hover:shadow-lg transition-all duration-300 px-4 py-2 inline-flex justify-center items-center"},t.createElement("div",{className:"w-4 h-4 bg-green-400 rounded-full mr-2"}),t.createElement(ce,{textStyle:"body3",className:"text-neutral-1000"},i?.status.description)))),t.createElement("div",null,t.createElement(ce,{textStyle:"body3c",className:"text-neutral-600 pt-4 tb-m:pt-0"},"© ",(new Date).getFullYear()," Hasura Inc. All rights reserved"))))}function Ufe(e){A(e.title_color);const n=A(e.sub_text_color),o=e.feature_cards_links&&e.feature_cards_links[0]?.title?e.feature_cards_links[0].title:null,[i,s]=r();return a((()=>{o&&s(o)}),[o]),t.createElement(t.Fragment,null,e.feature_cards_links&&t.createElement(t.Fragment,null,e.tagLine&&t.createElement(ce,{textStyle:"h6",as:"h6",className:"text-blue-800 uppercase pb-1 tb-l:w-1/2"},e.tagLine),t.createElement(ce,{textStyle:"h4",as:"h4",className:"text-neutral-1000 pb-8 tb-l:w-1/2"},e.title)),t.createElement("div",{className:"grid grid-cols-1 tb-l:grid-cols-2 gap-10 tb:gap-8"+(e.feature_cards_links?" tb:gap-16":" tb-l:gap-20")},t.createElement("div",null,t.createElement("div",null,!e.feature_cards_links&&t.createElement(t.Fragment,null,e.tagLine&&t.createElement(ce,{textStyle:"h6",as:"h6",className:"text-blue-800 uppercase pb-1 tb-l:w-1/2"},e.tagLine),t.createElement(ce,{textStyle:"h4",as:"h4",className:"text-neutral-1000 pb-6 max-w-[330px]"},e.title)),!e.feature_cards_links&&e.sub_title&&t.createElement(ce,{textStyle:"sub1",className:`${n} pb-2 -mt-4`},e.sub_title),!e.content_right&&t.createElement(t.Fragment,null,e.descriptions&&e.descriptions.map(((e,r)=>t.createElement(ce,{key:r,textStyle:"body1",className:"pb-6 pr-8 max-w-[412px] [&>p]:pb-2 [&>p]:text-neutral-600 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>ul>li]:text-neutral-600"},t.createElement(iie,null,e.description)))),e.descriptions_list&&t.createElement("div",{className:"pb-6"},e.descriptions_list&&e.descriptions_list.map(((e,r)=>{const n=A(e.icon_bg_color),a=A(e.icon_color);return t.createElement("div",{className:"flex items-start pb-4 last:pb-0",key:r},t.createElement("div",{className:`${n} w-6 h-6 min-w-[24px] min-h-[24px] rounded-full mr-2 flex items-center justify-center`},t.createElement(mz,{height:"h-3 w-3 stroke-[1.5px]",variant:e.icon_name,strokeClass:a,strokeColor:""})),t.createElement(ce,{textStyle:"body1",className:"text-neutral-600"},e.description))}))),e.addiDescription&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-600 max-w-[412px]"},e.addiDescription)),e.feature_cards_links&&t.createElement("div",{className:"tb:border border-neutral-150 rounded-3xl max-w-[460px]"},e.feature_cards_links.map(((e,r)=>{const n=A(e.icon_color),a=A(e.tab_img_bg_class);return t.createElement("div",{key:r,className:"border-b border-b-neutral-150 last:border-b-0 cursor-pointer",onClick:()=>s(e.title)},t.createElement("div",{className:"my-4 tb-l:m-2 p-4 tb:p-6 rounded-2xl transition ease-in duration-200 hover:bg-neutral-50"+(i===e.title?" bg-neutral-150":""),key:r},t.createElement("div",{className:"flex items-center pb-4"},t.createElement(mz,{height:"w-6 h-6 mr-2 stroke-[1.5px]",variant:e.icon_name,strokeClass:n,strokeColor:""}),t.createElement(ce,{textStyle:"h5",as:"h5",className:"text-neutral-1000"},e.title)),e.description&&t.createElement(ce,{textStyle:"body3",className:"pb-4 text-neutral-600"},e.description),e.descriptions_list&&e.descriptions_list.map(((e,r)=>{const n=A(e.icon_bg_color),a=A(e.icon_color);return t.createElement("div",{className:"flex items-start pb-4 last:pb-0",key:r},t.createElement("div",{className:`${n} w-5 h-5 min-w-[20px] min-h-[20px] rounded-full mr-2 flex items-center justify-center`},t.createElement(mz,{height:"h-3 w-3 stroke-[1.5px]",variant:e.icon_name,strokeClass:a,strokeColor:""})),t.createElement(ce,{textStyle:"body3",className:"text-neutral-600"},e.description))})),e.cta_text&&e.cta_link&&t.createElement("a",{href:e.cta_link,className:"inline-flex"},t.createElement(V8,{label:e.cta_text,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"text-blue-600",animatedHoverStroke:"group-hover:stroke-blue-600"})),e.tab_img_url&&t.createElement("div",{className:`${a} tb-l:hidden p-4 tb-l:p-12 rounded-2xl mt-8`},t.createElement("img",{src:e.tab_img_url,alt:e.title,loading:"lazy"}))))}))),e.button&&t.createElement("div",{className:"flex gap-6 items-center"},e.button.map(((e,r)=>t.createElement("a",{href:e.cta_link,key:r,className:"flex "},t.createElement(V8,{label:e.cta_text,type:e.cta_type||"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:e.rightAnimatedArrowColor||"#3970FD",btnBgColorClass:e.btnBg,btnTextHoverClass:e.btnTextColorClass,animatedHoverStroke:e.animatedHoverStroke,btnTextColorClass:e.btnTextColorClass}))))))),t.createElement(t.Fragment,null,e.content_right?t.createElement("div",null,e.descriptions&&e.descriptions.map(((e,r)=>t.createElement(ce,{key:r,textStyle:"body1",className:"pb-6 pr-8 max-w-[412px] [&>p]:pb-2 last:[&>p]:pb-0 [&>p]:text-neutral-600 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>ul>li]:text-neutral-600"},t.createElement(iie,null,e.description)))),e.descriptions_list&&t.createElement("div",{className:"pb-6"},e.descriptions_list&&e.descriptions_list.map(((e,r)=>{const n=A(e.icon_bg_color),a=A(e.icon_color);return t.createElement("div",{className:"flex items-start pb-4 last:pb-0",key:r},t.createElement("div",{className:`${n} w-6 h-6 min-w-[24px] min-h-[24px] rounded-full mr-2 flex items-center justify-center`},t.createElement(mz,{height:"h-3 w-3 stroke-[1.5px]",variant:e.icon_name,strokeClass:a,strokeColor:""})),t.createElement(ce,{textStyle:"body1",className:"text-neutral-600"},e.description))}))),e.addiDescription&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-600 max-w-[412px]"},e.addiDescription)):t.createElement(t.Fragment,null,e.feature_cards_links?t.createElement(t.Fragment,null,e.feature_cards_links.map(((e,r)=>(A(e.tab_img_bg_class),t.createElement(l,{key:r},i===e.title&&t.createElement("div",{className:("pattern"===e.tab_img_bg_class?"bg-neutral-100":"")+" hidden h-full p-4 tb-l:p-12 tb-l:flex items-center justify-center rounded-2xl db:rounded-3xl relative bg-neutral-100"},"pattern"===e.tab_img_bg_class&&t.createElement("div",{className:"pattern-gradient absolute left-0 top-0 w-full h-full rounded-3xl"}),e.tab_video_url?t.createElement("video",{loading:"lazy",controls:!1,autoPlay:!0,loop:!0,muted:!0,poster:e.tab_video_poster,className:"z-[1]"},t.createElement("source",{src:e.tab_video_url,type:"video/mp4"})):t.createElement("img",{className:"z-[1] max-h-[530px]",src:e.tab_img_url,alt:e.title,loading:"lazy"}))))))):t.createElement(t.Fragment,null,e.iframe_url||e.video_url?t.createElement("div",null,e.iframe_url?t.createElement("div",{className:"relative pb-[56.2%]"},t.createElement("iframe",{loading:"lazy",title:e.title,src:e.iframe_url,frameBorder:"0",allowFullScreen:!0,className:"absolute w-full h-full rounded-2xl db:rounded-3xl"})):t.createElement("video",{loading:"lazy",controls:!1,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,poster:e.video_poster,src:e.video_url,className:"rounded-2xl db:rounded-3xl"})):t.createElement(t.Fragment,null,e.img_url&&t.createElement("div",{className:("pattern"===e.img_bg_class?"px-5 py-10 db:p-8 bg-neutral-100":"px-0 py-0")+` ${A(e.img_bg_class)} relative rounded-2xl db:rounded-3xl`},"pattern"===e.img_bg_class&&t.createElement("div",{className:"pattern-gradient z-0 absolute left-0 top-0 w-full h-full rounded-3xl"}),t.createElement("img",{className:("pattern"===e.img_bg_class?"":"rounded-2xl db:rounded-3xl")+" z-[1] relative inline-block",src:e.img_url,alt:e.title,loading:"lazy"}))))))))}function $fe(e){return t.createElement("div",{className:"tb-m:flex gap-14 gap-y-14 gap-x-14 tb:gap-12 db-s:gap-20 db:gap-24"},t.createElement("div",{className:"pb-10 tb-m:pb-0 db-s:max-w-[524px] tb-m:w-1/2 w-full flex flex-col justify-between"},t.createElement("div",null,e.tagline&&t.createElement(ce,{textStyle:"h6",as:"h6",className:"pb-2 uppercase text-blue-400"},e.tagline),e.title&&t.createElement(ce,{textStyle:"h3",as:"h3",className:"pb-2 text-neutral-1000"},e.title),e.description&&t.createElement(ce,{textStyle:"sub2",className:"pb-6 text-neutral-600"},e.description)),t.createElement("div",null,e.imgUrl&&t.createElement("div",{className:"pb-4 pt-2"},t.createElement("img",{className:"max-w-[210px]",src:e.imgUrl,alt:e.title?e.title:"Illu"})),e.button&&t.createElement("a",{href:e.button.cta_link,className:"inline-flex ",download:!0,target:"_blank"},t.createElement(V8,{label:e.button.cta_text,type:e.button.cta_type||"secondary",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"md",rightAnimatedArrow:!0,rightAnimatedArrowColor:e.button.rightAnimatedArrowColor||"#3970FD",animatedHoverStroke:"group-hover:stroke-blue-600",btnTextHoverClass:"hover:text-blue-600",btnTextColorClass:"text-blue-500"})))),e.iconCards&&t.createElement("div",{className:"flex-1 pt-10 tb-m:pt-0 border-t border-neutral-200 tb-m:border-t-0"},e.iconCards.map(((e,r)=>t.createElement("div",{className:"pb-6 tb:pb-10 tb-l:pb-16 last:pb-0 tb:flex",key:r},t.createElement("div",{className:"w-12 h-12 min-w-[48px] rounded-full flex justify-center items-center mr-5 "+(e.iconBgClass?A(e.iconBgClass):"bg-blue-300")},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5px]",variant:e.iconName?e.iconName:"cube02",strokeClass:"stroke-neutral-1000"})),t.createElement("div",null,t.createElement(ce,{textStyle:"h4",as:"h4",className:"pb-2 pt-4 tb:pt-0 text-neutral-1000"},e.title),t.createElement(ce,{textStyle:"body1",className:"text-neutral-600"},e.description)))))))}function zfe(e){const[n,o]=r(!1),[i,l]=r("");a((()=>{if(e.tabContent){const t=Object.keys(e.tabContent);l(t[0])}}),[e.tabContent]);return t.createElement("div",null,e.navTabs&&t.createElement("div",{className:"max-w-[44.44rem] rounded-2xl"},t.createElement("div",{className:"flex pb-8 overflow-scroll scrollbar-hide"},t.createElement(ffe,{onTabClick:e=>{e.name&&l(e.name)},tabs:e.navTabs,pillColor:e.pillColor,bgColorTab:e.bgColorTab})),t.createElement("div",{className:""},e.tabContent&&e.tabContent[i]&&(s=e.tabContent[i],t.createElement(t.Fragment,null,t.createElement("div",{className:""},s.title&&t.createElement(ce,{textStyle:"body1c-semi-bold",className:A(s.title_color)},s.title),s.subTitle&&t.createElement(ce,{textStyle:"body3",className:"mt-2 "+A(s.sub_title_color)},s.subTitle),s.readMore_cta&&t.createElement("div",{className:"flex"},t.createElement("a",{href:s.readMore_cta_link??""},t.createElement(V8,{label:s.readMore_cta,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#3970FD",animatedHoverStroke:"#3970FD",btnTextColorClass:"text-blue-500",btnTextHoverClass:"",className:" mt-4"})))),s.btnLabel&&t.createElement("div",{className:"flex pl-3 pt-6 pb-8"},t.createElement(V8,{label:s.btnLabel,type:"secondaryLink",leftIconVariant:"none",rightIconVariant:"none",state:"default",size:"sm",rightAnimatedArrow:!0,rightAnimatedArrowColor:"#1E56E3",animatedHoverStroke:"group-hover:stroke-blue-600",className:"flex",btnTextColorClass:"text-blue-600"})),t.createElement("div",{className:"mt-8"},n&&s.video_url?t.createElement("video",{id:"hero_vid",controls:!0,autoPlay:!0,muted:!0,playsInline:!0,width:"500",height:"500",className:"tb:w-full w-full rounded-3xl",src:s.video_url}):t.createElement("div",{className:"relative"},s.img_url&&t.createElement("img",{src:s.img_url,alt:"Illustration",className:" rounded-2xl"}),s.video_url&&t.createElement("div",{className:"w-14 h-14 cursor-pointer video-play-btn before:bg-blue-700 after:bg-blue-700 rounded-full flex items-center justify-center bg-blue-700 absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 shadow-neutral-1000 shadow-2xl",onClick:()=>o(!0)},t.createElement(mz,{variant:"play",height:"h-6 w-6 ml-1",strokeClass:"stroke-neutral-0"})))))))));var s}function Wfe(e){return t.createElement("div",{className:"flex tb-l:flex-row flex-col justify-between"},t.createElement("div",null,t.createElement(ce,{textStyle:"h4",className:"text-neutral-1000"},e.title),t.createElement(ce,{textStyle:"body1",className:"mt-4 text-neutral-700 max-w-[430px]"},e.description)),t.createElement("div",{className:"max-w-[583px] pt-8 tb-l:pt-0"},t.createElement(zfe,{navTabs:e.navTabs,tabContent:e.tabContent,pillColor:e.pillColor,bgColorTab:e.bgColorTab})))}function Gfe(e){return t.createElement(t.Fragment,null,t.createElement("div",{className:"flex flex-col-reverse px-6 py-10 db:px-0 db:py-0 db:flex-row db:gap-[132px]"},t.createElement("div",{className:"flex flex-col db:pl-20 db:pt-20 db:pb-[74px]"},e.tagline&&t.createElement(ce,{textStyle:"h6",className:"text-blue-400 db:block uppercase mb-2 hidden "},e.tagline),e.title&&e.description&&t.createElement("div",{className:"flex flex-col gap-4"},t.createElement(ce,{textStyle:"h3",className:"text-neutral-1000 db:block hidden"},e.title),t.createElement(ce,{textStyle:"sub2",className:"text-neutral-600 db:mt-0 mt-4 "},e.description)),e.CTA&&t.createElement("div",{className:"mt-4 tb:mt-6 flex"},t.createElement("a",{href:e.CTA.url},t.createElement(V8,{label:e.CTA.text,type:e.CTA.type||"secondary",size:"md",rightAnimatedArrowColor:"#3970FD"})))),e.video_url&&t.createElement("div",{className:"flex mt-4 tb:mt-0 tb:items-end tb:max-w-[600px] db:min-w-[550px]"},t.createElement("video",{autoPlay:!0,loop:!0,playsInline:!0,muted:!0,src:e.video_url,className:" rounded-xl db:rounded-none db:rounded-br-3xl db:rounded-tl-3xl"})),t.createElement("div",{className:"db:hidden pb-2"},t.createElement(ce,{textStyle:"h3",className:"text-neutral-1000"},e.title)),e.tagline&&t.createElement(ce,{textStyle:"h6",className:"text-blue-400 db:hidden uppercase"},e.tagline)))}function Qfe(e){return t.createElement(t.Fragment,null,t.createElement("div",{className:"divide-y divide-neutral-200"},t.createElement("div",{className:" pb-8"},t.createElement("div",null,e.imgUrl&&t.createElement("div",{className:"flex"},t.createElement("img",{alt:e.title??"connectorImage",src:e.imgUrl,className:" max-h-[25px] "})),e.tags&&t.createElement("div",{className:"gap-2 pt-8 flex flex-wrap"},e.tags.map(((e,r)=>t.createElement(x8,{key:r,color:e.color,children:e.label}))))),t.createElement("div",null,e.title&&t.createElement("div",{className:"pt-4 text-hds-t-h3 text-neutral-1000"},e.title),e.description&&t.createElement(ce,{textStyle:"sub2",className:"pt-2 text-neutral-500"},e.description)),e.btnLink&&t.createElement("a",{href:e.btnLink,className:"mt-4 flex"},t.createElement(V8,{type:"secondary",label:e.btnLabel??"Deployment guide",state:"default",size:"sm",rightAnimatedArrow:"true",rightAnimatedArrowColor:"#3970FD"}))),t.createElement("div",{className:"py-8 "},t.createElement(ce,{textStyle:"h6",className:"text-neutral-500 uppercase"},e.aboutTitle??"About"),t.createElement("div",{className:"pt-4 flex flex-col gap-2"},e.versionValue&&t.createElement("div",{className:"flex gap-2"},t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500"},e.version??"Version"),t.createElement(x8,{color:"blue",children:e.versionValue})),e.typeValue&&t.createElement("div",{className:"flex gap-2 items-center"},t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500"},e.typeText??"Type"),t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:e.typeIconVariant,strokeClass:"stroke-neutral-800"}),t.createElement(ce,{textStyle:"body1c-medium",className:"text-neutral-800"},e.typeValue)),e.releasedValue&&t.createElement("div",{className:"flex gap-2"},t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500"},e.releasedText??"Released"),t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-800"},e.releasedValue)),e.lastUpdateValue&&t.createElement("div",{className:"flex gap-2"},t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500"},e.lastUpdatedText??"Last Updated"),t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-800"},e.lastUpdateValue)),e.deployed&&t.createElement("div",{className:"flex gap-2"},t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500"},e.deployed??"Deployed"),t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-800"},e.deployedValue)),e.githubRepoLink&&t.createElement("a",{href:e.githubRepoLink,className:"flex gap-2 items-center"},t.createElement(mz,{height:"h-6 w-6 stroke-[1.5px]",variant:"octoface"}),t.createElement(ce,{textStyle:"body1-medium",className:"text-blue-600"},e.githubText??"Github Repo"),t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:"linkexternal01",strokeClass:"stroke-blue-600"})))),t.createElement("div",{className:"py-8"},t.createElement(ce,{textStyle:"h6",className:"text-neutral-500 uppercase"},e.creator??"Creator"),e.hasuraIncUrl&&t.createElement("a",{href:e.hasuraIncUrl,className:"flex gap-2 items-center pt-4"},t.createElement(ce,{textStyle:"body1-medium",className:"text-blue-600"},e.hasuraInc??"Hasura, Inc"),t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px]",variant:"linkexternal01",strokeClass:"stroke-blue-600"})),e.Email&&t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-500 pt-2"},e.Email??"support@hasura.io"))))}function Yfe(e){return t.createElement(t.Fragment,null,e.tagline&&t.createElement(ce,{textStyle:"body1-medium",className:"flex items-center text-neutral-700 pb-4"},e.tagIcon&&t.createElement(mz,{height:"h-6 w-6 stroke-[1.5px] mr-2",variant:e.tagIcon,strokeClass:"stroke-neutral-700"}),e.tagline),e.agendaTitle&&t.createElement(ce,{textStyle:"h3",as:"h3",className:"text-neutral-1000 pb-4"},e.agendaTitle),e.agendaList&&e.agendaList.map(((e,r)=>t.createElement("div",{key:r,className:0===r?"":"pt-4"},e.title&&t.createElement(ce,{textStyle:"h5",as:"h5",className:"text-neutral-700 pb-1"},e.title),e.description&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-700 [&>p]:pb-1 [&>p>img]:mt-4 [&>p>img]:max-w-[420px] [&>p>img]:w-full [&>p>img:nth-child(2)]:max-w-[140px] last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-1 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p>a:hover]:text-blue-800"},t.createElement(iie,null,e.description))))),e.closingNotes&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-700 pt-4 [&>p]:pb-4 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-1 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p>a:hover]:text-blue-800"},t.createElement(iie,null,e.closingNotes)))}function Kfe(e){return t.createElement("div",{className:"group/eventListing rounded-3xl transition-all duration-300"},t.createElement("div",{className:"self-start rounded-t-3xl"},e.eventListingImg&&t.createElement("div",{className:"relative"},t.createElement("div",null,t.createElement("img",{src:e.eventListingImg,alt:e.title,className:` rounded-t-3xl h-[179px] object-cover ${e.imgBG}`,loading:"lazy"}),e.imgTagText&&t.createElement("div",{className:" scale-75 absolute top-2 -right-1"},t.createElement(C8,{statusCircleBgClass:e.circleBG??"bg-red-400",statusTextClass:"text-neutral-900",bgClass:"bg-neutral-0",statusText:e.imgTagText??"Concluded"}))))),t.createElement("div",{className:"border border-neutral-200 group-hover/eventListing:border-opacity-0 transition-all duration-300 rounded-b-3xl"},t.createElement("div",{className:"p-6 pb-0"},e.eventType&&t.createElement(x8,{color:e.badgeColor??"green",children:e.eventType}),e.title&&t.createElement("div",{className:"text-neutral-1000 text-hds-m-h5 tb:text-hds-t-h5 py-2"},e.title)),e.eventDate&&t.createElement(ce,{textStyle:"body3-medium",className:"text-neutral-700 flex items-center duration-300 self-end p-6 pt-0"},e.eventDate,t.createElement("div",null,t.createElement(mz,{className:"z-10 stroke-2 group-hover/eventListing:translate-x-[0.15rem] group-hover/eventListing:transition-all group-hover/eventListing:duration-300",height:"h-5 w-5",variant:"chevronright",strokeClass:"stroke-neutral-500"}),t.createElement(mz,{className:"invisible stroke-2 group-hover/eventListing:transition-all group-hover/eventListing:delay-100 group-hover/eventListing:visible ",height:"h-5 w-5 -mt-5",variant:"minus01",strokeClass:"stroke-neutral-500"})))))}function Xfe(e){const[n,a]=r(null),o=e=>{a(n===e?null:e)};return t.createElement("div",{className:"divide-y divide-neutral-200"},e.accordionData&&e.accordionData.map(((e,r)=>t.createElement("div",{key:r,className:" first:pt-0 last:pb-0 py-6 flex"},t.createElement("div",{className:" cursor-pointer",onClick:()=>o(r)},t.createElement(mz,{height:"h-5 w-5 stroke-[1.5px] ",variant:n===r?"minus":"plus",strokeClass:"stroke-blue-600",className:" transition-opacity duration-300 mt-1"})),t.createElement("div",null,t.createElement(Ape.div,{className:" pl-4 ",initial:{opacity:0},animate:{opacity:1},exit:{opacity:1},transition:{duration:.3,type:"easeIn"}},t.createElement("div",{className:"flex items-center justify-between cursor-pointer"},t.createElement("div",{className:"flex items-center",onClick:()=>o(r)},e.title&&t.createElement(ce,{textStyle:"body1-medium",className:"text-neutral-900"},e.title)))),t.createElement(Zpe,null,n===r&&t.createElement(Ape.div,{className:"",initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.1,type:"tween"}},e.content&&t.createElement(ce,{textStyle:"body1",className:"text-neutral-900 pl-4 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0 [&>p>a]:text-blue-600 [&>p]:pb-2 last:[&>p]:pb-0 [&>ul>li>a]:text-blue-600"},t.createElement(iie,{components:{a:({node:e,...r})=>t.createElement("a",dz({className:"text-blue-600",target:"_blank"},r))}},e.content)))))))))}qfe.defaultProps={brandUrl:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1686659126/website%20v3/hasura-primary_y9cdnn.svg",brandAlt:"Hasura",brandLink:"https://hasura.io/",footerLinks:[{title:"Platform",links:[{linkText:"Hasura CE Edition",linkUrl:"https://hasura.io/opensource/"},{linkText:"Hasura EE",linkUrl:"https://hasura.io/enterprise/"},{linkText:"Hasura Cloud",linkUrl:"https://hasura.io/cloud/"},{linkText:"Pricing",linkUrl:"https://hasura.io/pricing/"}]},{title:"Capabilities",links:[{linkText:"Instant API",linkUrl:"https://hasura.io/product/instant-api/"},{linkText:"Authorization",linkUrl:"https://hasura.io/product/authorization/"},{linkText:"Performance",linkUrl:"https://hasura.io/product/performance/"},{linkText:"Federation",linkUrl:"https://hasura.io/products/federation"},{linkText:"API Security",linkUrl:"https://hasura.io/product/api-security/"},{linkText:"Observability",linkUrl:"https://hasura.io/product/observability/"}]},{title:"Build",links:[{linkText:"Docs",linkUrl:"https://hasura.io/docs/latest/index/"},{linkText:"Hasura Hub",linkUrl:"https://hasura.io/hub/"},{linkText:"Changelog",linkUrl:"https://github.com/hasura/graphql-engine/releases/"},{linkText:"GraphiQL",linkUrl:"https://cloud.hasura.io/public/graphiql"}]},{title:"Learn",links:[{linkText:"Blog",linkUrl:"https://hasura.io/blog/"},{linkText:"Tutorials",linkUrl:"https://hasura.io/learn/"},{linkText:"Events",linkUrl:"https://hasura.io/events/"}]},{title:"Company",links:[{linkText:"Our Story",linkUrl:"https://hasura.io/about/"},{linkText:"Careers",linkUrl:"https://hasura.io/careers/"},{linkText:"Partners",linkUrl:"https://hasura.io/partners/"},{linkText:"Legal",linkUrl:"https://hasura.io/legal/"},{linkText:"Privacy Policy",linkUrl:"https://hasura.io/legal/hasura-privacy-policy/"}]},{title:"Connect",links:[{linkText:"Community",linkUrl:"https://hasura.io/community/"},{linkText:"Discord",linkUrl:"https://discord.com/invite/hasura"}]},{title:"Community",links:[{linkText:"Docs",linkUrl:"https://hasura.io/docs/latest/index/"},{linkText:"Help",linkUrl:"https://hasura.io/help/"},{linkText:"Github",linkUrl:"https://github.com/hasura"},{linkText:"Swag Store",linkUrl:"https://store.hasura.io/"},{linkText:"Contact Sales",linkUrl:"https://hasura.io/contact-us/"}]}]},Wfe.defaultProps={title:"Build any supergraph topology",description:"Build a supergraph using Hasura, use Hasura to implement a GraphQL gateway pattern or use Hasura to federate existing resources into another supergraph. Hasura allows you to shape any supergraph topology that works for you. \n\nCheck out some of the Federation architecture patterns implemented by our users.",navTabs:[{current:"[Circular]",href:"",name:"Performance"},{current:"[Circular]",href:"",name:"Company"},{current:"[Circular]",href:"",name:"Authorization"},{current:"[Circular]",href:"",name:"Observability"},{current:"[Circular]",href:"",name:"API Security"}],tabContent:{"API Security":{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",subTitle:"Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.",title:"5Get blazing-fast APIs without the extra work",video_poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4"},Authorization:{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",subTitle:"Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.",title:"3Get blazing-fast APIs without the extra work",video_poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4"},Company:{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",subTitle:"Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.",title:"2Get blazing-fast APIs without the extra work",video_poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4"},Observability:{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",subTitle:"Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.",title:"4Get blazing-fast APIs without the extra work",video_poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4"},Performance:{img_url:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",readMore_cta:"Read More About Performance",subTitle:"Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.",title:"1Get blazing-fast APIs without the extra work",video_poster:"https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg",video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4"}}},Gfe.defaultProps={title:"100+ Data Sources",description:"description1",CTA:{text:"Button Label"},video_url:"https://res.cloudinary.com/dh8fp23nd/video/upload/v1654760488/samples/sea-turtle.mp4"};export{Qfe as AboutSectionCard,e8 as AlgoliaSearch,Mie as AnnouncementMd,jie as AnnouncementSM,h8 as AvatarGroup,x8 as Badges,M8 as Banner,die as BrandCard,S8 as BreadCrumbs,J5 as Card,fz as Card3dHover,kfe as Carousel,Nfe as CarouselB,Sfe as CarouselCard,nfe as Checkbox,Oie as CommunityCard,rfe as ConnectorCard,j8 as Count,Afe as CustomCarousel,lfe as CustomHeader,Tfe as CustomerStories,Gfe as DataSourcesCard,$pe as DefaultIF,zpe as ErrorIF,Kfe as EventListingCard,Upe as EventScheduleCard,Hfe as EventStories,Yfe as EventsAgenda,P8 as EyeBrowText,Xfe as FAQSection,gie as FeedbackCard,kte as FlyoutA,Ste as FlyoutB,Nte as FlyoutC,Bte as FlyoutD,V8 as HDSButton,R8 as HDSButtonVariants,A as HDSColor,n8 as HDSPaperForm,o8 as HDSSearch,b8 as HasConAvatar,gfe as Hero1,wfe as HeroCapability,xfe as HeroEvents,yfe as HeroIntegration,Ofe as HeroLinkCard,bfe as HeroSecondary,Rfe as HomepageCarouselPrimary,mz as Icon,u8 as IconAvatar,uie as IconCard,fie as IconCardButton,Wpe as IconLeadingIF,Gpe as IconTrailIF,l8 as ImageAvatar,mie as ImageBadgeCard,hie as ImageCard,p8 as InitialsAvatar,tfe as InviteCard,efe as InviteIF,Qpe as LeadingDropIF,Ype as LeadingTextIF,bie as LinkCard,C8 as LiveStatus,a8 as MarketoForm,pz as MediaBox,zfe as NavCard,Wfe as NavTabCard,Mfe as PricingTableB,g8 as ProfileAvatar,wie as ResourcesCard,Dpe as StoryCardSM,qpe as StoryCardXL,ffe as Tab,Efe as TableA,Cfe as TableB,Pfe as TableC,cfe as Tabone,hfe as Tabthree,pfe as Tabtwo,i8 as TagFilter,lie as TalkCard,sie as TalkCard2,yie as TalkDetailCard,kie as Testimonial,Kpe as TextAreaIF,Ufe as TextCard,$fe as TextIconCard,vfe as Tooltip,Xpe as TrailingButtonIF,Jpe as TrailingDropdownIF,he as Translations,ce as Typography,ue as TypographyClasses,vie as V3Dropdown,qfe as V3Footer,ife as V3Header,dfe as V3Tab,Sie as VideoCard};