PageSourceSearch

https://dashboard.visme.co/v2/static/js/brandHomePage.dd119bc851df04b7.chunk.js

js visme.co collected 2026-10-01 08:33:02 UTC 3,031 bytes, 3 lines download raw bytes

1(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"4.106.2@5fb3279d0cc"};var r=new n.Error().stack;r&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[r]="f4564025-d4af-4abb-89be-4bfa7b0bb2bf",n._sentryDebugIdIdentifier="sentry-dbid-f4564025-d4af-4abb-89be-4bfa7b0bb2bf")}catch{}})(),(self.webpackChunkvisme_dashboard_web_app=self.webpackChunkvisme_dashboard_web_app||[]).push([["4387"],{35844(n,r,t){t.r(r),t.d(r,{default:()=>K});var c=t(65723),a=t(22155),E=t(17990),H=t(5946),j=t(70851),Q=t(98177),S=t(13243),g=t(78624),W=t(37655),J=t(9177),y=t(40103),b=t(62301),$=t(7637),f=t(37588),l=t(44604),x=t(45773),u=t(53702),F=t(70060);const m={BrandHomePage:"BrandHomePage--mgwwI2V",wizard:"wizard--L_RSCCq",hidden:"hidden--SJaEziI"},G=()=>{const{appStore:Y,uiStateStore:p}=(0,F.g)(),{settings:i,workspaces:w,auth:P}=Y,{popupStore:V}=p,h=(0,E.Zp)(),v=(0,E.g)(),[o]=(0,H.ok)(),C=e=>{const d=o.get("url"),s={};d&&(s.url=d),o.get("trigger")&&(s.trigger=o.get("trigger")),o.get("welcome")&&(s.welcome=o.get("welcome")),o.get(g.gN)&&(s[g.gN]=o.get(g.gN)),i.isSalesForce&&(s.salesforce="1");const B=S.A.parseUrl(e);return Object.assign(s,B.query),Object.keys(s).length?`${B.url}?${S.A.stringify(s)}`:e},[A,L]=a.useState(!0),[I,Z]=a.useState(!1),[N,X]=a.useState(!1),[D,M]=a.useState(""),R=e=>{e.data?.action?.match(/^dashboard:/)&&(window.opener?window.opener.postMessage(e.data,"*"):window.parent&&window.parent.postMessage(e.data,"*"))},U=()=>v?.scope||y.KQ.ASSETS,O=()=>{h({pathname:(0,u._J)(f.a$.HOME)})},k=()=>{h({pathname:(0,u._J)(f.a$.HOME),search:"search=branded-templates"})},q=()=>{V.openPopup(b.C.BILLING_UPGRADE,{type:"brand-kit",plan:"team"})},_=async()=>{if(w.subscription.plan===x.m0.EDU_EDUCATOR){q(),O();return}if(!P.checkPermission(l.oC.MANAGE_BRAND)){O();return}},tt=async()=>{const e=U();if(e===y.KQ.TEMPLATES&&i.isSalesForce){k();return}const d=await i.getSectionUrl(e),s=C(d);M(s)};(0,a.useEffect)(()=>{const e=["wizard","wizard-first"].includes(v?.scope);Z(e)},[v?.scope,N]);const T=async()=>{await _(),await tt()};(0,a.useEffect)(()=>{(async()=>await T())()},[p.currentPathname]);const z=()=>{X(!N)};return(0,a.useEffect)(()=>(window?.navigation?.addEventListener("navigate",z),p.popupStore.openPopup(b.C.PROMO_REQUEST_DEMO,{section:"brand"}),addEventListener("message",R),(async()=>{if(await T(),w.hasFeature(l.RI.HIDE_MY_FILES)){h({pathname:(0,u._J)(f.a$.PROJECTS_SCOPE,{scope:$.Dn.OWN})});return}M(C(await i.getSectionUrl(U())))})(),()=>{removeEventListener("message",R),window?.navigation?.removeEventListener("navigate",z)}),[]),(0,a.useEffect)(()=>{L(!0)},[I]),(0,c.jsxs)("div",{className:m.BrandHomePage,children:[A&&(0,c.jsx)(W.A,{}),(0,c.jsx)(J.A,{className:(0,j.A)({[m.wizard]:I,[m.hidden]:A}),onLoad:()=>L(!1),src:D,id:"ifr-branding",customNameConfig:{canManageBrand:P.checkPermission(l.oC.MANAGE_BRAND)}},D)]})},K=(0,Q.PA)(G)}}]);
2
3//# sourceMappingURL=brandHomePage.dd119bc851df04b7.chunk.js.map

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