- ID de exploración:
- 21ff077c-3b78-49a8-859f-5b25a45e65e4Finalizado
- URL enviada:
- https://www.cdocs.pro/
- Informe finalizado:
Enlaces: 0 encontrados
Los enlaces salientes identificados en la página
Variables JavaScript: 10 encontradas
Las variables JavaScript globales cargadas en el objeto de ventana de una página son variables declaradas fuera de las funciones y a las que se puede acceder desde cualquier lugar del código en el ámbito actual
Nombre | Tipo |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
currentSignals | object |
signal | function |
deepEqual | function |
logState | function |
__toddle | object |
toddle | object |
__components | object |
Mensajes de registro de la consola: 2 encontrados
Mensajes registrados en la consola web
Tipo | Categoría | Registrar |
---|---|---|
warning | other |
|
error | network |
|
HTML
El cuerpo HTML sin procesar de la página
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CDocs | Welcome</title>
<meta name="description" content="Welcome to CDocs - log in here.">
<meta property="og:title" content="CDocs | Welcome">
<meta name="application-name" content="CDocs">
<meta property="og:url" content="https://www.cdocs.pro/">
<meta property="og:description" content="Welcome to CDocs - log in here.">
<meta property="og:type" content="website">
<meta name="theme-color" content="#171717">
<meta name="apple-mobile-web-app-title" content="CDocs | Welcome">
<meta name="msapplication-TileColor" content="#171717">
<link rel="stylesheet" fetchpriority="high" href="/_static/reset.css?v=d62c8f0">
<link href="/.toddle/fonts/stylesheet/css2?display=swap&family=Poppins%3Aital%2Cwght%400%2C100%3B0%2C200%3B0%2C300%3B0%2C400%3B0%2C500%3B0%2C600%3B0%2C700%3B0%2C800%3B0%2C900%3B1%2C100%3B1%2C200%3B1%2C300%3B1%2C400%3B1%2C500%3B1%2C600%3B1%2C700%3B1%2C800%3B1%2C900&family=Inter%3Aital%2Cwght%400%2C100%3B0%2C200%3B0%2C300%3B0%2C400%3B0%2C500%3B0%2C600%3B0%2C700%3B0%2C800%3B0%2C900%3B1%2C100%3B1%2C200%3B1%2C300%3B1%2C400%3B1%2C500%3B1%2C600%3B1%2C700%3B1%2C800%3B1%2C900" rel="stylesheet">
<script type="speculationrules">{"prerender":[{"source":"document","where":{"selector_matches":"[data-prerender=\"eager\"]"},"eagerness":"eager"},{"source":"document","where":{"selector_matches":"[data-prerender=\"moderate\"]"},"eagerness":"moderate"}]}</script>
<style>
@layer base {
body, :host {
/* Color */
--grey-50: #FAFAFA;
--grey-100: #F5F5F5;
--grey-200: #E5E5E5;
--grey-300: #D4D4D4;
--grey-400: #A3A3A3;
--grey-500: #737373;
--grey-600: #525252;
--grey-700: #404040;
--grey-800: #262626;
--grey-900: #171717;
--red-50: #FEF2F2;
--red-100: #FEE2E2;
--red-200: #FECACA;
--red-300: #FCA5A5;
--red-400: #F87171;
--red-500: #EF4444;
--red-600: #DC2626;
--red-700: #B91C1C;
--red-800: #991B1B;
--red-900: #7F1D1D;
--blue-50: #EFF6FF;
--blue-100: #DBEAFE;
--blue-200: #BFDBFE;
--blue-300: #93C5FD;
--blue-400: #60A5FA;
--blue-500: #3B82F6;
--blue-600: #2563EB;
--blue-700: #1D4ED8;
--blue-800: #1E40AF;
--blue-900: #1E3A8A;
--lime-50: #F7FEE7;
--lime-100: #ECFCCB;
--lime-200: #D9F99D;
--lime-300: #BEF264;
--lime-400: #A3E635;
--lime-500: #84CC16;
--lime-600: #65A30D;
--lime-700: #4D7C0F;
--lime-800: #3F6212;
--lime-900: #365314;
--pink-50: #FDF2F8;
--pink-100: #FCE7F3;
--pink-200: #FBCFE8;
--pink-300: #F9A8D4;
--pink-400: #F472B6;
--pink-500: #EC4899;
--pink-600: #DB2777;
--pink-700: #BE185D;
--pink-800: #9D174D;
--pink-900: #831843;
--teal-50: #F0FDFA;
--teal-100: #CCFBF1;
--teal-200: #99F6E4;
--teal-300: #5EEAD4;
--teal-400: #2DD4BF;
--teal-500: #14B8A6;
--teal-600: #0D9488;
--teal-700: #0F766E;
--teal-800: #115E59;
--teal-900: #134E4A;
--green-50: #ECFDF5;
--green-100: #D1FAE5;
--green-200: #A7F3D0;
--green-300: #6EE7B7;
--green-400: #34D399;
--green-500: #10B981;
--green-600: #059669;
--green-700: #047857;
--green-800: #065F46;
--green-900: #064E3B;
--purple-50: #F5F3FF;
--purple-100: #EDE9FE;
--purple-200: #DDD6FE;
--purple-300: #C4B5FD;
--purple-400: #A78BFA;
--purple-500: #8B5CF6;
--purple-600: #7C3AED;
--purple-700: #6D28D9;
--purple-800: #5B21B6;
--purple-900: #4C1D95;
--yellow-50: #FFFBEB;
--yellow-100: #FEF3C7;
--yellow-200: #FDE68A;
--yellow-300: #FCD34D;
--yellow-400: #FBBF24;
--yellow-500: #F59E0B;
--yellow-600: #D97706;
--yellow-700: #B45309;
--yellow-800: #92400E;
--yellow-900: #78350F;
--background-light-mode: #fafafa;
--background-dark-mode: #050505;
--text-light-mode: #050505;
--text-dark-mode: #fafafa;
/* Fonts */
--font-poppins: 'Poppins',sans-serif;
--font-inter: 'Inter',sans-serif;
/* Font size */
--font-size-xxs: 0.625rem;
--font-size-xs: 0.75rem;
--font-size-sm: 0.875rem;
--font-size-base: 1rem;
--font-size-lg: 1.125rem;
--font-size-xl: 1.25rem;
--font-size-2xl: 1.5rem;
--font-size-3xl: 1.875rem;
--font-size-4xl: 2.25rem;
--font-size-5xl: 3rem;
/* Font weight */
--font-weight-thin: 100;
--font-weight-lighter: 200;
--font-weight-light: 300;
--font-weight-regular: 400;
--font-weight-normal: 500;
--font-weight-bold: 700;
--font-weight-semi-bold: 600;
--font-weight-bolder: 800;
--font-weight-black: 900;
/* Shadows */
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
--shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.25), 0 1px 2px 0 rgba(0, 0, 0, 0.25);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.25), 0 2px 4px -1px rgba(0, 0, 0, 0.25);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.25), 0 4px 6px -2px rgba(0, 0, 0, 0.25);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.25);
--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
/* Border radius */
/* Spacing */
/* Z-index */
}
@keyframes animation-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes animation-fade-in {
from {
opacity:0;
}
to {
opacity:1;
}
}
@keyframes animation-fade-out {
from {
opacity:1;
}
to {
opacity:0;
}
}
}
.eZOxvH {
width:100vw;
height:100vh;
align-items:center;
font-family:'Poppins';
padding-top:4rem;
padding-left:4rem;
padding-right:4rem;
padding-bottom:4rem;
justify-content:center;
background-color:#ffffff;
}
.cAwxFn {
color:var(--grey-500, #737373);
display:inline-block;
font-size:.875rem;
text-align:center;
}
.dseDBZ {
gap:.4rem;
color:var(--grey-600, #525252);
width:100%;
display:flex;
font-size:0.825rem;
margin-top:8px;
font-weight:400;
flex-direction:column;
}
.fFJNGl {
color:#00000;
width:100%;
font-size:1rem;
align-items:start;
padding-top:.5rem;
border-color:var(--grey-500, #737373);
border-style:solid;
border-width:1px;
padding-left:.5rem;
border-radius:6px;
padding-right:.5rem;
padding-bottom:.5rem;
justify-content:center;
background-color:#fff;
}
.fFJNGl:focus {
outline-color:#2463ebff;
outline-style:solid;
outline-width:1px;
}
.feHhjl {
gap:1rem;
width:100%;
max-width:32rem;
align-items:center;
padding-top:1rem;
border-radius:6px;
padding-bottom:1rem;
justify-content:start;
}
.dpyTKr {
gap:0.6rem;
color:#ffffff;
width:fit-content;
font-size:1rem;
transition:all 300ms ease 0ms normal;
align-items:center;
font-weight:var(--font-weight-semi-bold);
padding-top:0.6rem;
padding-left:1.4rem;
border-radius:0.6rem;
padding-right:1.4rem;
flex-direction:row;
padding-bottom:0.6rem;
justify-content:center;
background-color:var(--blue-600, #2563EB);
}
.dpyTKr.small {
gap:0.5rem;
font-size:.875rem;
padding-top:0.5rem;
padding-left:0.8rem;
padding-right:0.8rem;
flex-direction:row;
padding-bottom:0.5rem;
}
.dpyTKr.outline {
color:var(--grey-900, #171717);
border-color:var(--grey-300, #D4D4D4);
border-style:solid;
border-width:1px;
background-color:#ffffff;
}
.dpyTKr:hover {
cursor:pointer;
background-color:var(--blue-500, #3B82F6);
}
.dpyTKr.outline:hover {
background-color:var(--blue-100, #DBEAFE);
}
.dpyTKr.circle {
padding-top:.5rem;
padding-left:.5rem;
border-radius:50%;
padding-right:.5rem;
padding-bottom:.5rem;
}
.dpyTKr.disabled {
color:var(--grey-400, #A3A3A3);
border-color:var(--grey-400, #A3A3A3);
border-style:solid;
border-width:1px;
background-color:var(--grey-200, #E5E5E5);
}
.dpyTKr.disabled:hover {
cursor:not-allowed;
background-color:var(--grey-200, #E5E5E5);
}
.dpyTKr.active {
background-color:var(--blue-200, #BFDBFE);
}
.dpyTKr.transparent {
color:var(--grey-800, #262626);
background-color:#00000000;
}
.dpyTKr.transparent:hover {
background-color:var(--blue-100, #DBEAFE);
}
.dakYmV {
gap:.5rem;
}
.dxKCzn {
gap:1rem;
width:fit-content;
align-items:center;
padding-top:.25rem;
padding-left:1rem;
padding-right:1rem;
flex-direction:row;
padding-bottom:.25rem;
justify-content:start;
}
.eGBQDY {
color:var(--grey-500, #737373);
display:inline-block;
}
.bDYjpP {
display:inline-block;
font-size:2rem;
text-align:center;
font-weight:700;
}
.dErfqB {
color:#E5E5E5;
width:1rem;
height:1rem;
font-size:0.75rem;
padding-left:8px;
border-radius:6px;
padding-right:8px;
background-color:#262626;
}
.dErfqB:focus {
outline-color:#2463ebff;
outline-style:solid;
outline-width:1px;
}
.jdUrs {
width:100%;
position:relative;
max-width:1280px;
align-items:center;
margin-left:auto;
margin-right:auto;
justify-content:start;
background-color:inherit;
}
.cOIHbn {
bottom:5vh;
position:absolute;
font-size:0.9rem;
font-family:var(--font-sans);
}
.bzGpvc {
gap:1rem;
flex-direction:row;
}
.rbMdw {
color:var(--red-700, #B91C1C);
display:inline-block;
font-size:.875rem;
text-align:center;
}
.eGapk {
color:inherit;
display:inline-block;
font-size:.875rem;
padding-top:.5rem;
padding-bottom:.5rem;
}
.eyVPLS {
font-size:inherit;
font-family:inherit;
font-weight:inherit;
}
.cxtbhs {
gap:1rem;
align-items:center;
justify-content:start;
}
.faIvHk {
color:inherit;
display:inline-block;
font-weight:700;
}
.bbIuEC {
gap:0.5rem;
width:100%;
padding-top:1rem;
padding-bottom:2rem;
}
</style>
<script type="module">
import { initGlobalObject, createRoot } from 'https://toddle.dev/_static/page.main.js';
window.__toddle = {"project":"cdocs","branch":"main","commit":"9c525fc144fc7c4b4a460b15ce4f349482d677dd","pageState":{"Location":{"page":"","path":"/","params":{},"query":{},"hash":""},"Attributes":{},"URL parameters":{},"Apis":{"send otp code":{"data":null,"isLoading":false,"error":null},"login with otp":{"data":null,"isLoading":false,"error":null},"validate email":{"data":null,"isLoading":false,"error":null},"log in with password":{"data":null,"isLoading":false,"error":null}},"Variables":{"otp":"","email":"","otp_sent":false,"password":"","tenant_id":"","auth_method":"","email_valid":false}},"component":{"apis":{"send otp code":{"url":{"type":"value","value":"https://xhvc-tcng-ugzo.n7d.xano.io"},"auth":null,"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Variables","email"],"type":"path"}},{"Name":0,"name":"tenant_id","formula":{"path":["Variables","tenant_id"],"type":"path"}}]},"name":"send otp code","path":[{"formula":{"type":"value","value":"api:BPQPBXuC"}},{"formula":{"type":"value","value":"auth"}},{"formula":{"type":"value","value":"send_otp"}}],"type":"REST","proxy":true,"method":"POST","headers":{"type":"record","entries":[{"name":"Content-type","formula":{"type":"value","value":"application/json"}}]},"autoFetch":{"type":"value","value":false},"onCompleted":{"actions":[{"data":{"type":"value","value":true},"type":"SetVariable","variable":"otp_sent"}],"trigger":"Success"},"queryParams":{}},"login with otp":{"url":{"type":"value","value":"https://xhvc-tcng-ugzo.n7d.xano.io"},"auth":null,"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Variables","email"],"type":"path"}},{"Name":0,"name":"tenant_id","formula":{"path":["Variables","tenant_id"],"type":"path"}},{"Name":0,"name":"otp","formula":{"path":["Variables","otp"],"type":"path"}}]},"name":"login with otp","path":[{"formula":{"type":"value","value":"api:BPQPBXuC"}},{"formula":{"type":"value","value":"auth"}},{"formula":{"type":"value","value":"login_otp"}}],"type":"REST","proxy":true,"method":"POST","headers":{"type":"record","entries":[{"name":"Content-type","formula":{"type":"value","value":"application/json"}}]},"autoFetch":{"type":"value","value":false},"onCompleted":{"actions":[{"name":"@toddle/setSessionCookies","label":"Set session cookies","events":{"Error":{"actions":[],"description":"This event is triggered if toddle is unable to set the session cookies"},"Success":{"actions":[{"name":"@toddle/gotToURL","label":"Go to URL","arguments":[{"name":"URL","formula":{"type":"value","value":"/library"}}]}],"trigger":"Success","description":"This event is triggered once the tokens have been saved."}},"arguments":[{"name":"Access token","formula":{"path":["Apis","login with otp","data","authToken"],"type":"path"},"description":"Access tokens are the most common way to authenticate with a server"},{"name":"Expires in","type":{"type":"Number"},"formula":{"name":"@toddle/multiply","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"type":"value","value":60}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":60}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":24}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":7}}],"display_name":"Multiply","variableArguments":true},"description":"(Optional) Seconds till the token expires. Defaults to 3600 (1 hour). This should be left blank for JWTs"}]}],"trigger":"Success"},"queryParams":{}},"validate email":{"url":{"type":"value","value":"https://xhvc-tcng-ugzo.n7d.xano.io"},"auth":null,"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Variables","email"],"type":"path"}}]},"name":"validate email","path":[{"formula":{"type":"value","value":"api:BPQPBXuC"}},{"formula":{"type":"value","value":"auth"}},{"formula":{"type":"value","value":"valid_user"}}],"type":"REST","proxy":true,"method":"POST","headers":{"type":"record","entries":[{"name":"Content-type","formula":{"type":"value","value":"application/json"}}]},"onFailed":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"email_valid"}],"trigger":"Error"},"autoFetch":{"type":"value","value":false},"onCompleted":{"actions":[{"data":{"type":"value","value":true},"type":"SetVariable","variable":"email_valid"},{"type":"Switch","cases":[{"actions":[{"data":{"path":["Apis","validate email","data","0","id"],"type":"path"},"type":"SetVariable","variable":"tenant_id"},{"data":{"path":["Apis","validate email","data","0","auth_method"],"type":"path"},"type":"SetVariable","variable":"auth_method"}],"condition":{"name":"@toddle/equals","type":"function","label":"single library","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"name":"@toddle/size","type":"function","label":null,"arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Apis","validate email","data"],"type":"path","label":null}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":1}}],"display_name":"Equals"}}],"default":{"actions":[]}}],"trigger":"Success"},"queryParams":{}},"log in with password":{"url":{"type":"value","value":"https://xhvc-tcng-ugzo.n7d.xano.io"},"auth":null,"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Variables","email"],"type":"path"}},{"Name":0,"name":"password","formula":{"path":["Variables","password"],"type":"path"}},{"Name":0,"name":"tenant_id","formula":{"path":["Variables","tenant_id"],"type":"path"}}]},"name":"log in with password","path":[{"formula":{"type":"value","value":"api:BPQPBXuC"}},{"formula":{"type":"value","value":"auth"}},{"formula":{"type":"value","value":"login_password"}}],"type":"REST","proxy":true,"method":"POST","headers":{"type":"record","entries":[{"name":"Content-type","formula":{"type":"value","value":"application/json"}}]},"autoFetch":{"type":"value","value":false},"onCompleted":{"actions":[{"name":"@toddle/setSessionCookies","label":"Set session cookies","events":{"Error":{"actions":[],"description":"This event is triggered if toddle is unable to set the session cookies"},"Success":{"actions":[{"name":"@toddle/gotToURL","label":"Go to URL","arguments":[{"name":"URL","formula":{"type":"value","value":"/library"}}]}],"trigger":"Success","description":"This event is triggered once the tokens have been saved."}},"arguments":[{"name":"Access token","formula":{"path":["Apis","log in with password","data"],"type":"path"},"description":"Access tokens are the most common way to authenticate with a server"},{"name":"Expires in","type":{"type":"Number"},"formula":{"name":"@toddle/multiply","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"type":"value","value":60}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":60}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":24}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":7}}],"display_name":"Multiply","variableArguments":true},"description":"(Optional) Seconds till the token expires. Defaults to 3600 (1 hour). This should be left blank for JWTs"}]}],"trigger":"Success"},"queryParams":{}}},"name":"login","nodes":{"root":{"tag":"div","type":"element","attrs":{},"style":{"width":"100vw","height":"100vh","align-items":"center","font-family":"'Poppins'","padding-top":"4rem","padding-left":"4rem","padding-right":"4rem","padding-bottom":"4rem","justify-content":"center","background-color":"#ffffff"},"events":{},"classes":{},"children":["c0zr-gFyT426duUMiPjte","Ue4vevN0pV4xo1wQEnaGK"],"styleVariables":{}},"-d7j-fylT5W9xCKaKKAgg":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M3 12h13l-3 -3"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"-rP45szW8Nd0tpcXBr9JH":{"tag":"p","type":"element","attrs":{},"style":{"color":"var(--grey-500, #737373)","display":"inline-block","font-size":".875rem","text-align":"center"},"events":{},"classes":{},"children":["OdjjHcUeIrBOZzMPXbtW-"],"styleVariables":{}},"1H_hBMtY3AVqXtDn7nc_u":{"type":"text","value":{"path":["Variables","email"],"type":"path"}},"1Hm6Fx5veUZwinFP-6VCd":{"name":"simple input","type":"component","attrs":{"type":{"type":"value","value":"Text"},"label":{"type":"value","value":"Code"},"value":{"path":["Variables","otp"],"type":"path","label":null},"required":{"type":"value","value":true},"placeholder":{"type":"value","value":"code"}},"events":{"input":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"SetVariable","variable":"otp"}],"trigger":"input"}},"repeat":null,"children":[],"condition":null},"2wZBRIdfotpBE5GY2Rodn":{"tag":"form","type":"element","attrs":{},"style":{"gap":"1rem","width":"100%","max-width":"32rem","align-items":"center","padding-top":"1rem","border-radius":"6px","padding-bottom":"1rem","justify-content":"start"},"events":{"submit":{"actions":[{"name":"@toddle/preventDefault","label":"Prevent Default","arguments":[]},{"type":"Switch","cases":[{"actions":[{"api":"validate email","type":"Fetch","inputs":null,"onError":{"actions":[]},"onSuccess":{"actions":[]}}],"condition":{"name":"@toddle/not","type":"function","label":"need to validate email","arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Variables","email_valid"],"type":"path","label":null}}],"display_name":"Not"}},{"actions":[{"api":"send otp code","type":"Fetch","inputs":null,"onError":{"actions":[]},"onSuccess":{"actions":[]}}],"condition":{"type":"and","label":"need to send OTP code","arguments":[{"formula":{"path":["Variables","email_valid"],"type":"path","label":"need to send OTP code"}},{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","auth_method"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"otp"}}],"display_name":"Equals"}},{"formula":{"name":"@toddle/not","type":"function","arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Variables","otp_sent"],"type":"path"}}],"display_name":"Not"}}]}},{"actions":[{"name":"@toddle/logToConsole","label":"Log to console","arguments":[{"name":"Label","formula":{"type":"value","value":"logging in with OTP"}},{"name":"Data","formula":{"type":"value","value":"<Data>"}}]},{"api":"login with otp","type":"Fetch","inputs":null,"onError":{"actions":[]},"onSuccess":{"actions":[],"trigger":"onSuccess"}}],"condition":{"type":"and","label":"log in with OTP","arguments":[{"formula":{"path":["Variables","email_valid"],"type":"path","label":"log in with OTP"}},{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","auth_method"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"otp"}}],"display_name":"Equals"}},{"formula":{"path":["Variables","otp_sent"],"type":"path"}}]}},{"actions":[{"name":"@toddle/logToConsole","label":"Log to console","arguments":[{"name":"Label","formula":{"type":"value","value":"logging in with password"}},{"name":"Data","formula":{"type":"value","value":"<Data>"}}]},{"api":"log in with password","type":"Fetch","inputs":null,"onError":{"actions":[]},"onSuccess":{"actions":[]}}],"condition":{"type":"and","label":"login with password","arguments":[{"formula":{"path":["Variables","email_valid"],"type":"path","label":"log in with OTP"}},{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","auth_method"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"password"}}],"display_name":"Equals"}}]}}],"default":{"actions":[]}}],"trigger":"submit"}},"classes":{},"children":["uXlPeEIHaOrsbneQonK8F","cWYWazR68aS2sSozzWuG7"],"styleVariables":{}},"5cOhbL8g-x0HiBb2bZOx7":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":24},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":24},"stroke":{"type":"value","value":"currentColor"},"viewBox":{"type":"value","value":"0 0 24 24"},"stroke-width":{"type":"value","value":"2"},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"style":{},"events":{},"classes":{},"children":["91MJT19s40S--JsycGcXA","QFFLF9Yu3FH8W8ZGIBuJH","WDIuKano5CnQGV_EVmkL1"],"styleVariables":{}},"5ytPzmybNCW0onrMTU0dV":{"name":"my button","type":"component","attrs":{"type":{"type":"value","value":"submit"},"label":{"type":"value","value":"Log in"}},"events":{},"repeat":null,"children":["bMSttql3Y2IcTz52jUnBN"],"condition":{"type":"or","label":null,"arguments":[{"formula":{"type":"and","label":null,"arguments":[{"formula":{"path":["Variables","email_valid"],"type":"path","label":null}},{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","auth_method"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"password"}}],"display_name":"Equals"}}]}},{"formula":{"type":"and","arguments":[{"formula":{"path":["Variables","email_valid"],"type":"path"}},{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","auth_method"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"otp"}}],"display_name":"Equals"}},{"formula":{"path":["Variables","otp_sent"],"type":"path"}}]}}]}},"91MJT19s40S--JsycGcXA":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M0 0h24v24H0z"},"fill":{"type":"value","value":"none"},"stroke":{"type":"value","value":"none"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"ARyezw7Q3GeBpZNAwpkyM":{"type":"text","value":{"type":"value","value":"Log in"}},"AS5IdEbOp87WA-VyD8DJW":{"tag":"div","type":"element","attrs":{},"style":{"gap":".5rem"},"events":{},"classes":{},"children":["1Hm6Fx5veUZwinFP-6VCd","a-LGYWe7KmocVQjoOJkCG","-rP45szW8Nd0tpcXBr9JH"],"condition":{"type":"and","label":null,"arguments":[{"formula":{"path":["Variables","email_valid"],"type":"path","label":null}},{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","auth_method"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"otp"}}],"display_name":"Equals"}},{"formula":{"path":["Variables","otp_sent"],"type":"path"}}]}},"Ac9SL8h1sCh85btWmv2rl":{"type":"text","value":{"type":"value","value":"Select a library:"}},"BSNO2kO536AuKeL946pu5":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M13 15l3 -3"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"Et5utOLnMPcVBWYA65clG":{"tag":"div","type":"element","attrs":{},"style":{"gap":"1rem","width":"fit-content","align-items":"center","padding-top":".25rem","padding-left":"1rem","padding-right":"1rem","flex-direction":"row","padding-bottom":".25rem","justify-content":"start"},"events":{},"repeat":{"path":["Apis","validate email","data"],"type":"path","label":null},"classes":{},"children":["MAdhZbd2q3GWS2PsG_jPT","iajCjl_PchGoe3diJinS3"],"styleVariables":{}},"H75sRZbZb5evBMtawwVUl":{"tag":"p","type":"element","attrs":{},"style":{"color":"var(--grey-500, #737373)","display":"inline-block"},"events":{},"classes":{},"children":["1H_hBMtY3AVqXtDn7nc_u"],"condition":{"path":["Variables","email_valid"],"type":"path","label":null},"styleVariables":{}},"ItXq17xPMzFZdLGXw83_R":{"tag":"h1","type":"element","attrs":{},"style":{"display":"inline-block","font-size":"2rem","text-align":"center","font-weight":"700"},"events":{},"classes":{},"children":["pth53glnV60ACn_G4P23F"],"styleVariables":{}},"JX4eP60NfnxnPR6sQmCRC":{"name":"simple input","type":"component","attrs":{"type":{"type":"value","value":"email"},"label":{"type":"value","value":"Email"},"value":{"path":["Variables","email"],"type":"path","label":null},"required":{"type":"value","value":true},"placeholder":{"type":"value","value":"email"}},"events":{"input":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"SetVariable","variable":"email"}],"trigger":"input"}},"repeat":null,"children":[],"condition":{"name":"@toddle/not","type":"function","label":null,"arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Variables","email_valid"],"type":"path","label":null}}],"display_name":"Not"}},"MAdhZbd2q3GWS2PsG_jPT":{"tag":"input","type":"element","attrs":{"name":{"type":"value","value":"tenant_id"},"type":{"type":"value","value":"radio"},"value":{"path":["ListItem","Item","id"],"type":"path"},"placeholder":{"type":"value","value":""}},"style":{"color":"#E5E5E5","width":"1rem","height":"1rem","font-size":"0.75rem","padding-left":"8px","border-radius":"6px","padding-right":"8px","background-color":"#262626"},"events":{"input":{"actions":[{"data":{"path":["ListItem","Item","id"],"type":"path"},"type":"SetVariable","variable":"tenant_id"},{"data":{"path":["ListItem","Item","auth_method"],"type":"path"},"type":"SetVariable","variable":"auth_method"}],"trigger":"input"}},"repeat":null,"classes":{},"children":[],"variants":[{"focus":true,"style":{"outline-color":"#2463ebff","outline-style":"solid","outline-width":"1px"}}],"styleVariables":{}},"NzKg93jjgugdtmx_vAm3w":{"name":"my button","type":"component","attrs":{"type":{"type":"value","value":"submit"},"label":{"type":"value","value":"Send me a login code"}},"events":{},"repeat":null,"children":["5cOhbL8g-x0HiBb2bZOx7"],"condition":{"type":"and","label":null,"arguments":[{"formula":{"path":["Variables","email_valid"],"type":"path","label":null}},{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","auth_method"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"otp"}}],"display_name":"Equals"}},{"formula":{"name":"@toddle/not","type":"function","arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Variables","otp_sent"],"type":"path"}}],"display_name":"Not"}}]}},"OdjjHcUeIrBOZzMPXbtW-":{"type":"text","value":{"type":"value","value":"If you don't see it, check your spam folder."}},"QFFLF9Yu3FH8W8ZGIBuJH":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"SS2CLEwTu86TxrB82Ue_1":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M10 18l6 -6l-6 -6v12"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"Szqy7Cp4kjMbk77yEwUUU":{"name":"my button","type":"component","attrs":{"type":{"type":"value","value":"submit"},"label":{"type":"value","value":"Next"}},"events":{},"repeat":null,"children":["nFx0rKhlRWrTBbjHllpbX"],"condition":{"name":"@toddle/not","type":"function","label":null,"arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Variables","email_valid"],"type":"path","label":null}}],"display_name":"Not"}},"TrLvzri6xPnaiSO3_ZIRP":{"name":"my button","type":"component","attrs":{"type":{"type":"value","value":"button"},"label":{"type":"value","value":"Back"},"style":{"type":"value","value":"outline"}},"events":{"onClick":{"actions":[{"data":{"type":"value","value":""},"type":"SetVariable","variable":"otp"},{"data":{"type":"value","value":false},"type":"SetVariable","variable":"otp_sent"},{"data":{"type":"value","value":false},"type":"SetVariable","variable":"email_valid"},{"data":{"type":"value","value":""},"type":"SetVariable","variable":"auth_method"},{"data":{"type":"value","value":0},"type":"SetVariable","variable":"tenant_id"}],"trigger":"onClick"}},"repeat":null,"children":["pkba3RxEQj7YHQJGxIVlI"],"condition":{"path":["Variables","email_valid"],"type":"path","label":null}},"UWs6_1N1nKI0Gt0-wbjQV":{"tag":"div","type":"element","attrs":{},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"Ue4vevN0pV4xo1wQEnaGK":{"name":"container-large","type":"component","attrs":{},"events":{},"repeat":null,"children":["qSKTQNE2OI8ubOSHAPNlw","2wZBRIdfotpBE5GY2Rodn"]},"WDIuKano5CnQGV_EVmkL1":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M3 7l9 6l9 -6"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"XEIgdD_yT4s4uSRlH_x6b":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M0 0h24v24H0z"},"fill":{"type":"value","value":"none"},"stroke":{"type":"value","value":"none"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"_EGYDiLJ4PH4460kvdarx":{"id":"_EGYDiLJ4PH4460kvdarx","type":"text","value":{"type":"value","value":"A CDocs document library"},"events":null},"a-LGYWe7KmocVQjoOJkCG":{"tag":"p","type":"element","attrs":{},"style":{"color":"var(--grey-500, #737373)","display":"inline-block","font-size":".875rem","text-align":"center"},"events":{},"classes":{},"children":["bW41Jzfo6fE8592NhTOxD"],"styleVariables":{}},"bMSttql3Y2IcTz52jUnBN":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":24},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":24},"stroke":{"type":"value","value":"currentColor"},"viewBox":{"type":"value","value":"0 0 24 24"},"stroke-width":{"type":"value","value":2},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"style":{},"events":{},"classes":{},"children":["XEIgdD_yT4s4uSRlH_x6b","fBO9xvthQUIV5a4xz9zkY","-d7j-fylT5W9xCKaKKAgg","BSNO2kO536AuKeL946pu5"],"styleVariables":{}},"bW41Jzfo6fE8592NhTOxD":{"type":"text","value":{"type":"value","value":"Please check your email for your code."}},"bZHHDigqtyanYWT7lo7sb":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M0 0h24v24H0z"},"fill":{"type":"value","value":"none"},"stroke":{"type":"value","value":"none"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"c0zr-gFyT426duUMiPjte":{"tag":"p","type":"element","attrs":{},"style":{"bottom":"5vh","position":"absolute","font-size":"0.9rem","font-family":"var(--font-sans)"},"events":{"click":{"actions":[],"trigger":"click"}},"classes":{},"children":["_EGYDiLJ4PH4460kvdarx"],"styleVariables":{}},"cWYWazR68aS2sSozzWuG7":{"tag":"div","type":"element","attrs":{},"style":{"gap":"1rem","flex-direction":"row"},"events":{},"classes":{},"children":["Szqy7Cp4kjMbk77yEwUUU","TrLvzri6xPnaiSO3_ZIRP","NzKg93jjgugdtmx_vAm3w","5ytPzmybNCW0onrMTU0dV"]},"eKNVVx61_wJvVjhYKC_Gj":{"tag":"p","type":"element","attrs":{},"style":{"color":"var(--red-700, #B91C1C)","display":"inline-block","font-size":".875rem","text-align":"center"},"events":{},"classes":{},"children":["xy4iNZkarnAX7XhiXLyli"],"condition":{"path":["Apis","validate email","error"],"type":"path","label":null},"styleVariables":{}},"eRiCv0lEZQ-9Mx4N0UZYJ":{"name":"simple input","type":"component","attrs":{"type":{"type":"value","value":"Password"},"label":{"type":"value","value":"Password"},"value":{"type":"value","value":""},"required":{"type":"value","value":false},"placeholder":{"type":"value","value":"password"}},"events":{"input":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"SetVariable","variable":"password"}],"trigger":"input"}},"repeat":null,"children":[],"condition":{"type":"and","label":null,"arguments":[{"formula":{"path":["Variables","email_valid"],"type":"path","label":null}},{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","auth_method"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"password"}}],"display_name":"Equals"}}]}},"eju12N1BZA643l9xzrODq":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M0 0h24v24H0z"},"fill":{"type":"value","value":"none"},"stroke":{"type":"value","value":"none"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"eqkV2cRqVvU8KbvfneCav":{"tag":"p","type":"element","attrs":{},"style":{"color":"inherit","display":"inline-block","font-size":".875rem","padding-top":".5rem","padding-bottom":".5rem"},"events":{},"classes":{},"children":["Ac9SL8h1sCh85btWmv2rl"],"styleVariables":{}},"fBO9xvthQUIV5a4xz9zkY":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M9 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"fYTZzfc4OvFxWuJ8Vg7Nr":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M5 10h11a4 4 0 1 1 0 8h-1"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"iajCjl_PchGoe3diJinS3":{"tag":"span","type":"element","attrs":{},"style":{"font-size":"inherit","font-family":"inherit","font-weight":"inherit"},"events":{},"classes":{},"children":["m3PatoO62Kd4yJlte7FFr"],"styleVariables":{}},"kOdPgtjRTa4FHYHovFYyh":{"tag":"div","type":"element","attrs":{},"style":{},"events":{},"classes":{},"children":["eqkV2cRqVvU8KbvfneCav","Et5utOLnMPcVBWYA65clG"],"condition":{"type":"and","label":null,"arguments":[{"formula":{"path":["Variables","email_valid"],"type":"path","label":null}},{"formula":{"name":"@toddle/greaterThan","type":"function","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Apis","validate email","data"],"type":"path"}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Greater than"}}]},"styleVariables":{}},"m3PatoO62Kd4yJlte7FFr":{"type":"text","value":{"path":["ListItem","Item","name"],"type":"path"}},"nFx0rKhlRWrTBbjHllpbX":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":24},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":24},"stroke":{"type":"value","value":"currentColor"},"viewBox":{"type":"value","value":"0 0 24 24"},"stroke-width":{"type":"value","value":"2"},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"style":{},"events":{},"classes":{},"children":["bZHHDigqtyanYWT7lo7sb","SS2CLEwTu86TxrB82Ue_1"],"styleVariables":{}},"pkba3RxEQj7YHQJGxIVlI":{"tag":"svg","slot":"icon-left","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":24},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":24},"stroke":{"type":"value","value":"currentColor"},"viewBox":{"type":"value","value":"0 0 24 24"},"stroke-width":{"type":"value","value":"2"},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"style":{},"events":{},"classes":{},"children":["eju12N1BZA643l9xzrODq","sw3BEkQlLFZM_wEq7mYBN","fYTZzfc4OvFxWuJ8Vg7Nr"],"styleVariables":{}},"pth53glnV60ACn_G4P23F":{"type":"text","value":{"type":"value","value":"Welcome to CDocs"}},"qSKTQNE2OI8ubOSHAPNlw":{"tag":"div","type":"element","attrs":{},"style":{"gap":"1rem","align-items":"center","justify-content":"start"},"events":{},"classes":{},"children":["ItXq17xPMzFZdLGXw83_R"]},"sw3BEkQlLFZM_wEq7mYBN":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M9 14l-4 -4l4 -4"}},"style":{},"events":{},"classes":{},"children":[],"styleVariables":{}},"tUmR2FDxlHO4dappK8mnu":{"tag":"p","type":"element","attrs":{},"style":{"color":"inherit","display":"inline-block","font-weight":"700"},"events":{},"classes":{},"children":["ARyezw7Q3GeBpZNAwpkyM"],"styleVariables":{}},"uXlPeEIHaOrsbneQonK8F":{"tag":"div","type":"element","attrs":{},"style":{"gap":"0.5rem","width":"100%","padding-top":"1rem","padding-bottom":"2rem"},"events":{},"classes":{},"children":["tUmR2FDxlHO4dappK8mnu","JX4eP60NfnxnPR6sQmCRC","H75sRZbZb5evBMtawwVUl","eKNVVx61_wJvVjhYKC_Gj","kOdPgtjRTa4FHYHovFYyh","eRiCv0lEZQ-9Mx4N0UZYJ","AS5IdEbOp87WA-VyD8DJW"],"styleVariables":{}},"xy4iNZkarnAX7XhiXLyli":{"type":"text","value":{"path":["Apis","validate email","error","message"],"type":"path"}}},"route":{"info":{"meta":{},"title":{"formula":{"type":"value","value":"CDocs | Welcome"}},"description":{"formula":{"type":"value","value":"Welcome to CDocs - log in here."}}},"path":[],"query":{}},"events":[],"onLoad":{"actions":[],"trigger":"load"},"functions":{},"variables":{"otp":{"initialValue":{"type":"value","value":""}},"email":{"initialValue":{"type":"value","value":""}},"otp_sent":{"initialValue":{"type":"value","value":false}},"password":{"initialValue":{"type":"value","value":""}},"tenant_id":{"initialValue":{"type":"value","value":""}},"auth_method":{"initialValue":{"type":"value","value":""}},"email_valid":{"initialValue":{"type":"value","value":false}}},"workflows":{},"attributes":{}},"components":[{"apis":{},"name":"simple input","nodes":{"root":{"tag":"label","type":"element","attrs":{},"style":{"gap":".4rem","color":"var(--grey-600, #525252)","width":"100%","display":"flex","font-size":"0.825rem","margin-top":"8px","font-weight":"400","flex-direction":"column"},"events":{},"classes":{},"children":["ZHzT_VhuS1Yj8Q_75dV6D","iahp_VNG9BaG4eBxhHqRV"],"styleVariables":{}},"ZHzT_VhuS1Yj8Q_75dV6D":{"type":"text","value":{"path":["Attributes","label"],"type":"path"},"condition":{"name":"@toddle/greaterThan","type":"function","label":null,"arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","label":null,"arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Attributes","label"],"type":"path","label":null}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}},"iahp_VNG9BaG4eBxhHqRV":{"tag":"input","type":"element","attrs":{"type":{"path":["Attributes","type"],"type":"path"},"value":{"path":["Attributes","value"],"type":"path"},"required":{"path":["Attributes","required"],"type":"path"},"autofocus":{"type":"value","value":true},"placeholder":{"path":["Attributes","placeholder"],"type":"path"}},"style":{"color":"#00000","width":"100%","font-size":"1rem","align-items":"start","padding-top":".5rem","border-color":"var(--grey-500, #737373)","border-style":"solid","border-width":"1px","padding-left":".5rem","border-radius":"6px","padding-right":".5rem","padding-bottom":".5rem","justify-content":"center","background-color":"#fff"},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"value"},{"data":{"path":["Variables","value"],"type":"path"},"type":"TriggerEvent","event":"input"}],"trigger":"input"}},"classes":{},"children":[],"variants":[{"focus":true,"style":{"outline-color":"#2463ebff","outline-style":"solid","outline-width":"1px"}}],"styleVariables":{}}},"events":[{"name":"input","dummyEvent":"input"}],"variables":{"value":{"initialValue":{"type":"value","value":""}}},"workflows":{},"attributes":{"type":{"name":"type"},"label":{"name":"label"},"value":{"name":"value"},"required":{"name":"required"},"placeholder":{"name":"placeholder"}}},{"apis":{},"name":"my button","nodes":{"root":{"tag":"button","type":"element","attrs":{"type":{"path":["Attributes","type"],"type":"path"},"popovertarget":{"path":["Attributes","popovertarget"],"type":"path"}},"style":{"gap":"0.6rem","color":"#ffffff","width":"fit-content","font-size":"1rem","object-fit":null,"transition":"all 300ms ease 0ms normal","align-items":"center","font-weight":"var(--font-weight-semi-bold)","padding-top":"0.6rem","padding-left":"1.4rem","border-radius":"0.6rem","padding-right":"1.4rem","flex-direction":"row","padding-bottom":"0.6rem","justify-content":"center","background-color":"var(--blue-600, #2563EB)"},"events":{"click":{"actions":[{"type":"Switch","cases":[{"actions":[],"condition":{"name":"@toddle/equals","type":"function","label":"disabled","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","disabled"],"type":"path","label":null}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":true}}],"display_name":"Equals"}}],"default":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"TriggerEvent","event":"onClick"}]}}],"trigger":"click"}},"classes":{"small":{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"small"}}],"display_name":"Equals"}},"active":{"formula":{"path":["Attributes","active"],"type":"path"}},"circle":{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","shape"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"circle"}}],"display_name":"Equals"}},"outline":{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","style"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"outline"}}],"display_name":"Equals"}},"disabled":{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","disabled"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":true}}],"display_name":"Equals"}},"transparent":{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","style"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"transparent"}}],"display_name":"Equals"}}},"children":["LJmWmbwYfKa2jdOiDTRME","_zuYJfI8JhPInWjnW80l5","z_8lPoUX57Mt7Op0wI6NU"],"variants":[{"style":{"gap":"0.5rem","font-size":".875rem","padding-top":"0.5rem","padding-left":"0.8rem","padding-right":"0.8rem","flex-direction":"row","padding-bottom":"0.5rem"},"className":"small"},{"style":{"color":"var(--grey-900, #171717)","border-color":"var(--grey-300, #D4D4D4)","border-style":"solid","border-width":"1px","background-color":"#ffffff"},"className":"outline"},{"hover":true,"style":{"cursor":"pointer","background-color":"var(--blue-500, #3B82F6)"}},{"hover":true,"style":{"background-color":"var(--blue-100, #DBEAFE)"},"className":"outline"},{"style":{"padding-top":".5rem","padding-left":".5rem","border-radius":"50%","padding-right":".5rem","padding-bottom":".5rem"},"className":"circle"},{"style":{"color":"var(--grey-400, #A3A3A3)","border-color":"var(--grey-400, #A3A3A3)","border-style":"solid","border-width":"1px","background-color":"var(--grey-200, #E5E5E5)"},"className":"disabled"},{"hover":true,"style":{"cursor":"not-allowed","background-color":"var(--grey-200, #E5E5E5)"},"className":"disabled"},{"style":{"background-color":"var(--blue-200, #BFDBFE)"},"className":"active"},{"style":{"color":"var(--grey-800, #262626)","background-color":"#00000000"},"className":"transparent"},{"hover":true,"style":{"background-color":"var(--blue-100, #DBEAFE)"},"className":"transparent"}],"styleVariables":{}},"LJmWmbwYfKa2jdOiDTRME":{"name":"icon-left","type":"slot","children":[]},"_zuYJfI8JhPInWjnW80l5":{"type":"text","value":{"path":["Attributes","label"],"type":"path"},"condition":{"name":"@toddle/greaterThan","type":"function","label":null,"arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","label":null,"arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Attributes","label"],"type":"path","label":null}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}},"z_8lPoUX57Mt7Op0wI6NU":{"type":"slot","children":[]}},"events":[{"name":"onClick","dummyEvent":{"name":"Name"}}],"onLoad":null,"formulas":{},"variables":{},"attributes":{"size":{"name":"size"},"type":{"name":"type"},"label":{"name":"label"},"shape":{"name":"shape"},"style":{"name":"style"},"active":{"name":"active"},"disabled":{"name":"disabled"},"popovertarget":{"name":"popovertarget"}}},{"apis":{},"name":"container-large","nodes":{"root":{"tag":"div","type":"element","attrs":{},"style":{"width":"100%","position":"relative","max-width":"1280px","align-items":"center","margin-left":"auto","margin-right":"auto","justify-content":"start","background-color":"inherit"},"events":{},"classes":{},"children":["7bxABL9SHToyLO72cHJ6E"],"styleVariables":{},"style-variables":[]},"7bxABL9SHToyLO72cHJ6E":{"type":"slot","children":[]}},"events":[],"onLoad":null,"formulas":{},"variables":{},"attributes":{}}],"isPageLoaded":false,"cookies":[]};
window.__toddle.components = [window.__toddle.component, ...window.__toddle.components];
initGlobalObject({formulas: {}, actions: {}});
createRoot(document.getElementById("App"));
</script>
<script defer="" src="https://toddle.dev/_static/components.js"></script>
</head>
<body>
<!-- https://www.cdocs.pro/ -->
<div id="App"><div data-node-id="root" data-id="0" class="eZOxvH"><p data-node-id="c0zr-gFyT426duUMiPjte" data-id="0.0" class="cOIHbn"><span data-node-id="_EGYDiLJ4PH4460kvdarx" data-id="0.0.0" data-node-type="text">A CDocs document library</span></p><div data-node-id="root" data-id="0.1" class="jdUrs login:Ue4vevN0pV4xo1wQEnaGK"><div data-node-id="qSKTQNE2OI8ubOSHAPNlw" data-id="0.1.0[default]" class="cxtbhs"><h1 data-node-id="ItXq17xPMzFZdLGXw83_R" data-id="0.1.0[default].0" class="bDYjpP"><span data-node-id="pth53glnV60ACn_G4P23F" data-id="0.1.0[default].0.0" data-node-type="text">Welcome to CDocs</span></h1></div><form data-node-id="2wZBRIdfotpBE5GY2Rodn" data-id="0.1.1[default]" class="feHhjl"><div data-node-id="uXlPeEIHaOrsbneQonK8F" data-id="0.1.1[default].0" class="bbIuEC"><p data-node-id="tUmR2FDxlHO4dappK8mnu" data-id="0.1.1[default].0.0" class="faIvHk"><span data-node-id="ARyezw7Q3GeBpZNAwpkyM" data-id="0.1.1[default].0.0.0" data-node-type="text">Log in</span></p><label data-node-id="root" data-id="0.1.1[default].0.1" class="dseDBZ login:JX4eP60NfnxnPR6sQmCRC"><span data-node-id="ZHzT_VhuS1Yj8Q_75dV6D" data-id="0.1.1[default].0.1.0" data-component="simple input" data-node-type="text">Email</span><input data-node-id="iahp_VNG9BaG4eBxhHqRV" data-id="0.1.1[default].0.1.1" data-component="simple input" class="fFJNGl" type="email" required="true" autofocus="true" placeholder="email"></label></div><div data-node-id="cWYWazR68aS2sSozzWuG7" data-id="0.1.1[default].1" class="bzGpvc"><button data-node-id="root" data-id="0.1.1[default].1.0" class="dpyTKr login:Szqy7Cp4kjMbk77yEwUUU" type="submit"><span data-node-id="_zuYJfI8JhPInWjnW80l5" data-id="0.1.1[default].1.0.1" data-component="my button" data-node-type="text">Next</span><svg data-node-id="nFx0rKhlRWrTBbjHllpbX" data-id="0.1.1[default].1.0.0[default]" class="ftaNwg" fill="none" width="24" xmlns="http://www.w3.org/2000/svg" height="24" stroke="currentColor" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path data-node-id="bZHHDigqtyanYWT7lo7sb" data-id="0.1.1[default].1.0.0[default].0" class="ftaNwg" d="M0 0h24v24H0z" fill="none" stroke="none"></path><path data-node-id="SS2CLEwTu86TxrB82Ue_1" data-id="0.1.1[default].1.0.0[default].1" class="ftaNwg" d="M10 18l6 -6l-6 -6v12"></path></svg></button></div></form></div></div></div>
</body></html>