PageSourceSearch

https://community.dmexco.com/login/_next/static/chunks/7701-3aa23230628426fa.js

js dmexco.com collected 2026-10-01 08:40:42 UTC 11,101 bytes, 1 lines download raw bytes

1try{let 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]="f9c4f6a5-9a72-4885-b461-80887219abad",e._sentryDebugIdIdentifier="sentry-dbid-f9c4f6a5-9a72-4885-b461-80887219abad")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7701],{84793:function(e,n,t){t.d(n,{j:function(){return u}});var r=t(52322),i=t(52841),o=t(5632),a=t(70492);function l(e){let{children:n}=e,t=(0,o.useRouter)(),l=(0,a.I)();return(0,r.jsx)(i.ZP,{application:l,view:t.route,initialView:"/mfa",children:n})}function s(e,n){return(0,r.jsx)(l,{...n,children:e})}function u(e){function n(n){return(0,r.jsx)(e,{...n})}n.getInitialProps=e.getInitialProps;let t=e.getLayout;return n.getLayout=t?(e,n)=>t(s(e,n),n):s,n}},52841:function(e,n,t){t.d(n,{Rk:function(){return d},gv:function(){return g}});var r=t(67862),i=t(52322),o=t(2784),a=t(2473),l=t.n(a),s=t(81548),u=t(91882);function c(){let e=(0,r._)(["\n  fragment MFAOnboardingFragment on Auth_MFAOnboardingUnion {\n    ... on Auth_TOTPOnboarding {\n      keyUri\n      secret\n    }\n  }\n"]);return c=function(){return e},e}let d=(0,s.Ps)(c()),f=(0,o.createContext)({onboarding:null,setOnboarding:()=>void 0,accountId:null,setAccountId:()=>void 0});function p(e){let{children:n,onChange:t}=e,{ref:r,height:a=185}=l()();return(0,o.useEffect)(()=>{t(a)},[a,t]),(0,i.jsx)("div",{ref:r,children:n})}function g(){return(0,o.useContext)(f)}n.ZP=function(e){let{children:n,view:t,initialView:r,application:a,onCancel:l,initialAccountId:s=null}=e,[c,d]=(0,o.useState)(185),[g,h]=(0,o.useState)(null),[m,v]=(0,o.useState)(s),x=(0,o.useMemo)(()=>({onboarding:g,setOnboarding:h,accountId:m,setAccountId:v}),[g,m]);return(0,i.jsx)(u.ZP,{icon:a.webIcon,onCancel:l,appName:a.name,children:(0,i.jsx)(u.sS,{view:t,reversed:r===t,style:{height:c},children:(0,i.jsx)(p,{onChange:d,children:(0,i.jsx)(f.Provider,{value:x,children:(0,i.jsx)(u.ZF,{children:n})})})})})}},98320:function(e,n,t){t.d(n,{ZP:function(){return k},pX:function(){return C}});var r=t(67862),i=t(52322),o=t(46448),a=t(81548),l=t(98983),s=t(82778),u=t(32613),c=t(12866),d=t(47042),f=t(74134),p=t(33379),g=t(52841),h=t(56312);function m(){let e=(0,r._)(["\n  mutation SetupTOTP {\n    onboarding: Auth_setupMFAStrategy(strategy: TOTP) {\n      ...MFAOnboardingFragment\n    }\n  }\n  ","\n"]);return m=function(){return e},e}let v=(0,a.Ps)(m(),g.Rk);var x=function(e){let{onStrategySetupCompleted:n=()=>{},onLeave:t=()=>{},firstName:r}=e,{setOnboarding:a}=(0,g.gv)(),{t:l}=(0,h.$G)(),u=(0,s.h)(),[c,{loading:d}]=(0,p.D)(v,{onError:u,onCompleted:e=>{a(e.onboarding),n()}});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.d,{children:(0,i.jsxs)(h.cC,{i18nKey:"mfa.setup.totp.intro",values:{firstName:r},children:["{{ firstName }}, please get a verification code from an authenticator\n          app after entering your password to confirm your identity.",(0,i.jsx)(o.ZP,{as:"a",variant:"LINK",rel:"noopener noreferrer",target:"_blank",href:l("mfa.setup.totp.intro_link"),children:"Learn how to use an authenticator app."})]})}),(0,i.jsxs)(o.W4,{align:"CENTER",children:[(0,i.jsx)(o.ZP,{variant:"GHOST","aria-label":l("maybe_later_label"),onClick:t,children:l("maybe_later_label")}),(0,i.jsx)(o.ZP,{"aria-label":l("mfa.setup.enable"),loading:d,variant:"FILLED",onClick:()=>c(),children:l("mfa.setup.enable")})]})]})};function b(){let e=(0,r._)(["\n  fragment MFAAccountFragment on Auth_User {\n    id\n    mfaStrategies {\n      kind\n    }\n  }\n"]);return b=function(){return e},e}function _(){let e=(0,r._)(["\n  query MFAMeQuery {\n    me {\n      account {\n        id\n        ...MFAAccountFragment\n      }\n    }\n    user: Core_selfUserV2 {\n      id\n      firstName\n    }\n  }\n  ","\n"]);return _=function(){return e},e}let y=c.ZP.div.withConfig({displayName:"strategies__LoaderWrapper",componentId:"sc-4504028b-0"})(["display:flex;align-items:center;justify-content:center;padding:",";"],e=>{let{theme:n}=e;return n.spacing[4]}),j=(0,a.Ps)(b()),w=(0,a.Ps)(_(),j);function C(e,n,t){let r="Auth_User:".concat(n),i=e.readFragment({fragment:j,id:r});i&&e.writeFragment({fragment:j,id:r,data:{...i,mfaStrategies:t(i.mfaStrategies.map(e=>{let{kind:n}=e;return n})).map(e=>({__typename:"Auth_MFAStrategy",kind:e}))}})}function E(e){let{onRemoveMFA:n,onLeave:t}=e,{t:r}=(0,h.$G)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.D,{children:r("mfa_name")}),(0,i.jsx)(f.d,{children:r("mfa.setup.disable_description")}),(0,i.jsxs)(o.W4,{align:"CENTER",children:[(0,i.jsx)(o.ZP,{"aria-label":r("mfa.setup.disable"),variant:"GHOST_DANGER",onClick:n,children:r("mfa.setup.disable")}),(0,i.jsx)(o.ZP,{"aria-label":r("access_the_app"),variant:"FILLED",onClick:t,children:r("access_the_app")})]})]})}var k=function(e){let{onStartTOTPOnboarding:n,onRemoveMFA:t,onLeave:r}=e,{t:o}=(0,h.$G)(),{setAccountId:a}=(0,g.gv)(),{data:c,loading:f,error:p}=(0,l.aM)(w,{onCompleted:e=>{var n;(null===(n=e.me)||void 0===n?void 0:n.account.id)&&a(e.me.account.id)}});if(!c&&f)return(0,i.jsx)(y,{role:"alert","aria-busy":"true",children:(0,i.jsx)(u.Z,{})});if(!c&&p)return(0,i.jsx)(s.Z,{error:p});let m=null==c?void 0:c.me,v=null==c?void 0:c.user;return m&&v?m.account.mfaStrategies.some(e=>"TOTP"===e.kind)?(0,i.jsx)(E,{onLeave:r,onRemoveMFA:t}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.D,{children:o("mfa.setup.title")}),(0,i.jsx)(x,{onLeave:r,onStrategySetupCompleted:n,firstName:v.firstName})]}):null}},47042:function(e,n,t){t.d(n,{D:function(){return r}});let r=t(12866).ZP.h1.withConfig({displayName:"title__Title",componentId:"sc-726c2b13-0"})(["text-align:center;width:100%;margin-bottom:8px;color:",";font-size:24px;line-height:37.25px;font-weight:600;overflow-wrap:anywhere;"],e=>{let{theme:{colors:n}}=e;return n.text.base})},82778:function(e,n,t){t.d(n,{Z:function(){return y},h:function(){return b}});var r=t(52322),i=t(2784),o=t(76235),a=t(5833),l=t(12866),s=t(46448),u=t(27358),c=t(5045),d=t(88662),f=t(6604),p=t(44309);let g=l.ZP.div.withConfig({displayName:"not-allowed-ui__Wrapper",componentId:"sc-fe23089e-0"})(["display:grid;place-items:center;> div{text-align:center;max-width:600px;}"]),h=l.ZP.div.withConfig({displayName:"not-allowed-ui__ImageWrapper",componentId:"sc-fe23089e-1"})(["max-width:385px;"]),m=l.ZP.img.withConfig({displayName:"not-allowed-ui__Img",componentId:"sc-fe23089e-2"})(["display:block;width:100%;height:auto;"]);function v(e){e.preventDefault(),e.stopPropagation(),location.href=location.origin}var x=function(){var e;let n=(0,f.T_)(),{page403ActionButton:t}=(0,d.VI)();return(0,r.jsx)(g,{children:(0,r.jsxs)("div",{children:[(0,r.jsx)(h,{children:(0,r.jsx)(m,{src:"https://static.swapcard.com/public/images/7cffed8f961f47fe9f7ad361a1ba047f.svg",alt:""})}),(0,r.jsx)(u.Z,{marginBottom:2,...(e="not-allowed-error",(0,p.o)(e,void 0)),children:n.error403Title}),(0,r.jsx)(c.Z,{marginBottom:4,children:n.error403Description}),(0,r.jsxs)(s.W4,{align:"CENTER",children:[t||(0,r.jsx)(s.ZP,{as:"a",href:"https://help-attendees.swapcard.com/hc/en-us/requests/new",target:"_blank",rel:"noopener noreferrer",variant:"GHOST",children:n.contactSupport}),(0,r.jsx)(s.ZP,{onClick:v,children:n.errorAction})]})]})})};function b(){let{getMessageFromGraphQLError:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{showToast:n}=(0,o.pm)(),{debug:t,fallbackTitle:r,getMessageFromError:a,getMessageFromGraphQLError:l}=(0,i.useContext)(d.w5);return(0,i.useCallback)(i=>{if(console.warn({error:i}
1),i.graphQLErrors.length)i.graphQLErrors.forEach(i=>{var a,s;n(null!==(s=null!==(a=e&&e(i))&&void 0!==a?a:l(i))&&void 0!==s?s:t?i.message:r,{type:o.wD.ERROR})});else{var s;n(null!==(s=a(i))&&void 0!==s?s:t?i.message:r,{type:o.wD.ERROR})}},[t,n,r,a,e,l])}function _(e){let{title:n,error:t,imageNode:i,description:o,getMessageFromGraphQLError:l,disableAutoMargin:s,...u}=e,c=(0,d.VI)(),f=[];if(null==t?void 0:t.graphQLErrors.length){let e=l||c.getMessageFromGraphQLError;t.graphQLErrors.forEach(n=>{var t;let r=null!==(t=e(n))&&void 0!==t?t:c.debug&&n.message;r&&f.push(r)})}else if(t){let e=c.getMessageFromError(t);e&&f.push(e)}return 0===f.length&&(o?f.push(o):c.fallbackMessage&&f.push(c.fallbackMessage)),(0,r.jsx)(a.Z,{title:n,messages:f,imageNode:i,disableAutoMargin:s,...u})}var y=function(e){let{error:n,...t}=e;return(null==n?void 0:n.graphQLErrors.some(e=>{var n;return(null===(n=e.extensions)||void 0===n?void 0:n.code)==="NOT_ALLOWED"}))?(0,r.jsx)(x,{}):(0,r.jsx)(_,{error:n,...t})}},6604:function(e,n,t){t.d(n,{T_:function(){return o}}),t(52322);var r=t(2784);let i=(0,r.createContext)({error404Title:"This page doesn’t exist",error404Description:"Sorry, we couldn’t find what you were looking for. Check for spelling mistakes or go back to the home page.",error403Title:"Unable to access this content",error403Description:"Sorry, it looks like you don't have the necessary permissions to access this content. If you believe this is an error, please contact support for assistance.",errorAction:"Return to home page",contactSupport:"Contact support"});function o(){return(0,r.useContext)(i)}},33379:function(e,n,t){t.d(n,{D:function(){return d}});var r=t(22970),i=t(38421),o=t(58769),a=t(97372),l=t(87274),s=t(45832),u=t(56675),c=t(26270);function d(e,n){var t=(0,u.x)(null==n?void 0:n.client);(0,l.Vp)(e,l.n_.Mutation);var d=i.useState({called:!1,loading:!1,client:t}),f=d[0],p=d[1],g=i.useRef({result:f,mutationId:0,isMounted:!0,client:t,mutation:e,options:n});(0,c.L)(function(){Object.assign(g.current,{client:t,options:n,mutation:e})});var h=i.useCallback(function(e){void 0===e&&(e={});var n=g.current,t=n.options,i=n.mutation,l=(0,r.pi)((0,r.pi)({},t),{mutation:i}),u=e.client||g.current.client;g.current.result.loading||l.ignoreResults||!g.current.isMounted||p(g.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:u});var c=++g.current.mutationId,d=(0,o.J)(l,e);return u.mutate(d).then(function(n){var t,r,i=n.data,o=n.errors,l=o&&o.length>0?new s.cA({graphQLErrors:o}):void 0,f=e.onError||(null===(t=g.current.options)||void 0===t?void 0:t.onError);if(l&&f&&f(l,d),c===g.current.mutationId&&!d.ignoreResults){var h={called:!0,loading:!1,data:i,error:l,client:u};g.current.isMounted&&!(0,a.D)(g.current.result,h)&&p(g.current.result=h)}var m=e.onCompleted||(null===(r=g.current.options)||void 0===r?void 0:r.onCompleted);return l||null==m||m(n.data,d),n},function(n){if(c===g.current.mutationId&&g.current.isMounted){var t,r={loading:!1,error:n,data:void 0,called:!0,client:u};(0,a.D)(g.current.result,r)||p(g.current.result=r)}var i=e.onError||(null===(t=g.current.options)||void 0===t?void 0:t.onError);if(i)return i(n,d),{data:void 0,errors:n};throw n})},[]),m=i.useCallback(function(){if(g.current.isMounted){var e={called:!1,loading:!1,client:g.current.client};Object.assign(g.current,{mutationId:0,result:e}),p(e)}},[]);return i.useEffect(function(){var e=g.current;return e.isMounted=!0,function(){e.isMounted=!1}},[]),[h,(0,r.pi)({reset:m},f)]}}}]);

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.