{"project":"lotuscustomerportal","branch":"main","commit":"785ba284933214cb64c68c26d66c980974ea4f64","component":{"key":"Login","apis":{"OTP":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Variables","Email"],"type":"path"}},{"Name":0,"name":"otp","formula":{"path":["Variables","OTP"],"type":"path"}}]},"name":"OTP","path":{"Qb3RNm":{"index":1,"formula":{"type":"value","value":"customer"}},"067daea7-cada-45fb-9525-829984b686a5":{"index":3,"formula":{"type":"value","value":"verify-otp"}},"a6fa2b17-ac89-4f66-be74-99a0af199630":{"index":0,"formula":{"type":"value","value":"api"}},"de699b28-f579-487b-9e89-2f73035e354e":{"index":2,"formula":{"type":"value","value":"login"}}},"type":"http","client":{"onCompleted":{"actions":[],"trigger":"Completed"}},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"X-Tenant":{"name":"X-Tenant","enabled":{"type":"value","value":true},"formula":{"type":"value","value":"lotus_healths-KGHFAGDH"}},"Content-Type":{"enabled":{"type":"value","value":true},"formula":{"type":"value","value":"application/json"}}},"isError":{},"timeout":{},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]},"Login":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Variables","Email"],"type":"path"}}]},"name":"Login","path":{"gEKzZY":{"index":1,"formula":{"type":"value","value":"customer"}},"6eac3571-87a0-468d-a7eb-744a67bf75b4":{"index":3,"formula":{"type":"value","value":"send-otp"}},"c936c7fa-1962-4265-ac7f-ee1cbecd64c4":{"index":2,"formula":{"type":"value","value":"login"}},"c9eb32ef-02d8-42af-a7a8-bb50869880c7":{"index":0,"formula":{"type":"value","value":"api"}}},"type":"http","client":{"debounce":null,"parserMode":"auto","onCompleted":{"actions":[],"trigger":"Success"}},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":null},"headers":{"X-Tenant":{"name":"X-Tenant","enabled":{"type":"value","value":true},"formula":{"type":"value","value":"lotus_healths-KGHFAGDH"}},"Content-type":{"formula":{"type":"value","value":"application/json"}},"Authorization":{"name":"Authorization","enabled":{"type":"value","value":true},"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"formula":{"type":"value","value":"Bearer "}},{"formula":{"path":["Apis","OTP","data","data","token"],"type":"path"}}],"display_name":"Concatenate"}}},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":["OTP"]},"Request Login OTP Via SMS":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Variables","Email"],"type":"path"}}]},"name":"Request Login OTP Via SMS","path":{"ARqUxk":{"index":3,"formula":{"type":"value","value":"send-otp-phone"}},"b55LqX":{"index":2,"formula":{"type":"value","value":"login"}},"e7d1f9e7-f6d5-45f3-99c6-a4af28c3b431":{"index":0,"formula":{"type":"value","value":"api"}},"ffd1e3cd-e7d2-4aec-8a14-fbdffb40e718":{"index":1,"formula":{"type":"value","value":"customer"}}},"type":"http","client":{},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"X-Tenant":{"name":"X-Tenant","enabled":{"type":"value","value":true},"formula":{"type":"value","value":"lotus_healths-KGHFAGDH"}},"Content-Type":{"enabled":{"type":"value","value":true},"formula":{"type":"value","value":"application/json"}}},"isError":{},"timeout":{},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]}},"name":"Login","nodes":{"root":{"tag":"div","type":"element","classes":{"page-wrapper":{"formula":{"type":"value","value":true}},"ckLmaT":{"formula":{"type":"value","value":true}}},"children":["QBgBe5Hcm6VqJ_mbja4kA","iXmkp01Xu6RDbkeQqB2jr","Rs4Jh-_vS8hyFSWx49_Mp","LI5xJrBnjFcl4tQmEamcI"],"customProperties":{}},"-lkbZVszyerqZgBVwd52v":{"type":"text","value":{"type":"value","value":".loader {\n    border: 3px solid #033038;\n    border-bottom-color: transparent;\n    border-radius: 50%;\n    display: inline-block;\n    box-sizing: border-box;\n    animation: rotation 1s linear infinite;\n    }\n\n    @keyframes rotation {\n    0% {\n        transform: rotate(0deg);\n    }\n    100% {\n        transform: rotate(360deg);\n    }\n    } "}},"0mSCRqCLeL_LSYijpd2EZ":{"type":"text","value":{"type":"switch","cases":[{"formula":{"type":"switch","cases":[{"formula":{"type":"value","value":"Resend OTP via SMS"},"condition":{"name":"@toddle/lessOrEqual","type":"function","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Less or equal"}}],"default":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"  seconds"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":" to "}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/string","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"type":"value","value":"Resend OTP via SMS"}}],"display_name":"String"}}],"display_name":"Concatenate","variableArguments":true}},"condition":{"type":"and","arguments":[{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","otp_sent_count"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":2}}],"display_name":"Equals"}}]}}],"default":{"type":"switch","cases":[{"formula":{"type":"value","value":"Resend OTP"},"condition":{"name":"@toddle/lessOrEqual","type":"function","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Less or equal"}}],"default":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"  seconds"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":" to "}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"Resend OTP "}}],"display_name":"Concatenate","variableArguments":true}}},"events":null},"0wxPmZ2LZ-t-jT98CmSKJ":{"type":"text","value":{"type":"value","value":"Request OTP"},"events":null},"17dsnHPUmp7zTRhdL-guJ":{"tag":"a","type":"element","events":{"click":{"actions":[{"type":"Switch","cases":[{"actions":[],"condition":{"path":["Variables","isCounting"],"type":"path"}}],"default":{"actions":[{"type":"Switch","cases":[{"actions":[{"api":"Request Login OTP Via SMS","type":"Fetch","inputs":{},"onError":{"actions":[{"type":"TriggerWorkflow","workflow":"Dsow_8","parameters":{"message":{"formula":{"path":["Apis","Request Login OTP Via SMS","error","message"],"type":"path"}}}}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"type":"TriggerWorkflow","workflow":"_tJa4z","parameters":{"message":{"formula":{"type":"value","value":"OTP Sent Successfully"}}}},{"type":"TriggerWorkflow","workflow":"lF-btD"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"WLfR_U"}],"condition":{"type":"and","label":"Should start countdown","arguments":[{"formula":{"name":"@toddle/greaterThan","type":"function","label":"Should start countdown","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}]}}],"default":{"actions":[]}}],"trigger":"onSuccess"}}],"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","otp_sent_count"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":2}}],"display_name":"Equals"}}],"default":{"actions":[{"api":"Login","type":"Fetch","inputs":{},"onError":{"actions":[{"type":"TriggerWorkflow","workflow":"Dsow_8","parameters":{"message":{"formula":{"path":["Apis","Login","error","message"],"type":"path"}}}}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"type":"TriggerWorkflow","workflow":"_tJa4z","parameters":{"message":{"type":"value","formula":{"path":["Apis","Login","data","message"],"type":"path"}}}},{"type":"TriggerWorkflow","workflow":"lF-btD"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"WLfR_U"}],"condition":{"type":"and","label":"Should start countdown","arguments":[{"formula":{"name":"@toddle/greaterThan","type":"function","label":"Should start countdown","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}]}}],"default":{"actions":[]}}],"trigger":"onSuccess"}},{"data":{"name":"@toddle/add","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"path":["Variables","otp_sent_count"],"type":"path"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Add","variableArguments":true},"type":"SetVariable","variable":"otp_sent_count"}]}}]}}],"trigger":"click"}},"classes":{"disabled":{"formula":{"path":["Variables","isCounting"],"type":"path"}},"RmyYi":{"formula":{"type":"value","value":true}}},"children":["0mSCRqCLeL_LSYijpd2EZ"],"customProperties":{}},"5QHEXiiSFVpTi88Fk94iY":{"tag":"button","type":"element","children":["i6wpEXpckYURyydVITqcA","xqrYiZMCo3TG9d3weITZD"],"classes":{"cCxWkl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8ERLlswKVOVHXDQsQ3HZK":{"type":"text","value":{"type":"value","value":"Login"},"events":null},"8puswZ9N28MAwPx9Chht-":{"tag":"input","type":"element","attrs":{"type":{"type":"value","value":"text"},"value":{"path":["Variables","OTP"],"type":"path"},"maxlength":{"type":"value","value":5},"onkeypress":{"type":"value","value":"return event.charCode >= 48 && event.charCode <= 57"},"placeholder":{"type":"value","value":"Enter one time password"}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"OTP"}],"trigger":"input"}},"classes":{"cNDcau":{"formula":{"type":"value","value":true}}},"customProperties":{}},"9e9o6maQ0Zc0pl4f5QwTM":{"tag":"button","type":"element","children":["gQ_QTdYy5eeM2aUJSHG48","WLitMSg3TlKjMXpo8eLQt"],"classes":{"cLZpDs":{"formula":{"type":"value","value":true}}},"customProperties":{}},"9jqaHj7CqdomXZpzGJo8u":{"tag":"div","type":"element","children":["UCEeVIBMgmvn_yrfTYSKJ","8puswZ9N28MAwPx9Chht-","mfrXTFHPUcr9nVPwZuRZ7"],"customProperties":{}},"DW6Ay9w_zfPaSaemHrIIR":{"tag":"input","type":"element","attrs":{"type":{"type":"value","value":"email"},"value":{"path":["Variables","Email"],"type":"path"},"placeholder":{"type":"value","value":"Enter your email ID"}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"Email"}],"trigger":"input"}},"classes":{"cPtqKZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"EZ4GHtWZqmyhBCbmlS4uT":{"type":"text","value":{"type":"value","value":"Log In"},"events":null},"HphJME-GuzL6GUbrMxaeR":{"tag":"div","type":"element","children":["zws3jkNXe5X6IvruxtQRG"],"classes":{"bsoBDd":{"formula":{"type":"value","value":true}}},"customProperties":{}},"KF3lWvEADuBtCcmVNy_s-":{"type":"text","value":{"type":"value","value":"We have sent you an email with an access code to your email address."},"events":null},"LI5xJrBnjFcl4tQmEamcI":{"name":"Notification","type":"component","attrs":{"message":{"path":["Variables","message"],"type":"path","label":null},"notification_error":{"path":["Variables","notificationError"],"type":"path","label":null},"notification_success":{"path":["Variables","notificationSuccess"],"type":"path","label":null}},"customProperties":{}},"Mtm6eB42sUCTC-RLphjH3":{"tag":"h2","type":"element","children":["8ERLlswKVOVHXDQsQ3HZK"],"classes":{"wPXRa":{"formula":{"type":"value","value":true}}},"customProperties":{}},"PDDz-ke6BRpPz79pOhIfa":{"tag":"label","type":"element","children":["zXGBbp7kHv5qTrCvRJd36"],"classes":{"fwMHjj":{"formula":{"type":"value","value":true}}},"customProperties":{}},"QBgBe5Hcm6VqJ_mbja4kA":{"name":"Header","type":"component","classes":{},"customProperties":{}},"QEqo3bWn2BGQsWNim5NX2":{"tag":"div","type":"element","children":["ukmNBzG2OA3NwKTrdStYp","mHnaG2lnnCFaA-W8nHiIq","grK9actoqpZsSii_4NJxU"],"classes":{"emDxqF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"QrBUvlQ0fRugpBRoUyN2G":{"type":"text","value":{"type":"value","value":".loader {\n    border: 3px solid #033038;\n    border-bottom-color: transparent;\n    border-radius: 50%;\n    display: inline-block;\n    box-sizing: border-box;\n    animation: rotation 1s linear infinite;\n    }\n\n    @keyframes rotation {\n    0% {\n        transform: rotate(0deg);\n    }\n    100% {\n        transform: rotate(360deg);\n    }\n    } "}},"Rs4Jh-_vS8hyFSWx49_Mp":{"tag":"div","type":"element","children":["l3oGCpQ-qgbF-9g4rd2uS","QEqo3bWn2BGQsWNim5NX2"],"condition":{"path":["Variables","showHideOTP"],"type":"path","label":null},"classes":{"eRWJUp":{"formula":{"type":"value","value":true}}},"customProperties":{}},"UCEeVIBMgmvn_yrfTYSKJ":{"tag":"label","type":"element","children":["g6aHYGVW-hg5wgJVvcwYc"],"classes":{"eTjnIu":{"formula":{"type":"value","value":true}}},"customProperties":{}},"WLitMSg3TlKjMXpo8eLQt":{"tag":"span","type":"element","classes":{"loader":{},"zPCpS":{"formula":{"type":"value","value":true}}},"children":["v0zvirIZSqKMztsYLoRUR"],"condition":{"path":["Apis","Login","isLoading"],"type":"path","label":null},"customProperties":{}},"X7O2XRuQ5SFXD1acV1RVV":{"tag":"div","type":"element","children":["PDDz-ke6BRpPz79pOhIfa","DW6Ay9w_zfPaSaemHrIIR"],"classes":{"dzeZvG":{"formula":{"type":"value","value":true}}},"customProperties":{}},"eOIbjOvxta5agrYFQ97nS":{"tag":"form","type":"element","events":{"submit":{"actions":[{"name":"@toddle/preventDefault"},{"api":"OTP","type":"Fetch","inputs":{},"onError":{"actions":[{"type":"TriggerWorkflow","workflow":"Dsow_8","parameters":{"message":{"formula":{"type":"value","value":"Invalid / Expired OTP"}}}}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"name":"@toddle/setHttpOnlyCookie","events":{"Error":{"actions":[],"description":"This event is triggered if the cookie could not be saved."},"Success":{"actions":[{"name":"@toddle/gotToURL","arguments":[{"name":"URL","formula":{"path":["Apis","OTP","data","shopify_multipass_url"],"type":"path"}}]}],"trigger":"Success","description":"This event is triggered once the cookie has been saved."}},"arguments":[{"name":"Name","formula":{"type":"value","value":"access_token"}},{"name":"Value","formula":{"path":["Apis","OTP","data","token"],"type":"path"}},{"name":"Expires in","formula":{"type":"value","value":86000}},{"name":"SameSite","formula":{"type":"value","value":null}},{"name":"Path","formula":{"type":"value","value":null}},{"name":"Include Subdomains","formula":{"type":"value","value":null}}]},{"type":"TriggerWorkflow","workflow":"_tJa4z","parameters":{"message":{"type":"value","formula":{"type":"value","value":"Successfully Logged In"}}}}],"trigger":"onSuccess"}}],"trigger":"submit"}},"children":["9jqaHj7CqdomXZpzGJo8u","5QHEXiiSFVpTi88Fk94iY"],"classes":{"MqBcO":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ePnwIcnI8qERk6Y_qMCaK":{"type":"text","value":{"type":"value","value":"One Time Password"},"events":null},"g6aHYGVW-hg5wgJVvcwYc":{"type":"text","value":{"type":"value","value":"OTP"},"events":null},"gQ_QTdYy5eeM2aUJSHG48":{"tag":"div","type":"element","children":["0wxPmZ2LZ-t-jT98CmSKJ"],"condition":{"name":"@toddle/not","type":"function","label":null,"arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Apis","Login","isLoading"],"type":"path"}}],"display_name":"Not"},"customProperties":{}},"grK9actoqpZsSii_4NJxU":{"tag":"div","type":"element","children":["eOIbjOvxta5agrYFQ97nS"],"classes":{"bsoBDd":{"formula":{"type":"value","value":true}}},"customProperties":{}},"i6wpEXpckYURyydVITqcA":{"tag":"div","type":"element","children":["EZ4GHtWZqmyhBCbmlS4uT"],"condition":{"name":"@toddle/not","type":"function","label":null,"arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Apis","OTP","isLoading"],"type":"path","label":null}}],"display_name":"Not"},"customProperties":{}},"iVEQVDcrNx0Vf8paYQXt_":{"tag":"style","type":"element","children":["-lkbZVszyerqZgBVwd52v"],"classes":{"dkNCxK":{"formula":{"type":"value","value":true}}},"customProperties":{}},"iXmkp01Xu6RDbkeQqB2jr":{"tag":"div","type":"element","children":["n4rLKg4lGMSSsLNKTom99","HphJME-GuzL6GUbrMxaeR"],"classes":{"cWJbmr":{"formula":{"type":"value","value":true}}},"customProperties":{}},"l3oGCpQ-qgbF-9g4rd2uS":{"tag":"div","type":"element","events":{"click":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"showHideOTP"},{"data":{"type":"value","value":-1},"type":"SetVariable","variable":"timer"},{"data":{"type":"value","value":0},"type":"SetVariable","variable":"otp_sent_count"}],"trigger":"click"}},"classes":{"dlKEMI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"mHnaG2lnnCFaA-W8nHiIq":{"tag":"label","type":"element","children":["KF3lWvEADuBtCcmVNy_s-"],"classes":{"eahcPn":{"formula":{"type":"value","value":true}}},"customProperties":{}},"mfrXTFHPUcr9nVPwZuRZ7":{"tag":"div","type":"element","children":["17dsnHPUmp7zTRhdL-guJ"],"classes":{"dcKcrc":{"formula":{"type":"value","value":true}}},"customProperties":{}},"n4rLKg4lGMSSsLNKTom99":{"tag":"div","type":"element","children":["Mtm6eB42sUCTC-RLphjH3"],"classes":{"chAOKJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ukmNBzG2OA3NwKTrdStYp":{"tag":"h2","type":"element","children":["ePnwIcnI8qERk6Y_qMCaK"],"classes":{"damsAY":{"formula":{"type":"value","value":true}}},"customProperties":{}},"v0zvirIZSqKMztsYLoRUR":{"tag":"style","type":"element","children":["QrBUvlQ0fRugpBRoUyN2G"],"classes":{"dkNCxK":{"formula":{"type":"value","value":true}}},"customProperties":{}},"xqrYiZMCo3TG9d3weITZD":{"tag":"span","type":"element","classes":{"loader":{},"zPCpS":{"formula":{"type":"value","value":true}}},"children":["iVEQVDcrNx0Vf8paYQXt_"],"condition":{"path":["Apis","OTP","isLoading"],"type":"path","label":null},"customProperties":{}},"zXGBbp7kHv5qTrCvRJd36":{"type":"text","value":{"type":"value","value":"Email\n"},"events":null},"zws3jkNXe5X6IvruxtQRG":{"tag":"form","type":"element","events":{"submit":{"actions":[{"name":"@toddle/preventDefault"},{"api":"Login","type":"Fetch","inputs":{},"onError":{"actions":[{"type":"TriggerWorkflow","workflow":"Dsow_8","parameters":{"message":{"formula":{"path":["Apis","Login","error","message"],"type":"path"}}}}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"type":"TriggerWorkflow","workflow":"_tJa4z","parameters":{"message":{"formula":{"path":["Apis","Login","data","message"],"type":"path"}}}},{"data":{"type":"value","value":true},"type":"SetVariable","variable":"showHideOTP"},{"data":{"type":"value","value":30},"type":"SetVariable","variable":"timer"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"WLfR_U"}],"condition":{"name":"@toddle/greaterThan","type":"function","label":"Should start countdown","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}],"default":{"actions":[]}}],"trigger":"onSuccess"}}],"trigger":"submit"}},"children":["X7O2XRuQ5SFXD1acV1RVV","9e9o6maQ0Zc0pl4f5QwTM"],"classes":{"MqBcO":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"route":{"info":{"meta":{"0NFhOREzutmvo0nyxQQbb":{"tag":"script","attrs":{},"content":{"type":"value","value":"https://cdn.zipy.ai/sdk/v1.0/zipy.min.umd.js\" crossorigin=\"anonymous\"></script> <script> window.zipy && window.zipy.init('d64c33a7');"}}}},"path":[{"name":"login","type":"static"}],"query":{}},"onLoad":{"actions":[{"name":"userSnap","version":2}],"trigger":"Load"},"variables":{"OTP":{"initialValue":{"type":"value","value":""}},"Email":{"initialValue":{"type":"value","value":""}},"phone":{"initialValue":{"type":"value","value":""}},"timer":{"initialValue":{"type":"value","value":30}},"message":{"initialValue":{"type":"value","value":""}},"password":{"initialValue":{"type":"value","value":""}},"isCounting":{"initialValue":{"type":"value","value":false}},"showHideOTP":{"initialValue":{"type":"value","value":false}},"otp_sent_count":{"initialValue":{"type":"value","value":0}},"notificationError":{"initialValue":{"type":"value","value":false}},"notificationSuccess":{"initialValue":{"type":"value","value":false}}},"workflows":{"Dsow_8":{"name":"Notification Error","actions":[{"data":{"type":"value","value":true},"type":"SetVariable","variable":"notificationError"},{"data":{"path":["Parameters","message"],"type":"path"},"type":"SetVariable","variable":"message"},{"name":"@toddle/sleep","events":{"tick":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"notificationError"}],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":3000}}]}],"parameters":[{"name":"message"}],"exposeInContext":true},"WLfR_U":{"name":"countDown","actions":[{"data":{"type":"value","value":true},"type":"SetVariable","variable":"isCounting"},{"type":"Switch","cases":[{"actions":[{"data":{"name":"@toddle/minus","type":"function","arguments":[{"name":"Minuend","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Substrahend","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Minus"},"type":"SetVariable","variable":"timer"},{"name":"@toddle/sleep","events":{"tick":{"actions":[{"type":"TriggerWorkflow","workflow":"WLfR_U"}],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":1000}}]}],"condition":{"name":"@toddle/greaterThan","type":"function","label":"Should keep on counting","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}],"default":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"isCounting"},{"data":{"type":"value","value":-1},"type":"SetVariable","variable":"timer"}]}}],"exposeInContext":false,"parameters":[]},"_tJa4z":{"name":"Notification Success","actions":[{"data":{"type":"value","value":true},"type":"SetVariable","variable":"notificationSuccess"},{"data":{"path":["Parameters","message"],"type":"path"},"type":"SetVariable","variable":"message"},{"name":"@toddle/sleep","events":{"tick":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"notificationSuccess"}],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":3000}}]}],"parameters":[{"name":"message"}],"exposeInContext":true},"lF-btD":{"name":"reset","actions":[{"data":{"type":"value","value":30},"type":"SetVariable","variable":"timer"}],"exposeInContext":false,"parameters":[]}}},"components":[{"name":"Notification","nodes":{"root":{"tag":"div","type":"element","children":["E8rK8PTFmpWPx7ylrxofL","PUe2ZKToYjGkr_McSuXEH"],"classes":{"cSuPGp":{"formula":{"type":"value","value":true}}},"customProperties":{}},"CZzXfwF_b4n6Ps85LSLBn":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":"18"},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":"18"},"viewBox":{"type":"value","value":"0 0 18 18"}},"children":["NMtM67empye4BqSqY6uCw","Gl7TvGFKmxceTXpB9N4PV"],"customProperties":{}},"E8rK8PTFmpWPx7ylrxofL":{"tag":"div","type":"element","classes":{"notificationError":{"formula":{"path":["Attributes","notification_error"],"type":"path"}},"bgQjMO":{"formula":{"type":"value","value":true}}},"children":["PTjIDNCgAkILJyG-KSMoe","aAE7pItPQJziYtsBKommE"],"customProperties":{}},"Gl7TvGFKmxceTXpB9N4PV":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M7.93508 11.6852C7.78508 11.6852 7.64258 11.6252 7.53758 11.5202L5.41508 9.3977C5.19758 9.1802 5.19758 8.8202 5.41508 8.6027C5.63258 8.3852 5.99258 8.3852 6.21008 8.6027L7.93508 10.3277L11.7901 6.4727C12.0076 6.2552 12.3676 6.2552 12.5851 6.4727C12.8026 6.6902 12.8026 7.05019 12.5851 7.26769L8.33258 11.5202C8.22758 11.6252 8.08508 11.6852 7.93508 11.6852Z"},"fill":{"type":"value","value":"#377300"}},"customProperties":{}},"NMtM67empye4BqSqY6uCw":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M9 17.0625C4.5525 17.0625 0.9375 13.4475 0.9375 9C0.9375 4.5525 4.5525 0.9375 9 0.9375C13.4475 0.9375 17.0625 4.5525 17.0625 9C17.0625 13.4475 13.4475 17.0625 9 17.0625ZM9 2.0625C5.175 2.0625 2.0625 5.175 2.0625 9C2.0625 12.825 5.175 15.9375 9 15.9375C12.825 15.9375 15.9375 12.825 15.9375 9C15.9375 5.175 12.825 2.0625 9 2.0625Z"},"fill":{"type":"value","value":"#377300"}},"customProperties":{}},"OInmWSbyWNVPIwjSZ9eHD":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5Z"},"stroke":{"type":"value","value":"#AC0006"},"stroke-width":{"type":"value","value":"1.02539"},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"customProperties":{}},"PTjIDNCgAkILJyG-KSMoe":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":"18"},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":"18"},"viewBox":{"type":"value","value":"0 0 18 18"}},"children":["OInmWSbyWNVPIwjSZ9eHD","QGpyO-9n-dGAQwuRE9dHq","qe3-RNY3kOR0dKdswzuV7"],"customProperties":{}},"PUe2ZKToYjGkr_McSuXEH":{"tag":"div","type":"element","classes":{"notificationSuccess":{"formula":{"path":["Attributes","notification_success"],"type":"path"}},"fvYdp":{"formula":{"type":"value","value":true}}},"children":["CZzXfwF_b4n6Ps85LSLBn","RFhRBnjfTPwykDeFGKfDF"],"customProperties":{}},"QGpyO-9n-dGAQwuRE9dHq":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M9 6V9.75"},"stroke":{"type":"value","value":"#AC0006"},"stroke-width":{"type":"value","value":"1.02539"},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"customProperties":{}},"Qp9V_qg1LcEdY6MGN2xXU":{"type":"text","value":{"path":["Attributes","message"],"type":"path"}},"RFhRBnjfTPwykDeFGKfDF":{"tag":"div","type":"element","children":["Qp9V_qg1LcEdY6MGN2xXU"],"classes":{"cPUSrO":{"formula":{"type":"value","value":true}}},"customProperties":{}},"aAE7pItPQJziYtsBKommE":{"tag":"div","type":"element","children":["bKWX_-UtQQwjLkPmIkLkD"],"classes":{"cPUSrO":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bKWX_-UtQQwjLkPmIkLkD":{"type":"text","value":{"path":["Attributes","message"],"type":"path"}},"qe3-RNY3kOR0dKdswzuV7":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M8.99561 12H9.00234"},"stroke":{"type":"value","value":"#AC0006"},"stroke-width":{"type":"value","value":"1.36719"},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"customProperties":{}}},"workflows":{"HJ0zAQ":{"name":"Untitled","actions":[],"exposeInContext":false,"parameters":[]}},"attributes":{"message":{"name":"message"},"notification_error":{"name":"notification_error"},"notification_success":{"name":"notification_success"}}},{"name":"Header","nodes":{"root":{"tag":"header","type":"element","children":["0QE4cJuHT0-nsDfqH4DXJ"],"classes":{"CXsVd":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-0d6goyJ848hFSnHpCoNM":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M88.7026 22.0024H85.9291V18.1991H87.1177C87.8037 18.1991 88.3395 18.0071 88.7218 17.6248C89.104 17.2426 89.296 16.7068 89.296 16.0208V13.4463H93.2965V17.8046H97.2587V22.0041H93.2965V29.4519C93.2965 30.2443 93.5269 30.8709 93.9895 31.3334C94.452 31.796 95.0786 32.0264 95.871 32.0264C96.2673 32.0264 96.6635 31.9601 97.0597 31.8291V35.8297C96.3196 36.0932 95.5796 36.2259 94.8412 36.2259C93.9423 36.2259 93.1185 36.074 92.3645 35.7703C91.6122 35.4666 90.9646 35.025 90.4236 34.4438C89.8825 33.8626 89.4601 33.1696 89.1564 32.3633C88.8527 31.5586 88.7008 30.6667 88.7008 29.6893V22.0041L88.7026 22.0024Z"},"fill":{"type":"value","value":"#122B50"}},"customProperties":{}},"0QE4cJuHT0-nsDfqH4DXJ":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":"140"},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":"48"},"viewBox":{"type":"value","value":"0 0 140 48"}},"children":["9-Gc3BwoHVA2nj_A3M0zI","he_lxV3TKlMCJRCBghysz","cciLMXFxXYBqf7OEzfLJC","sW83Jf44Vx-dhg3cPBgUe","wVOacum9zyZQiQgbNkGBB","UD_T31g8eq1GpwE7VwOtq","QRXDpbzTkrvVz2_qJwNTG","pWWs6C4nMjNVPn_T77kId","-0d6goyJ848hFSnHpCoNM","powC596zImQ7V43VLMDQG","1DD_NBl1IfX6iihLg19BT"],"customProperties":{}},"1DD_NBl1IfX6iihLg19BT":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M119.878 30.26C119.982 30.8744 120.274 31.3876 120.749 31.8012C121.223 32.2149 121.845 32.4209 122.611 32.4209C123.377 32.4209 123.964 32.2271 124.452 31.8414C124.941 31.4539 125.186 30.9948 125.186 30.4607C125.186 30.0349 124.953 29.6997 124.493 29.4606C124.03 29.2197 123.456 29.0016 122.77 28.8008C122.082 28.6001 121.337 28.3959 120.532 28.1847C119.726 27.9735 118.981 27.6646 118.295 27.2579C117.607 26.8494 117.033 26.3241 116.572 25.6783C116.109 25.0325 115.879 24.1842 115.879 23.1317C115.879 22.3951 116.031 21.69 116.334 21.0197C116.638 20.3495 117.08 19.763 117.661 19.2638C118.242 18.7629 118.935 18.3632 119.742 18.0595C120.546 17.7575 121.438 17.6057 122.416 17.6057C123.524 17.6057 124.501 17.7435 125.346 18.0211C126.191 18.2968 126.91 18.6843 127.505 19.1853C128.1 19.6862 128.568 20.2709 128.912 20.9429C129.254 21.6132 129.479 22.3445 129.586 23.1334H125.189C125.083 22.7407 124.8 22.3567 124.337 21.978C123.875 21.5992 123.313 21.4107 122.653 21.4107C121.993 21.4107 121.464 21.5678 121.068 21.8802C120.672 22.1926 120.475 22.6115 120.475 23.1352C120.475 23.5541 120.705 23.8805 121.168 24.1144C121.63 24.35 122.204 24.5647 122.89 24.7602C123.576 24.9557 124.323 25.1669 125.128 25.392C125.933 25.6172 126.68 25.9418 127.366 26.366C128.052 26.7901 128.626 27.3399 129.088 28.0154C129.551 28.6909 129.781 29.5723 129.781 30.6597C129.781 31.4015 129.622 32.1102 129.306 32.7856C128.989 33.4611 128.54 34.0511 127.959 34.5555C127.378 35.0599 126.671 35.4631 125.84 35.7686C125.008 36.0723 124.063 36.2259 123.007 36.2259C121.819 36.2259 120.775 36.0793 119.878 35.7895C118.979 35.498 118.22 35.0931 117.6 34.5765C116.979 34.0598 116.497 33.4367 116.155 32.7071C115.811 31.9775 115.586 31.1624 115.481 30.2618H119.878V30.26Z"},"fill":{"type":"value","value":"#122B50"}},"customProperties":{}},"9-Gc3BwoHVA2nj_A3M0zI":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M34.6003 37.2933C34.0662 37.316 33.7869 36.6649 34.1709 36.2932L39.6027 31.0115C39.6027 31.0115 45.4098 24.8187 51.3163 26.3617C51.6165 26.4402 51.7998 26.7474 51.7317 27.0511C51.2587 29.1456 48.5847 36.6911 34.6003 37.295V37.2933Z"},"fill":{"type":"value","value":"#122B50"}},"customProperties":{}},"QRXDpbzTkrvVz2_qJwNTG":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M59.7458 11.069H64.3416V29.4501C64.3416 30.2426 64.572 30.8692 65.0345 31.3317C65.497 31.7943 66.1236 32.0247 66.9161 32.0247C67.3123 32.0247 67.7085 31.9583 68.1047 31.8274V35.8279C67.3646 36.0915 66.6246 36.2242 65.8863 36.2242C64.9874 36.2242 64.1635 36.0723 63.4095 35.7686C62.6572 35.4649 62.0097 35.0233 61.4686 34.4421C60.9275 33.8608 60.5051 33.1679 60.2014 32.3615C59.8977 31.5569 59.7458 30.665 59.7458 29.6875V11.069Z"},"fill":{"type":"value","value":"#122B50"}},"customProperties":{}},"UD_T31g8eq1GpwE7VwOtq":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M31.0065 15.3689C32.4891 15.3689 33.691 14.1671 33.691 12.6845C33.691 11.2019 32.4891 10 31.0065 10C29.5239 10 28.322 11.2019 28.322 12.6845C28.322 14.1671 29.5239 15.3689 31.0065 15.3689Z"},"fill":{"type":"value","value":"#D95CB3"}},"customProperties":{}},"cciLMXFxXYBqf7OEzfLJC":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M27.1456 37.2933C27.6797 37.316 27.959 36.6649 27.575 36.2931L22.1432 31.0115C22.1432 31.0115 16.3362 24.8169 10.4297 26.3599C10.1294 26.4384 9.94617 26.7456 10.0142 27.0493C10.4873 29.1439 13.1613 36.6893 27.1456 37.2933Z"},"fill":{"type":"value","value":"#122B50"}},"customProperties":{}},"he_lxV3TKlMCJRCBghysz":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M35.7977 27.4892C35.9635 28.6202 36.0874 30.1405 35.9303 31.7219C35.8692 32.3363 36.5971 32.7063 37.0631 32.3014C38.3251 31.2017 40.2555 29.4633 42.2121 27.4927C44.64 25.0474 45.4796 20.6873 44.5109 17.357C44.5109 17.357 39.9326 18.4252 36.7873 23.0768C35.9129 24.3684 35.5725 25.9463 35.7994 27.4892H35.7977Z"},"fill":{"type":"value","value":"#122B50"}},"customProperties":{}},"pWWs6C4nMjNVPn_T77kId":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M73.3132 35.4893C72.217 35.0006 71.2536 34.3339 70.421 33.4891C69.5884 32.6443 68.9287 31.6616 68.4399 30.5375C67.9512 29.4152 67.7068 28.2074 67.7068 26.9123C67.7068 25.6172 67.9512 24.4111 68.4399 23.287C68.9287 22.1647 69.5884 21.182 70.421 20.3355C71.2536 19.4907 72.217 18.824 73.3132 18.3353C74.4093 17.8465 75.577 17.6022 76.8197 17.6022C78.0625 17.6022 79.2354 17.8465 80.3455 18.3353C81.4538 18.824 82.4261 19.4907 83.2569 20.3355C84.0894 21.1803 84.7492 22.1647 85.2379 23.287C85.7267 24.4093 85.971 25.6172 85.971 26.9123C85.971 28.2074 85.7267 29.4152 85.2379 30.5375C84.7492 31.6599 84.0894 32.6443 83.2569 33.4891C82.4243 34.3339 81.4538 35.0006 80.3455 35.4893C79.2372 35.9781 78.0607 36.2224 76.8197 36.2224C75.5787 36.2224 74.4093 35.9781 73.3132 35.4893ZM78.6018 31.4696C79.1569 31.2322 79.6386 30.8954 80.047 30.459C80.4555 30.0226 80.7801 29.5077 81.0175 28.9143C81.2549 28.3209 81.3736 27.6541 81.3736 26.914C81.3736 26.174 81.2549 25.5072 81.0175 24.9138C80.7801 24.3203 80.4555 23.8054 80.047 23.3691C79.6369 22.9327 79.1551 22.5958 78.6018 22.3585C78.0468 22.1211 77.4533 22.0024 76.8197 22.0024C76.1861 22.0024 75.6311 22.1211 75.0761 22.3585C74.521 22.5958 74.0393 22.9327 73.6308 23.3691C73.2207 23.8054 72.8978 24.3203 72.6604 24.9138C72.423 25.5072 72.3043 26.1757 72.3043 26.914C72.3043 27.6524 72.423 28.3209 72.6604 28.9143C72.8978 29.5077 73.2207 30.0226 73.6308 30.459C74.0393 30.8954 74.5227 31.2305 75.0761 31.4696C75.6311 31.707 76.2106 31.8257 76.8197 31.8257C77.4289 31.8257 78.0485 31.707 78.6018 31.4696Z"},"fill":{"type":"value","value":"#122B50"}},"customProperties":{}},"powC596zImQ7V43VLMDQG":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M105.577 36.2224C104.493 36.2224 103.504 36.0444 102.607 35.6883C101.708 35.3323 100.936 34.8174 100.289 34.1436C99.6412 33.4699 99.1402 32.6583 98.7842 31.707C98.4281 30.7557 98.2501 29.6875 98.2501 28.4989V17.8029H102.846V27.9037C102.846 28.4849 102.938 29.0121 103.123 29.4886C103.308 29.9633 103.572 30.3805 103.916 30.7365C104.258 31.0926 104.654 31.3649 105.104 31.5482C105.553 31.7332 106.042 31.8257 106.571 31.8257C107.126 31.8257 107.627 31.7332 108.075 31.5482C108.524 31.3632 108.92 31.0926 109.264 30.7365C109.606 30.3805 109.871 29.9581 110.056 29.4694C110.241 28.9806 110.334 28.4588 110.334 27.9055V17.8047H114.929V36.0269H111.522L110.73 34.2449C110.018 34.8523 109.204 35.334 108.293 35.6901C107.382 36.0461 106.476 36.2242 105.579 36.2242L105.577 36.2224Z"},"fill":{"type":"value","value":"#122B50"}},"customProperties":{}},"sW83Jf44Vx-dhg3cPBgUe":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M26.1629 27.4892C25.9971 28.6202 25.8732 30.1405 26.0303 31.7219C26.0914 32.3363 25.3635 32.7063 24.8975 32.3014C23.6356 31.2017 21.7051 29.4633 19.7485 27.4927C17.3206 25.0474 16.481 20.6873 17.4498 17.357C17.4498 17.357 22.028 18.4252 25.1733 23.0768C26.0477 24.3684 26.3881 25.9463 26.1612 27.4892H26.1629Z"},"fill":{"type":"value","value":"#122B50"}},"customProperties":{}},"wVOacum9zyZQiQgbNkGBB":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M31.0466 16.2015C34.335 16.1247 37.873 14.9518 41.5786 13.2518C41.8735 13.1174 42.1476 13.4769 41.9346 13.723C39.5504 16.4756 36.721 17.5019 35.3701 17.8545C34.8796 17.9819 34.4816 18.3432 34.3123 18.8214C34.2355 19.0414 34.1552 19.2578 34.0715 19.469C33.4204 21.1079 33.3419 22.9302 33.9388 24.5883C35.8291 29.849 32.4465 36.6231 31.0257 36.5148C29.858 36.8552 26.3916 30.0777 28.1597 24.625C28.6886 22.993 28.6868 21.2266 28.0305 19.6435C27.9153 19.3677 27.8071 19.0815 27.7041 18.7883C27.5366 18.31 27.1386 17.9505 26.6464 17.8213C25.2954 17.4687 22.4661 16.4424 20.0818 13.6899C19.8689 13.4455 20.1429 13.0842 20.4379 13.2186C24.1417 14.9152 27.7216 16.1247 31.0082 16.2015"},"fill":{"type":"value","value":"#D95CB3"}},"customProperties":{}}},"variables":{"Untitled":{"initialValue":{"type":"value","value":null}}}}]}