PageSourceSearch

https://static.snapchat.com/snapchat-dot-com/_next/static/chunks/p…/community/onboarding-576850484e9de93b.js

js snapchat.com collected 2026-09-24 09:05:09 UTC 8,995 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3884],{22804:function(e,n,t){"use strict";t.d(n,{D:function(){return m}});var o=t(11269),i=t(85188),a=t(57611),r=t(2784),s=t(42670),c=t(99418),p=t(51272),l=t.n(p),u=t(52322);function m(e){var n=e.oneLinkUrl,t=e.pageType,p=o.PageType[t].toUpperCase(),m=(0,r.useContext)(i.PageContext),d=m.webClientId,y=void 0===d?"":d,C=m.isMobile,g=function(){(0,o.reportWebAction)({pageType:t,webClientId:y,actionName:o.WebActionName.OpenInSnapchatCta})};return C?(0,u.jsx)("div",{className:l().headerWrapper,children:(0,u.jsx)("a",{href:n,className:l().mobileInstallButton,onClick:function(){g(),(0,a.incrementCounter)("".concat(c.m,".").concat(p,".Install.Click"))},children:(0,u.jsx)(s.Z,{id:"Ktumb9",defaultMessage:[{type:0,value:"Install"}]})})}):(0,u.jsx)(u.Fragment,{})}},17241:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return z},default:function(){return H}});var o=t(95235),i=t(40694),a=t(11269),r=t(71612),s=t(61733),c=t(85188),p=t(57611),l=t(91157),u=t(66891),m=t(81095),d=t(2784),y=t(83112),C=t(52005),g=t(42670),b=t(22787),j=t.n(b),f=t(52322);function h(){var e=(0,d.useContext)(c.PageContext).isMobile;return(0,f.jsx)("h2",{className:e?j().joinCommunityDescriptionMobile:j().joinCommunityDescriptionDesktop,children:(0,f.jsx)(g.Z,{id:"M/L9fF",defaultMessage:[{type:0,value:"Discover what's happening on campus, find friends, and add to the school Story."}]})})}var _=t(36880),T=t.n(_);function v(e){var n=e.buttonUrl,t=a.PageType.JOIN_COMMUNITY,o=(0,m.useGetWebClientId)()||"",i=(0,d.useContext)(c.PageContext).isMobile;return(0,f.jsx)("div",{"data-testid":i?"mobile-join-on-snapchat-button":"desktop-join-on-snapchat-button",className:i?T().joinOnSnapchatButtonWrapperMobile:T().joinOnSnapchatButtonWrapperDesktop,onClick:function(){return(0,a.reportWebAction)({pageType:t,webClientId:o,actionName:a.WebActionName.ButtonClick,actionSource:a.WebActionSource.JoinCommunityOnSnapchat,destination:i?"":n,deepLinkUrl:i?n:""})},children:(0,f.jsx)("a",{href:n,children:(0,f.jsx)(g.Z,{id:"zJwv0D",defaultMessage:[{type:0,value:"Join on Snapchat"}]})})})}var w=t(8428),k=t.n(w);function M(){var e=(0,d.useContext)(c.PageContext).isMobile;return(0,f.jsx)("h1",{className:e?k().joinCommunityTitleMobile:k().joinCommunityTitleDesktop,children:(0,f.jsx)(g.Z,{id:"6V6iYa",defaultMessage:[{type:0,value:"You're invited to join Snapchat Community"}]})})}var x=t(87011),O=t.n(x);function P(){var e=a.PageType[a.PageType.JOIN_COMMUNITY];return(0,f.jsxs)("div",{className:O().joinCommunityContainer,"data-testid":"desktop-join-community-container",children:[(0,f.jsx)(M,{}),(0,f.jsx)(h,{}),(0,f.jsx)(v,{buttonUrl:"https://www.snapchat.com/download?purpose=snapchat_dot_com&sp=".concat(e)})]})}var U=t(22804),D=t(97194),I=t.n(D);function N(e){var n=e.buttonUrl,t=a.PageType.JOIN_COMMUNITY,o=(0,m.useGetWebClientId)()||"";return(0,f.jsx)("div",{"data-testid":"mobile-join-different-community-button",className:I().joinDifferentCommunityButtonWrapper,onClick:function(){return(0,a.reportWebAction)({pageType:t,webClientId:o,actionName:a.WebActionName.ButtonClick,actionSource:a.WebActionSource.JoinDifferentCommunityOnSnapchat,deepLinkUrl:n})},children:(0,f.jsx)("a",{href:n,children:(0,f.jsx)(g.Z,{id:"FI6Tpt",defaultMessage:[{type:0,value:"Join a different school"}]})})})}var L=t(11879),S=t.n(L);function W(e){var n=e.oneLinkUrl,t=e.enableJoinDifferentCommunityButton,o=a.PageType.JOIN_COMMUNITY;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(U.D,{oneLinkUrl:n,pageType:o}),(0,f.jsx)("div",{className:S().joinCommunityContainer,"data-testid":"mobile-join-community-container",children:(0,f.jsxs)("div",{className:S().joinCommunityContents,children:[(0,f.jsx)(M,{}),(0,f.jsx)(h,{}),(0,f.jsx)(v,{buttonUrl:n}),void 0!==t&&t&&(0,f.jsx)(N,{buttonUrl:n})]})})]})}function J(e){return(0,d.useContext)(c.PageContext).isMobile?(0,f.jsx)(W,{oneLinkUrl:e.oneLinkUrl}):(0,f.jsx)(P,{})}var A=t(22313),B=t(74408),G=t(49746),E=t(99418),Y=t(40891);function F(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,o)}return t}function V(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?F(Object(t),!0).forEach(function(n){(0,o.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var Z=function(e){var n=(0,y.Z)(),t=n.formatMessage({id:"3GhY2b",defaultMessage:[{type:0,value:"Join Community on Snapchat!"}]}),o=n.formatMessage({id:"ePV5cJ",defaultMessage:[{type:0,value:"Join, connect, and thrive in vibrant Snapchat communities."}]}),C=(0,l.useLocale)({defaultLocale:e.locale,defaultMessages:e.messages,loadMessages:G.E,metricsPage:"join_community"}),g=C.locale,b=C.messages,j=C.changeLocale,h=(0,d.useMemo)(function(){return{pageType:a.PageType.JOIN_COMMUNITY,pageTitle:t,pageDescription:o}},[o,t]);(0,m.useEssentialSession)();var _=(0,m.useCreateOrUpdateWebClientId)({isGdpr:e.isGdprCountry}),T=(0,a.useGenerateWebPageViewTraceId)().traceId,v=a.PageType[h.pageType].toLowerCase(),w=(0,B.$E)(v),k=(0,B.i8)(v),M=(0,c.consumerWebOneLinkParams)({pageTypeName:a.PageType[h.pageType].toLowerCase(),deepLinkUrl:B.W1,iosAppStoreUrl:w,desktopPageUrl:k}),x={oneLinkUrl:(0,c.useOneLinkUrlGenerator)({oneLinkParams:M,webClientId:_,pageType:a.PageType.JOIN_COMMUNITY,webPageViewTraceId:T}).snapchatOneLink,downloadUrl:k,snapchatDeepLinkUrl:B.W1,canonicalUrl:"https://www.snapchat.com/community/onboarding"},O="https://link.snapchat.com/community/onboarding/preview.png",P={canonicalUrl:x.canonicalUrl,facebookImage:{url:"".concat(O),size:{width:1200,height:628}},twitterImage:{url:"".concat(O),size:{width:1200,height:600}},title:h.pageTitle,description:h.pageDescription,snapchatTitle:h.pageTitle};(0,d.useEffect)(function(){(0,p.incrementCountsByPageAndCountry)(A.M,a.PageType[h.pageType],1,e.country)},[e,h.pageType]);var U=(0,u.usePageLoadMetrics)(a.PageType[h.pageType],E.m);(0,r.useWebSession)(h.pageType,U,_);var D=(0,d.useMemo)(function(){return(0,Y.I)()},[]),I={locale:g,openInSnapchatLink:x.oneLinkUrl,downloadUrl:x.downloadUrl,localeChange:j,oneLinkParams:M,webClientId:_,webPageViewTraceId:T,pageType:h.pageType};return(0,f.jsx)(c.Shell,V(V({},D),{},{isGDPRCountry:e.isGdprCountry,locale:g,messages:b,direction:(0,l.getDirectionForLocale)(g),country:e.country,title:h.pageTitle,pageMetadata:h,webClientId:_,webPageViewTraceId:T,canonicalUrl:x.canonicalUrl,description:h.pageDescription,gaid:e.isGdprCountry?void 0:i.WWW_DOT_SNAPCHAT_DOT_COM_GA,snapchatDeepLinkUrl:x.snapchatDeepLinkUrl,linkPreview:P,children:(0,f.jsx)(c.PageFrame,{locale:g,appType:s.ConsumerApp.Unset,pageType:h.pageType,downloadUrl:(0,c.generateAttributedDownloadUrl)(h.pageType),webClientId:_,webPageViewTraceId:T,showSnapchatAdsUrl:!0,localeChange:j,messages:b,showWhiteBgOnBottomNav:!0,footerProps:I,disableMobileBottomNav:!0,children:(0,f.jsx)(J,{oneLinkUrl:x.oneLinkUrl})})}))},z=!0,H=function(e){var n=(0,l.getLocale)(e.locale);return(0,f.jsx)(C.Z,{locale:n,messages:e.messages,defaultLocale:l.Locale.enUS,children:(0,f.jsx)(Z,V({},e))})}},54536:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/community/onboarding",function(){return t(17241)}])},87011:function(e){e.exports={joinCommunityContainer:"DesktopJoinCommunity_joinCommunityContainer__vztfo"}},11879:function(e){e.exports={joinCommunityContainer:"MobileJoinCommunity_joinCommunityContainer__6MGRy",joinCommunityContents:"MobileJoinCommunity_joinCommunityContents__bMwhz"}},22787:function(e){e.exports={joinCommunityDescription:"description_joinCommunityDescription__L44NF",joinCommunityDescriptionMobile:"description_joinCommunityDescriptionMobile__kJem5 description_joinCommunityDescription__L44NF",joinCommunityDescriptionDesktop:"description_joinCommunityDescriptionDesktop__Larhl description_joinCommunityDescription__L44NF"}},97194:function(e){e.exports={joinDifferentCommunityButtonWrapper:"button_joinDifferentCommunityButtonWrapper__gzJcu"}},36880:function(e){e.exports={joinOnSnapchatButtonWrapperMobile:"button_joinOnSnapchatButtonWrapperMobile__EgGkS",joinOnSnapchatButtonWrapperDesktop:"button_joinOnSnapchatButtonWrapperDesktop__1TOc7"}},8428:function(e){e.exports={joinCommunityTitle:"title_joinCommunityTitle__AvvSv",joinCommunityTitleMobile:"title_joinCommunityTitleMobile__vHh3Y title_joinCommunityTitle__AvvSv",joinCommunityTitleDesktop:"title_joinCommunityTitleDesktop__JX7T5 title_joinCommunityTitle__AvvSv"}},51272:function(e){e.exports={headerWrapper:"MobileHeader_headerWrapper__vVUVH",mobileInstallButton:"MobileHeader_mobileInstallButton__8Ahkw"}}},function(e){var n=function(n){return e(e.s=n)};e.O(0,[6018,2888,9774,179],function(){return n(56209),n(54536)}),_N_E=e.O()}]);
2//# sourceMappingURL=onboarding-576850484e9de93b.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.