PageSourceSearch

https://app.textmagic.com/assets/CaXvjVlq.js

js textmagic.com collected 2026-10-01 08:42:29 UTC 3,088 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`20261001-39361-126a85bd`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:textmagic-web-app":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e16c6627-7b1a-4aed-8e03-38774603f9ab`,e._sentryDebugIdIdentifier=`sentry-dbid-e16c6627-7b1a-4aed-8e03-38774603f9ab`)}catch{}})();import{jn as e}from"./D1KcagSz.js";import{E as t,H as n,yt as r}from"./CPzLrubv.js";import{Kf as i,Xf as a}from"./DAD6CFn-.js";import{Cl as o,Go as s,Kc as c,ad as l,hp as u,pp as d,yn as f}from"./TmSZSC_3.js";import{Ct as p}from"./index_6BOmQYt5.js";import{t as m}from"./BrUFhSo8.js";n();var h=`systemAccountStateChanged`,g=`userBalanceChanged`,_=t(()=>d().getCurrentUserOrNull([`timezone`])||new i({subaccountType:a.USER})),v=t(()=>u().currentUserSettingsOrNull());r([_,v],([e,t])=>{c().setUser({...e,...t})});var y=t(()=>_.value.fullName),b=t(()=>_.value.currency),x=t(()=>m(_.value.id)),S=t(()=>I(_.value.balance)),C=t(()=>_.value.pendingAmount),w=t(()=>I(_.value.pendingAmount)),T=t(()=>_.value.isCriticallyLowBalance),E=t(()=>_.value.email),D,O=t=>{let n=d(),r=t.payload;if(r.subaccountType!==_.value.subaccountType&&o().getPermissions(),!e(r,D)){let e={..._.value,...r};n.updateCurrentUserInStore(e)}D=r},k=e=>{u().updateCurrentUserSettingsInStore(e.payload)},A=e=>{d().updateCurrentUserInStore({balance:e.payload.balance,pendingAmount:e.payload.pendingAmount})},j=!1,M=()=>{if(!j){let e=l();e.subscribe(h,O),e.subscribe(g,A),e.subscribe(`systemAccountAdditionalFields`,k),j=!0}return{currentUser:_,userFullName:y,avatarColor:x,balanceWithCurrency:S,pendingAmount:C,pendingAmountWithCurrency:w,currency:b,isLowBalance:T,email:E}},N=()=>{let e=s();return{currentUserCountryFormatted:t(()=>{let t=_.value.countryId;return e.getFormattedCountryName(t)})}},P=()=>{let{currentUserSettings:e}=L();return{showSenderIds:t(()=>e.value.showSenderIds),showTenDlcTab:t(()=>e.value.showTenDlcTab),showTollFreeTab:t(()=>e.value.showTollFreeTab)}},F=()=>{let{currentUserSettings:e}=L();return{warningIcon:{name:`warning`,size:`xLarge`,class:`orange--text`},doneIcon:{name:`check_circle`,size:`xLarge`,class:`success--text`},showTenDlcAlert:t(()=>e.value.showTenDlcAlert),showTollFreeAlert:t(()=>e.value.showTollFreeAlert)}};function I(e,t){return p(e,_.value.currency?.id??`USD`,f,t)}var L=()=>({currentUserSettings:t(()=>u().currentUserSettingsOrFail())}),R=()=>{let{currentUser:e}=M(),{currentUserSettings:n}=L(),r=t(()=>e.value.subaccountType===a.SUPER_ADMIN),i=t(()=>n.value.parentId);return{isParentUser:r,parentId:i,parentIdNotSelf:t(()=>r.value?void 0:i.value)}};export{P as a,N as i,M as n,R as o,F as r,L as s,I as t};
2//# sourceMappingURL=CaXvjVlq.js.map

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.