1import{a as _e}from"./chunk-LBQM2WZH.js";import{a as Oe}from"./chunk-AMANVJDT.js";import{b as ge,c as ve,d as Ce,e as Se,f as be,g as Me}from"./chunk-YMPLZXNQ.js";import{a as fe}from"./chunk-WNRCO2GH.js";import{a as he}from"./chunk-F4RV6FZB.js";import"./chunk-JLQKOJQC.js";import{a as we,b as ye}from"./chunk-YNHJOMBC.js";import{a as te}from"./chunk-LSE7ERXW.js";import{a as ue}from"./chunk-7WHJKJG5.js";import"./chunk-67X32XFK.js";import"./chunk-ASSYK5Z4.js";import"./chunk-LWX6BAYX.js";import{a as se}from"./chunk-DN3VEP5B.js";import"./chunk-TSLDFUIC.js";import"./chunk-6VDOCKQS.js";import{a as ne}from"./chunk-ZHLF73DW.js";import"./chunk-T2PVQEQE.js";import"./chunk-IUEPKG3T.js";import{a as le}from"./chunk-ZIN4L2HQ.js";import{b as ce,c as me}from"./chunk-FBL3BD2D.js";import{d as pe}from"./chunk-ZFIDDOBT.js";import{b as de}from"./chunk-AMWOTDBQ.js";import"./chunk-6TQA62GH.js";import"./chunk-HF46FQSU.js";import{b as oe,c as ae}from"./chunk-UZ2LNYTY.js";import"./chunk-TXWUF7AP.js";import{a as re}from"./chunk-BUCWAJRJ.js";import{a as A}from"./chunk-BDEGYAVX.js";import{a as C}from"./chunk-VE5CXONE.js";import"./chunk-BBWI5BRC.js";import"./chunk-5WRB4FCB.js";import{Y as ie}from"./chunk-IE3GEG6D.js";import"./chunk-JLQQPUG2.js";import{a as _}from"./chunk-E3GK6ZJN.js";import{a as ee,b as O}from"./chunk-OYHRIJHA.js";import{B as J,G as X,H as u,f as H,r as Y,s as y,u as $}from"./chunk-JLTXE2K3.js";import{Aa as U,B as j,Gc as L,Ja as a,La as l,Ma as w,Ob as k,Ra as E,U as b,Ub as B,V as M,X as c,Xb as V,a as P,ab as p,ad as K,bb as g,cb as v,db as s,dd as Z,ed as q,fd as d,gd as Q,i as x,id as I,mc as W,r as F,tc as z,ua as D,ub as N,vc as G,ya as m}from"./chunk-Y66N7V4O.js";import"./chunk-7CEBWOAQ.js";var Ae=(()=>{let r=class r{constructor(i,t){this.translate=i,this.app=t,this.env=H}ngOnInit(){this.translate.selectTranslate("app.error.title").pipe(j(1)).subscribe(i=>{this.app.updateTitle(i)})}};r.\u0275fac=function(t){return new(t||r)(a(Y),a(O))},r.\u0275cmp=l({type:r,selectors:[["ng-component"]],standalone:!1,decls:8,vars:2,consts:[[1,"row","error-outer-container"],[1,"col-12","error-container"],["transloco","app.error.content.title",1,"error-title"],["alt","error",3,"src"],[1,"description"],["transloco","app.error.description.prefix",1,"prefix","secondary"],["transloco","app.error.description.label",1,"secondary"],["transloco","app.error.action.home.label","routerLink","/home",1,"btn","btn-primary"]],template:function(t,n){t&1&&(g(0,"div",0)(1,"div",1),s(2,"h3",2)(3,"img",3),g(4,"div",4),s(5,"p",5)(6,"p",6),v(),s(7,"a",7),v()()),t&2&&(m(3),p("src",k(n.env.CDN+"app/v3/error/error.png"),D))},dependencies:[y,Q],styles:[`[_ngcontent-%COMP%]:root{--pp-font-family-sans: "Plus Jakarta Sans", sans-serif;--pp-brand-purple: #421f3c;--pp-brand-purple-rgb: 66, 31, 60;--pp-brand-orange: #ff7418;--pp-brand-orange-rgb: 255, 116, 24;--pp-brand-orange-hover: #e66910;--pp-brand-sunshine-rgb: 255, 174, 60;--pp-app-system-white: #fff;--pp-app-system-almost-white: #f5f5f5;--pp-app-system-border: #ccc}.text-pp-brand-orange[_ngcontent-%COMP%]{color:var(--pp-brand-orange)}.text-pp-brand-purple[_ngcontent-%COMP%]{color:var(--pp-brand-purple)}.error-outer-container[_ngcontent-%COMP%]{min-height:100%;display:flex;align-items:center;text-align:center}.error-outer-container[_ngcontent-%COMP%] .error-container[_ngcontent-%COMP%]{padding:2em;background-image:url(https://assets.pointerpro.com/app/v3/common/empty_waves.png);background-position:center;background-repeat:no-repeat}.error-outer-container[_ngcontent-%COMP%] .error-container[_ngcontent-%COMP%] .error-title[_ngcontent-%COMP%]{margin-bottom:2em}.error-outer-container[_ngcontent-%COMP%] .error-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:25em}.error-outer-container[_ngcontent-%COMP%] .error-container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin:1em}.error-outer-container[_ngcontent-%COMP%] .error-container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1em}.error-outer-container[_ngcontent-%COMP%] .error-container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] .prefix[_ngcontent-%COMP%]{font-size:1.5em} 2/*# sourceMappingURL=error.component-W42AUSHS.css.map */`]});let e=r;return e})();var Te=(()=>
2{let r=class r{constructor(){}};r.\u0275fac=function(t){return new(t||r)},r.\u0275cmp=l({type:r,selectors:[["ng-component"]],standalone:!1,decls:2,vars:0,consts:[["transloco","app.loading.message",1,"text-center"]],template:function(t,n){t&1&&s(0,"sa-pacman-spinner")(1,"p",0)},dependencies:[y,we],encapsulation:2});let e=r;return e})();var Ve=(e,r,f,i)=>({"navbar-header-hidden":e,"with-navbar":r,"with-dunning-banner":f,"with-top-warning-banner":i}),We=e=>({"with-top-warning-banner":e}),ze=e=>({"with-navbar":e});function Ge(e,r){e&1&&s(0,"sa-top-warning-banner",3)}function Le(e,r){if(e&1&&s(0,"sa-navbar",4),e&2){let f=N();p("ngClass",B(1,We,f.shouldShowTopWarningBanner))}}function He(e,r){if(e&1&&s(0,"sa-dunning-banner",4),e&2){let f=N();p("ngClass",B(1,ze,f.isNavbarVisible===!0))}}var Be=(()=>{let r=class r{constructor(i,t,n,o,Re,Pe,xe,Fe,je,De){this.app=i,this.appcues=t,this.cdRef=n,this.router=o,this.screen=Re,this.user=Pe,this.zone=xe,this.activatedRoute=Fe,this.dunningBanner=je,this.creditOutageBanner=De,this.isNavbarVisible=!0,this.shouldShowDunningBanner=!1,this.shouldShowCreditOutageBanner=!1,this.shouldShowNavBar=!1,o.events.subscribe(Ue=>{Ue instanceof K&&(window.scrollTo(0,0),this.checkShouldShowNavBar(),this.isNavbarVisible=this.shouldShowNavBar,this.shouldShowCreditOutageBanner=this.creditOutageBanner.shouldShowBanner,this.appcues.trackUser(this.user.getUser()))})}ngOnInit(){this.shouldShowDunningBanner=this.dunningBanner.shouldShowBanner,this.shouldShowCreditOutageBanner=this.creditOutageBanner.shouldShowBanner,this.screen.checkWidth(),this.onWindowScroll(),this.app.checkAppVersion()}onWindowScroll(){this.zone.runOutsideAngular(()=>{F(window,"scroll").subscribe(()=>{if(!this.shouldShowNavBar)return;let i=this.shouldShowDunningBanner||this.shouldShowCreditOutageBanner,t=!0;!this.isNavbarVisible&&window.pageYOffset+99>=100&&(t=!1),this.isNavbarVisible&&window.pageYOffset>(i?140:100)&&(t=!1),t!=this.isNavbarVisible&&(this.isNavbarVisible=t,this.zone.run(()=>{this.cdRef.detectChanges()}))})})}checkShouldShowNavBar(){this.shouldShowNavBar=this.router.url.includes("/demo/")===!1}get shouldShowTopWarningBanner(){return this.shouldShowCreditOutageBanner}};r.\u0275fac=function(t){return new(t||r)(a(O),a(te),a(W),a(d),a(re),a(u),a(U),a(Z),a(J),a(ue))},r.\u0275cmp=l({type:r,selectors:[["ng-component"]],standalone:!1,decls:5,vars:9,consts:[["messageKey","app.general.credit_outage_banner.message","link","/team","linkTextKey","app.general.credit_outage_banner.go_to_my_team",4,"ngIf"],[3,"ngClass",4,"ngIf"],["id","main-component",3,"ngClass"],["messageKey","app.general.credit_outage_banner.message","link","/team","linkTextKey","app.general.credit_outage_banner.go_to_my_team"],[3,"ngClass"]],template:function(t,n){t&1&&(E(0,Ge,1,0,"sa-top-warning-banner",0)(1,Le,1,3,"sa-navbar",1)(2,He,1,3,"sa-dunning-banner",1),g(3,"div",2),s(4,"router-outlet"),v()),t&2&&(p("ngIf",n.shouldShowCreditOutageBanner),m(),p("ngIf",n.isNavbarVisible),m(),p("ngIf",n.shouldShowDunningBanner),m(),p("ngClass",V(4,Ve,!n.isNavbarVisible,n.isNavbarVisible===!0,n.shouldShowDunningBanner===!0,n.shouldShowTopWarningBanner===!0)))},dependencies:[z,G,q,Ce,ge,ve],encapsulation:2});let e=r;return e})();var S=(()=>{let r=class r{constructor(i,t){this.userService=i,this.router=t}canDeactivate(i,t,n,o){return o.url==="/logout"?!0:this.userService.isReportingViewer()&&!o.url.includes("/reporting/")?(this.router.navigate([`/reporting${o.url}`]),!1):this.userService.isContact()&&!o.url.includes("/contact/")?(this.router.navigate([`/contact${o.url}`]),!1):!0}};r.\u0275fac=function(t){return new(t||r)(c(u),c(d))},r.\u0275prov=b({token:r,factory:r.\u0275fac});let e=r;return e})();var T=(()=>{let r=class r{constructor(i,t,n,o){this.userService=i,this.userApiService=t,this.router=n,this.featureFlagService=o}canActivate(){if(this.featureFlagService.isActive(this.featureFlagService.TWO_FACTOR_AUTHENTICATION_USER)===!1||this.featureFlagService.isActive(this.featureFlagService.TWO_FACTOR_AUTHENTICATION_ORGANIZATION)===!1)return!0;let i=this.userService.getUser(),t=i?x(i):this.userApiService.getUser();return new P(n=>t.subscribe(o=>o.has_2fa_enabled===!0?o.otp_confirmed===!1?(this.router.navigate(["/two-factor-authentication/otp"]),n.next(!1)):n.next(!0):o.organization.google2fa_required===!1||o.within_2fa_grace_peri
2od===!0?n.next(!0):(this.router.navigate(["/two-factor-authentication/configure"]),n.next(!1))))}canActivateChild(){return this.canActivate()}};r.\u0275fac=function(t){return new(t||r)(c(u),c(_),c(d),c(X))},r.\u0275prov=b({token:r,factory:r.\u0275fac});let e=r;return e})();var Ke=[{path:"",canActivate:[C,T],component:Be,children:[{path:"home",loadChildren:()=>import("./chunk-H3UTKY6O.js").then(e=>e.HomeModule)},{path:"cdn-assets",loadChildren:()=>import("./chunk-Y4AXQMK3.js").then(e=>e.CdnAssetsModule)},{path:"contact",loadChildren:()=>import("./chunk-DWPPDNPT.js").then(e=>e.ContactPortalModule),canDeactivate:[S]},{path:"exports",loadChildren:()=>import("./chunk-Y27VYLBA.js").then(e=>e.FileExportsModule)},{path:"dashboarding",loadChildren:()=>import("./chunk-5WYWXGNV.js").then(e=>e.ExternalDashboardingLuzmoModule)},{path:"reporting",loadChildren:()=>import("./chunk-7CFQ624Y.js").then(e=>e.ReportingViewerPortalModule),canDeactivate:[S]},{path:"questionnaires",loadChildren:()=>import("./chunk-BOR5C2HN.js").then(e=>e.SurveysModule)},{path:"campaigns",loadChildren:()=>import("./chunk-UZLLZS5W.js").then(e=>e.CampaignsModule)},{path:"preconfigured-campaigns",loadChildren:()=>import("./chunk-BHTI6F6O.js").then(e=>e.PreconfiguredCampaignsModule)},{path:"contacts",loadChildren:()=>import("./chunk-LSG3XYX5.js").then(e=>e.ContactsModule)},{path:"examples",loadChildren:()=>import("./chunk-XYKKUSP2.js").then(e=>e.ExamplesModule)},{path:"admin",loadChildren:()=>import("./chunk-2P3VWPLU.js").then(e=>e.AdminModule)},{path:"account",loadChildren:()=>import("./chunk-X5A6DC25.js").then(e=>e.AccountModule)},{path:"campaign/:id",loadChildren:()=>import("./chunk-VO2XOEPD.js").then(e=>e.CampaignModule)},{path:"pricing",loadChildren:()=>import("./chunk-FKVBLWCA.js").then(e=>e.PricingModule)},{path:"team",loadChildren:()=>import("./chunk-JJ6G5TN6.js").then(e=>e.TeamModule)},{path:"survey/:id",loadChildren:()=>import("./chunk-KIYH6DBT.js").then(e=>e.SurveyModule)},{path:"integrations",loadChildren:()=>import("./chunk-SC67YGFY.js").then(e=>e.IntegrationsModule)},{path:"reportr",loadChildren:()=>import("./chunk-A3XGABJV.js").then(e=>e.ReportRModule)},{path:"reportr2",loadChildren:()=>import("./chunk-VGQPFB3G.js").then(e=>e.ReportR2Module)},{path:"email-invites",loadChildren:()=>import("./chunk-A3B4GTIB.js").then(e=>e.EmailInvitesModule)},{path:"media-library",loadChildren:()=>import("./chunk-HUWJSGTF.js").then(e=>e.MediaLibraryModule)},{path:"external-fields",loadChildren:()=>import("./chunk-FLEEB5EQ.js").then(e=>e.ExternalFieldsModule)},{path:"demo",loadChildren:()=>import("./chunk-MSXXGMVU.js").then(e=>e.DemoModule)},{path:"help-guides",loadChildren:()=>import("./chunk-O3UGIMZA.js").then(e=>e.HelpGuidesModule)},{path:"notfound",component:Oe},{path:"error",component:Ae}],resolve:{user:A}},{path:"reports/:surveyUID",canActivate:[C],loadChildren:()=>import("./chunk-VZ5TRB4G.js").then(e=>e.ReportsModule)},{path:"loading",component:Te},{path:"**",redirectTo:"/notfound"}],Ie=(()=>{let r=class r{};r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=w({type:r}),r.\u0275inj=M({imports:[I.forChild(Ke),I]});let e=r;return e})();var Pt=(()=>{let r=class r{};r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=w({type:r}),r.\u0275inj=M({providers:[C,S,ne,ee,le,oe,se,fe,he,_,A,de,_e,me,ce,pe,ae,T],imports:[ie,L,Ie,$,Se,ye,be,Me]});let e=r;return e})();export{Pt as MainModule}; 3//# sourceMappingURL=chunk-6KYQ3BQY.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.