1"use strict";(self.webpackChunkaicblitz=self.webpackChunkaicblitz||[]).push([["src_app_features_policy_paperless-preferences_restriction-page_restriction-page_module_ts"],{2808(x,m,n){n.d(m,{RestrictionPageModule:()=>s});var i,l,h=n(3887),p=n(3049),f=n(9437),P=n(7673),b=n(5964),v=n(9844),C=n(9812),t=n(6089),M=n(3909),d=n(2959),y=n(6804);(l=i||(i={}))[l.defaultType=0]="defaultType",l[l.PmsToGwRenewalPeriod=1]="PmsToGwRenewalPeriod";class a{constructor(o,e,r,g,k){this._googleAnalytics=o,this._router=e,this._activatedRoute=r,this._uctService=g,this._environment=k,this.restrictionMessage="",this.cdnBaseUrl=this._environment.cdnBaseUrl}ngOnInit(){this._activatedRoute.params.subscribe(o=>{const e=parseInt(o.restrictionType,10);this.setRestrictionMessage(e)})}goToContactUs(){this._trackEventData("Paperless Preferences Restriction Page","Contact Us link click"),this._router.navigate(["contact-us"])}goToSnapshot(){this._trackEventData("Paperless Preferences Restriction Page","Go Policy Snapshot button click"),this._router.navigate([v.h7.policySnapshot])}_trackEventData(o,e=""){const r={event:"custom-paperlessPreferences",eventCategory:"Paperless Preferences",eventAction:o,eventLabel:e};this._googleAnalytics.startTrackingGenericEvent(r)}setRestrictionMessage(o){this._uctService.getUctObjectDefs("AICBlitz","Resources").pipe((0,f.W)(e=>(console.log(e.message),(0,P.of)(null))),(0,b.p)(e=>null!=e)).subscribe(e=>{if(this.restrictionMessage="",e)switch(o){case i.PmsToGwRenewalPeriod:this.restrictionMessage=e.find(r=>"error.on63dayPeriod"===r.Key)?.Values?.[0]?.Value;break;case i.defaultType:this.restrictionMessage=e.find(r=>"error.error.selectPolicy"===r.Key)?.Values?.[0]?.Value;break;default:this.restrictionMessage=""}})}static{this.\u0275fac=function(e){return new(e||a)(t.rXU(M.p),t.rXU(d.Ix),t.rXU(d.nX),t.rXU(y.e),t.rXU(C.M))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["app-restriction-page"]],standalone:!1,decls:13,vars:1,consts:[[2,"box-shadow","0px 0px 0px 1px rgba(0, 0, 0, 0.2)"],[1,"page-container",2,"display","flex","flex-direction","column","align-items","center"],[1,"title"],[1,"well","modern",2,"margin","20px 40px","text-align","center"],[1,"subtitle"],[3,"innerHTML"],[1,"anchor-link",3,"click"],[2,"margin-top","30px"],[1,"btn","btn-primary","outline",3,"click"]],template:function(e,r){1&e&&(t.nrm(0,"hr",0),t.j41(1,"div",1)(2,"p",2),t.EFF(3,"We are unable to complete your request"),t.k0s(),t.j41(4,"div",3)(5,"p",4),t.nrm(6,"span",5),t.j41(7,"a",6),t.bIt("click",function(){return r.goToContactUs()}),t.EFF(8,"Contact Us"),t.k0s(),t.EFF(9,". "),t.k0s()(),t.j41(10,"div",7)(11,"a",8),t.bIt("click",function(){return r.goToSnapshot()}),t.EFF(12,"Go to Policy Snapshot"),t.k0s()()()),2&e&&(t.R7$(6),t.Y8G("innerHTML",r.restrictionMessage,t.npT))},styles:[".page-container[_ngcontent-%COMP%]{padding-top:5rem;padding-right:1rem;padding-left:1rem;margin-right:auto;margin-left:auto}.page-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-align:center;color:#31aa3a;margin:0;font-size:1.5em;font-weight:300;font-family:Trebuchet MS,Arial,Verdana,sans-serif;padding-bottom:.7rem;line-height:2rem}.page-container[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{font-family:Trebuchet MS,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:1rem;font-style:normal;font-variant:normal;font-weight:400;line-height:2rem;color:#666}.page-container[_ngcontent-%COMP%] .anchor-link[_ngcontent-%COMP%]{color:#06c;cursor:pointer;text-decoration:underline}.page-container[_ngcontent-%COMP%] .well[_ngcontent-%COMP%]{min-height:1.25rem;padding:1.2rem;margin-bottom:1.25rem;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;box-shadow:inset 0 1px 1px #0000000d}.page-container[_ngcontent-%COMP%] .well.modern[_ngcontent-%COMP%]{background-color:#fff}.page-container[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:inline-block;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:3px;text-align:center;white-space:nowrap;vertical-align:middle;width:27rem}.page-container[_ngcontent-%COMP%] .btn-primary[_ngcontent-%COMP%]{color:#fff;background-color:#337ab7;border-color:#2e6da4}.page-container[_ngcontent-%COMP%] .btn-primary[_ngcontent-%COMP%]:hover, .page-container[_ngcontent-%COMP%] .btn-primary[_ngcontent-%COMP%]:focus{background-color:#286090;border-color:#204d74}.page-container[_ngcontent-%COMP%] .btn-primary[_ngcontent-%COMP%]:active, .page-container[_ngcontent-%COMP%] .btn-primary.active[_ngcontent-%COMP%]{background-color:#286090;border-color:#204d74;background-image:none;box-shadow:inset 0 3px 5px #00000020}.page-container[_ngcontent-%COMP%] .btn-primary.outline[_ngcontent-%COMP%]{background-color:transparent;border-color:#337ab7;color:#337ab7}.page-container[_ngcontent-%COMP%] .btn-primary.outline[_ngcontent-%COMP%]:hover, .page-container[_ngcontent-%COMP%] .btn-primary.outline[_ngcontent-%COMP%]:focus, .page-container[_ngcontent-%COMP%] .btn-primary.outline[_ngcontent-%COMP%]:active, .page-container[_ngcontent-%COMP%] .btn-primary.outline.active[_ngcontent-%COMP%]{background-color:#0000001a;color:#337ab7}"]})}}var u=n(5802);
1const O=[{path:":restrictionType",component:a},{path:"",component:a}];class c{static{this.\u0275fac=function(e){return new(e||c)}}static{this.\u0275mod=t.$C({type:c})}static{this.\u0275inj=u.G2t({imports:[p.iI.forChild(O),p.iI]})}}class s{static{this.\u0275fac=function(e){return new(e||s)}}static{this.\u0275mod=t.$C({type:s})}static{this.\u0275inj=u.G2t({imports:[h.G,c]})}}}}]);
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.