/*!   GeneXus Java 16_0_9-140712 on November 22, 2021 14:56:21.8
*/
gx.evt.autoSkip=!1;gx.define("gerasenha",!1,function(){this.ServerClass="gerasenha";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!1;this.skipOnEnter=!1;this.autoRefresh=!0;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV19ValChaveCriptografada=gx.fn.getControlValue("vVALCHAVECRIPTOGRAFADA")};this.Validv_Usbcod=function(){return this.validCliEvt("Validv_Usbcod",0,function(){try{var n=gx.util.balloon.getNew("vUSBCOD");this.AnyError=0}catch(t){}try{return n==null?!0:n.show()}catch(t){}return!0})};this.e13n22_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e14n22_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[2,3,4,5,6,9,12,14,16,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33];this.GXLastCtrlId=33;n[2]={id:2,fld:"",grid:0};n[3]={id:3,fld:"MAINTABLE",grid:0};n[4]={id:4,fld:"",grid:0};n[5]={id:5,fld:"",grid:0};n[6]={id:6,fld:"CABECALHOPOPUP",grid:0};n[9]={id:9,fld:"CABECALHOPOPUP_TABLE1",grid:0};n[12]={id:12,fld:"CABECALHOPOPUP_VOLTAR",grid:0,evt:"e15n21_client"};n[14]={id:14,fld:"CABECALHOPOPUP_HELP",grid:0,evt:"e16n21_client"};n[16]={id:16,fld:"CABECALHOPOPUP_REFRESH",grid:0,evt:"e17n21_client"};n[19]={id:19,fld:"",grid:0};n[20]={id:20,fld:"",grid:0};n[21]={id:21,fld:"",grid:0};n[22]={id:22,fld:"",grid:0};n[23]={id:23,lvl:0,type:"char",len:14,dec:0,sign:!1,pic:"@!",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usbcod,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vUSBCOD",gxz:"ZV17UsbCod",gxold:"OV17UsbCod",gxvar:"AV17UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV17UsbCod=n)},v2z:function(n){n!==undefined&&(gx.O.ZV17UsbCod=n)},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV17UsbCod,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV17UsbCod=this.val())},val:function(){return gx.fn.getControlValue("vUSBCOD")},nac:gx.falseFn};n[24]={id:24,fld:"",grid:0};n[25]={id:25,fld:"",grid:0};n[26]={id:26,fld:"",grid:0};n[27]={id:27,fld:"",grid:0};n[28]={id:28,lvl:0,type:"char",len:80,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vUSBNOM",gxz:"ZV18UsbNom",gxold:"OV18UsbNom",gxvar:"AV18UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV18UsbNom=n)},v2z:function(n){n!==undefined&&(gx.O.ZV18UsbNom=n)},v2c:function(){gx.fn.setControlValue("vUSBNOM",gx.O.AV18UsbNom,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV18UsbNom=this.val())},val:function(){return gx.fn.getControlValue("vUSBNOM")},nac:gx.falseFn};n[29]={id:29,fld:"",grid:0};n[30]={id:30,fld:"",grid:0};n[31]={id:31,fld:"",grid:0};n[32]={id:32,fld:"",grid:0};n[33]={id:33,lvl:0,type:"char",len:20,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vSENHATEMPEMAIL",gxz:"ZV12SenhaTempEmail",gxold:"OV12SenhaTempEmail",gxvar:"AV12SenhaTempEmail",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV12SenhaTempEmail=n)},v2z:function(n){n!==undefined&&(gx.O.ZV12SenhaTempEmail=n)},v2c:function(){gx.fn.setControlValue("vSENHATEMPEMAIL",gx.O.AV12SenhaTempEmail,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV12SenhaTempEmail=this.val())},val:function(){return gx.fn.getControlValue("vSENHATEMPEMAIL")},nac:gx.falseFn};this.AV17UsbCod="";this.ZV17UsbCod="";this.OV17UsbCod="";this.AV18UsbNom="";this.ZV18UsbNom="";this.OV18UsbNom="";this.AV12SenhaTempEmail="";this.ZV12SenhaTempEmail="";this.OV12SenhaTempEmail="";this.AV17UsbCod="";this.AV18UsbNom="";this.AV12SenhaTempEmail="";this.AV19ValChaveCriptografada="";this.A52UsbCod="";this.A888UsbNom="";this.A53SetCod=0;this.Events={e13n22_client:["ENTER",!0],e14n22_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"AV19ValChaveCriptografada",fld:"vVALCHAVECRIPTOGRAFADA",pic:""},{av:"AV17UsbCod",fld:"vUSBCOD",pic:"@!"},{av:"AV18UsbNom",fld:"vUSBNOM",pic:""}],[]];this.EvtParms.START=[[{av:"AV19ValChaveCriptografada",fld:"vVALCHAVECRIPTOGRAFADA",pic:""},{av:"Gx_date",fld:"vTODAY",pic:""},{av:"A52UsbCod",fld:"USBCOD",pic:"@!"},{av:"A888UsbNom",fld:"USBNOM",pic:""},{av:"A53SetCod",fld:"SETCOD",pic:"ZZZZZ9"},{av:"Gx_msg",fld:"vMSG",pic:""},{av:"AV18UsbNom",fld:"vUSBNOM",pic:""}],[{av:"AV17UsbCod",fld:"vUSBCOD",pic:"@!"},{av:"Gx_msg",fld:"vMSG",pic:""},{av:"AV18UsbNom",fld:"vUSBNOM",pic:""}]];this.EvtParms.LOAD=[[{av:"Gx_time",fld:"vTIME",pic:""},{av:"AV17UsbCod",fld:"vUSBCOD",pic:"@!"}],[{av:"AV12SenhaTempEmail",fld:"vSENHATEMPEMAIL",pic:""}]];this.EvtParms.VALIDV_USBCOD=[[],[]];this.setVCMap("AV19ValChaveCriptografada","vVALCHAVECRIPTOGRAFADA",0,"char",20,0);this.Initialize()});gx.setParentObj(new gerasenha)