@planningcenter/topbar 10.18.2 → 10.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/topbar.css +1 -1
- package/dist/topbar.css.map +1 -1
- package/dist/topbar.js +1 -1
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.js +1 -1
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.js +1 -1
- package/dist/topbar.module.js.map +1 -1
- package/dist/topbar.umd.js +1 -1
- package/dist/topbar.umd.js.map +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/announcements/platform_announcements.d.ts +22 -0
- package/dist/types/modules/announcements/platform_announcements.d.ts.map +1 -1
- package/dist/types/modules/announcements/product_announcement.d.ts +22 -0
- package/dist/types/modules/announcements/product_announcement.d.ts.map +1 -1
- package/dist/types/modules/apps_provider.d.ts.map +1 -1
- package/dist/types/modules/not_small_topbar/index.d.ts +24 -24
- package/dist/types/modules/not_small_topbar/index.d.ts.map +1 -1
- package/dist/types/modules/small_topbar/index.d.ts +16 -24
- package/dist/types/modules/small_topbar/index.d.ts.map +1 -1
- package/dist/types/modules/small_topbar/user_profile_menu.d.ts +1 -2
- package/dist/types/modules/small_topbar/user_profile_menu.d.ts.map +1 -1
- package/dist/types/modules/toolbar/components/color_mode_switcher.d.ts.map +1 -1
- package/dist/types/modules/toolbar/components/user_profile.d.ts.map +1 -1
- package/dist/types/modules/toolbar/index.d.ts +26 -7
- package/dist/types/modules/toolbar/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/pco_chat.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/use_chat_config.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/types/classic/modules/api_request.d.ts +0 -12
- package/dist/types/classic/modules/api_request.d.ts.map +0 -1
- package/dist/types/classic/modules/avatar.d.ts +0 -7
- package/dist/types/classic/modules/avatar.d.ts.map +0 -1
- package/dist/types/classic/modules/client_storage.d.ts +0 -13
- package/dist/types/classic/modules/client_storage.d.ts.map +0 -1
- package/dist/types/classic/modules/color_app_icon.d.ts +0 -5
- package/dist/types/classic/modules/color_app_icon.d.ts.map +0 -1
- package/dist/types/classic/modules/color_app_squircles.d.ts +0 -13
- package/dist/types/classic/modules/color_app_squircles.d.ts.map +0 -1
- package/dist/types/classic/modules/colors.d.ts +0 -49
- package/dist/types/classic/modules/colors.d.ts.map +0 -1
- package/dist/types/classic/modules/components/apps_button.d.ts +0 -10
- package/dist/types/classic/modules/components/apps_button.d.ts.map +0 -1
- package/dist/types/classic/modules/components/apps_menu.d.ts +0 -11
- package/dist/types/classic/modules/components/apps_menu.d.ts.map +0 -1
- package/dist/types/classic/modules/components/eyebrow.d.ts +0 -8
- package/dist/types/classic/modules/components/eyebrow.d.ts.map +0 -1
- package/dist/types/classic/modules/components/hoverable.d.ts +0 -14
- package/dist/types/classic/modules/components/hoverable.d.ts.map +0 -1
- package/dist/types/classic/modules/components/hoverable_list_item.d.ts +0 -11
- package/dist/types/classic/modules/components/hoverable_list_item.d.ts.map +0 -1
- package/dist/types/classic/modules/components/notification_item.d.ts +0 -12
- package/dist/types/classic/modules/components/notification_item.d.ts.map +0 -1
- package/dist/types/classic/modules/components/notifications_menu_blank_state.d.ts +0 -9
- package/dist/types/classic/modules/components/notifications_menu_blank_state.d.ts.map +0 -1
- package/dist/types/classic/modules/components/outsider.d.ts +0 -14
- package/dist/types/classic/modules/components/outsider.d.ts.map +0 -1
- package/dist/types/classic/modules/components/popover_root.d.ts +0 -7
- package/dist/types/classic/modules/components/popover_root.d.ts.map +0 -1
- package/dist/types/classic/modules/components/popup.d.ts +0 -10
- package/dist/types/classic/modules/components/popup.d.ts.map +0 -1
- package/dist/types/classic/modules/components/popup_root.d.ts +0 -7
- package/dist/types/classic/modules/components/popup_root.d.ts.map +0 -1
- package/dist/types/classic/modules/connected_people_provider.d.ts +0 -23
- package/dist/types/classic/modules/connected_people_provider.d.ts.map +0 -1
- package/dist/types/classic/modules/display_switch.d.ts +0 -24
- package/dist/types/classic/modules/display_switch.d.ts.map +0 -1
- package/dist/types/classic/modules/formatters.d.ts +0 -4
- package/dist/types/classic/modules/formatters.d.ts.map +0 -1
- package/dist/types/classic/modules/get_apps_switch_product_path.d.ts +0 -2
- package/dist/types/classic/modules/get_apps_switch_product_path.d.ts.map +0 -1
- package/dist/types/classic/modules/get_login_profile_path.d.ts +0 -9
- package/dist/types/classic/modules/get_login_profile_path.d.ts.map +0 -1
- package/dist/types/classic/modules/hooks/jolt.d.ts +0 -25
- package/dist/types/classic/modules/hooks/jolt.d.ts.map +0 -1
- package/dist/types/classic/modules/hooks/use_cookie.d.ts +0 -3
- package/dist/types/classic/modules/hooks/use_cookie.d.ts.map +0 -1
- package/dist/types/classic/modules/hooks/use_fragment_routing.d.ts +0 -5
- package/dist/types/classic/modules/hooks/use_fragment_routing.d.ts.map +0 -1
- package/dist/types/classic/modules/hooks/use_media_query.d.ts +0 -3
- package/dist/types/classic/modules/hooks/use_media_query.d.ts.map +0 -1
- package/dist/types/classic/modules/hooks/use_notifications.d.ts +0 -20
- package/dist/types/classic/modules/hooks/use_notifications.d.ts.map +0 -1
- package/dist/types/classic/modules/mfa_status.d.ts +0 -6
- package/dist/types/classic/modules/mfa_status.d.ts.map +0 -1
- package/dist/types/classic/modules/mono_app_icon.d.ts +0 -7
- package/dist/types/classic/modules/mono_app_icon.d.ts.map +0 -1
- package/dist/types/classic/modules/mono_app_name.d.ts +0 -6
- package/dist/types/classic/modules/mono_app_name.d.ts.map +0 -1
- package/dist/types/classic/modules/mono_app_symbols.d.ts +0 -40
- package/dist/types/classic/modules/mono_app_symbols.d.ts.map +0 -1
- package/dist/types/classic/modules/mono_app_text.d.ts +0 -49
- package/dist/types/classic/modules/mono_app_text.d.ts.map +0 -1
- package/dist/types/classic/modules/not_small_topbar/index.d.ts +0 -17
- package/dist/types/classic/modules/not_small_topbar/index.d.ts.map +0 -1
- package/dist/types/classic/modules/not_small_topbar/user_menu.d.ts +0 -17
- package/dist/types/classic/modules/not_small_topbar/user_menu.d.ts.map +0 -1
- package/dist/types/classic/modules/not_small_topbar/user_menu_trigger.d.ts +0 -10
- package/dist/types/classic/modules/not_small_topbar/user_menu_trigger.d.ts.map +0 -1
- package/dist/types/classic/modules/platform_announcements.d.ts +0 -32
- package/dist/types/classic/modules/platform_announcements.d.ts.map +0 -1
- package/dist/types/classic/modules/product_announcement.d.ts +0 -20
- package/dist/types/classic/modules/product_announcement.d.ts.map +0 -1
- package/dist/types/classic/modules/small_topbar/account_settings_link.d.ts +0 -5
- package/dist/types/classic/modules/small_topbar/account_settings_link.d.ts.map +0 -1
- package/dist/types/classic/modules/small_topbar/close_menu_button.d.ts +0 -6
- package/dist/types/classic/modules/small_topbar/close_menu_button.d.ts.map +0 -1
- package/dist/types/classic/modules/small_topbar/index.d.ts +0 -11
- package/dist/types/classic/modules/small_topbar/index.d.ts.map +0 -1
- package/dist/types/classic/modules/small_topbar/user_profile_menu.d.ts +0 -20
- package/dist/types/classic/modules/small_topbar/user_profile_menu.d.ts.map +0 -1
- package/dist/types/classic/modules/styled_root.d.ts +0 -6
- package/dist/types/classic/modules/styled_root.d.ts.map +0 -1
- package/dist/types/classic/modules/styles.d.ts +0 -10
- package/dist/types/classic/modules/styles.d.ts.map +0 -1
- package/dist/types/classic/modules/symbols.d.ts +0 -43
- package/dist/types/classic/modules/symbols.d.ts.map +0 -1
- package/dist/types/classic/modules/theme.d.ts +0 -18
- package/dist/types/classic/modules/theme.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/drawer.d.ts +0 -14
- package/dist/types/classic/modules/toolbar/components/drawer.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/drawer_header.d.ts +0 -8
- package/dist/types/classic/modules/toolbar/components/drawer_header.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/drawer_heading.d.ts +0 -5
- package/dist/types/classic/modules/toolbar/components/drawer_heading.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/index.d.ts +0 -8
- package/dist/types/classic/modules/toolbar/components/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/indicator_dot.d.ts +0 -3
- package/dist/types/classic/modules/toolbar/components/indicator_dot.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/scroll_container.d.ts +0 -19
- package/dist/types/classic/modules/toolbar/components/scroll_container.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/switch_view.d.ts +0 -8
- package/dist/types/classic/modules/toolbar/components/switch_view.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/user_profile.d.ts +0 -11
- package/dist/types/classic/modules/toolbar/components/user_profile.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/hooks/index.d.ts +0 -2
- package/dist/types/classic/modules/toolbar/hooks/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/hooks/use_pco_meta.d.ts +0 -6
- package/dist/types/classic/modules/toolbar/hooks/use_pco_meta.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/hooks/use_toolbar_reducer.d.ts +0 -19
- package/dist/types/classic/modules/toolbar/hooks/use_toolbar_reducer.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/index.d.ts +0 -25
- package/dist/types/classic/modules/toolbar/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/chat/BlankState.d.ts +0 -4
- package/dist/types/classic/modules/toolbar/tools/chat/BlankState.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/chat/index.d.ts +0 -3
- package/dist/types/classic/modules/toolbar/tools/chat/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/chat/pco_chat.d.ts +0 -10
- package/dist/types/classic/modules/toolbar/tools/chat/pco_chat.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/chat/use_chat_config.d.ts +0 -12
- package/dist/types/classic/modules/toolbar/tools/chat/use_chat_config.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/chat/use_handle_message_from_child_frame.d.ts +0 -5
- package/dist/types/classic/modules/toolbar/tools/chat/use_handle_message_from_child_frame.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/chat/use_stable_iframe_src_attribute_and_sync_fragment_route.d.ts +0 -6
- package/dist/types/classic/modules/toolbar/tools/chat/use_stable_iframe_src_attribute_and_sync_fragment_route.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/helpdesk/components/CustomSearchBox.d.ts +0 -5
- package/dist/types/classic/modules/toolbar/tools/helpdesk/components/CustomSearchBox.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/helpdesk/components/DocumentationSearch.d.ts +0 -5
- package/dist/types/classic/modules/toolbar/tools/helpdesk/components/DocumentationSearch.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/helpdesk/index.d.ts +0 -4
- package/dist/types/classic/modules/toolbar/tools/helpdesk/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/index.d.ts +0 -4
- package/dist/types/classic/modules/toolbar/tools/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/notifications.d.ts +0 -4
- package/dist/types/classic/modules/toolbar/tools/notifications.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/profile.d.ts +0 -3
- package/dist/types/classic/modules/toolbar/tools/profile.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/tasks.d.ts +0 -4
- package/dist/types/classic/modules/toolbar/tools/tasks.d.ts.map +0 -1
- package/dist/types/classic/modules/unbutton.d.ts +0 -11
- package/dist/types/classic/modules/unbutton.d.ts.map +0 -1
- package/dist/types/classic/modules/utils.d.ts +0 -5
- package/dist/types/classic/modules/utils.d.ts.map +0 -1
- package/dist/types/modules/not_small_topbar/not_small_topbar.d.ts +0 -17
- package/dist/types/modules/not_small_topbar/not_small_topbar.d.ts.map +0 -1
- package/dist/types/modules/platform_announcements/index.d.ts +0 -20
- package/dist/types/modules/platform_announcements/index.d.ts.map +0 -1
- package/dist/types/modules/product_announcement/index.d.ts +0 -21
- package/dist/types/modules/product_announcement/index.d.ts.map +0 -1
- package/dist/types/modules/small_topbar/small_topbar.d.ts +0 -11
- package/dist/types/modules/small_topbar/small_topbar.d.ts.map +0 -1
- package/dist/types/modules/toolbar/components/phoenix_opt_in.d.ts +0 -4
- package/dist/types/modules/toolbar/components/phoenix_opt_in.d.ts.map +0 -1
- package/dist/types/modules/toolbar/toolbar.d.ts +0 -24
- package/dist/types/modules/toolbar/toolbar.d.ts.map +0 -1
package/dist/topbar.modern.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import t,{useEffect as n,useState as a,useMemo as l,useCallback as o,useRef as r}from"react";import i from"@planningcenter/jolt-client";import c from"@planningcenter/url";import{useSyncExternalStore as s}from"use-sync-external-store/shim";import{ThemeProvider as d,Divider as m,Button as p,StackView as u,Text as h,Icon as g,GridView as f,ToggleSwitch as v,Link as E,Spinner as b,Dialog as C,TextArea as y,designSystem as w,HeadingUppercase as k,List as x,Box as A,Heading as Z,Avatar as S,Combobox as P,Logo as V,Dropdown as M,Badge as N}from"@planningcenter/tapestry-react";import*as H from"@planningcenter/icons/paths/general";import*as L from"@planningcenter/icons/paths/church-center";import*as z from"@planningcenter/icons/paths/people";import*as T from"@planningcenter/icons/paths/toolbar";import{UiExtensionFirstPartyComponent as _,components as O,UiExtensionDataContext as I}from"@planningcenter/add-ons";import{InlineWidget as $}from"react-calendly";import D from"algoliasearch";import{useSearchBox as R,useHits as U,InstantSearch as q,Configure as F}from"react-instantsearch";import{TransitionGroup as j,Transition as B}from"react-transition-group";import W from"@planningcenter/datetime-fmt";function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},J.apply(null,arguments)}function G(e){if(null==e)throw new TypeError("Cannot destructure "+e)}function X(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}const K=["headers"],Y=(e,t)=>fetch(e,J({credentials:"include",mode:"cors"},t)),Q=(e,t)=>{let{headers:n}=t,a=X(t,K);return fetch(e,J({headers:J({},n,{"X-CSRF-Token":(null==(l=window)||null==(o=l.Rails)?void 0:o.csrfToken())||(null==(r=document.querySelector('meta[name="csrf-token"]'))?void 0:r.getAttribute("content"))||null})},a,{credentials:"include",mode:"cors"}));var l,o,r};function ee(e,t,{method:n="GET",data:a=null}={}){const l={headers:{Accept:"application/json","Content-Type":"application/json"},method:n,redirect:"follow"};return a&&"GET"!==n&&(l.body=JSON.stringify(a)),e(t,l).then(e=>e.json().then(t=>({json:t,ok:e.ok,response:e})).catch(()=>({json:null,ok:e.ok,response:e})),e=>(console.warn(e),{json:null,ok:!1,response:null}))}let te=null;function ne(e){return e&&!!e.allSubscriptions}const ae=({channelName:e,disconnectJoltOnUnmount:n,enabled:a=!0,env:l,fetchSubscribeToken:o,joltPromise:r})=>{const[i,s]=t.useState(),[d,m]=t.useState(),p=t.useCallback(async()=>{const t=await r,n=async(e,t)=>o(t),a=ne(t)?oe(t,e,n):le(t,e,n);s(a),m(t)},[ee,e,l,c,Q]);return t.useEffect(()=>{a&&p()},[a,p]),t.useEffect(()=>{const e=e=>{var t,n;e.data.hasOwnProperty("PCOPageExpiredCurrentPersonACID")&&e.data.PCOPageExpiredCurrentPersonACID!==(null==(t=window)||null==(n=t.pcoPageExpired)?void 0:n.currentPersonACID)&&d&&d.disconnect()};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[d]),t.useEffect(()=>()=>{d&&n&&d.disconnect()},[d]),i},le=(e,t,n)=>e.subscriptions.find(e=>e.channel===t)||e.subscribe(t,{fetchSubscribeTokenFn:n}),oe=(e,t,n)=>{var a;const l=(null==(a=e.allSubscriptions)?void 0:a.find(e=>e.channel===t))||e.subscribe(t,{fetchSubscribeTokenFn:n});return l.subscribe(),l},re=(e,t,a)=>n(()=>e?(e.bind(t,a),()=>e.unbind(t,a)):()=>{},[e,a]),ie=(e,t)=>{let n;return function(...a){const l=this;clearTimeout(n),n=setTimeout(()=>{n=null,e.apply(l,a)},t),n||e.apply(l,a)}};function ce(e,t){return Object.keys(e).length===Object.keys(t).length&&Object.entries(e).every(([e,n])=>t[e]!==n)}function se(e,t){const[l,o]=a(()=>{try{const n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),r=JSON.stringify(l);return n(()=>{window.localStorage.setItem(e,r)},[e,r]),{dropKey:()=>window.localStorage.removeItem(e),setStoredValue:o,storedValue:l}}const de=()=>{};function me(e){let t=e;const n=new Set;return{getState:()=>t,setState:e=>{t=e,n.forEach(e=>e(t))},subscribe:e=>(n.add(e),()=>n.delete(e))}}const pe=me({}),ue=({configuredFetch:e=Y,enableJoltLogging:o,env:r,formatter:s=he,joltPromise:d,wssEndpoint:m,render:p,userId:u})=>{var h,g,f,v,E,b,C,y,w,k,x,A,Z,S,P,V,M,N,H,L,z,T,_,O,I,$;const D=(({configuredFetch:e,env:t})=>{const{storedValue:l,setStoredValue:o}=se("Topbar",{}),[r,i]=a(l);n(()=>{s()},[]);const s=()=>{ee(e,`${c(t)("api")}/people/v2/me/topbar`).then(({json:e,ok:t})=>{t&&(i(e),o(e))})};return r})({configuredFetch:e,env:r}),R=s(D),U=null==D||null==(h=D.data)||null==(g=h.attributes)?void 0:g.has_connected_people,q=!(null==D||null==(f=D.data)||null==(v=f.attributes)||!v.mfa_configured),F=null!=(E=null==D||null==(b=D.data)||null==(C=b.attributes)||null==(y=C.features)?void 0:y.includes("phoenix_opt_in_enabled"))&&E,j=null!=(w=null==D||null==(k=D.data)||null==(x=k.attributes)||null==(A=x.features)?void 0:A.includes("color_mode_selection_enabled"))&&w,B=null!=(Z=null==D||null==(S=D.data)||null==(P=S.attributes)||null==(V=P.features)?void 0:V.includes("color_mode_launched"))&&Z,W=null==D||null==(M=D.data)||null==(N=M.attributes)?void 0:N.color_mode,G=null==D||null==(H=D.data)||null==(L=H.attributes)?void 0:L.name,X=!window.notificationsDisabled,K=(null==D||null==(z=D.data)||null==(T=z.attributes)?void 0:T.org_time_zone)||"America/Los_Angeles",ne={algoliaApplicationId:null==D||null==(_=D.data)||null==(O=_.attributes)?void 0:O.algolia_application_identifier,algoliaSearchOnlyApiKey:null==D||null==(I=D.data)||null==($=I.attributes)?void 0:$.algolia_search_key},le=l(()=>(({enableJoltLogging:e,env:t,fetchAuthTokenFn:n,providedJoltPromise:a,wssEndpoint:l})=>a?a():(te||(te=new i(l||(e=>{switch(e){case"development":case"test":return"wss://1csnwvu025.execute-api.us-east-1.amazonaws.com/v1/";case"staging":return"wss://xvk2ac1o3l.execute-api.us-east-1.amazonaws.com/v1/";default:return"wss://yxe88gasn3.execute-api.us-east-1.amazonaws.com/v1/"}})(t),{fetchAuthTokenFn:n},{logToConsole:e})),Promise.resolve(te)))({enableJoltLogging:o,env:r,fetchAuthTokenFn:async()=>ee(Q,`${window.location.origin}/~api/notifications/v2/me/notifications_jolt_authorize`,{data:{data:{attributes:{}}},method:"POST"}).then(({json:e})=>e.data.id),providedJoltPromise:d,wssEndpoint:m}),[d,m,r,o]),oe=ae({channelName:`notifications.people.${u}`,disconnectJoltOnUnmount:!d,enabled:!0,env:r,fetchSubscribeToken:async e=>{const t=`${window.location.origin}/~api/notifications/v2/me/notifications_jolt_subscribe`;return ee(Q,t,{data:{data:{attributes:{cid:e}}},method:"POST"}).then(({json:e})=>e.data.id)},joltPromise:le}),ce=(({enabled:e,joltChannel:n})=>{const{storedValue:a,setStoredValue:l}=se("Topbar:Notifications:hasUnread",!1),o=((e,n=0)=>t.useMemo(()=>ie(e,n),[]))(()=>{const e=`${window.location.origin}/~api/notifications/v2/me/unread`;ee(Y,e).then(({json:e})=>{l(e.data.attributes.unread)}).catch(de)},300);return t.useEffect(()=>{e&&o()},[e]),re(e?n:void 0,"notifications.v2.events.notification.created",o),re(e?n:void 0,"notifications.v2.events.notification.updated",o),re(e?n:void 0,"notifications.v2.events.notification.destroyed",o),a})({enabled:!0,env:r,joltChannel:oe});return n(()=>{const e=pe.getState();pe.setState(J({},e,{algoliaSearchAuth:ne,colorMode:W,colorModeLaunched:B,colorModeSelectionEnabled:j,disconnectJoltOnUnmount:!d,hasConnectedPeople:U,indicatorVisible:J({},e.indicatorVisible,{Notifications:ce}),joltPromise:le,mfaConfigured:q,name:G,notifications:{enabled:X,env:r,joltChannel:oe},notificationsEnabled:X,notificationsJoltChannel:oe,organizationTimeZone:K,phoenixOptInEnabled:F,userId:u}))},[W,B,le,q,G,X,ce,K,F,j,u]),p(R||[],{fetch:()=>{},remove:()=>{}})};function he(e){var t,n;return(null==e||null==(t=e.data)||null==(n=t.attributes)?void 0:n.apps)||[]}function ge(){window.localStorage.removeItem("Topbar:ConnectedPeople")}function fe(e){window.location=e}class ve extends t.Component{constructor(e){super(e),this.state={connectedPeople:[]}}fetch(){ee(this.props.configuredFetch,`${c(this.props.env)("api")}/login/v2/me/connected_people`).then(({json:e,ok:t})=>{if(!t||!e)return;const n=e.data;return this.setState({connectedPeople:n},()=>window.localStorage.setItem("Topbar:ConnectedPeople",JSON.stringify(n)))})}unlink(){ee(this.props.configuredFetch,`${c(this.props.env)("api")}/login/v2/me/unlink`,{method:"POST"}).then(({json:e})=>{var t;null!=e&&null!=(t=e.meta)&&t.redirect_to&&fe(e.meta.redirect_to)})}switch(e,t){ee(this.props.configuredFetch,`${c(this.props.env)("api")}/login/v2/me/switch_connected_person`,{data:{data:{attributes:{id:e,return_path:t}}},method:"POST"}).then(({json:e})=>{var t;null!=e&&null!=(t=e.meta)&&t.redirect_to&&fe(e.meta.redirect_to)})}componentDidMount(){const e=JSON.parse(window.localStorage.getItem("Topbar:ConnectedPeople"));return e?this.setState({connectedPeople:e}):this.fetch()}render(){return this.props.render(this.state.connectedPeople||[],{fetch:this.fetch.bind(this),remove:ge.bind(this),switch:this.switch.bind(this),unlink:this.unlink.bind(this)})}}ve.defaultProps={configuredFetch:Y};class Ee extends t.Component{constructor(e){super(e),this.state={width:window.innerWidth},this.setWindowWidth=this.setWindowWidth.bind(this)}setWindowWidth(){this.setState({width:window.innerWidth})}componentDidMount(){window.addEventListener("resize",ie(this.setWindowWidth,100),!1)}componentWillUnmount(){window.removeEventListener("resize",ie(this.setWindowWidth,100),!1)}breakpointString(e){return e<480?"xs":e<600?"sm":e<720?"md":e<960?"lg":"xl"}render(){return t.createElement(t.Fragment,null,this.props.render(this.breakpointString(this.state.width)))}}class be extends t.Component{render(){return t.createElement(Ee,{render:e=>-1!==this.props.smallBreakpoints.indexOf(e)?this.props.smallTopbar(e):this.props.notSmallTopbar(e)})}}be.defaultProps={smallBreakpoints:["xs","sm"]};const Ce=(e=(e=>e))=>s(pe.subscribe,()=>e(pe.getState()));function ye({color:e}){return t.createElement("path",{fill:e,d:"M16.95,9.28h0l-1.33-.23c-.12,0-.24-.04-.34-.11-.1-.07-.18-.16-.23-.27-.12-.45-.3-.89-.54-1.3-.04-.11-.05-.24-.03-.35,.02-.12,.08-.23,.16-.32l.78-1.1h0s0-.03,0-.04l-.03-.02-.04-.04-.87-.87-.05-.05h0s-.02-.02-.03,0l-1.11,.78c-.09,.08-.2,.13-.32,.16-.12,.02-.24,.01-.35-.03-.41-.24-.84-.42-1.3-.54-.11-.05-.2-.13-.27-.23-.07-.1-.11-.22-.11-.34l-.22-1.33h0s-.01-.03-.02-.03h-1.41s-.02,0-.02,.02l-.23,1.34c0,.12-.04,.24-.11,.34-.07,.1-.16,.18-.27,.23-.45,.12-.89,.3-1.3,.54-.11,.04-.24,.05-.35,.03-.12-.02-.23-.08-.32-.16l-1.1-.78h0s-.02-.01-.03,0l-.02,.03-.04,.04-.87,.87-.05,.05h0s0,.03,0,.04l.78,1.11c.08,.09,.13,.2,.16,.32,.02,.12,.01,.24-.03,.35-.24,.4-.42,.84-.54,1.29-.05,.11-.13,.2-.23,.27-.1,.07-.22,.11-.34,.11l-1.33,.22h0s-.02,0-.02,.02v1.41s0,.02,.02,.02l1.34,.23c.12,0,.24,.05,.34,.11,.1,.07,.18,.16,.23,.27,.12,.45,.3,.89,.54,1.29,.04,.11,.05,.24,.03,.35-.02,.12-.08,.23-.16,.32l-.78,1.11s0,.02,0,.03h0l.05,.06,.87,.87,.04,.04,.02,.02s.02,0,.03,0h0l1.1-.79c.09-.08,.2-.13,.32-.16,.12-.02,.24-.01,.35,.03,.4,.24,.84,.42,1.29,.54,.11,.05,.2,.13,.27,.23,.07,.1,.11,.22,.11,.34l.23,1.34s0,.02,.02,.02h1.41s.02,0,.02-.02h0l.22-1.34c0-.12,.05-.24,.11-.34,.07-.1,.16-.18,.27-.23,.45-.12,.89-.3,1.29-.54,.11-.04,.24-.05,.35-.03,.12,.02,.23,.08,.32,.16l1.11,.78s.02,0,.03,0h0l.05-.06,.87-.87,.04-.04,.02-.02s0-.02,0-.03h0l-.78-1.11c-.08-.09-.13-.2-.16-.32-.02-.12-.01-.24,.03-.35,.24-.4,.42-.84,.54-1.29,.05-.11,.13-.2,.23-.27s.22-.11,.34-.11l1.34-.23s.02,0,.02-.02v-1.4s0-.02-.02-.02Zm-4.67,3.01c-.45,.45-1.03,.76-1.65,.88-.63,.12-1.27,.06-1.86-.18-.59-.24-1.09-.66-1.45-1.19-.35-.53-.54-1.15-.54-1.79s.19-1.26,.54-1.79c.35-.53,.86-.94,1.45-1.19,.59-.24,1.24-.31,1.86-.18,.63,.12,1.2,.43,1.65,.88,.3,.3,.54,.66,.7,1.05,.16,.39,.25,.81,.25,1.24s-.08,.84-.25,1.24c-.16,.39-.4,.75-.7,1.05Z"})}var we={__proto__:null,Squircle:function({color:e="#fff"}){return t.createElement("path",{fill:e,d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z"})},Accounts:ye,API:function({color:e}){return t.createElement("path",{fill:e,d:"M11.08,12.387a3.277,3.277,0,0,0,.21-.86l1.47-.23-.25-1.63-1.48.22A3.167,3.167,0,0,0,9.93,8.5l.54-1.37-1.54-.6L8.39,7.9a3.393,3.393,0,0,0-1.76.27l-.92-1.15-1.3,1.03.93,1.16a3.462,3.462,0,0,0-.43.78A3.333,3.333,0,0,0,4.69,11l-1.49.23.25,1.69,1.59-.24a3.278,3.278,0,0,0,1.02,1.2l-.54,1.39,1.55.6.54-1.39a3.319,3.319,0,0,0,1.74-.27l.93,1.17,1.3-1.04-.93-1.17A3.258,3.258,0,0,0,11.08,12.387ZM9.81,11.9A1.953,1.953,0,0,1,7.29,13a1.942,1.942,0,1,1,2.52-1.1Zm5.89-4.32a1.581,1.581,0,0,0,.04-.38,2.066,2.066,0,0,0-1.39-1.95v-.82H12.97v.82A2.066,2.066,0,0,0,11.58,7.2a1.581,1.581,0,0,0,.04.38l-.71.41.7,1.2.7-.4a2.073,2.073,0,0,0,2.7,0l.7.4.7-1.2Zm-2.04.67A1.045,1.045,0,1,1,14.7,7.2,1.041,1.041,0,0,1,13.66,8.247Z"})},Calendar:function({color:e}){return t.createElement("path",{fill:e,d:"M14.18,6.5h-.91V5.8a.55.55,0,0,0-.55-.55h-.26a.55.55,0,0,0-.55.55v.7H8.09V5.8a.55.55,0,0,0-.55-.55H7.28a.55.55,0,0,0-.55.55v.7H5.82a.58.58,0,0,0-.58.59v7.08a.58.58,0,0,0,.58.58h8.36a.58.58,0,0,0,.58-.58V7.09A.58.58,0,0,0,14.18,6.5Zm-.91,6.71H6.73V9.09h6.54Z"})},CheckIns:function({color:e}){return t.createElement("path",{fill:e,d:"M14.175,8.341,9.258,13.256a1.157,1.157,0,0,1-1.638,0L5.161,10.8A1.159,1.159,0,1,1,6.8,9.16L8.439,10.8l4.1-4.1a1.159,1.159,0,0,1,1.639,1.639Z"})},ChurchCenter:function({color:e}){return t.createElement("path",{fill:e,d:"M13.91,14.763a.334.334,0,0,1-.331.338l-1.959-.016a.334.334,0,0,1-.338-.331s.005-.233.005-1.8a3.674,3.674,0,0,0-1.279-2.638,3.674,3.674,0,0,0-1.279,2.638c0,1.565.005,1.8.005,1.8a.334.334,0,0,1-.338.331L6.437,15.1a.334.334,0,0,1-.331-.338s-.242-6.457-.02-6.65h0L9.671,5.021a.522.522,0,0,1,.684,0l3.58,3.092H13.93C14.152,8.325,13.91,14.763,13.91,14.763Z"})},Giving:function({color:e}){return t.createElement("path",{fill:e,d:"M10.3,13.769a.508.508,0,0,1-.592,0c-1.259-.888-5.982-4.494-3.268-6.83a2.386,2.386,0,0,1,3.215.205l.349.349.349-.349a2.386,2.386,0,0,1,3.215-.205C16.286,9.275,11.563,12.881,10.3,13.769Z"})},Groups:function({color:e}){return t.createElement("path",{fill:e,d:"M13.769,11.313V8.683a1.867,1.867,0,1,0-2.443-2.449H8.69A1.867,1.867,0,1,0,6.243,8.681v2.632A1.867,1.867,0,1,0,8.69,13.76h2.632a1.867,1.867,0,1,0,2.447-2.447Zm-1.455,0a1.873,1.873,0,0,0-.992.992H8.69a1.877,1.877,0,0,0-.992-.992V8.681a1.877,1.877,0,0,0,.992-.992h2.636a1.872,1.872,0,0,0,.988.99Z"})},Home:function({color:e}){return t.createElement("path",{fill:e,d:"M14.7619 8.93233C14.7619 8.72768 14.6587 8.53243 14.4775 8.39414L10.5927 5.43C10.2573 5.17413 9.74265 5.17413 9.40731 5.42999L5.52252 8.39414C5.34128 8.53243 5.2381 8.72768 5.2381 8.93233V13.0794C5.2381 13.4827 5.63079 13.8095 6.11521 13.8095H13.8848C14.3692 13.8095 14.7619 13.4826 14.7619 13.0794V8.93233Z"})},People:function({color:e}){return t.createElement("path",{fill:e,d:"M8.177,5.732A2.018,2.018,0,1,1,6.159,7.75,2.019,2.019,0,0,1,8.177,5.732Zm2.494,8.53H5.664A.565.565,0,0,1,5.1,13.7V12.422a1.841,1.841,0,0,1,1.841-1.841H9.394a1.841,1.841,0,0,1,1.841,1.841V13.7A.565.565,0,0,1,10.671,14.262ZM12.814,6.94A1.513,1.513,0,1,1,11.3,8.453,1.513,1.513,0,0,1,12.814,6.94Zm1.537,6.093H12.413a.565.565,0,0,1-.565-.565v-.049a2.292,2.292,0,0,0-.2-.957.555.555,0,0,0-.062-.141.8.8,0,0,0-.061-.11,1.19,1.19,0,0,0-.092-.16,1.131,1.131,0,0,1,.908-.472h1.472a1.108,1.108,0,0,1,1.105,1.1v.785A.565.565,0,0,1,14.351,13.033Z"})},Publishing:function({color:e}){return t.createElement("path",{fill:e,d:"M7.287,13.575a.478.478,0,0,1-.477.477H5.856a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H6.81a.478.478,0,0,1,.477.477Zm7.293,0a.477.477,0,0,1-.477.477H9.268a.478.478,0,0,1-.477-.477V12.6a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Zm0-3.473a.477.477,0,0,1-.476.477H9.268a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Z"})},Registrations:function({color:e}){return t.createElement("path",{fill:e,d:"M4.48,11.09a.51.51,0,0,0,0,.71l.7.7a.22.22,0,0,0,.27,0,1.47,1.47,0,0,1,1.8.22,1.5,1.5,0,0,1,.23,1.81.21.21,0,0,0,0,.27l.7.7a.51.51,0,0,0,.71,0l2-2a.16.16,0,0,0,0-.22L6.7,9.1a.17.17,0,0,0-.23,0Zm11-2.89-.71-.7a.21.21,0,0,0-.26,0,1.47,1.47,0,0,1-1.79-.23,1.49,1.49,0,0,1-.24-1.79.22.22,0,0,0,0-.27l-.7-.7a.51.51,0,0,0-.71,0L7.47,8.11a.14.14,0,0,0,0,.22l4.2,4.2a.14.14,0,0,0,.22,0l3.63-3.62A.51.51,0,0,0,15.52,8.2Z"})},Services:function({color:e}){return t.createElement("path",{fill:e,d:"M6.5,6.559A1.059,1.059,0,1,1,5.443,5.5,1.059,1.059,0,0,1,6.5,6.559ZM5.443,8.943A1.059,1.059,0,1,0,6.5,10,1.059,1.059,0,0,0,5.443,8.943Zm0,3.443A1.059,1.059,0,1,0,6.5,13.445,1.059,1.059,0,0,0,5.443,12.386ZM15,6.087a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485V7.03a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,7.03ZM15,9.53a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,10.473Zm0,3.443a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,13.916Z"})}};const ke=["appName","colors","style","size"];function xe({color:e="#fff"}){return t.createElement("path",{d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:e})}function Ae(e){let{appName:n,colors:a,style:l,size:o=20}=e,r=X(e,ke);return t.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 20 20",role:"img","aria-labelledby":"title desc",style:J({display:"block"},l)},r),t.createElement("title",{id:"title"},"Planning Center ",n," App Icon"),t.createElement("desc",{id:"desc"},"An image symbolizing the Planning Center ",n," app."),"Accounts"===n?null:t.createElement(xe,null),we[n]?t.createElement(we[n],{color:"Accounts"!=n?a.base0:"#fff"}):t.createElement("div",null,"appName not supported"))}var Ze={__proto__:null,Accounts:function({color:e,size:n=20}){return t.createElement("svg",{"data-name":"Layer 1",height:n,id:"4ce749c7-c01e-4a9b-9496-b14fd2e761aa",viewBox:"0 0 77.073 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"accounts-text"),t.createElement("path",{fill:e,d:"M4.729,5.537A10.859,10.859,0,0,0,1.262,6.1a.566.566,0,0,0-.4.717l.194.819a.579.579,0,0,0,.7.5,10.108,10.108,0,0,1,2.748-.47,1.416,1.416,0,0,1,1.065.349A2.307,2.307,0,0,1,6,9.682,7.706,7.706,0,0,0,4.1,9.418c-2.493,0-4.1,1.305-4.1,3.327a3.2,3.2,0,0,0,3.328,3.434,4.385,4.385,0,0,0,3.011-1.161l.181.509c.1.249.231.415.515.415h.712a.6.6,0,0,0,.59-.589v-5.3C8.337,7.581,8.065,5.537,4.729,5.537ZM3.78,14.181a1.343,1.343,0,0,1-1.436-1.459c0-.91.777-1.522,1.932-1.522a4.726,4.726,0,0,1,1.7.3v1.556A2.983,2.983,0,0,1,3.78,14.181ZM18.6,13.194c.4.361.326.669.2.865a4.646,4.646,0,0,1-3.977,2.12,5.2,5.2,0,0,1-5.2-5.31,5.285,5.285,0,0,1,5.225-5.332,4.461,4.461,0,0,1,3.711,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.64.056-.806-.11A2.909,2.909,0,0,0,14.9,7.816,2.938,2.938,0,0,0,12,10.847,2.921,2.921,0,0,0,14.837,13.9a2.623,2.623,0,0,0,2.03-.965c.082-.081.161-.16.241-.233a.574.574,0,0,1,.819-.049Zm9.661,0c.4.361.326.669.2.865a4.644,4.644,0,0,1-3.976,2.12,5.2,5.2,0,0,1-5.2-5.31A5.286,5.286,0,0,1,24.5,5.537a4.459,4.459,0,0,1,3.71,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.641.056-.806-.11a2.779,2.779,0,0,0-4.869,2.073A2.92,2.92,0,0,0,24.5,13.9a2.625,2.625,0,0,0,2.03-.965c.081-.081.161-.16.241-.233a.573.573,0,0,1,.818-.049Zm5.86-7.657A5.323,5.323,0,1,0,39.3,10.826,5.317,5.317,0,0,0,34.117,5.537Zm2.838,5.289a2.857,2.857,0,1,1-5.7,0,2.853,2.853,0,1,1,5.7,0ZM49.346,6.341v9.012a.616.616,0,0,1-.612.589h-.517c-.34,0-.474-.245-.561-.485l-.2-.536a4.084,4.084,0,0,1-3.1,1.258c-3.388,0-3.823-2.5-3.823-4.685V6.341a.621.621,0,0,1,.59-.588h1.207a.6.6,0,0,1,.59.588v5.3c0,1.539.58,2.256,1.825,2.256a2.357,2.357,0,0,0,2.214-1.544l0-6.016c0-.544.349-.588.676-.588h1.1A.624.624,0,0,1,49.346,6.341Zm11.089,4.01v5a.605.605,0,0,1-.591.589H58.637a.6.6,0,0,1-.59-.589V10.265c0-1.579-.655-2.449-1.846-2.449a2.939,2.939,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.6.6,0,0,1-.59-.589V6.341a.6.6,0,0,1,.59-.588h.518a.5.5,0,0,1,.522.391l.235.67a4.691,4.691,0,0,1,3.3-1.277C59.134,5.537,60.435,7.111,60.435,10.351Zm8.048,4.379a.556.556,0,0,1-.283.721,6.126,6.126,0,0,1-2.822.728c-2.337,0-2.637-1.651-2.637-3.09V7.816H61.713a.6.6,0,0,1-.589-.59V6.341a.569.569,0,0,1,.589-.588h1.028V3.088a.59.59,0,0,1,.59-.59h1.228a.573.573,0,0,1,.568.59V5.753h2.515a.582.582,0,0,1,.59.588v.885a.613.613,0,0,1-.59.59H65.127V13c0,.828.323.9.683.9a3.241,3.241,0,0,0,1.536-.458.523.523,0,0,1,.431-.064.558.558,0,0,1,.317.335Zm7.869-1.576c0,1.5-1.262,3.025-3.672,3.025a5.927,5.927,0,0,1-3.343-1.033h0a.523.523,0,0,1-.208-.663l.452-.926a.494.494,0,0,1,.3-.254.635.635,0,0,1,.505.076l.032.017a4.485,4.485,0,0,0,2.389.7c.74,0,1.2-.328,1.2-.855,0-.58-.666-.985-2.066-1.618-1.435-.648-2.763-1.49-2.763-3.253,0-1.41,1.056-2.832,3.414-2.832a5.7,5.7,0,0,1,2.973.752.706.706,0,0,1,.256.882l-.344.689a.582.582,0,0,1-.8.247,5.057,5.057,0,0,0-2.087-.485c-.8,0-1.156.385-1.156.768,0,.546.574.9,1.633,1.361C75.052,10.588,76.352,11.279,76.352,13.154Z"}))},API:function({color:e,size:n=20}){return t.createElement("svg",{"data-name":"Layer 1",height:n,id:"bed028ef-58ee-4c4c-a757-08ecc3276857",viewBox:"0 0 119.5 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"api-text"),t.createElement("path",{fill:e,d:"M9.136.675H7.908a.621.621,0,0,0-.59.589V5.5a6.9,6.9,0,0,0-2.384-.469A5.013,5.013,0,0,0,.012,10.343c0,2.989,2.048,5.331,4.663,5.331a4.885,4.885,0,0,0,3.22-1.3l.16.543a.591.591,0,0,0,.564.519h.517a.6.6,0,0,0,.59-.59V1.264A.6.6,0,0,0,9.136.675ZM7.34,7.847v4.175A2.745,2.745,0,0,1,4.978,13.4,2.815,2.815,0,0,1,2.4,10.343a2.913,2.913,0,0,1,2.772-3.03A4.941,4.941,0,0,1,7.34,7.847Zm8.833-2.813A5.081,5.081,0,0,0,11.1,10.343a5.046,5.046,0,0,0,5.094,5.331,5.712,5.712,0,0,0,3.761-1.256.512.512,0,0,0,.064-.819l-.582-.906a.467.467,0,0,0-.3-.22.619.619,0,0,0-.45.147,3.737,3.737,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.755a.578.578,0,0,0,.566-.532c.023-.175.045-.524.045-.7A4.571,4.571,0,0,0,16.173,5.034ZM16.13,7.1a2.23,2.23,0,0,1,2.334,2.032H13.591A2.411,2.411,0,0,1,16.13,7.1ZM30.587,5.982l-4.3,9.366a.561.561,0,0,1-.515.326h-.129a.59.59,0,0,1-.534-.323l-4.31-9.373a.484.484,0,0,1-.024-.49.542.542,0,0,1,.493-.239h1.315a.543.543,0,0,1,.534.344l2.571,5.914,2.7-5.91c.161-.348.486-.348.773-.348h.97a.544.544,0,0,1,.494.239A.488.488,0,0,1,30.587,5.982Zm4.983-.948A5.081,5.081,0,0,0,30.5,10.343a5.045,5.045,0,0,0,5.094,5.331,5.706,5.706,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.582-.906a.467.467,0,0,0-.3-.22.616.616,0,0,0-.45.147,3.738,3.738,0,0,1-2.369.818,2.819,2.819,0,0,1-2.854-2.484h6.755a.58.58,0,0,0,.567-.532c.023-.175.044-.524.044-.7A4.57,4.57,0,0,0,35.57,5.034ZM35.527,7.1a2.23,2.23,0,0,1,2.334,2.032H32.988A2.413,2.413,0,0,1,35.527,7.1Zm8.426-5.833V14.847a.606.606,0,0,1-.59.59H42.156a.6.6,0,0,1-.59-.59V1.264a.606.606,0,0,1,.59-.589h1.207A.621.621,0,0,1,43.953,1.264Zm6.576,3.77a5.322,5.322,0,1,0,5.18,5.287A5.315,5.315,0,0,0,50.529,5.034Zm2.836,5.287a2.856,2.856,0,1,1-5.695,0,2.852,2.852,0,1,1,5.7,0Zm8.65-5.287a4.76,4.76,0,0,0-3.08,1.1l-.2-.487a.523.523,0,0,0-.539-.4h-.539a.606.606,0,0,0-.59.59V19.422a.6.6,0,0,0,.59.59h1.207a.58.58,0,0,0,.633-.59V15.066a5.6,5.6,0,0,0,2.427.608,5.075,5.075,0,0,0,4.9-5.331A5.026,5.026,0,0,0,62.015,5.034Zm2.427,5.309A2.9,2.9,0,0,1,61.648,13.4a4.112,4.112,0,0,1-2.19-.678v-4.1a2.628,2.628,0,0,1,2.277-1.3A2.787,2.787,0,0,1,64.442,10.343ZM72.73,5.034a5.081,5.081,0,0,0-5.073,5.309,5.046,5.046,0,0,0,5.095,5.331,5.711,5.711,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.583-.906a.463.463,0,0,0-.3-.22.61.61,0,0,0-.45.147,3.735,3.735,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.754a.577.577,0,0,0,.567-.532c.023-.178.045-.527.045-.7A4.57,4.57,0,0,0,72.73,5.034ZM72.687,7.1a2.23,2.23,0,0,1,2.334,2.032H70.147A2.413,2.413,0,0,1,72.687,7.1ZM85.434,5.6a.518.518,0,0,1,.009.524L84.926,7.2a.584.584,0,0,1-.334.323.543.543,0,0,1-.424-.032,2.366,2.366,0,0,0-.854-.181A2.734,2.734,0,0,0,81.08,8.561v6.286c0,.59-.485.59-.8.59h-.991a.6.6,0,0,1-.59-.59V5.839a.605.605,0,0,1,.59-.59H79.8a.576.576,0,0,1,.544.435l.213.688a3.921,3.921,0,0,1,2.971-1.338C84.277,5.034,85.17,5.183,85.434,5.6Zm11.8-5.4a.621.621,0,0,0-.469-.3h-.216a.62.62,0,0,0-.472.305l-6.615,14.5a.508.508,0,0,0,.02.5.517.517,0,0,0,.451.229h1.357a.652.652,0,0,0,.6-.392l1.284-2.884h6.9l1.306,2.884a.618.618,0,0,0,.6.392h1.358a.517.517,0,0,0,.451-.229.508.508,0,0,0,.021-.494Zm1.916,9.871H94.116l2.5-5.627ZM110.327.12h-4.913a.526.526,0,0,0-.526.525V14.912a.526.526,0,0,0,.526.525h1.4a.54.54,0,0,0,.525-.525V9.963h3.009A4.922,4.922,0,1,0,110.327.12Zm2.493,4.856a2.563,2.563,0,0,1-2.536,2.643H107.34V2.507h2.944A2.476,2.476,0,0,1,112.82,4.976ZM119.087.645V14.912a.54.54,0,0,1-.526.525h-1.422a.54.54,0,0,1-.525-.525V.645a.539.539,0,0,1,.525-.525h1.422A.539.539,0,0,1,119.087.645Z"}))},Calendar:function({color:e,size:n=20}){return t.createElement("svg",{"data-name":"Layer 1",height:n,id:"Layer_1",viewBox:"0 0 73.83 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"calendar-text"),t.createElement("path",{fill:e,d:"M9,12.56c.39.36.32.66.19.85a4.65,4.65,0,0,1-4,2.12A5.21,5.21,0,0,1,0,10.21,5.3,5.3,0,0,1,5.23,4.87,4.49,4.49,0,0,1,9,6.64a.6.6,0,0,1-.1.85l-.78.71c-.35.33-.61.07-.78-.11a3,3,0,0,0-2-1,3,3,0,0,0-2.94,3.06,3,3,0,0,0,2.87,3.09,2.63,2.63,0,0,0,2.05-1l.25-.23A.55.55,0,0,1,8.32,12Zm9.25-3.17v5.33a.59.59,0,0,1-.57.57H17c-.27,0-.4-.16-.5-.4l-.19-.54a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,9.91,12.1c0-2,1.61-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.44,1.44,0,0,0,14.43,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,11,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C18,4.87,18.25,6.92,18.25,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,15.91,12.42ZM22,.47H20.79a.6.6,0,0,0-.58.57V14.72a.59.59,0,0,0,.58.57H22a.59.59,0,0,0,.57-.57V1A.61.61,0,0,0,22,.47ZM33.75,9.56c0,.18,0,.53,0,.71a.57.57,0,0,1-.55.52H26.35a2.84,2.84,0,0,0,2.89,2.53,3.84,3.84,0,0,0,2.39-.82.57.57,0,0,1,.43-.15.45.45,0,0,1,.29.21l.58.92a.48.48,0,0,1-.06.79,5.67,5.67,0,0,1-3.76,1.26A5.05,5.05,0,0,1,24,10.19a5.1,5.1,0,0,1,5.08-5.32A4.58,4.58,0,0,1,33.75,9.56ZM26.46,9h4.95A2.27,2.27,0,0,0,29,6.91,2.45,2.45,0,0,0,26.46,9Zm13.8-4.12a4.72,4.72,0,0,0-3.32,1.3l-.24-.7a.48.48,0,0,0-.51-.38h-.52a.59.59,0,0,0-.57.57v9.06a.58.58,0,0,0,.57.57h1.11c.45,0,.68-.19.68-.57V8.5A3,3,0,0,1,40,7.13c1.21,0,1.88.88,1.88,2.48v5.11a.58.58,0,0,0,.57.57h1.21a.6.6,0,0,0,.58-.57v-5C44.24,6.45,42.94,4.87,40.26,4.87ZM55.29,1V14.72a.58.58,0,0,1-.57.57H54.2a.57.57,0,0,1-.55-.5l-.17-.58a4.89,4.89,0,0,1-3.24,1.32c-2.62,0-4.67-2.34-4.67-5.34A5,5,0,0,1,50.5,4.87a6.85,6.85,0,0,1,2.39.48h0V1a.61.61,0,0,1,.58-.57h1.23A.59.59,0,0,1,55.29,1ZM52.93,11.88V7.67a5,5,0,0,0-2.19-.54,2.94,2.94,0,0,0-2.81,3.06,2.85,2.85,0,0,0,2.61,3.09A2.76,2.76,0,0,0,52.93,11.88Zm12-2.49v5.33a.59.59,0,0,1-.57.57h-.72c-.27,0-.39-.16-.5-.4L63,14.35a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,56.6,12.1c0-2,1.62-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.42,1.42,0,0,0,61.12,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,57.67,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C64.67,4.87,64.94,6.92,64.94,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,62.6,12.42Zm11-7c-.26-.42-1.18-.57-1.9-.57a4,4,0,0,0-3,1.37l-.23-.73A.56.56,0,0,0,68,5.09h-.52a.59.59,0,0,0-.58.57v9.06a.58.58,0,0,0,.58.57h1c.32,0,.79,0,.79-.57V8.4A2.77,2.77,0,0,1,71.5,7.13a2.47,2.47,0,0,1,.86.18.5.5,0,0,0,.41,0A.56.56,0,0,0,73.1,7l.52-1.09A.48.48,0,0,0,73.61,5.44Z"}))},CheckIns:function({color:e,size:n=20}){return t.createElement("svg",{"data-name":"Layer 1",height:n,id:"dc713595-39c2-41c4-b1d9-3ef8c295b738",viewBox:"0 0 79.311 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"check-ins-text"),t.createElement("path",{fill:e,d:"M40.221,13.213c.4.362.326.669.2.866A4.646,4.646,0,0,1,36.44,16.2a5.2,5.2,0,0,1-5.2-5.311,5.286,5.286,0,0,1,5.225-5.331,4.462,4.462,0,0,1,3.711,1.768.605.605,0,0,1-.1.869L39.3,8.9c-.362.333-.64.055-.806-.109a2.9,2.9,0,0,0-1.967-.959,2.937,2.937,0,0,0-2.9,3.031,2.92,2.92,0,0,0,2.837,3.054,2.62,2.62,0,0,0,2.03-.965c.082-.081.162-.16.242-.234a.572.572,0,0,1,.818-.049h0Zm-9.679-2.971c0,.178-.022.526-.044.7a.579.579,0,0,1-.567.531H23.174a2.82,2.82,0,0,0,2.855,2.485,3.736,3.736,0,0,0,2.369-.818.609.609,0,0,1,.45-.147.459.459,0,0,1,.3.219l.583.907a.513.513,0,0,1-.065.819A5.708,5.708,0,0,1,25.9,16.2a5.046,5.046,0,0,1-5.1-5.332,5.081,5.081,0,0,1,5.074-5.31A4.572,4.572,0,0,1,30.542,10.242ZM23.3,9.653h4.874A2.23,2.23,0,0,0,25.835,7.62,2.412,2.412,0,0,0,23.3,9.653Zm-7.751-4.1a4.789,4.789,0,0,0-2.773.924V2.339a.621.621,0,0,0-.59-.588H10.974a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589H12.16a.575.575,0,0,0,.611-.589V9.193a2.871,2.871,0,0,1,2.493-1.357c1.2,0,1.867.884,1.867,2.492v5.045a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C19.518,7.221,18.144,5.557,15.544,5.557ZM8.315,12.674h0a.573.573,0,0,0-.818.049c-.08.074-.16.154-.242.235a2.624,2.624,0,0,1-2.029.964,2.92,2.92,0,0,1-2.838-3.054,2.938,2.938,0,0,1,2.9-3.031A2.906,2.906,0,0,1,7.257,8.8c.166.164.444.442.8.109l.775-.71a.6.6,0,0,0,.1-.869A4.464,4.464,0,0,0,5.225,5.557,5.285,5.285,0,0,0,0,10.888,5.2,5.2,0,0,0,5.2,16.2a4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM55.084,9.566h-4.1a.514.514,0,0,0-.525.525v.926a.51.51,0,0,0,.525.5h4.1a.51.51,0,0,0,.526-.5v-.926A.514.514,0,0,0,55.084,9.566Zm20.945.2C74.97,9.308,74.4,8.955,74.4,8.41c0-.383.357-.769,1.156-.769a5.059,5.059,0,0,1,2.087.486.581.581,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.882,5.705,5.705,0,0,0-2.973-.751c-2.358,0-3.413,1.422-3.413,2.831,0,1.764,1.327,2.606,2.762,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.39-.7l-.031-.018a.629.629,0,0,0-.506-.075.494.494,0,0,0-.3.254l-.452.926a.523.523,0,0,0,.21.664A5.935,5.935,0,0,0,75.639,16.2c2.41,0,3.672-1.522,3.672-3.025C79.311,11.3,78.011,10.609,76.029,9.769Zm-9.2-4.212a4.687,4.687,0,0,0-3.3,1.277l-.235-.67a.5.5,0,0,0-.522-.392h-.517a.605.605,0,0,0-.591.59v9.011a.591.591,0,0,0,.591.589h1.1c.469,0,.7-.193.7-.589V9.19A2.934,2.934,0,0,1,66.57,7.836c1.191,0,1.846.87,1.846,2.45v5.087a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C70.8,7.131,69.5,5.557,66.829,5.557Zm-8.3-4.275a1.543,1.543,0,0,0-1.538,1.581,1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm-12.215,9.1,3.949-3.716a.548.548,0,0,0,.14-.588.484.484,0,0,0-.476-.3H48.355a1.063,1.063,0,0,0-.7.331L44.008,9.4V2.339a.62.62,0,0,0-.59-.588H42.211a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V11.329l3.783,4.4a.711.711,0,0,0,.542.237H50.1a.468.468,0,0,0,.461-.256.561.561,0,0,0-.094-.582ZM59.135,5.772H57.928a.605.605,0,0,0-.59.59v9.011a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V6.362A.621.621,0,0,0,59.135,5.772Z"}))},ChurchCenter:function({color:e,size:n=20}){return t.createElement("svg",{"data-name":"Layer 1",height:n,id:"e2e8a225-c349-4aea-935c-64b6ad436be8",viewBox:"0 0 118.083 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"church-center-text"),t.createElement("path",{fill:e,d:"M5.188,16.2A5.187,5.187,0,0,1,0,10.908,5.27,5.27,0,0,1,5.209,5.591a4.453,4.453,0,0,1,3.7,1.762.588.588,0,0,1-.1.844l-.776.712c-.346.319-.607.062-.779-.109a2.93,2.93,0,0,0-1.983-.966A2.959,2.959,0,0,0,2.35,10.887a2.942,2.942,0,0,0,2.859,3.076,2.642,2.642,0,0,0,2.045-.971c.082-.081.162-.16.242-.234a.552.552,0,0,1,.794-.047l.669.539c.388.352.318.651.193.841A4.629,4.629,0,0,1,5.188,16.2ZM19.5,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.788,4.788,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H10.964a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572H12.15a.558.558,0,0,0,.593-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,19.5,15.4Zm8.7-.468.2.566c.09.246.218.474.544.474h.518a.6.6,0,0,0,.592-.572V6.378a.612.612,0,0,0-.592-.57h-1.1c-.332,0-.657.044-.657.57l0,6.023a2.38,2.38,0,0,1-2.236,1.562c-1.259,0-1.845-.723-1.845-2.277V6.378a.585.585,0,0,0-.571-.57H21.843a.6.6,0,0,0-.57.57v5.156c0,2.175.433,4.67,3.807,4.67A4.06,4.06,0,0,0,28.193,14.928Zm6.2.468V9.1A2.755,2.755,0,0,1,36.65,7.834a2.382,2.382,0,0,1,.863.184.53.53,0,0,0,.41.032.571.571,0,0,0,.324-.315l.518-1.077a.5.5,0,0,0-.009-.507c-.259-.413-1.18-.56-1.89-.56a3.975,3.975,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C33.922,15.968,34.4,15.968,34.4,15.4Zm13.35-1.305c.125-.19.2-.489-.193-.841l-.669-.539a.552.552,0,0,0-.794.047c-.08.074-.16.153-.242.234a2.642,2.642,0,0,1-2.044.971,2.942,2.942,0,0,1-2.86-3.076,2.959,2.959,0,0,1,2.924-3.053A2.93,2.93,0,0,1,45.85,8.8c.172.171.433.428.779.109l.776-.712a.588.588,0,0,0,.1-.844,4.452,4.452,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,47.745,14.091ZM58.089,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.79,4.79,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H49.557a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.187a.557.557,0,0,0,.592-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,58.089,15.4Zm12.926-1.305c.126-.19.2-.489-.192-.841l-.669-.539a.553.553,0,0,0-.8.047c-.08.074-.159.153-.242.234a2.64,2.64,0,0,1-2.044.971,2.941,2.941,0,0,1-2.859-3.076A2.8,2.8,0,0,1,69.121,8.8c.171.171.433.428.778.109l.777-.712a.587.587,0,0,0,.1-.844,4.449,4.449,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,71.015,14.091Zm10.247-3.83c0,.177-.022.525-.044.7a.562.562,0,0,1-.549.516H73.887a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.436-.143.447.447,0,0,1,.283.212l.584.907a.492.492,0,0,1-.063.794A5.7,5.7,0,0,1,76.634,16.2a5.031,5.031,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.558,4.558,0,0,1,81.262,10.261Zm-2.335-.57a2.251,2.251,0,0,0-2.358-2.073,2.433,2.433,0,0,0-2.564,2.073ZM91.707,15.4V10.391c0-3.23-1.3-4.8-3.959-4.8a4.657,4.657,0,0,0-3.306,1.3l-.246-.7a.479.479,0,0,0-.5-.376h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.1c.457,0,.679-.187.679-.572V9.2a2.96,2.96,0,0,1,2.536-1.37c1.2,0,1.867.877,1.867,2.471V15.4a.58.58,0,0,0,.571.572h1.208A.594.594,0,0,0,91.707,15.4Zm7.779.081a.538.538,0,0,0,.277-.7l-.389-1.014a.537.537,0,0,0-.306-.325.493.493,0,0,0-.415.061,3.249,3.249,0,0,1-1.548.462c-.445,0-.7-.15-.7-.918V7.834h2.536a.594.594,0,0,0,.571-.571V6.378a.564.564,0,0,0-.571-.57H96.4V3.12a.555.555,0,0,0-.549-.571h-1.23a.579.579,0,0,0-.571.571V5.808H93.005a.552.552,0,0,0-.571.57v.885a.579.579,0,0,0,.571.571h1.048v5.3c0,1.431.3,3.073,2.62,3.073A6.067,6.067,0,0,0,99.486,15.477Zm10.11-5.216c0,.177-.022.525-.044.7a.561.561,0,0,1-.549.516h-6.782a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.437-.143.446.446,0,0,1,.282.212l.584.907a.491.491,0,0,1-.063.794,5.7,5.7,0,0,1-3.752,1.252,5.032,5.032,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.557,4.557,0,0,1,109.6,10.261Zm-2.335-.57A2.25,2.25,0,0,0,104.9,7.618a2.434,2.434,0,0,0-2.565,2.073Zm6.026,5.705V9.1a2.755,2.755,0,0,1,2.255-1.265,2.388,2.388,0,0,1,.864.184.528.528,0,0,0,.409.032.568.568,0,0,0,.324-.315l.519-1.077a.5.5,0,0,0-.009-.507c-.26-.413-1.181-.56-1.891-.56a3.977,3.977,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C112.814,15.968,113.287,15.968,113.287,15.4Z"}))},Giving:function({color:e,size:n=20}){return t.createElement("svg",{"data-name":"Layer 1",height:n,id:"a221b42b-722d-4eb3-b043-fff7f3c6686f",viewBox:"0 0 50.486 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"giving-text"),t.createElement("path",{fill:e,d:"M9.17,5.089H8.588c-.335,0-.42.255-.474.416l-.2.473a4.791,4.791,0,0,0-3.1-1.1A5.026,5.026,0,0,0,0,10.184a5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.089Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.973,2.973,0,0,1-2.8-3.054A2.82,2.82,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.467Zm6.745-2.788v9.01a.6.6,0,0,1-.59.589H12.321a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,14.118,5.679Zm.388-3.508A1.572,1.572,0,0,1,12.924,3.73a1.532,1.532,0,0,1-1.538-1.559A1.543,1.543,0,0,1,12.924.59,1.564,1.564,0,0,1,14.506,2.171Zm10.3,3.156a.49.49,0,0,1-.027.5l-4.307,9.367a.558.558,0,0,1-.514.327h-.13a.6.6,0,0,1-.534-.323L14.984,5.817a.487.487,0,0,1-.025-.49.545.545,0,0,1,.494-.238h1.315a.547.547,0,0,1,.535.344l2.572,5.917,2.7-5.913c.16-.348.486-.348.773-.348h.97A.545.545,0,0,1,24.807,5.327Zm3.249.352v9.01a.6.6,0,0,1-.59.589H26.259a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,28.056,5.679Zm.388-3.508A1.572,1.572,0,0,1,26.863,3.73a1.532,1.532,0,0,1-1.539-1.559A1.544,1.544,0,0,1,26.863.59,1.564,1.564,0,0,1,28.444,2.171Zm10.69,7.517v5a.6.6,0,0,1-.59.589H37.337a.59.59,0,0,1-.59-.589V9.6c0-1.581-.655-2.451-1.846-2.451a2.938,2.938,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h.517a.5.5,0,0,1,.522.391l.235.67a4.692,4.692,0,0,1,3.3-1.276C37.834,4.874,39.134,6.448,39.134,9.688Zm10.456-4.6h-.582c-.336,0-.42.255-.473.416l-.2.473a4.777,4.777,0,0,0-3.1-1.1,5.026,5.026,0,0,0-4.815,5.31,5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,45.451,20a4.407,4.407,0,0,0,4.729-4.771V5.679A.605.605,0,0,0,49.59,5.089Zm-1.8,7.409a3.944,3.944,0,0,1-2.19.74,2.973,2.973,0,0,1-2.795-3.054,2.693,2.693,0,0,1,4.985-1.717Z"}))},Home:function({color:e,size:n=20}){return t.createElement("svg",{id:"a221b42b-722d-4eb3-b043-fff7f3c6686f","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:n,viewBox:"0 0 47.624 20"},t.createElement("title",null,"home-text"),t.createElement("path",{fill:e,d:"M8.952,9.7V14.69a.584.584,0,0,1-.553.57H7.229a.57.57,0,0,1-.553-.57V9.658c0-1.616-.649-2.506-1.827-2.506A2.791,2.791,0,0,0,2.414,8.52v6.17a.547.547,0,0,1-.573.57H.692a.569.569,0,0,1-.553-.57v-13a.583.583,0,0,1,.553-.569H1.861a.6.6,0,0,1,.553.569V5.857a4.544,4.544,0,0,1,2.706-.94C7.627,4.917,8.952,6.571,8.952,9.7Zm11.261.473a5.239,5.239,0,0,1-5,5.322,5.185,5.185,0,0,1-5.022-5.322A5.213,5.213,0,0,1,15.21,4.917,5.2,5.2,0,0,1,20.213,10.174Zm-2.234,0a2.789,2.789,0,1,0-5.558,0,2.884,2.884,0,0,0,2.789,3.087A2.876,2.876,0,0,0,17.979,10.174Zm14.59-5.257a4.475,4.475,0,0,0-3.248,1.519,3.34,3.34,0,0,0-2.956-1.519,4.128,4.128,0,0,0-3.031,1.289L23.111,5.5a.487.487,0,0,0-.506-.367h-.48a.584.584,0,0,0-.553.569V14.69a.57.57,0,0,0,.553.57h1.169a.577.577,0,0,0,.553-.57V8.512a2.367,2.367,0,0,1,2.184-1.36c1.216,0,1.808.806,1.808,2.463V14.69a.555.555,0,0,0,.552.57h1.191a.559.559,0,0,0,.532-.57V9.551a10.249,10.249,0,0,0-.077-1.3l.06-.064a2.793,2.793,0,0,1,2.159-1.034c1.2,0,1.807.829,1.807,2.463V14.69a.538.538,0,0,0,.553.57h1.17a.549.549,0,0,0,.553-.57V9.7C36.339,7.647,35.948,4.917,32.569,4.917ZM47.042,9.572c0,.176-.021.523-.043.7a.549.549,0,0,1-.531.514H39.9A2.778,2.778,0,0,0,42.687,13.3a3.573,3.573,0,0,0,2.306-.82.6.6,0,0,1,.422-.144.431.431,0,0,1,.274.211l.566.9a.5.5,0,0,1-.061.791A5.416,5.416,0,0,1,42.562,15.5c-2.85,0-4.919-2.229-4.919-5.3a4.988,4.988,0,0,1,4.9-5.279A4.479,4.479,0,0,1,47.042,9.572ZM40.016,9h4.765A2.2,2.2,0,0,0,42.5,6.937,2.375,2.375,0,0,0,40.016,9Z"}))},Groups:function({color:e,size:n=20}){return t.createElement("svg",{"data-name":"Layer 1",height:n,id:"08e4075e-8ca4-4400-a3ae-98f53270d1d0",viewBox:"0 0 58.688 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"groups-text"),t.createElement("path",{fill:e,d:"M9.17,5.09H8.588c-.335,0-.42.255-.474.416l-.2.472a4.791,4.791,0,0,0-3.1-1.1A5.027,5.027,0,0,0,0,10.185a5.085,5.085,0,0,0,4.923,5.332,5.465,5.465,0,0,0,2.428-.63v.342c0,2.113-1.285,2.557-2.363,2.557a3.631,3.631,0,0,1-2.259-.9.568.568,0,0,0-.473-.115.556.556,0,0,0-.366.3l-.516.947a.574.574,0,0,0,.126.7A5.487,5.487,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.09Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.972,2.972,0,0,1-2.8-3.053A2.821,2.821,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.468Zm11.092-2.5-.517,1.077a.588.588,0,0,1-.335.323.535.535,0,0,1-.424-.032,2.351,2.351,0,0,0-.854-.183A2.738,2.738,0,0,0,14.1,8.4v6.288c0,.59-.485.59-.806.59H12.3a.6.6,0,0,1-.59-.59V5.679a.6.6,0,0,1,.59-.589h.517a.574.574,0,0,1,.544.434l.213.688A3.931,3.931,0,0,1,16.55,4.874c.749,0,1.642.149,1.9.568A.517.517,0,0,1,18.465,5.967Zm4.994-1.093a5.323,5.323,0,0,0,0,10.643,5.323,5.323,0,0,0,0-10.643Zm0,8.364A2.907,2.907,0,0,1,20.6,10.163a2.852,2.852,0,1,1,5.7,0A2.9,2.9,0,0,1,23.459,13.238ZM38.688,5.679v9.01a.616.616,0,0,1-.611.59H37.56c-.34,0-.475-.246-.561-.486l-.2-.535a4.082,4.082,0,0,1-3.1,1.259c-3.389,0-3.824-2.5-3.824-4.686V5.679a.621.621,0,0,1,.59-.589h1.207a.605.605,0,0,1,.591.589v5.3c0,1.539.579,2.256,1.824,2.256A2.356,2.356,0,0,0,36.3,11.694l0-6.015c0-.544.334-.589.677-.589h1.1A.632.632,0,0,1,38.688,5.679Zm6.9-.805a4.752,4.752,0,0,0-3.081,1.1l-.2-.488a.523.523,0,0,0-.54-.4h-.538a.6.6,0,0,0-.59.589V19.266a.6.6,0,0,0,.59.589H42.44a.58.58,0,0,0,.633-.589V14.909a5.612,5.612,0,0,0,2.428.608,5.075,5.075,0,0,0,4.9-5.332A5.027,5.027,0,0,0,45.587,4.874ZM43.029,8.457a2.633,2.633,0,0,1,2.278-1.305,2.789,2.789,0,0,1,2.708,3.033,2.9,2.9,0,0,1-2.794,3.053,4.131,4.131,0,0,1-2.192-.676Zm15.349,4.034c0,1.5-1.262,3.026-3.672,3.026a5.921,5.921,0,0,1-3.343-1.034h0a.522.522,0,0,1-.208-.663l.452-.925a.493.493,0,0,1,.3-.254.633.633,0,0,1,.5.075l.037.02a4.488,4.488,0,0,0,2.384.7c.74,0,1.2-.329,1.2-.856,0-.581-.666-.985-2.066-1.619-1.435-.646-2.763-1.487-2.763-3.252,0-1.41,1.056-2.832,3.414-2.832a5.71,5.71,0,0,1,2.973.752.705.705,0,0,1,.256.881L57.5,7.2a.58.58,0,0,1-.8.248,5.043,5.043,0,0,0-2.087-.485c-.8,0-1.156.386-1.156.768,0,.545.574.9,1.633,1.361C57.078,9.926,58.378,10.616,58.378,12.491Z"}))},People:function({color:e,size:n=20}){return t.createElement("svg",{"data-name":"Layer 1",height:n,id:"c461f8d4-1c6e-406e-af2d-8d7721d891d5",viewBox:"0 0 57.729 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"people-text"),t.createElement("path",{fill:e,d:"M4.944,5.019a4.754,4.754,0,0,0-3.08,1.1l-.2-.487a.521.521,0,0,0-.539-.4H.59A.606.606,0,0,0,0,5.823V19.41A.6.6,0,0,0,.59,20H1.8a.58.58,0,0,0,.633-.59V15.053a5.593,5.593,0,0,0,2.428.607,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,4.944,5.019ZM2.387,8.6A2.63,2.63,0,0,1,4.665,7.3a2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.795,3.054,4.109,4.109,0,0,1-2.191-.678ZM15.663,5.019a5.083,5.083,0,0,0-5.075,5.31,5.046,5.046,0,0,0,5.1,5.331A5.707,5.707,0,0,0,19.445,14.4a.511.511,0,0,0,.065-.818l-.583-.907a.459.459,0,0,0-.295-.22.609.609,0,0,0-.45.147,3.735,3.735,0,0,1-2.369.82,2.819,2.819,0,0,1-2.854-2.487h6.756a.578.578,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,15.663,5.019Zm-2.583,4.1a2.411,2.411,0,0,1,2.539-2.033,2.231,2.231,0,0,1,2.335,2.033Zm13.145-4.1a5.322,5.322,0,0,0,0,10.641,5.322,5.322,0,0,0,0-10.641Zm2.837,5.289a2.856,2.856,0,1,1-5.7,0,2.852,2.852,0,1,1,5.7,0Zm8.653-5.289a4.758,4.758,0,0,0-3.081,1.1l-.2-.487a.522.522,0,0,0-.54-.4h-.538a.606.606,0,0,0-.591.589V19.41a.592.592,0,0,0,.591.59h1.207a.58.58,0,0,0,.633-.59V15.05a5.541,5.541,0,0,0,2.428.61,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,37.715,5.019ZM35.158,8.6a2.629,2.629,0,0,1,2.277-1.3,2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.794,3.054,4.109,4.109,0,0,1-2.191-.678ZM46.324,1.247V14.834a.606.606,0,0,1-.59.59H44.527a.6.6,0,0,1-.59-.59V1.247a.6.6,0,0,1,.59-.589h1.207A.621.621,0,0,1,46.324,1.247Zm6.459,3.772a5.083,5.083,0,0,0-5.075,5.31,5.047,5.047,0,0,0,5.1,5.331A5.713,5.713,0,0,0,56.566,14.4a.511.511,0,0,0,.064-.818l-.583-.907a.459.459,0,0,0-.295-.22.6.6,0,0,0-.449.147,3.739,3.739,0,0,1-2.369.82,2.821,2.821,0,0,1-2.855-2.487h6.756a.577.577,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,52.783,5.019ZM52.74,7.081a2.231,2.231,0,0,1,2.334,2.033H50.2A2.412,2.412,0,0,1,52.74,7.081Z"}))},Publishing:function({color:e,size:n=20}){return t.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:n,viewBox:"0 0 84.973 20"},t.createElement("title",null,"publishing-text"),t.createElement("path",{d:"M4.905,5.03A4.709,4.709,0,0,0,1.829,6.141l-.2-.511a.5.5,0,0,0-.52-.385H.568A.59.59,0,0,0,0,5.812V19.374a.575.575,0,0,0,.568.568h1.2a.559.559,0,0,0,.611-.568v-4.4a5.573,5.573,0,0,0,2.437.618A5.036,5.036,0,0,0,9.681,10.3,4.988,4.988,0,0,0,4.905,5.03ZM2.338,8.575A2.642,2.642,0,0,1,4.626,7.261,2.8,2.8,0,0,1,7.343,10.3a2.908,2.908,0,0,1-2.8,3.06,4.117,4.117,0,0,1-2.2-.684Zm17.4-2.763v8.974a.6.6,0,0,1-.59.569h-.515c-.326,0-.456-.238-.541-.472l-.2-.562a4.046,4.046,0,0,1-3.1,1.27c-3.358,0-3.788-2.484-3.788-4.647V5.812a.606.606,0,0,1,.568-.567h1.2a.59.59,0,0,1,.568.567v5.282c0,1.546.584,2.266,1.837,2.266A2.368,2.368,0,0,0,17.4,11.806V5.812c0-.524.323-.567.654-.567h1.094A.609.609,0,0,1,19.737,5.812Zm6.74-.782A6.836,6.836,0,0,0,24.1,5.5l-.018.006V1.246a.606.606,0,0,0-.568-.567H22.29a.583.583,0,0,0-.568.567v13.54a.576.576,0,0,0,.568.569h.516a.569.569,0,0,0,.542-.5l.17-.576a4.845,4.845,0,0,0,3.217,1.31c2.6,0,4.711-2.374,4.711-5.291A5.071,5.071,0,0,0,26.477,5.03ZM24.061,7.76a5.243,5.243,0,0,1,2.18-.5A3,3,0,0,1,29.107,10.3a2.9,2.9,0,0,1-2.694,3.06A2.761,2.761,0,0,1,24.061,12ZM35.225,1.246v13.54a.591.591,0,0,1-.568.569h-1.2a.576.576,0,0,1-.569-.569V1.246a.59.59,0,0,1,.569-.567h1.2A.606.606,0,0,1,35.225,1.246Zm4.349,4.566v8.974a.591.591,0,0,1-.568.569H37.8a.576.576,0,0,1-.568-.569V5.812a.582.582,0,0,1,.568-.567h1.2A.606.606,0,0,1,39.574,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.508,1.508,0,0,1-1.513-1.534A1.519,1.519,0,0,1,38.405.679,1.539,1.539,0,0,1,39.961,2.235ZM48.143,12.6c0,1.488-1.25,2.994-3.638,2.994a5.875,5.875,0,0,1-3.318-1.026h0a.5.5,0,0,1-.2-.636l.45-.922a.47.47,0,0,1,.291-.243.613.613,0,0,1,.487.073l.036.02a4.489,4.489,0,0,0,2.385.7c.737,0,1.214-.342,1.214-.871,0-.589-.667-.994-2.069-1.629-1.423-.642-2.74-1.476-2.74-3.222,0-1.394,1.045-2.8,3.38-2.8a5.67,5.67,0,0,1,2.951.745.684.684,0,0,1,.248.853l-.343.687a.56.56,0,0,1-.769.238,5.05,5.05,0,0,0-2.087-.485c-.808,0-1.17.394-1.17.784,0,.554.575.91,1.638,1.372C46.853,10.057,48.143,10.742,48.143,12.6ZM58.461,9.805v4.981a.592.592,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.763c0-1.614-.668-2.5-1.879-2.5a2.881,2.881,0,0,0-2.5,1.366v6.159a.554.554,0,0,1-.589.569H49.97a.576.576,0,0,1-.568-.569V1.246A.582.582,0,0,1,49.97.679h1.2a.606.606,0,0,1,.567.567V5.967a4.766,4.766,0,0,1,2.782-.937C57.1,5.03,58.461,6.681,58.461,9.805Zm4.2-3.993v8.974a.59.59,0,0,1-.567.569h-1.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h1.2A.606.606,0,0,1,62.657,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.507,1.507,0,0,1-1.512-1.534A1.518,1.518,0,0,1,61.488.679,1.539,1.539,0,0,1,63.044,2.235Zm10.647,7.57v4.981a.591.591,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.72c0-1.586-.66-2.459-1.858-2.459a2.944,2.944,0,0,0-2.523,1.364v6.161c0,.383-.221.569-.676.569H65.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h.516a.474.474,0,0,1,.5.375l.245.7a4.64,4.64,0,0,1,3.29-1.288C72.4,5.03,73.691,6.592,73.691,9.805Zm10.432-4.56h-.579c-.32,0-.4.236-.454.4l-.2.5a4.737,4.737,0,0,0-3.1-1.112A4.988,4.988,0,0,0,75.01,10.3a5.046,5.046,0,0,0,4.884,5.291,5.429,5.429,0,0,0,2.437-.64v.372c0,2.121-1.29,2.566-2.373,2.566a3.629,3.629,0,0,1-2.261-.9.547.547,0,0,0-.456-.111.535.535,0,0,0-.352.292l-.514.944a.551.551,0,0,0,.123.673A5.444,5.444,0,0,0,80,20.056a4.371,4.371,0,0,0,4.69-4.733V5.812A.582.582,0,0,0,84.123,5.245ZM80.151,13.36a2.979,2.979,0,0,1-2.8-3.06,2.7,2.7,0,0,1,5-1.715v4.029A3.973,3.973,0,0,1,80.151,13.36Z",fill:e}))},Registrations:function({color:e,size:n=20}){return t.createElement("svg",{id:"2da9f999-408b-4466-9b5d-b1268727ac81","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:n,viewBox:"0 0 105.758 20"},t.createElement("title",null,"registrations-text"),t.createElement("path",{fill:e,d:"M6.751,5.966,6.234,7.043a.589.589,0,0,1-.336.324.545.545,0,0,1-.423-.033,2.375,2.375,0,0,0-.854-.182A2.74,2.74,0,0,0,2.387,8.4v6.288c0,.59-.485.59-.8.59H.59a.6.6,0,0,1-.59-.59V5.679A.6.6,0,0,1,.59,5.09h.517a.574.574,0,0,1,.544.433l.212.685A4,4,0,0,1,4.836,4.874c.749,0,1.643.148,1.9.567A.517.517,0,0,1,6.751,5.966Zm9.583,3.593c0,.181-.022.53-.044.705a.578.578,0,0,1-.567.531H8.966a2.82,2.82,0,0,0,2.855,2.486,3.74,3.74,0,0,0,2.369-.819.608.608,0,0,1,.45-.148.465.465,0,0,1,.295.22l.583.907a.513.513,0,0,1-.065.819,5.708,5.708,0,0,1-3.762,1.256,5.046,5.046,0,0,1-5.1-5.331A5.083,5.083,0,0,1,11.67,4.874,4.572,4.572,0,0,1,16.334,9.559ZM11.627,6.937A2.411,2.411,0,0,0,9.087,8.97h4.874A2.23,2.23,0,0,0,11.627,6.937ZM26.8,5.679v9.55A4.407,4.407,0,0,1,22.071,20a5.486,5.486,0,0,1-3.53-1.284.564.564,0,0,1-.127-.7l.516-.948a.555.555,0,0,1,.365-.3.561.561,0,0,1,.474.114,3.622,3.622,0,0,0,2.259.905c1.078,0,2.364-.444,2.364-2.557v-.342a5.472,5.472,0,0,1-2.429.629,5.084,5.084,0,0,1-4.922-5.331,5.027,5.027,0,0,1,4.814-5.311,4.777,4.777,0,0,1,3.1,1.1l.2-.473c.053-.161.138-.415.473-.415h.582A.6.6,0,0,1,26.8,5.679ZM22.136,7.152a2.821,2.821,0,0,0-2.708,3.033,2.972,2.972,0,0,0,2.794,3.053,3.948,3.948,0,0,0,2.191-.74V8.468A2.834,2.834,0,0,0,22.136,7.152ZM29.965.6a1.544,1.544,0,0,0-1.538,1.582A1.55,1.55,0,0,0,29.965,3.74a1.571,1.571,0,1,0,0-3.141Zm.6,4.491H29.361a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59h1.208a.6.6,0,0,0,.589-.59V5.679A.62.62,0,0,0,30.569,5.09Zm5.91,4c-1.059-.462-1.632-.815-1.632-1.36,0-.383.357-.769,1.155-.769a5.048,5.048,0,0,1,2.088.486.582.582,0,0,0,.8-.248l.345-.689a.709.709,0,0,0-.256-.882A5.713,5.713,0,0,0,36,4.874c-2.357,0-3.413,1.422-3.413,2.831,0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.065,1.038,2.065,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.387-.7l-.034-.018a.644.644,0,0,0-.5-.076.494.494,0,0,0-.3.254l-.452.925a.517.517,0,0,0,.208.663h0a5.917,5.917,0,0,0,3.342,1.034c2.411,0,3.672-1.522,3.672-3.025C39.761,10.617,38.461,9.926,36.479,9.087Zm10.558,3.964a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H44.071V2.424a.574.574,0,0,0-.569-.59H42.273a.59.59,0,0,0-.589.59V5.09H40.657a.57.57,0,0,0-.59.589v.883a.59.59,0,0,0,.59.59h1.027v5.274c0,1.438.3,3.09,2.637,3.09a6.116,6.116,0,0,0,2.822-.729.556.556,0,0,0,.283-.721Zm8.023-7.61c-.263-.419-1.156-.567-1.905-.567a4,4,0,0,0-2.973,1.335l-.212-.686a.574.574,0,0,0-.544-.433h-.517a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59H49.9c.321,0,.806,0,.806-.59V8.4A2.738,2.738,0,0,1,52.94,7.152a2.369,2.369,0,0,1,.853.182.548.548,0,0,0,.424.033.6.6,0,0,0,.336-.324l.517-1.077A.517.517,0,0,0,55.06,5.441Zm8.351,3.946v5.3a.605.605,0,0,1-.59.59H62.11c-.284,0-.412-.166-.516-.416l-.181-.509A4.386,4.386,0,0,1,58.4,15.516a3.2,3.2,0,0,1-3.328-3.435c0-2.021,1.611-3.327,4.1-3.327a7.7,7.7,0,0,1,1.892.265,2.3,2.3,0,0,0-.417-1.668A1.414,1.414,0,0,0,59.588,7a10.1,10.1,0,0,0-2.749.47.577.577,0,0,1-.7-.494l-.194-.82a.566.566,0,0,1,.4-.717A10.865,10.865,0,0,1,59.8,4.874C63.14,4.874,63.411,6.918,63.411,9.387Zm-4.06,1.149c-1.174,0-1.933.6-1.933,1.524a1.343,1.343,0,0,0,1.436,1.458,2.987,2.987,0,0,0,2.191-1.125V10.835A4.853,4.853,0,0,0,59.351,10.536Zm11.773,2.515a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H68.158V2.424a.574.574,0,0,0-.569-.59H66.36a.591.591,0,0,0-.59.59V5.09H64.744a.57.57,0,0,0-.59.589v.883a.591.591,0,0,0,.59.59H65.77v5.274c0,1.438.3,3.09,2.638,3.09a6.107,6.107,0,0,0,2.821-.729.556.556,0,0,0,.284-.721ZM74.2,5.09H72.994a.605.605,0,0,0-.591.589v9.01a.591.591,0,0,0,.591.59H74.2a.605.605,0,0,0,.59-.59V5.679A.621.621,0,0,0,74.2,5.09ZM73.6.6a1.543,1.543,0,0,0-1.538,1.582A1.55,1.55,0,0,0,73.6,3.74,1.571,1.571,0,1,0,73.6.6Zm12.869,9.563a5.341,5.341,0,0,1-5.182,5.354,5.323,5.323,0,1,1,5.182-5.354Zm-2.344,0a2.853,2.853,0,1,0-5.7,0,2.857,2.857,0,1,0,5.7,0Zm8.867-5.288a4.7,4.7,0,0,0-3.3,1.277l-.235-.671a.5.5,0,0,0-.522-.39h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h1.1c.469,0,.7-.192.7-.59V8.507A2.939,2.939,0,0,1,92.73,7.152c1.191,0,1.847.87,1.847,2.451v5.086a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59v-5C96.964,6.448,95.664,4.874,92.989,4.874Zm9.2,4.213c-1.059-.462-1.633-.815-1.633-1.36,0-.383.358-.769,1.156-.769a5.04,5.04,0,0,1,2.087.486.585.585,0,0,0,.8-.248l.344-.689a.709.709,0,0,0-.255-.882,5.718,5.718,0,0,0-2.974-.751C99.355,4.874,98.3,6.3,98.3,7.705c0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.46.856-1.2.856a4.49,4.49,0,0,1-2.387-.7l-.034-.018A.633.633,0,0,0,99,12.64a.49.49,0,0,0-.3.253l-.452.925a.516.516,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.411,0,3.673-1.522,3.673-3.025C105.472,10.617,104.172,9.926,102.19,9.087Z"}))},Services:function({color:e,size:n=20}){return t.createElement("svg",{id:"bd77a8f3-6992-4241-927e-9fdc3bf67b80","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:n,viewBox:"0 0 67.995 20"},t.createElement("title",null,"services-text"),t.createElement("path",{fill:e,d:"M7.277,12.49c0,1.5-1.262,3.026-3.672,3.026A5.924,5.924,0,0,1,.262,14.482h0a.521.521,0,0,1-.209-.663L.5,12.893a.5.5,0,0,1,.305-.254.62.62,0,0,1,.5.075l.036.019a4.479,4.479,0,0,0,2.385.7c.74,0,1.2-.328,1.2-.856,0-.582-.666-.985-2.066-1.618C1.432,10.311.105,9.469.105,7.705c0-1.41,1.055-2.832,3.413-2.832a5.717,5.717,0,0,1,2.974.752.7.7,0,0,1,.255.881L6.4,7.2a.58.58,0,0,1-.8.248,5.04,5.04,0,0,0-2.087-.485c-.8,0-1.155.386-1.155.768,0,.546.573.9,1.632,1.361C5.977,9.925,7.277,10.615,7.277,12.49ZM17.622,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.568.532H10.255a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.64.64,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.715,5.715,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332,5.083,5.083,0,0,1,5.074-5.311A4.573,4.573,0,0,1,17.622,9.559ZM15.249,8.97a2.229,2.229,0,0,0-2.334-2.034,2.412,2.412,0,0,0-2.54,2.034Zm8.511-4.1a3.929,3.929,0,0,0-2.972,1.338l-.213-.688a.575.575,0,0,0-.544-.434h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h.992c.32,0,.8,0,.8-.59V8.4a2.74,2.74,0,0,1,2.235-1.249,2.351,2.351,0,0,1,.854.183.534.534,0,0,0,.424.032.584.584,0,0,0,.334-.323l.518-1.077a.517.517,0,0,0-.01-.525C25.4,5.022,24.509,4.873,23.76,4.873Zm11.569.216H34.36c-.288,0-.613,0-.774.348l-2.695,5.912L28.319,5.433a.545.545,0,0,0-.535-.344H26.469a.544.544,0,0,0-.493.238.489.489,0,0,0,.024.49l4.311,9.376a.6.6,0,0,0,.534.323h.13a.56.56,0,0,0,.514-.327L35.8,5.822a.49.49,0,0,0,.027-.5A.545.545,0,0,0,35.329,5.089Zm3.154,0H37.276a.6.6,0,0,0-.59.589v9.01a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59V5.678A.621.621,0,0,0,38.483,5.089ZM37.879.6A1.543,1.543,0,0,0,36.341,2.18a1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm10.8,11.392a.567.567,0,0,0-.818.047c-.08.073-.16.152-.241.233a2.623,2.623,0,0,1-2.031.966,2.92,2.92,0,0,1-2.838-3.053,2.778,2.778,0,0,1,4.87-2.073c.165.164.444.443.806.11l.774-.71a.606.606,0,0,0,.1-.87,4.465,4.465,0,0,0-3.711-1.768,5.285,5.285,0,0,0-5.225,5.332,5.2,5.2,0,0,0,5.2,5.311,4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM59.784,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.567.532H52.417a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.641.641,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.712,5.712,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332A5.083,5.083,0,0,1,55.12,4.873,4.573,4.573,0,0,1,59.784,9.559ZM52.537,8.97h4.874a2.229,2.229,0,0,0-2.334-2.034A2.412,2.412,0,0,0,52.537,8.97ZM64.4,9.087c-1.06-.462-1.633-.816-1.633-1.361,0-.382.357-.768,1.156-.768a5.047,5.047,0,0,1,2.087.485.58.58,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.881,5.71,5.71,0,0,0-2.973-.752c-2.358,0-3.414,1.422-3.414,2.832,0,1.764,1.328,2.606,2.763,3.253,1.4.633,2.066,1.036,2.066,1.618,0,.528-.459.856-1.2.856a4.485,4.485,0,0,1-2.384-.7l-.037-.02a.632.632,0,0,0-.5-.075.493.493,0,0,0-.3.254l-.452.925a.521.521,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.412,0,3.673-1.522,3.673-3.026C67.685,10.615,66.385,9.925,64.4,9.087Z"}))}};function Se({appName:e,color:n,size:a=20}){return Ze[e]?t.createElement(Ze[e],{color:n,size:a}):t.createElement("div",null,"appName not supported")}const Pe={transition:"background-color 120ms ease-in"},Ve={fontFamily:"inherit"},Me={flex:"1 1 auto"},Ne=["dark","id","style"],He=["colors","style"],Le=["fill","size","style"],ze=["fill","style"],Te=e=>{let{dark:n=!1,id:a="default",style:l}=e,o=X(e,Ne);return t.createElement("svg",J({fill:"none",height:"123",style:J({},l),width:"160"},o),t.createElement("g",{clipPath:`url(#clip-path-blank-state-${a})`},t.createElement("path",{opacity:".6",d:"M155.367 66.751c-6.081 17.955-18.824 33.158-32.579 41.991-14.045 8.977-28.96 11.294-46.19 7.529-16.941-3.764-33.738-11.583-47.638-18.968C15.204 89.63 4.344 82.533 1.593 71.385-1.013 60.525 4.78 45.61 18.68 30.842 32.435 16.362 54.3 2.896 80.362.579c25.919-2.606 49.666 6.082 63.276 18.534 13.901 12.597 17.666 29.828 11.729 47.638z",fill:n?"#414141":"#E1F0F9"}),t.createElement("g",{opacity:".2"},t.createElement("path",{opacity:".2",d:"M90.643 122.063c-9.702 0-19.258-2.606-29.25-7.674-12.741-6.66-26.352-16.796-41.41-30.841C8.832 72.688-.29 62.697 0 50.678c.145-8.542 5.503-17.81 14.914-26.352l1.448 1.593c-9.122 8.108-14.19 16.94-14.335 24.76-.29 11.294 8.543 20.85 19.403 31.42C36.344 96 49.81 105.992 62.263 112.508c13.031 6.805 25.629 8.977 38.371 6.516l.434 2.027c-3.475.724-6.95 1.013-10.425 1.013zM116.706 115.982l-.869-1.738c13.756-6.226 25.919-16.507 34.027-28.67l1.738 1.159c-8.254 12.453-20.706 22.878-34.896 29.249zM158.552 71.385l-2.027-.58c2.896-11.294.869-22.877-5.792-33.303-10.715-17.086-32-29.973-55.457-33.882-19.258-3.475-40.108-.29-58.642 8.688l-.869-1.883c18.824-9.122 40.109-12.307 59.8-8.832 24.037 3.91 45.901 17.23 56.906 34.75 7.095 11.005 9.267 23.023 6.081 35.042z",fill:"#BAC7D3"})),t.createElement("path",{d:"M115.258 20.706l-.145 4.199c0 .869.289 1.882 1.013 2.461l3.186 2.752c.724.724.29 1.882-.724 1.882l-4.199-.145c-.869 0-1.882.29-2.462 1.014l-2.896 3.33c-.724.724-1.882.29-1.882-.724l.145-4.199c0-.869-.29-1.882-1.014-2.462l-3.185-2.75c-.724-.725-.29-1.883.724-1.883l4.199.145c.869 0 1.882-.29 2.461-1.014l2.751-3.185c.724-.87 2.028-.435 2.028.579zM92.959 30.842v1.882c0 .434.144.869.579 1.158l1.448 1.159c.29.29.145.869-.29.869h-1.882c-.434 0-.869.144-1.158.579l-1.159 1.448c-.29.29-.869.145-.869-.29v-1.882c0-.435-.144-.869-.579-1.159l-1.448-1.158c-.29-.29-.145-.869.29-.869h1.882c.435 0 .869-.145 1.159-.579l1.158-1.448c.29-.434.869-.29.869.29z",fill:"#FCC846"}),t.createElement("path",{d:"M68.778 36.633l-19.982 57.63 57.919-20.127-37.937-37.502z",fill:"#48A5E5"}),t.createElement("path",{d:"M82.099 54.299H62.696l2.027-5.647h12.308l5.068 5.647zM99.91 70.082H57.194l2.027-5.648h33.737l6.95 5.648zM72.398 85.864H51.692l1.737-5.647h35.91l-16.941 5.647z",fill:"#79CAF2"}),t.createElement("path",{d:"M107.613 73.964c1.44-1.5-6.087-11.069-16.813-21.374-10.726-10.305-20.588-17.443-22.029-15.944-1.44 1.5 6.087 11.069 16.813 21.374 10.726 10.305 20.588 17.443 22.029 15.944z",fill:n?"#525252":"#636363"}),t.createElement("path",{d:"M113.086 55.747h-3.041c-.724 0-1.303.29-1.737.868l-1.883 2.607c-.434.579-1.448.29-1.448-.435l-.144-3.185c0-.724-.29-1.303-.869-1.738l-2.607-1.882c-.579-.434-.289-1.448.435-1.448l3.185-.145c.724 0 1.303-.29 1.738-.869l1.882-2.606c.435-.58 1.448-.29 1.448.434l.145 3.186c0 .724.29 1.303.869 1.738l2.606 1.882c.579.58.29 1.593-.579 1.593z",fill:"#FCC846"})),t.createElement("defs",null,t.createElement("clipPath",{id:`clip-path-blank-state-${a}`},t.createElement("path",{fill:"#fff",d:"M0 0h160v122.063H0z"}))))},_e=e=>{let{colors:n,style:a}=e,l=X(e,He);return t.createElement("svg",J({color:n.base3,height:"16",viewBox:"0 0 16 16",width:"16"},{style:a},l),t.createElement("title",null,"chevron"),t.createElement("polygon",{fill:"currentColor",points:"11.931 4.892 8 8.824 4.069 4.892 2.927 6.034 8 11.108 9.142 9.966 13.073 6.034 11.931 4.892"}))},Oe=e=>{let{fill:n="#000",size:a=24,style:l}=e,o=X(e,Le);return t.createElement("svg",J({height:a,style:J({display:"block"},l),viewBox:"0 0 16 16",width:a},o),t.createElement("title",null,"exclamation triangle icon"),t.createElement("path",{d:"M15.669 13.676L8.65499 1.56099C8.58867 1.44593 8.49322 1.35037 8.37823 1.28392C8.26325 1.21748 8.13279 1.1825 7.99999 1.1825C7.86718 1.1825 7.73672 1.21748 7.62174 1.28392C7.50675 1.35037 7.4113 1.44593 7.34499 1.56099L0.330986 13.676C0.264196 13.7911 0.228916 13.9217 0.2287 14.0548C0.228484 14.1878 0.26334 14.3186 0.329756 14.4339C0.396172 14.5492 0.491802 14.6449 0.60701 14.7115C0.722218 14.778 0.852933 14.813 0.985986 14.813H15.014C15.147 14.813 15.2778 14.778 15.393 14.7115C15.5082 14.6449 15.6038 14.5492 15.6702 14.4339C15.7366 14.3186 15.7715 14.1878 15.7713 14.0548C15.7711 13.9217 15.7358 13.7911 15.669 13.676ZM8.75699 12.542H7.24299V11.028H8.75699V12.542ZM8.75699 9.51399H7.24299V6.48499H8.75699V9.51399Z",fill:n}))},Ie=e=>{let{fill:n="#A0A0A0",style:a}=e,l=X(e,ze);return t.createElement("svg",J({width:"16",height:"16",viewBox:"0 0 16 16",style:J({display:"block"},a)},l),t.createElement("title",null,"close-x"),t.createElement("path",{d:"M9.142,8l3.814,3.814-1.142,1.142L8,9.142,4.186,12.956,3.044,11.814,6.858,8,3.044,4.186,4.186,3.044,8,6.858l3.814-3.814,1.142,1.142Z",fill:n}))},$e=["style"];function De(e){let{style:n}=e,a=X(e,$e);return t.createElement("button",J({style:J({WebkitAppearance:"none",appearance:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline-block",outline:0,padding:0},Ve,n)},a))}const Re=["appName","colors","displayIconOnly","expanded","onClick","style"],Ue=e=>{let{appName:n,colors:a,displayIconOnly:l,expanded:o,onClick:r,style:i=null}=e,c=X(e,Re);const[s,d]=t.useState(!1),[m,p]=t.useState(!1);return t.createElement(De,J({onClick:r,onMouseDown:()=>d(!0),onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),onMouseUp:()=>d(!1),style:J({alignItems:"center",backgroundColor:o&&!s?a.base1:m&&s?a.base2:m?a.base1:"transparent",display:"flex",height:"100%",outline:0,paddingLeft:"16px",paddingRight:"16px",whiteSpace:"nowrap"},Pe,i)},c),t.createElement(Ae,{appName:n.replace(/[\s-]/,""),colors:a,size:24}),!l&&t.createElement(t.Fragment,null,"Accounts"===n?t.createElement("div",{style:{color:"#fff",fontSize:"14px",fontWeight:500,marginLeft:3}},"Account settings"):t.createElement(t.Fragment,null,t.createElement("div",{key:"spacer-1",style:{margin:4}}),t.createElement(Se,{appName:n.replace(/[\s-]/,""),color:"#fff",key:"mono-app-name",size:24})),t.createElement("div",{key:"space-2",style:{margin:4}}),t.createElement(_e,{colors:a,key:"disclosure-chevron-icon",style:{display:"block"}})))};var qe={__proto__:null,Accounts:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6",x1:"1.844",y1:"1.833",x2:"18.622",y2:"18.612",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"accounts-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6)"})]},API:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"c8ec303e-a96d-4850-93ae-70864e3306bb",x1:"0.991",y1:"0.983",x2:"19.295",y2:"19.288",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"api-squircle"),t.createElement("path",{key:"path",d:"M20,10c0,7.991-2,9.989-9.989,9.989S.019,17.991.019,10s2-9.989,9.989-9.989S20,2.009,20,10Z",fill:"url(#c8ec303e-a96d-4850-93ae-70864e3306bb)"})]},Calendar:function(){return[t.createElement("defs",{key:"defs"},t.createElement("linearGradient",{id:"calendar-gradient",x1:"2.05",y1:"2.04",x2:"17.97",y2:"17.96",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#f25437"}),t.createElement("stop",{offset:"1",stopColor:"#cd4e39"}))),t.createElement("title",{key:"title"},"calendar-squircle"),t.createElement("path",{key:"path",d:"M20,10c0,8-2,10-10,10S.06,18,.06,10,2.05.05,10,.05,20,2,20,10Z",fill:"url(#calendar-gradient)"})]},CheckIns:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"679bc2bf-38c8-45ab-9ee3-a2ff814fead7",x1:"1.75",y1:"1.739",x2:"18.156",y2:"18.145",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#a76ebe"}),t.createElement("stop",{offset:"1",stopColor:"#875e96"}))),t.createElement("title",{key:"title"},"check-ins-squircle"),t.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#679bc2bf-38c8-45ab-9ee3-a2ff814fead7)"})]},ChurchCenter:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"6de99831-a6f8-498e-9bf3-9d55c8d887fa",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#42a5f5"}),t.createElement("stop",{offset:"1",stopColor:"#66bb6a"}))),t.createElement("title",{key:"title"},"church-center-squircle"),t.createElement("path",{key:"path",d:"M10.008.037C2.04.037.048,2.029.048,10s1.992,9.96,9.96,9.96,9.96-1.992,9.96-9.96S17.976.037,10.008.037Z",fill:"url(#6de99831-a6f8-498e-9bf3-9d55c8d887fa)"})]},Giving:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"0aae6372-b733-476d-af45-8777c08c1e24",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.959",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#f5c426"}),t.createElement("stop",{offset:"1",stopColor:"#f2b327"}))),t.createElement("title",{key:"title"},"giving-squircle"),t.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#0aae6372-b733-476d-af45-8777c08c1e24)"})]},Groups:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"86d10072-1c7f-4a02-88fe-0735565ae99a",x1:"1.939",y1:"1.928",x2:"18.146",y2:"18.135",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#ff962d"}),t.createElement("stop",{offset:"1",stopColor:"#fc7638"}))),t.createElement("title",{key:"title"},"groups-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#86d10072-1c7f-4a02-88fe-0735565ae99a)"})]},Home:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"paint0_linear_1_2",x1:"-2.23242",y1:"0.320978",x2:"19.9609",y2:"22.5228",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#289DFF"}),t.createElement("stop",{offset:"1",stopColor:"#2266F7"}))),t.createElement("title",{key:"title"},"home-squircle"),t.createElement("path",{key:"path",d:"M9.99962 0C1.99854 0 0 2.00015 0 10C0 17.9998 1.99854 20 9.99962 20C18.0007 20 20 18.0014 20 10C20 1.99862 17.9999 0 9.99962 0Z",fill:"url(#paint0_linear_1_2)"})]},People:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"7f805f16-2322-4b42-b61a-2bf71eadb25a",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"people-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#7f805f16-2322-4b42-b61a-2bf71eadb25a)"})]},Publishing:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"publishing-gradient",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#787882"}),t.createElement("stop",{offset:"1",stopColor:"#5f5f69"})),t.createElement("linearGradient",{id:"publishing-gradient-2",x1:"2.03",y1:"2.03",x2:"17.952",y2:"17.952",gradientTransform:"translate(2.563 -2.028) rotate(13.283)",xlinkHref:"#publishing-gradient"})),t.createElement("title",{key:"title"},"publishing-squircle"),t.createElement("path",{d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#publishing-gradient)",key:"path"}),t.createElement("circle",{cx:"9.991",cy:"9.991",r:"9.951",transform:"translate(-2.028 2.563) rotate(-13.283)",fill:"url(#publishing-gradient-2)",key:"circle"})]},Registrations:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"bd67604d-f11c-4431-bd82-159c57241115",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#41b99e"}),t.createElement("stop",{offset:"1",stopColor:"#46948d"}))),t.createElement("title",{key:"title"},"registrations-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#bd67604d-f11c-4431-bd82-159c57241115)"})]},Services:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"00f9217c-0536-41ea-b265-a8689874be71",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#6eaa50"}),t.createElement("stop",{offset:"1",stopColor:"#6a9639"}))),t.createElement("title",{key:"title"},"services-squircle"),t.createElement("path",{key:"path",d:"M19.968,10c0,7.968-1.992,9.96-9.96,9.96S.048,17.965.048,10,2.04.037,10.008.037,19.968,2.029,19.968,10Z",fill:"url(#00f9217c-0536-41ea-b265-a8689874be71)"})]}};function Fe({appName:e,size:n=20}){return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 20 20",style:{display:"block"}},t.createElement(qe[e]?qe[e]:"span",{key:"key1"}),we[e]?t.createElement(we[e],{color:"#fff",key:"key2"}):t.createElement("div",{key:"key3"},"appName not supported"))}function je(e){var t,n,a;const l=`/apps/${e.toLowerCase()}`,o=null==(t=window)||null==(n=t.location)||null==(a=n.pathname)?void 0:a.toString();if(!o)return l;const r=new URLSearchParams;return r.append("referer",o),`${l}?${r.toString()}`}const Be=["active","component","style"],We=e=>{let{active:n=!1,component:a="span",style:l=null}=e,o=X(e,Be);const[r,i]=t.useState(!1);return t.createElement(a,J({onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),style:J({},l,{backgroundColor:n?"#ededed":r?"#f7f7f7":"transparent"})},o))},Je=["cleanup","onOutsideClick","visible"];class Ge extends t.Component{constructor(e){super(e),this.container=void 0,this.handleOutsideClick=this.handleOutsideClick.bind(this)}componentWillUnmount(){document.removeEventListener("click",this.handleOutsideClick,!0)}handleOutsideClick(e){if(!this.container.contains(e.target))return e.stopPropagation(),e.preventDefault(),this.props.onOutsideClick()}render(){const e=this.props,{cleanup:n}=e,a=X(e,Je);return n?document.removeEventListener("click",this.handleOutsideClick,!0):document.addEventListener("click",this.handleOutsideClick,!0),t.createElement("div",J({ref:e=>this.container=e},a))}}const Xe=["style"],Ke=e=>{let{style:n=null}=e,a=X(e,Xe);return t.createElement("div",J({style:J({alignSelf:"flex-end",display:"flex",position:"relative"},n)},a))},Ye=["component","style"],Qe=e=>{let{component:n="div",style:a=null}=e,l=X(e,Ye);return t.createElement(n,J({style:J({background:"#FFFFFF",borderRadius:"3px",boxShadow:"0 0 0 1px #D4D9E2, 0 8px 32px rgba(0,0,0,.3)",overflow:"hidden",position:"absolute"},a)},l))},et=({appName:e,apps:n,env:a,toggle:l,visible:o})=>{const r=n.find(({name:e})=>"Accounts"===e),i=n.find(({name:e})=>"Home"===e),s=[...n].filter(({name:e})=>"Home"!==e&&"Accounts"!==e).sort((e,t)=>e.name.localeCompare(t.name)),d=J({},Ve,{alignItems:"center",display:"flex",height:"48px",overflow:"hidden",padding:"0 16px",verticalAlign:"middle"});return t.createElement(Ke,null,t.createElement(Qe,{cleanup:!o,component:Ge,onOutsideClick:l,style:J({marginTop:"8px"},o?{opacity:1,transition:"none",visibility:"visible"}:{opacity:0,transition:"all 120ms ease-in",visibility:"hidden"})},t.createElement("menu",{"data-pendo":"app-switcher",style:{margin:0,minWidth:180,padding:0}},i&&t.createElement(We,{component:"a","data-pendo":`app-switcher--change-app--${i.name}`,"data-turbolinks":!1,href:e===i.name?`${c(a)("accounts")}/apps/${e}`:c(a)("accounts")+je(i.name),style:J({},d,{borderBottom:"1px solid #ededed"})},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(Fe,{appName:"Home",size:20})),t.createElement(Se,{appName:"Home",color:"#444",size:18})),s.map(({name:n},l)=>{const o=0===l,r=l===s.length-1;return t.createElement(We,{component:"a","data-pendo":`app-switcher--change-app--${n}`,"data-turbolinks":!1,href:n===e?`${c(a)("accounts")}/apps/${n.toLowerCase()}`:c(a)("accounts")+je(n),key:n,style:J({},d,{height:"40px",paddingBottom:r?"4px":null,paddingTop:o?"4px":null})},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(Fe,{appName:n.replace(/[\s-]/,""),size:20})),t.createElement(Se,{appName:n.replace(/[\s-]/,""),color:"#444",size:18}))}),r&&t.createElement(We,{component:"a","data-pendo":`app-switcher--change-app--${r.name}`,"data-turbolinks":!1,href:c(a)("accounts")+je(r.name),style:J({},d,{borderTop:"1px solid #ededed",padding:"0 12px",textDecoration:"none"})},t.createElement("svg",{height:22,style:{display:"block",marginRight:"2px"},viewBox:"0 0 20 20",width:22,xmlns:"http://www.w3.org/2000/svg"},t.createElement(ye,{color:"#9e9e9e",key:"key2"})),t.createElement("div",{style:{color:"#737373",fontSize:"12px",lineHeight:"28px"}},"Account settings")))))},tt=e=>{return(t="name",e=>e.slice().sort((e,n)=>e[t].localeCompare(n[t])))(e).reduce((e,t)=>"Church Center"===(t.name||"")||"API"===(t.name||"")?e:"Home"===t.name?[t,...e]:[...e,t],[]);var t},nt=e=>e.slice().sort((e,t)=>e.attributes.organization_name.localeCompare(t.attributes.organization_name)),at=["children","style"];function lt(e){let{children:n,style:a}=e,l=X(e,at);return t.createElement("nav",J({className:"simple","data-pendo":"topbar","aria-label":"topbar-navigation",style:J({MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",alignItems:"center",color:"white",display:"flex",height:"48px",position:"relative"},a)},l),t.createElement("style",null,"\n @media only print {\n .simple {\n display: none !important;\n }\n }\n "),n)}const ot={danger43:"hsl(8 60% 43%)",danger45:"hsl(8 60% 45%)",danger47:"hsl(8 60% 47%)",danger93:"hsl(9 59% 93%)",danger97:"hsl(7 60% 97%)",darkNeutral07:"hsl(0 0% 7%)",darkNeutral12:"hsl(0 0% 12%)",darkNeutral15:"hsl(0 0% 15%)",darkNeutral17:"hsl(0 0% 17%)",darkNeutral19:"hsl(0 0% 19%)",darkNeutral24:"hsl(0 0% 24%)",darkNeutral32:"hsl(0 0% 32%)",darkNeutral50:"hsl(0 0% 50%)",darkNeutral68:"hsl(0 0% 68%)",darkNeutral88:"hsl(0 0% 88%)",darkNeutral98:"hsl(0 0% 98%)",interaction45:"hsl(221 75% 45%)",interaction50:"hsl(221 91% 50%)",interaction55:"hsl(221 91% 55%)",interaction66:"hsl(221 91% 66%)",interaction91:"hsl(221 91% 91%)",interaction93:"hsl(221 91% 93%)",interaction97:"hsl(221 89% 97%)",lightNeutral12:"hsl(0 0% 12%)",lightNeutral24:"hsl(0 0% 24%)",lightNeutral45:"hsl(0 0% 45%)",lightNeutral62:"hsl(0 0% 62%)",lightNeutral81:"hsl(0 0% 81%)",lightNeutral88:"hsl(0 0% 88%)",lightNeutral93:"hsl(0 0% 93%)",lightNeutral95:"hsl(0 0% 95%)",lightNeutral97:"hsl(0 0% 97%)",lightNeutral98:"hsl(0 0% 98%)",lightNeutral100:"hsl(0 0% 100%)",success23:"hsl(86 91% 23%)",success25:"hsl(86 91% 25%)",success27:"hsl(86 91% 27%)",success91:"hsl(95 50% 91%)",success97:"hsl(93 53% 97%)",warning20:"hsl(42 100% 20%)",warning49:"hsl(42 84% 49%)",warning55:"hsl(42 84% 55%)",warning63:"hsl(42 84% 63%)",warning94:"hsl(42 84% 94%)",warning97:"hsl(42 84% 97%)"},rt=["style"],it=e=>{let{style:n=null}=e,a=X(e,rt);return t.createElement("div",J({style:J({alignSelf:"flex-end",display:"flex",position:"relative"},n)},a))},ct=({appName:e,connectedPeople:n,env:a,hasConnectedPeople:l,requestClearAppsCache:o,requestClearConnectedPeopleCache:r,requestSwitchConnectedPerson:i,requestUnlinkConnectedPeople:s,setUserMenuVisible:f,userMenuVisible:v})=>{const E=`${c(a)("login")}/logout`;return t.createElement(it,null,t.createElement(Qe,{component:Ge,onOutsideClick:()=>f(!1),cleanup:!v,style:J({color:"#525252",marginTop:"8px",maxHeight:"75vh",maxWidth:"320px",minWidth:"242px",overflow:"auto",right:0},v?{opacity:1,transition:"none",visibility:"visible"}:{opacity:0,transition:"all 120ms ease-in",visibility:"hidden"},{cursor:"default"})},t.createElement("div",null,l?t.createElement("div",{style:{alignItems:"center",backgroundColor:"#eee",display:"flex",lineHeight:"32px",padding:"0 16px"}},t.createElement("div",{style:J({},Me,{color:"#666",fontSize:"12px",textTransform:"uppercase",whiteSpace:"nowrap"},Ve)},"Linked Accounts"),t.createElement("div",{style:J({},Me,{alignItems:"center",fontSize:"12px",textAlign:"right"})},t.createElement("a",{href:"",onClick:e=>{o(),r(),s(),e.preventDefault()},style:J({color:"#666",marginLeft:"64px",textDecoration:"none"},Ve)},"unlink"))):t.createElement("noscript",null),t.createElement("style",null,"\n .NotSmallTopbar__connected-people-list > *:first-child > * { border-top-width: 0 !important }\n "),t.createElement("ul",{className:"NotSmallTopbar__connected-people-list",style:{listStyleType:"none",margin:0,padding:0}},nt(n).map(({id:n,attributes:a})=>t.createElement(We,{component:"li",key:n},t.createElement("a",{href:"",onClick:t=>{o(),r(),i(n,`${e}/`),t.preventDefault()},style:J({borderTop:"1px solid #ddd",color:"#444",display:"block",lineHeight:"48px",overflow:"hidden",paddingLeft:"16px",paddingRight:"16px",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap"},Ve)},a.organization_name))))),t.createElement(d,null,l&&t.createElement(m,null),t.createElement("form",{method:"POST",action:E},t.createElement(p,{"data-turbolinks":!1,hover:{backgroundColor:ot.lightNeutral97},onClick:()=>{o(),r()},style:{padding:0},theme:!1,type:"submit",width:"100%"},t.createElement(u,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:2,paddingVertical:1.5,spacing:4},t.createElement(h,{color:ot.lightNeutral45,lineHeight:"24px"},"Log out"),t.createElement(g,{name:"general.intoBox",fill:ot.lightNeutral45})))))))},st=["active","component","hover","innerRef","style"],dt=e=>{let{active:n=null,component:a="div",hover:l=null,innerRef:o=null,style:r=null}=e,i=X(e,st);const[c,s]=t.useState(!1),[d,m]=t.useState(!1);return t.createElement(a,J({onMouseDown:()=>s(!0),onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),onMouseUp:()=>s(!1),style:J({},Ve,r,d&&l,c&&n)},o&&{ref:o},i))},mt=({colors:e,orgName:n,requestConnectedPeopleFetch:a,setUserMenuVisible:l,showOrgName:o})=>t.createElement("div",{style:{cursor:"pointer",marginLeft:"16px",position:"relative",whiteSpace:"nowrap"},"data-pendo":"topbar-org-switcher"},t.createElement(dt,{component:"button",type:"button",style:J({WebkitAppearance:"none",alignItems:"center",appearance:"none",backgroundColor:e.base1,border:"none",borderRadius:"9999px",color:e.text||"#fff",cursor:"pointer",display:"flex",fontSize:"13px",lineHeight:"32px",outline:0,padding:0},Pe),active:{backgroundColor:e.base3},hover:{backgroundColor:e.base2},onClick:()=>{l(e=>!e),a()}},t.createElement("div",{style:{marginLeft:8}}),o?t.createElement("div",{style:{fontSize:"13px",margin:"0 8px 0 8px",maxWidth:"240px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},n):t.createElement("div",{style:{margin:"0 4px 0 4px"}}),t.createElement("div",{style:{paddingRight:"8px"}},t.createElement(_e,{colors:e,style:{margin:"-3px"}})))),pt=["notifications","search","showOrgName","useDummyNotifications"],ut=["active","colors","style"],ht=e=>{let{notifications:n=(()=>null),search:a=(()=>null),showOrgName:l=!0,useDummyNotifications:o=!1}=e,r=X(e,pt);const[i,c]=t.useState(!1),[s,d]=t.useState(!0),[m,p]=t.useState(!1),{hasConnectedPeople:u,notificationsEnabled:h}=Ce();return t.createElement(lt,{style:J({paddingLeft:"8px",paddingRight:"16px"},r.style)},t.createElement(et,{env:r.env,appName:r.appName,apps:tt(r.apps),visible:i,toggle:()=>c(e=>!e)}),t.createElement(Ue,{colors:r.colors,expanded:i,onClick:()=>{c(e=>!e),r.requestAppsFetch()},appName:r.appName}),t.createElement("div",{style:{margin:"12px"}}),s&&r.routes,t.createElement("div",{style:{margin:"auto"}}),!h&&n(),a({hideRoutes:()=>d(!1),showRoutes:()=>d(!0)}),t.createElement(mt,{colors:r.colors,orgName:r.orgName,requestConnectedPeopleFetch:r.requestConnectedPeopleFetch,setUserMenuVisible:p,showOrgName:l}),t.createElement(ct,{appName:r.appName,hasConnectedPeople:u,connectedPeople:r.connectedPeople,env:r.env,requestClearAppsCache:r.requestClearAppsCache,requestClearConnectedPeopleCache:r.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:r.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:r.requestUnlinkConnectedPeople,setUserMenuVisible:p,userMenuVisible:m}))},gt=e=>{let{active:n,colors:a,style:l=null}=e,o=X(e,ut);const[r,i]=t.useState(!1),[c,s]=t.useState(!1);return t.createElement("a",J({style:J({backgroundColor:r&&c?a.base2:r||n?a.base1:"transparent",borderRadius:"9999px",color:a.text||"#fff",fontSize:"14px",fontWeight:600,lineHeight:"32px",marginRight:"4px",paddingLeft:"12px",paddingRight:"12px",textDecoration:"none",textTransform:"capitalize",verticalAlign:"middle",whiteSpace:"nowrap"},Ve,Pe,l),onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),onMouseDown:()=>s(!0),onMouseUp:()=>s(!1)},o))};var ft,vt,Et=(ft=function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=l(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var a="";for(var o in e)t.call(e,o)&&e[o]&&(a=l(a,o));return a}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):window.classNames=n}()},ft(vt={exports:{}}),vt.exports),bt={__proto__:null,Accounts:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6",x1:"1.844",y1:"1.833",x2:"18.622",y2:"18.612",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"accounts-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6)"})]},API:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"c8ec303e-a96d-4850-93ae-70864e3306bb",x1:"0.991",y1:"0.983",x2:"19.295",y2:"19.288",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"api-squircle"),t.createElement("path",{key:"path",d:"M20,10c0,7.991-2,9.989-9.989,9.989S.019,17.991.019,10s2-9.989,9.989-9.989S20,2.009,20,10Z",fill:"url(#c8ec303e-a96d-4850-93ae-70864e3306bb)"})]},Calendar:function(){return[t.createElement("defs",{key:"defs"},t.createElement("linearGradient",{id:"calendar-gradient",x1:"2.05",y1:"2.04",x2:"17.97",y2:"17.96",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#f25437"}),t.createElement("stop",{offset:"1",stopColor:"#cd4e39"}))),t.createElement("title",{key:"title"},"calendar-squircle"),t.createElement("path",{key:"path",d:"M20,10c0,8-2,10-10,10S.06,18,.06,10,2.05.05,10,.05,20,2,20,10Z",fill:"url(#calendar-gradient)"})]},CheckIns:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"679bc2bf-38c8-45ab-9ee3-a2ff814fead7",x1:"1.75",y1:"1.739",x2:"18.156",y2:"18.145",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#a76ebe"}),t.createElement("stop",{offset:"1",stopColor:"#875e96"}))),t.createElement("title",{key:"title"},"check-ins-squircle"),t.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#679bc2bf-38c8-45ab-9ee3-a2ff814fead7)"})]},ChurchCenter:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"6de99831-a6f8-498e-9bf3-9d55c8d887fa",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#42a5f5"}),t.createElement("stop",{offset:"1",stopColor:"#66bb6a"}))),t.createElement("title",{key:"title"},"church-center-squircle"),t.createElement("path",{key:"path",d:"M10.008.037C2.04.037.048,2.029.048,10s1.992,9.96,9.96,9.96,9.96-1.992,9.96-9.96S17.976.037,10.008.037Z",fill:"url(#6de99831-a6f8-498e-9bf3-9d55c8d887fa)"})]},Giving:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"0aae6372-b733-476d-af45-8777c08c1e24",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.959",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#f5c426"}),t.createElement("stop",{offset:"1",stopColor:"#f2b327"}))),t.createElement("title",{key:"title"},"giving-squircle"),t.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#0aae6372-b733-476d-af45-8777c08c1e24)"})]},Groups:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"86d10072-1c7f-4a02-88fe-0735565ae99a",x1:"1.939",y1:"1.928",x2:"18.146",y2:"18.135",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#ff962d"}),t.createElement("stop",{offset:"1",stopColor:"#fc7638"}))),t.createElement("title",{key:"title"},"groups-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#86d10072-1c7f-4a02-88fe-0735565ae99a)"})]},Home:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"paint0_linear_1_2",x1:"-2.23242",y1:"0.320978",x2:"19.9609",y2:"22.5228",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#289DFF"}),t.createElement("stop",{offset:"1",stopColor:"#2266F7"}))),t.createElement("title",{key:"title"},"home-squircle"),t.createElement("path",{key:"path",d:"M9.99962 0C1.99854 0 0 2.00015 0 10C0 17.9998 1.99854 20 9.99962 20C18.0007 20 20 18.0014 20 10C20 1.99862 17.9999 0 9.99962 0Z",fill:"url(#paint0_linear_1_2)"})]},People:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"7f805f16-2322-4b42-b61a-2bf71eadb25a",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"people-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#7f805f16-2322-4b42-b61a-2bf71eadb25a)"})]},Publishing:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"publishing-gradient",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#787882"}),t.createElement("stop",{offset:"1",stopColor:"#5f5f69"})),t.createElement("linearGradient",{id:"publishing-gradient-2",x1:"2.03",y1:"2.03",x2:"17.952",y2:"17.952",gradientTransform:"translate(2.563 -2.028) rotate(13.283)",xlinkHref:"#publishing-gradient"})),t.createElement("title",{key:"title"},"publishing-squircle"),t.createElement("path",{d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#publishing-gradient)",key:"path"}),t.createElement("circle",{cx:"9.991",cy:"9.991",r:"9.951",transform:"translate(-2.028 2.563) rotate(-13.283)",fill:"url(#publishing-gradient-2)",key:"circle"})]},Registrations:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"bd67604d-f11c-4431-bd82-159c57241115",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#41b99e"}),t.createElement("stop",{offset:"1",stopColor:"#46948d"}))),t.createElement("title",{key:"title"},"registrations-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#bd67604d-f11c-4431-bd82-159c57241115)"})]},Services:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"00f9217c-0536-41ea-b265-a8689874be71",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#6eaa50"}),t.createElement("stop",{offset:"1",stopColor:"#6a9639"}))),t.createElement("title",{key:"title"},"services-squircle"),t.createElement("path",{key:"path",d:"M19.968,10c0,7.968-1.992,9.96-9.96,9.96S.048,17.965.048,10,2.04.037,10.008.037,19.968,2.029,19.968,10Z",fill:"url(#00f9217c-0536-41ea-b265-a8689874be71)"})]}};function Ct({color:e}){return t.createElement("path",{fill:e,d:"M16.95,9.28h0l-1.33-.23c-.12,0-.24-.04-.34-.11-.1-.07-.18-.16-.23-.27-.12-.45-.3-.89-.54-1.3-.04-.11-.05-.24-.03-.35,.02-.12,.08-.23,.16-.32l.78-1.1h0s0-.03,0-.04l-.03-.02-.04-.04-.87-.87-.05-.05h0s-.02-.02-.03,0l-1.11,.78c-.09,.08-.2,.13-.32,.16-.12,.02-.24,.01-.35-.03-.41-.24-.84-.42-1.3-.54-.11-.05-.2-.13-.27-.23-.07-.1-.11-.22-.11-.34l-.22-1.33h0s-.01-.03-.02-.03h-1.41s-.02,0-.02,.02l-.23,1.34c0,.12-.04,.24-.11,.34-.07,.1-.16,.18-.27,.23-.45,.12-.89,.3-1.3,.54-.11,.04-.24,.05-.35,.03-.12-.02-.23-.08-.32-.16l-1.1-.78h0s-.02-.01-.03,0l-.02,.03-.04,.04-.87,.87-.05,.05h0s0,.03,0,.04l.78,1.11c.08,.09,.13,.2,.16,.32,.02,.12,.01,.24-.03,.35-.24,.4-.42,.84-.54,1.29-.05,.11-.13,.2-.23,.27-.1,.07-.22,.11-.34,.11l-1.33,.22h0s-.02,0-.02,.02v1.41s0,.02,.02,.02l1.34,.23c.12,0,.24,.05,.34,.11,.1,.07,.18,.16,.23,.27,.12,.45,.3,.89,.54,1.29,.04,.11,.05,.24,.03,.35-.02,.12-.08,.23-.16,.32l-.78,1.11s0,.02,0,.03h0l.05,.06,.87,.87,.04,.04,.02,.02s.02,0,.03,0h0l1.1-.79c.09-.08,.2-.13,.32-.16,.12-.02,.24-.01,.35,.03,.4,.24,.84,.42,1.29,.54,.11,.05,.2,.13,.27,.23,.07,.1,.11,.22,.11,.34l.23,1.34s0,.02,.02,.02h1.41s.02,0,.02-.02h0l.22-1.34c0-.12,.05-.24,.11-.34,.07-.1,.16-.18,.27-.23,.45-.12,.89-.3,1.29-.54,.11-.04,.24-.05,.35-.03,.12,.02,.23,.08,.32,.16l1.11,.78s.02,0,.03,0h0l.05-.06,.87-.87,.04-.04,.02-.02s0-.02,0-.03h0l-.78-1.11c-.08-.09-.13-.2-.16-.32-.02-.12-.01-.24,.03-.35,.24-.4,.42-.84,.54-1.29,.05-.11,.13-.2,.23-.27s.22-.11,.34-.11l1.34-.23s.02,0,.02-.02v-1.4s0-.02-.02-.02Zm-4.67,3.01c-.45,.45-1.03,.76-1.65,.88-.63,.12-1.27,.06-1.86-.18-.59-.24-1.09-.66-1.45-1.19-.35-.53-.54-1.15-.54-1.79s.19-1.26,.54-1.79c.35-.53,.86-.94,1.45-1.19,.59-.24,1.24-.31,1.86-.18,.63,.12,1.2,.43,1.65,.88,.3,.3,.54,.66,.7,1.05,.16,.39,.25,.81,.25,1.24s-.08,.84-.25,1.24c-.16,.39-.4,.75-.7,1.05Z"})}var yt={__proto__:null,Squircle:function({color:e="#fff"}){return t.createElement("path",{fill:e,d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z"})},Accounts:Ct,API:function({color:e}){return t.createElement("path",{fill:e,d:"M11.08,12.387a3.277,3.277,0,0,0,.21-.86l1.47-.23-.25-1.63-1.48.22A3.167,3.167,0,0,0,9.93,8.5l.54-1.37-1.54-.6L8.39,7.9a3.393,3.393,0,0,0-1.76.27l-.92-1.15-1.3,1.03.93,1.16a3.462,3.462,0,0,0-.43.78A3.333,3.333,0,0,0,4.69,11l-1.49.23.25,1.69,1.59-.24a3.278,3.278,0,0,0,1.02,1.2l-.54,1.39,1.55.6.54-1.39a3.319,3.319,0,0,0,1.74-.27l.93,1.17,1.3-1.04-.93-1.17A3.258,3.258,0,0,0,11.08,12.387ZM9.81,11.9A1.953,1.953,0,0,1,7.29,13a1.942,1.942,0,1,1,2.52-1.1Zm5.89-4.32a1.581,1.581,0,0,0,.04-.38,2.066,2.066,0,0,0-1.39-1.95v-.82H12.97v.82A2.066,2.066,0,0,0,11.58,7.2a1.581,1.581,0,0,0,.04.38l-.71.41.7,1.2.7-.4a2.073,2.073,0,0,0,2.7,0l.7.4.7-1.2Zm-2.04.67A1.045,1.045,0,1,1,14.7,7.2,1.041,1.041,0,0,1,13.66,8.247Z"})},Calendar:function({color:e}){return t.createElement("path",{fill:e,d:"M14.18,6.5h-.91V5.8a.55.55,0,0,0-.55-.55h-.26a.55.55,0,0,0-.55.55v.7H8.09V5.8a.55.55,0,0,0-.55-.55H7.28a.55.55,0,0,0-.55.55v.7H5.82a.58.58,0,0,0-.58.59v7.08a.58.58,0,0,0,.58.58h8.36a.58.58,0,0,0,.58-.58V7.09A.58.58,0,0,0,14.18,6.5Zm-.91,6.71H6.73V9.09h6.54Z"})},CheckIns:function({color:e}){return t.createElement("path",{fill:e,d:"M14.175,8.341,9.258,13.256a1.157,1.157,0,0,1-1.638,0L5.161,10.8A1.159,1.159,0,1,1,6.8,9.16L8.439,10.8l4.1-4.1a1.159,1.159,0,0,1,1.639,1.639Z"})},ChurchCenter:function({color:e}){return t.createElement("path",{fill:e,d:"M13.91,14.763a.334.334,0,0,1-.331.338l-1.959-.016a.334.334,0,0,1-.338-.331s.005-.233.005-1.8a3.674,3.674,0,0,0-1.279-2.638,3.674,3.674,0,0,0-1.279,2.638c0,1.565.005,1.8.005,1.8a.334.334,0,0,1-.338.331L6.437,15.1a.334.334,0,0,1-.331-.338s-.242-6.457-.02-6.65h0L9.671,5.021a.522.522,0,0,1,.684,0l3.58,3.092H13.93C14.152,8.325,13.91,14.763,13.91,14.763Z"})},Giving:function({color:e}){return t.createElement("path",{fill:e,d:"M10.3,13.769a.508.508,0,0,1-.592,0c-1.259-.888-5.982-4.494-3.268-6.83a2.386,2.386,0,0,1,3.215.205l.349.349.349-.349a2.386,2.386,0,0,1,3.215-.205C16.286,9.275,11.563,12.881,10.3,13.769Z"})},Groups:function({color:e}){return t.createElement("path",{fill:e,d:"M13.769,11.313V8.683a1.867,1.867,0,1,0-2.443-2.449H8.69A1.867,1.867,0,1,0,6.243,8.681v2.632A1.867,1.867,0,1,0,8.69,13.76h2.632a1.867,1.867,0,1,0,2.447-2.447Zm-1.455,0a1.873,1.873,0,0,0-.992.992H8.69a1.877,1.877,0,0,0-.992-.992V8.681a1.877,1.877,0,0,0,.992-.992h2.636a1.872,1.872,0,0,0,.988.99Z"})},Home:function({color:e}){return t.createElement("path",{fill:e,d:"M14.7619 8.93233C14.7619 8.72768 14.6587 8.53243 14.4775 8.39414L10.5927 5.43C10.2573 5.17413 9.74265 5.17413 9.40731 5.42999L5.52252 8.39414C5.34128 8.53243 5.2381 8.72768 5.2381 8.93233V13.0794C5.2381 13.4827 5.63079 13.8095 6.11521 13.8095H13.8848C14.3692 13.8095 14.7619 13.4826 14.7619 13.0794V8.93233Z"})},People:function({color:e}){return t.createElement("path",{fill:e,d:"M8.177,5.732A2.018,2.018,0,1,1,6.159,7.75,2.019,2.019,0,0,1,8.177,5.732Zm2.494,8.53H5.664A.565.565,0,0,1,5.1,13.7V12.422a1.841,1.841,0,0,1,1.841-1.841H9.394a1.841,1.841,0,0,1,1.841,1.841V13.7A.565.565,0,0,1,10.671,14.262ZM12.814,6.94A1.513,1.513,0,1,1,11.3,8.453,1.513,1.513,0,0,1,12.814,6.94Zm1.537,6.093H12.413a.565.565,0,0,1-.565-.565v-.049a2.292,2.292,0,0,0-.2-.957.555.555,0,0,0-.062-.141.8.8,0,0,0-.061-.11,1.19,1.19,0,0,0-.092-.16,1.131,1.131,0,0,1,.908-.472h1.472a1.108,1.108,0,0,1,1.105,1.1v.785A.565.565,0,0,1,14.351,13.033Z"})},Publishing:function({color:e}){return t.createElement("path",{fill:e,d:"M7.287,13.575a.478.478,0,0,1-.477.477H5.856a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H6.81a.478.478,0,0,1,.477.477Zm7.293,0a.477.477,0,0,1-.477.477H9.268a.478.478,0,0,1-.477-.477V12.6a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Zm0-3.473a.477.477,0,0,1-.476.477H9.268a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Z"})},Registrations:function({color:e}){return t.createElement("path",{fill:e,d:"M4.48,11.09a.51.51,0,0,0,0,.71l.7.7a.22.22,0,0,0,.27,0,1.47,1.47,0,0,1,1.8.22,1.5,1.5,0,0,1,.23,1.81.21.21,0,0,0,0,.27l.7.7a.51.51,0,0,0,.71,0l2-2a.16.16,0,0,0,0-.22L6.7,9.1a.17.17,0,0,0-.23,0Zm11-2.89-.71-.7a.21.21,0,0,0-.26,0,1.47,1.47,0,0,1-1.79-.23,1.49,1.49,0,0,1-.24-1.79.22.22,0,0,0,0-.27l-.7-.7a.51.51,0,0,0-.71,0L7.47,8.11a.14.14,0,0,0,0,.22l4.2,4.2a.14.14,0,0,0,.22,0l3.63-3.62A.51.51,0,0,0,15.52,8.2Z"})},Services:function({color:e}){return t.createElement("path",{fill:e,d:"M6.5,6.559A1.059,1.059,0,1,1,5.443,5.5,1.059,1.059,0,0,1,6.5,6.559ZM5.443,8.943A1.059,1.059,0,1,0,6.5,10,1.059,1.059,0,0,0,5.443,8.943Zm0,3.443A1.059,1.059,0,1,0,6.5,13.445,1.059,1.059,0,0,0,5.443,12.386ZM15,6.087a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485V7.03a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,7.03ZM15,9.53a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,10.473Zm0,3.443a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,13.916Z"})}};function wt({appName:e,size:n=32}){return t.createElement("svg",{"data-logo":"color-app-icon",xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 20 20",style:{display:"block"}},t.createElement(bt[e]?bt[e]:"span",{key:"key1"}),yt[e]?t.createElement(yt[e],{color:"#fff",key:"key2"}):t.createElement("div",{key:"key3"},"appName not supported"))}const kt=["appName","colors","style","size"],xt={accounts:"var(--t-fill-color-product-accounts-050)",api:"var(--t-fill-color-neutral-010)",calendar:"var(--t-fill-color-product-calendar-050)",checkins:"var(--t-fill-color-product-checkins-050)",giving:"var(--t-fill-color-product-giving-050)",groups:"var(--t-fill-color-product-groups-050)",home:"var(--t-fill-color-product-home-050)",people:"var(--t-fill-color-product-people-050)",publishing:"var(--t-fill-color-product-publishing-050)",registrations:"var(--t-fill-color-product-registrations-050)",services:"var(--t-fill-color-product-services-050)"};function At({appName:e}){return t.createElement("path",{d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:xt[e]})}function Zt(e){let{appName:n,style:a,size:l=24}=e,o=X(e,kt);return t.createElement("svg",J({"data-logo":"mono-app-icon",xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 20 20",role:"img","aria-labelledby":"title desc",style:J({display:"block"},a)},o),t.createElement("title",{id:"title"},"Planning Center ",n," App Icon"),t.createElement("desc",{id:"desc"},"An image symbolizing the Planning Center ",n," app."),"Accounts"===n?null:t.createElement(At,{appName:n.toLowerCase()}),yt[n]?t.createElement(yt[n],{color:"Accounts"===n?"var(--t-text-color-default-primary)":"var(--t-fill-color-neutral-100)"}):t.createElement("div",null,"appName not supported"))}const St="var(--t-text-color-default-primary)";var Pt={__proto__:null,Accounts:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 77.073 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"accounts-text"),t.createElement("path",{fill:St,d:"M4.729,5.537A10.859,10.859,0,0,0,1.262,6.1a.566.566,0,0,0-.4.717l.194.819a.579.579,0,0,0,.7.5,10.108,10.108,0,0,1,2.748-.47,1.416,1.416,0,0,1,1.065.349A2.307,2.307,0,0,1,6,9.682,7.706,7.706,0,0,0,4.1,9.418c-2.493,0-4.1,1.305-4.1,3.327a3.2,3.2,0,0,0,3.328,3.434,4.385,4.385,0,0,0,3.011-1.161l.181.509c.1.249.231.415.515.415h.712a.6.6,0,0,0,.59-.589v-5.3C8.337,7.581,8.065,5.537,4.729,5.537ZM3.78,14.181a1.343,1.343,0,0,1-1.436-1.459c0-.91.777-1.522,1.932-1.522a4.726,4.726,0,0,1,1.7.3v1.556A2.983,2.983,0,0,1,3.78,14.181ZM18.6,13.194c.4.361.326.669.2.865a4.646,4.646,0,0,1-3.977,2.12,5.2,5.2,0,0,1-5.2-5.31,5.285,5.285,0,0,1,5.225-5.332,4.461,4.461,0,0,1,3.711,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.64.056-.806-.11A2.909,2.909,0,0,0,14.9,7.816,2.938,2.938,0,0,0,12,10.847,2.921,2.921,0,0,0,14.837,13.9a2.623,2.623,0,0,0,2.03-.965c.082-.081.161-.16.241-.233a.574.574,0,0,1,.819-.049Zm9.661,0c.4.361.326.669.2.865a4.644,4.644,0,0,1-3.976,2.12,5.2,5.2,0,0,1-5.2-5.31A5.286,5.286,0,0,1,24.5,5.537a4.459,4.459,0,0,1,3.71,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.641.056-.806-.11a2.779,2.779,0,0,0-4.869,2.073A2.92,2.92,0,0,0,24.5,13.9a2.625,2.625,0,0,0,2.03-.965c.081-.081.161-.16.241-.233a.573.573,0,0,1,.818-.049Zm5.86-7.657A5.323,5.323,0,1,0,39.3,10.826,5.317,5.317,0,0,0,34.117,5.537Zm2.838,5.289a2.857,2.857,0,1,1-5.7,0,2.853,2.853,0,1,1,5.7,0ZM49.346,6.341v9.012a.616.616,0,0,1-.612.589h-.517c-.34,0-.474-.245-.561-.485l-.2-.536a4.084,4.084,0,0,1-3.1,1.258c-3.388,0-3.823-2.5-3.823-4.685V6.341a.621.621,0,0,1,.59-.588h1.207a.6.6,0,0,1,.59.588v5.3c0,1.539.58,2.256,1.825,2.256a2.357,2.357,0,0,0,2.214-1.544l0-6.016c0-.544.349-.588.676-.588h1.1A.624.624,0,0,1,49.346,6.341Zm11.089,4.01v5a.605.605,0,0,1-.591.589H58.637a.6.6,0,0,1-.59-.589V10.265c0-1.579-.655-2.449-1.846-2.449a2.939,2.939,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.6.6,0,0,1-.59-.589V6.341a.6.6,0,0,1,.59-.588h.518a.5.5,0,0,1,.522.391l.235.67a4.691,4.691,0,0,1,3.3-1.277C59.134,5.537,60.435,7.111,60.435,10.351Zm8.048,4.379a.556.556,0,0,1-.283.721,6.126,6.126,0,0,1-2.822.728c-2.337,0-2.637-1.651-2.637-3.09V7.816H61.713a.6.6,0,0,1-.589-.59V6.341a.569.569,0,0,1,.589-.588h1.028V3.088a.59.59,0,0,1,.59-.59h1.228a.573.573,0,0,1,.568.59V5.753h2.515a.582.582,0,0,1,.59.588v.885a.613.613,0,0,1-.59.59H65.127V13c0,.828.323.9.683.9a3.241,3.241,0,0,0,1.536-.458.523.523,0,0,1,.431-.064.558.558,0,0,1,.317.335Zm7.869-1.576c0,1.5-1.262,3.025-3.672,3.025a5.927,5.927,0,0,1-3.343-1.033h0a.523.523,0,0,1-.208-.663l.452-.926a.494.494,0,0,1,.3-.254.635.635,0,0,1,.505.076l.032.017a4.485,4.485,0,0,0,2.389.7c.74,0,1.2-.328,1.2-.855,0-.58-.666-.985-2.066-1.618-1.435-.648-2.763-1.49-2.763-3.253,0-1.41,1.056-2.832,3.414-2.832a5.7,5.7,0,0,1,2.973.752.706.706,0,0,1,.256.882l-.344.689a.582.582,0,0,1-.8.247,5.057,5.057,0,0,0-2.087-.485c-.8,0-1.156.385-1.156.768,0,.546.574.9,1.633,1.361C75.052,10.588,76.352,11.279,76.352,13.154Z"}))},API:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 119.5 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"api-text"),t.createElement("path",{fill:St,d:"M9.136.675H7.908a.621.621,0,0,0-.59.589V5.5a6.9,6.9,0,0,0-2.384-.469A5.013,5.013,0,0,0,.012,10.343c0,2.989,2.048,5.331,4.663,5.331a4.885,4.885,0,0,0,3.22-1.3l.16.543a.591.591,0,0,0,.564.519h.517a.6.6,0,0,0,.59-.59V1.264A.6.6,0,0,0,9.136.675ZM7.34,7.847v4.175A2.745,2.745,0,0,1,4.978,13.4,2.815,2.815,0,0,1,2.4,10.343a2.913,2.913,0,0,1,2.772-3.03A4.941,4.941,0,0,1,7.34,7.847Zm8.833-2.813A5.081,5.081,0,0,0,11.1,10.343a5.046,5.046,0,0,0,5.094,5.331,5.712,5.712,0,0,0,3.761-1.256.512.512,0,0,0,.064-.819l-.582-.906a.467.467,0,0,0-.3-.22.619.619,0,0,0-.45.147,3.737,3.737,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.755a.578.578,0,0,0,.566-.532c.023-.175.045-.524.045-.7A4.571,4.571,0,0,0,16.173,5.034ZM16.13,7.1a2.23,2.23,0,0,1,2.334,2.032H13.591A2.411,2.411,0,0,1,16.13,7.1ZM30.587,5.982l-4.3,9.366a.561.561,0,0,1-.515.326h-.129a.59.59,0,0,1-.534-.323l-4.31-9.373a.484.484,0,0,1-.024-.49.542.542,0,0,1,.493-.239h1.315a.543.543,0,0,1,.534.344l2.571,5.914,2.7-5.91c.161-.348.486-.348.773-.348h.97a.544.544,0,0,1,.494.239A.488.488,0,0,1,30.587,5.982Zm4.983-.948A5.081,5.081,0,0,0,30.5,10.343a5.045,5.045,0,0,0,5.094,5.331,5.706,5.706,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.582-.906a.467.467,0,0,0-.3-.22.616.616,0,0,0-.45.147,3.738,3.738,0,0,1-2.369.818,2.819,2.819,0,0,1-2.854-2.484h6.755a.58.58,0,0,0,.567-.532c.023-.175.044-.524.044-.7A4.57,4.57,0,0,0,35.57,5.034ZM35.527,7.1a2.23,2.23,0,0,1,2.334,2.032H32.988A2.413,2.413,0,0,1,35.527,7.1Zm8.426-5.833V14.847a.606.606,0,0,1-.59.59H42.156a.6.6,0,0,1-.59-.59V1.264a.606.606,0,0,1,.59-.589h1.207A.621.621,0,0,1,43.953,1.264Zm6.576,3.77a5.322,5.322,0,1,0,5.18,5.287A5.315,5.315,0,0,0,50.529,5.034Zm2.836,5.287a2.856,2.856,0,1,1-5.695,0,2.852,2.852,0,1,1,5.7,0Zm8.65-5.287a4.76,4.76,0,0,0-3.08,1.1l-.2-.487a.523.523,0,0,0-.539-.4h-.539a.606.606,0,0,0-.59.59V19.422a.6.6,0,0,0,.59.59h1.207a.58.58,0,0,0,.633-.59V15.066a5.6,5.6,0,0,0,2.427.608,5.075,5.075,0,0,0,4.9-5.331A5.026,5.026,0,0,0,62.015,5.034Zm2.427,5.309A2.9,2.9,0,0,1,61.648,13.4a4.112,4.112,0,0,1-2.19-.678v-4.1a2.628,2.628,0,0,1,2.277-1.3A2.787,2.787,0,0,1,64.442,10.343ZM72.73,5.034a5.081,5.081,0,0,0-5.073,5.309,5.046,5.046,0,0,0,5.095,5.331,5.711,5.711,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.583-.906a.463.463,0,0,0-.3-.22.61.61,0,0,0-.45.147,3.735,3.735,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.754a.577.577,0,0,0,.567-.532c.023-.178.045-.527.045-.7A4.57,4.57,0,0,0,72.73,5.034ZM72.687,7.1a2.23,2.23,0,0,1,2.334,2.032H70.147A2.413,2.413,0,0,1,72.687,7.1ZM85.434,5.6a.518.518,0,0,1,.009.524L84.926,7.2a.584.584,0,0,1-.334.323.543.543,0,0,1-.424-.032,2.366,2.366,0,0,0-.854-.181A2.734,2.734,0,0,0,81.08,8.561v6.286c0,.59-.485.59-.8.59h-.991a.6.6,0,0,1-.59-.59V5.839a.605.605,0,0,1,.59-.59H79.8a.576.576,0,0,1,.544.435l.213.688a3.921,3.921,0,0,1,2.971-1.338C84.277,5.034,85.17,5.183,85.434,5.6Zm11.8-5.4a.621.621,0,0,0-.469-.3h-.216a.62.62,0,0,0-.472.305l-6.615,14.5a.508.508,0,0,0,.02.5.517.517,0,0,0,.451.229h1.357a.652.652,0,0,0,.6-.392l1.284-2.884h6.9l1.306,2.884a.618.618,0,0,0,.6.392h1.358a.517.517,0,0,0,.451-.229.508.508,0,0,0,.021-.494Zm1.916,9.871H94.116l2.5-5.627ZM110.327.12h-4.913a.526.526,0,0,0-.526.525V14.912a.526.526,0,0,0,.526.525h1.4a.54.54,0,0,0,.525-.525V9.963h3.009A4.922,4.922,0,1,0,110.327.12Zm2.493,4.856a2.563,2.563,0,0,1-2.536,2.643H107.34V2.507h2.944A2.476,2.476,0,0,1,112.82,4.976ZM119.087.645V14.912a.54.54,0,0,1-.526.525h-1.422a.54.54,0,0,1-.525-.525V.645a.539.539,0,0,1,.525-.525h1.422A.539.539,0,0,1,119.087.645Z"}))},Calendar:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 73.83 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"calendar-text"),t.createElement("path",{fill:St,d:"M9,12.56c.39.36.32.66.19.85a4.65,4.65,0,0,1-4,2.12A5.21,5.21,0,0,1,0,10.21,5.3,5.3,0,0,1,5.23,4.87,4.49,4.49,0,0,1,9,6.64a.6.6,0,0,1-.1.85l-.78.71c-.35.33-.61.07-.78-.11a3,3,0,0,0-2-1,3,3,0,0,0-2.94,3.06,3,3,0,0,0,2.87,3.09,2.63,2.63,0,0,0,2.05-1l.25-.23A.55.55,0,0,1,8.32,12Zm9.25-3.17v5.33a.59.59,0,0,1-.57.57H17c-.27,0-.4-.16-.5-.4l-.19-.54a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,9.91,12.1c0-2,1.61-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.44,1.44,0,0,0,14.43,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,11,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C18,4.87,18.25,6.92,18.25,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,15.91,12.42ZM22,.47H20.79a.6.6,0,0,0-.58.57V14.72a.59.59,0,0,0,.58.57H22a.59.59,0,0,0,.57-.57V1A.61.61,0,0,0,22,.47ZM33.75,9.56c0,.18,0,.53,0,.71a.57.57,0,0,1-.55.52H26.35a2.84,2.84,0,0,0,2.89,2.53,3.84,3.84,0,0,0,2.39-.82.57.57,0,0,1,.43-.15.45.45,0,0,1,.29.21l.58.92a.48.48,0,0,1-.06.79,5.67,5.67,0,0,1-3.76,1.26A5.05,5.05,0,0,1,24,10.19a5.1,5.1,0,0,1,5.08-5.32A4.58,4.58,0,0,1,33.75,9.56ZM26.46,9h4.95A2.27,2.27,0,0,0,29,6.91,2.45,2.45,0,0,0,26.46,9Zm13.8-4.12a4.72,4.72,0,0,0-3.32,1.3l-.24-.7a.48.48,0,0,0-.51-.38h-.52a.59.59,0,0,0-.57.57v9.06a.58.58,0,0,0,.57.57h1.11c.45,0,.68-.19.68-.57V8.5A3,3,0,0,1,40,7.13c1.21,0,1.88.88,1.88,2.48v5.11a.58.58,0,0,0,.57.57h1.21a.6.6,0,0,0,.58-.57v-5C44.24,6.45,42.94,4.87,40.26,4.87ZM55.29,1V14.72a.58.58,0,0,1-.57.57H54.2a.57.57,0,0,1-.55-.5l-.17-.58a4.89,4.89,0,0,1-3.24,1.32c-2.62,0-4.67-2.34-4.67-5.34A5,5,0,0,1,50.5,4.87a6.85,6.85,0,0,1,2.39.48h0V1a.61.61,0,0,1,.58-.57h1.23A.59.59,0,0,1,55.29,1ZM52.93,11.88V7.67a5,5,0,0,0-2.19-.54,2.94,2.94,0,0,0-2.81,3.06,2.85,2.85,0,0,0,2.61,3.09A2.76,2.76,0,0,0,52.93,11.88Zm12-2.49v5.33a.59.59,0,0,1-.57.57h-.72c-.27,0-.39-.16-.5-.4L63,14.35a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,56.6,12.1c0-2,1.62-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.42,1.42,0,0,0,61.12,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,57.67,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C64.67,4.87,64.94,6.92,64.94,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,62.6,12.42Zm11-7c-.26-.42-1.18-.57-1.9-.57a4,4,0,0,0-3,1.37l-.23-.73A.56.56,0,0,0,68,5.09h-.52a.59.59,0,0,0-.58.57v9.06a.58.58,0,0,0,.58.57h1c.32,0,.79,0,.79-.57V8.4A2.77,2.77,0,0,1,71.5,7.13a2.47,2.47,0,0,1,.86.18.5.5,0,0,0,.41,0A.56.56,0,0,0,73.1,7l.52-1.09A.48.48,0,0,0,73.61,5.44Z"}))},CheckIns:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 79.311 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"check-ins-text"),t.createElement("path",{fill:St,d:"M40.221,13.213c.4.362.326.669.2.866A4.646,4.646,0,0,1,36.44,16.2a5.2,5.2,0,0,1-5.2-5.311,5.286,5.286,0,0,1,5.225-5.331,4.462,4.462,0,0,1,3.711,1.768.605.605,0,0,1-.1.869L39.3,8.9c-.362.333-.64.055-.806-.109a2.9,2.9,0,0,0-1.967-.959,2.937,2.937,0,0,0-2.9,3.031,2.92,2.92,0,0,0,2.837,3.054,2.62,2.62,0,0,0,2.03-.965c.082-.081.162-.16.242-.234a.572.572,0,0,1,.818-.049h0Zm-9.679-2.971c0,.178-.022.526-.044.7a.579.579,0,0,1-.567.531H23.174a2.82,2.82,0,0,0,2.855,2.485,3.736,3.736,0,0,0,2.369-.818.609.609,0,0,1,.45-.147.459.459,0,0,1,.3.219l.583.907a.513.513,0,0,1-.065.819A5.708,5.708,0,0,1,25.9,16.2a5.046,5.046,0,0,1-5.1-5.332,5.081,5.081,0,0,1,5.074-5.31A4.572,4.572,0,0,1,30.542,10.242ZM23.3,9.653h4.874A2.23,2.23,0,0,0,25.835,7.62,2.412,2.412,0,0,0,23.3,9.653Zm-7.751-4.1a4.789,4.789,0,0,0-2.773.924V2.339a.621.621,0,0,0-.59-.588H10.974a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589H12.16a.575.575,0,0,0,.611-.589V9.193a2.871,2.871,0,0,1,2.493-1.357c1.2,0,1.867.884,1.867,2.492v5.045a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C19.518,7.221,18.144,5.557,15.544,5.557ZM8.315,12.674h0a.573.573,0,0,0-.818.049c-.08.074-.16.154-.242.235a2.624,2.624,0,0,1-2.029.964,2.92,2.92,0,0,1-2.838-3.054,2.938,2.938,0,0,1,2.9-3.031A2.906,2.906,0,0,1,7.257,8.8c.166.164.444.442.8.109l.775-.71a.6.6,0,0,0,.1-.869A4.464,4.464,0,0,0,5.225,5.557,5.285,5.285,0,0,0,0,10.888,5.2,5.2,0,0,0,5.2,16.2a4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM55.084,9.566h-4.1a.514.514,0,0,0-.525.525v.926a.51.51,0,0,0,.525.5h4.1a.51.51,0,0,0,.526-.5v-.926A.514.514,0,0,0,55.084,9.566Zm20.945.2C74.97,9.308,74.4,8.955,74.4,8.41c0-.383.357-.769,1.156-.769a5.059,5.059,0,0,1,2.087.486.581.581,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.882,5.705,5.705,0,0,0-2.973-.751c-2.358,0-3.413,1.422-3.413,2.831,0,1.764,1.327,2.606,2.762,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.39-.7l-.031-.018a.629.629,0,0,0-.506-.075.494.494,0,0,0-.3.254l-.452.926a.523.523,0,0,0,.21.664A5.935,5.935,0,0,0,75.639,16.2c2.41,0,3.672-1.522,3.672-3.025C79.311,11.3,78.011,10.609,76.029,9.769Zm-9.2-4.212a4.687,4.687,0,0,0-3.3,1.277l-.235-.67a.5.5,0,0,0-.522-.392h-.517a.605.605,0,0,0-.591.59v9.011a.591.591,0,0,0,.591.589h1.1c.469,0,.7-.193.7-.589V9.19A2.934,2.934,0,0,1,66.57,7.836c1.191,0,1.846.87,1.846,2.45v5.087a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C70.8,7.131,69.5,5.557,66.829,5.557Zm-8.3-4.275a1.543,1.543,0,0,0-1.538,1.581,1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm-12.215,9.1,3.949-3.716a.548.548,0,0,0,.14-.588.484.484,0,0,0-.476-.3H48.355a1.063,1.063,0,0,0-.7.331L44.008,9.4V2.339a.62.62,0,0,0-.59-.588H42.211a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V11.329l3.783,4.4a.711.711,0,0,0,.542.237H50.1a.468.468,0,0,0,.461-.256.561.561,0,0,0-.094-.582ZM59.135,5.772H57.928a.605.605,0,0,0-.59.59v9.011a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V6.362A.621.621,0,0,0,59.135,5.772Z"}))},ChurchCenter:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 118.083 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"church-center-text"),t.createElement("path",{fill:St,d:"M5.188,16.2A5.187,5.187,0,0,1,0,10.908,5.27,5.27,0,0,1,5.209,5.591a4.453,4.453,0,0,1,3.7,1.762.588.588,0,0,1-.1.844l-.776.712c-.346.319-.607.062-.779-.109a2.93,2.93,0,0,0-1.983-.966A2.959,2.959,0,0,0,2.35,10.887a2.942,2.942,0,0,0,2.859,3.076,2.642,2.642,0,0,0,2.045-.971c.082-.081.162-.16.242-.234a.552.552,0,0,1,.794-.047l.669.539c.388.352.318.651.193.841A4.629,4.629,0,0,1,5.188,16.2ZM19.5,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.788,4.788,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H10.964a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572H12.15a.558.558,0,0,0,.593-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,19.5,15.4Zm8.7-.468.2.566c.09.246.218.474.544.474h.518a.6.6,0,0,0,.592-.572V6.378a.612.612,0,0,0-.592-.57h-1.1c-.332,0-.657.044-.657.57l0,6.023a2.38,2.38,0,0,1-2.236,1.562c-1.259,0-1.845-.723-1.845-2.277V6.378a.585.585,0,0,0-.571-.57H21.843a.6.6,0,0,0-.57.57v5.156c0,2.175.433,4.67,3.807,4.67A4.06,4.06,0,0,0,28.193,14.928Zm6.2.468V9.1A2.755,2.755,0,0,1,36.65,7.834a2.382,2.382,0,0,1,.863.184.53.53,0,0,0,.41.032.571.571,0,0,0,.324-.315l.518-1.077a.5.5,0,0,0-.009-.507c-.259-.413-1.18-.56-1.89-.56a3.975,3.975,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C33.922,15.968,34.4,15.968,34.4,15.4Zm13.35-1.305c.125-.19.2-.489-.193-.841l-.669-.539a.552.552,0,0,0-.794.047c-.08.074-.16.153-.242.234a2.642,2.642,0,0,1-2.044.971,2.942,2.942,0,0,1-2.86-3.076,2.959,2.959,0,0,1,2.924-3.053A2.93,2.93,0,0,1,45.85,8.8c.172.171.433.428.779.109l.776-.712a.588.588,0,0,0,.1-.844,4.452,4.452,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,47.745,14.091ZM58.089,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.79,4.79,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H49.557a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.187a.557.557,0,0,0,.592-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,58.089,15.4Zm12.926-1.305c.126-.19.2-.489-.192-.841l-.669-.539a.553.553,0,0,0-.8.047c-.08.074-.159.153-.242.234a2.64,2.64,0,0,1-2.044.971,2.941,2.941,0,0,1-2.859-3.076A2.8,2.8,0,0,1,69.121,8.8c.171.171.433.428.778.109l.777-.712a.587.587,0,0,0,.1-.844,4.449,4.449,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,71.015,14.091Zm10.247-3.83c0,.177-.022.525-.044.7a.562.562,0,0,1-.549.516H73.887a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.436-.143.447.447,0,0,1,.283.212l.584.907a.492.492,0,0,1-.063.794A5.7,5.7,0,0,1,76.634,16.2a5.031,5.031,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.558,4.558,0,0,1,81.262,10.261Zm-2.335-.57a2.251,2.251,0,0,0-2.358-2.073,2.433,2.433,0,0,0-2.564,2.073ZM91.707,15.4V10.391c0-3.23-1.3-4.8-3.959-4.8a4.657,4.657,0,0,0-3.306,1.3l-.246-.7a.479.479,0,0,0-.5-.376h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.1c.457,0,.679-.187.679-.572V9.2a2.96,2.96,0,0,1,2.536-1.37c1.2,0,1.867.877,1.867,2.471V15.4a.58.58,0,0,0,.571.572h1.208A.594.594,0,0,0,91.707,15.4Zm7.779.081a.538.538,0,0,0,.277-.7l-.389-1.014a.537.537,0,0,0-.306-.325.493.493,0,0,0-.415.061,3.249,3.249,0,0,1-1.548.462c-.445,0-.7-.15-.7-.918V7.834h2.536a.594.594,0,0,0,.571-.571V6.378a.564.564,0,0,0-.571-.57H96.4V3.12a.555.555,0,0,0-.549-.571h-1.23a.579.579,0,0,0-.571.571V5.808H93.005a.552.552,0,0,0-.571.57v.885a.579.579,0,0,0,.571.571h1.048v5.3c0,1.431.3,3.073,2.62,3.073A6.067,6.067,0,0,0,99.486,15.477Zm10.11-5.216c0,.177-.022.525-.044.7a.561.561,0,0,1-.549.516h-6.782a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.437-.143.446.446,0,0,1,.282.212l.584.907a.491.491,0,0,1-.063.794,5.7,5.7,0,0,1-3.752,1.252,5.032,5.032,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.557,4.557,0,0,1,109.6,10.261Zm-2.335-.57A2.25,2.25,0,0,0,104.9,7.618a2.434,2.434,0,0,0-2.565,2.073Zm6.026,5.705V9.1a2.755,2.755,0,0,1,2.255-1.265,2.388,2.388,0,0,1,.864.184.528.528,0,0,0,.409.032.568.568,0,0,0,.324-.315l.519-1.077a.5.5,0,0,0-.009-.507c-.26-.413-1.181-.56-1.891-.56a3.977,3.977,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C112.814,15.968,113.287,15.968,113.287,15.4Z"}))},Giving:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 50.486 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"giving-text"),t.createElement("path",{fill:St,d:"M9.17,5.089H8.588c-.335,0-.42.255-.474.416l-.2.473a4.791,4.791,0,0,0-3.1-1.1A5.026,5.026,0,0,0,0,10.184a5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.089Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.973,2.973,0,0,1-2.8-3.054A2.82,2.82,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.467Zm6.745-2.788v9.01a.6.6,0,0,1-.59.589H12.321a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,14.118,5.679Zm.388-3.508A1.572,1.572,0,0,1,12.924,3.73a1.532,1.532,0,0,1-1.538-1.559A1.543,1.543,0,0,1,12.924.59,1.564,1.564,0,0,1,14.506,2.171Zm10.3,3.156a.49.49,0,0,1-.027.5l-4.307,9.367a.558.558,0,0,1-.514.327h-.13a.6.6,0,0,1-.534-.323L14.984,5.817a.487.487,0,0,1-.025-.49.545.545,0,0,1,.494-.238h1.315a.547.547,0,0,1,.535.344l2.572,5.917,2.7-5.913c.16-.348.486-.348.773-.348h.97A.545.545,0,0,1,24.807,5.327Zm3.249.352v9.01a.6.6,0,0,1-.59.589H26.259a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,28.056,5.679Zm.388-3.508A1.572,1.572,0,0,1,26.863,3.73a1.532,1.532,0,0,1-1.539-1.559A1.544,1.544,0,0,1,26.863.59,1.564,1.564,0,0,1,28.444,2.171Zm10.69,7.517v5a.6.6,0,0,1-.59.589H37.337a.59.59,0,0,1-.59-.589V9.6c0-1.581-.655-2.451-1.846-2.451a2.938,2.938,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h.517a.5.5,0,0,1,.522.391l.235.67a4.692,4.692,0,0,1,3.3-1.276C37.834,4.874,39.134,6.448,39.134,9.688Zm10.456-4.6h-.582c-.336,0-.42.255-.473.416l-.2.473a4.777,4.777,0,0,0-3.1-1.1,5.026,5.026,0,0,0-4.815,5.31,5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,45.451,20a4.407,4.407,0,0,0,4.729-4.771V5.679A.605.605,0,0,0,49.59,5.089Zm-1.8,7.409a3.944,3.944,0,0,1-2.19.74,2.973,2.973,0,0,1-2.795-3.054,2.693,2.693,0,0,1,4.985-1.717Z"}))},Home:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",xmlns:"http://www.w3.org/2000/svg",height:e,viewBox:"0 0 47.624 20"},t.createElement("title",null,"home-text"),t.createElement("path",{fill:St,d:"M8.952,9.7V14.69a.584.584,0,0,1-.553.57H7.229a.57.57,0,0,1-.553-.57V9.658c0-1.616-.649-2.506-1.827-2.506A2.791,2.791,0,0,0,2.414,8.52v6.17a.547.547,0,0,1-.573.57H.692a.569.569,0,0,1-.553-.57v-13a.583.583,0,0,1,.553-.569H1.861a.6.6,0,0,1,.553.569V5.857a4.544,4.544,0,0,1,2.706-.94C7.627,4.917,8.952,6.571,8.952,9.7Zm11.261.473a5.239,5.239,0,0,1-5,5.322,5.185,5.185,0,0,1-5.022-5.322A5.213,5.213,0,0,1,15.21,4.917,5.2,5.2,0,0,1,20.213,10.174Zm-2.234,0a2.789,2.789,0,1,0-5.558,0,2.884,2.884,0,0,0,2.789,3.087A2.876,2.876,0,0,0,17.979,10.174Zm14.59-5.257a4.475,4.475,0,0,0-3.248,1.519,3.34,3.34,0,0,0-2.956-1.519,4.128,4.128,0,0,0-3.031,1.289L23.111,5.5a.487.487,0,0,0-.506-.367h-.48a.584.584,0,0,0-.553.569V14.69a.57.57,0,0,0,.553.57h1.169a.577.577,0,0,0,.553-.57V8.512a2.367,2.367,0,0,1,2.184-1.36c1.216,0,1.808.806,1.808,2.463V14.69a.555.555,0,0,0,.552.57h1.191a.559.559,0,0,0,.532-.57V9.551a10.249,10.249,0,0,0-.077-1.3l.06-.064a2.793,2.793,0,0,1,2.159-1.034c1.2,0,1.807.829,1.807,2.463V14.69a.538.538,0,0,0,.553.57h1.17a.549.549,0,0,0,.553-.57V9.7C36.339,7.647,35.948,4.917,32.569,4.917ZM47.042,9.572c0,.176-.021.523-.043.7a.549.549,0,0,1-.531.514H39.9A2.778,2.778,0,0,0,42.687,13.3a3.573,3.573,0,0,0,2.306-.82.6.6,0,0,1,.422-.144.431.431,0,0,1,.274.211l.566.9a.5.5,0,0,1-.061.791A5.416,5.416,0,0,1,42.562,15.5c-2.85,0-4.919-2.229-4.919-5.3a4.988,4.988,0,0,1,4.9-5.279A4.479,4.479,0,0,1,47.042,9.572ZM40.016,9h4.765A2.2,2.2,0,0,0,42.5,6.937,2.375,2.375,0,0,0,40.016,9Z"}))},Groups:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 58.688 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"groups-text"),t.createElement("path",{fill:St,d:"M9.17,5.09H8.588c-.335,0-.42.255-.474.416l-.2.472a4.791,4.791,0,0,0-3.1-1.1A5.027,5.027,0,0,0,0,10.185a5.085,5.085,0,0,0,4.923,5.332,5.465,5.465,0,0,0,2.428-.63v.342c0,2.113-1.285,2.557-2.363,2.557a3.631,3.631,0,0,1-2.259-.9.568.568,0,0,0-.473-.115.556.556,0,0,0-.366.3l-.516.947a.574.574,0,0,0,.126.7A5.487,5.487,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.09Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.972,2.972,0,0,1-2.8-3.053A2.821,2.821,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.468Zm11.092-2.5-.517,1.077a.588.588,0,0,1-.335.323.535.535,0,0,1-.424-.032,2.351,2.351,0,0,0-.854-.183A2.738,2.738,0,0,0,14.1,8.4v6.288c0,.59-.485.59-.806.59H12.3a.6.6,0,0,1-.59-.59V5.679a.6.6,0,0,1,.59-.589h.517a.574.574,0,0,1,.544.434l.213.688A3.931,3.931,0,0,1,16.55,4.874c.749,0,1.642.149,1.9.568A.517.517,0,0,1,18.465,5.967Zm4.994-1.093a5.323,5.323,0,0,0,0,10.643,5.323,5.323,0,0,0,0-10.643Zm0,8.364A2.907,2.907,0,0,1,20.6,10.163a2.852,2.852,0,1,1,5.7,0A2.9,2.9,0,0,1,23.459,13.238ZM38.688,5.679v9.01a.616.616,0,0,1-.611.59H37.56c-.34,0-.475-.246-.561-.486l-.2-.535a4.082,4.082,0,0,1-3.1,1.259c-3.389,0-3.824-2.5-3.824-4.686V5.679a.621.621,0,0,1,.59-.589h1.207a.605.605,0,0,1,.591.589v5.3c0,1.539.579,2.256,1.824,2.256A2.356,2.356,0,0,0,36.3,11.694l0-6.015c0-.544.334-.589.677-.589h1.1A.632.632,0,0,1,38.688,5.679Zm6.9-.805a4.752,4.752,0,0,0-3.081,1.1l-.2-.488a.523.523,0,0,0-.54-.4h-.538a.6.6,0,0,0-.59.589V19.266a.6.6,0,0,0,.59.589H42.44a.58.58,0,0,0,.633-.589V14.909a5.612,5.612,0,0,0,2.428.608,5.075,5.075,0,0,0,4.9-5.332A5.027,5.027,0,0,0,45.587,4.874ZM43.029,8.457a2.633,2.633,0,0,1,2.278-1.305,2.789,2.789,0,0,1,2.708,3.033,2.9,2.9,0,0,1-2.794,3.053,4.131,4.131,0,0,1-2.192-.676Zm15.349,4.034c0,1.5-1.262,3.026-3.672,3.026a5.921,5.921,0,0,1-3.343-1.034h0a.522.522,0,0,1-.208-.663l.452-.925a.493.493,0,0,1,.3-.254.633.633,0,0,1,.5.075l.037.02a4.488,4.488,0,0,0,2.384.7c.74,0,1.2-.329,1.2-.856,0-.581-.666-.985-2.066-1.619-1.435-.646-2.763-1.487-2.763-3.252,0-1.41,1.056-2.832,3.414-2.832a5.71,5.71,0,0,1,2.973.752.705.705,0,0,1,.256.881L57.5,7.2a.58.58,0,0,1-.8.248,5.043,5.043,0,0,0-2.087-.485c-.8,0-1.156.386-1.156.768,0,.545.574.9,1.633,1.361C57.078,9.926,58.378,10.616,58.378,12.491Z"}))},People:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 57.729 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"people-text"),t.createElement("path",{fill:St,d:"M4.944,5.019a4.754,4.754,0,0,0-3.08,1.1l-.2-.487a.521.521,0,0,0-.539-.4H.59A.606.606,0,0,0,0,5.823V19.41A.6.6,0,0,0,.59,20H1.8a.58.58,0,0,0,.633-.59V15.053a5.593,5.593,0,0,0,2.428.607,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,4.944,5.019ZM2.387,8.6A2.63,2.63,0,0,1,4.665,7.3a2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.795,3.054,4.109,4.109,0,0,1-2.191-.678ZM15.663,5.019a5.083,5.083,0,0,0-5.075,5.31,5.046,5.046,0,0,0,5.1,5.331A5.707,5.707,0,0,0,19.445,14.4a.511.511,0,0,0,.065-.818l-.583-.907a.459.459,0,0,0-.295-.22.609.609,0,0,0-.45.147,3.735,3.735,0,0,1-2.369.82,2.819,2.819,0,0,1-2.854-2.487h6.756a.578.578,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,15.663,5.019Zm-2.583,4.1a2.411,2.411,0,0,1,2.539-2.033,2.231,2.231,0,0,1,2.335,2.033Zm13.145-4.1a5.322,5.322,0,0,0,0,10.641,5.322,5.322,0,0,0,0-10.641Zm2.837,5.289a2.856,2.856,0,1,1-5.7,0,2.852,2.852,0,1,1,5.7,0Zm8.653-5.289a4.758,4.758,0,0,0-3.081,1.1l-.2-.487a.522.522,0,0,0-.54-.4h-.538a.606.606,0,0,0-.591.589V19.41a.592.592,0,0,0,.591.59h1.207a.58.58,0,0,0,.633-.59V15.05a5.541,5.541,0,0,0,2.428.61,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,37.715,5.019ZM35.158,8.6a2.629,2.629,0,0,1,2.277-1.3,2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.794,3.054,4.109,4.109,0,0,1-2.191-.678ZM46.324,1.247V14.834a.606.606,0,0,1-.59.59H44.527a.6.6,0,0,1-.59-.59V1.247a.6.6,0,0,1,.59-.589h1.207A.621.621,0,0,1,46.324,1.247Zm6.459,3.772a5.083,5.083,0,0,0-5.075,5.31,5.047,5.047,0,0,0,5.1,5.331A5.713,5.713,0,0,0,56.566,14.4a.511.511,0,0,0,.064-.818l-.583-.907a.459.459,0,0,0-.295-.22.6.6,0,0,0-.449.147,3.739,3.739,0,0,1-2.369.82,2.821,2.821,0,0,1-2.855-2.487h6.756a.577.577,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,52.783,5.019ZM52.74,7.081a2.231,2.231,0,0,1,2.334,2.033H50.2A2.412,2.412,0,0,1,52.74,7.081Z"}))},Publishing:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",xmlns:"http://www.w3.org/2000/svg",height:e,viewBox:"0 0 84.973 20"},t.createElement("title",null,"publishing-text"),t.createElement("path",{d:"M4.905,5.03A4.709,4.709,0,0,0,1.829,6.141l-.2-.511a.5.5,0,0,0-.52-.385H.568A.59.59,0,0,0,0,5.812V19.374a.575.575,0,0,0,.568.568h1.2a.559.559,0,0,0,.611-.568v-4.4a5.573,5.573,0,0,0,2.437.618A5.036,5.036,0,0,0,9.681,10.3,4.988,4.988,0,0,0,4.905,5.03ZM2.338,8.575A2.642,2.642,0,0,1,4.626,7.261,2.8,2.8,0,0,1,7.343,10.3a2.908,2.908,0,0,1-2.8,3.06,4.117,4.117,0,0,1-2.2-.684Zm17.4-2.763v8.974a.6.6,0,0,1-.59.569h-.515c-.326,0-.456-.238-.541-.472l-.2-.562a4.046,4.046,0,0,1-3.1,1.27c-3.358,0-3.788-2.484-3.788-4.647V5.812a.606.606,0,0,1,.568-.567h1.2a.59.59,0,0,1,.568.567v5.282c0,1.546.584,2.266,1.837,2.266A2.368,2.368,0,0,0,17.4,11.806V5.812c0-.524.323-.567.654-.567h1.094A.609.609,0,0,1,19.737,5.812Zm6.74-.782A6.836,6.836,0,0,0,24.1,5.5l-.018.006V1.246a.606.606,0,0,0-.568-.567H22.29a.583.583,0,0,0-.568.567v13.54a.576.576,0,0,0,.568.569h.516a.569.569,0,0,0,.542-.5l.17-.576a4.845,4.845,0,0,0,3.217,1.31c2.6,0,4.711-2.374,4.711-5.291A5.071,5.071,0,0,0,26.477,5.03ZM24.061,7.76a5.243,5.243,0,0,1,2.18-.5A3,3,0,0,1,29.107,10.3a2.9,2.9,0,0,1-2.694,3.06A2.761,2.761,0,0,1,24.061,12ZM35.225,1.246v13.54a.591.591,0,0,1-.568.569h-1.2a.576.576,0,0,1-.569-.569V1.246a.59.59,0,0,1,.569-.567h1.2A.606.606,0,0,1,35.225,1.246Zm4.349,4.566v8.974a.591.591,0,0,1-.568.569H37.8a.576.576,0,0,1-.568-.569V5.812a.582.582,0,0,1,.568-.567h1.2A.606.606,0,0,1,39.574,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.508,1.508,0,0,1-1.513-1.534A1.519,1.519,0,0,1,38.405.679,1.539,1.539,0,0,1,39.961,2.235ZM48.143,12.6c0,1.488-1.25,2.994-3.638,2.994a5.875,5.875,0,0,1-3.318-1.026h0a.5.5,0,0,1-.2-.636l.45-.922a.47.47,0,0,1,.291-.243.613.613,0,0,1,.487.073l.036.02a4.489,4.489,0,0,0,2.385.7c.737,0,1.214-.342,1.214-.871,0-.589-.667-.994-2.069-1.629-1.423-.642-2.74-1.476-2.74-3.222,0-1.394,1.045-2.8,3.38-2.8a5.67,5.67,0,0,1,2.951.745.684.684,0,0,1,.248.853l-.343.687a.56.56,0,0,1-.769.238,5.05,5.05,0,0,0-2.087-.485c-.808,0-1.17.394-1.17.784,0,.554.575.91,1.638,1.372C46.853,10.057,48.143,10.742,48.143,12.6ZM58.461,9.805v4.981a.592.592,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.763c0-1.614-.668-2.5-1.879-2.5a2.881,2.881,0,0,0-2.5,1.366v6.159a.554.554,0,0,1-.589.569H49.97a.576.576,0,0,1-.568-.569V1.246A.582.582,0,0,1,49.97.679h1.2a.606.606,0,0,1,.567.567V5.967a4.766,4.766,0,0,1,2.782-.937C57.1,5.03,58.461,6.681,58.461,9.805Zm4.2-3.993v8.974a.59.59,0,0,1-.567.569h-1.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h1.2A.606.606,0,0,1,62.657,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.507,1.507,0,0,1-1.512-1.534A1.518,1.518,0,0,1,61.488.679,1.539,1.539,0,0,1,63.044,2.235Zm10.647,7.57v4.981a.591.591,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.72c0-1.586-.66-2.459-1.858-2.459a2.944,2.944,0,0,0-2.523,1.364v6.161c0,.383-.221.569-.676.569H65.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h.516a.474.474,0,0,1,.5.375l.245.7a4.64,4.64,0,0,1,3.29-1.288C72.4,5.03,73.691,6.592,73.691,9.805Zm10.432-4.56h-.579c-.32,0-.4.236-.454.4l-.2.5a4.737,4.737,0,0,0-3.1-1.112A4.988,4.988,0,0,0,75.01,10.3a5.046,5.046,0,0,0,4.884,5.291,5.429,5.429,0,0,0,2.437-.64v.372c0,2.121-1.29,2.566-2.373,2.566a3.629,3.629,0,0,1-2.261-.9.547.547,0,0,0-.456-.111.535.535,0,0,0-.352.292l-.514.944a.551.551,0,0,0,.123.673A5.444,5.444,0,0,0,80,20.056a4.371,4.371,0,0,0,4.69-4.733V5.812A.582.582,0,0,0,84.123,5.245ZM80.151,13.36a2.979,2.979,0,0,1-2.8-3.06,2.7,2.7,0,0,1,5-1.715v4.029A3.973,3.973,0,0,1,80.151,13.36Z",fill:St}))},Registrations:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",xmlns:"http://www.w3.org/2000/svg",height:e,viewBox:"0 0 105.758 20"},t.createElement("title",null,"registrations-text"),t.createElement("path",{fill:St,d:"M6.751,5.966,6.234,7.043a.589.589,0,0,1-.336.324.545.545,0,0,1-.423-.033,2.375,2.375,0,0,0-.854-.182A2.74,2.74,0,0,0,2.387,8.4v6.288c0,.59-.485.59-.8.59H.59a.6.6,0,0,1-.59-.59V5.679A.6.6,0,0,1,.59,5.09h.517a.574.574,0,0,1,.544.433l.212.685A4,4,0,0,1,4.836,4.874c.749,0,1.643.148,1.9.567A.517.517,0,0,1,6.751,5.966Zm9.583,3.593c0,.181-.022.53-.044.705a.578.578,0,0,1-.567.531H8.966a2.82,2.82,0,0,0,2.855,2.486,3.74,3.74,0,0,0,2.369-.819.608.608,0,0,1,.45-.148.465.465,0,0,1,.295.22l.583.907a.513.513,0,0,1-.065.819,5.708,5.708,0,0,1-3.762,1.256,5.046,5.046,0,0,1-5.1-5.331A5.083,5.083,0,0,1,11.67,4.874,4.572,4.572,0,0,1,16.334,9.559ZM11.627,6.937A2.411,2.411,0,0,0,9.087,8.97h4.874A2.23,2.23,0,0,0,11.627,6.937ZM26.8,5.679v9.55A4.407,4.407,0,0,1,22.071,20a5.486,5.486,0,0,1-3.53-1.284.564.564,0,0,1-.127-.7l.516-.948a.555.555,0,0,1,.365-.3.561.561,0,0,1,.474.114,3.622,3.622,0,0,0,2.259.905c1.078,0,2.364-.444,2.364-2.557v-.342a5.472,5.472,0,0,1-2.429.629,5.084,5.084,0,0,1-4.922-5.331,5.027,5.027,0,0,1,4.814-5.311,4.777,4.777,0,0,1,3.1,1.1l.2-.473c.053-.161.138-.415.473-.415h.582A.6.6,0,0,1,26.8,5.679ZM22.136,7.152a2.821,2.821,0,0,0-2.708,3.033,2.972,2.972,0,0,0,2.794,3.053,3.948,3.948,0,0,0,2.191-.74V8.468A2.834,2.834,0,0,0,22.136,7.152ZM29.965.6a1.544,1.544,0,0,0-1.538,1.582A1.55,1.55,0,0,0,29.965,3.74a1.571,1.571,0,1,0,0-3.141Zm.6,4.491H29.361a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59h1.208a.6.6,0,0,0,.589-.59V5.679A.62.62,0,0,0,30.569,5.09Zm5.91,4c-1.059-.462-1.632-.815-1.632-1.36,0-.383.357-.769,1.155-.769a5.048,5.048,0,0,1,2.088.486.582.582,0,0,0,.8-.248l.345-.689a.709.709,0,0,0-.256-.882A5.713,5.713,0,0,0,36,4.874c-2.357,0-3.413,1.422-3.413,2.831,0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.065,1.038,2.065,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.387-.7l-.034-.018a.644.644,0,0,0-.5-.076.494.494,0,0,0-.3.254l-.452.925a.517.517,0,0,0,.208.663h0a5.917,5.917,0,0,0,3.342,1.034c2.411,0,3.672-1.522,3.672-3.025C39.761,10.617,38.461,9.926,36.479,9.087Zm10.558,3.964a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H44.071V2.424a.574.574,0,0,0-.569-.59H42.273a.59.59,0,0,0-.589.59V5.09H40.657a.57.57,0,0,0-.59.589v.883a.59.59,0,0,0,.59.59h1.027v5.274c0,1.438.3,3.09,2.637,3.09a6.116,6.116,0,0,0,2.822-.729.556.556,0,0,0,.283-.721Zm8.023-7.61c-.263-.419-1.156-.567-1.905-.567a4,4,0,0,0-2.973,1.335l-.212-.686a.574.574,0,0,0-.544-.433h-.517a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59H49.9c.321,0,.806,0,.806-.59V8.4A2.738,2.738,0,0,1,52.94,7.152a2.369,2.369,0,0,1,.853.182.548.548,0,0,0,.424.033.6.6,0,0,0,.336-.324l.517-1.077A.517.517,0,0,0,55.06,5.441Zm8.351,3.946v5.3a.605.605,0,0,1-.59.59H62.11c-.284,0-.412-.166-.516-.416l-.181-.509A4.386,4.386,0,0,1,58.4,15.516a3.2,3.2,0,0,1-3.328-3.435c0-2.021,1.611-3.327,4.1-3.327a7.7,7.7,0,0,1,1.892.265,2.3,2.3,0,0,0-.417-1.668A1.414,1.414,0,0,0,59.588,7a10.1,10.1,0,0,0-2.749.47.577.577,0,0,1-.7-.494l-.194-.82a.566.566,0,0,1,.4-.717A10.865,10.865,0,0,1,59.8,4.874C63.14,4.874,63.411,6.918,63.411,9.387Zm-4.06,1.149c-1.174,0-1.933.6-1.933,1.524a1.343,1.343,0,0,0,1.436,1.458,2.987,2.987,0,0,0,2.191-1.125V10.835A4.853,4.853,0,0,0,59.351,10.536Zm11.773,2.515a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H68.158V2.424a.574.574,0,0,0-.569-.59H66.36a.591.591,0,0,0-.59.59V5.09H64.744a.57.57,0,0,0-.59.589v.883a.591.591,0,0,0,.59.59H65.77v5.274c0,1.438.3,3.09,2.638,3.09a6.107,6.107,0,0,0,2.821-.729.556.556,0,0,0,.284-.721ZM74.2,5.09H72.994a.605.605,0,0,0-.591.589v9.01a.591.591,0,0,0,.591.59H74.2a.605.605,0,0,0,.59-.59V5.679A.621.621,0,0,0,74.2,5.09ZM73.6.6a1.543,1.543,0,0,0-1.538,1.582A1.55,1.55,0,0,0,73.6,3.74,1.571,1.571,0,1,0,73.6.6Zm12.869,9.563a5.341,5.341,0,0,1-5.182,5.354,5.323,5.323,0,1,1,5.182-5.354Zm-2.344,0a2.853,2.853,0,1,0-5.7,0,2.857,2.857,0,1,0,5.7,0Zm8.867-5.288a4.7,4.7,0,0,0-3.3,1.277l-.235-.671a.5.5,0,0,0-.522-.39h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h1.1c.469,0,.7-.192.7-.59V8.507A2.939,2.939,0,0,1,92.73,7.152c1.191,0,1.847.87,1.847,2.451v5.086a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59v-5C96.964,6.448,95.664,4.874,92.989,4.874Zm9.2,4.213c-1.059-.462-1.633-.815-1.633-1.36,0-.383.358-.769,1.156-.769a5.04,5.04,0,0,1,2.087.486.585.585,0,0,0,.8-.248l.344-.689a.709.709,0,0,0-.255-.882,5.718,5.718,0,0,0-2.974-.751C99.355,4.874,98.3,6.3,98.3,7.705c0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.46.856-1.2.856a4.49,4.49,0,0,1-2.387-.7l-.034-.018A.633.633,0,0,0,99,12.64a.49.49,0,0,0-.3.253l-.452.925a.516.516,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.411,0,3.673-1.522,3.673-3.025C105.472,10.617,104.172,9.926,102.19,9.087Z"}))},Services:function({size:e=20}){return t.createElement("svg",{"data-logo":"mono-app-text",xmlns:"http://www.w3.org/2000/svg",height:e,viewBox:"0 0 67.995 20"},t.createElement("title",null,"services-text"),t.createElement("path",{fill:St,d:"M7.277,12.49c0,1.5-1.262,3.026-3.672,3.026A5.924,5.924,0,0,1,.262,14.482h0a.521.521,0,0,1-.209-.663L.5,12.893a.5.5,0,0,1,.305-.254.62.62,0,0,1,.5.075l.036.019a4.479,4.479,0,0,0,2.385.7c.74,0,1.2-.328,1.2-.856,0-.582-.666-.985-2.066-1.618C1.432,10.311.105,9.469.105,7.705c0-1.41,1.055-2.832,3.413-2.832a5.717,5.717,0,0,1,2.974.752.7.7,0,0,1,.255.881L6.4,7.2a.58.58,0,0,1-.8.248,5.04,5.04,0,0,0-2.087-.485c-.8,0-1.155.386-1.155.768,0,.546.573.9,1.632,1.361C5.977,9.925,7.277,10.615,7.277,12.49ZM17.622,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.568.532H10.255a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.64.64,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.715,5.715,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332,5.083,5.083,0,0,1,5.074-5.311A4.573,4.573,0,0,1,17.622,9.559ZM15.249,8.97a2.229,2.229,0,0,0-2.334-2.034,2.412,2.412,0,0,0-2.54,2.034Zm8.511-4.1a3.929,3.929,0,0,0-2.972,1.338l-.213-.688a.575.575,0,0,0-.544-.434h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h.992c.32,0,.8,0,.8-.59V8.4a2.74,2.74,0,0,1,2.235-1.249,2.351,2.351,0,0,1,.854.183.534.534,0,0,0,.424.032.584.584,0,0,0,.334-.323l.518-1.077a.517.517,0,0,0-.01-.525C25.4,5.022,24.509,4.873,23.76,4.873Zm11.569.216H34.36c-.288,0-.613,0-.774.348l-2.695,5.912L28.319,5.433a.545.545,0,0,0-.535-.344H26.469a.544.544,0,0,0-.493.238.489.489,0,0,0,.024.49l4.311,9.376a.6.6,0,0,0,.534.323h.13a.56.56,0,0,0,.514-.327L35.8,5.822a.49.49,0,0,0,.027-.5A.545.545,0,0,0,35.329,5.089Zm3.154,0H37.276a.6.6,0,0,0-.59.589v9.01a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59V5.678A.621.621,0,0,0,38.483,5.089ZM37.879.6A1.543,1.543,0,0,0,36.341,2.18a1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm10.8,11.392a.567.567,0,0,0-.818.047c-.08.073-.16.152-.241.233a2.623,2.623,0,0,1-2.031.966,2.92,2.92,0,0,1-2.838-3.053,2.778,2.778,0,0,1,4.87-2.073c.165.164.444.443.806.11l.774-.71a.606.606,0,0,0,.1-.87,4.465,4.465,0,0,0-3.711-1.768,5.285,5.285,0,0,0-5.225,5.332,5.2,5.2,0,0,0,5.2,5.311,4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM59.784,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.567.532H52.417a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.641.641,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.712,5.712,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332A5.083,5.083,0,0,1,55.12,4.873,4.573,4.573,0,0,1,59.784,9.559ZM52.537,8.97h4.874a2.229,2.229,0,0,0-2.334-2.034A2.412,2.412,0,0,0,52.537,8.97ZM64.4,9.087c-1.06-.462-1.633-.816-1.633-1.361,0-.382.357-.768,1.156-.768a5.047,5.047,0,0,1,2.087.485.58.58,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.881,5.71,5.71,0,0,0-2.973-.752c-2.358,0-3.414,1.422-3.414,2.832,0,1.764,1.328,2.606,2.763,3.253,1.4.633,2.066,1.036,2.066,1.618,0,.528-.459.856-1.2.856a4.485,4.485,0,0,1-2.384-.7l-.037-.02a.632.632,0,0,0-.5-.075.493.493,0,0,0-.3.254l-.452.925a.521.521,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.412,0,3.673-1.522,3.673-3.026C67.685,10.615,66.385,9.925,64.4,9.087Z"}))}};function Vt({appName:e,size:n=20}){return Pt[e]?t.createElement(Pt[e],{size:n}):t.createElement("div",null,"appName not supported")}const Mt=["dot","dotFill","fill","style"],Nt=["id","style"],Ht=["className","style"],Lt=["fill","size","style"],zt=["fill","style"],Tt=["fill","style"],_t=e=>{let{dot:n=!1,dotFill:a="#fff",fill:l="#fff",style:o}=e,r=X(e,Mt);const i=t.createElement("path",{d:"M21.482,16.626,19.1,13.649V9a7,7,0,0,0-14,0v4.649L2.478,16.929A1.89,1.89,0,0,0,3.952,20H9.285a2.983,2.983,0,0,0,5.633,0H19.86a2.077,2.077,0,0,0,1.622-3.374ZM19.86,18H4.182l2.7-3.375A1,1,0,0,0,7.1,14V9a5,5,0,0,1,10,0v5a1,1,0,0,0,.219.625l2.6,3.25Z",fill:"white"});return t.createElement("svg",J({width:"24",height:"24",viewBox:"0 0 24 24",style:J({display:"block"},o)},r,{stroke:"none"}),t.createElement("title",null,"bell"),t.createElement("defs",null,t.createElement("mask",{id:"mask-no-dot"},i),t.createElement("mask",{id:"mask-dot"},i,t.createElement("circle",{cx:"18",cy:"6",fill:"black",r:"7"}))),t.createElement("rect",{fill:l,height:"24",mask:n?"url(#mask-dot)":"url(#mask-no-dot",width:"24",x:"0",y:"0"}),n&&t.createElement("circle",{cx:"18",cy:"6",r:"4",fill:a||l}))},Ot=e=>{let{id:n="default",style:a}=e,l=X(e,Nt);return t.createElement("svg",J({fill:"none",height:"123",style:J({},a),width:"160"},l),t.createElement("g",{clipPath:`url(#clip-path-blank-state-${n})`},t.createElement("path",{opacity:".6",d:"M155.367 66.751c-6.081 17.955-18.824 33.158-32.579 41.991-14.045 8.977-28.96 11.294-46.19 7.529-16.941-3.764-33.738-11.583-47.638-18.968C15.204 89.63 4.344 82.533 1.593 71.385-1.013 60.525 4.78 45.61 18.68 30.842 32.435 16.362 54.3 2.896 80.362.579c25.919-2.606 49.666 6.082 63.276 18.534 13.901 12.597 17.666 29.828 11.729 47.638z",fill:"#E1F0F9"}),t.createElement("g",{opacity:".2"},t.createElement("path",{opacity:".2",d:"M90.643 122.063c-9.702 0-19.258-2.606-29.25-7.674-12.741-6.66-26.352-16.796-41.41-30.841C8.832 72.688-.29 62.697 0 50.678c.145-8.542 5.503-17.81 14.914-26.352l1.448 1.593c-9.122 8.108-14.19 16.94-14.335 24.76-.29 11.294 8.543 20.85 19.403 31.42C36.344 96 49.81 105.992 62.263 112.508c13.031 6.805 25.629 8.977 38.371 6.516l.434 2.027c-3.475.724-6.95 1.013-10.425 1.013zM116.706 115.982l-.869-1.738c13.756-6.226 25.919-16.507 34.027-28.67l1.738 1.159c-8.254 12.453-20.706 22.878-34.896 29.249zM158.552 71.385l-2.027-.58c2.896-11.294.869-22.877-5.792-33.303-10.715-17.086-32-29.973-55.457-33.882-19.258-3.475-40.108-.29-58.642 8.688l-.869-1.883c18.824-9.122 40.109-12.307 59.8-8.832 24.037 3.91 45.901 17.23 56.906 34.75 7.095 11.005 9.267 23.023 6.081 35.042z",fill:"#BAC7D3"})),t.createElement("path",{d:"M115.258 20.706l-.145 4.199c0 .869.289 1.882 1.013 2.461l3.186 2.752c.724.724.29 1.882-.724 1.882l-4.199-.145c-.869 0-1.882.29-2.462 1.014l-2.896 3.33c-.724.724-1.882.29-1.882-.724l.145-4.199c0-.869-.29-1.882-1.014-2.462l-3.185-2.75c-.724-.725-.29-1.883.724-1.883l4.199.145c.869 0 1.882-.29 2.461-1.014l2.751-3.185c.724-.87 2.028-.435 2.028.579zM92.959 30.842v1.882c0 .434.144.869.579 1.158l1.448 1.159c.29.29.145.869-.29.869h-1.882c-.434 0-.869.144-1.158.579l-1.159 1.448c-.29.29-.869.145-.869-.29v-1.882c0-.435-.144-.869-.579-1.159l-1.448-1.158c-.29-.29-.145-.869.29-.869h1.882c.435 0 .869-.145 1.159-.579l1.158-1.448c.29-.434.869-.29.869.29z",fill:"#FCC846"}),t.createElement("path",{d:"M68.778 36.633l-19.982 57.63 57.919-20.127-37.937-37.502z",fill:"#48A5E5"}),t.createElement("path",{d:"M82.099 54.299H62.696l2.027-5.647h12.308l5.068 5.647zM99.91 70.082H57.194l2.027-5.648h33.737l6.95 5.648zM72.398 85.864H51.692l1.737-5.647h35.91l-16.941 5.647z",fill:"#79CAF2"}),t.createElement("path",{d:"M107.613 73.964c1.44-1.5-6.087-11.069-16.813-21.374-10.726-10.305-20.588-17.443-22.029-15.944-1.44 1.5 6.087 11.069 16.813 21.374 10.726 10.305 20.588 17.443 22.029 15.944z",fill:"#636363"}),t.createElement("path",{d:"M113.086 55.747h-3.041c-.724 0-1.303.29-1.737.868l-1.883 2.607c-.434.579-1.448.29-1.448-.435l-.144-3.185c0-.724-.29-1.303-.869-1.738l-2.607-1.882c-.579-.434-.289-1.448.435-1.448l3.185-.145c.724 0 1.303-.29 1.738-.869l1.882-2.606c.435-.58 1.448-.29 1.448.434l.145 3.186c0 .724.29 1.303.869 1.738l2.606 1.882c.579.58.29 1.593-.579 1.593z",fill:"#FCC846"})),t.createElement("defs",null,t.createElement("clipPath",{id:`clip-path-blank-state-${n}`},t.createElement("path",{fill:"#fff",d:"M0 0h160v122.063H0z"}))))},It=e=>{let{className:n,style:a}=e,l=X(e,Ht);return t.createElement("svg",J({className:n,height:"16",viewBox:"0 0 16 16",width:"16"},{style:a},l),t.createElement("title",null,"chevron"),t.createElement("polygon",{fill:"currentColor",points:"11.931 4.892 8 8.824 4.069 4.892 2.927 6.034 8 11.108 9.142 9.966 13.073 6.034 11.931 4.892"}))},$t=e=>{let{fill:n="#000",size:a=24,style:l}=e,o=X(e,Lt);return t.createElement("svg",J({height:a,style:J({display:"block"},l),viewBox:"0 0 16 16",width:a},o),t.createElement("title",null,"exclamation triangle icon"),t.createElement("path",{d:"M15.669 13.676L8.65499 1.56099C8.58867 1.44593 8.49322 1.35037 8.37823 1.28392C8.26325 1.21748 8.13279 1.1825 7.99999 1.1825C7.86718 1.1825 7.73672 1.21748 7.62174 1.28392C7.50675 1.35037 7.4113 1.44593 7.34499 1.56099L0.330986 13.676C0.264196 13.7911 0.228916 13.9217 0.2287 14.0548C0.228484 14.1878 0.26334 14.3186 0.329756 14.4339C0.396172 14.5492 0.491802 14.6449 0.60701 14.7115C0.722218 14.778 0.852933 14.813 0.985986 14.813H15.014C15.147 14.813 15.2778 14.778 15.393 14.7115C15.5082 14.6449 15.6038 14.5492 15.6702 14.4339C15.7366 14.3186 15.7715 14.1878 15.7713 14.0548C15.7711 13.9217 15.7358 13.7911 15.669 13.676ZM8.75699 12.542H7.24299V11.028H8.75699V12.542ZM8.75699 9.51399H7.24299V6.48499H8.75699V9.51399Z",fill:n}))},Dt=e=>{let{fill:n="#000",style:a}=e,l=X(e,zt);return t.createElement("svg",J({width:"24",height:"24",viewBox:"0 0 24 24",style:J({display:"block"},a)},l),t.createElement("title",null,"search spyglass icon"),t.createElement("path",{d:"M17.352,15.481a8.517,8.517,0,1,0-2.209,2.033l4.642,4.642,2.121-2.121Zm-6.757,1.364a6.5,6.5,0,1,1,6.5-6.5A6.508,6.508,0,0,1,10.595,16.845Z",fill:n}))},Rt=e=>{let{fill:n="#A0A0A0",style:a}=e,l=X(e,Tt);return t.createElement("svg",J({width:"16",height:"16",viewBox:"0 0 16 16",style:J({display:"block"},a)},l),t.createElement("title",null,"close-x"),t.createElement("path",{d:"M9.142,8l3.814,3.814-1.142,1.142L8,9.142,4.186,12.956,3.044,11.814,6.858,8,3.044,4.186,4.186,3.044,8,6.858l3.814-3.814,1.142,1.142Z",fill:n}))},Ut=["className","style","type"];function qt(e){let{className:n,style:a,type:l="button"}=e,o=X(e,Ut);return t.createElement("button",J({className:Et("unbutton-lEbTR",n),style:J({},a),type:l},o))}const Ft=["appName","colors","expanded","onClick","style"],jt=e=>{let{appName:n,colors:a,expanded:l,onClick:o,style:r=null}=e,i=X(e,Ft);return t.createElement(qt,J({onClick:o,className:Et("button-XMbeQ",{"is-expanded-zD0A0":l}),type:"button",style:r},i),"Accounts"===n?t.createElement(t.Fragment,null,t.createElement(Zt,{appName:"Accounts",colors:a}),t.createElement("div",{className:"button-accounts-nNh-z"},"Account settings")):t.createElement(t.Fragment,null,t.createElement(wt,{appName:n.replace(/[\s-]/,"")}),t.createElement(Vt,{appName:n.replace(/[\s-]/,""),key:"mono-app-name",size:24})),t.createElement(It,{className:"chevron-RRg9k",key:"disclosure-chevron-icon"}))};function Bt(e){var t,n,a;const l=`/apps/${e.toLowerCase()}`,o=null==(t=window)||null==(n=t.location)||null==(a=n.pathname)?void 0:a.toString();if(!o)return l;const r=new URLSearchParams;return r.append("referer",o),`${l}?${r.toString()}`}const Wt={fontFamily:"inherit"},Jt={flex:"1 1 auto"},Gt=["active","component","style"],Xt=e=>{let{active:n=!1,component:a="span",style:l=null}=e,o=X(e,Gt);const[r,i]=t.useState(!1);return t.createElement(a,J({onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),style:J({},l,{backgroundColor:n?"var(--t-fill-color-neutral-060)":r?"var(--t-fill-color-neutral-080)":"transparent"})},o))},Kt=["cleanup","onOutsideClick","visible"];class Yt extends t.Component{constructor(e){super(e),this.container=void 0,this.handleOutsideClick=this.handleOutsideClick.bind(this)}componentWillUnmount(){document.removeEventListener("click",this.handleOutsideClick,!0)}handleOutsideClick(e){return this.container.contains(e.target)||e.target.closest('[data-toolbar-link="true"]')?void 0:(e.stopPropagation(),e.preventDefault(),this.props.onOutsideClick())}render(){const e=this.props,{cleanup:n}=e,a=X(e,Kt);return n?document.removeEventListener("click",this.handleOutsideClick,!0):document.addEventListener("click",this.handleOutsideClick,!0),t.createElement("div",J({ref:e=>this.container=e},a))}}const Qt=["className","component","isVisible"],en=e=>{let{className:n,component:a="div",isVisible:l}=e,o=X(e,Qt);return t.createElement(a,J({className:Et("popup-nQXYW",{"is-visible-3DAUP":l},n)},o))},tn=e=>{let n=J({},(G(e),e));return t.createElement("div",J({className:"popup-root-SeL5u"},n))},nn=({appName:e,apps:n,env:a,toggle:l,visible:o})=>{const r=n.find(({name:e})=>"Accounts"===e),i=n.find(({name:e})=>"Home"===e),s=[...n].filter(({name:e})=>"Home"!==e&&"Accounts"!==e).sort((e,t)=>e.name.localeCompare(t.name)),d=J({},Wt,{alignItems:"center",display:"flex",height:"48px",overflow:"hidden",padding:"0 16px",verticalAlign:"middle"});return t.createElement(tn,null,t.createElement(en,{cleanup:!o,component:Yt,onOutsideClick:l,className:"popup-sJ-Nv",isVisible:o},t.createElement("menu",{"data-pendo":"app-switcher",style:{margin:0,padding:0}},i&&t.createElement(Xt,{component:"a","data-pendo":`app-switcher--change-app--${i.name}`,"data-turbolinks":!1,href:e===i.name?`${c(a)("accounts")}/apps/${e}`:c(a)("accounts")+Bt(i.name),style:J({},d,{borderBottom:"1px solid var(--t-border-color-default-base)"})},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(wt,{appName:"Home",size:20})),t.createElement(Vt,{appName:"Home",size:18})),s.map(({name:n},l)=>{const o=0===l,r=l===s.length-1;return t.createElement(Xt,{component:"a","data-pendo":`app-switcher--change-app--${n}`,"data-turbolinks":!1,href:n===e?`${c(a)("accounts")}/apps/${n.toLowerCase()}`:c(a)("accounts")+Bt(n),key:n,style:J({},d,{height:"40px",paddingBottom:r?"4px":null,paddingTop:o?"4px":null})},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(wt,{appName:n.replace(/[\s-]/,""),size:20})),t.createElement(Vt,{appName:n.replace(/[\s-]/,""),size:18}))}),r&&t.createElement(Xt,{component:"a","data-pendo":`app-switcher--change-app--${r.name}`,"data-turbolinks":!1,href:c(a)("accounts")+Bt(r.name),style:J({},d,{borderTop:"1px solid var(--t-border-color-default-base)",padding:"0 12px",textDecoration:"none"})},t.createElement("svg",{height:22,style:{display:"block",marginRight:"2px"},viewBox:"0 0 20 20",width:22,xmlns:"http://www.w3.org/2000/svg"},t.createElement(Ct,{color:"var(--t-icon-color-default-secondary)",key:"key2"})),t.createElement("div",{style:{color:"var(--t-text-color-default-secondary)",fontSize:"12px",lineHeight:"28px"}},"Account settings")))))},an=e=>{return(t="name",e=>e.slice().sort((e,n)=>e[t].localeCompare(n[t])))(e).reduce((e,t)=>"Church Center"===(t.name||"")||"API"===(t.name||"")?e:"Home"===t.name?[t,...e]:[...e,t],[]);var t},ln=e=>e.slice().sort((e,t)=>e.attributes.organization_name.localeCompare(t.attributes.organization_name)),on=()=>o(e=>{const t=pe.getState();pe.setState(J({},t,e))},[]),rn=["children","style"];function cn(e){let{children:n,style:a}=e,l=X(e,rn);return t.createElement("nav",J({className:"simple","data-pendo":"topbar","aria-label":"topbar-navigation",style:J({alignItems:"center",color:"white",display:"flex",height:"var(--topbar-height)"},a)},l),t.createElement("style",null,"\n @media only print {\n .simple {\n display: none !important;\n }\n }\n "),n)}const sn=({appName:e,connectedPeople:n,env:a,hasConnectedPeople:l,requestClearAppsCache:o,requestClearConnectedPeopleCache:r,requestSwitchConnectedPerson:i,requestUnlinkConnectedPeople:s,setUserMenuVisible:f,userMenuVisible:v})=>{const E=`${c(a)("login")}/logout`;return t.createElement(tn,null,t.createElement(en,{component:Yt,onOutsideClick:()=>f(!1),cleanup:!v,className:"popup-mDNKn",isVisible:v},t.createElement("div",null,l?t.createElement("div",{style:{alignItems:"center",backgroundColor:"var(--t-fill-color-neutral-060)",display:"flex",lineHeight:"32px",padding:"0 16px"}},t.createElement("div",{style:J({},Jt,{color:"var(--t-text-color-default-secondary)",fontSize:"12px",textTransform:"uppercase",whiteSpace:"nowrap"},Wt)},"Linked Accounts"),t.createElement("div",{style:J({},Jt,{alignItems:"center",fontSize:"12px",textAlign:"right"})},t.createElement("a",{href:"",onClick:e=>{o(),r(),s(),e.preventDefault()},style:J({color:"var(--t-text-color-default-secondary)",marginLeft:"64px",textDecoration:"none"},Wt)},"unlink"))):t.createElement("noscript",null),t.createElement("style",null,"\n .NotSmallTopbar__connected-people-list > *:first-child > * { border-top-width: 0 !important }\n "),t.createElement("ul",{className:"NotSmallTopbar__connected-people-list",style:{listStyleType:"none",margin:0,padding:0}},ln(n).map(({id:n,attributes:a})=>t.createElement(Xt,{component:"li",key:n},t.createElement("a",{href:"",onClick:t=>{o(),r(),i(n,`${e}/`),t.preventDefault()},style:J({borderTop:"1px solid var(--t-border-color-default-base)",color:"var(--t-text-color-default-primary)",display:"block",lineHeight:"48px",overflow:"hidden",paddingLeft:"16px",paddingRight:"16px",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap"},Wt)},a.organization_name))))),t.createElement(d,null,l&&t.createElement(m,null),t.createElement("form",{method:"POST",action:E},t.createElement(p,{"data-turbolinks":!1,hover:{backgroundColor:"var(--t-fill-color-neutral-080)"},onClick:()=>{o(),r()},style:{borderTopLeftRadius:0,borderTopRightRadius:0,padding:0},theme:!1,type:"submit",width:"100%"},t.createElement(u,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:2,paddingVertical:1.5,spacing:4},t.createElement(h,{color:"var(--t-text-color-default-secondary)",lineHeight:"24px"},"Log out"),t.createElement(g,{name:"general.intoBox",fill:"var(--t-icon-color-default-secondary)"})))))))},dn=["className","component","innerRef","style"],mn=e=>{let{className:n,component:a="div",innerRef:l=null,style:o=null}=e,r=X(e,dn);return t.createElement(a,J({className:n,style:J({},Wt,o)},l&&{ref:l},r))},pn=({closeToolbarDrawer:e,orgName:n,requestConnectedPeopleFetch:a,setUserMenuVisible:l,showOrgName:o,toolbarDrawerOpen:r=!1,userMenuVisible:i})=>t.createElement("div",{className:"trigger-wrap-Jd-KR","data-pendo":"topbar-org-switcher"},t.createElement(mn,{className:Et("trigger-WgRT5",{"is-visible-GZC0-":i}),component:"button",type:"button",onClick:()=>{r&&e&&e(),l(e=>!e),a()}},o&&t.createElement("span",{className:"trigger-orgname-TDHCc"},n),t.createElement(It,null))),un=["notifications","search","showOrgName","useDummyNotifications"],hn=["active","className","colors"],gn=e=>{let{notifications:n=(()=>null),search:a=(()=>null),showOrgName:l=!0,useDummyNotifications:o=!1}=e,r=X(e,un);const[i,c]=t.useState(!1),[s,d]=t.useState(!0),[m,p]=t.useState(!1),{hasConnectedPeople:u,notificationsEnabled:h,toolbarDrawerOpen:g}=Ce(),f=on();return t.useEffect(()=>{const e=e=>{e.target.closest('[data-toolbar-link="true"]')&&m&&p(!1)};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}},[m]),t.createElement(cn,{style:J({paddingLeft:"16px",paddingRight:"24px"},r.style)},t.createElement(nn,{env:r.env,appName:r.appName,apps:an(r.apps),visible:i,toggle:()=>c(e=>!e)}),t.createElement(jt,{colors:r.colors,expanded:i,onClick:()=>{c(e=>!e),r.requestAppsFetch()},appName:r.appName}),t.createElement("div",{className:"apps-routes-separator-Nlm-N"}),s&&r.routes,t.createElement("div",{style:{margin:"auto"}}),!h&&n(),a({hideRoutes:()=>d(!1),showRoutes:()=>d(!0)}),t.createElement(pn,{orgName:r.orgName,requestConnectedPeopleFetch:r.requestConnectedPeopleFetch,setUserMenuVisible:p,showOrgName:l,userMenuVisible:m,toolbarDrawerOpen:g,closeToolbarDrawer:()=>f({toolbarDrawerOpen:!1})}),t.createElement(sn,{appName:r.appName,hasConnectedPeople:u,connectedPeople:r.connectedPeople,env:r.env,requestClearAppsCache:r.requestClearAppsCache,requestClearConnectedPeopleCache:r.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:r.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:r.requestUnlinkConnectedPeople,setUserMenuVisible:p,userMenuVisible:m}))},fn=e=>{let{active:n,className:a}=e,l=X(e,hn);return t.createElement("a",J({className:Et("route--8BWe",a,n&&"is-active-FsU9Y")},l))},vn=["appName","apps","colors","connectedPeople","env","orgName","requestAppsFetch","requestClearAppsCache","requestClearConnectedPeopleCache","requestConnectedPeopleFetch","requestSwitchConnectedPerson","requestUnlinkConnectedPeople","userAvatarPath","userId","userName","routes","isPhoenix"],En=["active","children","colors","isPhoenix"];function bn(e){let{appName:n,apps:a,colors:l,connectedPeople:o,env:r,orgName:i,requestAppsFetch:c,requestClearAppsCache:s,requestClearConnectedPeopleCache:d,requestConnectedPeopleFetch:m,requestSwitchConnectedPerson:p,requestUnlinkConnectedPeople:u,userAvatarPath:h,userId:g,userName:f,routes:v,isPhoenix:E=!1}=e,b=X(e,vn);return t.createElement(E?gn:ht,J({appName:n,apps:a,colors:l,connectedPeople:o,env:r,orgName:i,requestAppsFetch:c,requestClearAppsCache:s,requestClearConnectedPeopleCache:d,requestConnectedPeopleFetch:m,requestSwitchConnectedPerson:p,requestUnlinkConnectedPeople:u,userAvatarPath:h,userId:g,userName:f,routes:v},b))}function Cn(e){let{active:n,children:a,colors:l,isPhoenix:o=!1}=e,r=X(e,En);return t.createElement(o?fn:gt,J({active:n,children:a,colors:l},r))}const yn=["headers"],wn=(e,t)=>fetch(e,J({credentials:"include",mode:"cors"},t)),kn=(e,t)=>{let{headers:n}=t,a=X(t,yn);return fetch(e,J({headers:J({},n,{"X-CSRF-Token":(null==(l=window)||null==(o=l.Rails)?void 0:o.csrfToken())||(null==(r=document.querySelector('meta[name="csrf-token"]'))?void 0:r.getAttribute("content"))||null})},a,{credentials:"include",mode:"cors"}));var l,o,r};function xn(e,t,{method:n="GET",data:a=null}={}){const l={headers:{Accept:"application/json","Content-Type":"application/json"},method:n,redirect:"follow"};return a&&"GET"!==n&&(l.body=JSON.stringify(a)),e(t,l).then(e=>e.json().then(t=>({json:t,ok:e.ok,response:e})).catch(()=>({json:null,ok:e.ok,response:e})),e=>(console.warn(e),{json:null,ok:!1,response:null}))}const An=(e,t=1)=>{const n=e.replace(/[a-z()%]/g,"").split(" ");return`hsla(${n[0]}, ${n[1]}%, ${n[2]}%, ${t})`},Zn=(e,t)=>{let n;return function(...a){const l=this;clearTimeout(n),n=setTimeout(()=>{n=null,e.apply(l,a)},t),n||e.apply(l,a)}};function Sn(e,t){return Object.keys(e).length===Object.keys(t).length&&Object.entries(e).every(([e,n])=>t[e]!==n)}class Pn extends t.Component{constructor(e){super(e),this.state={width:window.innerWidth},this.setWindowWidth=this.setWindowWidth.bind(this)}setWindowWidth(){this.setState({width:window.innerWidth})}componentDidMount(){window.addEventListener("resize",Zn(this.setWindowWidth,100),!1)}componentWillUnmount(){window.removeEventListener("resize",Zn(this.setWindowWidth,100),!1)}breakpointString(e){return e<480?"xs":e<600?"sm":e<720?"md":e<960?"lg":"xl"}render(){return t.createElement(t.Fragment,null,this.props.render(this.breakpointString(this.state.width)))}}(class extends t.Component{render(){return t.createElement(Pn,{render:e=>-1!==this.props.smallBreakpoints.indexOf(e)?this.props.smallTopbar(e):this.props.notSmallTopbar(e)})}}).defaultProps={smallBreakpoints:["xs","sm"]};const Vn=["style"],Mn=["children","className","colors","style"];class Nn extends t.Component{constructor(e){super(e),this.state={announcements:e.initialAnnouncements}}dismissAnnouncements(e){return this.setState(({announcements:t})=>{const n=t;return t[e]&&delete n[e],{announcements:n}}),xn(this.props.configuredFetch||wn,`${c(this.props.env)("api")}/people/v2/me/platform_notifications/${e}/dismiss`,{method:"POST"})}render(){return t.createElement(t.Fragment,null,this.props.children({announcements:this.props.formatter(this.state.announcements)},{dismissAnnouncements:this.dismissAnnouncements.bind(this)}))}}Nn.defaultProps={formatter:function(e){return function(e){const t=Object.keys(e);let n=t.length;const a=new Array(n);for(;n--;)a[n]=[t[n],e[t[n]]];return a}(e).map(e=>({data:e[1],id:e[0]}))}};class Hn extends t.Component{render(){const e=this.props,{style:n}=e,a=X(e,Vn);return t.createElement(Pn,{render:e=>t.createElement("div",J({style:J({alignItems:"center",display:"flex",justifyContent:"space-between",paddingBottom:14,paddingLeft:-1!==["xs","sm"].indexOf(e)?16:24,paddingRight:18,paddingTop:14},n)},a))})}}class Ln extends t.Component{render(){const e=this.props,{children:n,colors:a,style:l}=e,o=X(e,Mn);return t.createElement("div",J({className:["__Topbar_PlatformAnnouncements_link"].join(" ").trim(),style:J({backgroundColor:"#282828",color:"white",fontSize:"14px"},l)},o),t.createElement("style",null,`\n .__Topbar_PlatformAnnouncements_link { color: white }\n .__Topbar_PlatformAnnouncements_link a { color: ${a.base0} }\n .__Topbar_PlatformAnnouncements_link a:hover { color: ${a.base1} }\n .__Topbar_PlatformAnnouncements_link a:active { color: ${a.base2} }\n `),n)}}class zn extends t.Component{render(){return t.createElement(Ln,{colors:this.props.colors},t.createElement(Nn,{env:this.props.env,initialAnnouncements:this.props.data,configuredFetch:this.props.configuredFetch},(e,n)=>Boolean(e.announcements.length>0)?t.createElement("div",null,e.announcements.map(e=>this.props.renderItem({actions:n,announcement:e}))):null))}}function Tn(e){let n=J({},(G(e),e));return t.createElement("button",J({type:"button",style:{WebkitAppearance:"none",backgroundColor:"transparent",borderWidth:0,cursor:"pointer",margin:-8,padding:8}},n),t.createElement(Ie,{fill:"white",style:{height:20,width:20}}))}function _n(e){return t.createElement(Hn,null,t.createElement("span",{dangerouslySetInnerHTML:{__html:e.html}}),t.createElement(Tn,{onClick:e.onClick}))}zn.defaultProps={configuredFetch:wn,renderItem:({announcement:e,actions:n})=>t.createElement(_n,{key:e.id,html:e.data.html,onClick:()=>n.dismissAnnouncements(e.id)})};var On={announcement:"announcement-pI5tM","announcement--platform":"announcement--platform-EcUn2","announcement-icon":"announcement-icon-Ov39-","announcement-content":"announcement-content-q2ad6",dismiss:"dismiss-wUAoU"};function In(){return t.createElement("svg",{className:On["announcement-icon"],width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"presentation"},t.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:H.exclamationCircle}))}const $n=["style"];class Dn extends t.Component{constructor(e){super(e),this.state={announcements:e.initialAnnouncements}}dismissAnnouncements(e){return this.setState(({announcements:t})=>{const n=t;return t[e]&&delete n[e],{announcements:n}}),ee(this.props.configuredFetch||Y,`${c(this.props.env)("api")}/people/v2/me/platform_notifications/${e}/dismiss`,{method:"POST"})}render(){return t.createElement(t.Fragment,null,this.props.children({announcements:this.props.formatter(this.state.announcements)},{dismissAnnouncements:this.dismissAnnouncements.bind(this)}))}}Dn.defaultProps={formatter:function(e){return function(e){const t=Object.keys(e);let n=t.length;const a=new Array(n);for(;n--;)a[n]=[t[n],e[t[n]]];return a}(e).map(e=>({data:e[1],id:e[0]}))}};class Rn extends t.Component{render(){const e=this.props,{style:n}=e,a=X(e,$n);return t.createElement("div",{className:Et(On.announcement,On["announcement--platform"])},t.createElement(In,null),t.createElement("div",J({className:On["announcement-content"],style:n},a)))}}class Un extends t.Component{render(){const e=this.props,n=J({},(G(e),e));return t.createElement("div",J({},n))}}class qn extends t.Component{render(){return t.createElement(Un,null,t.createElement(Dn,{env:this.props.env,initialAnnouncements:this.props.data,configuredFetch:this.props.configuredFetch},(e,n)=>Boolean(e.announcements.length>0)?t.createElement("div",null,e.announcements.map(e=>this.props.renderItem({actions:n,announcement:e}))):null))}}function Fn(e){let n=J({},(G(e),e));return t.createElement("button",J({type:"button",className:On.dismiss},n),t.createElement(Rt,{fill:"white",style:{height:20,width:20}}))}function jn(e){return t.createElement(Rn,null,t.createElement("span",{dangerouslySetInnerHTML:{__html:e.html}}),t.createElement(Fn,{onClick:e.onClick}))}qn.defaultProps={configuredFetch:Y,renderItem:({announcement:e,actions:n})=>t.createElement(jn,{key:e.id,html:e.data.html,onClick:()=>n.dismissAnnouncements(e.id)})};const Bn=["colors","configuredFetch","data","env","isPhoenix"],Wn=["isPhoenix"],Jn=["colors","isPhoenix"];function Gn(e){let{colors:n={},configuredFetch:a,data:l,env:o,isPhoenix:r=!1}=e,i=X(e,Bn);return r?t.createElement(qn,J({configuredFetch:a,data:l,env:o},i)):t.createElement(zn,J({colors:n,configuredFetch:a,data:l,env:o},i))}function Xn(e){let{isPhoenix:n=!1}=e,a=X(e,Wn);return t.createElement(n?Rn:Hn,J({},a))}function Kn(e){let{colors:n,isPhoenix:a=!1}=e,l=X(e,Jn);return a?t.createElement(Un,J({},l)):t.createElement(Ln,J({colors:n},l))}const Yn=["colors","html","onClick"],Qn=["children","className","colors","style"],ea=["style"];function ta(e){let{colors:n,html:a="",onClick:l=(e=>{})}=e,o=X(e,Yn);const[r,i]=t.useState(!1);return r||!a?null:t.createElement(na,J({colors:n},o),t.createElement(aa,null,t.createElement("span",{dangerouslySetInnerHTML:{__html:a}}),t.createElement(la,{onClick:e=>{l(e),i(!0)}})))}class na extends t.Component{render(){const e=this.props,{children:n,className:a,colors:l,style:o}=e,r=X(e,Qn);return t.createElement("div",J({className:["Topbar_ProductAnnouncement",a].filter(Boolean).join(" ").trim(),style:J({backgroundColor:l.base1},o)},r),t.createElement("style",null,"\n .Topbar_ProductAnnouncement {\n color: white;\n font-size: 14px;\n }\n .Topbar_ProductAnnouncement a { color: white; font-weight: bold; }\n "),n)}}class aa extends t.Component{render(){const e=this.props,{style:n}=e,a=X(e,ea);return t.createElement(Pn,{render:e=>t.createElement("div",J({style:J({alignItems:"center",boxSizing:"border-box",display:"flex",justifyContent:"space-between",paddingBottom:14,paddingLeft:-1!==["xs","sm"].indexOf(e)?16:24,paddingRight:18,paddingTop:14},n)},a))})}}function la(e){let n=J({},(G(e),e));return t.createElement("button",J({type:"button",style:{WebkitAppearance:"none",backgroundColor:"transparent",borderWidth:0,cursor:"pointer",margin:-8,padding:8}},n),t.createElement(Ie,{fill:"white",style:{height:20,width:20}}))}const oa=["html","onClick"],ra=["style"];function ia(e){let{html:n="",onClick:a=(e=>{})}=e,l=X(e,oa);const[o,r]=t.useState(!1);return o||!n?null:t.createElement(ca,J({},l),t.createElement(sa,null,t.createElement("span",{dangerouslySetInnerHTML:{__html:n}}),t.createElement(da,{onClick:e=>{a(e),r(!0)}})))}class ca extends t.Component{render(){const e=this.props,n=J({},(G(e),e));return t.createElement("div",J({},n))}}class sa extends t.Component{render(){const e=this.props,{style:n}=e,a=X(e,ra);return t.createElement("div",{className:On.announcement},t.createElement(In,null),t.createElement("div",J({className:On["announcement-content"],style:n},a)))}}function da(e){let n=J({},(G(e),e));return t.createElement("button",J({type:"button",className:On.dismiss},n),t.createElement(Rt,{fill:"white",style:{height:20,width:20}}))}const ma=["colors","html","onClick","isPhoenix"],pa=["colors","isPhoenix"],ua=["isPhoenix"],ha=["isPhoenix"];function ga(e){let{colors:n={},html:a,onClick:l,isPhoenix:o=!1}=e,r=X(e,ma);return o?t.createElement(ia,J({html:a,onClick:l},r)):t.createElement(ta,J({colors:n,html:a,onClick:l},r))}function fa(e){let{colors:n,isPhoenix:a=!1}=e,l=X(e,pa);return a?t.createElement(ca,J({},l)):t.createElement(na,J({colors:n},l))}function va(e){let{isPhoenix:n=!1}=e,a=X(e,ua);return t.createElement(n?sa:aa,J({},a))}function Ea(e){let{isPhoenix:n=!1}=e,a=X(e,ha);return t.createElement(n?da:la,J({},a))}const ba=["env","url","style"];function Ca(e){let{env:n,url:a="",style:l}=e,o=X(e,ba);const r=a||`${c(n)("people")}/static/no_photo_thumbnail_gray.svg`;return t.createElement("div",J({style:J({backgroundColor:"white",backgroundImage:`url(${r})`,backgroundPosition:"center",backgroundSize:"cover",borderRadius:"50%",height:"26px",marginLeft:"4px",width:"26px"},l)},o))}class ya extends t.Component{update(e){return window[this.props.method].setItem(this.props.item,JSON.stringify(e)),this.forceUpdate()}render(){return t.createElement(t.Fragment,null,this.props.render(JSON.parse(window[this.props.method].getItem(this.props.item))||void 0,this.update.bind(this)))}}function wa({env:e}){const n="accounts";return t.createElement("a",{style:{alignItems:"center",display:"flex",height:"48px",paddingLeft:"12px",paddingRight:"16px",textDecoration:"none"},"data-pendo":`app-switcher--change-app--${n}`,"data-turbolinks":!1,href:c(e)(n)+je(n)},t.createElement("svg",{height:22,style:{display:"block",marginRight:"2px"},viewBox:"0 0 20 20",width:22,xmlns:"http://www.w3.org/2000/svg"},t.createElement(ye,{color:ot.lightNeutral45,key:"key2"})),t.createElement("div",{style:{color:ot.lightNeutral45,fontSize:"12px",lineHeight:"48px",textDecoration:"none"}},"Account settings"))}ya.defaultProps={method:"localStorage"};const ka=({color:e=ot.lightNeutral100,size:n=22,style:a={}})=>t.createElement("div",{style:a},t.createElement(Ie,{fill:e,style:{height:`${n}px`,width:`${n}px`}}));var xa={"opt-in-container":"opt-in-container-ZAm-V","opt-in-content":"opt-in-content-50x-w","opt-in-content__feedback":"opt-in-content__feedback-vIspl","opt-in-content__inline-bold":"opt-in-content__inline-bold-9wIFS","opt-in-content__heading":"opt-in-content__heading-uK6rl","phoenix-feedback":"phoenix-feedback-iY7jv"};const Aa=new Date>=new Date("2025-09-15T15:00Z");function Za({optedIn:e}){const[l,o]=a(!1),[r,i]=a(!1),[c,s]=a(!1),[d,m]=a(!1),[p,u]=a("general");return n(()=>{r&&c&&window.location.reload()},[r,c]),t.createElement(f,{padding:2},t.createElement("div",{className:xa["opt-in-container"],"data-pendo":"toolbar-profile-phoenix-opt-in"},t.createElement("div",{className:xa["opt-in-content"],style:{opacity:l?.25:1}},Aa?t.createElement(t.Fragment,null,t.createElement("h2",{className:xa["opt-in-content__heading"]},"New look rolling out Oct 27-31!"),t.createElement("p",null,"Same functionality, fresh look. Everything works exactly as before, just with a modern, unified design."),t.createElement("p",null,"We'll be transitioning accounts to the new design between"," ",t.createElement("span",{className:xa["opt-in-content__inline-bold"]},"October 27-31, 2025")," ","and the new look will be permanent for everyone. Once your account transitions, you'll stay on the new design. Want to get ahead of the change? Try it out now!")):t.createElement(t.Fragment,null,t.createElement("h2",{className:xa["opt-in-content__heading"]},"Try out our new design!"),t.createElement("p",null,"Same functionality, fresh look. Everything works exactly as before, just with a modern, unified design. Give it a try—you can switch back anytime during beta.")),t.createElement("div",{"data-pendo":e?"new-design-beta-opt-out":"new-design-beta-opt-in"},t.createElement(v,{onClick:()=>{o(!0),e?(m(!0),i(!1),u("canceling")):i(!0),ee(Q,`${window.location.origin}/~api/people/v2/me/phoenix_toggle`,{data:{data:{attributes:{optedIn:!e}}},method:"POST"}).then(e=>!!e.ok&&new Promise(e=>{setTimeout(()=>{e(!0)},1500)})).then(e=>{e?s(!0):o(!1)})},isChecked:l?!e:e,disabled:l,label:"Enable the new design",labelPosition:"before",backgroundColor:"var(--t-fill-color-control-primary)"}))),t.createElement("div",{className:xa["opt-in-content__feedback"],style:{opacity:l?.25:1}},t.createElement("p",null,t.createElement("span",{className:xa["opt-in-content__inline-bold"]},"Let us know what you think!")," ","Please"," ",t.createElement(E,{onClick:()=>{m(!0),u("general")},as:"button",type:"button",display:"inline",color:"var(--t-text-color-interaction-primary)"},"share your feedback")," ","so we can improve your experience."),t.createElement("p",null,t.createElement("span",{className:xa["opt-in-content__inline-bold"]},"Why the change?")," ",t.createElement(E,{href:"https://www.planningcenter.com/blog/2025/07/the-new-planning-center-experience",display:"inline",color:"var(--t-text-color-interaction-primary)"},"Read about our design journey")," ","and what it means for the future.")),l&&t.createElement(b,{center:!0,size:"xxl",color:"var(--t-fill-color-neutral-030)",trackColor:"var(--t-fill-color-neutral-080)"})),d&&t.createElement(Va,{onComplete:()=>{m(!1),i(!0)},type:p}))}const Sa={canceling:"We'd love to know what made you switch back so we can continue improving the experience.",general:"We'd love to hear your thoughts so we can continue to improve this new experience."},Pa={canceling:"What could be better?",general:"What feedback would you like to share?"};function Va({onComplete:e,type:l}){const o=r(),[i,c]=a("");n(()=>{var e;null==(e=o.current)||e.showModal()},[]);const s=()=>{var e;return null==(e=o.current)?void 0:e.close()};async function d(){i.length>0&&await ee(Q,`${window.location.origin}/~api/people/v2/me/phoenix_feedback`,{data:{data:{attributes:{feedback_body:i,feedback_type:l,page_url:window.location.href,screen_resolution:`${window.screen.width}x${window.screen.height}`,user_agent:navigator.userAgent}}},method:"POST"}),s()}return n(()=>{var t;return null==(t=o.current)||t.addEventListener("close",e),()=>{var t;return null==(t=o.current)?void 0:t.removeEventListener("close",e)}},[o.current,e]),t.createElement("div",{className:xa["phoenix-feedback"]},t.createElement(C,{body:t.createElement("form",{onSubmit:d},t.createElement("div",null,Sa[l]),t.createElement(y,{placeholder:Pa[l],onChange:e=>c(e.target.value),name:"body",value:i})),dialogRef:o,title:"Thanks for trying the new look!",onCloseClick:s,onCancelClick:s,showCancel:!0,cancelText:"Close",confirmText:"Share Feedback",onConfirmClick:d}))}function Ma({env:e,appName:t,userId:n}){var a,l,o;const r=c(e)("login")+`/people/AC${n}`,i=null==(a=window)||null==(l=a.location)||null==(o=l.pathname)?void 0:o.toString();if(!i)return r;const s=new URLSearchParams;return s.append("return",`${t}/${i}`),`${r}?${s.toString()}`}const Na=({isActive:e})=>{const n=e?"hsl(86, 91%, 27%)":"hsl(8, 60%, 47%)";return t.createElement("div",{style:{alignItems:"center",display:"flex",fontSize:"13px",marginBottom:2,marginTop:4}},t.createElement("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none"},t.createElement("path",e?{d:"M12.588 5.31499H11.832V3.79999C11.8159 2.80798 11.4105 1.86207 10.7032 1.16625C9.99602 0.470436 9.04363 0.0804749 8.0515 0.0804749C7.05937 0.0804749 6.10698 0.470436 5.39976 1.16625C4.69253 1.86207 4.28713 2.80798 4.271 3.79999V5.31499H3.515C3.1138 5.31525 2.72906 5.47454 2.44508 5.75795C2.16111 6.04136 2.00106 6.42579 2 6.82699V14.388C2.00132 14.7891 2.16146 15.1734 2.44537 15.4567C2.72929 15.7401 3.11388 15.8995 3.515 15.9H12.588C12.9886 15.8987 13.3724 15.7389 13.6557 15.4557C13.939 15.1724 14.0987 14.7886 14.1 14.388V6.82699C14.0987 6.42639 13.939 6.04257 13.6557 5.7593C13.3724 5.47603 12.9886 5.31631 12.588 5.31499ZM8.051 12.115C7.75171 12.1152 7.45909 12.0266 7.21015 11.8605C6.96121 11.6944 6.76713 11.4581 6.65246 11.1817C6.53779 10.9052 6.50768 10.601 6.56595 10.3074C6.62422 10.0139 6.76824 9.74418 6.97979 9.53249C7.19135 9.32079 7.46094 9.17659 7.75446 9.11813C8.04798 9.05967 8.35225 9.08958 8.62877 9.20406C8.90529 9.31855 9.14165 9.51247 9.30794 9.7613C9.47424 10.0101 9.563 10.3027 9.563 10.602C9.56327 11.0036 9.40424 11.389 9.1208 11.6735C8.83736 11.9581 8.45264 12.1187 8.051 12.12V12.115ZM10.395 5.31499H5.707V3.79999C5.707 3.17832 5.95396 2.58211 6.39354 2.14253C6.83313 1.70294 7.42933 1.45599 8.051 1.45599C8.67267 1.45599 9.26887 1.70294 9.70846 2.14253C10.148 2.58211 10.395 3.17832 10.395 3.79999V5.31499Z",fill:n}:{d:"M13.7,5.8a1.5,1.5,0,0,0-1.1-.4H5.7V3.8a2.34,2.34,0,0,1,.7-1.7,2.19,2.19,0,0,1,1.7-.7,2.34,2.34,0,0,1,1.7.7,2.67,2.67,0,0,1,.7,1.4h1.4a4.12,4.12,0,0,0-1.1-2.4A4.73,4.73,0,0,0,8.1.1,4,4,0,0,0,5.4,1.2,3.63,3.63,0,0,0,4.3,3.8V5.3H3.5a2.1,2.1,0,0,0-1.1.4A2.1,2.1,0,0,0,2,6.8v7.6a2.1,2.1,0,0,0,.4,1.1,1.5,1.5,0,0,0,1.1.4h9.1a2.1,2.1,0,0,0,1.1-.4,1.5,1.5,0,0,0,.4-1.1V6.8A1.53,1.53,0,0,0,13.7,5.8ZM9.1,11.7a1.5,1.5,0,0,1-1.1.4H8a1.14,1.14,0,0,1-.8-.3,4.35,4.35,0,0,1-.6-.7,2.77,2.77,0,0,1-.1-.9A3,3,0,0,1,7,9.5a1.23,1.23,0,0,1,.8-.4,1.41,1.41,0,0,1,.9.1,1.34,1.34,0,0,1,.7.6,1.14,1.14,0,0,1,.3.8A2.38,2.38,0,0,1,9.1,11.7Z",fill:n})),t.createElement("span",{style:{color:"#888",marginLeft:4,whiteSpace:"nowrap"}},"Two-step verification ",e?"active":"inactive"))},{generateColorScale:Ha}=w,La={colors:J({},Ha({baseColor:"#2266f7",key:"primary"})),icons:{churchCenter:L,general:H,people:z,toolbar:T},id:"topbar"};function za({appName:e,connectedPeople:n,env:a,hasConnectedPeople:l,linkToProfile:o,mfaConfigured:r,requestClearAppsCache:i,requestClearConnectedPeopleCache:s,requestSwitchConnectedPerson:m,requestUnlinkConnectedPeople:g,setUserMenuVisible:f,userAvatarPath:v,userId:b,userName:C,phoenixOptInEnabled:y}){return t.createElement(d,{theme:La},t.createElement(u,{axis:"vertical",width:"100%",paddingBottom:7},t.createElement(u,{axis:"horizontal",alignItems:"start",distribution:"space-between"},t.createElement(u,{axis:"horizontal",spacing:2,padding:2,paddingRight:0,shrink:1},t.createElement(u,{shrink:0},t.createElement(Ca,{env:a,url:v,style:{height:48,width:48}})),t.createElement(u,{spacing:1,shrink:1},t.createElement(h,{color:ot.lightNeutral24,weight:700,truncate:!0},C),o&&t.createElement(E,{as:"a",href:`/people/AC${b}`,color:ot.lightNeutral45,underline:!1},"My profile"),t.createElement(E,{as:"a",href:Ma({appName:e,env:a,userId:b}),color:ot.lightNeutral45,underline:!1},"My login settings",t.createElement(Na,{isActive:r})),y&&t.createElement(u,{marginLeft:-2},t.createElement(Za,{optedIn:!1})),t.createElement("form",{method:"POST",action:`${c(a)("login")}/logout`},t.createElement(p,{color:ot.lightNeutral45,"data-turbolinks":!1,onClick:()=>{i(),s()},type:"submit"},"Log out")))),t.createElement(p,{color:ot.lightNeutral45,icon:"general.x",onClick:()=>f(!1),padding:2,variant:"naked",title:"Close Menu"})),l&&t.createElement(t.Fragment,null,t.createElement(u,{backgroundColor:ot.lightNeutral95,paddingVertical:1.5,paddingHorizontal:2,marginTop:1,borderBottom:`1px solid ${ot.lightNeutral88}`},t.createElement(k,{color:ot.lightNeutral62,fontWeight:500},"Linked Accounts")),t.createElement(x,{dividerColor:ot.lightNeutral88,width:"100%"},nt(n).map(({id:n,attributes:a})=>t.createElement(x.Item,{key:n,onClick:t=>{i(),s(),m(n,`${e}/`),t.preventDefault()},color:ot.lightNeutral45,padding:2},t.createElement(h,{truncate:!0},a.organization_name))),t.createElement(x.Item,{onClick:e=>{i(),s(),g(),e.preventDefault()},color:ot.danger47,padding:2,underline:!1},t.createElement(h,{size:3},"Unlink my accounts"))))))}const Ta=["currentRouteComponent","linkToProfile"],_a=["active"],Oa=({appName:e})=>{const n=e.replace(/[\s-]/,"");return t.createElement("div",{style:{alignItems:"center",display:"flex"}},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(Fe,{appName:n,size:20})),t.createElement(Se,{appName:n,color:ot.lightNeutral24,size:18}))},Ia=e=>{var n,a;let{currentRouteComponent:l=(e=>t.createElement("span",J({},e))),linkToProfile:o=!0}=e,r=X(e,Ta);const[i,s]=t.useState(!1),[d,m]=t.useState(!1),[p,u]=t.useState(!1),{hasConnectedPeople:h,mfaConfigured:g,phoenixOptInEnabled:f,userId:v,name:E}=Ce(),b=r.colors,C=r.routes.filter(({props:{active:e}})=>e)||[],y=l,w=C&&C[0]&&C[0].props&&C[0].props.children||r.appName,k=r.apps.find(({name:e})=>"Accounts"===e),x=r.apps.find(({name:e})=>"Home"===e),A=[...r.apps].filter(({name:e})=>"Home"!==e&&"Accounts"!==e),Z=ot.lightNeutral88;return t.useEffect(()=>{s(!1)},[C&&(null==(n=C[0])||null==(a=n.props)?void 0:a.href)]),t.createElement(lt,{style:J({},r.style)},t.createElement("div",{style:{alignItems:"center",display:"flex",height:"48px",justifyContent:"center",paddingLeft:"16px",paddingRight:"16px"},onClick:()=>{r.requestAppsFetch(),r.requestConnectedPeopleFetch(),s(!1),m(e=>!e)}},t.createElement(Ae,{appName:r.appName.replace(/[\s-]/,""),colors:b,size:26})),t.createElement("div",{style:{left:0,position:"absolute",top:"48px",width:"100%"}},i&&r.routes),t.createElement(ya,{item:"Topbar:Small:Menus:Products:visibility",render:()=>t.createElement("div",{style:{MozUserSelect:"none",WebkitTapHighlightColor:"transparent",WebkitUserSelect:"none",backgroundColor:An(ot.lightNeutral12,.75),bottom:0,color:"black",display:d?"block":"none",left:0,msUserSelect:"none",position:"fixed",right:0,top:0,userSelect:"none"},onClick:()=>{m(e=>!e),u(!1)}},t.createElement(ka,{style:{position:"absolute",right:"17px",top:"12px"}}),t.createElement("div",{onClick:e=>{const{forcePropagation:t}=e;t||e.stopPropagation()},style:{backgroundColor:ot.lightNeutral100,borderRight:`1px solid ${Z}`,display:"flex",flexDirection:"column",height:"calc(100% - 52px - env(safe-area-inset-bottom))",position:"relative",width:"calc(100% - 57px)"}},t.createElement("div",{style:{alignItems:"center",backgroundColor:ot.lightNeutral98,borderBottom:`1px solid ${Z}`,display:"flex",height:"48px",paddingLeft:"16px",paddingRight:"16px"}},t.createElement("div",{style:J({},Me)},t.createElement("a",{style:{alignItems:"center",display:"flex",height:"48px",paddingRight:"16px"},"data-pendo":`app-switcher--change-app--${null==x?void 0:x.name}`,"data-turbolinks":!1,href:x?c(r.env)("accounts")+je(null==x?void 0:x.name):void 0},t.createElement("div",{style:{alignItems:"center",display:"flex"}},t.createElement(Oa,{appName:x?x.name:r.appName}))))),t.createElement("div",{style:J({},Me,{WebkitOverflowScrolling:"touch",overflowY:"scroll"})},t.createElement("ul",{"data-pendo":"app-switcher",style:{margin:0,padding:0}},tt(A).map(({name:e},n)=>{const a=0===n,l=n===tt(A).length-1;return t.createElement("li",{key:e,style:{listStyleType:"none"}},t.createElement("a",{style:{alignItems:"center",display:"flex",height:"40px",paddingBottom:l?"4px":0,paddingLeft:"16px",paddingRight:"16px",paddingTop:a?"4px":0},"data-pendo":`app-switcher--change-app--${e}`,"data-turbolinks":!1,href:c(r.env)("accounts")+je(e)},t.createElement(Oa,{appName:e})))})),k&&t.createElement("div",{style:{borderTop:`1px solid ${Z}`}},t.createElement(wa,{env:r.env})))))}),t.createElement("div",{style:J({},Me,{fontWeight:600,lineHeight:"48px",textAlign:"center"}),onClick:r.routes.length>0?()=>{m(!1),s(e=>!e)}:null},t.createElement(y,null,(S=w).charAt(0).toUpperCase()+S.slice(1)),r.routes.length>0&&t.createElement(_e,{colors:b,style:{marginLeft:"4px",verticalAlign:"middle"}})),t.createElement("button",{onClick:()=>u(!p),style:{background:"none",border:"none",margin:"0 12px",padding:0}},t.createElement(Ca,{env:r.env,url:r.userAvatarPath})),t.createElement("div",{style:{MozUserSelect:"none",WebkitTapHighlightColor:"transparent",WebkitUserSelect:"none",bottom:0,color:"black",display:p?"block":"none",left:0,msUserSelect:"none",position:"fixed",right:0,top:0,userSelect:"none"}},t.createElement("div",{onClick:e=>e.stopPropagation(),style:{WebkitOverflowScrolling:"touch",backgroundColor:"#fff",display:"flex",flexDirection:"column",height:"100%",overflowY:"scroll",position:"relative",width:"100%"}},t.createElement(za,{appName:r.appName,env:r.env,connectedPeople:r.connectedPeople,hasConnectedPeople:h,linkToProfile:o,mfaConfigured:g,requestClearAppsCache:r.requestClearAppsCache,requestClearConnectedPeopleCache:r.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:r.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:r.requestUnlinkConnectedPeople,setUserMenuVisible:u,userAvatarPath:r.userAvatarPath,userId:v,userName:E,phoenixOptInEnabled:f}))));var S},$a=e=>{let{active:n}=e,a=X(e,_a);return t.createElement("a",J({style:J({backgroundColor:"#444",borderBottom:"1px solid #333",color:"#fff",display:"block",fontWeight:600,lineHeight:"47px",position:"relative",textAlign:"center",textDecoration:"none",textTransform:"capitalize",whiteSpace:"nowrap"},Ve,n&&{backgroundColor:"#333"})},a))};var Da={avatar:"avatar-tW-wn"};const Ra=["env","url","style"];function Ua(e){let{env:n,url:a="",style:l}=e,o=X(e,Ra);const r=a||`${c(n)("people")}/static/no_photo_thumbnail_gray.svg`;return t.createElement("div",J({className:Da.avatar,style:J({backgroundImage:`url(${r})`},l)},o))}class qa extends t.Component{update(e){return window[this.props.method].setItem(this.props.item,JSON.stringify(e)),this.forceUpdate()}render(){return t.createElement(t.Fragment,null,this.props.render(JSON.parse(window[this.props.method].getItem(this.props.item))||void 0,this.update.bind(this)))}}qa.defaultProps={method:"localStorage"};var Fa={"appmenu-button":"appmenu-button-b0UvT","appmenu-layer":"appmenu-layer-0IQpN","appmenu-container":"appmenu-container-gackd","appmenu-scroll":"appmenu-scroll-mPSx0","appmenu-list":"appmenu-list-h7clX","appmenu-list-a":"appmenu-list-a-rGIQN","appmenu-list-a--top":"appmenu-list-a--top-RT-2F","appmenu-list-a--bottom":"appmenu-list-a--bottom-YDeBC","appmenu-close-button":"appmenu-close-button-vv9bV","current-route":"current-route-wpJgz","is-active":"is-active-wy8Bg",routes:"routes-Nmt1S",route:"route-kkknQ","profile-button":"profile-button-a2WO2"};function ja({env:e}){const n="accounts";return t.createElement("a",{className:Et(Fa["appmenu-list-a"],Fa["appmenu-list-a--bottom"]),"data-pendo":`app-switcher--change-app--${n}`,"data-turbolinks":!1,href:c(e)(n)+Bt(n)},t.createElement("svg",{"aria-hidden":"true",height:24,viewBox:"0 0 20 20",width:24,xmlns:"http://www.w3.org/2000/svg"},t.createElement(Ct,{color:"var(--t-icon-color-default-secondary",key:"key2"})),t.createElement("span",null,"Account settings"))}const Ba=({color:e="var(--t-icon-color-default-dim)",size:n=24,style:a={}})=>t.createElement("button",{"aria-label":"Close menu",type:"button",className:Fa["appmenu-close-button"],style:a},t.createElement(Rt,{fill:e,style:{height:`${n}px`,width:`${n}px`},"aria-hidden":"true"}));function Wa({env:e,appName:t,userId:n}){var a,l,o;const r=c(e)("login")+`/people/AC${n}`,i=null==(a=window)||null==(l=a.location)||null==(o=l.pathname)?void 0:o.toString();if(!i)return r;const s=new URLSearchParams;return s.append("return",`${t}/${i}`),`${r}?${s.toString()}`}const Ja=({isActive:e})=>{const n=e?"var(--t-icon-color-status-success-primary)":"var(--t-icon-color-status-error-primary)";return t.createElement("div",{style:{alignItems:"center",display:"flex",fontSize:"13px",marginBottom:2,marginTop:4}},t.createElement("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none"},t.createElement("path",e?{d:"M12.588 5.31499H11.832V3.79999C11.8159 2.80798 11.4105 1.86207 10.7032 1.16625C9.99602 0.470436 9.04363 0.0804749 8.0515 0.0804749C7.05937 0.0804749 6.10698 0.470436 5.39976 1.16625C4.69253 1.86207 4.28713 2.80798 4.271 3.79999V5.31499H3.515C3.1138 5.31525 2.72906 5.47454 2.44508 5.75795C2.16111 6.04136 2.00106 6.42579 2 6.82699V14.388C2.00132 14.7891 2.16146 15.1734 2.44537 15.4567C2.72929 15.7401 3.11388 15.8995 3.515 15.9H12.588C12.9886 15.8987 13.3724 15.7389 13.6557 15.4557C13.939 15.1724 14.0987 14.7886 14.1 14.388V6.82699C14.0987 6.42639 13.939 6.04257 13.6557 5.7593C13.3724 5.47603 12.9886 5.31631 12.588 5.31499ZM8.051 12.115C7.75171 12.1152 7.45909 12.0266 7.21015 11.8605C6.96121 11.6944 6.76713 11.4581 6.65246 11.1817C6.53779 10.9052 6.50768 10.601 6.56595 10.3074C6.62422 10.0139 6.76824 9.74418 6.97979 9.53249C7.19135 9.32079 7.46094 9.17659 7.75446 9.11813C8.04798 9.05967 8.35225 9.08958 8.62877 9.20406C8.90529 9.31855 9.14165 9.51247 9.30794 9.7613C9.47424 10.0101 9.563 10.3027 9.563 10.602C9.56327 11.0036 9.40424 11.389 9.1208 11.6735C8.83736 11.9581 8.45264 12.1187 8.051 12.12V12.115ZM10.395 5.31499H5.707V3.79999C5.707 3.17832 5.95396 2.58211 6.39354 2.14253C6.83313 1.70294 7.42933 1.45599 8.051 1.45599C8.67267 1.45599 9.26887 1.70294 9.70846 2.14253C10.148 2.58211 10.395 3.17832 10.395 3.79999V5.31499Z",fill:n}:{d:"M13.7,5.8a1.5,1.5,0,0,0-1.1-.4H5.7V3.8a2.34,2.34,0,0,1,.7-1.7,2.19,2.19,0,0,1,1.7-.7,2.34,2.34,0,0,1,1.7.7,2.67,2.67,0,0,1,.7,1.4h1.4a4.12,4.12,0,0,0-1.1-2.4A4.73,4.73,0,0,0,8.1.1,4,4,0,0,0,5.4,1.2,3.63,3.63,0,0,0,4.3,3.8V5.3H3.5a2.1,2.1,0,0,0-1.1.4A2.1,2.1,0,0,0,2,6.8v7.6a2.1,2.1,0,0,0,.4,1.1,1.5,1.5,0,0,0,1.1.4h9.1a2.1,2.1,0,0,0,1.1-.4,1.5,1.5,0,0,0,.4-1.1V6.8A1.53,1.53,0,0,0,13.7,5.8ZM9.1,11.7a1.5,1.5,0,0,1-1.1.4H8a1.14,1.14,0,0,1-.8-.3,4.35,4.35,0,0,1-.6-.7,2.77,2.77,0,0,1-.1-.9A3,3,0,0,1,7,9.5a1.23,1.23,0,0,1,.8-.4,1.41,1.41,0,0,1,.9.1,1.34,1.34,0,0,1,.7.6,1.14,1.14,0,0,1,.3.8A2.38,2.38,0,0,1,9.1,11.7Z",fill:n})),t.createElement("span",{style:{color:"var(--t-text-color-default-secondary)",marginLeft:4,whiteSpace:"nowrap"}},"Two-step verification ",e?"active":"inactive"))},{generateColorScale:Ga}=w,Xa={colors:J({},Ga({baseColor:"#2266f7",key:"primary"}),{separatorTertiary:"var(--t-border-color-default-base)"}),icons:{churchCenter:L,general:H,people:z,toolbar:T},id:"topbar"};var Ka={"color-mode-switcher":"color-mode-switcher-JpczO","color-mode-switcher-label":"color-mode-switcher-label-3jPM2","color-mode-switcher-label-beta":"color-mode-switcher-label-beta-pwv5t","color-mode-switcher-modes":"color-mode-switcher-modes-u-bic"};const Ya=[{label:"Light",value:"light"},{label:"Dark",value:"dark"},{label:"System",value:"system"}];function Qa(){const{colorMode:e,colorModeLaunched:n}=Ce(),a=on();return t.createElement("fieldset",{className:Ka["color-mode-switcher"]},t.createElement("legend",{className:Ka["color-mode-switcher-label"]},"Appearance"," ",!n&&t.createElement("span",{className:Ka["color-mode-switcher-label-beta"]},"beta")),t.createElement("div",{className:Ka["color-mode-switcher-modes"]},Ya.map(({value:n,label:l})=>t.createElement("label",{key:n},t.createElement("input",{name:"color-mode",type:"radio",value:n,checked:e===n,onChange:e=>{const t=e.target.value;a({colorMode:t}),document.documentElement.setAttribute("data-color-mode",t),ee(Q,`${window.location.origin}/~api/people/v2/me/color_mode`,{data:{data:{attributes:{color_mode:t}}},method:"POST"})}}),t.createElement(tl,{mode:n}),l))))}const el={dark:"M12.66667,9.07579 C11.90047,9.42229 11.04997,9.61514 10.15457,9.61514 C6.78392,9.61514 4.05151,6.88275 4.05151,3.51215 C4.05151,2.61663 4.24438,1.76615 4.59086,1 C2.47336,1.95762 1,4.08858 1,6.56366 C1,9.93423 3.73241,12.66663 7.103,12.66663 C9.57807,12.66663 11.70907,11.19333 12.66667,9.07579 Z",light:"M6.83333,1 L6.83333,2.16667 M6.83333,11.50003 L6.83333,12.66663 M2.16667,6.83334 L1,6.83334 M3.51657,3.51657 L2.69161,2.69161 M10.1501,3.51657 L10.9751,2.69161 M3.51657,10.15253 L2.69161,10.97743 M10.1501,10.15253 L10.9751,10.97743 M12.6667,6.83334 L11.5,6.83334 M9.75,6.83334 C9.75,8.44415 8.44415,9.75 6.83333,9.75 C5.2225,9.75 3.91667,8.44415 3.91667,6.83334 C3.91667,5.22251 5.2225,3.91667 6.83333,3.91667 C8.44415,3.91667 9.75,5.22251 9.75,6.83334 Z",system:"M4.75,12.50003 L9.41667,12.50003 M7.08334,10.16667 L7.08334,12.50003 M4.05,10.16667 L10.11665,10.16667 C11.09675,10.16667 11.58675,10.16667 11.96115,9.97592 C12.29045,9.80815 12.55815,9.54046 12.72595,9.21117 C12.91665,8.83678 12.91665,8.34678 12.91665,7.36667 L12.91665,4.8 C12.91665,3.81991 12.91665,3.32986 12.72595,2.95552 C12.55815,2.62623 12.29045,2.35852 11.96115,2.19074 C11.58675,2 11.09675,2 10.11665,2 L4.05,2 C3.06991,2 2.57986,2 2.20552,2.19074 C1.87623,2.35852 1.60852,2.62623 1.44074,2.95552 C1.25,3.32986 1.25,3.81991 1.25,4.8 L1.25,7.36667 C1.25,8.34678 1.25,8.83678 1.44074,9.21117 C1.60852,9.54046 1.87623,9.80815 2.20552,9.97592 C2.57986,10.16667 3.06991,10.16667 4.05,10.16667 Z"};function tl({mode:e}){return t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},t.createElement("path",{d:el[e],strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}))}function nl({appName:e,connectedPeople:n,env:a,hasConnectedPeople:l,linkToProfile:o,mfaConfigured:r,requestClearAppsCache:i,requestClearConnectedPeopleCache:s,requestSwitchConnectedPerson:m,requestUnlinkConnectedPeople:g,setUserMenuVisible:f,userAvatarPath:v,userId:b,userName:C,phoenixOptInEnabled:y}){const{colorModeSelectionEnabled:w}=Ce();return t.createElement(d,{theme:Xa},t.createElement(u,{axis:"vertical",width:"100%",paddingBottom:7},t.createElement(u,{axis:"horizontal",alignItems:"start",distribution:"space-between"},t.createElement(u,{axis:"horizontal",spacing:2,padding:2,paddingRight:0,shrink:1},t.createElement(u,{shrink:0},t.createElement(Ua,{env:a,url:v,style:{height:48,width:48}})),t.createElement(u,{spacing:1,shrink:1},t.createElement(h,{color:"var(--t-text-color-default-headline)",weight:700,truncate:!0},C),o&&t.createElement(E,{as:"a",href:`/people/AC${b}`,color:"var(--t-text-color-default-secondary)",underline:!1},"My profile"),t.createElement(E,{as:"a",href:Wa({appName:e,env:a,userId:b}),color:"var(--t-text-color-default-secondary)",underline:!1},"My login settings",t.createElement(Ja,{isActive:r})),y&&t.createElement("div",{style:{marginLeft:"calc(var(--t-spacing-2) * -1)"}},t.createElement(Za,{optedIn:!0})),w&&t.createElement("div",null,t.createElement(Qa,null)),t.createElement("form",{method:"POST",action:`${c(a)("login")}/logout`},t.createElement(p,{color:"var(--t-text-color-default-secondary)",backgroundColor:"var(--t-fill-color-neutral-060)",hover:{backgroundColor:"var(--t-fill-color-neutral-050)"},"data-turbolinks":!1,onClick:()=>{i(),s()},type:"submit"},"Log out")))),t.createElement(p,{icon:"general.x",onClick:()=>f(!1),padding:2,variant:"naked",title:"Close Menu"})),l&&t.createElement(t.Fragment,null,t.createElement(u,{backgroundColor:"var(--t-fill-color-neutral-060)",paddingVertical:1.5,paddingHorizontal:2,marginTop:1,borderBottom:"1px solid var(--t-border-color-default-base)"},t.createElement(k,{color:"var(--t-text-color-default-secondary)",fontWeight:500},"Linked Accounts")),t.createElement(x,{dividerColor:"var(--t-border-color-default-base)",width:"100%"},ln(n).map(({id:n,attributes:a})=>t.createElement(x.Item,{key:n,onClick:t=>{i(),s(),m(n,`${e}/`),t.preventDefault()},color:"var(--t-text-color-default-secondary)",padding:2},t.createElement(h,{truncate:!0},a.organization_name))),t.createElement(x.Item,{onClick:e=>{i(),s(),g(),e.preventDefault()},color:"var(--t-text-color-status-error)",padding:2,underline:!1},t.createElement(h,{size:3},"Unlink my accounts"))))))}const al=["currentRouteComponent","linkToProfile"],ll=["active","className"],ol=({appName:e})=>{const n=e.replace(/[\s-]/,"");return t.createElement("div",{style:{alignItems:"center",display:"flex"}},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(wt,{appName:n,size:20})),t.createElement(Vt,{appName:n,size:18}))},rl=e=>{var n,a;let{currentRouteComponent:l=(e=>t.createElement("span",J({},e))),linkToProfile:o=!0}=e,r=X(e,al);const[i,s]=t.useState(!1),[d,m]=t.useState(!1),[p,u]=t.useState(!1),{hasConnectedPeople:h,mfaConfigured:g,phoenixOptInEnabled:f,userId:v,name:E}=Ce(),b=r.routes.filter(({props:{active:e}})=>e)||[],C=l,y=b&&b[0]&&b[0].props&&b[0].props.children||r.appName,w=r.apps.find(({name:e})=>"Accounts"===e),k=r.apps.find(({name:e})=>"Home"===e),x=[...r.apps].filter(({name:e})=>"Home"!==e&&"Accounts"!==e);return t.useEffect(()=>{s(!1)},[b&&(null==(n=b[0])||null==(a=n.props)?void 0:a.href)]),t.createElement(cn,{style:J({},r.style)},t.createElement("button",{type:"button",className:Fa["appmenu-button"],onClick:()=>{r.requestAppsFetch(),r.requestConnectedPeopleFetch(),s(!1),m(e=>!e)}},t.createElement(wt,{appName:r.appName.replace(/[\s-]/,"")})),i&&t.createElement("div",{className:Fa.routes},r.routes),t.createElement(qa,{item:"Topbar:Small:Menus:Products:visibility",render:()=>t.createElement("div",{className:Fa["appmenu-layer"],style:J({},d&&{display:"block"}),onClick:()=>{m(e=>!e),u(!1)}},t.createElement(Ba,null),t.createElement("div",{onClick:e=>{const{forcePropagation:t}=e;t||e.stopPropagation()},className:Fa["appmenu-container"]},t.createElement("a",{"data-pendo":`app-switcher--change-app--${null==k?void 0:k.name}`,"data-turbolinks":!1,className:Et(Fa["appmenu-list-a"],Fa["appmenu-list-a--top"]),href:k?c(r.env)("accounts")+Bt(null==k?void 0:k.name):void 0},t.createElement(ol,{appName:k?k.name:r.appName})),t.createElement("div",{className:Fa["appmenu-scroll"]},t.createElement("ul",{"data-pendo":"app-switcher",className:Fa["appmenu-list"]},an(x).map(({name:e})=>t.createElement("li",{key:e,className:Fa["appmenu-list-li"]},t.createElement("a",{"data-pendo":`app-switcher--change-app--${e}`,"data-turbolinks":!1,className:Fa["appmenu-list-a"],href:c(r.env)("accounts")+Bt(e)},t.createElement(ol,{appName:e})))),w&&t.createElement("li",{className:Fa["appmenu-list-li"]},t.createElement(ja,{env:r.env}))))))}),t.createElement("button",{type:"button",className:Et(Fa["current-route"],{[Fa["is-active"]]:i}),onClick:r.routes.length>0?()=>{m(!1),s(e=>!e)}:null},t.createElement(C,null,(A=y).charAt(0).toUpperCase()+A.slice(1)),r.routes.length>0&&t.createElement(It,null)),t.createElement("button",{type:"button",className:Fa["profile-button"],onClick:()=>u(!p)},t.createElement(Ua,{env:r.env,url:r.userAvatarPath})),t.createElement("div",{style:{MozUserSelect:"none",WebkitTapHighlightColor:"transparent",WebkitUserSelect:"none",bottom:0,color:"black",display:p?"block":"none",left:0,msUserSelect:"none",position:"fixed",right:0,top:0,userSelect:"none"}},t.createElement("div",{onClick:e=>e.stopPropagation(),style:{WebkitOverflowScrolling:"touch",backgroundColor:"var(--t-surface-color-card)",display:"flex",flexDirection:"column",height:"100%",overflowY:"scroll",position:"relative",width:"100%"}},t.createElement(nl,{appName:r.appName,env:r.env,connectedPeople:r.connectedPeople,hasConnectedPeople:h,linkToProfile:o,mfaConfigured:g,requestClearAppsCache:r.requestClearAppsCache,requestClearConnectedPeopleCache:r.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:r.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:r.requestUnlinkConnectedPeople,setUserMenuVisible:u,userAvatarPath:r.userAvatarPath,userId:v,userName:E,phoenixOptInEnabled:f}))));var A},il=e=>{let{active:n,className:a}=e,l=X(e,ll);return t.createElement("a",J({className:Et(Fa.route,a,n&&Fa["is-active"])},l))},cl=["appName","apps","colors","connectedPeople","env","orgName","requestAppsFetch","requestClearAppsCache","requestClearConnectedPeopleCache","requestConnectedPeopleFetch","requestSwitchConnectedPerson","requestUnlinkConnectedPeople","userAvatarPath","userId","userName","routes","isPhoenix"],sl=["active","children","isPhoenix"];function dl(e){let{appName:n,apps:a,colors:l,connectedPeople:o,env:r,orgName:i,requestAppsFetch:c,requestClearAppsCache:s,requestClearConnectedPeopleCache:d,requestConnectedPeopleFetch:m,requestSwitchConnectedPerson:p,requestUnlinkConnectedPeople:u,userAvatarPath:h,userId:g,userName:f,routes:v,isPhoenix:E=!1}=e,b=X(e,cl);return t.createElement(E?rl:Ia,J({appName:n,apps:a,colors:l,connectedPeople:o,env:r,orgName:i,requestAppsFetch:c,requestClearAppsCache:s,requestClearConnectedPeopleCache:d,requestConnectedPeopleFetch:m,requestSwitchConnectedPerson:p,requestUnlinkConnectedPeople:u,userAvatarPath:h,userId:g,userName:f,routes:v},b))}function ml(e){let{active:n,children:a,isPhoenix:l=!1}=e,o=X(e,sl);return t.createElement(l?il:$a,J({active:n,children:a},o))}const pl=function(){const e={domain:window.location.host.split(".").slice(-2).join("."),"max-age":2592e3,path:"/",samesite:"lax"};return"https:"===window.location.protocol&&(e.secure=""),e}(),ul=Object.entries(pl).filter(([,e])=>void 0!==e).map(([e,t])=>""===t?e:`${e}=${t}`).join("; ");function hl({bottom:e="auto",children:n,hasShadow:a=!1,height:l="100%",id:o="toolbarDrawer",overflow:r="visible",position:i="absolute",width:c="100%"}){return t.createElement(u,J({backgroundColor:"surface",boxShadow:a&&open?"0 4px 12px rgba(0, 0, 0, 0.25)":null,left:0,position:"absolute",zIndex:1},{bottom:e,height:l,id:o,overflow:r,position:i,width:c}),n)}function gl({children:e,closeDrawer:n}){return t.createElement(u,{alignment:"start",axis:"horizontal",color:"foreground",distribution:"space-between",padding:2,paddingTop:1},t.createElement(A,{flex:1},e),n&&t.createElement(p,{icon:{fill:ot.lightNeutral12,name:"general.x",size:"md"},onClick:()=>n(),title:"Close",theme:!1,hover:{backgroundColor:ot.lightNeutral93},marginTop:.25}))}const fl=["children"];function vl(e){let{children:n}=e,a=X(e,fl);return t.createElement(Z,J({color:ot.lightNeutral12,letterSpacing:".002em",level:2,lineHeight:"35px",weight:700},a),n)}const El=e=>t.createElement(A,J({backgroundColor:ot.interaction66,height:1.5,pointerEvents:"none",position:"absolute",radius:"50%",width:1.5,zIndex:6},e)),bl=["children"],Cl={bottom:{background:"linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.07))",bottom:0},top:{background:"linear-gradient(rgba(0, 0, 0, 0.07), rgba(255, 255, 255, 0))",top:0}},yl=e=>{let{children:l}=e,o=X(e,bl);const[i,c]=a(!1),[s,d]=a(!1),m=r(null),p=r(null),h=r(null),g=()=>{const e=null==m?void 0:m.current;e&&d(e.scrollHeight-e.clientHeight>e.scrollTop+1)};return n(()=>{const e=null==m?void 0:m.current;if(!e)return()=>{};d(e.scrollHeight>e.clientHeight);const t={root:e,threshold:1},n=new IntersectionObserver(([{isIntersecting:e}])=>d(!e),t),a=new IntersectionObserver(([{isIntersecting:e}])=>c(!e),t),l=null==p?void 0:p.current,o=null==h?void 0:h.current;l&&n.observe(l),o&&a.observe(o);const r=new ResizeObserver(g);return r.observe(e),()=>{l&&n.unobserve(l),o&&a.unobserve(o),r.unobserve(e)}},[]),t.createElement(u,{grow:1,position:"relative",shrink:1},i&&t.createElement(wl,{edge:"top"}),s&&t.createElement(wl,{edge:"bottom"}),t.createElement(u,J({basis:2,grow:1,innerRef:m,overflow:"auto",role:"region",shrink:1,css:{overscrollBehavior:"contain"}},o),t.createElement(A,{innerRef:h}),l,t.createElement(A,{innerRef:p})))},wl=({edge:e})=>t.createElement(A,J({height:1,left:0,pointerEvents:"none",position:"absolute",right:0,role:"presentation",zIndex:10},Cl[e])),kl=({activeIndex:e,children:n})=>{const a=t.Children.count(n),l=e<0?0:e>a-1?a-1:e;return t.createElement(u,{grow:1,overflow:"hidden",position:"relative"},t.Children.map(n,(n,a)=>{const o=a===l;return t.createElement(u,{"aria-hidden":!o,visibility:o?"visible":"hidden",height:"100%",key:a,opacity:o?1:0,pointerEvents:o?"auto":"none",position:"absolute",top:0,width:"100%",transform:o?"translateX(0)":a<e?"translateX(-100px)":"translateX(100px)",transition:"visibility 100ms 50ms ease-in-out, transform 200ms ease-in-out, opacity 100ms 50ms ease-in-out"},n)}))};function xl(){window.localStorage.removeItem("Topbar:ConnectedPeople")}function Al(e){window.location=e}var Zl;(class extends t.Component{constructor(e){super(e),this.state={connectedPeople:[]}}fetch(){xn(this.props.configuredFetch,`${c(this.props.env)("api")}/login/v2/me/connected_people`).then(({json:e,ok:t})=>{if(!t||!e)return;const n=e.data;return this.setState({connectedPeople:n},()=>window.localStorage.setItem("Topbar:ConnectedPeople",JSON.stringify(n)))})}unlink(){xn(this.props.configuredFetch,`${c(this.props.env)("api")}/login/v2/me/unlink`,{method:"POST"}).then(({json:e})=>{var t;null!=e&&null!=(t=e.meta)&&t.redirect_to&&Al(e.meta.redirect_to)})}switch(e,t){xn(this.props.configuredFetch,`${c(this.props.env)("api")}/login/v2/me/switch_connected_person`,{data:{data:{attributes:{id:e,return_path:t}}},method:"POST"}).then(({json:e})=>{var t;null!=e&&null!=(t=e.meta)&&t.redirect_to&&Al(e.meta.redirect_to)})}componentDidMount(){const e=JSON.parse(window.localStorage.getItem("Topbar:ConnectedPeople"));return e?this.setState({connectedPeople:e}):this.fetch()}render(){return this.props.render(this.state.connectedPeople||[],{fetch:this.fetch.bind(this),remove:xl.bind(this),switch:this.switch.bind(this),unlink:this.unlink.bind(this)})}}).defaultProps={configuredFetch:wn},function(e){e.close="close",e.mount="mount",e.open="open",e.unmount="unmount"}(Zl||(Zl={}));const Sl={currentContent:null,open:!1},Pl=(e,t)=>{switch(t.type){case Zl.mount:return J({},e,{currentContent:t.payload.content});case Zl.unmount:return J({},e,{currentContent:null});case Zl.open:return J({},e,{open:!0});case Zl.close:return J({},e,{open:!1})}},Vl=t=>e.useReducer(Pl,J({},Sl,t)),Ml=({sectionName:e,currentAppName:n})=>{const a=e.toLowerCase();return"account information"===a||"recent updates"===a?t.createElement(g,{name:"account information"===a?"general.cogPerson":"general.outlinedGenericFile",color:"foregroundSecondary"}):"Accounts"===n?t.createElement(g,{name:"general.cog",color:"foregroundSecondary"}):t.createElement(u,{width:2,height:2},t.createElement(V,{name:n.toLowerCase().replace(/[\s]/,"-"),size:"sm",theme:"color",markOnly:!0}))},Nl=({hit:e,index:n})=>t.createElement(P.Item,{key:e.objectID,index:n,value:e,paddingVertical:1},t.createElement(h,{color:"neutralDarker",size:4,whiteSpace:"normal"},e.title)),Hl=({currentAppName:e,indexName:n})=>{const{query:a,refine:l}=R(),{hits:o,results:r}=U(),i=null==r?void 0:r.hits.reduce((e,t)=>{const n=t.category.title;return e[n]||(e[n]=[]),e[n].push(t),e},{});let c=0;return t.createElement(u,{id:"helpdesk-search",position:"relative"},t.createElement(P.Popover,{renderTo:"#helpdesk-search",popoverProps:{zIndex:2},placeholder:"Search our documentation",value:a,renderRight:t.createElement(g,{name:"general.search"}),onChange:e=>l(e.target.value),onSelect:e=>((e,t)=>{const n=t.split("_")[1],a=window.open(`https://${n}.zendesk.com/hc/${e.locale.locale}/articles/${e.id}`,"_blank");a&&a.focus()})(e,n),placement:"bottom-start"},!o.length&&t.createElement(t.Fragment,null,t.createElement(u,{axis:"horizontal",alignment:"center",paddingHorizontal:2,paddingVertical:1},t.createElement(h,{color:"neutralDarker",size:4,whiteSpace:"normal"},"No results match your search"))),i&&Object.keys(i).map(n=>{const a=i[n];return t.createElement(t.Fragment,{key:n},c>0&&t.createElement(m,{margin:1}),t.createElement(u,{axis:"horizontal",alignment:"center",spacing:.5,paddingHorizontal:2,paddingVertical:1},t.createElement(Ml,{currentAppName:e,sectionName:n}),t.createElement(h,{size:5,color:"foregroundSecondary",fontWeight:500},n)),a.map(e=>t.createElement(Nl,{key:e.objectID,hit:e,index:c++})))})))},Ll=({indexName:e,currentAppName:n})=>{const{algoliaSearchAuth:{algoliaApplicationId:a,algoliaSearchOnlyApiKey:l}}=Ce(),o=D(a,l);return t.createElement(q,{indexName:e,searchClient:o},t.createElement(F,{hitsPerPage:5}),t.createElement(Hl,{currentAppName:n,indexName:e}))},{LoadingIndicator:zl,StackView:Tl}=O,_l={component:function({appName:e,closeDrawer:n,env:a,helpdeskConfig:l}){return t.createElement(_,{grow:1,display:"flex",extensionId:"staging"===a?"42":"11",loadingFallback:t.createElement(Tl,{flex:1,axis:"vertical"},t.createElement(gl,{closeDrawer:n},t.createElement(Tl,{axis:"horizontal",spacing:1},t.createElement(vl,null,"Help and support"),t.createElement(zl,null)))),additionalComponents:{CalendlyWidget:$,DocumentationSearch:Ll,DrawerHeader:gl,DrawerHeading:vl,ScrollContainer:yl,SwitchView:kl},args:{appName:e,closeDrawer:n,currentPageParams:location.search,helpdeskConfig:l}})},icons:{active:"general.questionCircle",static:"general.outlinedQuestionCircle"},name:"Helpdesk"},Ol=["dark","style"],Il=e=>{let{dark:n,style:a}=e,l=X(e,Ol);return t.createElement("div",J({style:J({color:n?ot.lightNeutral62:ot.lightNeutral24,fontSize:"12px",fontWeight:400,textTransform:"uppercase"},a)},l))},$l=({mobile:e=!1,isLast:n,onCreateTask:a,onMarkAsRead:l=(async()=>Promise.resolve({})),onToggleRead:o,showBottomBorder:r,notification:i})=>{const{appName:c,createdAt:s,isRead:d,link:m,title:p}=i,{organizationTimeZone:u}=Ce(),[h,g]=t.useState(!1),f={style:"relative"};return u&&(f.timeZone=u),t.createElement(We,{active:h,"data-turbolinks":!1,href:m,onClick:async e=>{g(!0),await l(i),window.location.href=m},style:J({alignItems:"flex-start",borderBottom:r||!n?`1px solid ${e?ot.lightNeutral24:ot.lightNeutral93}`:"none",cursor:"pointer",display:"flex",overflow:"hidden",padding:"12px 16px",textDecoration:"none",verticalAlign:"middle"},Ve)},t.createElement("div",{style:{display:"flex",flexDirection:"column",flexGrow:1,justifyContent:"center"}},t.createElement("div",{style:{alignItems:"center",borderLeft:`4px solid hsl(${{Calendar:"9 61% 50%","Check-Ins":"283 22% 48%",Giving:"43 88% 64%",Groups:"17 96% 62%",People:"220 74% 57%",Publishing:"220 12% 31%",Registrations:"175 36% 43%",Services:"88 45% 41%"}[c]||"0 0% 81%"} / ${d?"40%":"100%"}`,display:"flex",marginBottom:"10px",paddingLeft:"8px"}},t.createElement("div",{style:{flexGrow:1,marginRight:"16px"}},t.createElement(Il,{dark:e,style:{marginBottom:"6px",userSelect:"none"}},c),t.createElement("h1",{style:{color:e?ot.lightNeutral88:ot.darkNeutral12,fontSize:"16px",fontWeight:500,lineHeight:"1.3em",margin:0,userSelect:"none"}},p)),!e&&t.createElement(M,{icon:{name:"general.threeDots"},title:"More options",variant:"naked",iconRight:null,placement:"bottom-end",onClick:e=>{e.stopPropagation()}},t.createElement(M.Item,{onClick:e=>{e.preventDefault(),e.stopPropagation(),o()}},"Mark ",d?"unread":"as read"),i.taskUrl?t.createElement(M.Item,{onClick:e=>{e.preventDefault(),e.stopPropagation(),window.location.href=i.taskUrl}},"Open task"):t.createElement(M.Item,{onClick:e=>{e.preventDefault(),e.stopPropagation(),a(i)}},"Create task"))),t.createElement("div",{style:{color:e?ot.lightNeutral62:ot.lightNeutral24,fontSize:"12px",paddingLeft:"12px",userSelect:"none"}},W.datetime(s,f))))},Dl=({context:e,dark:n=!1,description:a,title:l="No notifications"})=>t.createElement(u,{alignment:"center",distribution:"center",padding:4},t.createElement(Te,J({id:e},{dark:n})),t.createElement(Z,{color:n?"#fafafa":"#3d3d3d",fontWeight:500,marginTop:1,size:3},l),t.createElement(h,{align:"center",color:n?"#fafafa":"#3d3d3d",size:4},a));function Rl(e){return e&&!!e.allSubscriptions}function Ul(e){const[t,l]=a(!1);return n(()=>{!async function(){const t=await e;l(Rl(t))}()},[e]),t}const ql=({channelName:e,disconnectJoltOnUnmount:n,enabled:a=!0,env:l,fetchSubscribeToken:o,joltPromise:r})=>{const[i,s]=t.useState(),[d,m]=t.useState(),p=t.useCallback(async()=>{const t=await r,n=async(e,t)=>o(t),a=Rl(t)?jl(t,e,n):Fl(t,e,n);s(a),m(t)},[xn,e,l,c,kn]);return t.useEffect(()=>{a&&p()},[a,p]),t.useEffect(()=>{const e=e=>{var t,n;e.data.hasOwnProperty("PCOPageExpiredCurrentPersonACID")&&e.data.PCOPageExpiredCurrentPersonACID!==(null==(t=window)||null==(n=t.pcoPageExpired)?void 0:n.currentPersonACID)&&d&&d.disconnect()};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[d]),t.useEffect(()=>()=>{d&&n&&d.disconnect()},[d]),i},Fl=(e,t,n)=>e.subscriptions.find(e=>e.channel===t)||e.subscribe(t,{fetchSubscribeTokenFn:n}),jl=(e,t,n)=>{var a;const l=(null==(a=e.allSubscriptions)?void 0:a.find(e=>e.channel===t))||e.subscribe(t,{fetchSubscribeTokenFn:n});return l.subscribe(),l},Bl=(e,t,a)=>n(()=>e?(e.bind(t,a),()=>e.unbind(t,a)):()=>{},[e,a]),Wl=(e,t)=>{var n,a,l,o,r,i,c,s;const d=({type:e,id:t},n)=>n.find(n=>n.type===e&&n.id===t),m=null==(n=d(e.relationships.app.data,t.included))||null==(a=n.attributes)?void 0:a.name,p=JSON.parse(null==(l=d({id:null==e||null==(r=e.relationships)||null==(i=r.web_payloads)||null==(c=i.data[0])?void 0:c.id,type:"Payload"},t.included))||null==(o=l.attributes)?void 0:o.content);return{appName:m,createdAt:new Date(e.attributes.created_at),id:e.id,isRead:(null==(s=e.attributes.read_at)?void 0:s.length)>0,link:null==p?void 0:p.link,title:null==p?void 0:p.title}},Jl=["disabled","onClick","title"],Gl=e=>{let{disabled:n,onClick:a,title:l}=e,o=X(e,Jl);return t.createElement(u,J({color:n?ot.lightNeutral62:ot.interaction66,cursor:n?"default":"pointer",fontSize:5,fontWeight:600,userSelect:"none",onClick:!n&&a},o),l)},Xl=e=>{let n=J({},(G(e),e));return t.createElement(Z,J({color:ot.lightNeutral12,lineHeight:2,size:5,textTransform:"uppercase",userSelect:"none"},n))},Kl={component:function({closeDrawer:e}){const[n,a]=t.useState(!1),l={transition:"opacity 300ms ease-in-out"},r={entered:{opacity:1},entering:{opacity:.2}},{env:i,enabled:s,joltChannel:d}=pe.getState().notifications,{handleCreateTask:m,handleMarkAllAsRead:p,handleMarkAsRead:h,handleToggleRead:g,hasError:f,isLoading:v,read:E,unread:C}=(({enabled:e,env:n,joltChannel:a})=>{const[l,r]=t.useState([]),[i,s]=t.useState(!0),[d,m]=t.useState(!1),{read:p,unread:u}=(e=>{const{read:t,unread:n}=[...e].sort((e,t)=>e.createdAt<t.createdAt?1:-1).reduce((e,t)=>J({},e,t.isRead?{read:[...e.read,t]}:{unread:[...e.unread,t]}),{read:[],unread:[]});return{read:t,unread:n}})(l),h=()=>{try{m(!1),xn(wn,`${window.location.origin}/~api/notifications/v2/me/notifications?include=app,web_payloads&per_page=100&order=read_at,-created_at&filter=has_web_payload`).then(({json:e})=>{const t=e.data.map(t=>Wl(t,e));s(!1),r(t)})}catch(e){m(!0),console.error("topbar encountered error when fetching all notifications",e)}};t.useEffect(()=>{e&&h()},[e]);const g=e=>"string"==typeof e.data?JSON.parse(e.data):e.data,f=t.useCallback(e=>{try{(async e=>{try{return m(!1),xn(wn,`${window.location.origin}/~api/notifications/v2/me/notifications/${e}?include=app,web_payloads&filter=has_web_payload`).then(({json:e})=>e)}catch(e){m(!0),console.error("topbar encountered error when fetching a single notification",e)}})(g(e).data.id).then(e=>{const t=Wl(e.data,e);r(e=>[...e.filter(e=>e.id!==t.id),t])})}catch(e){console.error("topbar encountered error when updating state from jolt message",e)}},[Wl,g,h,p,r,u]),v=t.useCallback(e=>{const t=g(e),n=l.filter(e=>e.id!==t.data.id);r(n)},[g,l,r]);Bl(e?a:void 0,"notifications.v2.events.notification.created",f),Bl(e?a:void 0,"notifications.v2.events.notification.updated",f),Bl(e?a:void 0,"notifications.v2.events.notification.destroyed",v);const E=async(e,t)=>{const a=e.reduce((e,n)=>[...e,{attributes:{action:t},id:n,type:"graph_notification"}],[]);return xn(kn,`${c(n)("api")}/notifications/v2/me/bulk_update`,{data:{data:{attributes:{},relationships:{notifications:{data:{source:"/included/graph_notification/*"}}},type:"BulkUpdate"},included:a},method:"POST"}).then(t=>{t.ok||(s(!1),m(!0),r(t=>t.map(t=>e.includes(t.id)?J({},t,{isRead:!t.isRead}):t)))})},b=o(async e=>xn(kn,`${c(n)("api")}/home/v2/me/task_lists/inbox/tasks`,{data:{data:{attributes:{description:e.link?`<a href="${e.link}">Link</a>`:void 0,title:e.title}}},method:"POST"}).then(t=>{t.ok&&r(n=>n.map(n=>e.id===n.id?J({},n,{taskUrl:t.json.data.links.html}):n))}),[]);return{handleCreateTask:b,handleMarkAllAsRead:()=>{const e=u.map(e=>e.id);r(t=>t.map(t=>e.includes(t.id)?J({},t,{isRead:!0}):t)),E(u.map(e=>e.id),"read")},handleMarkAsRead:async e=>E([e.id],"read"),handleToggleRead:async e=>{const t=e.isRead?"unread":"read";return r(n=>n.map(n=>e.id==n.id?J({},n,{isRead:"read"===t}):n)),E([e.id],t)},hasError:d,isLoading:i,read:p,unread:u}})({enabled:s,env:i,joltChannel:d});return t.createElement(t.Fragment,null,t.createElement(gl,{closeDrawer:e},t.createElement(u,{spacing:.5},t.createElement(u,{alignment:"center",axis:"horizontal",spacing:1},t.createElement(vl,null,"Notifications"),v&&t.createElement(b,{color:"hsl(0 0% 62%)",thickness:2,trackColor:"hsl(0 0% 97%)"}),f&&t.createElement(Oe,{fill:"hsl(8 60% 47%)",size:16})),E.length>0&&t.createElement(Gl,{onClick:()=>a(e=>!e),title:(n?"Hide":"Show")+" read"}))),t.createElement(yl,null,t.createElement(u,{alignment:"stretch",spacing:2},t.createElement("div",{style:{boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"space-between",margin:0,padding:"4px 0"}},!v&&0===C.length&&t.createElement(Dl,J({context:"toolbar",description:`When you have ${E.length>0?"unread ":""}notifications they will show up here.`},E.length>0&&{title:"No unread notifications"})),C.length>0&&t.createElement(u,{axis:"horizontal",alignment:"center",distribution:"space-between",padding:2},t.createElement(Xl,null,"Unread"),C.length>0&&t.createElement(Gl,{onClick:()=>p(),title:`Mark ${C.length} as read`})),t.createElement(j,{exit:!1},C.map((e,n)=>t.createElement(B,{key:e.id,timeout:0},a=>t.createElement("div",{style:J({},l,r[a])},t.createElement($l,J({isLast:C.length===n+1,key:e.id,onMarkAsRead:h,onToggleRead:()=>g(e),onCreateTask:m,showBottomBorder:E.length>0},{notification:e})))))),E.length>0&&n&&t.createElement(t.Fragment,null,t.createElement(Xl,{padding:2},"Read"),t.createElement(j,{exit:!1},E.map(e=>t.createElement(B,{key:e.id,timeout:0},n=>t.createElement("div",{style:J({},l,r[n])},t.createElement("div",{style:{opacity:.6}},t.createElement($l,J({key:e.id,onToggleRead:()=>g(e),onCreateTask:m,showBottomBorder:!0},{notification:e}))))))))))))},icons:{active:"toolbar.notification",static:"toolbar.notificationO"},name:"Notifications"};function Yl(){const e=document.head.querySelectorAll('meta[property^="pco:"]'),t={};return e.forEach(e=>{const n=e.getAttribute("property");var a;t[n.substring("pco:".length)]="boolean"===(a=e).getAttribute("datatype")?"true"===a.content||"1"===a.content:a.content}),t}const Ql=me(Yl()),eo=new MutationObserver(()=>{const e=Ql.getState(),t=Yl();Sn(e,t)||Ql.setState(t)});let to=!1;const no=["children","badge","onClick"],{LoadingIndicator:ao,StackView:lo}=O;function oo(e){let{children:n,badge:a,onClick:l}=e,o=X(e,no);return t.createElement(u,J({as:"button",axis:"horizontal",distribution:"space-between",alignment:"center",paddingBottom:.75,onClick:()=>l(),spacing:1},o),n,a&&t.createElement(N,J({size:"sm",fontWeight:"600"},a)))}function ro({onMessage:e,requestedJoltChannel:n,joltPromise:a,env:l}){const{disconnectJoltOnUnmount:o}=Ce(),r=Ul(a),i=ql({channelName:null==n?void 0:n.channelName,disconnectJoltOnUnmount:o,enabled:!!n,env:l,fetchSubscribeToken:async e=>{const t=n.subscribeUrl;return(await xn(kn,t,{data:{data:{attributes:{connection_id:e}}},method:"POST"})).json.data.id},joltPromise:a});return t.createElement(r?io:co,{channel:i,onMessage:e})}function io({channel:e,onMessage:t}){return Bl(e,"*",t),null}function co({channel:e,onMessage:t}){return Bl(e,"",t),null}const so={component:function({closeDrawer:e,env:n,isOpen:l,joltPromise:r,onReceiveWorker:i,openDrawer:c,currentPath:d,onChangePath:m}){const p=(to||(to=!0,eo.observe(document.head,{attributes:!0,childList:!0,subtree:!0})),s(Ql.subscribe,()=>Ql.getState())),[u,h]=a(),[g,f]=a(),v=o(e=>{h(J({},e,{timestamp:(new Date).getTime()}))},[]),E=o((e,t={})=>{var n;if(null==(n=window)||!n.pendo)return console.warn("`window.pendo` is undefined");window.pendo.track(e,t)},[]);return t.createElement(t.Fragment,null,t.createElement(ro,{onMessage:v,requestedJoltChannel:g,joltPromise:r,env:n}),t.createElement(_,{grow:1,display:"flex",extensionId:"staging"===n?"41":"2",onReceiveWorker:i,loadingFallback:t.createElement(lo,{flex:1,axis:"vertical"},t.createElement(gl,{closeDrawer:e},t.createElement(lo,{axis:"horizontal",spacing:1},t.createElement(vl,null,"To do"),t.createElement(ao,null)))),additionalComponents:{DrawerHeader:gl,DrawerHeading:vl,NavLinkWithBadge:oo,ScrollContainer:yl,SwitchView:kl},args:{closeDrawer:e,currentPath:d,isOpen:l,latestJoltMessage:u,onChangePath:m,openDrawer:c,pcoMeta:p,requestJoltChannel:f,trackPendo:E}}))},icons:{active:"toolbar.checklist",static:"toolbar.checklistO"},name:"Tasks"};function mo({closeDrawer:e}){return t.createElement(gl,{closeDrawer:e},t.createElement(u,{alignment:"center",axis:"horizontal",spacing:1},t.createElement(vl,null,"Chat"),t.createElement(b,{color:"hsl(0 0% 62%)",thickness:2,trackColor:"hsl(0 0% 97%)"})))}function po(e,{messageType:t,allowedOrigin:a}){n(()=>{const n=n=>{n.origin===a&&n.data.type===t&&e(n)};return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}},[])}const uo={component:function({env:e,closeDrawer:l,currentPath:i,onChangePath:s}){const[d,m]=a(!0),p=function({currentPath:e,setFragmentRoute:t,env:l}){const i=function(e){const[t,n]=e.split("?",2);return n?`${t}?${decodeURIComponent(n)}`:t}(e||""),[s,d]=a(i),m=r(i),p=c(l)("chat");return po(o(e=>{const n=e.data.payload.replace(/^\/?topbar/,"").replace(/^\/+/,"");m.current=n,t(function(e){const[t,n]=e.split("?",2);return n?`${t}?${encodeURIComponent(n)}`:t}(n))},[t]),{allowedOrigin:p,messageType:"NEW_ROUTE_RENDERED"}),n(()=>{m.current!==i&&d(i)},[e]),[p,"topbar",s].filter(Boolean).join("/")}({currentPath:i,env:e,setFragmentRoute:s});return po(l,{allowedOrigin:c(e)("chat"),messageType:"CLOSE_DRAWER"}),"blankstate"===i?t.createElement(mo,{closeDrawer:l}):t.createElement(t.Fragment,null,d&&t.createElement(mo,{closeDrawer:l}),t.createElement(A,{onLoad:()=>m(!1),as:"iframe",src:p,title:"Chat",width:"100%",height:"100%",zIndex:"1"}))},icons:{active:"general.textMessage",static:"general.outlinedTextMessage"},name:"Chat",storageExemptPaths:["blankstate"]},ho=()=>{},go=({disconnectJoltOnUnmount:e=!0,env:t,isEnabled:l,joltPromise:o,userId:r})=>{const[i,c]=a(!1),[s,d]=a(!1),m=()=>(async()=>{const e=`${window.location.origin}/~api/chat/v2/me`,t=`?fields[Person]=${["display_chat_icon","unread_messages"].join(",")}`,{json:n}=await xn(wn,`${e}${t}`);return n})().then(({data:e})=>{const{display_chat_icon:t,unread_messages:n}=e.attributes;d(n),c(t)}).catch(ho),p=ql({channelName:`chat.people.${r}`,disconnectJoltOnUnmount:e,enabled:l&&!!r,env:t,fetchSubscribeToken:async e=>{const t=`${window.location.origin}/~api/chat/v2/me/jolt_subscribe`;return xn(kn,t,{data:{data:{attributes:{cid:e}}},method:"POST"}).then(({json:e})=>e.data.id)},joltPromise:o});return Bl(l?p:void 0,"STREAM_USER_UPDATED",m),n(()=>{l&&m()},[l]),{displayChatIcon:i,unreadIndicator:s}},fo={component:function({closeDrawer:e,linkToProfile:n,loginSettingsUrl:a,logoutUrl:l,profileUrl:o,userAvatarPath:r}){const{mfaConfigured:i,name:c,phoenixOptInEnabled:s}=Ce();return t.createElement(u,{axis:"vertical",spacing:t.createElement(m,null)},t.createElement(f,{columns:"auto 1fr auto",alignment:"start",spacing:2,padding:2,paddingTop:1,width:"100%"},t.createElement(S,{source:r,size:"md"}),t.createElement(u,{axis:"vertical",spacing:1,grow:0,shrink:1},t.createElement(vl,{paddingTop:.5,lineHeight:3.25},c),n&&t.createElement(E,{to:o,style:{color:ot.lightNeutral45},size:3,onClick:()=>setTimeout(()=>e(),50)},"My profile"),t.createElement(E,{to:a,style:{color:ot.lightNeutral45},size:3},"My login settings"),t.createElement(u,{axis:"horizontal",alignment:"center",spacing:.5,width:"100%"},t.createElement(g,{name:i?"general.lock":"general.unlock",size:"sm",color:i?ot.success25:ot.danger45}),t.createElement(h,{size:5,weight:400,color:ot.lightNeutral62,wrap:!0},"Two-step verification ",i?"active":"inactive"))),t.createElement(p,{icon:{fill:ot.lightNeutral24,name:"general.x",size:"md"},onClick:e,title:"Close",variant:"naked",theme:!1,marginTop:.25,hover:{backgroundColor:ot.lightNeutral95}})),s&&t.createElement(Za,{optedIn:!1}),t.createElement("form",{method:"POST",action:l},t.createElement(p,{"data-turbolinks":!1,onClick:()=>{xl()},style:{padding:0},theme:!1,type:"submit",width:"100%"},t.createElement(u,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:3,paddingVertical:2},t.createElement(h,{color:ot.lightNeutral45,size:3},"Log out"),t.createElement(g,{name:"general.intoBox",fill:ot.lightNeutral45})))))},icons:{active:"",static:""},name:"Profile"},vo=48,Eo=360,bo=100,Co=52,yo={Chat:uo,Notifications:Kl,Profile:fo,Tasks:so},wo=Object.fromEntries(Object.entries(yo).map(([e,t])=>[e.toLowerCase(),t]));function ko(e,t){var n,a;const l=wo[e];return null!=(n=null==l||null==(a=l.storageExemptPaths)?void 0:a.includes(t))&&n}function xo({appName:e,autoMountTool:r,env:i,helpdeskConfig:s={},linkToProfile:h=!0,userAvatarPath:f,userName:v,onReceiveTasksWorker:E,_storeDataOverride:b}){const[C,y,w]=function(){const e="toolbar",[t,r]=function(e){const t=l(()=>new RegExp(`${e}=([^&]+)`),[e]),r=o(e=>{const n=e.match(t);return n?n[1]:null},[t]),[i,c]=a(()=>r(location.hash)),s=o(e=>{c(r(e))},[]);return n(()=>{function e(){s(location.hash)}return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[s]),[i,s]}(e),i=o((t,n="")=>{const a=`#${e}=${t}/${n}`;history.replaceState(void 0,"",a),r(a)},[r]);return[l(()=>{if(t){const[e,...n]=t.split("/");return{path:n.join("/"),tool:e}}return null},[t]),i,o(()=>{history.replaceState(void 0,"","#"),r("")},[])]}(),[k,x]=function(e){const[t,n]=function(e){const[t,n]=a(()=>function(e){const t=document.cookie.split(";").map(e=>e.trim()).find(t=>t.startsWith(`${e}=`));return t&&decodeURIComponent(t.split("=")[1])}(e));return[t,o(t=>{document.cookie=`${e}=${encodeURIComponent(t)}; ${ul}`,n(t)},[e])]}("topbarToolbarToolState");return[l(()=>{if(!t)return{};try{return JSON.parse(t)}catch(e){return{}}},[t]),o(e=>n(JSON.stringify(e)),[n])]}(),Z=r?yo[r]:null,[P,V]=Vl({currentContent:Z}),{currentContent:M,open:N}=P,H=!!M,L=Ce(),{indicatorVisible:z,joltPromise:T,userId:_}=J({},L,"development"===i&&null!=b?b:{});t.useEffect(()=>{N?(document.body.style.overflow="hidden",window.scrollTo(0,0)):document.body.style.overflow="auto"},[N]),t.useEffect(()=>(window.openHelpdesk=()=>ee(_l),()=>{delete window.openHelpdesk}),[_l]);const O=Ma({appName:e.replace(/[\s-]/,""),env:i,userId:_}),$=`${c(i)("login")}/logout`,D=`/people/AC${_}`,R=_l,U=null!=s&&s.onClick?s.onClick:()=>B(R),q=o(e=>{V({payload:{content:e},type:Zl.mount}),setTimeout(()=>V({type:Zl.open}))},[]),F=o(e=>{if(e.name.toLowerCase()in wo){const t=k[e.name.toLowerCase()],n=t&&ko(e.name.toLowerCase(),t);y(e.name.toLowerCase(),n?"":t)}else w(),q(e)},[y,w,q,k]),j=o(()=>{w(),V({type:Zl.close}),setTimeout(()=>V({type:Zl.unmount}),bo)},[w]);t.useEffect(()=>{if(!C)return;if(ko(C.tool,C.path))return;const e=J({},k,{[C.tool]:C.path});Sn(e,k)||x(e)},[C,k]),t.useEffect(()=>{null==C||!C.tool||M===wo[C.tool]&&N||q(wo[C.tool])},[q,null==C?void 0:C.tool,M,N]);const B=e=>N&&(null==M?void 0:M.name)===e.name?j():F(e),{displayChatIcon:W,unreadIndicator:G}=go({disconnectJoltOnUnmount:null==L?void 0:L.disconnectJoltOnUnmount,env:i,isEnabled:Boolean(_),joltPromise:null==L?void 0:L.joltPromise,userId:_}),X=[Kl,so,W&&uo].filter(Boolean),K=function(e){const t=e=>"undefined"!=typeof window&&window.matchMedia(e).matches,[l,o]=a(t(e));function r(){o(t(e))}return n(()=>{const t=window.matchMedia(e);return r(),t.addListener?t.addListener(r):t.addEventListener("change",r),()=>{t.removeListener?t.removeListener(r):t.removeEventListener("change",r)}},[e]),l}("(max-width: 599px)"),[Y,Q]=t.useState(0);t.useLayoutEffect(()=>{const e=()=>{Q(window.innerHeight)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const ee=e=>{var t;F(e),null==(t=document.getElementById(`toolbarDrawer${e.name}`))||t.scrollTo({behavior:"smooth",top:0})},te={Profile:{closeDrawer:j,linkToProfile:h,loginSettingsUrl:O,logoutUrl:$,profileUrl:D,userAvatarPath:f},Tasks:{onReceiveWorker:E}},ne=o(e=>{y(null==M?void 0:M.name.toLowerCase(),e)},[null==M?void 0:M.name]),ae=J({appName:e,closeDrawer:j,currentPath:(null==C?void 0:C.tool)&&wo[C.tool]===M?null==C?void 0:C.path:null,env:i,helpdeskConfig:s,isOpen:N,joltPromise:T,onChangePath:ne,openDrawer:()=>M&&F(M),userId:_},M?te[M.name]:{}),le=J({},z,{Chat:G});return t.createElement(d,{theme:La},t.createElement(I,null,K?t.createElement(t.Fragment,null,t.createElement(u,{left:0,position:"fixed",right:0,pointerEvents:"none",style:{minHeight:Y},top:0,zIndex:10001},t.createElement(u,{alignItems:"start",axis:"horizontal",backgroundColor:"white",borderTopColor:"separatorTertiary",borderTopWidth:1,bottom:0,distribution:"fill",height:`calc(${Co}px + env(safe-area-inset-bottom))`,left:0,position:"fixed",pointerEvents:"auto",right:0},t.createElement(u,{alignment:"center",flex:"1",position:"relative"},t.createElement(p,{css:{WebkitTapHighlightColor:"transparent"},color:N?ot.lightNeutral62:ot.lightNeutral24,hover:{color:ot.lightNeutral24},icon:{name:N?"toolbar.planningCenterO":"toolbar.planningCenter",size:"20px"},onClick:()=>j(),padding:2,theme:!1,title:"Home"})),[R,...X].map(e=>t.createElement(u,{alignment:"center",flex:"1",key:e.name,position:"relative"},t.createElement(p,{id:Zo(e.name),"aria-label":`${e.name}`,color:N&&M===e?ot.lightNeutral24:ot.lightNeutral62,css:{WebkitTapHighlightColor:"transparent"},hover:{color:ot.lightNeutral24},key:e.name,onClick:()=>ee(e),paddingHorizontal:2,paddingVertical:2,theme:!1},t.createElement(A,{position:"relative"},le[e.name]&&t.createElement(El,{right:-.5,top:-.5}),t.createElement(g,{name:N&&M===e?e.icons.active:e.icons.static,size:"20px"}))))))),H&&t.createElement(hl,{id:`toolbarDrawer${M.name}`,bottom:`${Co}px`,height:N?`calc(100% - ${Co}px)`:"0px",overflow:"auto",position:"fixed"},t.createElement(M.component,J({},ae)))):t.createElement(u,{height:"100%",position:"absolute",right:0,width:N?`calc(${Eo}px + ${vo}px)`:`${vo}px`,transition:`all ${bo}ms ease-in-out`},t.createElement(u,{backgroundColor:"surface",borderLeftColor:"separatorTertiary",borderLeftWidth:1,grow:1,paddingVertical:1,spacing:t.createElement(m,{margin:1.5}),zIndex:2,position:"absolute",right:0,height:"100%",width:`${vo}px`},t.createElement(u,{alignment:"center","data-pendo":"toolbar-profile-support-wrapper",spacing:2},t.createElement(p,{"data-pendo":"toolbar-profile",onClick:()=>B(fo),radius:0,theme:!1},t.createElement(S,{alt:`${v}'s avatar`,hover:{outlineColor:ot.lightNeutral62},outlineColor:N&&H&&"Profile"==M.name?ot.lightNeutral62:"transparent",outlineOffset:"2px",outlineStyle:"solid",outlineWidth:"2px",size:"sm",source:f})),t.createElement(Ao,{currentContent:M,indicatorState:le,key:R.name,onClick:U,open:N,tool:R})),t.createElement(u,{alignment:"center",spacing:2},X.map(e=>t.createElement(Ao,{currentContent:M,indicatorState:le,key:e.name,onClick:()=>B(e),open:N,tool:e})))),H&&t.createElement(hl,{hasShadow:!0,id:`toolbarDrawer${M.name}`,width:`${Eo}px`},t.createElement(M.component,J({},ae))))))}const Ao=({currentContent:e,indicatorState:n,onClick:a,open:l,tool:o})=>t.createElement(A,{"data-pendo":Zo(o.name),key:o.name,position:"relative"},n[o.name]&&t.createElement(El,{right:.25,top:.25}),t.createElement(p,{id:Zo(o.name),color:l&&e===o?ot.lightNeutral24:ot.lightNeutral62,hover:{color:ot.lightNeutral24},icon:{name:l&&e===o?o.icons.active:o.icons.static,size:"20px"},key:o.name,onClick:a,title:`Open ${o.name} drawer`,theme:!1}));function Zo(e){return"Chat"===e?"toolbar-pcochat":`toolbar-${e.toLowerCase()}`}const So=function(){const e={domain:window.location.host.split(".").slice(-2).join("."),"max-age":2592e3,path:"/",samesite:"lax"};return"https:"===window.location.protocol&&(e.secure=""),e}(),Po=Object.entries(So).filter(([,e])=>void 0!==e).map(([e,t])=>""===t?e:`${e}=${t}`).join("; ");var Vo={"drawer-wrap":"drawer-wrap-J0rSL","is-visible":"is-visible-KTME8",drawer:"drawer-j7f4l"};const Mo=["isVisible","children","className"];function No({children:e,id:n="toolbarDrawer"}){return t.createElement("div",{id:n,className:Vo.drawer},e)}function Ho(e){let{isVisible:n,children:a,className:l}=e,o=X(e,Mo);return t.createElement("div",J({className:Et(Vo["drawer-wrap"],l,n&&Vo["is-visible"])},o),a)}function Lo({children:e,closeDrawer:n}){return t.createElement(u,{alignment:"start",axis:"horizontal",color:"foreground",distribution:"space-between",padding:2,paddingTop:1},t.createElement(A,{flex:1},e),n&&t.createElement(p,{icon:{fill:"var(--t-icon-color-default-dim)",name:"general.x",size:"md"},onClick:()=>n(),title:"Close",theme:!1,hover:{backgroundColor:"var(--t-fill-color-neutral-070)"},marginTop:.25}))}const zo=["children"];function To(e){let{children:n}=e,a=X(e,zo);return t.createElement(Z,J({color:"var(--t-text-color-default-headline)",letterSpacing:".002em",level:2,lineHeight:"35px",weight:700},a),n)}const _o=["children"],Oo={bottom:{background:"linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.07))",bottom:0},top:{background:"linear-gradient(rgba(0, 0, 0, 0.07), rgba(255, 255, 255, 0))",top:0}},Io=e=>{let{children:l}=e,o=X(e,_o);const[i,c]=a(!1),[s,d]=a(!1),m=r(null),p=r(null),h=r(null),g=()=>{const e=null==m?void 0:m.current;e&&d(e.scrollHeight-e.clientHeight>e.scrollTop+1)};return n(()=>{const e=null==m?void 0:m.current;if(!e)return()=>{};d(e.scrollHeight>e.clientHeight);const t={root:e,threshold:1},n=new IntersectionObserver(([{isIntersecting:e}])=>d(!e),t),a=new IntersectionObserver(([{isIntersecting:e}])=>c(!e),t),l=null==p?void 0:p.current,o=null==h?void 0:h.current;l&&n.observe(l),o&&a.observe(o);const r=new ResizeObserver(g);return r.observe(e),()=>{l&&n.unobserve(l),o&&a.unobserve(o),r.unobserve(e)}},[]),t.createElement(u,{grow:1,position:"relative",shrink:1},i&&t.createElement($o,{edge:"top"}),s&&t.createElement($o,{edge:"bottom"}),t.createElement(u,J({basis:2,grow:1,innerRef:m,overflow:"auto",role:"region",shrink:1,css:{overscrollBehavior:"contain"}},o),t.createElement(A,{innerRef:h}),l,t.createElement(A,{innerRef:p})))},$o=({edge:e})=>t.createElement(A,J({height:1,left:0,pointerEvents:"none",position:"absolute",right:0,role:"presentation",zIndex:10},Oo[e])),Do=({activeIndex:e,children:n})=>{const a=t.Children.count(n),l=e<0?0:e>a-1?a-1:e;return t.createElement(u,{grow:1,overflow:"hidden",position:"relative"},t.Children.map(n,(n,a)=>{const o=a===l;return t.createElement(u,{"aria-hidden":!o,visibility:o?"visible":"hidden",height:"100%",key:a,opacity:o?1:0,pointerEvents:o?"auto":"none",position:"absolute",top:0,width:"100%",transform:o?"translateX(0)":a<e?"translateX(-100px)":"translateX(100px)",transition:"visibility 100ms 50ms ease-in-out, transform 200ms ease-in-out, opacity 100ms 50ms ease-in-out"},n)}))};var Ro;!function(e){e.close="close",e.mount="mount",e.open="open",e.unmount="unmount"}(Ro||(Ro={}));const Uo={currentContent:null,open:!1},qo=(e,t)=>{switch(t.type){case Ro.mount:return J({},e,{currentContent:t.payload.content});case Ro.unmount:return J({},e,{currentContent:null});case Ro.open:return J({},e,{open:!0});case Ro.close:return J({},e,{open:!1})}},Fo=t=>e.useReducer(qo,J({},Uo,t));var jo={toolbar:"toolbar-KHJR5","toolbar-button":"toolbar-button-Ye4h5","is-current":"is-current-DZK47","toolbar-button--avatar":"toolbar-button--avatar-5FUik","toolbar-button--home":"toolbar-button--home-Pthd0"};const Bo=({sectionName:e,currentAppName:n})=>{const a=e.toLowerCase();return"account information"===a||"recent updates"===a?t.createElement(g,{name:"account information"===a?"general.cogPerson":"general.outlinedGenericFile",color:"foregroundSecondary"}):"Accounts"===n?t.createElement(g,{name:"general.cog",color:"foregroundSecondary"}):t.createElement(u,{width:2,height:2},t.createElement(V,{name:n.toLowerCase().replace(/[\s]/,"-"),size:"sm",theme:"color",markOnly:!0}))},Wo=({hit:e,index:n})=>t.createElement(P.Item,{key:e.objectID,index:n,value:e,paddingVertical:1},t.createElement(h,{color:"neutralDarker",size:4,whiteSpace:"normal"},e.title)),Jo=({currentAppName:e,indexName:n})=>{const{query:a,refine:l}=R(),{hits:o,results:r}=U(),i=null==r?void 0:r.hits.reduce((e,t)=>{const n=t.category.title;return e[n]||(e[n]=[]),e[n].push(t),e},{});let c=0;return t.createElement(u,{id:"helpdesk-search",position:"relative"},t.createElement(P.Popover,{renderTo:"#helpdesk-search",popoverProps:{zIndex:2},placeholder:"Search our documentation",value:a,renderRight:t.createElement(g,{name:"general.search"}),onChange:e=>l(e.target.value),onSelect:e=>((e,t)=>{const n=t.split("_")[1],a=window.open(`https://${n}.zendesk.com/hc/${e.locale.locale}/articles/${e.id}`,"_blank");a&&a.focus()})(e,n),placement:"bottom-start"},!o.length&&t.createElement(t.Fragment,null,t.createElement(u,{axis:"horizontal",alignment:"center",paddingHorizontal:2,paddingVertical:1},t.createElement(h,{color:"neutralDarker",size:4,whiteSpace:"normal"},"No results match your search"))),i&&Object.keys(i).map(n=>{const a=i[n];return t.createElement(t.Fragment,{key:n},c>0&&t.createElement(m,{margin:1}),t.createElement(u,{axis:"horizontal",alignment:"center",spacing:.5,paddingHorizontal:2,paddingVertical:1},t.createElement(Bo,{currentAppName:e,sectionName:n}),t.createElement(h,{size:5,color:"foregroundSecondary",fontWeight:500},n)),a.map(e=>t.createElement(Wo,{key:e.objectID,hit:e,index:c++})))})))},Go=({indexName:e,currentAppName:n})=>{const{algoliaSearchAuth:{algoliaApplicationId:a,algoliaSearchOnlyApiKey:l}}=Ce(),o=D(a,l);return t.createElement(q,{indexName:e,searchClient:o},t.createElement(F,{hitsPerPage:5}),t.createElement(Jo,{currentAppName:n,indexName:e}))},{LoadingIndicator:Xo,StackView:Ko}=O,Yo={component:function({appName:e,closeDrawer:n,env:a,helpdeskConfig:l}){return t.createElement(_,{grow:1,display:"flex",extensionId:"staging"===a?"42":"11",loadingFallback:t.createElement(Ko,{flex:1,axis:"vertical"},t.createElement(Lo,{closeDrawer:n},t.createElement(Ko,{axis:"horizontal",spacing:1},t.createElement(To,null,"Help and support"),t.createElement(Xo,null)))),additionalComponents:{CalendlyWidget:$,DocumentationSearch:Go,DrawerHeader:Lo,DrawerHeading:To,ScrollContainer:Io,SwitchView:Do},args:{appName:e,closeDrawer:n,currentPageParams:location.search,helpdeskConfig:l}})},icons:{staticDotPath:"",staticPath:"M16 10C14.9391 10 13.9217 10.4214 13.1716 11.1716C12.4214 11.9217 12 12.9391 12 14H14C14 13.4696 14.2107 12.9609 14.5858 12.5858C14.9609 12.2107 15.4696 12 16 12C16.5304 12 17.0391 12.2107 17.4142 12.5858C17.7893 12.9609 18 13.4696 18 14C18 16 15 15.75 15 19H17C17 16.75 20 16.5 20 14C20 12.9391 19.5786 11.9217 18.8284 11.1716C18.0783 10.4214 17.0609 10 16 10ZM16 24C14.4178 24 12.871 23.5308 11.5554 22.6518C10.2399 21.7727 9.21447 20.5233 8.60897 19.0615C8.00347 17.5997 7.84504 15.9911 8.15372 14.4393C8.4624 12.8874 9.22433 11.462 10.3432 10.3431C11.462 9.22433 12.8874 8.4624 14.4393 8.15372C15.9911 7.84504 17.5997 8.00346 19.0615 8.60896C20.5233 9.21446 21.7727 10.2398 22.6518 11.5554C23.5308 12.871 24 14.4177 24 16C23.9974 18.1209 23.1537 20.1542 21.6539 21.6539C20.1542 23.1537 18.1209 23.9974 16 24ZM16 6C14.0222 6 12.0888 6.58649 10.4443 7.6853C8.79981 8.78412 7.51809 10.3459 6.76121 12.1732C6.00433 14.0004 5.8063 16.0111 6.19215 17.9509C6.578 19.8907 7.53041 21.6725 8.92894 23.0711C10.3275 24.4696 12.1093 25.422 14.0491 25.8079C15.9889 26.1937 17.9996 25.9957 19.8268 25.2388C21.6541 24.4819 23.2159 23.2002 24.3147 21.5557C25.4135 19.9112 26 17.9778 26 16C26 13.3478 24.9464 10.8043 23.0711 8.92893C21.1957 7.05357 18.6522 6 16 6V6ZM15 22H17V20H15V22Z"},name:"Helpdesk"},Qo=["dark","style"],er=e=>{let{style:n}=e,a=X(e,Qo);return t.createElement("div",J({style:J({color:"var(--t-text-color-default-primary)",fontSize:"12px",fontWeight:400,textTransform:"uppercase"},n)},a))},tr=({mobile:e=!1,isLast:n,onCreateTask:a,onMarkAsRead:l=(async()=>Promise.resolve({})),onToggleRead:o,showBottomBorder:r,notification:i})=>{const{appName:c,createdAt:s,isRead:d,link:m,title:p}=i,{organizationTimeZone:u}=Ce(),[h,g]=t.useState(!1),f={style:"relative"};return u&&(f.timeZone=u),t.createElement(Xt,{active:h,"data-turbolinks":!1,href:m,onClick:async e=>{g(!0),await l(i),window.location.href=m},style:J({alignItems:"flex-start",borderBottom:r||!n?"1px solid var(--t-border-color-default-base)":"none",cursor:"pointer",display:"flex",overflow:"hidden",padding:"12px 16px",textDecoration:"none",verticalAlign:"middle"},Wt)},t.createElement("div",{style:{display:"flex",flexDirection:"column",flexGrow:1,justifyContent:"center"}},t.createElement("div",{style:{alignItems:"center",borderLeft:`4px solid hsl(${{Calendar:"9 61% 50%","Check-Ins":"283 22% 48%",Giving:"43 88% 64%",Groups:"17 96% 62%",People:"220 74% 57%",Publishing:"220 12% 31%",Registrations:"175 36% 43%",Services:"88 45% 41%"}[c]||"0 0% 81%"} / ${d?"40%":"100%"}`,display:"flex",marginBottom:"10px",paddingLeft:"8px"}},t.createElement("div",{style:{flexGrow:1,marginRight:"16px"}},t.createElement(er,{dark:e,style:{marginBottom:"6px",userSelect:"none"}},c),t.createElement("h1",{style:{color:"var(--t-text-color-default-headline)",fontSize:"16px",fontWeight:500,lineHeight:"1.3em",margin:0,userSelect:"none"}},p)),!e&&t.createElement(M,{icon:{name:"general.threeDots"},title:"More options",variant:"naked",iconRight:null,placement:"bottom-end",onClick:e=>{e.stopPropagation()}},t.createElement(M.Item,{onClick:e=>{e.preventDefault(),e.stopPropagation(),o()}},"Mark ",d?"unread":"as read"),i.taskUrl?t.createElement(M.Item,{onClick:e=>{e.preventDefault(),e.stopPropagation(),window.location.href=i.taskUrl}},"Open task"):t.createElement(M.Item,{onClick:e=>{e.preventDefault(),e.stopPropagation(),a(i)}},"Create task"))),t.createElement("div",{style:{color:"var(--t-text-color-default-primary)",fontSize:"12px",paddingLeft:"12px",userSelect:"none"}},W.datetime(s,f))))},nr=({context:e,description:n,title:a="No notifications"})=>t.createElement(u,{alignment:"center",distribution:"center",padding:4},t.createElement(Ot,{id:e}),t.createElement(Z,{color:"var(--t-text-color-default-headline)",fontWeight:500,marginTop:1,size:3},a),t.createElement(h,{align:"center",color:"var(--t-text-color-default-primary)",size:4},n)),ar=(e,t)=>{var n,a,l,o,r,i,c,s;const d=({type:e,id:t},n)=>n.find(n=>n.type===e&&n.id===t),m=null==(n=d(e.relationships.app.data,t.included))||null==(a=n.attributes)?void 0:a.name,p=JSON.parse(null==(l=d({id:null==e||null==(r=e.relationships)||null==(i=r.web_payloads)||null==(c=i.data[0])?void 0:c.id,type:"Payload"},t.included))||null==(o=l.attributes)?void 0:o.content);return{appName:m,createdAt:new Date(e.attributes.created_at),id:e.id,isRead:(null==(s=e.attributes.read_at)?void 0:s.length)>0,link:null==p?void 0:p.link,title:null==p?void 0:p.title}},lr=["disabled","onClick","title"],or=e=>{let{disabled:n,onClick:a,title:l}=e,o=X(e,lr);return t.createElement(u,J({color:n?"var(--t-text-color-default-disabled)":"var(--t-text-color-interaction-primary)",cursor:n?"default":"pointer",fontSize:5,fontWeight:600,userSelect:"none",onClick:!n&&a},o),l)},rr=e=>{let n=J({},(G(e),e));return t.createElement(Z,J({color:"var(--t-text-color-default-headline)",lineHeight:2,size:5,textTransform:"uppercase",userSelect:"none"},n))},ir={component:function({closeDrawer:e}){const[n,a]=t.useState(!1),l={transition:"opacity 300ms ease-in-out"},r={entered:{opacity:1},entering:{opacity:.2}},{env:i,enabled:s,joltChannel:d}=pe.getState().notifications,{handleCreateTask:m,handleMarkAllAsRead:p,handleMarkAsRead:h,handleToggleRead:g,hasError:f,isLoading:v,read:E,unread:C}=(({enabled:e,env:n,joltChannel:a})=>{const[l,r]=t.useState([]),[i,s]=t.useState(!0),[d,m]=t.useState(!1),{read:p,unread:u}=(e=>{const{read:t,unread:n}=[...e].sort((e,t)=>e.createdAt<t.createdAt?1:-1).reduce((e,t)=>J({},e,t.isRead?{read:[...e.read,t]}:{unread:[...e.unread,t]}),{read:[],unread:[]});return{read:t,unread:n}})(l),h=()=>{try{m(!1),ee(Y,`${window.location.origin}/~api/notifications/v2/me/notifications?include=app,web_payloads&per_page=100&order=read_at,-created_at&filter=has_web_payload`).then(({json:e})=>{const t=e.data.map(t=>ar(t,e));s(!1),r(t)})}catch(e){m(!0),console.error("topbar encountered error when fetching all notifications",e)}};t.useEffect(()=>{e&&h()},[e]);const g=e=>"string"==typeof e.data?JSON.parse(e.data):e.data,f=t.useCallback(e=>{try{(async e=>{try{return m(!1),ee(Y,`${window.location.origin}/~api/notifications/v2/me/notifications/${e}?include=app,web_payloads&filter=has_web_payload`).then(({json:e})=>e)}catch(e){m(!0),console.error("topbar encountered error when fetching a single notification",e)}})(g(e).data.id).then(e=>{const t=ar(e.data,e);r(e=>[...e.filter(e=>e.id!==t.id),t])})}catch(e){console.error("topbar encountered error when updating state from jolt message",e)}},[ar,g,h,p,r,u]),v=t.useCallback(e=>{const t=g(e),n=l.filter(e=>e.id!==t.data.id);r(n)},[g,l,r]);re(e?a:void 0,"notifications.v2.events.notification.created",f),re(e?a:void 0,"notifications.v2.events.notification.updated",f),re(e?a:void 0,"notifications.v2.events.notification.destroyed",v);const E=async(e,t)=>{const a=e.reduce((e,n)=>[...e,{attributes:{action:t},id:n,type:"graph_notification"}],[]);return ee(Q,`${c(n)("api")}/notifications/v2/me/bulk_update`,{data:{data:{attributes:{},relationships:{notifications:{data:{source:"/included/graph_notification/*"}}},type:"BulkUpdate"},included:a},method:"POST"}).then(t=>{t.ok||(s(!1),m(!0),r(t=>t.map(t=>e.includes(t.id)?J({},t,{isRead:!t.isRead}):t)))})},b=o(async e=>ee(Q,`${c(n)("api")}/home/v2/me/task_lists/inbox/tasks`,{data:{data:{attributes:{description:e.link?`<a href="${e.link}">Link</a>`:void 0,title:e.title}}},method:"POST"}).then(t=>{t.ok&&r(n=>n.map(n=>e.id===n.id?J({},n,{taskUrl:t.json.data.links.html}):n))}),[]);return{handleCreateTask:b,handleMarkAllAsRead:()=>{const e=u.map(e=>e.id);r(t=>t.map(t=>e.includes(t.id)?J({},t,{isRead:!0}):t)),E(u.map(e=>e.id),"read")},handleMarkAsRead:async e=>E([e.id],"read"),handleToggleRead:async e=>{const t=e.isRead?"unread":"read";return r(n=>n.map(n=>e.id==n.id?J({},n,{isRead:"read"===t}):n)),E([e.id],t)},hasError:d,isLoading:i,read:p,unread:u}})({enabled:s,env:i,joltChannel:d});return t.createElement(t.Fragment,null,t.createElement(Lo,{closeDrawer:e},t.createElement(u,{spacing:.5},t.createElement(u,{alignment:"center",axis:"horizontal",spacing:1},t.createElement(To,null,"Notifications"),v&&t.createElement(b,{color:"var(--t-fill-color-neutral-030)",thickness:2,trackColor:"var(--t-fill-color-neutral-080)"}),f&&t.createElement($t,{fill:"hsl(8 60% 47%)",size:16})),E.length>0&&t.createElement(or,{onClick:()=>a(e=>!e),title:(n?"Hide":"Show")+" read"}))),t.createElement(Io,null,t.createElement(u,{alignment:"stretch",spacing:2},t.createElement("div",{style:{boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"space-between",margin:0,padding:"4px 0"}},!v&&0===C.length&&t.createElement(nr,J({context:"toolbar",description:`When you have ${E.length>0?"unread ":""}notifications they will show up here.`},E.length>0&&{title:"No unread notifications"})),C.length>0&&t.createElement(u,{axis:"horizontal",alignment:"center",distribution:"space-between",padding:2},t.createElement(rr,null,"Unread"),C.length>0&&t.createElement(or,{onClick:()=>p(),title:`Mark ${C.length} as read`})),t.createElement(j,{exit:!1},C.map((e,n)=>t.createElement(B,{key:e.id,timeout:0},a=>t.createElement("div",{style:J({},l,r[a])},t.createElement(tr,J({isLast:C.length===n+1,key:e.id,onMarkAsRead:h,onToggleRead:()=>g(e),onCreateTask:m,showBottomBorder:E.length>0},{notification:e})))))),E.length>0&&n&&t.createElement(t.Fragment,null,t.createElement(rr,{padding:2},"Read"),t.createElement(j,{exit:!1},E.map(e=>t.createElement(B,{key:e.id,timeout:0},n=>t.createElement("div",{style:J({},l,r[n])},t.createElement("div",{style:{opacity:.6}},t.createElement(tr,J({key:e.id,onToggleRead:()=>g(e),onCreateTask:m,showBottomBorder:!0},{notification:e}))))))))))))},icons:{staticDotPath:"M18.2189 6.38867C17.5266 6.13717 16.7795 6 16.0003 6C12.4123 6 9.50363 8.90867 9.50363 12.4967V16.5862L6.54505 19.7387C5.34671 21.0156 6.25205 23.1069 8.0032 23.1069H13.3351C13.7865 24.1303 14.8101 24.8438 16.0002 24.8438C17.1903 24.8438 18.2139 24.1303 18.6653 23.1069H23.9974C25.7485 23.1069 26.6539 21.0156 25.4555 19.7387L22.497 16.5863V13.8102C21.7673 13.622 21.0914 13.2999 20.497 12.8718V16.9821V17.3778L20.7679 17.6664L23.9844 21.0938H8.01618L11.2328 17.6663L11.5036 17.3777V16.982V12.4967C11.5036 10.0132 13.5169 8 16.0003 8C16.7262 8 17.4118 8.17197 18.0188 8.47738C18.0064 8.31988 18.0001 8.16068 18.0001 8C18.0001 7.44181 18.0763 6.90141 18.2189 6.38867ZM8.00384 21.1069L8.0048 21.1059V21.1069H8.00384ZM23.9967 21.1069H23.9952V21.1053L23.9967 21.1069Z",staticPath:"M16.0003 6C12.4122 6 9.50357 8.90867 9.50357 12.4967V16.5862L6.54499 19.7387C5.34665 21.0156 6.25199 23.1069 8.00314 23.1069H13.335C13.7864 24.1303 14.81 24.8438 16.0001 24.8438C17.1902 24.8438 18.2138 24.1303 18.6653 23.1069H23.9973C25.7484 23.1069 26.6538 21.0156 25.4554 19.7387L22.497 16.5863V12.4967C22.497 8.90867 19.5883 6 16.0003 6ZM11.5036 12.4967C11.5036 10.0132 13.5168 8 16.0003 8C18.4837 8 20.497 10.0132 20.497 12.4967V16.9821V17.3778L20.7678 17.6664L23.9843 21.0938H8.01612L11.2327 17.6663L11.5036 17.3777V16.982V12.4967ZM8.00474 21.1059L8.00378 21.1069H8.00474V21.1059ZM23.9952 21.1069H23.9966L23.9952 21.1053V21.1069Z"},name:"Notifications"};function cr(){const e=document.head.querySelectorAll('meta[property^="pco:"]'),t={};return e.forEach(e=>{const n=e.getAttribute("property");var a;t[n.substring("pco:".length)]="boolean"===(a=e).getAttribute("datatype")?"true"===a.content||"1"===a.content:a.content}),t}const sr=me(cr()),dr=new MutationObserver(()=>{const e=sr.getState(),t=cr();ce(e,t)||sr.setState(t)});let mr=!1;const pr=["children","badge","onClick"],{LoadingIndicator:ur,StackView:hr}=O;function gr(e){let{children:n,badge:a,onClick:l}=e,o=X(e,pr);return t.createElement(u,J({as:"button",axis:"horizontal",distribution:"space-between",alignment:"center",paddingBottom:.75,onClick:()=>l(),spacing:1},o),n,a&&t.createElement(N,J({size:"sm",fontWeight:"600"},a)))}function fr({onMessage:e,requestedJoltChannel:l,joltPromise:o,env:r}){const{disconnectJoltOnUnmount:i}=Ce(),c=function(e){const[t,l]=a(!1);return n(()=>{!async function(){const t=await e;l(ne(t))}()},[e]),t}(o),s=ae({channelName:null==l?void 0:l.channelName,disconnectJoltOnUnmount:i,enabled:!!l,env:r,fetchSubscribeToken:async e=>{const t=l.subscribeUrl;return(await ee(Q,t,{data:{data:{attributes:{connection_id:e}}},method:"POST"})).json.data.id},joltPromise:o});return t.createElement(c?vr:Er,{channel:s,onMessage:e})}function vr({channel:e,onMessage:t}){return re(e,"*",t),null}function Er({channel:e,onMessage:t}){return re(e,"",t),null}const br={component:function({closeDrawer:e,env:n,isOpen:l,joltPromise:r,onReceiveWorker:i,openDrawer:c,currentPath:d,onChangePath:m}){const p=(mr||(mr=!0,dr.observe(document.head,{attributes:!0,childList:!0,subtree:!0})),s(sr.subscribe,()=>sr.getState())),[u,h]=a(),[g,f]=a(),v=o(e=>{h(J({},e,{timestamp:(new Date).getTime()}))},[]),E=o((e,t={})=>{var n;if(null==(n=window)||!n.pendo)return console.warn("`window.pendo` is undefined");window.pendo.track(e,t)},[]);return t.createElement(t.Fragment,null,t.createElement(fr,{onMessage:v,requestedJoltChannel:g,joltPromise:r,env:n}),t.createElement(_,{grow:1,display:"flex",extensionId:"staging"===n?"41":"2",onReceiveWorker:i,loadingFallback:t.createElement(hr,{flex:1,axis:"vertical"},t.createElement(Lo,{closeDrawer:e},t.createElement(hr,{axis:"horizontal",spacing:1},t.createElement(To,null,"To do"),t.createElement(ur,null)))),additionalComponents:{DrawerHeader:Lo,DrawerHeading:To,NavLinkWithBadge:gr,ScrollContainer:Io,SwitchView:Do},args:{closeDrawer:e,currentPath:d,isOpen:l,latestJoltMessage:u,onChangePath:m,openDrawer:c,pcoMeta:p,requestJoltChannel:f,trackPendo:E}}))},icons:{staticDotPath:"M18.3414 6H13.5C12.6716 6 12 6.67157 12 7.5V8H9C7.89543 8 7 8.89543 7 10V24C7 25.1046 7.89543 26 9 26H23C24.1046 26 25 25.1046 25 24V13.917C24.6748 13.9716 24.3407 14 24 14C23.6593 14 23.3252 13.9716 23 13.917V24H9L9 10H12V10.5C12 11.3284 12.6716 12 13.5 12H18.5C18.8029 12 19.0848 11.9102 19.3206 11.7558C18.4944 10.7277 18 9.4216 18 8C18 7.29873 18.1203 6.62556 18.3414 6ZM18 8H14V10H18V8ZM19.0556 14.1464C18.8603 13.9512 18.5437 13.9512 18.3485 14.1464L15.0724 17.4226L13.6642 16.0144C13.469 15.8192 13.1524 15.8192 12.9571 16.0144L11.9433 17.0282C11.7481 17.2235 11.7481 17.5401 11.9433 17.7353L14.7167 20.5088C14.8665 20.6585 15.0875 20.6934 15.2705 20.6135C15.3278 20.5892 15.3814 20.5536 15.4282 20.5069L20.0686 15.8665C20.2638 15.6713 20.2638 15.3547 20.0686 15.1594L19.0556 14.1464Z",staticPath:"M14 8V10H18V8H14ZM13.5 6C12.6716 6 12 6.67157 12 7.5V8H9C7.89543 8 7 8.89543 7 10V24C7 25.1046 7.89543 26 9 26H23C24.1046 26 25 25.1046 25 24V10C25 8.89543 24.1046 8 23 8H20V7.5C20 6.67157 19.3284 6 18.5 6H13.5ZM20 10.5V10H23V24H9L9 10H12V10.5C12 11.3284 12.6716 12 13.5 12H18.5C19.3284 12 20 11.3284 20 10.5ZM18.3485 14.1464C18.5437 13.9512 18.8603 13.9512 19.0556 14.1464L20.0686 15.1594C20.2638 15.3547 20.2638 15.6713 20.0686 15.8665L15.4282 20.5069C15.3814 20.5536 15.3278 20.5892 15.2705 20.6135C15.0875 20.6934 14.8665 20.6585 14.7167 20.5088L11.9433 17.7353C11.7481 17.5401 11.7481 17.2235 11.9433 17.0282L12.9571 16.0144C13.1524 15.8192 13.469 15.8192 13.6642 16.0144L15.0724 17.4226L18.3485 14.1464Z"},name:"Tasks"};function Cr({closeDrawer:e}){return t.createElement(A,{position:"absolute",width:"100%"},t.createElement(Lo,{closeDrawer:e},t.createElement(u,{alignment:"center",axis:"horizontal",spacing:1},t.createElement(To,null,"Chat"),t.createElement(b,{color:"var(--t-fill-color-neutral-030)",thickness:2,trackColor:"var(--t-fill-color-neutral-080)"}))))}function yr(e,{messageType:t,allowedOrigin:a}){n(()=>{const n=n=>{n.origin===a&&n.data.type===t&&e(n)};return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}},[])}const wr={component:function({env:e,closeDrawer:l,currentPath:i,onChangePath:s}){const[d,m]=a(!0),p=function({currentPath:e,setFragmentRoute:t,env:l}){const i=function(e){const[t,n]=e.split("?",2);return n?`${t}?${decodeURIComponent(n)}`:t}(e||""),[s,d]=a(i),m=r(i),p=c(l)("chat");return yr(o(e=>{const n=e.data.payload.replace(/^\/?topbar/,"").replace(/^\/+/,"");m.current=n,t(function(e){const[t,n]=e.split("?",2);return n?`${t}?${encodeURIComponent(n)}`:t}(n))},[t]),{allowedOrigin:p,messageType:"NEW_ROUTE_RENDERED"}),n(()=>{m.current!==i&&d(i)},[e]),[p,"topbar",s].filter(Boolean).join("/")}({currentPath:i,env:e,setFragmentRoute:s});return yr(l,{allowedOrigin:c(e)("chat"),messageType:"CLOSE_DRAWER"}),"blankstate"===i?t.createElement(Cr,{closeDrawer:l}):t.createElement(t.Fragment,null,d&&t.createElement(Cr,{closeDrawer:l}),t.createElement(A,{onLoad:()=>m(!1),as:"iframe",src:p,title:"Chat",width:"100%",height:"100%",zIndex:"1"}))},icons:{staticDotPath:"M26 13.6586V19C26 20.6569 24.6569 22 23 22H18.9997L17.4141 23.5856L15.9998 24.9998L14.5856 23.5856L13 22H9C7.34315 22 6 20.6569 6 19V10C6 8.34315 7.34315 7 9 7H18.083C18.0284 7.32521 18 7.65929 18 8C18 8.34071 18.0284 8.67479 18.083 9H9C8.44772 9 8 9.44772 8 10V19C8 19.5523 8.44772 20 9 20H13H13.8284L14.4142 20.5858L15.9998 22.1714L17.5855 20.5858L18.1713 20H18.9997H23C23.5523 20 24 19.5523 24 19V14C24.7013 14 25.3744 13.8797 26 13.6586Z",staticPath:"M13.8284 20L15.9998 22.1714L18.1713 20H23C23.5523 20 24 19.5523 24 19V10C24 9.44772 23.5523 9 23 9H9C8.44772 9 8 9.44772 8 10V19C8 19.5523 8.44772 20 9 20H13.8284ZM15.9998 24.9998L13 22H9C7.34315 22 6 20.6569 6 19V10C6 8.34315 7.34315 7 9 7H23C24.6569 7 26 8.34315 26 10V19C26 20.6569 24.6569 22 23 22H18.9997L15.9998 24.9998Z"},name:"Chat",storageExemptPaths:["blankstate"]},kr=()=>{},xr=({disconnectJoltOnUnmount:e=!0,env:t,isEnabled:l,joltPromise:o,userId:r})=>{const[i,c]=a(!1),[s,d]=a(!1),m=()=>(async()=>{const e=`${window.location.origin}/~api/chat/v2/me`,t=`?fields[Person]=${["display_chat_icon","unread_messages"].join(",")}`,{json:n}=await ee(Y,`${e}${t}`);return n})().then(({data:e})=>{const{display_chat_icon:t,unread_messages:n}=e.attributes;d(n),c(t)}).catch(kr),p=ae({channelName:`chat.people.${r}`,disconnectJoltOnUnmount:e,enabled:l&&!!r,env:t,fetchSubscribeToken:async e=>{const t=`${window.location.origin}/~api/chat/v2/me/jolt_subscribe`;return ee(Q,t,{data:{data:{attributes:{cid:e}}},method:"POST"}).then(({json:e})=>e.data.id)},joltPromise:o});return re(l?p:void 0,"STREAM_USER_UPDATED",m),n(()=>{l&&m()},[l]),{displayChatIcon:i,unreadIndicator:s}},Ar={component:function({closeDrawer:e,linkToProfile:n,loginSettingsUrl:a,logoutUrl:l,profileUrl:o,userAvatarPath:r}){const{mfaConfigured:i,name:c,phoenixOptInEnabled:s,colorModeSelectionEnabled:d}=Ce();return t.createElement(u,{axis:"vertical",spacing:t.createElement(m,null)},t.createElement(f,{columns:"auto 1fr auto",alignment:"start",spacing:2,padding:2,paddingTop:1,width:"100%"},t.createElement(S,{source:r,size:"md"}),t.createElement(u,{axis:"vertical",spacing:1,grow:0,shrink:1},t.createElement(To,{paddingTop:.5,lineHeight:3.25},c),n&&t.createElement(E,{to:o,style:{color:"var(--t-icon-color-default-secondary)"},size:3,onClick:()=>setTimeout(()=>e(),50)},"My profile"),t.createElement(E,{to:a,style:{color:"var(--t-icon-color-default-secondary)"},size:3},"My login settings"),t.createElement(u,{axis:"horizontal",alignment:"center",spacing:.5,width:"100%"},t.createElement(g,{name:i?"general.lock":"general.unlock",size:"sm",color:i?"var(--t-icon-color-status-success-primary)":"var(--t-icon-color-status-error-primary)"}),t.createElement(h,{size:5,weight:400,color:"var(--t-text-color-default-secondary)",wrap:!0},"Two-step verification ",i?"active":"inactive"))),t.createElement(p,{icon:{fill:"var(--t-icon-color-default-dim)",name:"general.x",size:"md"},onClick:e,title:"Close",variant:"naked",theme:!1,marginTop:.25,hover:{backgroundColor:"var(--t-fill-color-neutral-070)"}})),s&&t.createElement(Za,{optedIn:!0}),d&&t.createElement(f,{padding:2},t.createElement(Qa,null)),t.createElement("form",{method:"POST",action:l},t.createElement(p,{"data-turbolinks":!1,onClick:()=>{ge()},style:{padding:0},theme:!1,type:"submit",width:"100%"},t.createElement(u,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:3,paddingVertical:2},t.createElement(h,{color:"var(--text-color-default-secondary)",size:3},"Log out"),t.createElement(g,{name:"general.intoBox",fill:"var(--t-icon-color-default-secondary)"})))))},icons:{staticDotPath:"",staticPath:""},name:"Profile"},Zr=["children","className","current","onClick"],Sr=100;function Pr(e,t){var n,a;const l=Mr[e];return null!=(n=null==l||null==(a=l.storageExemptPaths)?void 0:a.includes(t))&&n}const Vr={Chat:wr,Notifications:ir,Profile:Ar,Tasks:br},Mr=Object.fromEntries(Object.entries(Vr).map(([e,t])=>[e.toLowerCase(),t]));function Nr({appName:e,autoMountTool:r,env:i,helpdeskConfig:s={},linkToProfile:m=!0,userAvatarPath:p,userName:u,onReceiveTasksWorker:h,_storeDataOverride:f}){const[v,E,b]=function(){const e="toolbar",[t,r]=function(e){const t=l(()=>new RegExp(`${e}=([^&]+)`),[e]),r=o(e=>{const n=e.match(t);return n?n[1]:null},[t]),[i,c]=a(()=>r(location.hash)),s=o(e=>{c(r(e))},[]);return n(()=>{function e(){s(location.hash)}return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[s]),[i,s]}(e),i=o((t,n="")=>{const a=`#${e}=${t}/${n}`;history.replaceState(void 0,"",a),r(a)},[r]);return[l(()=>{if(t){const[e,...n]=t.split("/");return{path:n.join("/"),tool:e}}return null},[t]),i,o(()=>{history.replaceState(void 0,"","#"),r("")},[])]}(),[C,y]=function(e){const[t,n]=function(e){const[t,n]=a(()=>function(e){const t=document.cookie.split(";").map(e=>e.trim()).find(t=>t.startsWith(`${e}=`));return t&&decodeURIComponent(t.split("=")[1])}(e));return[t,o(t=>{document.cookie=`${e}=${encodeURIComponent(t)}; ${Po}`,n(t)},[e])]}("topbarToolbarToolState");return[l(()=>{if(!t)return{};try{return JSON.parse(t)}catch(e){return{}}},[t]),o(e=>n(JSON.stringify(e)),[n])]}(),w=r?Vr[r]:null,[k,x]=Fo({currentContent:w}),{currentContent:A,open:Z}=k,S=!!A,P=Ce(),{indicatorVisible:V,joltPromise:M,userId:N}=J({},P,"development"===i&&null!=f?f:{}),H=on();t.useEffect(()=>{Z?(document.body.style.overflow="hidden",window.scrollTo(0,0)):document.body.style.overflow="auto"},[Z]),t.useEffect(()=>{const e=pe.subscribe(e=>{!1===e.toolbarDrawerOpen&&Z&&(b(),x({type:Ro.close}),setTimeout(()=>x({type:Ro.unmount}),Sr))});return()=>{e()}},[Z,b]),t.useEffect(()=>(window.openHelpdesk=()=>j(Yo),()=>{delete window.openHelpdesk}),[Yo]);const L=Wa({appName:e.replace(/[\s-]/,""),env:i,userId:N}),z=`${c(i)("login")}/logout`,T=`/people/AC${N}`,_=Yo,O=o(e=>{x({payload:{content:e},type:Ro.mount}),setTimeout(()=>{x({type:Ro.open}),H({toolbarDrawerOpen:!0})})},[]),$=o(e=>{if(e.name.toLowerCase()in Mr){const t=C[e.name.toLowerCase()],n=t&&Pr(e.name.toLowerCase(),t);E(e.name.toLowerCase(),n?"":t)}else b(),O(e)},[E,b,O,C]),D=o(()=>{b(),x({type:Ro.close}),setTimeout(()=>x({type:Ro.unmount}),Sr),H({toolbarDrawerOpen:!1})},[b]);t.useEffect(()=>{if(!v)return;if(Pr(v.tool,v.path))return;const e=J({},C,{[v.tool]:v.path});ce(e,C)||y(e)},[v,C]),t.useEffect(()=>{null==v||!v.tool||A===Mr[v.tool]&&Z||O(Mr[v.tool])},[O,null==v?void 0:v.tool,A,Z]);const R=e=>Z&&(null==A?void 0:A.name)===e.name?D():$(e),{displayChatIcon:U,unreadIndicator:q}=xr({disconnectJoltOnUnmount:null==P?void 0:P.disconnectJoltOnUnmount,env:i,isEnabled:Boolean(N),joltPromise:null==P?void 0:P.joltPromise,userId:N}),F=[ir,br,U&&wr].filter(Boolean),j=e=>{var t;R(e),null==(t=document.getElementById(`toolbarDrawer${e.name}`))||t.scrollTo({behavior:"smooth",top:0})},B={Profile:{closeDrawer:D,linkToProfile:m,loginSettingsUrl:L,logoutUrl:z,profileUrl:T,userAvatarPath:p},Tasks:{onReceiveWorker:h}},W=o(e=>{E(null==A?void 0:A.name.toLowerCase(),e)},[null==A?void 0:A.name]),G=J({appName:e,closeDrawer:D,currentPath:(null==v?void 0:v.tool)&&Mr[v.tool]===A?null==v?void 0:v.path:null,env:i,helpdeskConfig:s,isOpen:Z,joltPromise:M,onChangePath:W,openDrawer:()=>A&&$(A),userId:N},A?B[A.name]:{}),X=J({},V,{Chat:q});return t.createElement(d,{theme:Xa},t.createElement(I,null,t.createElement("div",{className:jo.toolbar,"data-pendo":"toolbar-profile-support-wrapper"},t.createElement(Hr,{"aria-label":`Open ${u}’s profile drawer`,onClick:()=>R(Ar),"data-pendo":"toolbar-profile",className:jo["toolbar-button--avatar"]},t.createElement(Ua,{env:i,url:p})),t.createElement(Hr,{className:jo["toolbar-button--home"],onClick:()=>D()},t.createElement(g,{name:"toolbar.planningCenter",size:"24px"})),[_,...F].map(e=>{const n=X[e.name];return t.createElement(Hr,{current:Z&&A===e,onClick:()=>j(e),id:zr(e.name),"aria-label":`Open ${e.name} drawer`,"data-pendo":zr(e.name),key:e.name},!n&&t.createElement(Lr,{path:e.icons.staticPath}),n&&t.createElement(Lr,{path:e.icons.staticDotPath,dot:!0}))})),t.createElement(Ho,{isVisible:Z},S&&t.createElement(No,{id:`toolbarDrawer${A.name}`},t.createElement(A.component,J({},G))))))}const Hr=e=>{let{children:n,className:a,current:l=!1,onClick:o}=e,r=X(e,Zr);return t.createElement("button",J({type:"button",className:Et(jo["toolbar-button"],a,l&&jo["is-current"]),onClick:o,"data-toolbar-link":"true"},r),n)};function Lr({dot:e,path:n}){return t.createElement("svg",{"aria-hidden":"true",width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:n}),e&&t.createElement("circle",{fill:"var(--t-icon-color-status-error-primary)",cx:"24",cy:"8",r:"4"}))}function zr(e){return"Chat"===e?"toolbar-pcochat":`toolbar-${e.toLowerCase()}`}const Tr=["appName","env","userAvatarPath","userName","isPhoenix"];function _r(e){let{appName:n,env:a,userAvatarPath:l,userName:o,isPhoenix:r=!1}=e,i=X(e,Tr);return t.createElement(r?Nr:xo,J({appName:n,env:a,userAvatarPath:l,userName:o},i))}export{ue as AppsProvider,_t as BellIcon,ve as ConnectedPeopleProvider,be as DisplaySwitch,Cn as NotSmallRoute,bn as NotSmallTopbar,Gn as PlatformAnnouncements,Kn as PlatformAnnouncementsStyleProvider,ga as ProductAnnouncement,fa as ProductAnnouncementStyleProvider,ml as SmallRoute,dl as SmallTopbar,Dt as SpyglassIcon,Xn as StyledPlatformAnnouncement,va as StyledProductAnnouncement,Ea as StyledProductAnnouncementDimissButton,Do as SwitchView,_r as Toolbar,Rt as XIcon,he as mapApps,Q as railsCsrfFetch};
|
|
1
|
+
import e from"@planningcenter/url";import*as t from"react";import a,{useEffect as n,useState as l,useMemo as r,useCallback as o,useRef as i}from"react";import*as c from"@planningcenter/icons/paths/general";import s from"@planningcenter/jolt-client";import{useSyncExternalStore as d}from"use-sync-external-store/shim";import{ThemeProvider as m,Divider as u,Button as p,StackView as h,Text as f,Icon as g,designSystem as v,Link as E,HeadingUppercase as C,List as b,Box as w,Heading as y,GridView as k,Avatar as A,Combobox as x,Logo as Z,Dropdown as V,Spinner as M,Badge as S}from"@planningcenter/tapestry-react";import*as H from"@planningcenter/icons/paths/church-center";import*as P from"@planningcenter/icons/paths/people";import*as N from"@planningcenter/icons/paths/toolbar";import{UiExtensionFirstPartyComponent as L,components as T,UiExtensionDataContext as z}from"@planningcenter/add-ons";import{InlineWidget as O}from"react-calendly";import _ from"algoliasearch";import{useSearchBox as D,useHits as I,InstantSearch as U,Configure as R}from"react-instantsearch";import{TransitionGroup as $,Transition as j}from"react-transition-group";import B from"@planningcenter/datetime-fmt";function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},F.apply(null,arguments)}function q(e){if(null==e)throw new TypeError("Cannot destructure "+e)}function W(e,t){if(null==e)return{};var a={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;a[n]=e[n]}return a}var J,G,K=(J=function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=l(e,n(a)))}return e}function n(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var r in e)t.call(e,r)&&e[r]&&(n=l(n,r));return n}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):window.classNames=a}()},J(G={exports:{}}),G.exports);const X=["headers"],Q=(e,t)=>fetch(e,F({credentials:"include",mode:"cors"},t)),Y=(e,t)=>{let{headers:a}=t,n=W(t,X);return fetch(e,F({headers:F({},a,{"X-CSRF-Token":(null==(l=window)||null==(r=l.Rails)?void 0:r.csrfToken())||(null==(o=document.querySelector('meta[name="csrf-token"]'))?void 0:o.getAttribute("content"))||null})},n,{credentials:"include",mode:"cors"}));var l,r,o};function ee(e,t,{method:a="GET",data:n=null}={}){const l={headers:{Accept:"application/json","Content-Type":"application/json"},method:a,redirect:"follow"};return n&&"GET"!==a&&(l.body=JSON.stringify(n)),e(t,l).then(e=>e.json().then(t=>({json:t,ok:e.ok,response:e})).catch(()=>({json:null,ok:e.ok,response:e})),e=>(console.warn(e),{json:null,ok:!1,response:null}))}const te=["dot","dotFill","fill","style"],ae=["id","style"],ne=["className","style"],le=["fill","size","style"],re=["fill","style"],oe=["fill","style"],ie=e=>{let{dot:t=!1,dotFill:n="#fff",fill:l="#fff",style:r}=e,o=W(e,te);const i=a.createElement("path",{d:"M21.482,16.626,19.1,13.649V9a7,7,0,0,0-14,0v4.649L2.478,16.929A1.89,1.89,0,0,0,3.952,20H9.285a2.983,2.983,0,0,0,5.633,0H19.86a2.077,2.077,0,0,0,1.622-3.374ZM19.86,18H4.182l2.7-3.375A1,1,0,0,0,7.1,14V9a5,5,0,0,1,10,0v5a1,1,0,0,0,.219.625l2.6,3.25Z",fill:"white"});return a.createElement("svg",F({width:"24",height:"24",viewBox:"0 0 24 24",style:F({display:"block"},r)},o,{stroke:"none"}),a.createElement("title",null,"bell"),a.createElement("defs",null,a.createElement("mask",{id:"mask-no-dot"},i),a.createElement("mask",{id:"mask-dot"},i,a.createElement("circle",{cx:"18",cy:"6",fill:"black",r:"7"}))),a.createElement("rect",{fill:l,height:"24",mask:t?"url(#mask-dot)":"url(#mask-no-dot",width:"24",x:"0",y:"0"}),t&&a.createElement("circle",{cx:"18",cy:"6",r:"4",fill:n||l}))},ce=e=>{let{id:t="default",style:n}=e,l=W(e,ae);return a.createElement("svg",F({fill:"none",height:"123",style:F({},n),width:"160"},l),a.createElement("g",{clipPath:`url(#clip-path-blank-state-${t})`},a.createElement("path",{opacity:".6",d:"M155.367 66.751c-6.081 17.955-18.824 33.158-32.579 41.991-14.045 8.977-28.96 11.294-46.19 7.529-16.941-3.764-33.738-11.583-47.638-18.968C15.204 89.63 4.344 82.533 1.593 71.385-1.013 60.525 4.78 45.61 18.68 30.842 32.435 16.362 54.3 2.896 80.362.579c25.919-2.606 49.666 6.082 63.276 18.534 13.901 12.597 17.666 29.828 11.729 47.638z",fill:"#E1F0F9"}),a.createElement("g",{opacity:".2"},a.createElement("path",{opacity:".2",d:"M90.643 122.063c-9.702 0-19.258-2.606-29.25-7.674-12.741-6.66-26.352-16.796-41.41-30.841C8.832 72.688-.29 62.697 0 50.678c.145-8.542 5.503-17.81 14.914-26.352l1.448 1.593c-9.122 8.108-14.19 16.94-14.335 24.76-.29 11.294 8.543 20.85 19.403 31.42C36.344 96 49.81 105.992 62.263 112.508c13.031 6.805 25.629 8.977 38.371 6.516l.434 2.027c-3.475.724-6.95 1.013-10.425 1.013zM116.706 115.982l-.869-1.738c13.756-6.226 25.919-16.507 34.027-28.67l1.738 1.159c-8.254 12.453-20.706 22.878-34.896 29.249zM158.552 71.385l-2.027-.58c2.896-11.294.869-22.877-5.792-33.303-10.715-17.086-32-29.973-55.457-33.882-19.258-3.475-40.108-.29-58.642 8.688l-.869-1.883c18.824-9.122 40.109-12.307 59.8-8.832 24.037 3.91 45.901 17.23 56.906 34.75 7.095 11.005 9.267 23.023 6.081 35.042z",fill:"#BAC7D3"})),a.createElement("path",{d:"M115.258 20.706l-.145 4.199c0 .869.289 1.882 1.013 2.461l3.186 2.752c.724.724.29 1.882-.724 1.882l-4.199-.145c-.869 0-1.882.29-2.462 1.014l-2.896 3.33c-.724.724-1.882.29-1.882-.724l.145-4.199c0-.869-.29-1.882-1.014-2.462l-3.185-2.75c-.724-.725-.29-1.883.724-1.883l4.199.145c.869 0 1.882-.29 2.461-1.014l2.751-3.185c.724-.87 2.028-.435 2.028.579zM92.959 30.842v1.882c0 .434.144.869.579 1.158l1.448 1.159c.29.29.145.869-.29.869h-1.882c-.434 0-.869.144-1.158.579l-1.159 1.448c-.29.29-.869.145-.869-.29v-1.882c0-.435-.144-.869-.579-1.159l-1.448-1.158c-.29-.29-.145-.869.29-.869h1.882c.435 0 .869-.145 1.159-.579l1.158-1.448c.29-.434.869-.29.869.29z",fill:"#FCC846"}),a.createElement("path",{d:"M68.778 36.633l-19.982 57.63 57.919-20.127-37.937-37.502z",fill:"#48A5E5"}),a.createElement("path",{d:"M82.099 54.299H62.696l2.027-5.647h12.308l5.068 5.647zM99.91 70.082H57.194l2.027-5.648h33.737l6.95 5.648zM72.398 85.864H51.692l1.737-5.647h35.91l-16.941 5.647z",fill:"#79CAF2"}),a.createElement("path",{d:"M107.613 73.964c1.44-1.5-6.087-11.069-16.813-21.374-10.726-10.305-20.588-17.443-22.029-15.944-1.44 1.5 6.087 11.069 16.813 21.374 10.726 10.305 20.588 17.443 22.029 15.944z",fill:"#636363"}),a.createElement("path",{d:"M113.086 55.747h-3.041c-.724 0-1.303.29-1.737.868l-1.883 2.607c-.434.579-1.448.29-1.448-.435l-.144-3.185c0-.724-.29-1.303-.869-1.738l-2.607-1.882c-.579-.434-.289-1.448.435-1.448l3.185-.145c.724 0 1.303-.29 1.738-.869l1.882-2.606c.435-.58 1.448-.29 1.448.434l.145 3.186c0 .724.29 1.303.869 1.738l2.606 1.882c.579.58.29 1.593-.579 1.593z",fill:"#FCC846"})),a.createElement("defs",null,a.createElement("clipPath",{id:`clip-path-blank-state-${t}`},a.createElement("path",{fill:"#fff",d:"M0 0h160v122.063H0z"}))))},se=e=>{let{className:t,style:n}=e,l=W(e,ne);return a.createElement("svg",F({className:t,height:"16",viewBox:"0 0 16 16",width:"16"},{style:n},l),a.createElement("title",null,"chevron"),a.createElement("polygon",{fill:"currentColor",points:"11.931 4.892 8 8.824 4.069 4.892 2.927 6.034 8 11.108 9.142 9.966 13.073 6.034 11.931 4.892"}))},de=e=>{let{fill:t="#000",size:n=24,style:l}=e,r=W(e,le);return a.createElement("svg",F({height:n,style:F({display:"block"},l),viewBox:"0 0 16 16",width:n},r),a.createElement("title",null,"exclamation triangle icon"),a.createElement("path",{d:"M15.669 13.676L8.65499 1.56099C8.58867 1.44593 8.49322 1.35037 8.37823 1.28392C8.26325 1.21748 8.13279 1.1825 7.99999 1.1825C7.86718 1.1825 7.73672 1.21748 7.62174 1.28392C7.50675 1.35037 7.4113 1.44593 7.34499 1.56099L0.330986 13.676C0.264196 13.7911 0.228916 13.9217 0.2287 14.0548C0.228484 14.1878 0.26334 14.3186 0.329756 14.4339C0.396172 14.5492 0.491802 14.6449 0.60701 14.7115C0.722218 14.778 0.852933 14.813 0.985986 14.813H15.014C15.147 14.813 15.2778 14.778 15.393 14.7115C15.5082 14.6449 15.6038 14.5492 15.6702 14.4339C15.7366 14.3186 15.7715 14.1878 15.7713 14.0548C15.7711 13.9217 15.7358 13.7911 15.669 13.676ZM8.75699 12.542H7.24299V11.028H8.75699V12.542ZM8.75699 9.51399H7.24299V6.48499H8.75699V9.51399Z",fill:t}))},me=e=>{let{fill:t="#000",style:n}=e,l=W(e,re);return a.createElement("svg",F({width:"24",height:"24",viewBox:"0 0 24 24",style:F({display:"block"},n)},l),a.createElement("title",null,"search spyglass icon"),a.createElement("path",{d:"M17.352,15.481a8.517,8.517,0,1,0-2.209,2.033l4.642,4.642,2.121-2.121Zm-6.757,1.364a6.5,6.5,0,1,1,6.5-6.5A6.508,6.508,0,0,1,10.595,16.845Z",fill:t}))},ue=e=>{let{fill:t="#A0A0A0",style:n}=e,l=W(e,oe);return a.createElement("svg",F({width:"16",height:"16",viewBox:"0 0 16 16",style:F({display:"block"},n)},l),a.createElement("title",null,"close-x"),a.createElement("path",{d:"M9.142,8l3.814,3.814-1.142,1.142L8,9.142,4.186,12.956,3.044,11.814,6.858,8,3.044,4.186,4.186,3.044,8,6.858l3.814-3.814,1.142,1.142Z",fill:t}))};var pe={announcement:"announcement-pI5tM","announcement--platform":"announcement--platform-EcUn2","announcement-icon":"announcement-icon-Ov39-","announcement-content":"announcement-content-q2ad6",dismiss:"dismiss-wUAoU"};function he(){return a.createElement("svg",{className:pe["announcement-icon"],width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"presentation"},a.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:c.exclamationCircle}))}const fe=["style"];class ge extends a.Component{constructor(e){super(e),this.state={announcements:e.initialAnnouncements}}dismissAnnouncements(t){return this.setState(({announcements:e})=>{const a=e;return e[t]&&delete a[t],{announcements:a}}),ee(this.props.configuredFetch||Q,`${e(this.props.env)("api")}/people/v2/me/platform_notifications/${t}/dismiss`,{method:"POST"})}render(){return a.createElement(a.Fragment,null,this.props.children({announcements:this.props.formatter(this.state.announcements)},{dismissAnnouncements:this.dismissAnnouncements.bind(this)}))}}ge.defaultProps={formatter:function(e){return function(e){const t=Object.keys(e);let a=t.length;const n=new Array(a);for(;a--;)n[a]=[t[a],e[t[a]]];return n}(e).map(e=>({data:e[1],id:e[0]}))}};class ve extends a.Component{render(){const e=this.props,{style:t}=e,n=W(e,fe);return a.createElement("div",{className:K(pe.announcement,pe["announcement--platform"])},a.createElement(he,null),a.createElement("div",F({className:pe["announcement-content"],style:t},n)))}}class Ee extends a.Component{render(){const e=this.props,t=F({},(q(e),e));return a.createElement("div",F({},t))}}class Ce extends a.Component{render(){return a.createElement(Ee,null,a.createElement(ge,{env:this.props.env,initialAnnouncements:this.props.data,configuredFetch:this.props.configuredFetch},(e,t)=>Boolean(e.announcements.length>0)?a.createElement("div",null,e.announcements.map(e=>this.props.renderItem({actions:t,announcement:e}))):null))}}function be(e){let t=F({},(q(e),e));return a.createElement("button",F({type:"button",className:pe.dismiss},t),a.createElement(ue,{fill:"white",style:{height:20,width:20}}))}function we(e){return a.createElement(ve,null,a.createElement("span",{dangerouslySetInnerHTML:{__html:e.html}}),a.createElement(be,{onClick:e.onClick}))}Ce.defaultProps={configuredFetch:Q,renderItem:({announcement:e,actions:t})=>a.createElement(we,{key:e.id,html:e.data.html,onClick:()=>t.dismissAnnouncements(e.id)})};const ye=["html","onClick"],ke=["style"];function Ae(e){let{html:t="",onClick:n=(e=>{})}=e,l=W(e,ye);const[r,o]=a.useState(!1);return r||!t?null:a.createElement(xe,F({},l),a.createElement(Ze,null,a.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),a.createElement(Ve,{onClick:e=>{n(e),o(!0)}})))}class xe extends a.Component{render(){const e=this.props,t=F({},(q(e),e));return a.createElement("div",F({},t))}}class Ze extends a.Component{render(){const e=this.props,{style:t}=e,n=W(e,ke);return a.createElement("div",{className:pe.announcement},a.createElement(he,null),a.createElement("div",F({className:pe["announcement-content"],style:t},n)))}}function Ve(e){let t=F({},(q(e),e));return a.createElement("button",F({type:"button",className:pe.dismiss},t),a.createElement(ue,{fill:"white",style:{height:20,width:20}}))}let Me=null;function Se(e){return e&&!!e.allSubscriptions}function He(e){const[t,a]=l(!1);return n(()=>{!async function(){const t=await e;a(Se(t))}()},[e]),t}const Pe=({channelName:t,disconnectJoltOnUnmount:n,enabled:l=!0,env:r,fetchSubscribeToken:o,joltPromise:i})=>{const[c,s]=a.useState(),[d,m]=a.useState(),u=a.useCallback(async()=>{const e=await i,a=async(e,t)=>o(t),n=Se(e)?Le(e,t,a):Ne(e,t,a);s(n),m(e)},[ee,t,r,e,Y]);return a.useEffect(()=>{l&&u()},[l,u]),a.useEffect(()=>{const e=e=>{var t,a;e.data.hasOwnProperty("PCOPageExpiredCurrentPersonACID")&&e.data.PCOPageExpiredCurrentPersonACID!==(null==(t=window)||null==(a=t.pcoPageExpired)?void 0:a.currentPersonACID)&&d&&d.disconnect()};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[d]),a.useEffect(()=>()=>{d&&n&&d.disconnect()},[d]),c},Ne=(e,t,a)=>e.subscriptions.find(e=>e.channel===t)||e.subscribe(t,{fetchSubscribeTokenFn:a}),Le=(e,t,a)=>{var n;const l=(null==(n=e.allSubscriptions)?void 0:n.find(e=>e.channel===t))||e.subscribe(t,{fetchSubscribeTokenFn:a});return l.subscribe(),l},Te=(e,t,a)=>n(()=>e?(e.bind(t,a),()=>e.unbind(t,a)):()=>{},[e,a]),ze=(e,t)=>{let a;return function(...n){const l=this;clearTimeout(a),a=setTimeout(()=>{a=null,e.apply(l,n)},t),a||e.apply(l,n)}};function Oe(e,t){return Object.keys(e).length===Object.keys(t).length&&Object.entries(e).every(([e,a])=>t[e]!==a)}function _e(e,t){const[a,r]=l(()=>{try{const a=window.localStorage.getItem(e);return a?JSON.parse(a):t}catch(e){return t}}),o=JSON.stringify(a);return n(()=>{window.localStorage.setItem(e,o)},[e,o]),{dropKey:()=>window.localStorage.removeItem(e),setStoredValue:r,storedValue:a}}const De=()=>{};function Ie(e){let t=e;const a=new Set;return{getState:()=>t,setState:e=>{t=e,a.forEach(e=>e(t))},subscribe:e=>(a.add(e),()=>a.delete(e))}}const Ue=Ie({}),Re=({configuredFetch:t=Q,enableJoltLogging:o,env:i,formatter:c=$e,joltPromise:d,wssEndpoint:m,render:u,userId:p})=>{var h,f,g,v,E,C,b,w,y,k,A,x,Z,V,M,S,H,P,N,L,T,z;const O=(({configuredFetch:t,env:a})=>{const{storedValue:r,setStoredValue:o}=_e("Topbar",{}),[i,c]=l(r);n(()=>{s()},[]);const s=()=>{ee(t,`${e(a)("api")}/people/v2/me/topbar`).then(({json:e,ok:t})=>{t&&(c(e),o(e))})};return i})({configuredFetch:t,env:i}),_=c(O),D=null==O||null==(h=O.data)||null==(f=h.attributes)?void 0:f.has_connected_people,I=!(null==O||null==(g=O.data)||null==(v=g.attributes)||!v.mfa_configured),U=null!=(E=null==O||null==(C=O.data)||null==(b=C.attributes)||null==(w=b.features)?void 0:w.includes("color_mode_selection_enabled"))&&E,R=null!=(y=null==O||null==(k=O.data)||null==(A=k.attributes)||null==(x=A.features)?void 0:x.includes("color_mode_launched"))&&y,$=null==O||null==(Z=O.data)||null==(V=Z.attributes)?void 0:V.color_mode,j=null==O||null==(M=O.data)||null==(S=M.attributes)?void 0:S.name,B=!window.notificationsDisabled,q=(null==O||null==(H=O.data)||null==(P=H.attributes)?void 0:P.org_time_zone)||"America/Los_Angeles",W={algoliaApplicationId:null==O||null==(N=O.data)||null==(L=N.attributes)?void 0:L.algolia_application_identifier,algoliaSearchOnlyApiKey:null==O||null==(T=O.data)||null==(z=T.attributes)?void 0:z.algolia_search_key},J=r(()=>(({enableJoltLogging:e,env:t,fetchAuthTokenFn:a,providedJoltPromise:n,wssEndpoint:l})=>n?n():(Me||(Me=new s(l||(e=>{switch(e){case"development":case"test":return"wss://1csnwvu025.execute-api.us-east-1.amazonaws.com/v1/";case"staging":return"wss://xvk2ac1o3l.execute-api.us-east-1.amazonaws.com/v1/";default:return"wss://yxe88gasn3.execute-api.us-east-1.amazonaws.com/v1/"}})(t),{fetchAuthTokenFn:a},{logToConsole:e})),Promise.resolve(Me)))({enableJoltLogging:o,env:i,fetchAuthTokenFn:async()=>ee(Y,`${window.location.origin}/~api/notifications/v2/me/notifications_jolt_authorize`,{data:{data:{attributes:{}}},method:"POST"}).then(({json:e})=>e.data.id),providedJoltPromise:d,wssEndpoint:m}),[d,m,i,o]),G=Pe({channelName:`notifications.people.${p}`,disconnectJoltOnUnmount:!d,enabled:!0,env:i,fetchSubscribeToken:async e=>{const t=`${window.location.origin}/~api/notifications/v2/me/notifications_jolt_subscribe`;return ee(Y,t,{data:{data:{attributes:{cid:e}}},method:"POST"}).then(({json:e})=>e.data.id)},joltPromise:J}),K=(({enabled:e,joltChannel:t})=>{const{storedValue:n,setStoredValue:l}=_e("Topbar:Notifications:hasUnread",!1),r=((e,t=0)=>a.useMemo(()=>ze(e,t),[]))(()=>{const e=`${window.location.origin}/~api/notifications/v2/me/unread`;ee(Q,e).then(({json:e})=>{l(e.data.attributes.unread)}).catch(De)},300);return a.useEffect(()=>{e&&r()},[e]),Te(e?t:void 0,"notifications.v2.events.notification.created",r),Te(e?t:void 0,"notifications.v2.events.notification.updated",r),Te(e?t:void 0,"notifications.v2.events.notification.destroyed",r),n})({enabled:!0,env:i,joltChannel:G});return n(()=>{const e=Ue.getState();Ue.setState(F({},e,{algoliaSearchAuth:W,colorMode:$,colorModeLaunched:R,colorModeSelectionEnabled:U,disconnectJoltOnUnmount:!d,hasConnectedPeople:D,indicatorVisible:F({},e.indicatorVisible,{Notifications:K}),joltPromise:J,mfaConfigured:I,name:j,notifications:{enabled:B,env:i,joltChannel:G},notificationsEnabled:B,notificationsJoltChannel:G,organizationTimeZone:q,userId:p}))},[$,R,J,I,j,B,K,q,U,p]),u(_||[],{fetch:()=>{},remove:()=>{}})};function $e(e){var t,a;return(null==e||null==(t=e.data)||null==(a=t.attributes)?void 0:a.apps)||[]}function je(){window.localStorage.removeItem("Topbar:ConnectedPeople")}function Be(e){window.location=e}class Fe extends a.Component{constructor(e){super(e),this.state={connectedPeople:[]}}fetch(){ee(this.props.configuredFetch,`${e(this.props.env)("api")}/login/v2/me/connected_people`).then(({json:e,ok:t})=>{if(!t||!e)return;const a=e.data;return this.setState({connectedPeople:a},()=>window.localStorage.setItem("Topbar:ConnectedPeople",JSON.stringify(a)))})}unlink(){ee(this.props.configuredFetch,`${e(this.props.env)("api")}/login/v2/me/unlink`,{method:"POST"}).then(({json:e})=>{var t;null!=e&&null!=(t=e.meta)&&t.redirect_to&&Be(e.meta.redirect_to)})}switch(t,a){ee(this.props.configuredFetch,`${e(this.props.env)("api")}/login/v2/me/switch_connected_person`,{data:{data:{attributes:{id:t,return_path:a}}},method:"POST"}).then(({json:e})=>{var t;null!=e&&null!=(t=e.meta)&&t.redirect_to&&Be(e.meta.redirect_to)})}componentDidMount(){const e=JSON.parse(window.localStorage.getItem("Topbar:ConnectedPeople"));return e?this.setState({connectedPeople:e}):this.fetch()}render(){return this.props.render(this.state.connectedPeople||[],{fetch:this.fetch.bind(this),remove:je.bind(this),switch:this.switch.bind(this),unlink:this.unlink.bind(this)})}}Fe.defaultProps={configuredFetch:Q};class qe extends a.Component{constructor(e){super(e),this.state={width:window.innerWidth},this.setWindowWidth=this.setWindowWidth.bind(this)}setWindowWidth(){this.setState({width:window.innerWidth})}componentDidMount(){window.addEventListener("resize",ze(this.setWindowWidth,100),!1)}componentWillUnmount(){window.removeEventListener("resize",ze(this.setWindowWidth,100),!1)}breakpointString(e){return e<480?"xs":e<600?"sm":e<720?"md":e<960?"lg":"xl"}render(){return a.createElement(a.Fragment,null,this.props.render(this.breakpointString(this.state.width)))}}class We extends a.Component{render(){return a.createElement(qe,{render:e=>-1!==this.props.smallBreakpoints.indexOf(e)?this.props.smallTopbar(e):this.props.notSmallTopbar(e)})}}We.defaultProps={smallBreakpoints:["xs","sm"]};var Je={__proto__:null,Accounts:function(){return[a.createElement("defs",{key:"def"},a.createElement("linearGradient",{id:"2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6",x1:"1.844",y1:"1.833",x2:"18.622",y2:"18.612",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),a.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),a.createElement("title",{key:"title"},"accounts-squircle"),a.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6)"})]},API:function(){return[a.createElement("defs",{key:"def"},a.createElement("linearGradient",{id:"c8ec303e-a96d-4850-93ae-70864e3306bb",x1:"0.991",y1:"0.983",x2:"19.295",y2:"19.288",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),a.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),a.createElement("title",{key:"title"},"api-squircle"),a.createElement("path",{key:"path",d:"M20,10c0,7.991-2,9.989-9.989,9.989S.019,17.991.019,10s2-9.989,9.989-9.989S20,2.009,20,10Z",fill:"url(#c8ec303e-a96d-4850-93ae-70864e3306bb)"})]},Calendar:function(){return[a.createElement("defs",{key:"defs"},a.createElement("linearGradient",{id:"calendar-gradient",x1:"2.05",y1:"2.04",x2:"17.97",y2:"17.96",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#f25437"}),a.createElement("stop",{offset:"1",stopColor:"#cd4e39"}))),a.createElement("title",{key:"title"},"calendar-squircle"),a.createElement("path",{key:"path",d:"M20,10c0,8-2,10-10,10S.06,18,.06,10,2.05.05,10,.05,20,2,20,10Z",fill:"url(#calendar-gradient)"})]},CheckIns:function(){return[a.createElement("defs",{key:"def"},a.createElement("linearGradient",{id:"679bc2bf-38c8-45ab-9ee3-a2ff814fead7",x1:"1.75",y1:"1.739",x2:"18.156",y2:"18.145",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#a76ebe"}),a.createElement("stop",{offset:"1",stopColor:"#875e96"}))),a.createElement("title",{key:"title"},"check-ins-squircle"),a.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#679bc2bf-38c8-45ab-9ee3-a2ff814fead7)"})]},ChurchCenter:function(){return[a.createElement("defs",{key:"def"},a.createElement("linearGradient",{id:"6de99831-a6f8-498e-9bf3-9d55c8d887fa",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#42a5f5"}),a.createElement("stop",{offset:"1",stopColor:"#66bb6a"}))),a.createElement("title",{key:"title"},"church-center-squircle"),a.createElement("path",{key:"path",d:"M10.008.037C2.04.037.048,2.029.048,10s1.992,9.96,9.96,9.96,9.96-1.992,9.96-9.96S17.976.037,10.008.037Z",fill:"url(#6de99831-a6f8-498e-9bf3-9d55c8d887fa)"})]},Giving:function(){return[a.createElement("defs",{key:"def"},a.createElement("linearGradient",{id:"0aae6372-b733-476d-af45-8777c08c1e24",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.959",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#f5c426"}),a.createElement("stop",{offset:"1",stopColor:"#f2b327"}))),a.createElement("title",{key:"title"},"giving-squircle"),a.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#0aae6372-b733-476d-af45-8777c08c1e24)"})]},Groups:function(){return[a.createElement("defs",{key:"def"},a.createElement("linearGradient",{id:"86d10072-1c7f-4a02-88fe-0735565ae99a",x1:"1.939",y1:"1.928",x2:"18.146",y2:"18.135",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#ff962d"}),a.createElement("stop",{offset:"1",stopColor:"#fc7638"}))),a.createElement("title",{key:"title"},"groups-squircle"),a.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#86d10072-1c7f-4a02-88fe-0735565ae99a)"})]},Home:function(){return[a.createElement("defs",{key:"def"},a.createElement("linearGradient",{id:"paint0_linear_1_2",x1:"-2.23242",y1:"0.320978",x2:"19.9609",y2:"22.5228",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#289DFF"}),a.createElement("stop",{offset:"1",stopColor:"#2266F7"}))),a.createElement("title",{key:"title"},"home-squircle"),a.createElement("path",{key:"path",d:"M9.99962 0C1.99854 0 0 2.00015 0 10C0 17.9998 1.99854 20 9.99962 20C18.0007 20 20 18.0014 20 10C20 1.99862 17.9999 0 9.99962 0Z",fill:"url(#paint0_linear_1_2)"})]},People:function(){return[a.createElement("defs",{key:"def"},a.createElement("linearGradient",{id:"7f805f16-2322-4b42-b61a-2bf71eadb25a",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),a.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),a.createElement("title",{key:"title"},"people-squircle"),a.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#7f805f16-2322-4b42-b61a-2bf71eadb25a)"})]},Publishing:function(){return[a.createElement("defs",{key:"def"},a.createElement("linearGradient",{id:"publishing-gradient",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#787882"}),a.createElement("stop",{offset:"1",stopColor:"#5f5f69"})),a.createElement("linearGradient",{id:"publishing-gradient-2",x1:"2.03",y1:"2.03",x2:"17.952",y2:"17.952",gradientTransform:"translate(2.563 -2.028) rotate(13.283)",xlinkHref:"#publishing-gradient"})),a.createElement("title",{key:"title"},"publishing-squircle"),a.createElement("path",{d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#publishing-gradient)",key:"path"}),a.createElement("circle",{cx:"9.991",cy:"9.991",r:"9.951",transform:"translate(-2.028 2.563) rotate(-13.283)",fill:"url(#publishing-gradient-2)",key:"circle"})]},Registrations:function(){return[a.createElement("defs",{key:"def"},a.createElement("linearGradient",{id:"bd67604d-f11c-4431-bd82-159c57241115",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#41b99e"}),a.createElement("stop",{offset:"1",stopColor:"#46948d"}))),a.createElement("title",{key:"title"},"registrations-squircle"),a.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#bd67604d-f11c-4431-bd82-159c57241115)"})]},Services:function(){return[a.createElement("defs",{key:"def"},a.createElement("linearGradient",{id:"00f9217c-0536-41ea-b265-a8689874be71",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0",stopColor:"#6eaa50"}),a.createElement("stop",{offset:"1",stopColor:"#6a9639"}))),a.createElement("title",{key:"title"},"services-squircle"),a.createElement("path",{key:"path",d:"M19.968,10c0,7.968-1.992,9.96-9.96,9.96S.048,17.965.048,10,2.04.037,10.008.037,19.968,2.029,19.968,10Z",fill:"url(#00f9217c-0536-41ea-b265-a8689874be71)"})]}};function Ge({color:e}){return a.createElement("path",{fill:e,d:"M16.95,9.28h0l-1.33-.23c-.12,0-.24-.04-.34-.11-.1-.07-.18-.16-.23-.27-.12-.45-.3-.89-.54-1.3-.04-.11-.05-.24-.03-.35,.02-.12,.08-.23,.16-.32l.78-1.1h0s0-.03,0-.04l-.03-.02-.04-.04-.87-.87-.05-.05h0s-.02-.02-.03,0l-1.11,.78c-.09,.08-.2,.13-.32,.16-.12,.02-.24,.01-.35-.03-.41-.24-.84-.42-1.3-.54-.11-.05-.2-.13-.27-.23-.07-.1-.11-.22-.11-.34l-.22-1.33h0s-.01-.03-.02-.03h-1.41s-.02,0-.02,.02l-.23,1.34c0,.12-.04,.24-.11,.34-.07,.1-.16,.18-.27,.23-.45,.12-.89,.3-1.3,.54-.11,.04-.24,.05-.35,.03-.12-.02-.23-.08-.32-.16l-1.1-.78h0s-.02-.01-.03,0l-.02,.03-.04,.04-.87,.87-.05,.05h0s0,.03,0,.04l.78,1.11c.08,.09,.13,.2,.16,.32,.02,.12,.01,.24-.03,.35-.24,.4-.42,.84-.54,1.29-.05,.11-.13,.2-.23,.27-.1,.07-.22,.11-.34,.11l-1.33,.22h0s-.02,0-.02,.02v1.41s0,.02,.02,.02l1.34,.23c.12,0,.24,.05,.34,.11,.1,.07,.18,.16,.23,.27,.12,.45,.3,.89,.54,1.29,.04,.11,.05,.24,.03,.35-.02,.12-.08,.23-.16,.32l-.78,1.11s0,.02,0,.03h0l.05,.06,.87,.87,.04,.04,.02,.02s.02,0,.03,0h0l1.1-.79c.09-.08,.2-.13,.32-.16,.12-.02,.24-.01,.35,.03,.4,.24,.84,.42,1.29,.54,.11,.05,.2,.13,.27,.23,.07,.1,.11,.22,.11,.34l.23,1.34s0,.02,.02,.02h1.41s.02,0,.02-.02h0l.22-1.34c0-.12,.05-.24,.11-.34,.07-.1,.16-.18,.27-.23,.45-.12,.89-.3,1.29-.54,.11-.04,.24-.05,.35-.03,.12,.02,.23,.08,.32,.16l1.11,.78s.02,0,.03,0h0l.05-.06,.87-.87,.04-.04,.02-.02s0-.02,0-.03h0l-.78-1.11c-.08-.09-.13-.2-.16-.32-.02-.12-.01-.24,.03-.35,.24-.4,.42-.84,.54-1.29,.05-.11,.13-.2,.23-.27s.22-.11,.34-.11l1.34-.23s.02,0,.02-.02v-1.4s0-.02-.02-.02Zm-4.67,3.01c-.45,.45-1.03,.76-1.65,.88-.63,.12-1.27,.06-1.86-.18-.59-.24-1.09-.66-1.45-1.19-.35-.53-.54-1.15-.54-1.79s.19-1.26,.54-1.79c.35-.53,.86-.94,1.45-1.19,.59-.24,1.24-.31,1.86-.18,.63,.12,1.2,.43,1.65,.88,.3,.3,.54,.66,.7,1.05,.16,.39,.25,.81,.25,1.24s-.08,.84-.25,1.24c-.16,.39-.4,.75-.7,1.05Z"})}var Ke={__proto__:null,Squircle:function({color:e="#fff"}){return a.createElement("path",{fill:e,d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z"})},Accounts:Ge,API:function({color:e}){return a.createElement("path",{fill:e,d:"M11.08,12.387a3.277,3.277,0,0,0,.21-.86l1.47-.23-.25-1.63-1.48.22A3.167,3.167,0,0,0,9.93,8.5l.54-1.37-1.54-.6L8.39,7.9a3.393,3.393,0,0,0-1.76.27l-.92-1.15-1.3,1.03.93,1.16a3.462,3.462,0,0,0-.43.78A3.333,3.333,0,0,0,4.69,11l-1.49.23.25,1.69,1.59-.24a3.278,3.278,0,0,0,1.02,1.2l-.54,1.39,1.55.6.54-1.39a3.319,3.319,0,0,0,1.74-.27l.93,1.17,1.3-1.04-.93-1.17A3.258,3.258,0,0,0,11.08,12.387ZM9.81,11.9A1.953,1.953,0,0,1,7.29,13a1.942,1.942,0,1,1,2.52-1.1Zm5.89-4.32a1.581,1.581,0,0,0,.04-.38,2.066,2.066,0,0,0-1.39-1.95v-.82H12.97v.82A2.066,2.066,0,0,0,11.58,7.2a1.581,1.581,0,0,0,.04.38l-.71.41.7,1.2.7-.4a2.073,2.073,0,0,0,2.7,0l.7.4.7-1.2Zm-2.04.67A1.045,1.045,0,1,1,14.7,7.2,1.041,1.041,0,0,1,13.66,8.247Z"})},Calendar:function({color:e}){return a.createElement("path",{fill:e,d:"M14.18,6.5h-.91V5.8a.55.55,0,0,0-.55-.55h-.26a.55.55,0,0,0-.55.55v.7H8.09V5.8a.55.55,0,0,0-.55-.55H7.28a.55.55,0,0,0-.55.55v.7H5.82a.58.58,0,0,0-.58.59v7.08a.58.58,0,0,0,.58.58h8.36a.58.58,0,0,0,.58-.58V7.09A.58.58,0,0,0,14.18,6.5Zm-.91,6.71H6.73V9.09h6.54Z"})},CheckIns:function({color:e}){return a.createElement("path",{fill:e,d:"M14.175,8.341,9.258,13.256a1.157,1.157,0,0,1-1.638,0L5.161,10.8A1.159,1.159,0,1,1,6.8,9.16L8.439,10.8l4.1-4.1a1.159,1.159,0,0,1,1.639,1.639Z"})},ChurchCenter:function({color:e}){return a.createElement("path",{fill:e,d:"M13.91,14.763a.334.334,0,0,1-.331.338l-1.959-.016a.334.334,0,0,1-.338-.331s.005-.233.005-1.8a3.674,3.674,0,0,0-1.279-2.638,3.674,3.674,0,0,0-1.279,2.638c0,1.565.005,1.8.005,1.8a.334.334,0,0,1-.338.331L6.437,15.1a.334.334,0,0,1-.331-.338s-.242-6.457-.02-6.65h0L9.671,5.021a.522.522,0,0,1,.684,0l3.58,3.092H13.93C14.152,8.325,13.91,14.763,13.91,14.763Z"})},Giving:function({color:e}){return a.createElement("path",{fill:e,d:"M10.3,13.769a.508.508,0,0,1-.592,0c-1.259-.888-5.982-4.494-3.268-6.83a2.386,2.386,0,0,1,3.215.205l.349.349.349-.349a2.386,2.386,0,0,1,3.215-.205C16.286,9.275,11.563,12.881,10.3,13.769Z"})},Groups:function({color:e}){return a.createElement("path",{fill:e,d:"M13.769,11.313V8.683a1.867,1.867,0,1,0-2.443-2.449H8.69A1.867,1.867,0,1,0,6.243,8.681v2.632A1.867,1.867,0,1,0,8.69,13.76h2.632a1.867,1.867,0,1,0,2.447-2.447Zm-1.455,0a1.873,1.873,0,0,0-.992.992H8.69a1.877,1.877,0,0,0-.992-.992V8.681a1.877,1.877,0,0,0,.992-.992h2.636a1.872,1.872,0,0,0,.988.99Z"})},Home:function({color:e}){return a.createElement("path",{fill:e,d:"M14.7619 8.93233C14.7619 8.72768 14.6587 8.53243 14.4775 8.39414L10.5927 5.43C10.2573 5.17413 9.74265 5.17413 9.40731 5.42999L5.52252 8.39414C5.34128 8.53243 5.2381 8.72768 5.2381 8.93233V13.0794C5.2381 13.4827 5.63079 13.8095 6.11521 13.8095H13.8848C14.3692 13.8095 14.7619 13.4826 14.7619 13.0794V8.93233Z"})},People:function({color:e}){return a.createElement("path",{fill:e,d:"M8.177,5.732A2.018,2.018,0,1,1,6.159,7.75,2.019,2.019,0,0,1,8.177,5.732Zm2.494,8.53H5.664A.565.565,0,0,1,5.1,13.7V12.422a1.841,1.841,0,0,1,1.841-1.841H9.394a1.841,1.841,0,0,1,1.841,1.841V13.7A.565.565,0,0,1,10.671,14.262ZM12.814,6.94A1.513,1.513,0,1,1,11.3,8.453,1.513,1.513,0,0,1,12.814,6.94Zm1.537,6.093H12.413a.565.565,0,0,1-.565-.565v-.049a2.292,2.292,0,0,0-.2-.957.555.555,0,0,0-.062-.141.8.8,0,0,0-.061-.11,1.19,1.19,0,0,0-.092-.16,1.131,1.131,0,0,1,.908-.472h1.472a1.108,1.108,0,0,1,1.105,1.1v.785A.565.565,0,0,1,14.351,13.033Z"})},Publishing:function({color:e}){return a.createElement("path",{fill:e,d:"M7.287,13.575a.478.478,0,0,1-.477.477H5.856a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H6.81a.478.478,0,0,1,.477.477Zm7.293,0a.477.477,0,0,1-.477.477H9.268a.478.478,0,0,1-.477-.477V12.6a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Zm0-3.473a.477.477,0,0,1-.476.477H9.268a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Z"})},Registrations:function({color:e}){return a.createElement("path",{fill:e,d:"M4.48,11.09a.51.51,0,0,0,0,.71l.7.7a.22.22,0,0,0,.27,0,1.47,1.47,0,0,1,1.8.22,1.5,1.5,0,0,1,.23,1.81.21.21,0,0,0,0,.27l.7.7a.51.51,0,0,0,.71,0l2-2a.16.16,0,0,0,0-.22L6.7,9.1a.17.17,0,0,0-.23,0Zm11-2.89-.71-.7a.21.21,0,0,0-.26,0,1.47,1.47,0,0,1-1.79-.23,1.49,1.49,0,0,1-.24-1.79.22.22,0,0,0,0-.27l-.7-.7a.51.51,0,0,0-.71,0L7.47,8.11a.14.14,0,0,0,0,.22l4.2,4.2a.14.14,0,0,0,.22,0l3.63-3.62A.51.51,0,0,0,15.52,8.2Z"})},Services:function({color:e}){return a.createElement("path",{fill:e,d:"M6.5,6.559A1.059,1.059,0,1,1,5.443,5.5,1.059,1.059,0,0,1,6.5,6.559ZM5.443,8.943A1.059,1.059,0,1,0,6.5,10,1.059,1.059,0,0,0,5.443,8.943Zm0,3.443A1.059,1.059,0,1,0,6.5,13.445,1.059,1.059,0,0,0,5.443,12.386ZM15,6.087a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485V7.03a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,7.03ZM15,9.53a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,10.473Zm0,3.443a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,13.916Z"})}};function Xe({appName:e,size:t=32}){return a.createElement("svg",{"data-logo":"color-app-icon",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 20 20",style:{display:"block"}},a.createElement(Je[e]?Je[e]:"span",{key:"key1"}),Ke[e]?a.createElement(Ke[e],{color:"#fff",key:"key2"}):a.createElement("div",{key:"key3"},"appName not supported"))}const Qe=["appName","colors","style","size"],Ye={accounts:"var(--t-fill-color-product-accounts-050)",api:"var(--t-fill-color-neutral-010)",calendar:"var(--t-fill-color-product-calendar-050)",checkins:"var(--t-fill-color-product-checkins-050)",giving:"var(--t-fill-color-product-giving-050)",groups:"var(--t-fill-color-product-groups-050)",home:"var(--t-fill-color-product-home-050)",people:"var(--t-fill-color-product-people-050)",publishing:"var(--t-fill-color-product-publishing-050)",registrations:"var(--t-fill-color-product-registrations-050)",services:"var(--t-fill-color-product-services-050)"};function et({appName:e}){return a.createElement("path",{d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:Ye[e]})}function tt(e){let{appName:t,style:n,size:l=24}=e,r=W(e,Qe);return a.createElement("svg",F({"data-logo":"mono-app-icon",xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 20 20",role:"img","aria-labelledby":"title desc",style:F({display:"block"},n)},r),a.createElement("title",{id:"title"},"Planning Center ",t," App Icon"),a.createElement("desc",{id:"desc"},"An image symbolizing the Planning Center ",t," app."),"Accounts"===t?null:a.createElement(et,{appName:t.toLowerCase()}),Ke[t]?a.createElement(Ke[t],{color:"Accounts"===t?"var(--t-text-color-default-primary)":"var(--t-fill-color-neutral-100)"}):a.createElement("div",null,"appName not supported"))}const at="var(--t-text-color-default-primary)";var nt={__proto__:null,Accounts:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 77.073 20",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,"accounts-text"),a.createElement("path",{fill:at,d:"M4.729,5.537A10.859,10.859,0,0,0,1.262,6.1a.566.566,0,0,0-.4.717l.194.819a.579.579,0,0,0,.7.5,10.108,10.108,0,0,1,2.748-.47,1.416,1.416,0,0,1,1.065.349A2.307,2.307,0,0,1,6,9.682,7.706,7.706,0,0,0,4.1,9.418c-2.493,0-4.1,1.305-4.1,3.327a3.2,3.2,0,0,0,3.328,3.434,4.385,4.385,0,0,0,3.011-1.161l.181.509c.1.249.231.415.515.415h.712a.6.6,0,0,0,.59-.589v-5.3C8.337,7.581,8.065,5.537,4.729,5.537ZM3.78,14.181a1.343,1.343,0,0,1-1.436-1.459c0-.91.777-1.522,1.932-1.522a4.726,4.726,0,0,1,1.7.3v1.556A2.983,2.983,0,0,1,3.78,14.181ZM18.6,13.194c.4.361.326.669.2.865a4.646,4.646,0,0,1-3.977,2.12,5.2,5.2,0,0,1-5.2-5.31,5.285,5.285,0,0,1,5.225-5.332,4.461,4.461,0,0,1,3.711,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.64.056-.806-.11A2.909,2.909,0,0,0,14.9,7.816,2.938,2.938,0,0,0,12,10.847,2.921,2.921,0,0,0,14.837,13.9a2.623,2.623,0,0,0,2.03-.965c.082-.081.161-.16.241-.233a.574.574,0,0,1,.819-.049Zm9.661,0c.4.361.326.669.2.865a4.644,4.644,0,0,1-3.976,2.12,5.2,5.2,0,0,1-5.2-5.31A5.286,5.286,0,0,1,24.5,5.537a4.459,4.459,0,0,1,3.71,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.641.056-.806-.11a2.779,2.779,0,0,0-4.869,2.073A2.92,2.92,0,0,0,24.5,13.9a2.625,2.625,0,0,0,2.03-.965c.081-.081.161-.16.241-.233a.573.573,0,0,1,.818-.049Zm5.86-7.657A5.323,5.323,0,1,0,39.3,10.826,5.317,5.317,0,0,0,34.117,5.537Zm2.838,5.289a2.857,2.857,0,1,1-5.7,0,2.853,2.853,0,1,1,5.7,0ZM49.346,6.341v9.012a.616.616,0,0,1-.612.589h-.517c-.34,0-.474-.245-.561-.485l-.2-.536a4.084,4.084,0,0,1-3.1,1.258c-3.388,0-3.823-2.5-3.823-4.685V6.341a.621.621,0,0,1,.59-.588h1.207a.6.6,0,0,1,.59.588v5.3c0,1.539.58,2.256,1.825,2.256a2.357,2.357,0,0,0,2.214-1.544l0-6.016c0-.544.349-.588.676-.588h1.1A.624.624,0,0,1,49.346,6.341Zm11.089,4.01v5a.605.605,0,0,1-.591.589H58.637a.6.6,0,0,1-.59-.589V10.265c0-1.579-.655-2.449-1.846-2.449a2.939,2.939,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.6.6,0,0,1-.59-.589V6.341a.6.6,0,0,1,.59-.588h.518a.5.5,0,0,1,.522.391l.235.67a4.691,4.691,0,0,1,3.3-1.277C59.134,5.537,60.435,7.111,60.435,10.351Zm8.048,4.379a.556.556,0,0,1-.283.721,6.126,6.126,0,0,1-2.822.728c-2.337,0-2.637-1.651-2.637-3.09V7.816H61.713a.6.6,0,0,1-.589-.59V6.341a.569.569,0,0,1,.589-.588h1.028V3.088a.59.59,0,0,1,.59-.59h1.228a.573.573,0,0,1,.568.59V5.753h2.515a.582.582,0,0,1,.59.588v.885a.613.613,0,0,1-.59.59H65.127V13c0,.828.323.9.683.9a3.241,3.241,0,0,0,1.536-.458.523.523,0,0,1,.431-.064.558.558,0,0,1,.317.335Zm7.869-1.576c0,1.5-1.262,3.025-3.672,3.025a5.927,5.927,0,0,1-3.343-1.033h0a.523.523,0,0,1-.208-.663l.452-.926a.494.494,0,0,1,.3-.254.635.635,0,0,1,.505.076l.032.017a4.485,4.485,0,0,0,2.389.7c.74,0,1.2-.328,1.2-.855,0-.58-.666-.985-2.066-1.618-1.435-.648-2.763-1.49-2.763-3.253,0-1.41,1.056-2.832,3.414-2.832a5.7,5.7,0,0,1,2.973.752.706.706,0,0,1,.256.882l-.344.689a.582.582,0,0,1-.8.247,5.057,5.057,0,0,0-2.087-.485c-.8,0-1.156.385-1.156.768,0,.546.574.9,1.633,1.361C75.052,10.588,76.352,11.279,76.352,13.154Z"}))},API:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 119.5 20",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,"api-text"),a.createElement("path",{fill:at,d:"M9.136.675H7.908a.621.621,0,0,0-.59.589V5.5a6.9,6.9,0,0,0-2.384-.469A5.013,5.013,0,0,0,.012,10.343c0,2.989,2.048,5.331,4.663,5.331a4.885,4.885,0,0,0,3.22-1.3l.16.543a.591.591,0,0,0,.564.519h.517a.6.6,0,0,0,.59-.59V1.264A.6.6,0,0,0,9.136.675ZM7.34,7.847v4.175A2.745,2.745,0,0,1,4.978,13.4,2.815,2.815,0,0,1,2.4,10.343a2.913,2.913,0,0,1,2.772-3.03A4.941,4.941,0,0,1,7.34,7.847Zm8.833-2.813A5.081,5.081,0,0,0,11.1,10.343a5.046,5.046,0,0,0,5.094,5.331,5.712,5.712,0,0,0,3.761-1.256.512.512,0,0,0,.064-.819l-.582-.906a.467.467,0,0,0-.3-.22.619.619,0,0,0-.45.147,3.737,3.737,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.755a.578.578,0,0,0,.566-.532c.023-.175.045-.524.045-.7A4.571,4.571,0,0,0,16.173,5.034ZM16.13,7.1a2.23,2.23,0,0,1,2.334,2.032H13.591A2.411,2.411,0,0,1,16.13,7.1ZM30.587,5.982l-4.3,9.366a.561.561,0,0,1-.515.326h-.129a.59.59,0,0,1-.534-.323l-4.31-9.373a.484.484,0,0,1-.024-.49.542.542,0,0,1,.493-.239h1.315a.543.543,0,0,1,.534.344l2.571,5.914,2.7-5.91c.161-.348.486-.348.773-.348h.97a.544.544,0,0,1,.494.239A.488.488,0,0,1,30.587,5.982Zm4.983-.948A5.081,5.081,0,0,0,30.5,10.343a5.045,5.045,0,0,0,5.094,5.331,5.706,5.706,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.582-.906a.467.467,0,0,0-.3-.22.616.616,0,0,0-.45.147,3.738,3.738,0,0,1-2.369.818,2.819,2.819,0,0,1-2.854-2.484h6.755a.58.58,0,0,0,.567-.532c.023-.175.044-.524.044-.7A4.57,4.57,0,0,0,35.57,5.034ZM35.527,7.1a2.23,2.23,0,0,1,2.334,2.032H32.988A2.413,2.413,0,0,1,35.527,7.1Zm8.426-5.833V14.847a.606.606,0,0,1-.59.59H42.156a.6.6,0,0,1-.59-.59V1.264a.606.606,0,0,1,.59-.589h1.207A.621.621,0,0,1,43.953,1.264Zm6.576,3.77a5.322,5.322,0,1,0,5.18,5.287A5.315,5.315,0,0,0,50.529,5.034Zm2.836,5.287a2.856,2.856,0,1,1-5.695,0,2.852,2.852,0,1,1,5.7,0Zm8.65-5.287a4.76,4.76,0,0,0-3.08,1.1l-.2-.487a.523.523,0,0,0-.539-.4h-.539a.606.606,0,0,0-.59.59V19.422a.6.6,0,0,0,.59.59h1.207a.58.58,0,0,0,.633-.59V15.066a5.6,5.6,0,0,0,2.427.608,5.075,5.075,0,0,0,4.9-5.331A5.026,5.026,0,0,0,62.015,5.034Zm2.427,5.309A2.9,2.9,0,0,1,61.648,13.4a4.112,4.112,0,0,1-2.19-.678v-4.1a2.628,2.628,0,0,1,2.277-1.3A2.787,2.787,0,0,1,64.442,10.343ZM72.73,5.034a5.081,5.081,0,0,0-5.073,5.309,5.046,5.046,0,0,0,5.095,5.331,5.711,5.711,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.583-.906a.463.463,0,0,0-.3-.22.61.61,0,0,0-.45.147,3.735,3.735,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.754a.577.577,0,0,0,.567-.532c.023-.178.045-.527.045-.7A4.57,4.57,0,0,0,72.73,5.034ZM72.687,7.1a2.23,2.23,0,0,1,2.334,2.032H70.147A2.413,2.413,0,0,1,72.687,7.1ZM85.434,5.6a.518.518,0,0,1,.009.524L84.926,7.2a.584.584,0,0,1-.334.323.543.543,0,0,1-.424-.032,2.366,2.366,0,0,0-.854-.181A2.734,2.734,0,0,0,81.08,8.561v6.286c0,.59-.485.59-.8.59h-.991a.6.6,0,0,1-.59-.59V5.839a.605.605,0,0,1,.59-.59H79.8a.576.576,0,0,1,.544.435l.213.688a3.921,3.921,0,0,1,2.971-1.338C84.277,5.034,85.17,5.183,85.434,5.6Zm11.8-5.4a.621.621,0,0,0-.469-.3h-.216a.62.62,0,0,0-.472.305l-6.615,14.5a.508.508,0,0,0,.02.5.517.517,0,0,0,.451.229h1.357a.652.652,0,0,0,.6-.392l1.284-2.884h6.9l1.306,2.884a.618.618,0,0,0,.6.392h1.358a.517.517,0,0,0,.451-.229.508.508,0,0,0,.021-.494Zm1.916,9.871H94.116l2.5-5.627ZM110.327.12h-4.913a.526.526,0,0,0-.526.525V14.912a.526.526,0,0,0,.526.525h1.4a.54.54,0,0,0,.525-.525V9.963h3.009A4.922,4.922,0,1,0,110.327.12Zm2.493,4.856a2.563,2.563,0,0,1-2.536,2.643H107.34V2.507h2.944A2.476,2.476,0,0,1,112.82,4.976ZM119.087.645V14.912a.54.54,0,0,1-.526.525h-1.422a.54.54,0,0,1-.525-.525V.645a.539.539,0,0,1,.525-.525h1.422A.539.539,0,0,1,119.087.645Z"}))},Calendar:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 73.83 20",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,"calendar-text"),a.createElement("path",{fill:at,d:"M9,12.56c.39.36.32.66.19.85a4.65,4.65,0,0,1-4,2.12A5.21,5.21,0,0,1,0,10.21,5.3,5.3,0,0,1,5.23,4.87,4.49,4.49,0,0,1,9,6.64a.6.6,0,0,1-.1.85l-.78.71c-.35.33-.61.07-.78-.11a3,3,0,0,0-2-1,3,3,0,0,0-2.94,3.06,3,3,0,0,0,2.87,3.09,2.63,2.63,0,0,0,2.05-1l.25-.23A.55.55,0,0,1,8.32,12Zm9.25-3.17v5.33a.59.59,0,0,1-.57.57H17c-.27,0-.4-.16-.5-.4l-.19-.54a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,9.91,12.1c0-2,1.61-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.44,1.44,0,0,0,14.43,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,11,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C18,4.87,18.25,6.92,18.25,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,15.91,12.42ZM22,.47H20.79a.6.6,0,0,0-.58.57V14.72a.59.59,0,0,0,.58.57H22a.59.59,0,0,0,.57-.57V1A.61.61,0,0,0,22,.47ZM33.75,9.56c0,.18,0,.53,0,.71a.57.57,0,0,1-.55.52H26.35a2.84,2.84,0,0,0,2.89,2.53,3.84,3.84,0,0,0,2.39-.82.57.57,0,0,1,.43-.15.45.45,0,0,1,.29.21l.58.92a.48.48,0,0,1-.06.79,5.67,5.67,0,0,1-3.76,1.26A5.05,5.05,0,0,1,24,10.19a5.1,5.1,0,0,1,5.08-5.32A4.58,4.58,0,0,1,33.75,9.56ZM26.46,9h4.95A2.27,2.27,0,0,0,29,6.91,2.45,2.45,0,0,0,26.46,9Zm13.8-4.12a4.72,4.72,0,0,0-3.32,1.3l-.24-.7a.48.48,0,0,0-.51-.38h-.52a.59.59,0,0,0-.57.57v9.06a.58.58,0,0,0,.57.57h1.11c.45,0,.68-.19.68-.57V8.5A3,3,0,0,1,40,7.13c1.21,0,1.88.88,1.88,2.48v5.11a.58.58,0,0,0,.57.57h1.21a.6.6,0,0,0,.58-.57v-5C44.24,6.45,42.94,4.87,40.26,4.87ZM55.29,1V14.72a.58.58,0,0,1-.57.57H54.2a.57.57,0,0,1-.55-.5l-.17-.58a4.89,4.89,0,0,1-3.24,1.32c-2.62,0-4.67-2.34-4.67-5.34A5,5,0,0,1,50.5,4.87a6.85,6.85,0,0,1,2.39.48h0V1a.61.61,0,0,1,.58-.57h1.23A.59.59,0,0,1,55.29,1ZM52.93,11.88V7.67a5,5,0,0,0-2.19-.54,2.94,2.94,0,0,0-2.81,3.06,2.85,2.85,0,0,0,2.61,3.09A2.76,2.76,0,0,0,52.93,11.88Zm12-2.49v5.33a.59.59,0,0,1-.57.57h-.72c-.27,0-.39-.16-.5-.4L63,14.35a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,56.6,12.1c0-2,1.62-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.42,1.42,0,0,0,61.12,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,57.67,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C64.67,4.87,64.94,6.92,64.94,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,62.6,12.42Zm11-7c-.26-.42-1.18-.57-1.9-.57a4,4,0,0,0-3,1.37l-.23-.73A.56.56,0,0,0,68,5.09h-.52a.59.59,0,0,0-.58.57v9.06a.58.58,0,0,0,.58.57h1c.32,0,.79,0,.79-.57V8.4A2.77,2.77,0,0,1,71.5,7.13a2.47,2.47,0,0,1,.86.18.5.5,0,0,0,.41,0A.56.56,0,0,0,73.1,7l.52-1.09A.48.48,0,0,0,73.61,5.44Z"}))},CheckIns:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 79.311 20",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,"check-ins-text"),a.createElement("path",{fill:at,d:"M40.221,13.213c.4.362.326.669.2.866A4.646,4.646,0,0,1,36.44,16.2a5.2,5.2,0,0,1-5.2-5.311,5.286,5.286,0,0,1,5.225-5.331,4.462,4.462,0,0,1,3.711,1.768.605.605,0,0,1-.1.869L39.3,8.9c-.362.333-.64.055-.806-.109a2.9,2.9,0,0,0-1.967-.959,2.937,2.937,0,0,0-2.9,3.031,2.92,2.92,0,0,0,2.837,3.054,2.62,2.62,0,0,0,2.03-.965c.082-.081.162-.16.242-.234a.572.572,0,0,1,.818-.049h0Zm-9.679-2.971c0,.178-.022.526-.044.7a.579.579,0,0,1-.567.531H23.174a2.82,2.82,0,0,0,2.855,2.485,3.736,3.736,0,0,0,2.369-.818.609.609,0,0,1,.45-.147.459.459,0,0,1,.3.219l.583.907a.513.513,0,0,1-.065.819A5.708,5.708,0,0,1,25.9,16.2a5.046,5.046,0,0,1-5.1-5.332,5.081,5.081,0,0,1,5.074-5.31A4.572,4.572,0,0,1,30.542,10.242ZM23.3,9.653h4.874A2.23,2.23,0,0,0,25.835,7.62,2.412,2.412,0,0,0,23.3,9.653Zm-7.751-4.1a4.789,4.789,0,0,0-2.773.924V2.339a.621.621,0,0,0-.59-.588H10.974a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589H12.16a.575.575,0,0,0,.611-.589V9.193a2.871,2.871,0,0,1,2.493-1.357c1.2,0,1.867.884,1.867,2.492v5.045a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C19.518,7.221,18.144,5.557,15.544,5.557ZM8.315,12.674h0a.573.573,0,0,0-.818.049c-.08.074-.16.154-.242.235a2.624,2.624,0,0,1-2.029.964,2.92,2.92,0,0,1-2.838-3.054,2.938,2.938,0,0,1,2.9-3.031A2.906,2.906,0,0,1,7.257,8.8c.166.164.444.442.8.109l.775-.71a.6.6,0,0,0,.1-.869A4.464,4.464,0,0,0,5.225,5.557,5.285,5.285,0,0,0,0,10.888,5.2,5.2,0,0,0,5.2,16.2a4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM55.084,9.566h-4.1a.514.514,0,0,0-.525.525v.926a.51.51,0,0,0,.525.5h4.1a.51.51,0,0,0,.526-.5v-.926A.514.514,0,0,0,55.084,9.566Zm20.945.2C74.97,9.308,74.4,8.955,74.4,8.41c0-.383.357-.769,1.156-.769a5.059,5.059,0,0,1,2.087.486.581.581,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.882,5.705,5.705,0,0,0-2.973-.751c-2.358,0-3.413,1.422-3.413,2.831,0,1.764,1.327,2.606,2.762,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.39-.7l-.031-.018a.629.629,0,0,0-.506-.075.494.494,0,0,0-.3.254l-.452.926a.523.523,0,0,0,.21.664A5.935,5.935,0,0,0,75.639,16.2c2.41,0,3.672-1.522,3.672-3.025C79.311,11.3,78.011,10.609,76.029,9.769Zm-9.2-4.212a4.687,4.687,0,0,0-3.3,1.277l-.235-.67a.5.5,0,0,0-.522-.392h-.517a.605.605,0,0,0-.591.59v9.011a.591.591,0,0,0,.591.589h1.1c.469,0,.7-.193.7-.589V9.19A2.934,2.934,0,0,1,66.57,7.836c1.191,0,1.846.87,1.846,2.45v5.087a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C70.8,7.131,69.5,5.557,66.829,5.557Zm-8.3-4.275a1.543,1.543,0,0,0-1.538,1.581,1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm-12.215,9.1,3.949-3.716a.548.548,0,0,0,.14-.588.484.484,0,0,0-.476-.3H48.355a1.063,1.063,0,0,0-.7.331L44.008,9.4V2.339a.62.62,0,0,0-.59-.588H42.211a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V11.329l3.783,4.4a.711.711,0,0,0,.542.237H50.1a.468.468,0,0,0,.461-.256.561.561,0,0,0-.094-.582ZM59.135,5.772H57.928a.605.605,0,0,0-.59.59v9.011a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V6.362A.621.621,0,0,0,59.135,5.772Z"}))},ChurchCenter:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 118.083 20",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,"church-center-text"),a.createElement("path",{fill:at,d:"M5.188,16.2A5.187,5.187,0,0,1,0,10.908,5.27,5.27,0,0,1,5.209,5.591a4.453,4.453,0,0,1,3.7,1.762.588.588,0,0,1-.1.844l-.776.712c-.346.319-.607.062-.779-.109a2.93,2.93,0,0,0-1.983-.966A2.959,2.959,0,0,0,2.35,10.887a2.942,2.942,0,0,0,2.859,3.076,2.642,2.642,0,0,0,2.045-.971c.082-.081.162-.16.242-.234a.552.552,0,0,1,.794-.047l.669.539c.388.352.318.651.193.841A4.629,4.629,0,0,1,5.188,16.2ZM19.5,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.788,4.788,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H10.964a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572H12.15a.558.558,0,0,0,.593-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,19.5,15.4Zm8.7-.468.2.566c.09.246.218.474.544.474h.518a.6.6,0,0,0,.592-.572V6.378a.612.612,0,0,0-.592-.57h-1.1c-.332,0-.657.044-.657.57l0,6.023a2.38,2.38,0,0,1-2.236,1.562c-1.259,0-1.845-.723-1.845-2.277V6.378a.585.585,0,0,0-.571-.57H21.843a.6.6,0,0,0-.57.57v5.156c0,2.175.433,4.67,3.807,4.67A4.06,4.06,0,0,0,28.193,14.928Zm6.2.468V9.1A2.755,2.755,0,0,1,36.65,7.834a2.382,2.382,0,0,1,.863.184.53.53,0,0,0,.41.032.571.571,0,0,0,.324-.315l.518-1.077a.5.5,0,0,0-.009-.507c-.259-.413-1.18-.56-1.89-.56a3.975,3.975,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C33.922,15.968,34.4,15.968,34.4,15.4Zm13.35-1.305c.125-.19.2-.489-.193-.841l-.669-.539a.552.552,0,0,0-.794.047c-.08.074-.16.153-.242.234a2.642,2.642,0,0,1-2.044.971,2.942,2.942,0,0,1-2.86-3.076,2.959,2.959,0,0,1,2.924-3.053A2.93,2.93,0,0,1,45.85,8.8c.172.171.433.428.779.109l.776-.712a.588.588,0,0,0,.1-.844,4.452,4.452,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,47.745,14.091ZM58.089,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.79,4.79,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H49.557a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.187a.557.557,0,0,0,.592-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,58.089,15.4Zm12.926-1.305c.126-.19.2-.489-.192-.841l-.669-.539a.553.553,0,0,0-.8.047c-.08.074-.159.153-.242.234a2.64,2.64,0,0,1-2.044.971,2.941,2.941,0,0,1-2.859-3.076A2.8,2.8,0,0,1,69.121,8.8c.171.171.433.428.778.109l.777-.712a.587.587,0,0,0,.1-.844,4.449,4.449,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,71.015,14.091Zm10.247-3.83c0,.177-.022.525-.044.7a.562.562,0,0,1-.549.516H73.887a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.436-.143.447.447,0,0,1,.283.212l.584.907a.492.492,0,0,1-.063.794A5.7,5.7,0,0,1,76.634,16.2a5.031,5.031,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.558,4.558,0,0,1,81.262,10.261Zm-2.335-.57a2.251,2.251,0,0,0-2.358-2.073,2.433,2.433,0,0,0-2.564,2.073ZM91.707,15.4V10.391c0-3.23-1.3-4.8-3.959-4.8a4.657,4.657,0,0,0-3.306,1.3l-.246-.7a.479.479,0,0,0-.5-.376h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.1c.457,0,.679-.187.679-.572V9.2a2.96,2.96,0,0,1,2.536-1.37c1.2,0,1.867.877,1.867,2.471V15.4a.58.58,0,0,0,.571.572h1.208A.594.594,0,0,0,91.707,15.4Zm7.779.081a.538.538,0,0,0,.277-.7l-.389-1.014a.537.537,0,0,0-.306-.325.493.493,0,0,0-.415.061,3.249,3.249,0,0,1-1.548.462c-.445,0-.7-.15-.7-.918V7.834h2.536a.594.594,0,0,0,.571-.571V6.378a.564.564,0,0,0-.571-.57H96.4V3.12a.555.555,0,0,0-.549-.571h-1.23a.579.579,0,0,0-.571.571V5.808H93.005a.552.552,0,0,0-.571.57v.885a.579.579,0,0,0,.571.571h1.048v5.3c0,1.431.3,3.073,2.62,3.073A6.067,6.067,0,0,0,99.486,15.477Zm10.11-5.216c0,.177-.022.525-.044.7a.561.561,0,0,1-.549.516h-6.782a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.437-.143.446.446,0,0,1,.282.212l.584.907a.491.491,0,0,1-.063.794,5.7,5.7,0,0,1-3.752,1.252,5.032,5.032,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.557,4.557,0,0,1,109.6,10.261Zm-2.335-.57A2.25,2.25,0,0,0,104.9,7.618a2.434,2.434,0,0,0-2.565,2.073Zm6.026,5.705V9.1a2.755,2.755,0,0,1,2.255-1.265,2.388,2.388,0,0,1,.864.184.528.528,0,0,0,.409.032.568.568,0,0,0,.324-.315l.519-1.077a.5.5,0,0,0-.009-.507c-.26-.413-1.181-.56-1.891-.56a3.977,3.977,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C112.814,15.968,113.287,15.968,113.287,15.4Z"}))},Giving:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 50.486 20",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,"giving-text"),a.createElement("path",{fill:at,d:"M9.17,5.089H8.588c-.335,0-.42.255-.474.416l-.2.473a4.791,4.791,0,0,0-3.1-1.1A5.026,5.026,0,0,0,0,10.184a5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.089Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.973,2.973,0,0,1-2.8-3.054A2.82,2.82,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.467Zm6.745-2.788v9.01a.6.6,0,0,1-.59.589H12.321a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,14.118,5.679Zm.388-3.508A1.572,1.572,0,0,1,12.924,3.73a1.532,1.532,0,0,1-1.538-1.559A1.543,1.543,0,0,1,12.924.59,1.564,1.564,0,0,1,14.506,2.171Zm10.3,3.156a.49.49,0,0,1-.027.5l-4.307,9.367a.558.558,0,0,1-.514.327h-.13a.6.6,0,0,1-.534-.323L14.984,5.817a.487.487,0,0,1-.025-.49.545.545,0,0,1,.494-.238h1.315a.547.547,0,0,1,.535.344l2.572,5.917,2.7-5.913c.16-.348.486-.348.773-.348h.97A.545.545,0,0,1,24.807,5.327Zm3.249.352v9.01a.6.6,0,0,1-.59.589H26.259a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,28.056,5.679Zm.388-3.508A1.572,1.572,0,0,1,26.863,3.73a1.532,1.532,0,0,1-1.539-1.559A1.544,1.544,0,0,1,26.863.59,1.564,1.564,0,0,1,28.444,2.171Zm10.69,7.517v5a.6.6,0,0,1-.59.589H37.337a.59.59,0,0,1-.59-.589V9.6c0-1.581-.655-2.451-1.846-2.451a2.938,2.938,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h.517a.5.5,0,0,1,.522.391l.235.67a4.692,4.692,0,0,1,3.3-1.276C37.834,4.874,39.134,6.448,39.134,9.688Zm10.456-4.6h-.582c-.336,0-.42.255-.473.416l-.2.473a4.777,4.777,0,0,0-3.1-1.1,5.026,5.026,0,0,0-4.815,5.31,5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,45.451,20a4.407,4.407,0,0,0,4.729-4.771V5.679A.605.605,0,0,0,49.59,5.089Zm-1.8,7.409a3.944,3.944,0,0,1-2.19.74,2.973,2.973,0,0,1-2.795-3.054,2.693,2.693,0,0,1,4.985-1.717Z"}))},Home:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",xmlns:"http://www.w3.org/2000/svg",height:e,viewBox:"0 0 47.624 20"},a.createElement("title",null,"home-text"),a.createElement("path",{fill:at,d:"M8.952,9.7V14.69a.584.584,0,0,1-.553.57H7.229a.57.57,0,0,1-.553-.57V9.658c0-1.616-.649-2.506-1.827-2.506A2.791,2.791,0,0,0,2.414,8.52v6.17a.547.547,0,0,1-.573.57H.692a.569.569,0,0,1-.553-.57v-13a.583.583,0,0,1,.553-.569H1.861a.6.6,0,0,1,.553.569V5.857a4.544,4.544,0,0,1,2.706-.94C7.627,4.917,8.952,6.571,8.952,9.7Zm11.261.473a5.239,5.239,0,0,1-5,5.322,5.185,5.185,0,0,1-5.022-5.322A5.213,5.213,0,0,1,15.21,4.917,5.2,5.2,0,0,1,20.213,10.174Zm-2.234,0a2.789,2.789,0,1,0-5.558,0,2.884,2.884,0,0,0,2.789,3.087A2.876,2.876,0,0,0,17.979,10.174Zm14.59-5.257a4.475,4.475,0,0,0-3.248,1.519,3.34,3.34,0,0,0-2.956-1.519,4.128,4.128,0,0,0-3.031,1.289L23.111,5.5a.487.487,0,0,0-.506-.367h-.48a.584.584,0,0,0-.553.569V14.69a.57.57,0,0,0,.553.57h1.169a.577.577,0,0,0,.553-.57V8.512a2.367,2.367,0,0,1,2.184-1.36c1.216,0,1.808.806,1.808,2.463V14.69a.555.555,0,0,0,.552.57h1.191a.559.559,0,0,0,.532-.57V9.551a10.249,10.249,0,0,0-.077-1.3l.06-.064a2.793,2.793,0,0,1,2.159-1.034c1.2,0,1.807.829,1.807,2.463V14.69a.538.538,0,0,0,.553.57h1.17a.549.549,0,0,0,.553-.57V9.7C36.339,7.647,35.948,4.917,32.569,4.917ZM47.042,9.572c0,.176-.021.523-.043.7a.549.549,0,0,1-.531.514H39.9A2.778,2.778,0,0,0,42.687,13.3a3.573,3.573,0,0,0,2.306-.82.6.6,0,0,1,.422-.144.431.431,0,0,1,.274.211l.566.9a.5.5,0,0,1-.061.791A5.416,5.416,0,0,1,42.562,15.5c-2.85,0-4.919-2.229-4.919-5.3a4.988,4.988,0,0,1,4.9-5.279A4.479,4.479,0,0,1,47.042,9.572ZM40.016,9h4.765A2.2,2.2,0,0,0,42.5,6.937,2.375,2.375,0,0,0,40.016,9Z"}))},Groups:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 58.688 20",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,"groups-text"),a.createElement("path",{fill:at,d:"M9.17,5.09H8.588c-.335,0-.42.255-.474.416l-.2.472a4.791,4.791,0,0,0-3.1-1.1A5.027,5.027,0,0,0,0,10.185a5.085,5.085,0,0,0,4.923,5.332,5.465,5.465,0,0,0,2.428-.63v.342c0,2.113-1.285,2.557-2.363,2.557a3.631,3.631,0,0,1-2.259-.9.568.568,0,0,0-.473-.115.556.556,0,0,0-.366.3l-.516.947a.574.574,0,0,0,.126.7A5.487,5.487,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.09Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.972,2.972,0,0,1-2.8-3.053A2.821,2.821,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.468Zm11.092-2.5-.517,1.077a.588.588,0,0,1-.335.323.535.535,0,0,1-.424-.032,2.351,2.351,0,0,0-.854-.183A2.738,2.738,0,0,0,14.1,8.4v6.288c0,.59-.485.59-.806.59H12.3a.6.6,0,0,1-.59-.59V5.679a.6.6,0,0,1,.59-.589h.517a.574.574,0,0,1,.544.434l.213.688A3.931,3.931,0,0,1,16.55,4.874c.749,0,1.642.149,1.9.568A.517.517,0,0,1,18.465,5.967Zm4.994-1.093a5.323,5.323,0,0,0,0,10.643,5.323,5.323,0,0,0,0-10.643Zm0,8.364A2.907,2.907,0,0,1,20.6,10.163a2.852,2.852,0,1,1,5.7,0A2.9,2.9,0,0,1,23.459,13.238ZM38.688,5.679v9.01a.616.616,0,0,1-.611.59H37.56c-.34,0-.475-.246-.561-.486l-.2-.535a4.082,4.082,0,0,1-3.1,1.259c-3.389,0-3.824-2.5-3.824-4.686V5.679a.621.621,0,0,1,.59-.589h1.207a.605.605,0,0,1,.591.589v5.3c0,1.539.579,2.256,1.824,2.256A2.356,2.356,0,0,0,36.3,11.694l0-6.015c0-.544.334-.589.677-.589h1.1A.632.632,0,0,1,38.688,5.679Zm6.9-.805a4.752,4.752,0,0,0-3.081,1.1l-.2-.488a.523.523,0,0,0-.54-.4h-.538a.6.6,0,0,0-.59.589V19.266a.6.6,0,0,0,.59.589H42.44a.58.58,0,0,0,.633-.589V14.909a5.612,5.612,0,0,0,2.428.608,5.075,5.075,0,0,0,4.9-5.332A5.027,5.027,0,0,0,45.587,4.874ZM43.029,8.457a2.633,2.633,0,0,1,2.278-1.305,2.789,2.789,0,0,1,2.708,3.033,2.9,2.9,0,0,1-2.794,3.053,4.131,4.131,0,0,1-2.192-.676Zm15.349,4.034c0,1.5-1.262,3.026-3.672,3.026a5.921,5.921,0,0,1-3.343-1.034h0a.522.522,0,0,1-.208-.663l.452-.925a.493.493,0,0,1,.3-.254.633.633,0,0,1,.5.075l.037.02a4.488,4.488,0,0,0,2.384.7c.74,0,1.2-.329,1.2-.856,0-.581-.666-.985-2.066-1.619-1.435-.646-2.763-1.487-2.763-3.252,0-1.41,1.056-2.832,3.414-2.832a5.71,5.71,0,0,1,2.973.752.705.705,0,0,1,.256.881L57.5,7.2a.58.58,0,0,1-.8.248,5.043,5.043,0,0,0-2.087-.485c-.8,0-1.156.386-1.156.768,0,.545.574.9,1.633,1.361C57.078,9.926,58.378,10.616,58.378,12.491Z"}))},People:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",height:e,viewBox:"0 0 57.729 20",xmlns:"http://www.w3.org/2000/svg"},a.createElement("title",null,"people-text"),a.createElement("path",{fill:at,d:"M4.944,5.019a4.754,4.754,0,0,0-3.08,1.1l-.2-.487a.521.521,0,0,0-.539-.4H.59A.606.606,0,0,0,0,5.823V19.41A.6.6,0,0,0,.59,20H1.8a.58.58,0,0,0,.633-.59V15.053a5.593,5.593,0,0,0,2.428.607,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,4.944,5.019ZM2.387,8.6A2.63,2.63,0,0,1,4.665,7.3a2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.795,3.054,4.109,4.109,0,0,1-2.191-.678ZM15.663,5.019a5.083,5.083,0,0,0-5.075,5.31,5.046,5.046,0,0,0,5.1,5.331A5.707,5.707,0,0,0,19.445,14.4a.511.511,0,0,0,.065-.818l-.583-.907a.459.459,0,0,0-.295-.22.609.609,0,0,0-.45.147,3.735,3.735,0,0,1-2.369.82,2.819,2.819,0,0,1-2.854-2.487h6.756a.578.578,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,15.663,5.019Zm-2.583,4.1a2.411,2.411,0,0,1,2.539-2.033,2.231,2.231,0,0,1,2.335,2.033Zm13.145-4.1a5.322,5.322,0,0,0,0,10.641,5.322,5.322,0,0,0,0-10.641Zm2.837,5.289a2.856,2.856,0,1,1-5.7,0,2.852,2.852,0,1,1,5.7,0Zm8.653-5.289a4.758,4.758,0,0,0-3.081,1.1l-.2-.487a.522.522,0,0,0-.54-.4h-.538a.606.606,0,0,0-.591.589V19.41a.592.592,0,0,0,.591.59h1.207a.58.58,0,0,0,.633-.59V15.05a5.541,5.541,0,0,0,2.428.61,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,37.715,5.019ZM35.158,8.6a2.629,2.629,0,0,1,2.277-1.3,2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.794,3.054,4.109,4.109,0,0,1-2.191-.678ZM46.324,1.247V14.834a.606.606,0,0,1-.59.59H44.527a.6.6,0,0,1-.59-.59V1.247a.6.6,0,0,1,.59-.589h1.207A.621.621,0,0,1,46.324,1.247Zm6.459,3.772a5.083,5.083,0,0,0-5.075,5.31,5.047,5.047,0,0,0,5.1,5.331A5.713,5.713,0,0,0,56.566,14.4a.511.511,0,0,0,.064-.818l-.583-.907a.459.459,0,0,0-.295-.22.6.6,0,0,0-.449.147,3.739,3.739,0,0,1-2.369.82,2.821,2.821,0,0,1-2.855-2.487h6.756a.577.577,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,52.783,5.019ZM52.74,7.081a2.231,2.231,0,0,1,2.334,2.033H50.2A2.412,2.412,0,0,1,52.74,7.081Z"}))},Publishing:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",xmlns:"http://www.w3.org/2000/svg",height:e,viewBox:"0 0 84.973 20"},a.createElement("title",null,"publishing-text"),a.createElement("path",{d:"M4.905,5.03A4.709,4.709,0,0,0,1.829,6.141l-.2-.511a.5.5,0,0,0-.52-.385H.568A.59.59,0,0,0,0,5.812V19.374a.575.575,0,0,0,.568.568h1.2a.559.559,0,0,0,.611-.568v-4.4a5.573,5.573,0,0,0,2.437.618A5.036,5.036,0,0,0,9.681,10.3,4.988,4.988,0,0,0,4.905,5.03ZM2.338,8.575A2.642,2.642,0,0,1,4.626,7.261,2.8,2.8,0,0,1,7.343,10.3a2.908,2.908,0,0,1-2.8,3.06,4.117,4.117,0,0,1-2.2-.684Zm17.4-2.763v8.974a.6.6,0,0,1-.59.569h-.515c-.326,0-.456-.238-.541-.472l-.2-.562a4.046,4.046,0,0,1-3.1,1.27c-3.358,0-3.788-2.484-3.788-4.647V5.812a.606.606,0,0,1,.568-.567h1.2a.59.59,0,0,1,.568.567v5.282c0,1.546.584,2.266,1.837,2.266A2.368,2.368,0,0,0,17.4,11.806V5.812c0-.524.323-.567.654-.567h1.094A.609.609,0,0,1,19.737,5.812Zm6.74-.782A6.836,6.836,0,0,0,24.1,5.5l-.018.006V1.246a.606.606,0,0,0-.568-.567H22.29a.583.583,0,0,0-.568.567v13.54a.576.576,0,0,0,.568.569h.516a.569.569,0,0,0,.542-.5l.17-.576a4.845,4.845,0,0,0,3.217,1.31c2.6,0,4.711-2.374,4.711-5.291A5.071,5.071,0,0,0,26.477,5.03ZM24.061,7.76a5.243,5.243,0,0,1,2.18-.5A3,3,0,0,1,29.107,10.3a2.9,2.9,0,0,1-2.694,3.06A2.761,2.761,0,0,1,24.061,12ZM35.225,1.246v13.54a.591.591,0,0,1-.568.569h-1.2a.576.576,0,0,1-.569-.569V1.246a.59.59,0,0,1,.569-.567h1.2A.606.606,0,0,1,35.225,1.246Zm4.349,4.566v8.974a.591.591,0,0,1-.568.569H37.8a.576.576,0,0,1-.568-.569V5.812a.582.582,0,0,1,.568-.567h1.2A.606.606,0,0,1,39.574,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.508,1.508,0,0,1-1.513-1.534A1.519,1.519,0,0,1,38.405.679,1.539,1.539,0,0,1,39.961,2.235ZM48.143,12.6c0,1.488-1.25,2.994-3.638,2.994a5.875,5.875,0,0,1-3.318-1.026h0a.5.5,0,0,1-.2-.636l.45-.922a.47.47,0,0,1,.291-.243.613.613,0,0,1,.487.073l.036.02a4.489,4.489,0,0,0,2.385.7c.737,0,1.214-.342,1.214-.871,0-.589-.667-.994-2.069-1.629-1.423-.642-2.74-1.476-2.74-3.222,0-1.394,1.045-2.8,3.38-2.8a5.67,5.67,0,0,1,2.951.745.684.684,0,0,1,.248.853l-.343.687a.56.56,0,0,1-.769.238,5.05,5.05,0,0,0-2.087-.485c-.808,0-1.17.394-1.17.784,0,.554.575.91,1.638,1.372C46.853,10.057,48.143,10.742,48.143,12.6ZM58.461,9.805v4.981a.592.592,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.763c0-1.614-.668-2.5-1.879-2.5a2.881,2.881,0,0,0-2.5,1.366v6.159a.554.554,0,0,1-.589.569H49.97a.576.576,0,0,1-.568-.569V1.246A.582.582,0,0,1,49.97.679h1.2a.606.606,0,0,1,.567.567V5.967a4.766,4.766,0,0,1,2.782-.937C57.1,5.03,58.461,6.681,58.461,9.805Zm4.2-3.993v8.974a.59.59,0,0,1-.567.569h-1.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h1.2A.606.606,0,0,1,62.657,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.507,1.507,0,0,1-1.512-1.534A1.518,1.518,0,0,1,61.488.679,1.539,1.539,0,0,1,63.044,2.235Zm10.647,7.57v4.981a.591.591,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.72c0-1.586-.66-2.459-1.858-2.459a2.944,2.944,0,0,0-2.523,1.364v6.161c0,.383-.221.569-.676.569H65.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h.516a.474.474,0,0,1,.5.375l.245.7a4.64,4.64,0,0,1,3.29-1.288C72.4,5.03,73.691,6.592,73.691,9.805Zm10.432-4.56h-.579c-.32,0-.4.236-.454.4l-.2.5a4.737,4.737,0,0,0-3.1-1.112A4.988,4.988,0,0,0,75.01,10.3a5.046,5.046,0,0,0,4.884,5.291,5.429,5.429,0,0,0,2.437-.64v.372c0,2.121-1.29,2.566-2.373,2.566a3.629,3.629,0,0,1-2.261-.9.547.547,0,0,0-.456-.111.535.535,0,0,0-.352.292l-.514.944a.551.551,0,0,0,.123.673A5.444,5.444,0,0,0,80,20.056a4.371,4.371,0,0,0,4.69-4.733V5.812A.582.582,0,0,0,84.123,5.245ZM80.151,13.36a2.979,2.979,0,0,1-2.8-3.06,2.7,2.7,0,0,1,5-1.715v4.029A3.973,3.973,0,0,1,80.151,13.36Z",fill:at}))},Registrations:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",xmlns:"http://www.w3.org/2000/svg",height:e,viewBox:"0 0 105.758 20"},a.createElement("title",null,"registrations-text"),a.createElement("path",{fill:at,d:"M6.751,5.966,6.234,7.043a.589.589,0,0,1-.336.324.545.545,0,0,1-.423-.033,2.375,2.375,0,0,0-.854-.182A2.74,2.74,0,0,0,2.387,8.4v6.288c0,.59-.485.59-.8.59H.59a.6.6,0,0,1-.59-.59V5.679A.6.6,0,0,1,.59,5.09h.517a.574.574,0,0,1,.544.433l.212.685A4,4,0,0,1,4.836,4.874c.749,0,1.643.148,1.9.567A.517.517,0,0,1,6.751,5.966Zm9.583,3.593c0,.181-.022.53-.044.705a.578.578,0,0,1-.567.531H8.966a2.82,2.82,0,0,0,2.855,2.486,3.74,3.74,0,0,0,2.369-.819.608.608,0,0,1,.45-.148.465.465,0,0,1,.295.22l.583.907a.513.513,0,0,1-.065.819,5.708,5.708,0,0,1-3.762,1.256,5.046,5.046,0,0,1-5.1-5.331A5.083,5.083,0,0,1,11.67,4.874,4.572,4.572,0,0,1,16.334,9.559ZM11.627,6.937A2.411,2.411,0,0,0,9.087,8.97h4.874A2.23,2.23,0,0,0,11.627,6.937ZM26.8,5.679v9.55A4.407,4.407,0,0,1,22.071,20a5.486,5.486,0,0,1-3.53-1.284.564.564,0,0,1-.127-.7l.516-.948a.555.555,0,0,1,.365-.3.561.561,0,0,1,.474.114,3.622,3.622,0,0,0,2.259.905c1.078,0,2.364-.444,2.364-2.557v-.342a5.472,5.472,0,0,1-2.429.629,5.084,5.084,0,0,1-4.922-5.331,5.027,5.027,0,0,1,4.814-5.311,4.777,4.777,0,0,1,3.1,1.1l.2-.473c.053-.161.138-.415.473-.415h.582A.6.6,0,0,1,26.8,5.679ZM22.136,7.152a2.821,2.821,0,0,0-2.708,3.033,2.972,2.972,0,0,0,2.794,3.053,3.948,3.948,0,0,0,2.191-.74V8.468A2.834,2.834,0,0,0,22.136,7.152ZM29.965.6a1.544,1.544,0,0,0-1.538,1.582A1.55,1.55,0,0,0,29.965,3.74a1.571,1.571,0,1,0,0-3.141Zm.6,4.491H29.361a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59h1.208a.6.6,0,0,0,.589-.59V5.679A.62.62,0,0,0,30.569,5.09Zm5.91,4c-1.059-.462-1.632-.815-1.632-1.36,0-.383.357-.769,1.155-.769a5.048,5.048,0,0,1,2.088.486.582.582,0,0,0,.8-.248l.345-.689a.709.709,0,0,0-.256-.882A5.713,5.713,0,0,0,36,4.874c-2.357,0-3.413,1.422-3.413,2.831,0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.065,1.038,2.065,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.387-.7l-.034-.018a.644.644,0,0,0-.5-.076.494.494,0,0,0-.3.254l-.452.925a.517.517,0,0,0,.208.663h0a5.917,5.917,0,0,0,3.342,1.034c2.411,0,3.672-1.522,3.672-3.025C39.761,10.617,38.461,9.926,36.479,9.087Zm10.558,3.964a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H44.071V2.424a.574.574,0,0,0-.569-.59H42.273a.59.59,0,0,0-.589.59V5.09H40.657a.57.57,0,0,0-.59.589v.883a.59.59,0,0,0,.59.59h1.027v5.274c0,1.438.3,3.09,2.637,3.09a6.116,6.116,0,0,0,2.822-.729.556.556,0,0,0,.283-.721Zm8.023-7.61c-.263-.419-1.156-.567-1.905-.567a4,4,0,0,0-2.973,1.335l-.212-.686a.574.574,0,0,0-.544-.433h-.517a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59H49.9c.321,0,.806,0,.806-.59V8.4A2.738,2.738,0,0,1,52.94,7.152a2.369,2.369,0,0,1,.853.182.548.548,0,0,0,.424.033.6.6,0,0,0,.336-.324l.517-1.077A.517.517,0,0,0,55.06,5.441Zm8.351,3.946v5.3a.605.605,0,0,1-.59.59H62.11c-.284,0-.412-.166-.516-.416l-.181-.509A4.386,4.386,0,0,1,58.4,15.516a3.2,3.2,0,0,1-3.328-3.435c0-2.021,1.611-3.327,4.1-3.327a7.7,7.7,0,0,1,1.892.265,2.3,2.3,0,0,0-.417-1.668A1.414,1.414,0,0,0,59.588,7a10.1,10.1,0,0,0-2.749.47.577.577,0,0,1-.7-.494l-.194-.82a.566.566,0,0,1,.4-.717A10.865,10.865,0,0,1,59.8,4.874C63.14,4.874,63.411,6.918,63.411,9.387Zm-4.06,1.149c-1.174,0-1.933.6-1.933,1.524a1.343,1.343,0,0,0,1.436,1.458,2.987,2.987,0,0,0,2.191-1.125V10.835A4.853,4.853,0,0,0,59.351,10.536Zm11.773,2.515a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H68.158V2.424a.574.574,0,0,0-.569-.59H66.36a.591.591,0,0,0-.59.59V5.09H64.744a.57.57,0,0,0-.59.589v.883a.591.591,0,0,0,.59.59H65.77v5.274c0,1.438.3,3.09,2.638,3.09a6.107,6.107,0,0,0,2.821-.729.556.556,0,0,0,.284-.721ZM74.2,5.09H72.994a.605.605,0,0,0-.591.589v9.01a.591.591,0,0,0,.591.59H74.2a.605.605,0,0,0,.59-.59V5.679A.621.621,0,0,0,74.2,5.09ZM73.6.6a1.543,1.543,0,0,0-1.538,1.582A1.55,1.55,0,0,0,73.6,3.74,1.571,1.571,0,1,0,73.6.6Zm12.869,9.563a5.341,5.341,0,0,1-5.182,5.354,5.323,5.323,0,1,1,5.182-5.354Zm-2.344,0a2.853,2.853,0,1,0-5.7,0,2.857,2.857,0,1,0,5.7,0Zm8.867-5.288a4.7,4.7,0,0,0-3.3,1.277l-.235-.671a.5.5,0,0,0-.522-.39h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h1.1c.469,0,.7-.192.7-.59V8.507A2.939,2.939,0,0,1,92.73,7.152c1.191,0,1.847.87,1.847,2.451v5.086a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59v-5C96.964,6.448,95.664,4.874,92.989,4.874Zm9.2,4.213c-1.059-.462-1.633-.815-1.633-1.36,0-.383.358-.769,1.156-.769a5.04,5.04,0,0,1,2.087.486.585.585,0,0,0,.8-.248l.344-.689a.709.709,0,0,0-.255-.882,5.718,5.718,0,0,0-2.974-.751C99.355,4.874,98.3,6.3,98.3,7.705c0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.46.856-1.2.856a4.49,4.49,0,0,1-2.387-.7l-.034-.018A.633.633,0,0,0,99,12.64a.49.49,0,0,0-.3.253l-.452.925a.516.516,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.411,0,3.673-1.522,3.673-3.025C105.472,10.617,104.172,9.926,102.19,9.087Z"}))},Services:function({size:e=20}){return a.createElement("svg",{"data-logo":"mono-app-text",xmlns:"http://www.w3.org/2000/svg",height:e,viewBox:"0 0 67.995 20"},a.createElement("title",null,"services-text"),a.createElement("path",{fill:at,d:"M7.277,12.49c0,1.5-1.262,3.026-3.672,3.026A5.924,5.924,0,0,1,.262,14.482h0a.521.521,0,0,1-.209-.663L.5,12.893a.5.5,0,0,1,.305-.254.62.62,0,0,1,.5.075l.036.019a4.479,4.479,0,0,0,2.385.7c.74,0,1.2-.328,1.2-.856,0-.582-.666-.985-2.066-1.618C1.432,10.311.105,9.469.105,7.705c0-1.41,1.055-2.832,3.413-2.832a5.717,5.717,0,0,1,2.974.752.7.7,0,0,1,.255.881L6.4,7.2a.58.58,0,0,1-.8.248,5.04,5.04,0,0,0-2.087-.485c-.8,0-1.155.386-1.155.768,0,.546.573.9,1.632,1.361C5.977,9.925,7.277,10.615,7.277,12.49ZM17.622,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.568.532H10.255a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.64.64,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.715,5.715,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332,5.083,5.083,0,0,1,5.074-5.311A4.573,4.573,0,0,1,17.622,9.559ZM15.249,8.97a2.229,2.229,0,0,0-2.334-2.034,2.412,2.412,0,0,0-2.54,2.034Zm8.511-4.1a3.929,3.929,0,0,0-2.972,1.338l-.213-.688a.575.575,0,0,0-.544-.434h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h.992c.32,0,.8,0,.8-.59V8.4a2.74,2.74,0,0,1,2.235-1.249,2.351,2.351,0,0,1,.854.183.534.534,0,0,0,.424.032.584.584,0,0,0,.334-.323l.518-1.077a.517.517,0,0,0-.01-.525C25.4,5.022,24.509,4.873,23.76,4.873Zm11.569.216H34.36c-.288,0-.613,0-.774.348l-2.695,5.912L28.319,5.433a.545.545,0,0,0-.535-.344H26.469a.544.544,0,0,0-.493.238.489.489,0,0,0,.024.49l4.311,9.376a.6.6,0,0,0,.534.323h.13a.56.56,0,0,0,.514-.327L35.8,5.822a.49.49,0,0,0,.027-.5A.545.545,0,0,0,35.329,5.089Zm3.154,0H37.276a.6.6,0,0,0-.59.589v9.01a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59V5.678A.621.621,0,0,0,38.483,5.089ZM37.879.6A1.543,1.543,0,0,0,36.341,2.18a1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm10.8,11.392a.567.567,0,0,0-.818.047c-.08.073-.16.152-.241.233a2.623,2.623,0,0,1-2.031.966,2.92,2.92,0,0,1-2.838-3.053,2.778,2.778,0,0,1,4.87-2.073c.165.164.444.443.806.11l.774-.71a.606.606,0,0,0,.1-.87,4.465,4.465,0,0,0-3.711-1.768,5.285,5.285,0,0,0-5.225,5.332,5.2,5.2,0,0,0,5.2,5.311,4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM59.784,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.567.532H52.417a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.641.641,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.712,5.712,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332A5.083,5.083,0,0,1,55.12,4.873,4.573,4.573,0,0,1,59.784,9.559ZM52.537,8.97h4.874a2.229,2.229,0,0,0-2.334-2.034A2.412,2.412,0,0,0,52.537,8.97ZM64.4,9.087c-1.06-.462-1.633-.816-1.633-1.361,0-.382.357-.768,1.156-.768a5.047,5.047,0,0,1,2.087.485.58.58,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.881,5.71,5.71,0,0,0-2.973-.752c-2.358,0-3.414,1.422-3.414,2.832,0,1.764,1.328,2.606,2.763,3.253,1.4.633,2.066,1.036,2.066,1.618,0,.528-.459.856-1.2.856a4.485,4.485,0,0,1-2.384-.7l-.037-.02a.632.632,0,0,0-.5-.075.493.493,0,0,0-.3.254l-.452.925a.521.521,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.412,0,3.673-1.522,3.673-3.026C67.685,10.615,66.385,9.925,64.4,9.087Z"}))}};function lt({appName:e,size:t=20}){return nt[e]?a.createElement(nt[e],{size:t}):a.createElement("div",null,"appName not supported")}const rt=["className","style","type"];function ot(e){let{className:t,style:n,type:l="button"}=e,r=W(e,rt);return a.createElement("button",F({className:K("unbutton-lEbTR",t),style:F({},n),type:l},r))}const it=["appName","colors","expanded","onClick","style"],ct=e=>{let{appName:t,colors:n,expanded:l,onClick:r,style:o=null}=e,i=W(e,it);return a.createElement(ot,F({onClick:r,className:K("button-XMbeQ",{"is-expanded-zD0A0":l}),type:"button",style:o},i),"Accounts"===t?a.createElement(a.Fragment,null,a.createElement(tt,{appName:"Accounts",colors:n}),a.createElement("div",{className:"button-accounts-nNh-z"},"Account settings")):a.createElement(a.Fragment,null,a.createElement(Xe,{appName:t.replace(/[\s-]/,"")}),a.createElement(lt,{appName:t.replace(/[\s-]/,""),key:"mono-app-name",size:24})),a.createElement(se,{className:"chevron-RRg9k",key:"disclosure-chevron-icon"}))};function st(e){var t,a,n;const l=`/apps/${e.toLowerCase()}`,r=null==(t=window)||null==(a=t.location)||null==(n=a.pathname)?void 0:n.toString();if(!r)return l;const o=new URLSearchParams;return o.append("referer",r),`${l}?${o.toString()}`}const dt={fontFamily:"inherit"},mt={flex:"1 1 auto"},ut=["active","component","style"],pt=e=>{let{active:t=!1,component:n="span",style:l=null}=e,r=W(e,ut);const[o,i]=a.useState(!1);return a.createElement(n,F({onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),style:F({},l,{backgroundColor:t?"var(--t-fill-color-neutral-060)":o?"var(--t-fill-color-neutral-080)":"transparent"})},r))},ht=["cleanup","onOutsideClick","visible"];class ft extends a.Component{constructor(e){super(e),this.container=void 0,this.handleOutsideClick=this.handleOutsideClick.bind(this)}componentWillUnmount(){document.removeEventListener("click",this.handleOutsideClick,!0)}handleOutsideClick(e){return this.container.contains(e.target)||e.target.closest('[data-toolbar-link="true"]')?void 0:(e.stopPropagation(),e.preventDefault(),this.props.onOutsideClick())}render(){const e=this.props,{cleanup:t}=e,n=W(e,ht);return t?document.removeEventListener("click",this.handleOutsideClick,!0):document.addEventListener("click",this.handleOutsideClick,!0),a.createElement("div",F({ref:e=>this.container=e},n))}}const gt=["className","component","isVisible"],vt=e=>{let{className:t,component:n="div",isVisible:l}=e,r=W(e,gt);return a.createElement(n,F({className:K("popup-nQXYW",{"is-visible-3DAUP":l},t)},r))},Et=e=>{let t=F({},(q(e),e));return a.createElement("div",F({className:"popup-root-SeL5u"},t))},Ct=({appName:t,apps:n,env:l,toggle:r,visible:o})=>{const i=n.find(({name:e})=>"Accounts"===e),c=n.find(({name:e})=>"Home"===e),s=[...n].filter(({name:e})=>"Home"!==e&&"Accounts"!==e).sort((e,t)=>e.name.localeCompare(t.name)),d=F({},dt,{alignItems:"center",display:"flex",height:"48px",overflow:"hidden",padding:"0 16px",verticalAlign:"middle"});return a.createElement(Et,null,a.createElement(vt,{cleanup:!o,component:ft,onOutsideClick:r,className:"popup-sJ-Nv",isVisible:o},a.createElement("menu",{"data-pendo":"app-switcher",style:{margin:0,padding:0}},c&&a.createElement(pt,{component:"a","data-pendo":`app-switcher--change-app--${c.name}`,"data-turbolinks":!1,href:t===c.name?`${e(l)("accounts")}/apps/${t}`:e(l)("accounts")+st(c.name),style:F({},d,{borderBottom:"1px solid var(--t-border-color-default-base)"})},a.createElement("div",{style:{marginRight:"6px"}},a.createElement(Xe,{appName:"Home",size:20})),a.createElement(lt,{appName:"Home",size:18})),s.map(({name:n},r)=>{const o=0===r,i=r===s.length-1;return a.createElement(pt,{component:"a","data-pendo":`app-switcher--change-app--${n}`,"data-turbolinks":!1,href:n===t?`${e(l)("accounts")}/apps/${n.toLowerCase()}`:e(l)("accounts")+st(n),key:n,style:F({},d,{height:"40px",paddingBottom:i?"4px":null,paddingTop:o?"4px":null})},a.createElement("div",{style:{marginRight:"6px"}},a.createElement(Xe,{appName:n.replace(/[\s-]/,""),size:20})),a.createElement(lt,{appName:n.replace(/[\s-]/,""),size:18}))}),i&&a.createElement(pt,{component:"a","data-pendo":`app-switcher--change-app--${i.name}`,"data-turbolinks":!1,href:e(l)("accounts")+st(i.name),style:F({},d,{borderTop:"1px solid var(--t-border-color-default-base)",padding:"0 12px",textDecoration:"none"})},a.createElement("svg",{height:22,style:{display:"block",marginRight:"2px"},viewBox:"0 0 20 20",width:22,xmlns:"http://www.w3.org/2000/svg"},a.createElement(Ge,{color:"var(--t-icon-color-default-secondary)",key:"key2"})),a.createElement("div",{style:{color:"var(--t-text-color-default-secondary)",fontSize:"12px",lineHeight:"28px"}},"Account settings")))))},bt=e=>{return(t="name",e=>e.slice().sort((e,a)=>e[t].localeCompare(a[t])))(e).reduce((e,t)=>"Church Center"===(t.name||"")||"API"===(t.name||"")?e:"Home"===t.name?[t,...e]:[...e,t],[]);var t},wt=e=>e.slice().sort((e,t)=>e.attributes.organization_name.localeCompare(t.attributes.organization_name)),yt=(e=(e=>e))=>d(Ue.subscribe,()=>e(Ue.getState())),kt=()=>o(e=>{const t=Ue.getState();Ue.setState(F({},t,e))},[]),At=["children","style"];function xt(e){let{children:t,style:n}=e,l=W(e,At);return a.createElement("nav",F({className:"simple","data-pendo":"topbar","aria-label":"topbar-navigation",style:F({alignItems:"center",color:"white",display:"flex",height:"var(--topbar-height)"},n)},l),a.createElement("style",null,"\n @media only print {\n .simple {\n display: none !important;\n }\n }\n "),t)}const Zt=({appName:t,connectedPeople:n,env:l,hasConnectedPeople:r,requestClearAppsCache:o,requestClearConnectedPeopleCache:i,requestSwitchConnectedPerson:c,requestUnlinkConnectedPeople:s,setUserMenuVisible:d,userMenuVisible:v})=>{const E=`${e(l)("login")}/logout`;return a.createElement(Et,null,a.createElement(vt,{component:ft,onOutsideClick:()=>d(!1),cleanup:!v,className:"popup-mDNKn",isVisible:v},a.createElement("div",null,r?a.createElement("div",{style:{alignItems:"center",backgroundColor:"var(--t-fill-color-neutral-060)",display:"flex",lineHeight:"32px",padding:"0 16px"}},a.createElement("div",{style:F({},mt,{color:"var(--t-text-color-default-secondary)",fontSize:"12px",textTransform:"uppercase",whiteSpace:"nowrap"},dt)},"Linked Accounts"),a.createElement("div",{style:F({},mt,{alignItems:"center",fontSize:"12px",textAlign:"right"})},a.createElement("a",{href:"",onClick:e=>{o(),i(),s(),e.preventDefault()},style:F({color:"var(--t-text-color-default-secondary)",marginLeft:"64px",textDecoration:"none"},dt)},"unlink"))):a.createElement("noscript",null),a.createElement("style",null,"\n .NotSmallTopbar__connected-people-list > *:first-child > * { border-top-width: 0 !important }\n "),a.createElement("ul",{className:"NotSmallTopbar__connected-people-list",style:{listStyleType:"none",margin:0,padding:0}},wt(n).map(({id:e,attributes:n})=>a.createElement(pt,{component:"li",key:e},a.createElement("a",{href:"",onClick:a=>{o(),i(),c(e,`${t}/`),a.preventDefault()},style:F({borderTop:"1px solid var(--t-border-color-default-base)",color:"var(--t-text-color-default-primary)",display:"block",lineHeight:"48px",overflow:"hidden",paddingLeft:"16px",paddingRight:"16px",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap"},dt)},n.organization_name))))),a.createElement(m,null,r&&a.createElement(u,null),a.createElement("form",{method:"POST",action:E},a.createElement(p,{"data-turbolinks":!1,hover:{backgroundColor:"var(--t-fill-color-neutral-080)"},onClick:()=>{o(),i()},style:{borderTopLeftRadius:0,borderTopRightRadius:0,padding:0},theme:!1,type:"submit",width:"100%"},a.createElement(h,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:2,paddingVertical:1.5,spacing:4},a.createElement(f,{color:"var(--t-text-color-default-secondary)",lineHeight:"24px"},"Log out"),a.createElement(g,{name:"general.intoBox",fill:"var(--t-icon-color-default-secondary)"})))))))},Vt=["className","component","innerRef","style"],Mt=e=>{let{className:t,component:n="div",innerRef:l=null,style:r=null}=e,o=W(e,Vt);return a.createElement(n,F({className:t,style:F({},dt,r)},l&&{ref:l},o))},St=({closeToolbarDrawer:e,orgName:t,requestConnectedPeopleFetch:n,setUserMenuVisible:l,showOrgName:r,toolbarDrawerOpen:o=!1,userMenuVisible:i})=>a.createElement("div",{className:"trigger-wrap-Jd-KR","data-pendo":"topbar-org-switcher"},a.createElement(Mt,{className:K("trigger-WgRT5",{"is-visible-GZC0-":i}),component:"button",type:"button",onClick:()=>{o&&e&&e(),l(e=>!e),n()}},r&&a.createElement("span",{className:"trigger-orgname-TDHCc"},t),a.createElement(se,null))),Ht=["notifications","search","showOrgName","useDummyNotifications"],Pt=["active","className","colors"],Nt=e=>{let{notifications:t=(()=>null),search:n=(()=>null),showOrgName:l=!0,useDummyNotifications:r=!1}=e,o=W(e,Ht);const[i,c]=a.useState(!1),[s,d]=a.useState(!0),[m,u]=a.useState(!1),{hasConnectedPeople:p,notificationsEnabled:h,toolbarDrawerOpen:f}=yt(),g=kt();return a.useEffect(()=>{const e=e=>{e.target.closest('[data-toolbar-link="true"]')&&m&&u(!1)};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}},[m]),a.createElement(xt,{style:F({paddingLeft:"16px",paddingRight:"24px"},o.style)},a.createElement(Ct,{env:o.env,appName:o.appName,apps:bt(o.apps),visible:i,toggle:()=>c(e=>!e)}),a.createElement(ct,{colors:o.colors,expanded:i,onClick:()=>{c(e=>!e),o.requestAppsFetch()},appName:o.appName}),a.createElement("div",{className:"apps-routes-separator-Nlm-N"}),s&&o.routes,a.createElement("div",{style:{margin:"auto"}}),!h&&t(),n({hideRoutes:()=>d(!1),showRoutes:()=>d(!0)}),a.createElement(St,{orgName:o.orgName,requestConnectedPeopleFetch:o.requestConnectedPeopleFetch,setUserMenuVisible:u,showOrgName:l,userMenuVisible:m,toolbarDrawerOpen:f,closeToolbarDrawer:()=>g({toolbarDrawerOpen:!1})}),a.createElement(Zt,{appName:o.appName,hasConnectedPeople:p,connectedPeople:o.connectedPeople,env:o.env,requestClearAppsCache:o.requestClearAppsCache,requestClearConnectedPeopleCache:o.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:o.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:o.requestUnlinkConnectedPeople,setUserMenuVisible:u,userMenuVisible:m}))},Lt=e=>{let{active:t,className:n}=e,l=W(e,Pt);return a.createElement("a",F({className:K("route--8BWe",n,t&&"is-active-FsU9Y")},l))};var Tt={avatar:"avatar-tW-wn"};const zt=["env","url","style"];function Ot(t){let{env:n,url:l="",style:r}=t,o=W(t,zt);const i=l||`${e(n)("people")}/static/no_photo_thumbnail_gray.svg`;return a.createElement("div",F({className:Tt.avatar,style:F({backgroundImage:`url(${i})`},r)},o))}class _t extends a.Component{update(e){return window[this.props.method].setItem(this.props.item,JSON.stringify(e)),this.forceUpdate()}render(){return a.createElement(a.Fragment,null,this.props.render(JSON.parse(window[this.props.method].getItem(this.props.item))||void 0,this.update.bind(this)))}}_t.defaultProps={method:"localStorage"};var Dt={"appmenu-button":"appmenu-button-b0UvT","appmenu-layer":"appmenu-layer-0IQpN","appmenu-container":"appmenu-container-gackd","appmenu-scroll":"appmenu-scroll-mPSx0","appmenu-list":"appmenu-list-h7clX","appmenu-list-a":"appmenu-list-a-rGIQN","appmenu-list-a--top":"appmenu-list-a--top-RT-2F","appmenu-list-a--bottom":"appmenu-list-a--bottom-YDeBC","appmenu-close-button":"appmenu-close-button-vv9bV","current-route":"current-route-wpJgz","is-active":"is-active-wy8Bg",routes:"routes-Nmt1S",route:"route-kkknQ","profile-button":"profile-button-a2WO2"};function It({env:t}){const n="accounts";return a.createElement("a",{className:K(Dt["appmenu-list-a"],Dt["appmenu-list-a--bottom"]),"data-pendo":`app-switcher--change-app--${n}`,"data-turbolinks":!1,href:e(t)(n)+st(n)},a.createElement("svg",{"aria-hidden":"true",height:24,viewBox:"0 0 20 20",width:24,xmlns:"http://www.w3.org/2000/svg"},a.createElement(Ge,{color:"var(--t-icon-color-default-secondary",key:"key2"})),a.createElement("span",null,"Account settings"))}const Ut=({color:e="var(--t-icon-color-default-dim)",size:t=24,style:n={}})=>a.createElement("button",{"aria-label":"Close menu",type:"button",className:Dt["appmenu-close-button"],style:n},a.createElement(ue,{fill:e,style:{height:`${t}px`,width:`${t}px`},"aria-hidden":"true"}));function Rt({env:t,appName:a,userId:n}){var l,r,o;const i=e(t)("login")+`/people/AC${n}`,c=null==(l=window)||null==(r=l.location)||null==(o=r.pathname)?void 0:o.toString();if(!c)return i;const s=new URLSearchParams;return s.append("return",`${a}/${c}`),`${i}?${s.toString()}`}const $t=({isActive:e})=>{const t=e?"var(--t-icon-color-status-success-primary)":"var(--t-icon-color-status-error-primary)";return a.createElement("div",{style:{alignItems:"center",display:"flex",fontSize:"13px",marginBottom:2,marginTop:4}},a.createElement("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none"},a.createElement("path",e?{d:"M12.588 5.31499H11.832V3.79999C11.8159 2.80798 11.4105 1.86207 10.7032 1.16625C9.99602 0.470436 9.04363 0.0804749 8.0515 0.0804749C7.05937 0.0804749 6.10698 0.470436 5.39976 1.16625C4.69253 1.86207 4.28713 2.80798 4.271 3.79999V5.31499H3.515C3.1138 5.31525 2.72906 5.47454 2.44508 5.75795C2.16111 6.04136 2.00106 6.42579 2 6.82699V14.388C2.00132 14.7891 2.16146 15.1734 2.44537 15.4567C2.72929 15.7401 3.11388 15.8995 3.515 15.9H12.588C12.9886 15.8987 13.3724 15.7389 13.6557 15.4557C13.939 15.1724 14.0987 14.7886 14.1 14.388V6.82699C14.0987 6.42639 13.939 6.04257 13.6557 5.7593C13.3724 5.47603 12.9886 5.31631 12.588 5.31499ZM8.051 12.115C7.75171 12.1152 7.45909 12.0266 7.21015 11.8605C6.96121 11.6944 6.76713 11.4581 6.65246 11.1817C6.53779 10.9052 6.50768 10.601 6.56595 10.3074C6.62422 10.0139 6.76824 9.74418 6.97979 9.53249C7.19135 9.32079 7.46094 9.17659 7.75446 9.11813C8.04798 9.05967 8.35225 9.08958 8.62877 9.20406C8.90529 9.31855 9.14165 9.51247 9.30794 9.7613C9.47424 10.0101 9.563 10.3027 9.563 10.602C9.56327 11.0036 9.40424 11.389 9.1208 11.6735C8.83736 11.9581 8.45264 12.1187 8.051 12.12V12.115ZM10.395 5.31499H5.707V3.79999C5.707 3.17832 5.95396 2.58211 6.39354 2.14253C6.83313 1.70294 7.42933 1.45599 8.051 1.45599C8.67267 1.45599 9.26887 1.70294 9.70846 2.14253C10.148 2.58211 10.395 3.17832 10.395 3.79999V5.31499Z",fill:t}:{d:"M13.7,5.8a1.5,1.5,0,0,0-1.1-.4H5.7V3.8a2.34,2.34,0,0,1,.7-1.7,2.19,2.19,0,0,1,1.7-.7,2.34,2.34,0,0,1,1.7.7,2.67,2.67,0,0,1,.7,1.4h1.4a4.12,4.12,0,0,0-1.1-2.4A4.73,4.73,0,0,0,8.1.1,4,4,0,0,0,5.4,1.2,3.63,3.63,0,0,0,4.3,3.8V5.3H3.5a2.1,2.1,0,0,0-1.1.4A2.1,2.1,0,0,0,2,6.8v7.6a2.1,2.1,0,0,0,.4,1.1,1.5,1.5,0,0,0,1.1.4h9.1a2.1,2.1,0,0,0,1.1-.4,1.5,1.5,0,0,0,.4-1.1V6.8A1.53,1.53,0,0,0,13.7,5.8ZM9.1,11.7a1.5,1.5,0,0,1-1.1.4H8a1.14,1.14,0,0,1-.8-.3,4.35,4.35,0,0,1-.6-.7,2.77,2.77,0,0,1-.1-.9A3,3,0,0,1,7,9.5a1.23,1.23,0,0,1,.8-.4,1.41,1.41,0,0,1,.9.1,1.34,1.34,0,0,1,.7.6,1.14,1.14,0,0,1,.3.8A2.38,2.38,0,0,1,9.1,11.7Z",fill:t})),a.createElement("span",{style:{color:"var(--t-text-color-default-secondary)",marginLeft:4,whiteSpace:"nowrap"}},"Two-step verification ",e?"active":"inactive"))},{generateColorScale:jt}=v,Bt={colors:F({},jt({baseColor:"#2266f7",key:"primary"}),{separatorTertiary:"var(--t-border-color-default-base)"}),icons:{churchCenter:H,general:c,people:P,toolbar:N},id:"topbar"};var Ft={"color-mode-switcher":"color-mode-switcher-JpczO","color-mode-switcher-label":"color-mode-switcher-label-3jPM2","color-mode-switcher-label-beta":"color-mode-switcher-label-beta-pwv5t","color-mode-switcher-modes":"color-mode-switcher-modes-u-bic"};const qt=[{label:"Light",value:"light"},{label:"Dark",value:"dark"},{label:"System",value:"system"}];let Wt=0;function Jt(){const{colorMode:e,colorModeLaunched:t}=yt(),n=kt(),[r]=l(()=>Wt++);return a.createElement("fieldset",{className:Ft["color-mode-switcher"]},a.createElement("legend",{className:Ft["color-mode-switcher-label"]},"Appearance"," ",!t&&a.createElement("span",{className:Ft["color-mode-switcher-label-beta"]},"beta")),a.createElement("div",{className:Ft["color-mode-switcher-modes"]},qt.map(({value:t,label:l})=>a.createElement("label",{key:t},a.createElement("input",{name:`color-mode-${r}`,type:"radio",value:t,checked:e===t,onChange:e=>{const t=e.target.value;n({colorMode:t}),document.documentElement.setAttribute("data-color-mode",t),ee(Y,`${window.location.origin}/~api/people/v2/me/color_mode`,{data:{data:{attributes:{color_mode:t}}},method:"POST"})}}),a.createElement(Kt,{mode:t}),l))))}const Gt={dark:"M12.66667,9.07579 C11.90047,9.42229 11.04997,9.61514 10.15457,9.61514 C6.78392,9.61514 4.05151,6.88275 4.05151,3.51215 C4.05151,2.61663 4.24438,1.76615 4.59086,1 C2.47336,1.95762 1,4.08858 1,6.56366 C1,9.93423 3.73241,12.66663 7.103,12.66663 C9.57807,12.66663 11.70907,11.19333 12.66667,9.07579 Z",light:"M6.83333,1 L6.83333,2.16667 M6.83333,11.50003 L6.83333,12.66663 M2.16667,6.83334 L1,6.83334 M3.51657,3.51657 L2.69161,2.69161 M10.1501,3.51657 L10.9751,2.69161 M3.51657,10.15253 L2.69161,10.97743 M10.1501,10.15253 L10.9751,10.97743 M12.6667,6.83334 L11.5,6.83334 M9.75,6.83334 C9.75,8.44415 8.44415,9.75 6.83333,9.75 C5.2225,9.75 3.91667,8.44415 3.91667,6.83334 C3.91667,5.22251 5.2225,3.91667 6.83333,3.91667 C8.44415,3.91667 9.75,5.22251 9.75,6.83334 Z",system:"M4.75,12.50003 L9.41667,12.50003 M7.08334,10.16667 L7.08334,12.50003 M4.05,10.16667 L10.11665,10.16667 C11.09675,10.16667 11.58675,10.16667 11.96115,9.97592 C12.29045,9.80815 12.55815,9.54046 12.72595,9.21117 C12.91665,8.83678 12.91665,8.34678 12.91665,7.36667 L12.91665,4.8 C12.91665,3.81991 12.91665,3.32986 12.72595,2.95552 C12.55815,2.62623 12.29045,2.35852 11.96115,2.19074 C11.58675,2 11.09675,2 10.11665,2 L4.05,2 C3.06991,2 2.57986,2 2.20552,2.19074 C1.87623,2.35852 1.60852,2.62623 1.44074,2.95552 C1.25,3.32986 1.25,3.81991 1.25,4.8 L1.25,7.36667 C1.25,8.34678 1.25,8.83678 1.44074,9.21117 C1.60852,9.54046 1.87623,9.80815 2.20552,9.97592 C2.57986,10.16667 3.06991,10.16667 4.05,10.16667 Z"};function Kt({mode:e}){return a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},a.createElement("path",{d:Gt[e],strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}))}function Xt({appName:t,connectedPeople:n,env:l,hasConnectedPeople:r,linkToProfile:o,mfaConfigured:i,requestClearAppsCache:c,requestClearConnectedPeopleCache:s,requestSwitchConnectedPerson:d,requestUnlinkConnectedPeople:u,setUserMenuVisible:g,userAvatarPath:v,userId:w,userName:y}){const{colorModeSelectionEnabled:k}=yt();return a.createElement(m,{theme:Bt},a.createElement(h,{axis:"vertical",width:"100%",paddingBottom:7},a.createElement(h,{axis:"horizontal",alignItems:"start",distribution:"space-between"},a.createElement(h,{axis:"horizontal",spacing:2,padding:2,paddingRight:0,grow:1,shrink:1},a.createElement(h,{shrink:0},a.createElement(Ot,{env:l,url:v,style:{height:48,width:48}})),a.createElement(h,{spacing:1,grow:1,shrink:1},a.createElement(f,{color:"var(--t-text-color-default-headline)",weight:700,truncate:!0},y),o&&a.createElement(E,{as:"a",href:`/people/AC${w}`,color:"var(--t-text-color-default-secondary)",underline:!1},"My profile"),a.createElement(E,{as:"a",href:Rt({appName:t,env:l,userId:w}),color:"var(--t-text-color-default-secondary)",underline:!1},"My login settings",a.createElement($t,{isActive:i})),k&&a.createElement("div",null,a.createElement(Jt,null)),a.createElement("form",{method:"POST",action:`${e(l)("login")}/logout`},a.createElement(p,{color:"var(--t-text-color-default-secondary)",backgroundColor:"var(--t-fill-color-neutral-060)",hover:{backgroundColor:"var(--t-fill-color-neutral-050)"},"data-turbolinks":!1,onClick:()=>{c(),s()},type:"submit"},"Log out")))),a.createElement(p,{icon:"general.x",onClick:()=>g(!1),padding:2,variant:"naked",title:"Close Menu"})),r&&a.createElement(a.Fragment,null,a.createElement(h,{backgroundColor:"var(--t-fill-color-neutral-060)",paddingVertical:1.5,paddingHorizontal:2,marginTop:1,borderBottom:"1px solid var(--t-border-color-default-base)"},a.createElement(C,{color:"var(--t-text-color-default-secondary)",fontWeight:500},"Linked Accounts")),a.createElement(b,{dividerColor:"var(--t-border-color-default-base)",width:"100%"},wt(n).map(({id:e,attributes:n})=>a.createElement(b.Item,{key:e,onClick:a=>{c(),s(),d(e,`${t}/`),a.preventDefault()},color:"var(--t-text-color-default-secondary)",padding:2},a.createElement(f,{truncate:!0},n.organization_name))),a.createElement(b.Item,{onClick:e=>{c(),s(),u(),e.preventDefault()},color:"var(--t-text-color-status-error)",padding:2,underline:!1},a.createElement(f,{size:3},"Unlink my accounts"))))))}const Qt=["currentRouteComponent","linkToProfile"],Yt=["active","className"],ea=({appName:e})=>{const t=e.replace(/[\s-]/,"");return a.createElement("div",{style:{alignItems:"center",display:"flex"}},a.createElement("div",{style:{marginRight:"6px"}},a.createElement(Xe,{appName:t,size:20})),a.createElement(lt,{appName:t,size:18}))},ta=t=>{var n,l;let{currentRouteComponent:r=(e=>a.createElement("span",F({},e))),linkToProfile:o=!0}=t,i=W(t,Qt);const[c,s]=a.useState(!1),[d,m]=a.useState(!1),[u,p]=a.useState(!1),{hasConnectedPeople:h,mfaConfigured:f,userId:g,name:v}=yt(),E=i.routes.filter(({props:{active:e}})=>e)||[],C=r,b=E&&E[0]&&E[0].props&&E[0].props.children||i.appName,w=i.apps.find(({name:e})=>"Accounts"===e),y=i.apps.find(({name:e})=>"Home"===e),k=[...i.apps].filter(({name:e})=>"Home"!==e&&"Accounts"!==e);return a.useEffect(()=>{s(!1)},[E&&(null==(n=E[0])||null==(l=n.props)?void 0:l.href)]),a.createElement(xt,{style:F({},i.style)},a.createElement("button",{type:"button",className:Dt["appmenu-button"],onClick:()=>{i.requestAppsFetch(),i.requestConnectedPeopleFetch(),s(!1),m(e=>!e)}},a.createElement(Xe,{appName:i.appName.replace(/[\s-]/,"")})),c&&a.createElement("div",{className:Dt.routes},i.routes),a.createElement(_t,{item:"Topbar:Small:Menus:Products:visibility",render:()=>a.createElement("div",{className:Dt["appmenu-layer"],style:F({},d&&{display:"block"}),onClick:()=>{m(e=>!e),p(!1)}},a.createElement(Ut,null),a.createElement("div",{onClick:e=>{const{forcePropagation:t}=e;t||e.stopPropagation()},className:Dt["appmenu-container"]},a.createElement("a",{"data-pendo":`app-switcher--change-app--${null==y?void 0:y.name}`,"data-turbolinks":!1,className:K(Dt["appmenu-list-a"],Dt["appmenu-list-a--top"]),href:y?e(i.env)("accounts")+st(null==y?void 0:y.name):void 0},a.createElement(ea,{appName:y?y.name:i.appName})),a.createElement("div",{className:Dt["appmenu-scroll"]},a.createElement("ul",{"data-pendo":"app-switcher",className:Dt["appmenu-list"]},bt(k).map(({name:t})=>a.createElement("li",{key:t,className:Dt["appmenu-list-li"]},a.createElement("a",{"data-pendo":`app-switcher--change-app--${t}`,"data-turbolinks":!1,className:Dt["appmenu-list-a"],href:e(i.env)("accounts")+st(t)},a.createElement(ea,{appName:t})))),w&&a.createElement("li",{className:Dt["appmenu-list-li"]},a.createElement(It,{env:i.env}))))))}),a.createElement("button",{type:"button",className:K(Dt["current-route"],{[Dt["is-active"]]:c}),onClick:i.routes.length>0?()=>{m(!1),s(e=>!e)}:null},a.createElement(C,null,(A=b).charAt(0).toUpperCase()+A.slice(1)),i.routes.length>0&&a.createElement(se,null)),a.createElement("button",{type:"button",className:Dt["profile-button"],onClick:()=>p(!u)},a.createElement(Ot,{env:i.env,url:i.userAvatarPath})),a.createElement("div",{"data-small-topbar-user-profile-menu-wrap":"",style:{MozUserSelect:"none",WebkitTapHighlightColor:"transparent",WebkitUserSelect:"none",bottom:0,color:"black",display:u?"block":"none",left:0,msUserSelect:"none",position:"fixed",right:0,top:0,zIndex:100,userSelect:"none"}},a.createElement("div",{onClick:e=>e.stopPropagation(),style:{WebkitOverflowScrolling:"touch",backgroundColor:"var(--t-surface-color-card)",display:"flex",flexDirection:"column",height:"100%",overflowY:"scroll",position:"relative",width:"100%"}},a.createElement(Xt,{appName:i.appName,env:i.env,connectedPeople:i.connectedPeople,hasConnectedPeople:h,linkToProfile:o,mfaConfigured:f,requestClearAppsCache:i.requestClearAppsCache,requestClearConnectedPeopleCache:i.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:i.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:i.requestUnlinkConnectedPeople,setUserMenuVisible:p,userAvatarPath:i.userAvatarPath,userId:g,userName:v}))));var A},aa=e=>{let{active:t,className:n}=e,l=W(e,Yt);return a.createElement("a",F({className:K(Dt.route,n,t&&Dt["is-active"])},l))},na=function(){const e={domain:window.location.host.split(".").slice(-2).join("."),"max-age":2592e3,path:"/",samesite:"lax"};return"https:"===window.location.protocol&&(e.secure=""),e}(),la=Object.entries(na).filter(([,e])=>void 0!==e).map(([e,t])=>""===t?e:`${e}=${t}`).join("; ");var ra={"drawer-wrap":"drawer-wrap-J0rSL","is-visible":"is-visible-KTME8",drawer:"drawer-j7f4l"};const oa=["isVisible","children","className"];function ia({children:e,id:t="toolbarDrawer"}){return a.createElement("div",{id:t,className:ra.drawer},e)}function ca(e){let{isVisible:t,children:n,className:l}=e,r=W(e,oa);return a.createElement("div",F({className:K(ra["drawer-wrap"],l,t&&ra["is-visible"])},r),n)}function sa({children:e,closeDrawer:t}){return a.createElement(h,{alignment:"start",axis:"horizontal",color:"foreground",distribution:"space-between",padding:2,paddingTop:1},a.createElement(w,{flex:1},e),t&&a.createElement(p,{icon:{fill:"var(--t-icon-color-default-dim)",name:"general.x",size:"md"},onClick:()=>t(),title:"Close",theme:!1,hover:{backgroundColor:"var(--t-fill-color-neutral-070)"},marginTop:.25}))}const da=["children"];function ma(e){let{children:t}=e,n=W(e,da);return a.createElement(y,F({color:"var(--t-text-color-default-headline)",letterSpacing:".002em",level:2,lineHeight:"35px",weight:700},n),t)}const ua=["children"],pa={bottom:{background:"linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.07))",bottom:0},top:{background:"linear-gradient(rgba(0, 0, 0, 0.07), rgba(255, 255, 255, 0))",top:0}},ha=e=>{let{children:t}=e,r=W(e,ua);const[o,c]=l(!1),[s,d]=l(!1),m=i(null),u=i(null),p=i(null),f=()=>{const e=null==m?void 0:m.current;e&&d(e.scrollHeight-e.clientHeight>e.scrollTop+1)};return n(()=>{const e=null==m?void 0:m.current;if(!e)return()=>{};d(e.scrollHeight>e.clientHeight);const t={root:e,threshold:1},a=new IntersectionObserver(([{isIntersecting:e}])=>d(!e),t),n=new IntersectionObserver(([{isIntersecting:e}])=>c(!e),t),l=null==u?void 0:u.current,r=null==p?void 0:p.current;l&&a.observe(l),r&&n.observe(r);const o=new ResizeObserver(f);return o.observe(e),()=>{l&&a.unobserve(l),r&&n.unobserve(r),o.unobserve(e)}},[]),a.createElement(h,{grow:1,position:"relative",shrink:1},o&&a.createElement(fa,{edge:"top"}),s&&a.createElement(fa,{edge:"bottom"}),a.createElement(h,F({basis:2,grow:1,innerRef:m,overflow:"auto",role:"region",shrink:1,css:{overscrollBehavior:"contain"}},r),a.createElement(w,{innerRef:p}),t,a.createElement(w,{innerRef:u})))},fa=({edge:e})=>a.createElement(w,F({height:1,left:0,pointerEvents:"none",position:"absolute",right:0,role:"presentation",zIndex:10},pa[e])),ga=({activeIndex:e,children:t})=>{const n=a.Children.count(t),l=e<0?0:e>n-1?n-1:e;return a.createElement(h,{grow:1,overflow:"hidden",position:"relative"},a.Children.map(t,(t,n)=>{const r=n===l;return a.createElement(h,{"aria-hidden":!r,visibility:r?"visible":"hidden",height:"100%",key:n,opacity:r?1:0,pointerEvents:r?"auto":"none",position:"absolute",top:0,width:"100%",transform:r?"translateX(0)":n<e?"translateX(-100px)":"translateX(100px)",transition:"visibility 100ms 50ms ease-in-out, transform 200ms ease-in-out, opacity 100ms 50ms ease-in-out"},t)}))};var va;!function(e){e.close="close",e.mount="mount",e.open="open",e.unmount="unmount"}(va||(va={}));const Ea={currentContent:null,open:!1},Ca=(e,t)=>{switch(t.type){case va.mount:return F({},e,{currentContent:t.payload.content});case va.unmount:return F({},e,{currentContent:null});case va.open:return F({},e,{open:!0});case va.close:return F({},e,{open:!1})}},ba=({sectionName:e,currentAppName:t})=>{const n=e.toLowerCase();return"account information"===n||"recent updates"===n?a.createElement(g,{name:"account information"===n?"general.cogPerson":"general.outlinedGenericFile",color:"foregroundSecondary"}):"Accounts"===t?a.createElement(g,{name:"general.cog",color:"foregroundSecondary"}):a.createElement(h,{width:2,height:2},a.createElement(Z,{name:t.toLowerCase().replace(/[\s]/,"-"),size:"sm",theme:"color",markOnly:!0}))},wa=({hit:e,index:t})=>a.createElement(x.Item,{key:e.objectID,index:t,value:e,paddingVertical:1},a.createElement(f,{color:"neutralDarker",size:4,whiteSpace:"normal"},e.title)),ya=({currentAppName:e,indexName:t})=>{const{query:n,refine:l}=D(),{hits:r,results:o}=I(),i=null==o?void 0:o.hits.reduce((e,t)=>{const a=t.category.title;return e[a]||(e[a]=[]),e[a].push(t),e},{});let c=0;return a.createElement(h,{id:"helpdesk-search",position:"relative"},a.createElement(x.Popover,{renderTo:"#helpdesk-search",popoverProps:{zIndex:2},placeholder:"Search our documentation",value:n,renderRight:a.createElement(g,{name:"general.search"}),onChange:e=>l(e.target.value),onSelect:e=>((e,t)=>{const a=t.split("_")[1],n=window.open(`https://${a}.zendesk.com/hc/${e.locale.locale}/articles/${e.id}`,"_blank");n&&n.focus()})(e,t),placement:"bottom-start"},!r.length&&a.createElement(a.Fragment,null,a.createElement(h,{axis:"horizontal",alignment:"center",paddingHorizontal:2,paddingVertical:1},a.createElement(f,{color:"neutralDarker",size:4,whiteSpace:"normal"},"No results match your search"))),i&&Object.keys(i).map(t=>{const n=i[t];return a.createElement(a.Fragment,{key:t},c>0&&a.createElement(u,{margin:1}),a.createElement(h,{axis:"horizontal",alignment:"center",spacing:.5,paddingHorizontal:2,paddingVertical:1},a.createElement(ba,{currentAppName:e,sectionName:t}),a.createElement(f,{size:5,color:"foregroundSecondary",fontWeight:500},t)),n.map(e=>a.createElement(wa,{key:e.objectID,hit:e,index:c++})))})))},ka=({indexName:e,currentAppName:t})=>{const{algoliaSearchAuth:{algoliaApplicationId:n,algoliaSearchOnlyApiKey:l}}=yt(),r=_(n,l);return a.createElement(U,{indexName:e,searchClient:r},a.createElement(R,{hitsPerPage:5}),a.createElement(ya,{currentAppName:t,indexName:e}))},{LoadingIndicator:Aa,StackView:xa}=T,Za={component:function({appName:e,closeDrawer:t,env:n,helpdeskConfig:l}){return a.createElement(L,{grow:1,display:"flex",extensionId:"staging"===n?"42":"11",loadingFallback:a.createElement(xa,{flex:1,axis:"vertical"},a.createElement(sa,{closeDrawer:t},a.createElement(xa,{axis:"horizontal",spacing:1},a.createElement(ma,null,"Help and support"),a.createElement(Aa,null)))),additionalComponents:{CalendlyWidget:O,DocumentationSearch:ka,DrawerHeader:sa,DrawerHeading:ma,ScrollContainer:ha,SwitchView:ga},args:{appName:e,closeDrawer:t,currentPageParams:location.search,helpdeskConfig:l}})},icons:{staticDotPath:"",staticPath:"M16 10C14.9391 10 13.9217 10.4214 13.1716 11.1716C12.4214 11.9217 12 12.9391 12 14H14C14 13.4696 14.2107 12.9609 14.5858 12.5858C14.9609 12.2107 15.4696 12 16 12C16.5304 12 17.0391 12.2107 17.4142 12.5858C17.7893 12.9609 18 13.4696 18 14C18 16 15 15.75 15 19H17C17 16.75 20 16.5 20 14C20 12.9391 19.5786 11.9217 18.8284 11.1716C18.0783 10.4214 17.0609 10 16 10ZM16 24C14.4178 24 12.871 23.5308 11.5554 22.6518C10.2399 21.7727 9.21447 20.5233 8.60897 19.0615C8.00347 17.5997 7.84504 15.9911 8.15372 14.4393C8.4624 12.8874 9.22433 11.462 10.3432 10.3431C11.462 9.22433 12.8874 8.4624 14.4393 8.15372C15.9911 7.84504 17.5997 8.00346 19.0615 8.60896C20.5233 9.21446 21.7727 10.2398 22.6518 11.5554C23.5308 12.871 24 14.4177 24 16C23.9974 18.1209 23.1537 20.1542 21.6539 21.6539C20.1542 23.1537 18.1209 23.9974 16 24ZM16 6C14.0222 6 12.0888 6.58649 10.4443 7.6853C8.79981 8.78412 7.51809 10.3459 6.76121 12.1732C6.00433 14.0004 5.8063 16.0111 6.19215 17.9509C6.578 19.8907 7.53041 21.6725 8.92894 23.0711C10.3275 24.4696 12.1093 25.422 14.0491 25.8079C15.9889 26.1937 17.9996 25.9957 19.8268 25.2388C21.6541 24.4819 23.2159 23.2002 24.3147 21.5557C25.4135 19.9112 26 17.9778 26 16C26 13.3478 24.9464 10.8043 23.0711 8.92893C21.1957 7.05357 18.6522 6 16 6V6ZM15 22H17V20H15V22Z"},name:"Helpdesk"},Va=["dark","style"],Ma=e=>{let{style:t}=e,n=W(e,Va);return a.createElement("div",F({style:F({color:"var(--t-text-color-default-primary)",fontSize:"12px",fontWeight:400,textTransform:"uppercase"},t)},n))},Sa=({mobile:e=!1,isLast:t,onCreateTask:n,onMarkAsRead:l=(async()=>Promise.resolve({})),onToggleRead:r,showBottomBorder:o,notification:i})=>{const{appName:c,createdAt:s,isRead:d,link:m,title:u}=i,{organizationTimeZone:p}=yt(),[h,f]=a.useState(!1),g={style:"relative"};return p&&(g.timeZone=p),a.createElement(pt,{active:h,"data-turbolinks":!1,href:m,onClick:async e=>{f(!0),await l(i),window.location.href=m},style:F({alignItems:"flex-start",borderBottom:o||!t?"1px solid var(--t-border-color-default-base)":"none",cursor:"pointer",display:"flex",overflow:"hidden",padding:"12px 16px",textDecoration:"none",verticalAlign:"middle"},dt)},a.createElement("div",{style:{display:"flex",flexDirection:"column",flexGrow:1,justifyContent:"center"}},a.createElement("div",{style:{alignItems:"center",borderLeft:`4px solid hsl(${{Calendar:"9 61% 50%","Check-Ins":"283 22% 48%",Giving:"43 88% 64%",Groups:"17 96% 62%",People:"220 74% 57%",Publishing:"220 12% 31%",Registrations:"175 36% 43%",Services:"88 45% 41%"}[c]||"0 0% 81%"} / ${d?"40%":"100%"}`,display:"flex",marginBottom:"10px",paddingLeft:"8px"}},a.createElement("div",{style:{flexGrow:1,marginRight:"16px"}},a.createElement(Ma,{dark:e,style:{marginBottom:"6px",userSelect:"none"}},c),a.createElement("h1",{style:{color:"var(--t-text-color-default-headline)",fontSize:"16px",fontWeight:500,lineHeight:"1.3em",margin:0,userSelect:"none"}},u)),!e&&a.createElement(V,{icon:{name:"general.threeDots"},title:"More options",variant:"naked",iconRight:null,placement:"bottom-end",onClick:e=>{e.stopPropagation()}},a.createElement(V.Item,{onClick:e=>{e.preventDefault(),e.stopPropagation(),r()}},"Mark ",d?"unread":"as read"),i.taskUrl?a.createElement(V.Item,{onClick:e=>{e.preventDefault(),e.stopPropagation(),window.location.href=i.taskUrl}},"Open task"):a.createElement(V.Item,{onClick:e=>{e.preventDefault(),e.stopPropagation(),n(i)}},"Create task"))),a.createElement("div",{style:{color:"var(--t-text-color-default-primary)",fontSize:"12px",paddingLeft:"12px",userSelect:"none"}},B.datetime(s,g))))},Ha=({context:e,description:t,title:n="No notifications"})=>a.createElement(h,{alignment:"center",distribution:"center",padding:4},a.createElement(ce,{id:e}),a.createElement(y,{color:"var(--t-text-color-default-headline)",fontWeight:500,marginTop:1,size:3},n),a.createElement(f,{align:"center",color:"var(--t-text-color-default-primary)",size:4},t)),Pa=(e,t)=>{var a,n,l,r,o,i,c,s;const d=({type:e,id:t},a)=>a.find(a=>a.type===e&&a.id===t),m=null==(a=d(e.relationships.app.data,t.included))||null==(n=a.attributes)?void 0:n.name,u=JSON.parse(null==(l=d({id:null==e||null==(o=e.relationships)||null==(i=o.web_payloads)||null==(c=i.data[0])?void 0:c.id,type:"Payload"},t.included))||null==(r=l.attributes)?void 0:r.content);return{appName:m,createdAt:new Date(e.attributes.created_at),id:e.id,isRead:(null==(s=e.attributes.read_at)?void 0:s.length)>0,link:null==u?void 0:u.link,title:null==u?void 0:u.title}},Na=["disabled","onClick","title"],La=e=>{let{disabled:t,onClick:n,title:l}=e,r=W(e,Na);return a.createElement(h,F({color:t?"var(--t-text-color-default-disabled)":"var(--t-text-color-interaction-primary)",cursor:t?"default":"pointer",fontSize:5,fontWeight:600,userSelect:"none",onClick:!t&&n},r),l)},Ta=e=>{let t=F({},(q(e),e));return a.createElement(y,F({color:"var(--t-text-color-default-headline)",lineHeight:2,size:5,textTransform:"uppercase",userSelect:"none"},t))},za={component:function({closeDrawer:t}){const[n,l]=a.useState(!1),r={transition:"opacity 300ms ease-in-out"},i={entered:{opacity:1},entering:{opacity:.2}},{env:c,enabled:s,joltChannel:d}=Ue.getState().notifications,{handleCreateTask:m,handleMarkAllAsRead:u,handleMarkAsRead:p,handleToggleRead:f,hasError:g,isLoading:v,read:E,unread:C}=(({enabled:t,env:n,joltChannel:l})=>{const[r,i]=a.useState([]),[c,s]=a.useState(!0),[d,m]=a.useState(!1),{read:u,unread:p}=(e=>{const{read:t,unread:a}=[...e].sort((e,t)=>e.createdAt<t.createdAt?1:-1).reduce((e,t)=>F({},e,t.isRead?{read:[...e.read,t]}:{unread:[...e.unread,t]}),{read:[],unread:[]});return{read:t,unread:a}})(r),h=()=>{try{m(!1),ee(Q,`${window.location.origin}/~api/notifications/v2/me/notifications?include=app,web_payloads&per_page=100&order=read_at,-created_at&filter=has_web_payload`).then(({json:e})=>{const t=e.data.map(t=>Pa(t,e));s(!1),i(t)})}catch(e){m(!0),console.error("topbar encountered error when fetching all notifications",e)}};a.useEffect(()=>{t&&h()},[t]);const f=e=>"string"==typeof e.data?JSON.parse(e.data):e.data,g=a.useCallback(e=>{try{(async e=>{try{return m(!1),ee(Q,`${window.location.origin}/~api/notifications/v2/me/notifications/${e}?include=app,web_payloads&filter=has_web_payload`).then(({json:e})=>e)}catch(e){m(!0),console.error("topbar encountered error when fetching a single notification",e)}})(f(e).data.id).then(e=>{const t=Pa(e.data,e);i(e=>[...e.filter(e=>e.id!==t.id),t])})}catch(e){console.error("topbar encountered error when updating state from jolt message",e)}},[Pa,f,h,u,i,p]),v=a.useCallback(e=>{const t=f(e),a=r.filter(e=>e.id!==t.data.id);i(a)},[f,r,i]);Te(t?l:void 0,"notifications.v2.events.notification.created",g),Te(t?l:void 0,"notifications.v2.events.notification.updated",g),Te(t?l:void 0,"notifications.v2.events.notification.destroyed",v);const E=async(t,a)=>{const l=t.reduce((e,t)=>[...e,{attributes:{action:a},id:t,type:"graph_notification"}],[]);return ee(Y,`${e(n)("api")}/notifications/v2/me/bulk_update`,{data:{data:{attributes:{},relationships:{notifications:{data:{source:"/included/graph_notification/*"}}},type:"BulkUpdate"},included:l},method:"POST"}).then(e=>{e.ok||(s(!1),m(!0),i(e=>e.map(e=>t.includes(e.id)?F({},e,{isRead:!e.isRead}):e)))})},C=o(async t=>ee(Y,`${e(n)("api")}/home/v2/me/task_lists/inbox/tasks`,{data:{data:{attributes:{description:t.link?`<a href="${t.link}">Link</a>`:void 0,title:t.title}}},method:"POST"}).then(e=>{e.ok&&i(a=>a.map(a=>t.id===a.id?F({},a,{taskUrl:e.json.data.links.html}):a))}),[]);return{handleCreateTask:C,handleMarkAllAsRead:()=>{const e=p.map(e=>e.id);i(t=>t.map(t=>e.includes(t.id)?F({},t,{isRead:!0}):t)),E(p.map(e=>e.id),"read")},handleMarkAsRead:async e=>E([e.id],"read"),handleToggleRead:async e=>{const t=e.isRead?"unread":"read";return i(a=>a.map(a=>e.id==a.id?F({},a,{isRead:"read"===t}):a)),E([e.id],t)},hasError:d,isLoading:c,read:u,unread:p}})({enabled:s,env:c,joltChannel:d});return a.createElement(a.Fragment,null,a.createElement(sa,{closeDrawer:t},a.createElement(h,{spacing:.5},a.createElement(h,{alignment:"center",axis:"horizontal",spacing:1},a.createElement(ma,null,"Notifications"),v&&a.createElement(M,{color:"var(--t-fill-color-neutral-030)",thickness:2,trackColor:"var(--t-fill-color-neutral-080)"}),g&&a.createElement(de,{fill:"hsl(8 60% 47%)",size:16})),E.length>0&&a.createElement(La,{onClick:()=>l(e=>!e),title:(n?"Hide":"Show")+" read"}))),a.createElement(ha,null,a.createElement(h,{alignment:"stretch",spacing:2},a.createElement("div",{style:{boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"space-between",margin:0,padding:"4px 0"}},!v&&0===C.length&&a.createElement(Ha,F({context:"toolbar",description:`When you have ${E.length>0?"unread ":""}notifications they will show up here.`},E.length>0&&{title:"No unread notifications"})),C.length>0&&a.createElement(h,{axis:"horizontal",alignment:"center",distribution:"space-between",padding:2},a.createElement(Ta,null,"Unread"),C.length>0&&a.createElement(La,{onClick:()=>u(),title:`Mark ${C.length} as read`})),a.createElement($,{exit:!1},C.map((e,t)=>a.createElement(j,{key:e.id,timeout:0},n=>a.createElement("div",{style:F({},r,i[n])},a.createElement(Sa,F({isLast:C.length===t+1,key:e.id,onMarkAsRead:p,onToggleRead:()=>f(e),onCreateTask:m,showBottomBorder:E.length>0},{notification:e})))))),E.length>0&&n&&a.createElement(a.Fragment,null,a.createElement(Ta,{padding:2},"Read"),a.createElement($,{exit:!1},E.map(e=>a.createElement(j,{key:e.id,timeout:0},t=>a.createElement("div",{style:F({},r,i[t])},a.createElement("div",{style:{opacity:.6}},a.createElement(Sa,F({key:e.id,onToggleRead:()=>f(e),onCreateTask:m,showBottomBorder:!0},{notification:e}))))))))))))},icons:{staticDotPath:"M18.2189 6.38867C17.5266 6.13717 16.7795 6 16.0003 6C12.4123 6 9.50363 8.90867 9.50363 12.4967V16.5862L6.54505 19.7387C5.34671 21.0156 6.25205 23.1069 8.0032 23.1069H13.3351C13.7865 24.1303 14.8101 24.8438 16.0002 24.8438C17.1903 24.8438 18.2139 24.1303 18.6653 23.1069H23.9974C25.7485 23.1069 26.6539 21.0156 25.4555 19.7387L22.497 16.5863V13.8102C21.7673 13.622 21.0914 13.2999 20.497 12.8718V16.9821V17.3778L20.7679 17.6664L23.9844 21.0938H8.01618L11.2328 17.6663L11.5036 17.3777V16.982V12.4967C11.5036 10.0132 13.5169 8 16.0003 8C16.7262 8 17.4118 8.17197 18.0188 8.47738C18.0064 8.31988 18.0001 8.16068 18.0001 8C18.0001 7.44181 18.0763 6.90141 18.2189 6.38867ZM8.00384 21.1069L8.0048 21.1059V21.1069H8.00384ZM23.9967 21.1069H23.9952V21.1053L23.9967 21.1069Z",staticPath:"M16.0003 6C12.4122 6 9.50357 8.90867 9.50357 12.4967V16.5862L6.54499 19.7387C5.34665 21.0156 6.25199 23.1069 8.00314 23.1069H13.335C13.7864 24.1303 14.81 24.8438 16.0001 24.8438C17.1902 24.8438 18.2138 24.1303 18.6653 23.1069H23.9973C25.7484 23.1069 26.6538 21.0156 25.4554 19.7387L22.497 16.5863V12.4967C22.497 8.90867 19.5883 6 16.0003 6ZM11.5036 12.4967C11.5036 10.0132 13.5168 8 16.0003 8C18.4837 8 20.497 10.0132 20.497 12.4967V16.9821V17.3778L20.7678 17.6664L23.9843 21.0938H8.01612L11.2327 17.6663L11.5036 17.3777V16.982V12.4967ZM8.00474 21.1059L8.00378 21.1069H8.00474V21.1059ZM23.9952 21.1069H23.9966L23.9952 21.1053V21.1069Z"},name:"Notifications"};function Oa(){const e=document.head.querySelectorAll('meta[property^="pco:"]'),t={};return e.forEach(e=>{const a=e.getAttribute("property");var n;t[a.substring("pco:".length)]="boolean"===(n=e).getAttribute("datatype")?"true"===n.content||"1"===n.content:n.content}),t}const _a=Ie(Oa()),Da=new MutationObserver(()=>{const e=_a.getState(),t=Oa();Oe(e,t)||_a.setState(t)});let Ia=!1;const Ua=["children","badge","onClick"],{LoadingIndicator:Ra,StackView:$a}=T;function ja(e){let{children:t,badge:n,onClick:l}=e,r=W(e,Ua);return a.createElement(h,F({as:"button",axis:"horizontal",distribution:"space-between",alignment:"center",paddingBottom:.75,onClick:()=>l(),spacing:1},r),t,n&&a.createElement(S,F({size:"sm",fontWeight:"600"},n)))}function Ba({onMessage:e,requestedJoltChannel:t,joltPromise:n,env:l}){const{disconnectJoltOnUnmount:r}=yt(),o=He(n),i=Pe({channelName:null==t?void 0:t.channelName,disconnectJoltOnUnmount:r,enabled:!!t,env:l,fetchSubscribeToken:async e=>{const a=t.subscribeUrl;return(await ee(Y,a,{data:{data:{attributes:{connection_id:e}}},method:"POST"})).json.data.id},joltPromise:n});return a.createElement(o?Fa:qa,{channel:i,onMessage:e})}function Fa({channel:e,onMessage:t}){return Te(e,"*",t),null}function qa({channel:e,onMessage:t}){return Te(e,"",t),null}const Wa={component:function({closeDrawer:e,env:t,isOpen:n,joltPromise:r,onReceiveWorker:i,openDrawer:c,currentPath:s,onChangePath:m}){const u=(Ia||(Ia=!0,Da.observe(document.head,{attributes:!0,childList:!0,subtree:!0})),d(_a.subscribe,()=>_a.getState())),[p,h]=l(),[f,g]=l(),v=o(e=>{h(F({},e,{timestamp:(new Date).getTime()}))},[]),E=o((e,t={})=>{var a;if(null==(a=window)||!a.pendo)return console.warn("`window.pendo` is undefined");window.pendo.track(e,t)},[]);return a.createElement(a.Fragment,null,a.createElement(Ba,{onMessage:v,requestedJoltChannel:f,joltPromise:r,env:t}),a.createElement(L,{grow:1,display:"flex",extensionId:"staging"===t?"41":"2",onReceiveWorker:i,loadingFallback:a.createElement($a,{flex:1,axis:"vertical"},a.createElement(sa,{closeDrawer:e},a.createElement($a,{axis:"horizontal",spacing:1},a.createElement(ma,null,"To do"),a.createElement(Ra,null)))),additionalComponents:{DrawerHeader:sa,DrawerHeading:ma,NavLinkWithBadge:ja,ScrollContainer:ha,SwitchView:ga},args:{closeDrawer:e,currentPath:s,isOpen:n,latestJoltMessage:p,onChangePath:m,openDrawer:c,pcoMeta:u,requestJoltChannel:g,trackPendo:E}}))},icons:{staticDotPath:"M18.3414 6H13.5C12.6716 6 12 6.67157 12 7.5V8H9C7.89543 8 7 8.89543 7 10V24C7 25.1046 7.89543 26 9 26H23C24.1046 26 25 25.1046 25 24V13.917C24.6748 13.9716 24.3407 14 24 14C23.6593 14 23.3252 13.9716 23 13.917V24H9L9 10H12V10.5C12 11.3284 12.6716 12 13.5 12H18.5C18.8029 12 19.0848 11.9102 19.3206 11.7558C18.4944 10.7277 18 9.4216 18 8C18 7.29873 18.1203 6.62556 18.3414 6ZM18 8H14V10H18V8ZM19.0556 14.1464C18.8603 13.9512 18.5437 13.9512 18.3485 14.1464L15.0724 17.4226L13.6642 16.0144C13.469 15.8192 13.1524 15.8192 12.9571 16.0144L11.9433 17.0282C11.7481 17.2235 11.7481 17.5401 11.9433 17.7353L14.7167 20.5088C14.8665 20.6585 15.0875 20.6934 15.2705 20.6135C15.3278 20.5892 15.3814 20.5536 15.4282 20.5069L20.0686 15.8665C20.2638 15.6713 20.2638 15.3547 20.0686 15.1594L19.0556 14.1464Z",staticPath:"M14 8V10H18V8H14ZM13.5 6C12.6716 6 12 6.67157 12 7.5V8H9C7.89543 8 7 8.89543 7 10V24C7 25.1046 7.89543 26 9 26H23C24.1046 26 25 25.1046 25 24V10C25 8.89543 24.1046 8 23 8H20V7.5C20 6.67157 19.3284 6 18.5 6H13.5ZM20 10.5V10H23V24H9L9 10H12V10.5C12 11.3284 12.6716 12 13.5 12H18.5C19.3284 12 20 11.3284 20 10.5ZM18.3485 14.1464C18.5437 13.9512 18.8603 13.9512 19.0556 14.1464L20.0686 15.1594C20.2638 15.3547 20.2638 15.6713 20.0686 15.8665L15.4282 20.5069C15.3814 20.5536 15.3278 20.5892 15.2705 20.6135C15.0875 20.6934 14.8665 20.6585 14.7167 20.5088L11.9433 17.7353C11.7481 17.5401 11.7481 17.2235 11.9433 17.0282L12.9571 16.0144C13.1524 15.8192 13.469 15.8192 13.6642 16.0144L15.0724 17.4226L18.3485 14.1464Z"},name:"Tasks"};function Ja({closeDrawer:e}){return a.createElement(w,{position:"absolute",width:"100%"},a.createElement(sa,{closeDrawer:e},a.createElement(h,{alignment:"center",axis:"horizontal",spacing:1},a.createElement(ma,null,"Chat"),a.createElement(M,{color:"var(--t-fill-color-neutral-030)",thickness:2,trackColor:"var(--t-fill-color-neutral-080)"}))))}function Ga(e,{messageType:t,allowedOrigin:a}){n(()=>{const n=n=>{n.origin===a&&n.data.type===t&&e(n)};return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}},[])}const Ka={component:function({env:t,closeDrawer:r,currentPath:c,onChangePath:s}){const[d,m]=l(!0),u=function({currentPath:t,setFragmentRoute:a,env:r}){const c=function(e){const[t,a]=e.split("?",2);return a?`${t}?${decodeURIComponent(a)}`:t}(t||""),[s,d]=l(c),m=i(c),u=e(r)("chat");return Ga(o(e=>{const t=e.data.payload.replace(/^\/?topbar/,"").replace(/^\/+/,"");m.current=t,a(function(e){const[t,a]=e.split("?",2);return a?`${t}?${encodeURIComponent(a)}`:t}(t))},[a]),{allowedOrigin:u,messageType:"NEW_ROUTE_RENDERED"}),n(()=>{m.current!==c&&d(c)},[t]),[u,"topbar",s].filter(Boolean).join("/")}({currentPath:c,env:t,setFragmentRoute:s});return Ga(r,{allowedOrigin:e(t)("chat"),messageType:"CLOSE_DRAWER"}),"blankstate"===c?a.createElement(Ja,{closeDrawer:r}):a.createElement(a.Fragment,null,d&&a.createElement(Ja,{closeDrawer:r}),a.createElement(w,{onLoad:()=>m(!1),opacity:d?0:1,as:"iframe",src:u,title:"Chat",width:"100%",height:"100%",zIndex:"1"}))},icons:{staticDotPath:"M26 13.6586V19C26 20.6569 24.6569 22 23 22H18.9997L17.4141 23.5856L15.9998 24.9998L14.5856 23.5856L13 22H9C7.34315 22 6 20.6569 6 19V10C6 8.34315 7.34315 7 9 7H18.083C18.0284 7.32521 18 7.65929 18 8C18 8.34071 18.0284 8.67479 18.083 9H9C8.44772 9 8 9.44772 8 10V19C8 19.5523 8.44772 20 9 20H13H13.8284L14.4142 20.5858L15.9998 22.1714L17.5855 20.5858L18.1713 20H18.9997H23C23.5523 20 24 19.5523 24 19V14C24.7013 14 25.3744 13.8797 26 13.6586Z",staticPath:"M13.8284 20L15.9998 22.1714L18.1713 20H23C23.5523 20 24 19.5523 24 19V10C24 9.44772 23.5523 9 23 9H9C8.44772 9 8 9.44772 8 10V19C8 19.5523 8.44772 20 9 20H13.8284ZM15.9998 24.9998L13 22H9C7.34315 22 6 20.6569 6 19V10C6 8.34315 7.34315 7 9 7H23C24.6569 7 26 8.34315 26 10V19C26 20.6569 24.6569 22 23 22H18.9997L15.9998 24.9998Z"},name:"Chat",storageExemptPaths:["blankstate"]},Xa=()=>{},Qa={component:function({closeDrawer:e,linkToProfile:t,loginSettingsUrl:n,logoutUrl:l,profileUrl:r,userAvatarPath:o}){const{mfaConfigured:i,name:c,colorModeSelectionEnabled:s}=yt();return a.createElement(h,{axis:"vertical",spacing:a.createElement(u,null)},a.createElement(k,{columns:"auto 1fr auto",alignment:"start",spacing:2,padding:2,paddingTop:1,width:"100%"},a.createElement(A,{source:o,size:"md"}),a.createElement(h,{axis:"vertical",spacing:1,grow:0,shrink:1},a.createElement(ma,{paddingTop:.5,lineHeight:3.25},c),t&&a.createElement(E,{to:r,style:{color:"var(--t-icon-color-default-secondary)"},size:3,onClick:()=>setTimeout(()=>e(),50)},"My profile"),a.createElement(E,{to:n,style:{color:"var(--t-icon-color-default-secondary)"},size:3},"My login settings"),a.createElement(h,{axis:"horizontal",alignment:"center",spacing:.5,width:"100%"},a.createElement(g,{name:i?"general.lock":"general.unlock",size:"sm",color:i?"var(--t-icon-color-status-success-primary)":"var(--t-icon-color-status-error-primary)"}),a.createElement(f,{size:5,weight:400,color:"var(--t-text-color-default-secondary)",wrap:!0},"Two-step verification ",i?"active":"inactive"))),a.createElement(p,{icon:{fill:"var(--t-icon-color-default-dim)",name:"general.x",size:"md"},onClick:e,title:"Close",variant:"naked",theme:!1,marginTop:.25,hover:{backgroundColor:"var(--t-fill-color-neutral-070)"}})),s&&a.createElement(k,{padding:2},a.createElement(Jt,null)),a.createElement("form",{method:"POST",action:l},a.createElement(p,{"data-turbolinks":!1,onClick:()=>{je()},style:{padding:0},theme:!1,type:"submit",width:"100%"},a.createElement(h,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:3,paddingVertical:2},a.createElement(f,{color:"var(--text-color-default-secondary)",size:3},"Log out"),a.createElement(g,{name:"general.intoBox",fill:"var(--t-icon-color-default-secondary)"})))))},icons:{staticDotPath:"",staticPath:""},name:"Profile"},Ya=["children","className","current","onClick"];function en(e,t){var a,n;const l=an[e];return null!=(a=null==l||null==(n=l.storageExemptPaths)?void 0:n.includes(t))&&a}const tn={Chat:Ka,Notifications:za,Profile:Qa,Tasks:Wa},an=Object.fromEntries(Object.entries(tn).map(([e,t])=>[e.toLowerCase(),t]));function nn({appName:i,autoMountTool:c,env:s,helpdeskConfig:d={},linkToProfile:u=!0,userAvatarPath:p,userName:h,onReceiveTasksWorker:f,_storeDataOverride:v}){const[E,C,b]=function(){const e="toolbar",[t,a]=function(e){const t=r(()=>new RegExp(`${e}=([^&]+)`),[e]),a=o(e=>{const a=e.match(t);return a?a[1]:null},[t]),[i,c]=l(()=>a(location.hash)),s=o(e=>{c(a(e))},[]);return n(()=>{function e(){s(location.hash)}return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[s]),[i,s]}(e),i=o((t,n="")=>{const l=`#${e}=${t}/${n}`;history.replaceState(void 0,"",l),a(l)},[a]);return[r(()=>{if(t){const[e,...a]=t.split("/");return{path:a.join("/"),tool:e}}return null},[t]),i,o(()=>{history.replaceState(void 0,"","#"),a("")},[])]}(),[w,y]=function(e){const[t,a]=function(e){const[t,a]=l(()=>function(e){const t=document.cookie.split(";").map(e=>e.trim()).find(t=>t.startsWith(`${e}=`));return t&&decodeURIComponent(t.split("=")[1])}(e));return[t,o(t=>{document.cookie=`${e}=${encodeURIComponent(t)}; ${la}`,a(t)},[e])]}("topbarToolbarToolState");return[r(()=>{if(!t)return{};try{return JSON.parse(t)}catch(e){return{}}},[t]),o(e=>a(JSON.stringify(e)),[a])]}(),k=c?tn[c]:null,[A,x]=t.useReducer(Ca,F({},Ea,{currentContent:k})),{currentContent:Z,open:V}=A,M=!!Z,S=yt(),{indicatorVisible:H,joltPromise:P,userId:N}=F({},S,"development"===s&&null!=v?v:{}),L=kt();a.useEffect(()=>{V?(document.body.style.overflow="hidden",window.scrollTo(0,0)):document.body.style.overflow="auto"},[V]),a.useEffect(()=>{const e=Ue.subscribe(e=>{!1===e.toolbarDrawerOpen&&V&&(b(),x({type:va.close}),setTimeout(()=>x({type:va.unmount}),100))});return()=>{e()}},[V,b]),a.useEffect(()=>(window.openHelpdesk=()=>W(Za),()=>{delete window.openHelpdesk}),[Za]);const T=Rt({appName:i.replace(/[\s-]/,""),env:s,userId:N}),O=`${e(s)("login")}/logout`,_=`/people/AC${N}`,D=Za,I=o(e=>{x({payload:{content:e},type:va.mount}),setTimeout(()=>{x({type:va.open}),L({toolbarDrawerOpen:!0})})},[]),U=o(e=>{if(e.name.toLowerCase()in an){const t=w[e.name.toLowerCase()],a=t&&en(e.name.toLowerCase(),t);C(e.name.toLowerCase(),a?"":t)}else b(),I(e)},[C,b,I,w]),R=o(()=>{b(),x({type:va.close}),setTimeout(()=>x({type:va.unmount}),100),L({toolbarDrawerOpen:!1})},[b]);a.useEffect(()=>{if(!E)return;if(en(E.tool,E.path))return;const e=F({},w,{[E.tool]:E.path});Oe(e,w)||y(e)},[E,w]),a.useEffect(()=>{null==E||!E.tool||Z===an[E.tool]&&V||I(an[E.tool])},[I,null==E?void 0:E.tool,Z,V]);const $=e=>V&&(null==Z?void 0:Z.name)===e.name?R():U(e),{displayChatIcon:j,unreadIndicator:B}=(({disconnectJoltOnUnmount:e=!0,env:t,isEnabled:a,joltPromise:r,userId:o})=>{const[i,c]=l(!1),[s,d]=l(!1),m=()=>(async()=>{const e=`${window.location.origin}/~api/chat/v2/me`,t=`?fields[Person]=${["can_chat_pending_age_check","unread_messages"].join(",")}`,{json:a}=await ee(Q,`${e}${t}`);return a})().then(({data:e})=>{const{can_chat_pending_age_check:t,unread_messages:a}=e.attributes;d(a),c(t)}).catch(Xa),u=Pe({channelName:`chat.people.${o}`,disconnectJoltOnUnmount:e,enabled:a&&!!o,env:t,fetchSubscribeToken:async e=>{const t=`${window.location.origin}/~api/chat/v2/me/jolt_subscribe`;return ee(Y,t,{data:{data:{attributes:{cid:e}}},method:"POST"}).then(({json:e})=>e.data.id)},joltPromise:r});return Te(a?u:void 0,"STREAM_USER_UPDATED",m),n(()=>{a&&m()},[a]),{displayChatIcon:i,unreadIndicator:s}})({disconnectJoltOnUnmount:null==S?void 0:S.disconnectJoltOnUnmount,env:s,isEnabled:Boolean(N),joltPromise:null==S?void 0:S.joltPromise,userId:N}),q=[za,Wa,j&&Ka].filter(Boolean),W=e=>{var t;$(e),null==(t=document.getElementById(`toolbarDrawer${e.name}`))||t.scrollTo({behavior:"smooth",top:0})},J={Profile:{closeDrawer:R,linkToProfile:u,loginSettingsUrl:T,logoutUrl:O,profileUrl:_,userAvatarPath:p},Tasks:{onReceiveWorker:f}},G=o(e=>{C(null==Z?void 0:Z.name.toLowerCase(),e)},[null==Z?void 0:Z.name]),K=F({appName:i,closeDrawer:R,currentPath:(null==E?void 0:E.tool)&&an[E.tool]===Z?null==E?void 0:E.path:null,env:s,helpdeskConfig:d,isOpen:V,joltPromise:P,onChangePath:G,openDrawer:()=>Z&&U(Z),userId:N},Z?J[Z.name]:{}),X=F({},H,{Chat:B});return a.createElement(m,{theme:Bt},a.createElement(z,null,a.createElement("div",{className:"toolbar-KHJR5","data-pendo":"toolbar-profile-support-wrapper"},a.createElement(ln,{"aria-label":`Open ${h}’s profile drawer`,onClick:()=>$(Qa),"data-pendo":"toolbar-profile",className:"toolbar-button--avatar-5FUik"},a.createElement(Ot,{env:s,url:p})),a.createElement(ln,{className:"toolbar-button--home-Pthd0",onClick:()=>R()},a.createElement(g,{name:"toolbar.planningCenter",size:"24px"})),[D,...q].map(e=>{const t=X[e.name];return a.createElement(ln,{current:V&&Z===e,onClick:()=>W(e),id:on(e.name),"aria-label":`Open ${e.name} drawer`,"data-pendo":on(e.name),key:e.name},!t&&a.createElement(rn,{path:e.icons.staticPath}),t&&a.createElement(rn,{path:e.icons.staticDotPath,dot:!0}))})),a.createElement(ca,{isVisible:V},M&&a.createElement(ia,{id:`toolbarDrawer${Z.name}`},a.createElement(Z.component,F({},K))))))}const ln=e=>{let{children:t,className:n,current:l=!1,onClick:r}=e,o=W(e,Ya);return a.createElement("button",F({type:"button",className:K("toolbar-button-Ye4h5",n,l&&"is-current-DZK47"),onClick:r,"data-toolbar-link":"true"},o),t)};function rn({dot:e,path:t}){return a.createElement("svg",{"aria-hidden":"true",width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:t}),e&&a.createElement("circle",{fill:"var(--t-icon-color-status-error-primary)",cx:"24",cy:"8",r:"4"}))}function on(e){return"Chat"===e?"toolbar-pcochat":`toolbar-${e.toLowerCase()}`}export{Re as AppsProvider,ie as BellIcon,Fe as ConnectedPeopleProvider,We as DisplaySwitch,Lt as NotSmallRoute,Nt as NotSmallTopbar,Ce as PlatformAnnouncements,Ee as PlatformAnnouncementsStyleProvider,Ae as ProductAnnouncement,xe as ProductAnnouncementStyleProvider,aa as SmallRoute,ta as SmallTopbar,me as SpyglassIcon,ve as StyledPlatformAnnouncement,Ze as StyledProductAnnouncement,Ve as StyledProductAnnouncementDimissButton,ga as SwitchView,nn as Toolbar,ue as XIcon,$e as mapApps,Y as railsCsrfFetch};
|
|
2
2
|
//# sourceMappingURL=topbar.modern.js.map
|