// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

(function(e,r){typeof exports=="object"&&typeof module<"u"?r(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],r):(e=typeof globalThis<"u"?globalThis:e||self,r(e["@ory/elements"]={},e.require$$0))})(this,function(exports,require$$0){"use strict";const pxToRem=(...e)=>e.map(r=>`${r/16}rem`).join(" "),pxToEm=(...e)=>e.map(r=>`${r/16}em`).join(" ");var jsxRuntimeExports={},jsxRuntime={get exports(){return jsxRuntimeExports},set exports(e){jsxRuntimeExports=e}},reactJsxRuntime_production_min={};/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var hasRequiredReactJsxRuntime_production_min;function requireReactJsxRuntime_production_min(){if(hasRequiredReactJsxRuntime_production_min)return reactJsxRuntime_production_min;hasRequiredReactJsxRuntime_production_min=1;var e=require$$0,r=Symbol.for("react.element"),s=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function d(l,c,v){var p,b={},_=null,F=null;v!==void 0&&(_=""+v),c.key!==void 0&&(_=""+c.key),c.ref!==void 0&&(F=c.ref);for(p in c)a.call(c,p)&&!i.hasOwnProperty(p)&&(b[p]=c[p]);if(l&&l.defaultProps)for(p in c=l.defaultProps,c)b[p]===void 0&&(b[p]=c[p]);return{$$typeof:r,type:l,key:_,ref:F,props:b,_owner:n.current}}return reactJsxRuntime_production_min.Fragment=s,reactJsxRuntime_production_min.jsx=d,reactJsxRuntime_production_min.jsxs=d,reactJsxRuntime_production_min}var reactJsxRuntime_development={};/**
 * @license React
 * react-jsx-runtime.development.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var hasRequiredReactJsxRuntime_development;function requireReactJsxRuntime_development(){return hasRequiredReactJsxRuntime_development||(hasRequiredReactJsxRuntime_development=1,process.env.NODE_ENV!=="production"&&function(){var e=require$$0,r=Symbol.for("react.element"),s=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),F=Symbol.for("react.offscreen"),T=Symbol.iterator,$="@@iterator";function B(t){if(t===null||typeof t!="object")return null;var o=T&&t[T]||t[$];return typeof o=="function"?o:null}var O=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(t){{for(var o=arguments.length,u=new Array(o>1?o-1:0),f=1;f<o;f++)u[f-1]=arguments[f];x("error",t,u)}}function x(t,o,u){{var f=O.ReactDebugCurrentFrame,y=f.getStackAddendum();y!==""&&(o+="%s",u=u.concat([y]));var S=u.map(function(h){return String(h)});S.unshift("Warning: "+o),Function.prototype.apply.call(console[t],console,S)}}var j=!1,U=!1,Y=!1,K=!1,J=!1,W;W=Symbol.for("react.module.reference");function se(t){return!!(typeof t=="string"||typeof t=="function"||t===a||t===i||J||t===n||t===v||t===p||K||t===F||j||U||Y||typeof t=="object"&&t!==null&&(t.$$typeof===_||t.$$typeof===b||t.$$typeof===d||t.$$typeof===l||t.$$typeof===c||t.$$typeof===W||t.getModuleId!==void 0))}function P(t,o,u){var f=t.displayName;if(f)return f;var y=o.displayName||o.name||"";return y!==""?u+"("+y+")":u}function L(t){return t.displayName||"Context"}function C(t){if(t==null)return null;if(typeof t.tag=="number"&&g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case a:return"Fragment";case s:return"Portal";case i:return"Profiler";case n:return"StrictMode";case v:return"Suspense";case p:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case l:var o=t;return L(o)+".Consumer";case d:var u=t;return L(u._context)+".Provider";case c:return P(t,t.render,"ForwardRef");case b:var f=t.displayName||null;return f!==null?f:C(t.type)||"Memo";case _:{var y=t,S=y._payload,h=y._init;try{return C(h(S))}catch{return null}}}return null}var R=Object.assign,I=0,V,M,D,z,X,fe,pe;function me(){}me.__reactDisabledLog=!0;function Ce(){{if(I===0){V=console.log,M=console.info,D=console.warn,z=console.error,X=console.group,fe=console.groupCollapsed,pe=console.groupEnd;var t={configurable:!0,enumerable:!0,value:me,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}I++}}function Ee(){{if(I--,I===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},t,{value:V}),info:R({},t,{value:M}),warn:R({},t,{value:D}),error:R({},t,{value:z}),group:R({},t,{value:X}),groupCollapsed:R({},t,{value:fe}),groupEnd:R({},t,{value:pe})})}I<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=O.ReactCurrentDispatcher,ne;function Z(t,o,u){{if(ne===void 0)try{throw Error()}catch(y){var f=y.stack.trim().match(/\n( *(at )?)/);ne=f&&f[1]||""}return`
`+ne+t}}var ie=!1,Q;{var Te=typeof WeakMap=="function"?WeakMap:Map;Q=new Te}function he(t,o){if(!t||ie)return"";{var u=Q.get(t);if(u!==void 0)return u}var f;ie=!0;var y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var S;S=ae.current,ae.current=null,Ce();try{if(o){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(h,[])}catch(A){f=A}Reflect.construct(t,[],h)}else{try{h.call()}catch(A){f=A}t.call(h.prototype)}}else{try{throw Error()}catch(A){f=A}t()}}catch(A){if(A&&f&&typeof A.stack=="string"){for(var m=A.stack.split(`
`),N=f.stack.split(`
`),k=m.length-1,w=N.length-1;k>=1&&w>=0&&m[k]!==N[w];)w--;for(;k>=1&&w>=0;k--,w--)if(m[k]!==N[w]){if(k!==1||w!==1)do if(k--,w--,w<0||m[k]!==N[w]){var E=`
`+m[k].replace(" at new "," at ");return t.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",t.displayName)),typeof t=="function"&&Q.set(t,E),E}while(k>=1&&w>=0);break}}}finally{ie=!1,ae.current=S,Ee(),Error.prepareStackTrace=y}var G=t?t.displayName||t.name:"",Ne=G?Z(G):"";return typeof t=="function"&&Q.set(t,Ne),Ne}function Oe(t,o,u){return he(t,!1)}function Re(t){var o=t.prototype;return!!(o&&o.isReactComponent)}function ee(t,o,u){if(t==null)return"";if(typeof t=="function")return he(t,Re(t));if(typeof t=="string")return Z(t);switch(t){case v:return Z("Suspense");case p:return Z("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case c:return Oe(t.render);case b:return ee(t.type);case _:{var f=t,y=f._payload,S=f._init;try{return ee(S(y))}catch{}}}return""}var te=Object.prototype.hasOwnProperty,ge={},ve=O.ReactDebugCurrentFrame;function re(t){if(t){var o=ee(t.type);ve.setExtraStackFrame(o)}else ve.setExtraStackFrame(null)}function Pe(t,o,u,f,y){{var S=Function.call.bind(te);for(var h in t)if(S(t,h)){var m=void 0;try{if(typeof t[h]!="function"){var N=Error((f||"React class")+": "+u+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw N.name="Invariant Violation",N}m=t[h](o,h,f,u,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(k){m=k}m&&!(m instanceof Error)&&(re(y),g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",f||"React class",u,h,typeof m),re(null)),m instanceof Error&&!(m.message in ge)&&(ge[m.message]=!0,re(y),g("Failed %s type: %s",u,m.message),re(null))}}}var De=Array.isArray;function oe(t){return De(t)}function Ae(t){{var o=typeof Symbol=="function"&&Symbol.toStringTag,u=o&&t[Symbol.toStringTag]||t.constructor.name||"Object";return u}}function Le(t){try{return!1}catch{return!0}}function Ie(t){return""+t}function ye(t){if(Le())return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ae(t)),Ie(t)}var H=O.ReactCurrentOwner,Me={key:!0,ref:!0,__self:!0,__source:!0},be,xe,le;le={};function $e(t){if(te.call(t,"ref")){var o=Object.getOwnPropertyDescriptor(t,"ref").get;if(o&&o.isReactWarning)return!1}return t.ref!==void 0}function Be(t){if(te.call(t,"key")){var o=Object.getOwnPropertyDescriptor(t,"key").get;if(o&&o.isReactWarning)return!1}return t.key!==void 0}function Ue(t,o){if(typeof t.ref=="string"&&H.current&&o&&H.current.stateNode!==o){var u=C(H.current.type);le[u]||(g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',C(H.current.type),t.ref),le[u]=!0)}}function We(t,o){{var u=function(){be||(be=!0,g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",o))};u.isReactWarning=!0,Object.defineProperty(t,"key",{get:u,configurable:!0})}}function Ve(t,o){{var u=function(){xe||(xe=!0,g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",o))};u.isReactWarning=!0,Object.defineProperty(t,"ref",{get:u,configurable:!0})}}var ze=function(t,o,u,f,y,S,h){var m={$$typeof:r,type:t,key:o,ref:u,props:h,_owner:S};return m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(m,"_self",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.defineProperty(m,"_source",{configurable:!1,enumerable:!1,writable:!1,value:y}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m};function qe(t,o,u,f,y){{var S,h={},m=null,N=null;u!==void 0&&(ye(u),m=""+u),Be(o)&&(ye(o.key),m=""+o.key),$e(o)&&(N=o.ref,Ue(o,y));for(S in o)te.call(o,S)&&!Me.hasOwnProperty(S)&&(h[S]=o[S]);if(t&&t.defaultProps){var k=t.defaultProps;for(S in k)h[S]===void 0&&(h[S]=k[S])}if(m||N){var w=typeof t=="function"?t.displayName||t.name||"Unknown":t;m&&We(h,w),N&&Ve(h,w)}return ze(t,m,N,y,f,H.current,h)}}var ue=O.ReactCurrentOwner,Se=O.ReactDebugCurrentFrame;function q(t){if(t){var o=ee(t.type);Se.setExtraStackFrame(o)}else Se.setExtraStackFrame(null)}var de;de=!1;function ce(t){return typeof t=="object"&&t!==null&&t.$$typeof===r}function je(){{if(ue.current){var t=C(ue.current.type);if(t)return`

Check the render method of \``+t+"`."}return""}}function Ge(t){{if(t!==void 0){var o=t.fileName.replace(/^.*[\\\/]/,""),u=t.lineNumber;return`

Check your code at `+o+":"+u+"."}return""}}var _e={};function Ye(t){{var o=je();if(!o){var u=typeof t=="string"?t:t.displayName||t.name;u&&(o=`

Check the top-level render call using <`+u+">.")}return o}}function ke(t,o){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var u=Ye(o);if(_e[u])return;_e[u]=!0;var f="";t&&t._owner&&t._owner!==ue.current&&(f=" It was passed a child from "+C(t._owner.type)+"."),q(t),g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',u,f),q(null)}}function we(t,o){{if(typeof t!="object")return;if(oe(t))for(var u=0;u<t.length;u++){var f=t[u];ce(f)&&ke(f,o)}else if(ce(t))t._store&&(t._store.validated=!0);else if(t){var y=B(t);if(typeof y=="function"&&y!==t.entries)for(var S=y.call(t),h;!(h=S.next()).done;)ce(h.value)&&ke(h.value,o)}}}function Je(t){{var o=t.type;if(o==null||typeof o=="string")return;var u;if(typeof o=="function")u=o.propTypes;else if(typeof o=="object"&&(o.$$typeof===c||o.$$typeof===b))u=o.propTypes;else return;if(u){var f=C(o);Pe(u,t.props,"prop",f,t)}else if(o.PropTypes!==void 0&&!de){de=!0;var y=C(o);g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y||"Unknown")}typeof o.getDefaultProps=="function"&&!o.getDefaultProps.isReactClassApproved&&g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function He(t){{for(var o=Object.keys(t.props),u=0;u<o.length;u++){var f=o[u];if(f!=="children"&&f!=="key"){q(t),g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",f),q(null);break}}t.ref!==null&&(q(t),g("Invalid attribute `ref` supplied to `React.Fragment`."),q(null))}}function Fe(t,o,u,f,y,S){{var h=se(t);if(!h){var m="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var N=Ge(y);N?m+=N:m+=je();var k;t===null?k="null":oe(t)?k="array":t!==void 0&&t.$$typeof===r?(k="<"+(C(t.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):k=typeof t,g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",k,m)}var w=qe(t,o,u,y,S);if(w==null)return w;if(h){var E=o.children;if(E!==void 0)if(f)if(oe(E)){for(var G=0;G<E.length;G++)we(E[G],t);Object.freeze&&Object.freeze(E)}else g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else we(E,t)}return t===a?He(w):Je(w),w}}function Ke(t,o,u){return Fe(t,o,u,!0)}function Xe(t,o,u){return Fe(t,o,u,!1)}var Ze=Xe,Qe=Ke;reactJsxRuntime_development.Fragment=a,reactJsxRuntime_development.jsx=Ze,reactJsxRuntime_development.jsxs=Qe}()),reactJsxRuntime_development}(function(e){process.env.NODE_ENV==="production"?e.exports=requireReactJsxRuntime_production_min():e.exports=requireReactJsxRuntime_development()})(jsxRuntime);const Fragment=jsxRuntimeExports.Fragment,jsx=jsxRuntimeExports.jsx,jsxs=jsxRuntimeExports.jsxs,theme_css_ts_vanilla="",button_css_ts_vanilla="";function _defineProperty$1(e,r,s){return r in e?Object.defineProperty(e,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[r]=s,e}function ownKeys$1(e,r){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),s.push.apply(s,a)}return s}function _objectSpread2$1(e){for(var r=1;r<arguments.length;r++){var s=arguments[r]!=null?arguments[r]:{};r%2?ownKeys$1(Object(s),!0).forEach(function(a){_defineProperty$1(e,a,s[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):ownKeys$1(Object(s)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(s,a))})}return e}var shouldApplyCompound=(e,r,s)=>{for(var a of Object.keys(e)){var n;if(e[a]!==((n=r[a])!==null&&n!==void 0?n:s[a]))return!1}return!0},createRuntimeFn=e=>r=>{var s=e.defaultClassName,a=_objectSpread2$1(_objectSpread2$1({},e.defaultVariants),r);for(var n in a){var i,d=(i=a[n])!==null&&i!==void 0?i:e.defaultVariants[n];if(d!=null){var l=d;typeof l=="boolean"&&(l=l===!0?"true":"false");var c=e.variantClassNames[n][l];c&&(s+=" "+c)}}for(var[v,p]of e.compoundVariants)shouldApplyCompound(v,a,e.defaultVariants)&&(s+=" "+p);return s},buttonStyle=createRuntimeFn({defaultClassName:"hm2git0",variantClassNames:{size:{medium:"hm2git1",small:"hm2git2",large:"hm2git3"},variant:{regular:"hm2git4",semibold:"hm2git5",outline:"hm2git6",error:"hm2git7"}},defaultVariants:{size:"medium",variant:"regular"},compoundVariants:[]});const Button=({header:e,size:r,variant:s,fullWidth:a,className:n,...i})=>jsx("div",{className:n,children:jsx("button",{className:buttonStyle({size:r,variant:s}),style:{width:a?"100%":"auto"},...i,children:e})});var classnamesExports={},classnames={get exports(){return classnamesExports},set exports(e){classnamesExports=e}};/*!
  Copyright (c) 2018 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/(function(e){(function(){var r={}.hasOwnProperty;function s(){for(var a=[],n=0;n<arguments.length;n++){var i=arguments[n];if(i){var d=typeof i;if(d==="string"||d==="number")a.push(i);else if(Array.isArray(i)){if(i.length){var l=s.apply(null,i);l&&a.push(l)}}else if(d==="object")if(i.toString===Object.prototype.toString)for(var c in i)r.call(i,c)&&i[c]&&a.push(c);else a.push(i.toString())}}return a.join(" ")}e.exports?(s.default=s,e.exports=s):window.classNames=s})()})(classnames);const cn=classnamesExports,buttonLink_css_ts_vanilla="";var buttonLinkContainerStyle=createRuntimeFn({defaultClassName:"_1kxba131",variantClassNames:{position:{inline:"_1kxba132",left:"_1kxba133",center:"_1kxba134",right:"_1kxba135"}},defaultVariants:{position:"inline"},compoundVariants:[]}),buttonLinkIconStyle="_1kxba136",buttonLinkStyle=createRuntimeFn({defaultClassName:"_1kxba130",variantClassNames:{},defaultVariants:{},compoundVariants:[]});const buttonSocial_css_ts_vanilla="";var buttonSocialIconEndStyle=createRuntimeFn({defaultClassName:"i8n2ika",variantClassNames:{size:{small:"i8n2ikb",medium:"i8n2ikc",large:"i8n2ikd"}},defaultVariants:{},compoundVariants:[]}),buttonSocialIconStartStyle=createRuntimeFn({defaultClassName:"i8n2ik6",variantClassNames:{size:{small:"i8n2ik7",medium:"i8n2ik8",large:"i8n2ik9"}},defaultVariants:{},compoundVariants:[]}),buttonSocialStyle=createRuntimeFn({defaultClassName:"i8n2ik0",variantClassNames:{size:{small:"i8n2ik1",medium:"i8n2ik2",large:"i8n2ik3"},variant:{regular:"i8n2ik4",semibold:"i8n2ik5"}},defaultVariants:{size:"medium"},compoundVariants:[]});const card_css_ts_vanilla="";var cardStyle=createRuntimeFn({defaultClassName:"_1xqjo9i0",variantClassNames:{},defaultVariants:{},compoundVariants:[]}),cardTitleImage="_1xqjo9i2",cardTitleStyle="_1xqjo9i1";const checkbox_css_ts_vanilla="";var checkboxInputStyle="_13ulsr11",checkboxStyle="_13ulsr10";const codebox_css_ts_vanilla="";var codeboxContentStyle="gasiv42",codeboxHeaderStyle="gasiv41",codeboxStyle="gasiv40";const colors_css_ts_vanilla="";function _defineProperty(e,r,s){return r in e?Object.defineProperty(e,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[r]=s,e}function ownKeys(e,r){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),s.push.apply(s,a)}return s}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var s=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(s),!0).forEach(function(a){_defineProperty(e,a,s[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):ownKeys(Object(s)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(s,a))})}return e}var createSprinkles$1=e=>function(){for(var r=arguments.length,s=new Array(r),a=0;a<r;a++)s[a]=arguments[a];var n=Object.assign({},...s.map(c=>c.styles)),i=Object.keys(n),d=i.filter(c=>"mappings"in n[c]),l=c=>{var v=[],p={},b=_objectSpread2({},c),_=!1;for(var F of d){var T=c[F];if(T!=null){var $=n[F];_=!0;for(var B of $.mappings)p[B]=T,b[B]==null&&delete b[B]}}var O=_?_objectSpread2(_objectSpread2({},p),b):c;for(var g in O){var x=O[g],j=n[g];try{if(j.mappings)continue;if(typeof x=="string"||typeof x=="number"){if(process.env.NODE_ENV!=="production"&&!j.values[x].defaultClass)throw new Error;v.push(j.values[x].defaultClass)}else if(Array.isArray(x))for(var U=0;U<x.length;U++){var Y=x[U];if(Y!=null){var K=j.responsiveArray[U];if(process.env.NODE_ENV!=="production"&&!j.values[Y].conditions[K])throw new Error;v.push(j.values[Y].conditions[K])}}else for(var J in x){var W=x[J];if(W!=null){if(process.env.NODE_ENV!=="production"&&!j.values[W].conditions[J])throw new Error;v.push(j.values[W].conditions[J])}}}catch(se){throw process.env.NODE_ENV!=="production"&&function(){class P extends Error{constructor(z){super(z),this.name="SprinklesError"}}var L=D=>typeof D=="string"?'"'.concat(D,'"'):D,C=(D,z,X)=>{throw new P('"'.concat(D,'" has no value ').concat(L(z),". Possible values are ").concat(Object.keys(X).map(L).join(", ")))};if(!j)throw new P('"'.concat(g,'" is not a valid sprinkle'));if((typeof x=="string"||typeof x=="number")&&(x in j.values||C(g,x,j.values),!j.values[x].defaultClass))throw new P('"'.concat(g,'" has no default condition. You must specify which conditions to target explicitly. Possible options are ').concat(Object.keys(j.values[x].conditions).map(L).join(", ")));if(typeof x=="object"){if(!("conditions"in j.values[Object.keys(j.values)[0]]))throw new P('"'.concat(g,'" is not a conditional property'));if(Array.isArray(x)){if(!("responsiveArray"in j))throw new P('"'.concat(g,'" does not support responsive arrays'));var R=j.responsiveArray.length;if(R<x.length)throw new P('"'.concat(g,'" only supports up to ').concat(R," breakpoints. You passed ").concat(x.length));for(var I of x)j.values[I]||C(g,I,j.values)}else for(var V in x){var M=x[V];if(M!=null&&(j.values[M]||C(g,M,j.values),!j.values[M].conditions[V]))throw new P('"'.concat(g,'" has no condition named ').concat(L(V),". Possible values are ").concat(Object.keys(j.values[M].conditions).map(L).join(", ")))}}}(),se}}return e(v.join(" "))};return Object.assign(l,{properties:new Set(i)})},composeStyles=e=>e,createSprinkles=function(){return createSprinkles$1(composeStyles)(...arguments)},colorProperties={conditions:void 0,styles:{color:{values:{accentDisabled:{defaultClass:"_8awkg00"},accentDefault:{defaultClass:"_8awkg01"},accentMuted:{defaultClass:"_8awkg02"},accentSubtle:{defaultClass:"_8awkg03"},accentEmphasis:{defaultClass:"_8awkg04"},foregroundDefault:{defaultClass:"_8awkg05"},foregroundMuted:{defaultClass:"_8awkg06"},foregroundSubtle:{defaultClass:"_8awkg07"},foregroundDisabled:{defaultClass:"_8awkg08"},foregroundOnDisabled:{defaultClass:"_8awkg09"},foregroundOnDark:{defaultClass:"_8awkg0a"},foregroundOnAccent:{defaultClass:"_8awkg0b"},backgroundSurface:{defaultClass:"_8awkg0c"},backgroundCanvas:{defaultClass:"_8awkg0d"},backgroundSubtle:{defaultClass:"_8awkg0e"},errorDefault:{defaultClass:"_8awkg0f"},errorSubtle:{defaultClass:"_8awkg0g"},errorMuted:{defaultClass:"_8awkg0h"},errorEmphasis:{defaultClass:"_8awkg0i"},successEmphasis:{defaultClass:"_8awkg0j"},borderDefault:{defaultClass:"_8awkg0k"},textDefault:{defaultClass:"_8awkg0l"},textDisabled:{defaultClass:"_8awkg0m"},inputBackground:{defaultClass:"_8awkg0n"},inputDisabled:{defaultClass:"_8awkg0o"},inputPlaceholder:{defaultClass:"_8awkg0p"},inputText:{defaultClass:"_8awkg0q"}}}}},colorSprinkle=createSprinkles({conditions:void 0,styles:{color:{values:{accentDisabled:{defaultClass:"_8awkg00"},accentDefault:{defaultClass:"_8awkg01"},accentMuted:{defaultClass:"_8awkg02"},accentSubtle:{defaultClass:"_8awkg03"},accentEmphasis:{defaultClass:"_8awkg04"},foregroundDefault:{defaultClass:"_8awkg05"},foregroundMuted:{defaultClass:"_8awkg06"},foregroundSubtle:{defaultClass:"_8awkg07"},foregroundDisabled:{defaultClass:"_8awkg08"},foregroundOnDisabled:{defaultClass:"_8awkg09"},foregroundOnDark:{defaultClass:"_8awkg0a"},foregroundOnAccent:{defaultClass:"_8awkg0b"},backgroundSurface:{defaultClass:"_8awkg0c"},backgroundCanvas:{defaultClass:"_8awkg0d"},backgroundSubtle:{defaultClass:"_8awkg0e"},errorDefault:{defaultClass:"_8awkg0f"},errorSubtle:{defaultClass:"_8awkg0g"},errorMuted:{defaultClass:"_8awkg0h"},errorEmphasis:{defaultClass:"_8awkg0i"},successEmphasis:{defaultClass:"_8awkg0j"},borderDefault:{defaultClass:"_8awkg0k"},textDefault:{defaultClass:"_8awkg0l"},textDisabled:{defaultClass:"_8awkg0m"},inputBackground:{defaultClass:"_8awkg0n"},inputDisabled:{defaultClass:"_8awkg0o"},inputPlaceholder:{defaultClass:"_8awkg0p"},inputText:{defaultClass:"_8awkg0q"}}}}});const defaultBreakpoints={xs:pxToEm(390),sm:pxToEm(640),md:pxToEm(768),lg:pxToEm(1024),xl:pxToEm(1280),xl2:pxToEm(1536)},defaultFont={fontFamily:"Inter",fontFamilyMono:"JetBrainsMono",fontStyle:"normal"},defaultLightTheme={fontFamily:"Inter",fontFamilyMono:"JetBrainsMono",fontStyle:"normal",accent:{def:"#3D53F5",muted:"#6475F7",emphasis:"#3142C4",disabled:"#E0E0E0",subtle:"#eceefe"},foreground:{def:"#171717",muted:"#616161",subtle:"#9E9E9E",disabled:"#BDBDBD",onDark:"#FFFFFF",onAccent:"#FFFFFF",onDisabled:"#e0e0e0"},background:{surface:"#FFFFFF",canvas:"#FCFCFC",subtle:"#EEEEEE"},error:{def:"#9c0f2e",subtle:"#fce8ec",muted:"#e95c7b",emphasis:"#DF1642"},success:{emphasis:"#18A957"},border:{def:"#EEEEEE"},text:{def:"#FFFFFF",disabled:"#757575"},input:{background:"#FFFFFF",disabled:"#E0E0E0",placeholder:"#9E9E9E",text:"#424242"}},defaultDarkTheme={fontFamily:"Inter",fontFamilyMono:"JetBrainsMono",fontStyle:"normal",accent:{def:"#6475f7",disabled:"#757575",muted:"#3142c4",emphasis:"#3d53f5",subtle:"#0c1131"},foreground:{def:"#FFFFFF",muted:"#ddd9f7",subtle:"#9a8ce8",onDark:"#FFFFFF",onAccent:"#FFFFFF",onDisabled:"#e0e0e0",disabled:"#bdbdbd"},background:{surface:"#110d2b",canvas:"#090616",subtle:"#221C56"},border:{def:"#221956"},error:{def:"#e95c7b",subtle:"#2d040d",muted:"#9c0f2e",emphasis:"#df1642"},success:{emphasis:"#18a957"},input:{background:"#FFFFFF",text:"#424242",placeholder:"#9e9e9e",disabled:"#eeeeee"},text:{def:"#FFFFFF",disabled:"#757575"}},divider_css_ts_vanilla="";var dividerStyle=createRuntimeFn({defaultClassName:"_15i54991",variantClassNames:{sizes:{fullWidth:"_15i54992"}},defaultVariants:{},compoundVariants:[]}),dividerTextStyle="_15i54990";const form_css_ts_vanilla="";var formStyle="_1pmqm1m0";const grid_css_ts_vanilla="";var gridStyle=createRuntimeFn({defaultClassName:"v30igv0",variantClassNames:{direction:{row:"v30igv1",column:"v30igv2"},gap:{4:"v30igv3",8:"v30igv4",16:"v30igv5",24:"v30igv6",32:"v30igv7",64:"v30igv8"}},defaultVariants:{},compoundVariants:[]});const inputField_css_ts_vanilla="";var inputFieldStyle="db4loq1",inputFieldTitleStyle="db4loq0";const menuLink_css_ts_vanilla="";var menuLinkIconLeftStyle="_1p4e0o41",menuLinkStyle="_1p4e0o40",menuLinkTextStyle="_1p4e0o42";const message_css_ts_vanilla="";var messageStyle=createRuntimeFn({defaultClassName:"_5sut1r0",variantClassNames:{textPosition:{start:"_5sut1r1",center:"_5sut1r2",end:"_5sut1r3"},severity:{error:"_5sut1r4",success:"_5sut1r5",info:"_5sut1r6",disabled:"_5sut1r7",default:"_5sut1r8"}},defaultVariants:{textPosition:"center",severity:"default"},compoundVariants:[]});const nav_css_ts_vanilla="";var navMainSectionStyle="_946e774",navMenuLinkSelectedStyle="_946e773",navMenuSectionStyle="_946e772",navSectionBottom="_946e775",navSectionTitleStyle="_946e771",navStyle="_946e770",oryTheme={fontFamily:"var(--ory-theme-font-family)",fontFamilyMono:"var(--ory-theme-font-family-mono)",fontStyle:"var(--ory-theme-font-style)",accent:{def:"var(--ory-theme-accent-def)",muted:"var(--ory-theme-accent-muted)",emphasis:"var(--ory-theme-accent-emphasis)",disabled:"var(--ory-theme-accent-disabled)",subtle:"var(--ory-theme-accent-subtle)"},foreground:{def:"var(--ory-theme-foreground-def)",muted:"var(--ory-theme-foreground-muted)",subtle:"var(--ory-theme-foreground-subtle)",disabled:"var(--ory-theme-foreground-disabled)",onDark:"var(--ory-theme-foreground-on-dark)",onAccent:"var(--ory-theme-foreground-on-accent)",onDisabled:"var(--ory-theme-foreground-on-disabled)"},background:{surface:"var(--ory-theme-background-surface)",canvas:"var(--ory-theme-background-canvas)",subtle:"var(--ory-theme-background-subtle)"},error:{def:"var(--ory-theme-error-def)",subtle:"var(--ory-theme-error-subtle)",muted:"var(--ory-theme-error-muted)",emphasis:"var(--ory-theme-error-emphasis)"},success:{emphasis:"var(--ory-theme-success-emphasis)"},border:{def:"var(--ory-theme-border-def)"},text:{def:"var(--ory-theme-text-def)",disabled:"var(--ory-theme-text-disabled)"},input:{background:"var(--ory-theme-input-background)",disabled:"var(--ory-theme-input-disabled)",placeholder:"var(--ory-theme-input-placeholder)",text:"var(--ory-theme-input-text)"}};const typography_css_ts_vanilla="";var inputTypographyStyle=createRuntimeFn({defaultClassName:"_1nljf820",variantClassNames:{size:{16:"_1nljf821",18:"_1nljf822"},type:{regular:"_1nljf823",semiBold:"_1nljf824"}},defaultVariants:{size:16,type:"regular"},compoundVariants:[]}),typographyStyle=createRuntimeFn({defaultClassName:"_1nljf825",variantClassNames:{size:{tiny:"_1nljf826",xsmall:"_1nljf827",small:"_1nljf828",caption:"_1nljf829",body:"_1nljf82a",lead:"_1nljf82b",headline21:"_1nljf82c",headline26:"_1nljf82d",headline31:"_1nljf82e",headline37:"_1nljf82f",headline48:"_1nljf82g",display:"_1nljf82h",hero:"_1nljf82i",uber:"_1nljf82j",colossus:"_1nljf82k",monoCaption:"_1nljf82l"},type:{regular:"_1nljf82m",bold:"_1nljf82n"}},defaultVariants:{type:"regular"},compoundVariants:[]});const ButtonLink=({href:e,className:r,icon:s,children:a,position:n,...i})=>jsx("div",{className:cn(r,typographyStyle({size:"caption",type:"regular"}),buttonLinkContainerStyle({position:n})),children:jsxs("a",{className:buttonLinkStyle(),href:e,...i,children:[s&&jsx("i",{className:cn(`fa fa-${s}`,buttonLinkIconStyle)}),a]})}),ButtonSocial=({header:e,brand:r,size:s,variant:a,fullWidth:n,className:i,...d})=>{const l=r!=="generic"?`fa-brands fa-${r}`:"fa-solid fa-layer-group";return jsx("div",{className:i,children:jsxs("button",{className:buttonSocialStyle({size:s,variant:a}),style:{width:n?"100%":"auto"},...d,children:[jsx("i",{className:cn(l,buttonSocialIconStartStyle({size:s}))}),e,jsx("i",{className:cn(l,buttonSocialIconEndStyle({size:s})),style:{visibility:"hidden",opacity:0}})]})})},Card=({heading:e,image:r,className:s,children:a,...n})=>jsx("div",{className:cn(cardStyle(),typographyStyle({type:"regular",size:"small"}),s),...n,children:jsxs("div",{className:gridStyle({gap:32}),children:[r&&jsx("div",{className:cardTitleImage,children:typeof r=="string"?jsx("img",{style:{width:"auto"},src:r,alt:r,width:"100%",height:"100%"}):r}),jsx("div",{className:cardTitleStyle,children:typeof e=="string"?jsx("h3",{className:typographyStyle({type:"regular",size:"small"}),children:e}):e}),jsx("div",{children:a})]})}),cardGradient_css_ts_vanilla="";var cardContainer="ut7kc70",cardGradientActionStyle=createRuntimeFn({defaultClassName:"ut7kc74",variantClassNames:{disabled:{true:"ut7kc75",false:"ut7kc76"}},defaultVariants:{disabled:!1},compoundVariants:[]}),cardGradientOverlayStyle=createRuntimeFn({defaultClassName:"ut7kc71",variantClassNames:{disabled:{true:"ut7kc72",false:"ut7kc73"}},defaultVariants:{disabled:!1},compoundVariants:[]});const CardGradient=({heading:e,content:r,action:s,target:a,disabled:n,className:i,...d})=>jsxs("a",{className:cn(cardContainer,cardGradientOverlayStyle({disabled:n})),target:a,"aria-disabled":n,...!n&&{href:s},...d,children:[jsx("div",{className:cn(colorSprinkle({color:n?"foregroundOnDisabled":"foregroundOnDark"}),i),children:jsxs("div",{className:cn(gridStyle({gap:16})),children:[typeof e=="string"?jsx("div",{className:typographyStyle({size:"headline21",type:"bold"}),children:e}):e,typeof r=="string"?jsx("div",{className:typographyStyle({size:"small",type:"regular"}),children:r}):r]})}),jsx("i",{className:cn("fa fa-arrow-right",cardGradientActionStyle({disabled:n}))})]}),Message=({severity:e,textPosition:r,className:s,children:a,...n})=>jsx("div",{className:cn(messageStyle({severity:e,textPosition:r}),typographyStyle({size:"caption",type:"regular"}),s),...n,children:a}),Checkbox=({className:e,label:r,helperMessage:s,messageTestId:a,dataTestid:n,...i})=>{const d=i.id??Math.random().toString(36).substring(2);return jsxs("div",{"data-testid":n,className:gridStyle({gap:4,direction:"column"}),children:[jsxs("div",{className:cn(e,typographyStyle({type:"regular",size:"caption"}),checkboxStyle),children:[jsx("input",{className:checkboxInputStyle,id:d,type:"checkbox",value:1,...i}),r&&jsx("label",{htmlFor:d,children:jsx("span",{children:r})})]}),typeof s=="string"?jsx(Message,{"data-testid":a,severity:i.severity,textPosition:"start",children:s}):s]})},CodeBox=({children:e,className:r,...s})=>{const a=Math.random().toString(36).substring(2);return jsxs("div",{className:cn(r,gridStyle({gap:16}),codeboxStyle),...s,children:[jsx("input",{id:a,type:"checkbox"}),jsxs("div",{className:cn(typographyStyle({size:"small"}),codeboxHeaderStyle),children:[jsx("div",{children:"Toggle content"}),jsxs("label",{htmlFor:a,children:[jsx("i",{className:cn("fa fa-caret-down",colorSprinkle({color:"accentDefault"}))}),jsx("i",{className:cn("fa fa-caret-up",colorSprinkle({color:"accentDefault"}))})]})]}),jsx("pre",{className:cn(colorSprinkle({color:"accentEmphasis"}),codeboxContentStyle),children:e})]})},Divider=({className:e,fullWidth:r,text:s,...a})=>s?jsx("div",{className:cn(dividerTextStyle,e),...a,children:s}):jsx("hr",{className:cn(dividerStyle(r?{sizes:"fullWidth"}:{}),e),...a}),InputField=({header:e,helperMessage:r,messageTestId:s,fullWidth:a,className:n,dataTestid:i,...d})=>jsxs("div",{"data-testid":i,className:cn(n,gridStyle({gap:4})),children:[e&&jsxs("div",{className:typographyStyle({size:"small",type:"regular"}),children:[e," ",d.required&&jsx("span",{className:inputFieldTitleStyle,children:"*"})]}),jsx("input",{className:cn(inputFieldStyle,typographyStyle({size:"small",type:"regular"})),style:{width:a?"100%":"auto"},placeholder:" ",...d}),typeof r=="string"?jsx(Message,{"data-testid":s,severity:d.severity,children:r}):r]}),MenuLink=({href:e,children:r,target:s,disabled:a,iconLeft:n,iconRight:i,className:d,...l})=>jsxs("div",{className:cn(d,menuLinkStyle),...l,children:[jsxs("a",{className:cn(typographyStyle({size:"small",type:"regular"}),colorSprinkle({color:a?"foregroundDisabled":"foregroundMuted"}),menuLinkTextStyle),"aria-disabled":a,...!a&&{href:e},...s&&{target:s},children:[n&&jsx("i",{className:cn("fa",`fa-${n}`,menuLinkIconLeftStyle)}),r]}),i&&jsx("i",{className:cn("fa",`fa-${i}`,colorSprinkle({color:a?"foregroundDisabled":"foregroundMuted"}))})]}),Nav=({navTitle:e,navSections:r,className:s,...a})=>jsxs("nav",{role:"navigation",className:cn(navStyle,s),...a,children:[jsx("input",{id:"collapse-nav",type:"checkbox"}),jsxs("div",{className:cn(navSectionTitleStyle,typographyStyle({size:"caption"}),colorSprinkle({color:"accentDefault"})),children:[e,jsxs("label",{htmlFor:"collapse-nav",children:[jsx("i",{className:cn("fa","fa-bars")}),jsx("i",{className:cn("fa","fa-xmark")})]})]}),jsx("ul",{className:cn(navMainSectionStyle,navMenuSectionStyle,gridStyle({gap:24})),children:r.map((n,i)=>jsxs("li",{...n.floatBottom&&{className:navSectionBottom},children:[n.title&&jsxs("div",{className:cn(typographyStyle({size:"xsmall",type:"bold"}),colorSprinkle({color:"foregroundDefault"}),navSectionTitleStyle),children:[n.title,jsx("i",{className:`fa fa-${n.titleIcon}`})]}),jsx("ul",{className:navMenuSectionStyle,children:n.links.map(({testId:d,...l},c)=>jsx("li",{...l.selected&&{className:navMenuLinkSelectedStyle},children:jsx(MenuLink,{"data-testid":d,...l,children:l.name})},c))})]},i))})]}),MessageSection=({text:e,url:r,buttonText:s,dataTestId:a})=>jsxs(Message,{className:colorSprinkle({color:"foregroundMuted"}),children:[e," ",jsx(ButtonLink,{"data-testid":a,href:r,children:s})]}),nodeMessage=({text:e,id:r,type:s,key:a,...n})=>jsx(Message,{"data-testid":`ui/message/${r}`,severity:s,...n,children:e},a),NodeMessages=({nodes:e,uiMessages:r,...s})=>{const{gap:a,direction:n,...i}=s,d=e?.reduce((v,{messages:p})=>(v.push(...p.map(({text:b,id:_,type:F},T)=>nodeMessage({text:b,id:_,type:F,key:`node-group-message-${_}-${T}`,...i})).filter(Boolean)),v),[]),l=r?.map(({text:v,id:p,type:b},_)=>nodeMessage({text:v,id:p,type:b,key:`ui-messsage-${p}-${_}`})),c=[...d||[],...l||[]];return c.length>0?jsx("div",{className:gridStyle({gap:a||16,direction:n}),children:c}):null},getNodeLabel=e=>{const r=e.attributes;return isUiNodeAnchorAttributes(r)?r.title.text:isUiNodeImageAttributes(r)?e.meta.label?.text||"":isUiNodeInputAttributes(r)&&r.label?.text?r.label.text:e.meta.label?.text||""};function isUiNodeAnchorAttributes(e){return e.node_type==="a"}function isUiNodeImageAttributes(e){return e.node_type==="img"}function isUiNodeInputAttributes(e){return e.node_type==="input"}function isUiNodeTextAttributes(e){return e.node_type==="text"}const getNodeInputType=e=>e?.type??"",filterNodesByGroups=({nodes:e,groups:r,withoutDefaultGroup:s,attributes:a,withoutDefaultAttributes:n,excludeAttributes:i})=>{const d=l=>typeof l=="string"?l.split(","):l;return e.filter(({group:l,attributes:c})=>{if(!r&&!a&&!i)return!0;const v=d(r)||[];s||v.push("default");const p=d(a)||[];n||(l.includes("default")&&p.push("hidden"),(l.includes("webauthn")||l.includes("totp"))&&p.push("input","script"));const b=d(i)||[],_=r?v.includes(l):!0,F=a?p.includes(getNodeInputType(c)):!0,T=i?!b.includes(getNodeInputType(c)):!0;return _&&F&&T})},Image=({header:e,className:r,...s})=>jsxs("div",{className:cn(r,gridStyle({gap:4})),children:[e&&jsx("div",{className:typographyStyle({size:"small",type:"regular"}),children:e}),jsx("img",{...s})]}),Typography=({children:e,size:r,type:s,color:a,className:n,...i})=>jsx("div",{className:cn(typographyStyle({size:r,type:s}),colorSprinkle({color:a}),n),...i,children:e}),Node=({node,className,buttonOverrideProps,buttonSocialOverrideProps})=>{if(isUiNodeImageAttributes(node.attributes))return jsx(Image,{src:node.attributes.src,alt:node.meta.label?.text,"data-testid":`node/image/${node.attributes.id}`,header:node.meta.label?.text,width:node.attributes.width,height:node.attributes.height});if(isUiNodeTextAttributes(node.attributes)){const e=node.attributes.id;return node.attributes.text.id===1050015?jsxs("div",{className:gridStyle({gap:4,direction:"row"}),style:{display:"inline-flex",flexWrap:"wrap",gap:pxToRem(48),maxWidth:"fit-content",alignItems:"center"},"data-testid":`node/text/${e}`,children:[jsx(Typography,{variant:"body1","data-testid":`node/text/${node.attributes.id}/label`,style:{flexBasis:"100%"},children:node.meta.label?.text}),node.attributes.text.context.secrets.map(({text:r,id:s},a)=>s===1050014?jsx("pre",{children:jsx("del",{"data-testid":"node/text/lookup_secret_codes/text",children:jsx("code",{children:"Used"})})},a):jsx("pre",{"data-testid":"node/text/lookup_secret_codes/text",children:jsx("code",{children:r})},a))]}):jsxs("div",{className:gridStyle({gap:4}),"data-testid":`node/text/${e}`,children:[jsx(Typography,{variant:"body1","data-testid":`node/text/${node.attributes.id}/label`,children:node.meta.label?.text}),jsx("pre",{"data-testid":`node/text/${e}/text`,children:jsx("code",{children:node.attributes.text.text})})]})}else if(isUiNodeInputAttributes(node.attributes)){const attrs=node.attributes,nodeType=attrs.type,isSocial=(attrs.name==="provider"||attrs.name==="link")&&node.group==="oidc",submit={type:attrs.type,name:attrs.name,...attrs.value&&{value:attrs.value}};switch(nodeType){case"button":case"submit":if(isSocial&&(submit.formNoValidate=!0,submit.onClick=e=>{e.currentTarget.type="submit",e.currentTarget.dispatchEvent(new Event("submit",{cancelable:!0,bubbles:!0}))}),attrs.onclick){const oc=attrs.onclick;submit.onClick=()=>{eval(oc)}}return(node.meta.label?.id===1070007||node.meta.label?.id===1070008)&&(submit.formNoValidate=!0),isSocial?jsx(ButtonSocial,{className,header:getNodeLabel(node),brand:attrs.value.toLowerCase(),variant:"semibold",size:"medium",fullWidth:!0,disabled:attrs.disabled,...buttonSocialOverrideProps&&buttonSocialOverrideProps,...submit}):jsx(Button,{className,header:getNodeLabel(node),variant:"semibold",size:"medium",fullWidth:!0,disabled:attrs.disabled,...buttonOverrideProps&&buttonOverrideProps,...submit});case"datetime-local":case"checkbox":return jsx(Checkbox,{className,helperMessage:jsx(NodeMessages,{nodes:[node],gap:4,textPosition:"start"}),label:getNodeLabel(node),name:attrs.name,required:attrs.required,defaultValue:attrs.value,disabled:attrs.disabled,defaultChecked:Boolean(attrs.value),dataTestid:`node/input/${attrs.name}`});default:return jsx(InputField,{helperMessage:jsx(NodeMessages,{nodes:[node],gap:4,textPosition:"start"}),dataTestid:`node/input/${attrs.name}`,className,name:attrs.name,header:getNodeLabel(node),type:attrs.type,autoComplete:attrs.autocomplete||attrs.name==="identifier"?"username":"",defaultValue:attrs.value,required:attrs.required,disabled:attrs.disabled,fullWidth:!0})}}else if(isUiNodeAnchorAttributes(node.attributes))return jsx(ButtonLink,{href:node.attributes.href,title:node.attributes.title.text,"data-testid":`node/anchor/${node.attributes.id}`,className,position:"center",children:node.attributes.title.text});return null},FilterFlowNodes=({filter:e,includeCSRF:r,...s})=>{const a=i=>isUiNodeInputAttributes(i.attributes)?i.attributes.name:"",n=filterNodesByGroups(e).filter(i=>!(a(i)==="csrf_token"&&!r)).map((i,d)=>["hidden"].includes(getNodeInputType(i.attributes))?{node:jsx(Node,{node:i,...s},d),hidden:!0}:{node:jsx(Node,{node:i,...s},d),hidden:!1});return n.length>0?jsxs(Fragment,{children:[n.filter(i=>i.hidden).map(i=>i.node),jsx("div",{className:gridStyle({gap:16}),children:n.filter(i=>!i.hidden).map(i=>i.node)})]}):null},useScriptNodes=({nodes:e})=>{require$$0.useEffect(()=>{const r=filterNodesByGroups({nodes:e,groups:"webauthn",attributes:"text/javascript",withoutDefaultGroup:!0,withoutDefaultAttributes:!0}).map(s=>{const a=s.attributes,n=document.createElement("script");return n.setAttribute("data-testid",`node/script/${n.id}`),n.src=a.src,n.type=a.type,n.async=a.async,n.referrerPolicy=a.referrerpolicy,n.crossOrigin=a.crossorigin,n.integrity=a.integrity,document.body.appendChild(n),n});return()=>{r.forEach(s=>{document.body.removeChild(s)})}},[e])},UserAuthForm=({flow:e,children:r,submitOnEnter:s,onSubmit:a,formFilterOverride:n,className:i,...d})=>jsx("form",{className:cn(i,formStyle),action:e.ui.action,method:e.ui.method,onKeyDown:l=>{l.key==="Enter"&&!s&&(l.stopPropagation(),l.preventDefault())},...a&&{onSubmit:l=>{l.preventDefault();const c=l.currentTarget,v=new FormData(c);let p=Object.fromEntries(v);if("submitter"in l.nativeEvent){const b=l.nativeEvent.submitter;p={...p,[b.name]:b.value}}a({body:p,event:l})}},...d,children:jsxs(Fragment,{children:[jsx(FilterFlowNodes,{filter:n||{nodes:e.ui.nodes,groups:"default",attributes:"hidden"},includeCSRF:!0}),r]})}),hasOidc=e=>e.some(({group:r})=>r==="oidc"),hasPassword=e=>e.some(({group:r})=>r==="password"),hasWebauthn=e=>e.some(({group:r})=>r==="webauthn"),hasLookupSecret=e=>e.some(({group:r})=>r==="lookup_secret"),hasTotp=e=>e.some(({group:r})=>r==="totp"),hasHiddenIdentifier=e=>e.some(({attributes:r})=>"name"in r&&r.name==="identifier"&&r.type==="hidden"),LinkSection=({nodes:e})=>jsxs("div",{className:gridStyle({gap:32}),children:[jsx("div",{className:gridStyle({gap:16}),children:jsx(FilterFlowNodes,{filter:{nodes:e,groups:["link","code"],excludeAttributes:"submit"}})}),jsx(FilterFlowNodes,{filter:{nodes:e,groups:["link","code"],attributes:"submit"}})]}),LoginSection=({nodes:e,forgotPasswordURL:r})=>hasPassword(e)?jsxs("div",{className:gridStyle({gap:32}),children:[jsxs("div",{className:gridStyle({gap:16}),children:[jsx(FilterFlowNodes,{filter:{nodes:e,groups:["default","password"],excludeAttributes:["submit","hidden"]}}),r&&jsx(ButtonLink,{"data-testid":"forgot-password-link",href:r,children:"Forgot Password?"})]}),jsx(FilterFlowNodes,{filter:{nodes:e,groups:["password"],attributes:"submit"}})]}):null,LookupSecretSettingsSection=({flow:e})=>{const r={nodes:e.ui.nodes,groups:"lookup_secret",withoutDefaultGroup:!0};return hasLookupSecret(e.ui.nodes)?jsxs("div",{className:gridStyle({gap:32}),children:[jsx(FilterFlowNodes,{filter:{...r,excludeAttributes:"submit,button"}}),jsx(FilterFlowNodes,{filter:{...r,attributes:"submit,button"},buttonOverrideProps:{fullWidth:!1}})]}):null},OIDCSection=e=>hasOidc(e.ui.nodes)?jsxs("div",{className:gridStyle({gap:32}),children:[filterNodesByGroups({nodes:e.ui.nodes,groups:"oidc",withoutDefaultGroup:!0}).some(r=>r.messages.length>0)&&jsx("div",{className:gridStyle({gap:16}),children:jsx(FilterFlowNodes,{filter:{nodes:e.ui.nodes,groups:["oidc"],excludeAttributes:"submit"}})}),jsx(FilterFlowNodes,{filter:{nodes:e.ui.nodes,groups:"oidc",attributes:"submit"}})]}):null,OIDCSettingsSection=({flow:e})=>{const r={nodes:e.ui.nodes,groups:"oidc",withoutDefaultGroup:!0};return hasOidc(e.ui.nodes)?jsx("div",{className:gridStyle({gap:32}),children:jsx(FilterFlowNodes,{filter:r,buttonOverrideProps:{fullWidth:!1}})}):null},PasswordSettingsSection=({flow:e})=>{const r={nodes:e.ui.nodes,groups:"password",withoutDefaultGroup:!0};return hasPassword(e.ui.nodes)?jsxs("div",{className:gridStyle({gap:32}),children:[jsx(FilterFlowNodes,{filter:{...r,excludeAttributes:"submit,button"}}),jsx(FilterFlowNodes,{filter:{...r,attributes:"submit,button"},buttonOverrideProps:{fullWidth:!1}})]}):null},PasswordlessSection=e=>hasWebauthn(e.ui.nodes)?jsxs("div",{className:gridStyle({gap:32}),children:[jsx("div",{className:gridStyle({gap:16}),children:jsx(FilterFlowNodes,{filter:{nodes:e.ui.nodes,groups:["webauthn"],withoutDefaultAttributes:!0,excludeAttributes:["hidden","button","submit"]}})}),jsx(FilterFlowNodes,{filter:{nodes:e.ui.nodes,groups:["webauthn"],withoutDefaultAttributes:!0,attributes:["button","submit"]}})]}):null,ProfileSettingsSection=({flow:e})=>{const r={nodes:e.ui.nodes,groups:"profile"};return jsxs("div",{className:gridStyle({gap:32}),children:[jsx(FilterFlowNodes,{filter:{...r,excludeAttributes:"submit,button"}}),jsx(FilterFlowNodes,{filter:{...r,attributes:"submit,button"},buttonOverrideProps:{fullWidth:!1}})]})},RegistrationSection=({nodes:e})=>hasPassword(e)?jsxs("div",{className:gridStyle({gap:32}),children:[jsx("div",{className:gridStyle({gap:16}),children:jsx(FilterFlowNodes,{filter:{nodes:e,groups:["password"],excludeAttributes:"submit"}})}),jsx(FilterFlowNodes,{filter:{nodes:e,groups:["password"],attributes:"submit"}})]}):null,TOTPSettingsSection=({flow:e})=>{const r={nodes:e.ui.nodes,groups:"totp",withoutDefaultGroup:!0};return hasTotp(e.ui.nodes)?jsxs("div",{className:gridStyle({gap:32}),children:[jsx(FilterFlowNodes,{filter:{...r,excludeAttributes:"submit,button"}}),jsx(FilterFlowNodes,{filter:{...r,attributes:"submit,button"},buttonOverrideProps:{fullWidth:!1}})]}):null},WebAuthnSettingsSection=({flow:e})=>{const r={nodes:e.ui.nodes,groups:"webauthn",withoutDefaultGroup:!0};return hasWebauthn(e.ui.nodes)?jsxs("div",{className:gridStyle({gap:32}),children:[jsx(FilterFlowNodes,{filter:{...r,excludeAttributes:"submit,button"}}),jsx(FilterFlowNodes,{filter:{...r,attributes:"submit,button"},buttonOverrideProps:{fullWidth:!1}})]}):null},identifier_css_ts_vanilla="";var identifierNameStyle="kdu3q91",identifierStyle="kdu3q90";const LoggedInfo=({flow:e})=>{const r=e.ui.nodes.find(s=>"name"in s.attributes&&s.attributes.name==="identifier")?.attributes;return!r||!("value"in r)?null:jsxs("div",{className:identifierStyle,children:["You're logged in as:",jsx("div",{className:identifierNameStyle,children:r.value})]})},UserAuthCard=({flow:e,title:r,subtitle:s,flowType:a,additionalProps:n,cardImage:i,onSubmit:d,includeScripts:l,className:c})=>{l&&useScriptNodes({nodes:e.ui.nodes});let v=null,p=null,b=null,_=null;const F=g=>g.refresh||g.requested_aal==="aal2",T=()=>!!b&&(!F(e)||a==="registration"),$=()=>F(e)&&a==="login"&&(hasTotp(e.ui.nodes)||hasWebauthn(e.ui.nodes)||hasLookupSecret(e.ui.nodes)),B=hasHiddenIdentifier(e.ui.nodes),O=()=>$()&&[hasWebauthn(e.ui.nodes)&&jsx(UserAuthForm,{flow:e,"data-testid":"webauthn-flow",children:jsx(FilterFlowNodes,{filter:{nodes:e.ui.nodes,groups:"webauthn",withoutDefaultGroup:!0}})}),hasPassword(e.ui.nodes)&&jsx(UserAuthForm,{flow:e,"data-testid":"password-flow",children:jsx(FilterFlowNodes,{filter:{nodes:e.ui.nodes,groups:"password",withoutDefaultGroup:!0}})}),hasTotp(e.ui.nodes)&&jsx(UserAuthForm,{flow:e,"data-testid":"totp-flow",onSubmit:d,submitOnEnter:!0,children:jsxs("div",{className:gridStyle({gap:32}),children:[jsx(FilterFlowNodes,{filter:{nodes:e.ui.nodes,groups:"totp",withoutDefaultGroup:!0,excludeAttributes:"submit"}}),jsx(FilterFlowNodes,{filter:{nodes:e.ui.nodes,groups:"totp",withoutDefaultGroup:!0,attributes:"submit"}})]})}),hasLookupSecret(e.ui.nodes)&&jsx(UserAuthForm,{flow:e,"data-testid":"lookup-secret-flow",onSubmit:d,submitOnEnter:!0,children:jsx(FilterFlowNodes,{filter:{nodes:e.ui.nodes,groups:"lookup_secret",withoutDefaultGroup:!0}})})].filter(Boolean).map((g,x)=>jsx("div",{children:x>0?jsxs(Fragment,{children:[jsx(Divider,{})," ",g]}):g},x));switch(a){case"login":b=PasswordlessSection(e),p=OIDCSection(e),v=LoginSection({nodes:e.ui.nodes,...n}),_=F(e)?{text:jsx(Fragment,{children:"Something's not working?"}),buttonText:"Logout",url:n.logoutURL,dataTestId:"logout-link"}:{buttonText:"Sign up",url:n.signupURL,text:jsx(Fragment,{children:"Don't have an account?"}),dataTestId:"signup-link"};break;case"registration":b=PasswordlessSection(e),p=OIDCSection(e),v=RegistrationSection({nodes:e.ui.nodes}),_={text:"Already have an account?",url:n.loginURL,buttonText:"Sign in",dataTestId:"cta-link"};break;case"recovery":v=LinkSection({nodes:e.ui.nodes}),_={text:"Remember your credentials?",url:n.loginURL,buttonText:"Sign in",dataTestId:"cta-link"};break;case"verification":v=LinkSection({nodes:e.ui.nodes}),_={text:"Don't have an account?",url:n.signupURL,buttonText:"Sign up",dataTestId:"cta-link"};break;default:v=null}return jsx(Card,{className:c,heading:jsx("h2",{className:typographyStyle({type:"regular",size:"small"}),children:r}),image:i,children:jsxs("div",{className:gridStyle({gap:32}),children:[s&&jsx(Message,{severity:"default",children:s}),jsx(NodeMessages,{uiMessages:e.ui.messages}),p&&jsxs(Fragment,{children:[jsx(Divider,{}),jsx(UserAuthForm,{flow:e,children:p})]}),v&&!$()&&jsxs(Fragment,{children:[jsx(Divider,{}),jsxs(UserAuthForm,{flow:e,submitOnEnter:!0,onSubmit:d,"data-testid":`${a}-flow`,children:[v,B&&jsx(LoggedInfo,{flow:e})]})]}),$()&&jsxs(Fragment,{children:[jsx(NodeMessages,{nodes:filterNodesByGroups({nodes:e.ui.nodes,groups:["password","webauthn","totp","lookup_secret"]})}),O()]}),T()&&jsxs(Fragment,{children:[jsx(Divider,{}),jsx(UserAuthForm,{flow:e,submitOnEnter:!0,onSubmit:d,"data-testid":"passwordless-flow",formFilterOverride:{nodes:e.ui.nodes,attributes:"hidden"},children:b})]}),_&&MessageSection(_)]})})},UserErrorCard=({title:e,error:r,backUrl:s,cardImage:a,contactSupportEmail:n,className:i})=>{const d=r.error,l=d.code,c=l>=500?JSON.stringify(r,null,2):d.reason;return jsx(Card,{className:i,heading:jsx("h2",{className:typographyStyle({type:"regular",size:"small"}),children:e}),image:a,children:jsxs("div",{className:gridStyle({gap:32,direction:"column"}),"data-testid":"ui/error/message",children:[jsxs(Message,{severity:"error",children:["An error occurred with the following message: ",l<500&&c]}),l>=500&&jsx(CodeBox,{"data-testid":"code-box",children:c}),n&&jsxs(Message,{className:colorSprinkle({color:"foregroundMuted"}),children:["If the problem persists, please contact ",jsx(ButtonLink,{href:`mailto:${n}`,children:n})]}),jsx(Message,{children:jsx(ButtonLink,{href:s,children:"Go Back"})})]})})},UserSettingsCard=({flow:e,flowType:r,title:s,includeScripts:a,onSubmit:n,className:i})=>{a&&useScriptNodes({nodes:e.ui.nodes});let d=!1,l=null,c="";switch(r){case"profile":d=!0,c=s||"Profile Settings",l=jsx(ProfileSettingsSection,{flow:e});break;case"password":hasPassword(e.ui.nodes)&&(d=!0,c=s||"Change Password",l=jsx(PasswordSettingsSection,{flow:e}));break;case"webauthn":hasWebauthn(e.ui.nodes)&&(d=!0,c=s||"Manage Hardware Tokens",l=jsx(WebAuthnSettingsSection,{flow:e}));break;case"lookupSecret":hasLookupSecret(e.ui.nodes)&&(d=!0,c=s||"Manage 2FA Backup Recovery Codes",l=jsx(LookupSecretSettingsSection,{flow:e}));break;case"oidc":hasOidc(e.ui.nodes)&&(d=!0,c=s||"Social Sign In",l=jsx(OIDCSettingsSection,{flow:e}));break;case"totp":hasTotp(e.ui.nodes)&&(d=!0,c=s||"Manage 2FA TOTP Authenticator App",l=jsx(TOTPSettingsSection,{flow:e}));break;default:l=null}return d?jsxs("div",{className:gridStyle({gap:32}),children:[c&&jsx("h3",{className:cn(typographyStyle({size:"headline26",type:"regular"}),colorSprinkle({color:"foregroundDefault"})),children:c}),jsx(UserAuthForm,{flow:e,onSubmit:n,className:i,children:l})]}):null},UserConsentCard=({csrfToken:e,consent:r,cardImage:s,client_name:a="Unnamed Client",requested_scope:n=[],client:i,action:d,className:l})=>jsx(Card,{className:l,heading:jsx("div",{style:{textAlign:"center"},children:jsx(Typography,{type:"bold",children:a})}),image:s,children:jsxs("form",{action:d,method:"post",children:[jsx("input",{type:"hidden",name:"_csrf",value:e}),jsx("input",{type:"hidden",name:"consent_challenge",value:r?.challenge}),jsxs("div",{className:gridStyle({gap:16}),children:[jsx("div",{className:gridStyle({gap:4}),style:{marginBottom:16},children:jsx(Typography,{children:"The application requests access to the following permissions:"})}),jsx("div",{className:gridStyle({gap:4}),children:n.map(c=>jsx(Checkbox,{label:c,value:c,name:"grant_scope"},c))}),jsx("div",{className:gridStyle({gap:4}),children:jsx(Typography,{size:"xsmall",children:"Only grant permissions if you trust this site or app. You do not need to accept all permissions."})}),jsxs("div",{className:gridStyle({direction:"row"}),children:[i?.policy_uri&&jsx("a",{href:i.policy_uri,target:"_blank",rel:"noreferrer",children:jsx(Typography,{size:"xsmall",children:"Privacy Policy"})}),i?.tos_uri&&jsx("a",{href:i.tos_uri,target:"_blank",rel:"noreferrer",children:jsx(Typography,{size:"xsmall",children:"Terms of Service"})})]}),jsx(Divider,{}),jsxs("div",{className:gridStyle({gap:8}),children:[jsx(Checkbox,{label:"remember my decision",id:"remember",name:"remember"}),jsx(Typography,{size:"xsmall",children:"Remember this decision for next time. The application will not be able to ask for additional permissions without your consent."})]}),jsxs("div",{className:gridStyle({direction:"row"}),style:{justifyContent:"space-between",alignItems:"center"},children:[jsx(Button,{type:"submit",id:"reject",name:"consent_action",value:"reject",variant:"error",header:"Deny"}),jsx(Button,{type:"submit",id:"accept",name:"consent_action",value:"accept",variant:"semibold",header:"Allow"})]})]})]})}),UserLogoutCard=({csrfToken:e,challenge:r,action:s,className:a,cardImage:n})=>jsx(Card,{className:a,heading:jsx("div",{style:{textAlign:"center"},children:jsx(Typography,{children:"Do you wish to log out?"})}),image:n,children:jsxs("form",{action:s,method:"post",children:[jsx("input",{type:"hidden",name:"_csrf",value:e}),jsx("input",{type:"hidden",name:"challenge",value:r}),jsx("div",{className:gridStyle({gap:16}),children:jsxs("div",{className:gridStyle({direction:"row"}),style:{justifyContent:"space-between",alignItems:"center"},children:[jsx(Button,{type:"submit",id:"reject",value:"No",name:"submit",variant:"error",header:"No"}),jsx(Button,{type:"submit",id:"accept",value:"Yes",name:"submit",variant:"semibold",header:"Yes"})]})})]})});function getVarName(e){var r=e.match(/^var\((.*)\)$/);return r?r[1]:e}function get(e,r){var s=e;for(var a of r){if(!(a in s))throw new Error("Path ".concat(r.join(" -> ")," does not exist in object"));s=s[a]}return s}function walkObject(e,r){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],a=e.constructor();for(var n in e){var i=e[n],d=[...s,n];typeof i=="string"||typeof i=="number"||i==null?a[n]=r(i,d):typeof i=="object"&&!Array.isArray(i)?a[n]=walkObject(i,r,d):console.warn('Skipping invalid key "'.concat(d.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(i)?"Array":typeof i,'"'))}return a}function assignInlineVars(e,r){var s={};if(typeof r=="object"){var a=e;walkObject(r,(d,l)=>{var c=get(a,l);s[getVarName(c)]=String(d)})}else{var n=e;for(var i in n)s[getVarName(i)]=n[i]}return Object.defineProperty(s,"toString",{value:function(){return Object.keys(this).map(l=>"".concat(l,":").concat(this[l])).join(";")},writable:!1}),s}const themeProvider_css_ts_vanilla="";var themeProviderFontRenderingStyle="m6lo4u1",themeProviderStyle="m6lo4u0";const ThemeProvider=({children:e,theme:r,themeOverrides:s,enableFontSmoothing:a})=>jsx("div",{className:cn(themeProviderStyle,a&&themeProviderFontRenderingStyle),style:assignInlineVars(oryTheme,{...r==="dark"?defaultDarkTheme:defaultLightTheme,...s}),children:e});exports.Button=Button,exports.ButtonLink=ButtonLink,exports.ButtonSocial=ButtonSocial,exports.Card=Card,exports.CardGradient=CardGradient,exports.Checkbox=Checkbox,exports.CodeBox=CodeBox,exports.Divider=Divider,exports.FilterFlowNodes=FilterFlowNodes,exports.InputField=InputField,exports.LinkSection=LinkSection,exports.LoginSection=LoginSection,exports.LookupSecretSettingsSection=LookupSecretSettingsSection,exports.MenuLink=MenuLink,exports.Message=Message,exports.MessageSection=MessageSection,exports.Nav=Nav,exports.Node=Node,exports.NodeMessages=NodeMessages,exports.OIDCSection=OIDCSection,exports.OIDCSettingsSection=OIDCSettingsSection,exports.PasswordSettingsSection=PasswordSettingsSection,exports.PasswordlessSection=PasswordlessSection,exports.ProfileSettingsSection=ProfileSettingsSection,exports.RegistrationSection=RegistrationSection,exports.TOTPSettingsSection=TOTPSettingsSection,exports.ThemeProvider=ThemeProvider,exports.Typography=Typography,exports.UserAuthCard=UserAuthCard,exports.UserAuthForm=UserAuthForm,exports.UserConsentCard=UserConsentCard,exports.UserErrorCard=UserErrorCard,exports.UserLogoutCard=UserLogoutCard,exports.UserSettingsCard=UserSettingsCard,exports.WebAuthnSettingsSection=WebAuthnSettingsSection,exports.buttonLinkContainerStyle=buttonLinkContainerStyle,exports.buttonLinkIconStyle=buttonLinkIconStyle,exports.buttonLinkStyle=buttonLinkStyle,exports.buttonSocialIconEndStyle=buttonSocialIconEndStyle,exports.buttonSocialIconStartStyle=buttonSocialIconStartStyle,exports.buttonSocialStyle=buttonSocialStyle,exports.buttonStyle=buttonStyle,exports.cardStyle=cardStyle,exports.cardTitleImage=cardTitleImage,exports.cardTitleStyle=cardTitleStyle,exports.checkboxInputStyle=checkboxInputStyle,exports.checkboxStyle=checkboxStyle,exports.codeboxContentStyle=codeboxContentStyle,exports.codeboxHeaderStyle=codeboxHeaderStyle,exports.codeboxStyle=codeboxStyle,exports.colorProperties=colorProperties,exports.colorSprinkle=colorSprinkle,exports.defaultBreakpoints=defaultBreakpoints,exports.defaultDarkTheme=defaultDarkTheme,exports.defaultFont=defaultFont,exports.defaultLightTheme=defaultLightTheme,exports.dividerStyle=dividerStyle,exports.dividerTextStyle=dividerTextStyle,exports.formStyle=formStyle,exports.gridStyle=gridStyle,exports.hasHiddenIdentifier=hasHiddenIdentifier,exports.hasLookupSecret=hasLookupSecret,exports.hasOidc=hasOidc,exports.hasPassword=hasPassword,exports.hasTotp=hasTotp,exports.hasWebauthn=hasWebauthn,exports.inputFieldStyle=inputFieldStyle,exports.inputFieldTitleStyle=inputFieldTitleStyle,exports.inputTypographyStyle=inputTypographyStyle,exports.menuLinkIconLeftStyle=menuLinkIconLeftStyle,exports.menuLinkStyle=menuLinkStyle,exports.menuLinkTextStyle=menuLinkTextStyle,exports.messageStyle=messageStyle,exports.navMainSectionStyle=navMainSectionStyle,exports.navMenuLinkSelectedStyle=navMenuLinkSelectedStyle,exports.navMenuSectionStyle=navMenuSectionStyle,exports.navSectionBottom=navSectionBottom,exports.navSectionTitleStyle=navSectionTitleStyle,exports.navStyle=navStyle,exports.oryTheme=oryTheme,exports.pxToEm=pxToEm,exports.pxToRem=pxToRem,exports.typographyStyle=typographyStyle,exports.useScriptNodes=useScriptNodes,Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})});
