PageSourceSearch

https://app.pompbeauty.com/assets/dist/DocumentRequiredSigningAction.9065eaadafa591391e70.bundle.js

js pompbeauty.com collected 2026-09-26 00:22:20 UTC 6,559 bytes, 5 lines download raw bytes

1"use strict";
2!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]="04897fff-2a1d-515d-bafe-e8aa92684ec8")}catch(e){}}();
3(self.webpackChunkpomp=self.webpackChunkpomp||[]).push([[1834],{70264(t,e,n){n.d(e,{DocumentRequiredSigningAction:()=>y});var r=n(64467),o=n(5544),i=n(96540),u=n(52594),c=n(55370),l=n(48957),a=n(35124),s=n(48227),d=n(70802),f=n(58476),v=n(54811),p=n(26206),m=n(74848);function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach(function(e){(0,r.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var y=function(t){var e,n=null!==t.authUser.get("id"),r=(0,v.i)(n).documents,g=(null==r||null===(e=r.filter(function(t){return!t.signed}))||void 0===e?void 0:e.length)>0,y=(0,f.useLocation)(),b=(0,i.useState)(!1),O=(0,o.A)(b,2),j=O[0],w=O[1],P=(0,p.A)().isEsthetician;return(0,i.useEffect)(function(){var t="/profile/documents"!==y.pathname;w(!!(n&&P&&t&&g))},[n,P,y.pathname,g]),(0,m.jsx)(c.A,{open:j,maxWidth:"xs",children:(0,m.jsxs)(l.A,{sx:{textAlign:"center",p:2},children:[(0,m.jsx)(d.A,{sx:{color:"warning.main"},fontSize:"large"}),(0,m.jsx)(a.A,{variant:"h5",component:"h5",gutterBottom:!0,sx:h({mt:2},{fontWeight:"bold",fontSize:"24px",lineHeight:"135%",letterSpacing:"0.15px",fontFamily:"Century Old Style Std",color:"text.primary",textAlign:"center"}),children:"Action Needed"}),(0,m.jsx)(a.A,{variant:"body1",gutterBottom:!0,style:{fontFamily:"Proxima Nova",fontStyle:"normal",fontWeight:400,fontSize:"16px",lineHeight:"135%",textAlign:"center",letterSpacing:"0.15px"},children:"We’ve updated our Pomp Professional terms. Please take a second to review the document(s) and confirm your agreement. Thank you!"}),(0,m.jsx)(s.A,{component:u.N_,to:"/profile/documents",variant:"contained",color:"primary",sx:{mt:2},children:"Go To Documents"})]})})}},54811(t,e,n){n.d(e,{i:()=>v});var r=n(64467),o=n(5544),i=n(70111),u=n(95420),c=n(95196),l=n(96540),a=n(57349);function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach(function(e){(0,r.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var f=function(t){return{error:t,isError:!0}},v=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=(0,i.m)(),n=(0,c.IT)(a.$D6,{fetchPolicy:"network-only",skip:!t}),r=(0,u.n)(a.iwH),s=(0,o.A)(r,1)[0],v=(0,l.useMemo)(function(){var t,e;return(null!==(t=null===(e=n.data)||void 0===e?void 0:e.latestDocuments)&&void 0!==t?t:[]).filter(function(t){return Boolean(t)})},[n.data]);return d(d({},(0,l.useMemo)(function(){return{getAllDocuments:function(){return e.query({query:a.$D6,fetchPolicy:"network-only"}).then(function(t){var e,n;return null!==(e=null===(n=t.data)||void 0===n?void 0:n.latestDocuments)&&void 0!==e?e:[]}).catch(f)},getLatestEsthieAgreementDocuments:function(){return e.query({query:a.CG9,fetchPolicy:"no-cache"}).then(function(t){var e,n;return null!==(e=null===(n=t.data)||void 0===n?void 0:n.latestEsthieAgreement)&&void 0!==e?e:[]}).catch(f)},signDocumentById:function(t){return s({variables:{id:t}}).then(function(t){var e,n;return null!==(e=null===(n=t.data)||void 0===n?void 0:n.signDocument)&&void 0!==e?e:null}).catch(f)}}},[e,s])),{},{documents:v})}},54269(t,e,n){n.d(e,{E:()=>o});var r=n(27243),o=n(2619).Sw?r.useLayoutEffect:r.useEffect},95420(t,e,n){n.d(e,{n:()=>f});var r=n(31635),o=n(27243),i=n(60144),u=n(15381),c=n(75443),l=n(9211),a=n(70111),s=n(54269),d=n(19794);function f(t,e){!1!==globalThis.__DEV__&&(0,d.h)(e||{},"ignoreResults","useMutation","If you don't want to synchronize component state with the mutation, please use the `useApolloClient` hook to get the client instance and call `client.mutate` directly.");var n=(0,a.m)(null==e?void 0:e.client);(0,c.D$)(t,c.KG.Mutation);var f=o.useState({called:!1,loading:!1,client:n}),v=f[0],p=f[1],m=o.useRef({result:v,mutationId:0,isMounted:!0,client:n,mutation:t,options:e});(0,s.E)(function(){Object.assign(m.current,{client:n,options:e,mutation:t})});var g=o.useCallback(function(t){void 0===t&&(t={});var e=m.current,n=e.options,o=e.mutation,c=(0,r.Cl)((0,r.Cl)({},n),{mutation:o}),a=t.client||m.current.client;m.current.result.loading||c.ignoreResults||!m.current.isMounted||p(m.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:a});var s=++m.current.mutationId,d=(0,i.l)(c,t);return a.mutate(d).then(function(e){var n,r,o=e.data,i=e.errors,c=i&&i.length>0?new l.K4({graphQLErrors:i}):void 0,f=t.onError||(null===(n=m.current.options)||void 0===n?void 0:n.onError);if(c&&f&&f(c,d),s===m.current.mutationId&&!d.ignoreResults){var v={called:!0,loading:!1,data:o,error:c,client:a};m.current.isMounted&&!(0,u.L)(m.current.result,v)&&p(m.current.result=v)}var g=t.onCompleted||(null===(r=m.current.options)||void 0===r?void 0:r.onCompleted);return c||null==g||g(e.data,d),e},function(e){var n;if(s===m.current.mutationId&&m.current.isMounted){var r={loading:!1,error:e,data:void 0,called:!0,client:a};(0,u.L)(m.current.result,r)||p(m.current.result=r)}var o=t.onError||(null===(n=m.current.options)||void 0===n?void 0:n.onError);if(o)return o(e,d),{data:void 0,errors:e};throw e})},[]),h=o.useCallback(function(){if(m.current.isMounted){var t={called:!1,loading:!1,client:m.current.client};Object.assign(m.current,{mutationId:0,result:t}),p(t)}},[]);return o.useEffect(function(){var t=m.current;return t.isMounted=!0,function(){t.isMounted=!1}},[]),[g,(0,r.Cl)({reset:h},v)]}}}]);
4//# sourceMappingURL=DocumentRequiredSigningAction.9065eaadafa591391e70.bundle.js.map
5//# debugId=04897fff-2a1d-515d-bafe-e8aa92684ec8

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.