System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js"],(function(e){"use strict";var t,r,i,n,o,a,s,c,u;return{setters:[function(e){t=e.r;r=e.h;i=e.c},function(e){n=e.f;o=e.n},function(e){a=e.J;s=e.k;c=e.j;u=e.i}],execute:function(){function f(e){var t=e.requireEmailVerification,r=e.redirectTo,i=e.redirectToUnverified;var o;var u=a();var f=!!(u===null||u===void 0?void 0:u.jwt);var d=(o=u===null||u===void 0?void 0:u.managedIdentity)===null||o===void 0?void 0:o.emailVerified;var l=s(),v=l.pathname,h=l.search;var p=new URLSearchParams;p.append("nextPage",""+v+h);n((function(){if(!f){return c.push({pathname:r,search:"?"+p.toString()})}if(t&&!d){return c.push({pathname:i||r,search:"?"+p.toString()})}}),[]);return!!u}var d=e("sqm_portal_protected_route",function(){function e(e){t(this,e);this.ignored=true;this.redirectTo="/";this.requireEmailVerification=false;this.redirectToUnverified="/emailVerification";o(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=u()?l():f(this);return r(i,{style:{display:e?"contents":"none"}},r("slot",null))};return e}());function l(e){return true}}}}));