{"project":"promofy","branch":"main","commit":"fbf2ed19243f96c368e2eda63a1fa38c6af3f73e","component":{"apis":{"/auth/me":{"url":{"type":"value","value":"https://xiyx-r8sc-fqhu.n7c.xano.io/api:a-YEoHiw"},"body":null,"name":"/auth/me","path":{"5YHX_vLLH2Rb00nP2TvVA":{"index":0,"formula":{"type":"value","value":"auth"}},"TcO1T8MueJScITu-5ixj6":{"index":1,"formula":{"type":"value","value":"me"}}},"type":"http","client":{"onFailed":{"actions":[{"name":"@toddle/gotToURL","label":"Go to URL","arguments":[{"name":"URL","formula":{"type":"value","value":"/login"}}]}],"trigger":"Error"},"onCompleted":{"actions":[{"name":"@toddle/saveToSessionStorage","label":"Save to session storage","arguments":[{"name":"Key","formula":{"type":"value","value":"user_id"}},{"name":"Value","formula":{"path":["Apis","/auth/me","data","id"],"type":"path"}}]},{"name":"@toddle/saveToSessionStorage","label":"Save to session storage","arguments":[{"name":"Key","formula":{"type":"value","value":"me"}},{"name":"Value","formula":{"path":["Apis","/auth/me","data"],"type":"path"}}]},{"name":"@toddle/gotToURL","label":"Go to URL","arguments":[{"name":"URL","formula":{"path":["Apis","/auth/me","data","homepage"],"type":"path"}}]}],"trigger":"success"}},"inputs":{},"method":"GET","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"Authorization":{"enabled":{"type":"value","value":true},"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"formula":{"type":"value","value":"Bearer "}},{"formula":{"name":"@toddle/getHttpOnlyCookie","type":"function","arguments":[{"formula":{"type":"value","value":"access_token"}}],"display_name":"Get Http-Only Cookie"}}],"display_name":"Concatenate"}}},"isError":{},"timeout":{},"version":2,"autoFetch":{"type":"value","value":true},"queryParams":{},"redirectRules":{},"dependsOn":[]}},"name":"pg_launch","nodes":{"root":{"tag":"div","type":"element","children":["bQW3IbMYlMHshSxj7Aho5"],"classes":{"jhiAg":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bQW3IbMYlMHshSxj7Aho5":{"name":"fullpage_loader","type":"component","attrs":{"user_id":{"type":"value","value":0}},"customProperties":{}}},"route":{"info":{"meta":{"K1dmQbWVlPCez14FZyoUt":{"tag":"meta","attrs":{"name":{"type":"value","value":"apple-mobile-web-app-capable"},"content":{"type":"value","value":"yes"}}},"QQ6hYV1XObCswSTLe2C-Z":{"tag":"link","attrs":{"rel":{"name":"apple_touch_icon","type":"function","arguments":[{"name":"val","formula":{"type":"value","value":"rel"}}]},"href":{"name":"apple_touch_icon","type":"function","arguments":[{"name":"val","formula":{"type":"value","value":"href"}}]}},"content":null},"dbcBHjXh8SvExkMtEPzwn":{"tag":"meta","attrs":{"name":{"type":"value","value":"mobile-web-app-capable"},"content":{"type":"value","value":"yes"}}},"itqGEAXsjTfR55WECbNxS":{"tag":"meta","attrs":{"name":{"type":"value","value":"apple-mobile-web-app-status-bar-style"},"content":{"type":"value","value":"black-translucent"}}}},"title":{"formula":{"type":"value","value":"Welcome to Promofy"}},"description":{"formula":{"type":"value","value":"Welcome to Promofy"}}},"path":[{"name":"x","type":"static"}],"query":{}},"onLoad":{"actions":[{"name":"js_styles","version":2},{"key":"f_remove_toddle_attr","name":"f_remove_toddle_attr","version":2}],"trigger":"Load"}},"components":[{"name":"fullpage_loader","nodes":{"root":{"tag":"div","type":"element","children":["utejybLE-M6W3eJAIbuGD"],"condition":{"name":"@toddle/lessThan","type":"function","label":null,"arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Attributes","user_id"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Less than"},"classes":{"eKNEdA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"utejybLE-M6W3eJAIbuGD":{"name":"logo_icon","type":"component","attrs":{"size":{"type":"value","value":"88px"}},"customProperties":{}}},"attributes":{"user_id":{"name":"user_id"}}},{"name":"logo_icon","nodes":{"root":{"tag":"img","type":"element","attrs":{"alt":{"type":"value","value":""},"src":{"name":"img_logo","type":"function","arguments":[]},"style":{"name":"@toddle/replaceAll","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Array \\| String \\| Object"},"formula":{"type":"value","value":"width:{{size}};"}},{"name":"0","type":{"type":"Array \\| String \\| Object"},"formula":{"type":"value","value":"height:{{size}};"}},{"name":"0","type":{"type":"Array \\| String \\| Object"},"formula":{"type":"value","value":""}}],"display_name":"Concatenate","variableArguments":true}},{"name":"Search","type":{"type":"String"},"formula":{"type":"value","value":"{{size}}"}},{"name":"Replace with","type":{"type":"String"},"formula":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"name":"@toddle/replaceAll","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"Search","type":{"type":"String"},"formula":{"type":"value","value":"auto"}},{"name":"Replace with","type":{"type":"String"},"formula":{"type":"value","value":"45px"}}],"display_name":"Replace all"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"45px"}}],"display_name":"Default to","variableArguments":true}}],"display_name":"Replace all"},"width":{"type":"value","value":2000},"height":{"type":"value","value":2000}},"classes":{"ccUBlI":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"attributes":{"size":{"name":"size"}}}]}