Loading
function(t,E,e){var i=e(73153),r=e(795816),a=e(627363),c=e(587895),p=e(327891),n=e(998218),_=e(110782);e.d(E,{},{SH:function(){i.h.dispatch({type:"DEVELOPER_TEST_MODE_RESET_ERROR"})},cL:function(){i.h.dispatch({type:"DEVELOPER_TEST_MODE_RESET"})},q1:async function(t,E){i.h.dispatch({applicationId:t,type:"DEVELOPER_TEST_MODE_AUTHORIZATION_START"});try{if(!await (0,r.Ir)(t))throw Error("Do not have access!");let e=c.A.getApplication(t);null==e&&(e=p.Ay.createFromServer(await a.Ay.fetchApplication(t)));let h=e.isEmbedded;if(h&&(null==E||!n.A.URL_REGEX.test(E)))throw Error("Invalid Origin URL for embedded application");return h||_.Cd(e),i.h.dispatch({type:"DEVELOPER_TEST_MODE_AUTHORIZATION_SUCCESS",applicationId:t,originURL:h?E:null}),e}catch(E){return i.h.dispatch({type:"DEVELOPER_TEST_MODE_AUTHORIZATION_FAIL",applicationId:t,error:E.message}),null}}})}