var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();import{Q as Query}from"./datorama-akita-d2413fd0.js";import{_ as _function}from"./Option-53ef163a.js";import{a as fold}from"./index-6869168f.js";import{c as benefitsAppStore}from"./api-client-a68152b8.js";var BenefitsAppQuery=function(t){__extends(e,t);function e(e){var r=t.call(this,e)||this;r.store=e;r.signedInUser$=r.select((function(t){return t.user}));r.signedInUserRole$=r.select((function(t){return _function.pipe(t.user,fold((function(){return"user"}),(function(t){return t.benefitsProfile.role})))}));return r}return e}(Query);var benefitsAppQuery=new BenefitsAppQuery(benefitsAppStore);export{benefitsAppQuery as b};