&n.tn(t,u,w[0].resource||"",H,z)})}else _.Zki&&n.confirmDialogService.confirm({header:"Intercept dialog not triggered",body:"Resource: "+t})})}; $ki.prototype.tn=function(a,b,c,d,e){var f=this;this.dialog.open(Yki,{disableClose:!0,data:{complianceType:d,resourceType:e}}).afterClosed().subscribe(function(g){switch(g){case "changeResource":f.purviewPickerService.selectPurview().subscribe(function(n){var p;(!n||n&&(n==null?void 0:(p=n.resource)==null?void 0:p.getFullResourcePath())===b)&&f.tn(a,b,c,d,e)});break;case "acknowledge":ali(f,a,b,c,d)}})}; var ali=function(a,b,c,d,e){e=bli(a,e);a.aa.add(b);Tki(a.assurantGraphqlClient,{resourceId:c,assuredWorkloadResourceId:d,region:e}).subscribe(function(){a.basicTypesService.update({key:{setting:"ASSURANT_REGULATORY_INTERCEPT_ACKNOWLEDGEMENT",subkey:encodeURIComponent(c),projectId:b},value:{int64Val:String(Date.now())}})})},bli=function(a,b){a=a.coliseumConfig.W0a()||Ski.includes(a.coliseumConfig.getHost());return b==="EuRegionsAndSupport"||b==="EuRegionsAndSupportWithSovereignControls"?a?"europe-west1": _.Gki[Math.floor(Math.random()*_.Gki.length)].name:b==="CaRegionsAndSupport"?a?"northamerica-northeast2":_.Hki[Math.floor(Math.random()*_.Hki.length)].name:a?"us-central1":_.gX[Math.floor(Math.random()*_.gX.length)].name};$ki.da=function(a){return new (a||$ki)(_.m(_.Eki),_.m(_.MB),_.m(_.qv),_.m(_.Lo),_.m(_.mI),_.m(_.yt),_.m(_.tq))};$ki.ma=_.l({token:$ki,ka:$ki.da,oa:"root"});var cli=function(){};cli.da=function(a){return new (a||cli)};cli.ua=_.Fe({type:cli,id:"pm_assurant_intercept_service"}); cli.ta=_.Dc({providers:[$ki,{provide:_.pp,useValue:{InterceptService:$ki}}],imports:[_.In,_.gF,_.Xs,_.Ms,_.$o,_.nI,_.nv]});_.uf(cli,"pm_assurant_intercept_service"); _.ph(); }catch(e){_._DumpException(e)} })(this.pangular); // Google Inc. Ә