Bringing RF Leadership to the 5G Revolution

  • GaN, LDMOS and SiGe Device Offerings
  • High Power and Improved Efficiency
  • Comprehensive Portfolio for 5G Deployments
'+securedProduct.authorisedTo+''; else if (securedProduct.statusEn =="Non-disclosed") securedProductsHtml += ''+ securedProduct.name + '
'+securedProduct.status+'
'+securedProduct.authorisedTo+''; }); document.getElementById("securedProducts").innerHTML = securedProductsHtml; } else { if(data.userAccessStatus != "ACCOUNT_BOUNCED" && data.userAccessStatus != "ACCOUNT_INACTIVE") { document.getElementById("noContent").style = "block"; } } } toggleSecureBanner(); } } else { } var strSecureContentUrl = window.location.href; if(strSecureContentUrl.includes("#secureContent") || strSecureContentUrl.includes("section=secureContent")){ document.getElementById("secureContent").scrollIntoView(true); } }, error: function(xhr){ if(xhr.status == '403'){ document.getElementById("loginSection").style = "block"; toggleSecureBanner(); } else if(xhr.status == '400'){} }, timeout: 3000 }); } $("#requestTitle").text($(".title").text()); setModal(); var signUrl = window.location.origin + "/pip/"+code; var temp = document.getElementById("webpageSignin"); document.getElementById("webpageSignin").setAttribute('href', `${signUrl}#secureContent`); var strSignUrl = window.location.href; if(localStorage.getItem("webpageSigninValue")!= undefined){ if(!strSignUrl.includes("#secureContent")){ if(localStorage.getItem("webpageSigninFlag")){ var url_ob = new URL(signUrl); url_ob.hash = '#secureContent'; var new_url = url_ob.href; window.location.href = new_url; localStorage.removeItem("webpageSigninValue"); localStorage.removeItem("webpageSigninFlag"); }else{ localStorage.removeItem("webpageSigninValue"); localStorage.removeItem("webpageSigninFlag"); } }else{ localStorage.removeItem("webpageSigninValue"); localStorage.removeItem("webpageSigninFlag"); } }else{ localStorage.removeItem("webpageSigninValue"); localStorage.removeItem("webpageSigninFlag"); } $("#refreshPageId").on('click', function (event) { var strSignUrl = window.location.href; localStorage.setItem("refreshPageItem", strSignUrl); }); $("#webpageSignin").on('click', function (event) { localStorage.setItem("webpageSigninValue", document.getElementById("webpageSignin")); localStorage.setItem("webpageSigninFlag", true); event.preventDefault(); window.restrictedDocFlag = 'true'; window.secureAccessFlagForAnalytics = 'true'; window.secureAccessFlag = 'true'; }); $("#regLink").on('click', function (event) { event.preventDefault(); var uri = window.location.toString();     if (uri.indexOf("SAMLart") > -1) {         var clean_uri = uri.substring(0, uri.indexOf("?"));         window.history.replaceState({}, document.title, clean_uri);     } var currentUrl = window.location.href; if(currentUrl.includes("#secureContent")){ localStorage.setItem("reloadPageFlag", true); var url_ob = new URL(currentUrl); url_ob.hash = ''; var new_url = url_ob.href; var categoryId = localStorage.getItem("categoryId"); localStorage.removeItem("categoryId"); var actualDocUrl="/webapp-signup/docstoreReg"; $("#regLink").attr('href',actualDocUrl +'?destURL='+ new_url+'&catTag='+categoryId+'&section=secureContent'); window.location = $("#regLink").attr('href'); }else{ var categoryId = localStorage.getItem("categoryId"); localStorage.removeItem("categoryId"); var actualDocUrl="/webapp-signup/docstoreReg"; $("#regLink").attr('href',actualDocUrl +'?destURL='+ currentUrl+'&catTag='+categoryId+'&section=secureContent'); window.location = $("#regLink").attr('href'); } }); $("#accessReason").keyup(function(){ if($("#accessReason").val() == ""){ document.getElementById('reason_val_msg').innerHTML = "Required"; } else { document.getElementById('reason_val_msg').innerHTML = ""; } $("#reasonCharCount").text((500 - $(this).val().length) + " characters remaining."); }); $('.secondBtn').click(function(){location.reload();}); }); function setSignInUrl() { var code = $('meta[name=Code]')?.attr('content'); var pageUrl = window.location.origin + "/pip/"+code; var signInUrl = `${window.location.origin}/security/login?TARGET=${pageUrl}` var sessionSignInLink = document.getElementById("sessionTimeoutSignInLink"); sessionSignInLink?.setAttribute('href', signInUrl); var viewSecSignInLink = document.getElementById("viewSecSignInLink"); viewSecSignInLink?.setAttribute('href', signInUrl); } function toggleSecureBanner() { var isLoggedin = document.cookie.indexOf(authCookieName) > -1 && document.cookie.indexOf('SessID') > -1; var secureInfoBanner = $('#viewSecureInformation'); var publicUserAlert = $('#publicViewSecInfo'); var persistentSecureInformation = $('#persistentSecureInformation'); var persistentCookieName = "UsePerAuth"; var usePerAuthCookie = getCookie(persistentCookieName); var sessionId = getCookie('SessID'); var isSessionNotPersisted = ((sessionId == '' || sessionId == null) && usePerAuthCookie && usePerAuthCookie !== ''); var loginSection = document.getElementById("loginSection"); var secureContentSection = document.getElementById("secureContent"); if(loginSection && secureContentSection) { if(isSessionNotPersisted) { console.log("view info -> Session expired") secureInfoBanner && secureInfoBanner.css('display', 'none'); publicUserAlert && publicUserAlert.css('display', 'none'); persistentSecureInformation && persistentSecureInformation.css('display', 'block'); } else if(isLoggedin) { console.log("view info -> isLoggedin") secureInfoBanner && secureInfoBanner.css('display', 'block'); publicUserAlert && publicUserAlert.css('display', 'none'); persistentSecureInformation && persistentSecureInformation.css('display', 'none'); } else { console.log("view info -> loggedout") secureInfoBanner && secureInfoBanner.css('display', 'none'); publicUserAlert && publicUserAlert.css('display', 'block'); persistentSecureInformation && persistentSecureInformation.css('display', 'none'); } setSignInUrl() } } function submitAccessRequestModal(){ var isValid = true if ($("#accessReason").val() == "") { document.getElementById('reason_val_msg').innerHTML = "Required"; isValid = false; }else { var requestedFolderUuidsStr = []; var groupIdsStr = []; requestedFolderUuidsStr = $("#accessModalBody").attr("data-docstorerequestaccesslist"); groupIdsStr = $("#accessModalBody").attr("data-samrequestaccesslist"); document.getElementById('reason_val_msg').innerHTML = ""; var emailId = $("#accessModalBody").attr("emailId"); var higherAccessBean = { "groupIds" : groupIdsStr, "requestedFolderUuids": requestedFolderUuidsStr, "workNote" : $('#accessReason').val() }; var formatValue = (selectedProductUUId) => { var updateProductUUID = []; if (selectedProductUUId && selectedProductUUId !== undefined) { var updatedString = selectedProductUUId.replace("[", "").replace("]", "").replaceAll("\"",""); updateProductUUID = updatedString.split(",").map((s) => s.trim()); } return updateProductUUID; }; var formData = { "groupIds" :formatValue(higherAccessBean.groupIds), "requestedFolderUuids" : formatValue(higherAccessBean.requestedFolderUuids), "workNote" :higherAccessBean.workNote } $.ajax({ url:"/secured-rest/secureapi/requestHigherAccess", type: 'POST', contentType: "application/json; charset=utf-8", dataType: "text", async: false, data: JSON.stringify(formData), success: function(data) { if(data == "VALIDATION_FAILED"){ $('#customMsg').html("Something went wrong!! Please try after sometime.") $('#customMsg').show(); $('#reasonBody').hide(); $('.secondBtn').show(); $('.mainBtn').hide(); } else { /*var userEmail = data.userEmail;*/ $('#reasonBody').hide(); $('#successBody').html("Thank you for your interest. Your additional access request is being processed and you will be notified by email at the address " + emailId + " with the resolution of your request."); $('#successBody').show(); $('.secondBtn').show(); $('.mainBtn').hide(); } }, error: function(xhr){ $('#reasonBody').hide(); $('.secondBtn').show(); $('.mainBtn').hide(); $('#customMsg').show(); }, timeout: 3000 }); var trackOptions = {}; trackOptions.event = 'event'; trackOptions.eventValues = 'event14,event34'; trackOptions.eventPathing = 'Access Secure Information About Our Products Section Click'; trackOptions.pageAction = 'Access Secure Information About Our Products Section Click'; trackOptions.pageSubaction = 'Submit' trackOptions.form = {}; trackOptions.form.formName = 'Request Additional Secure Access Form'; if (typeof trackCustomObject === 'function') { trackCustomObject(trackOptions); } } return isValid; } function setModal(){ $(".mainBtn").show(); $(".secondBtn").hide(); } function closeModal(){ $('#reason_val_msg').html(""); $('#accessReason').val(""); $('#customMsg').html(""); $("#reasonCharCount").text("500 characters remaining."); }