PageSourceSearch

https://app.pigeon-post.ai/_next/static/chunks/app/layout-26073aee64e88a3a.js

js pigeon-post.ai collected 2026-10-05 13:54:42 UTC 5,342 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b3e6655b-7ccc-403b-90aa-3f442ddf32bf",e._sentryDebugIdIdentifier="sentry-dbid-b3e6655b-7ccc-403b-90aa-3f442ddf32bf")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{35262:(e,r,t)=>{"use strict";t.d(r,{ClientProviders:()=>y});var n=t(5039),s=t(17861),l=t(27541),o=t(7620),i=t(95113),a=t(56215);let u=e=>{let{children:r}=e;return c({protectedRoutes:["/home","/friends","/saved-cards","/profile"],excludeRoutes:["/verify-email","/login","/signup","/forgot-password","/reset-password","/verifying","/start","/onboarding"]}),r},c=e=>{var r,t,n,s,u;let c=(0,l.useRouter)(),d=(0,l.usePathname)(),{data:b,isLoading:p,isError:v,isFetched:f}=(0,i.u)(),{protectedRoutes:h,excludeRoutes:m}=e,y=(null==b||null==(r=b.data)?void 0:r.user)||null,g=null!=(s=null==y?void 0:y.emailVerified)?s:null,k=null!=(u=null==y?void 0:y.currentOrgId)?u:null;return(0,o.useEffect)(()=>{a.c_.getState().setWorkspace(k)},[k]),(0,o.useEffect)(()=>{var e;if((null==b||null==(e=b.data)?void 0:e.user)&&!m.some(e=>d.startsWith(e))&&(!(h.length>0)||h.some(e=>d.startsWith(e)))){if(!1===b.data.user.emailVerified)return void c.replace("/verifying");if(!1===b.data.user.hasCompletedOnboarding)return void c.replace("/start/welcome")}},[p,v,g,null==b||null==(n=b.data)||null==(t=n.user)?void 0:t.hasCompletedOnboarding,d,c]),{isEmailVerified:g,isLoading:p,isError:v,isFetched:f,user:y}};var d=t(8888);function b(e){var r,t;let{children:s}=e,{data:l}=(0,i.u)(),o=null==l||null==(t=l.data)||null==(r=t.user)?void 0:r.id;return(0,n.jsx)(d.sV,{userId:o,children:s})}var p=t(89211),v=t(14425);let f="phc_Ah9ysUXxJAyL3SwWwkwPzji9BjtyiFrrSU8dmSbSLLZG";function h(){let e=(0,l.usePathname)(),r=(0,l.useSearchParams)();return(0,o.useEffect)(()=>{if(!e||!f)return;let t=window.location.origin+e,n=null==r?void 0:r.toString();n&&(t="".concat(t,"?").concat(n)),p.Ay.capture("$pageview",{$current_url:t})},[e,r]),null}function m(e){let{children:r}=e;return(0,n.jsxs)(v.so,{client:p.Ay,children:[(0,n.jsx)(o.Suspense,{fallback:null,children:(0,n.jsx)(h,{})}),r]})}function y(e){let{children:r}=e;return(0,n.jsx)(m,{children:(0,n.jsx)(s.N0,{children:(0,n.jsx)(u,{children:(0,n.jsx)(b,{children:r})})})})}f&&p.Ay.init(f,{api_host:"https://us.i.posthog.com",capture_pageview:!1,capture_pageleave:!0,autocapture:!0,session_recording:{maskAllInputs:!0,maskInputOptions:{password:!0,email:!0,tel:!0}},persistence:"localStorage+cookie",loaded:e=>{}})},35343:()=>{},38280:()=>{},41540:(e,r,t)=>{"use strict";t.d(r,{default:()=>s});var n=t(17861);function s(){return(0,n.XL)(),null}},56215:(e,r,t)=>{"use strict";t.d(r,{VV:()=>d,c_:()=>c});var n=t(71620),s=t(50848);let l={plural:"Children",singular:"child"},o="Friends",i="personal",a=1,u=(0,s.KU)(()=>window.localStorage),c=(0,n.v)()((0,s.Zr)((e,r)=>({byWorkspace:{},activeWorkspaceId:i,subAccounts:[],activeFromSubAccountId:null,childrenLabel:l,friendsListLabel:o,setWorkspace:t=>{var n;let s=t||i,l=null!=(n=r().byWorkspace[s])?n:[];e({activeWorkspaceId:s,subAccounts:l,activeFromSubAccountId:null})},setChildrenLabel:r=>e({childrenLabel:r}),setFriendsListLabel:r=>e({friendsListLabel:r.trim()||o}),addSubAccount:r=>{let{type:t,name:n}=r,s={id:"sub_".concat(Date.now(),"_").concat(a++),type:t,name:n.trim()};return e(e=>{var r;let t=e.activeWorkspaceId,n=[...null!=(r=e.byWorkspace[t])?r:[],s];return{subAccounts:n,byWorkspace:{...e.byWorkspace,[t]:n}}}),s},updateSubAccount:(r,t)=>e(e=>{var n;let s=e.activeWorkspaceId,l=(null!=(n=e.byWorkspace[s])?n:[]).map(e=>e.id===r?{...e,...t}:e);return{subAccounts:l,byWorkspace:{...e.byWorkspace,[s]:l}}}),removeSubAccount:r=>e(e=>{var t;let n=e.activeWorkspaceId,s=(null!=(t=e.byWorkspace[n])?t:[]).filter(e=>e.id!==r);return{subAccounts:s,byWorkspace:{...e.byWorkspace,[n]:s},activeFromSubAccountId:e.activeFromSubAccountId===r?null:e.activeFromSubAccountId}}),setActiveFromSubAccount:r=>e({activeFromSubAccountId:r})}),{name:"pigeon-post-sub-accounts",version:2,storage:u,partialize:e=>({byWorkspace:e.byWorkspace,childrenLabel:e.childrenLabel,friendsListLabel:e.friendsListLabel}),migrate:(e,r)=>{let t=null!=e?e:{};if(r<2){let e=Array.isArray(t.subAccounts)?t.subAccounts:[];return{...t,byWorkspace:{[i]:e},subAccounts:[]}}return t},onRehydrateStorage:()=>e=>{if(e){var r,t;e.subAccounts=null!=(t=e.byWorkspace[null!=(r=e.activeWorkspaceId)?r:i])?t:[]}}})),d=e=>"pet"===e?"#E8A852":"#7BA88E"},71407:(e,r,t)=>{Promise.resolve().then(t.bind(t,60174)),Promise.resolve().then(t.t.bind(t,45165,23)),Promise.resolve().then(t.t.bind(t,91828,23)),Promise.resolve().then(t.t.bind(t,91904,23)),Promise.resolve().then(t.t.bind(t,31508,23)),Promise.resolve().then(t.t.bind(t,41400,23)),Promise.resolve().then(t.t.bind(t,57078,23)),Promise.resolve().then(t.bind(t,75553)),Promise.resolve().then(t.bind(t,718)),Promise.resolve().then(t.bind(t,35262)),Promise.resolve().then(t.t.bind(t,35343,23)),Promise.resolve().then(t.t.bind(t,38280,23)),Promise.resolve().then(t.bind(t,41540))}},e=>{e.O(0,[815,3644,9535,803,3614,7685,5553,3335,7776,7736,4685,3344,6056,5,308,9439,8841,7861,8888,7710,587,7206,7358],()=>e(e.s=71407)),_N_E=e.O()}]);

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