PageSourceSearch

https://verbmaster.co/_app/immutable/nodes/14.CSAh9cEC.js

js verbmaster.co collected 2026-09-25 03:29:50 UTC 3,543 bytes, 3 lines download raw bytes

1import"../chunks/DQ96uWBR.js";import{o as J}from"../chunks/5ZVEut0i.js";import{k as K,n as Q,e as W,$ as Z,c as v,f as h,r as t,v as g,a,o as k,aF as b,aG as _,w as M,x as tt,aN as et,X as st}from"../chunks/BxWJ1v68.js";import{s as P}from"../chunks/76mV1frs.js";import{i as y}from"../chunks/CJGxrOv2.js";import{h as at}from"../chunks/CwSK7drS.js";import{s as it,a as w}from"../chunks/CotcaH6N.js";import{g as ot}from"../chunks/CnUjdOUR.js";import{b as nt,a as rt}from"../chunks/Cg6BbVlw.js";import{i as ct,a as dt}from"../chunks/2d_kiMCe.js";import{i as ut}from"../chunks/BXUsN0WX.js";import{D as mt}from"../chunks/Bmh135Kx.js";import{L as lt}from"../chunks/W7LqGOxj.js";import{I as ft,a as pt,b as vt}from"../chunks/CcrIarCx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"128a6171da68bae28d7be707b6e91dec79787d51"};var l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="59c63a69-2f62-4478-865b-518f13e47111",e._sentryDebugIdIdentifier="sentry-dbid-59c63a69-2f62-4478-865b-518f13e47111")}catch{}})();var ht=k(`<div class="notice-card svelte-1ec1kpc"><h2 class="svelte-1ec1kpc">No institution linked</h2> <p class="svelte-1ec1kpc">Your account is not a member of an institution. If your school has a VerbMaster license,
2				ask your institution's admin to add your email, or contact VerbMaster.</p></div>`),gt=k('<div class="notice-card svelte-1ec1kpc"><h2 class="svelte-1ec1kpc"> </h2> <p class="svelte-1ec1kpc"> </p></div>'),bt=k('<div class="notice-card svelte-1ec1kpc"><h2 class="svelte-1ec1kpc">Institution not found</h2> <p class="svelte-1ec1kpc">Your membership points at an institution that no longer exists. Contact VerbMaster.</p></div>'),_t=k('<div class="stack svelte-1ec1kpc"><!> <!> <!></div>');function Pt(e,l){K(l,!0);const o=()=>w(ct,"$institutionMembershipStore",I),$=()=>w(rt,"$authStore",I),V=()=>w(dt,"$isInstitutionAdmin",I),[I,N]=it();let C=et(0);const x=g(()=>o().membership),u=g(()=>o().institution),R=g(()=>o().isLoaded);J(()=>{if(!$()){ot("/");return}nt.markStageCompleted("page"),!o().isLoaded&&!o().isLoading&&ut.fetchInstitutionMembership()}),at("1ec1kpc",A=>{W(()=>{Z.title="Institution - VerbMaster"})}),mt(e,{title:"Institution",subtitle:"Manage your institution's staff and license seats",children:(A,yt)=>{var D=v(),U=h(D);{var j=n=>{lt(n,{title:"Loading your institution...",steps:[{label:"Checking membership",completed:!1}]})},F=n=>{var E=v(),G=h(E);{var O=r=>{var f=ht();a(r,f)},X=r=>{var f=v(),q=h(f);{var z=c=>{var d=gt(),m=b(d),S=b(m,!0);_(m);var p=M(m,2),s=b(p);_(p),_(d),tt(i=>{P(S,t(u)?.name||"Your institution"),P(s,`You are a member of this institution${i??""}.
3				Only staff with Admin Permissions can manage staff and seats. Ask an admin if you need access.`)},[()=>t(x).isInstitutionTeacher()?" with Teacher Permissions, so your students get seats automatically when they join your classes":""]),a(c,d)},B=c=>{var d=v(),m=h(d);{var S=s=>{var i=bt();a(s,i)},p=s=>{var i=_t(),T=b(i);ft(T,{get institution(){return t(u)},get seatsUsed(){return t(C)}});var Y=M(T,2);{let L=g(()=>$()?.email??null);pt(Y,{get institutionId(){return t(u).id},get viewerEmail(){return t(L)}})}var H=M(Y,2);vt(H,{get institution(){return t(u)},onSeatsChange:L=>st(C,L,!0)}),_(i),a(s,i)};y(m,s=>{t(u)?s(p,!1):s(S)},!0)}a(c,d)};y(q,c=>{V()?c(B,!1):c(z)},!0)}a(r,f)};y(G,r=>{t(x)?r(X,!1):r(O)},!0)}a(n,E)};y(U,n=>{t(R)?n(F,!1):n(j)})}a(A,D)}}),Q(),N()}export{Pt as component};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.