PageSourceSearch

https://getgrowbase.com/_next/static/chunks/424-4d4859dba9398837.js

js getgrowbase.com collected 2026-10-09 03:13:50 UTC 5,431 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:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8aad2727-2217-437f-a69f-662c76a847cf",e._sentryDebugIdIdentifier="sentry-dbid-8aad2727-2217-437f-a69f-662c76a847cf")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[424],{1222:(e,n,r)=>{r.d(n,{C:()=>d});var t=r(12115),a=r(5079),o=r(62476);let i=async e=>{let n=await fetch(e,{cache:"no-store"});if(!n.ok){let e=Error("Failed to load workspaces");throw e.status=n.status,e}return n.json()};function d(){var e,n;let{data:r,error:d,isLoading:c,mutate:l}=(0,a.c)("/api/workspace/active",i),[s,u]=(0,t.useState)(!1),w=(0,t.useCallback)(()=>{l()},[l]);(0,t.useEffect)(()=>(0,o.CQ)(()=>window.location.reload()),[]);let m=(0,t.useCallback)(async e=>{u(!0);try{if(!(await fetch("/api/workspace/switch",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({accountId:e})})).ok)throw Error("Failed to switch workspace");(0,o.sF)("/dashboard","switch")}catch(e){throw u(!1),e}},[]);return{active:null!=(e=null==r?void 0:r.active)?e:null,workspaces:null!=(n=null==r?void 0:r.workspaces)?n:[],loading:c,error:d?d.message||"Unknown error loading workspaces":null,switching:s,switchTo:m,refetch:w}}},5079:(e,n,r)=>{r.d(n,{c:()=>d});var t=r(46512),a=r(48391),o=r(70405),i=r(59666);function d(e,n,r){let{user:d}=(0,a.A)(),c=(0,o.p)(),l=!c,s=(0,t.Ay)(c&&d&&e?e:null,null!=n?n:i.G,r);return{get data(){return s.data},get error(){return s.error},get isValidating(){return s.isValidating},get isLoading(){return s.isLoading||l},get needsUpgrade(){return(0,i.e)(s.error)},mutate:s.mutate,gated:l}}},25016:(e,n,r)=>{r.d(n,{O:()=>d,cn:()=>o});var t=r(2821),a=r(75889);function o(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0,a.QP)((0,t.$)(n))}let i=["media.licdn.com","platform-lookaside.fbsbx.com","scontent.cdninstagram.com","graph.facebook.com","pbs.twimg.com","lh3.googleusercontent.com"];function d(e){if(!e)return!1;try{let n=new URL(e);if("https:"!==n.protocol)return!1;return i.some(e=>n.hostname===e||n.hostname.endsWith("."+e))}catch(e){return!1}}},59666:(e,n,r)=>{function t(e){return(null==e?void 0:e.status)===402||(null==e?void 0:e.code)==="ENTITLEMENT_REQUIRED"}r.d(n,{G:()=>a,e:()=>t});let a=async e=>{let n=await fetch(e);if(!n.ok){var r;let e=await n.json().catch(()=>({})),t=Error(null!=(r=e.error)?r:"Fetch failed");throw t.status=n.status,t.code=e.code,t.detail=e.error,t}return n.json()}},61352:(e,n,r)=>{r.d(n,{$3:()=>a,Qw:()=>o,iA:()=>i,nA:()=>c});let t={"article.view":["owner","admin","editor","viewer"],"article.edit":["owner","admin","editor"],"article.publish":["owner","admin","editor"],"article.delete":["owner","admin","editor"],"social.schedule":["owner","admin","editor"],"composer.generate":["owner","admin","editor"],"strategy.view":["owner","admin","editor","viewer"],"strategy.run":["owner","admin","editor"],"befund.run":["owner","admin","editor"],"befund.view":["owner","admin","editor","viewer"],"prompt.manage":["owner","admin","editor"],"measurement.view":["owner","admin","editor","viewer"],"measurement.run":["owner","admin","editor"],"alto.chat":["owner","admin","editor","viewer"],"integration.manage":["owner","admin"],"brand.edit":["owner","admin"],"member.view":["owner","admin","editor","viewer"],"member.invite":["owner","admin"],"member.remove":["owner","admin"],"member.change_role":["owner","admin"],"member.promote_owner":["owner"],"member.manage_owner":["owner"],"ownership.transfer":["owner"],"billing.view":["owner","admin"],"billing.manage":["owner","admin"],"ads.campaign.create":["owner"],"ads.campaign.update":["owner"],"account.rename":["owner","admin"],"account.delete":["owner"],"account.restore":["owner"],"activity.view":["owner","admin","editor","viewer"],"wiki.edit":["owner","admin","editor"],"memory.edit":["owner","admin","editor"],"automation.manage":["owner","admin","editor"]};function a(e,n){return!!e&&t[n].includes(e)}function o(e){if(!e)return new Set;let n=new Set;for(let[r,a]of Object.entries(t))a.includes(e)&&n.add(r);return n}function i(e,n){return"".concat(n," d\xfcrfen ").concat(function(e){let n=Object.keys(d).filter(n=>e.includes(n)).map(e=>d[e]);return 0===n.length?"":1===n.length?n[0]:"".concat(n.slice(0,-1).join(", ")," und ").concat(n[n.length-1])}(t[e]),".")}let d={owner:"Inhaber",admin:"Admins",editor:"Bearbeiter",viewer:"Betrachter"};function c(e,n,r){return[r,i(e,n),"Ein Admin oder Inhaber Ihres Workspace kann Ihre Rolle \xe4ndern."].filter(
1Boolean).join(" ")}},62476:(e,n,r)=>{r.d(n,{CQ:()=>i,sF:()=>d});let t="growbase:workspace-switch",a=Math.random().toString(36).slice(2),o=null;function i(e){let n;if("undefined"==typeof BroadcastChannel)return()=>{};try{n=new BroadcastChannel(t)}catch(e){return()=>{}}return n.onmessage=n=>{var r;(null==(r=n.data)?void 0:r.tabId)!==a&&e()},()=>n.close()}function d(e,n){var r;try{null==(r=function(){if("undefined"==typeof BroadcastChannel)return null;try{null!=o||(o=new BroadcastChannel(t))}catch(e){return null}return o}())||r.postMessage({tabId:a,reason:n})}catch(e){null==o||o.close(),o=null}window.location.assign(e)}},70405:(e,n,r)=>{r.d(n,{p:()=>a});var t=r(12115);function a(){let[e,n]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{n(!0)},[]),e}}}]);

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.