CINXE.COM

Knox Solutions

<!doctype html><html lang="en" translate="no"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="copyright" content="Copyright&copy; SAMSUNG All Rights Reserved."/><meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"/><meta http-equiv="cache-control" content="no-cache, no-store"/><meta http-equiv="Pragma" content="no-cache"/><meta http-equiv="expires" content="0"/><script>window.env="production"</script><script src="https://apis.google.com/js/api.js"></script><script>window.onerror=function(r,e,o,n,i){if(r.toLowerCase().indexOf("script error")>-1)alert("Script Error: See Browser Console for Detail");else{var s=["Message: "+r,"URL: "+e,"Line: "+o,"Column: "+n,"Error object: "+JSON.stringify(i)].join(" - ");console.log(s)}return!1}</script><title>Knox Solutions</title><script defer="defer" src="/host/browserSupportChecker.js"></script><link rel="icon" href="/host/favicon.ico"><script defer="defer" src="/host/app.897c6b8c5b2d3f4d9554.js"></script></head><body><noscript>If you're seeing this message, that means <strong>JavaScript has been disabled on your browser</strong>, please <strong>enable JS</strong> to make this app work.</noscript><div id="app"></div><script type="text/javascript">!function(){var e={setConfig:function(e){var i=null,t=null;e.initialize&&e.initialize&&(i=e.initialize.tplURL||null,t=e.initialize.tplData||null);var l=null,o=null;e&&e.configListTPL&&(l=e.configListTPL),e&&e.configDetailTPL&&(o=e.configDetailTPL),emmProfileList.setConfig(t,i,l),emmProfileDetail.setConfig(t,o,e.initialize)}};window.KnoxEmmUI=e}(),function(){var e={Node:null,ParentNode:null,profileInfo:{},domRepo:[],URL:null,LI:null,setConfig:function(e,i,t){this.URL=i,this.LI=t&&t.LI||null,this.profileInfo=e||{}},setParentNode:function(e,i){this.Node=e},constructor:function(){},postMessage:function(e){window.postMessage(e,window.location.href)},emitProfilePayload:function(e,i){var t={EVENT_NAME:"PROFILE_DETAILS",EVENT_PAYLOAD:{data:this.profileInfo.restrictions.restrictions[e],index:e}};if(window.postMessage(t,window.location.href),i){if(this.domRepo.length>0){var l=this.domRepo[this.domRepo.length-1];"object"==typeof l&&(l.target.setAttribute("class","knox-profile-item"),this.domRepo.pop())}this.domRepo.push(i)}},successCallback:function(i,t,l){var o={};try{o="string"==typeof i?JSON.parse(i):"object"==typeof i?i:{}}catch(e){}if(!(void 0!==o&&Object.keys(o).length>0&&Object.keys(o.restrictions).length>0&&Object.keys(o.restrictions.restrictions).length>0))return!1;var a=o.restrictions.restrictions.length;e.profileInfo=o;var s=document.createElement("ul");s.setAttribute("id","kcs-profile-list"),s.setAttribute("class","knox-emm-profile-list"),t.appendChild(s);for(var n="",r=0;r<a;r++){var c=o.restrictions.restrictions[r].title,p=o.restrictions.restrictions[r].key;n+=l&&l.replace(/profileTitle/g,c).replace(/Index/g,r).replace(/profileKey/g,p)||'<li onClick="emmProfileList.emitProfilePayload('+r+', event)">'+o.restrictions.restrictions[r].title+"</li>"}s.innerHTML=n;e.postMessage({EVENT_NAME:"PROFILE_LIST_RENDERED",EVENT_PAYLOAD:""});try{var f=document.getElementById("kcs-profile-list").getElementsByTagName("li");$(f[0]).trigger("click")}catch(e){console.log("Error - Profile list is not available!")}},failureCallback:function(e){},profileList:function(e,i,t){this.Node=e,this.ParentNode=i,this.URL&&!t&&this.ajaxCall(this.successCallback,this.failureCallback,e),t&&this.successCallback(t,e,this.LI)},ajaxCall:function(e,i,t){if(this.URL){var l,o=this.URL,a=this.LI;try{l=new XMLHttpRequest}catch(e){try{l=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{l=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){return console.log("Your browser isn't supported!"),!1}}}l.onreadystatechange=function(){4===this.readyState&&(200===this.status&&e(this.responseText,t,a),200!==this.status&&i(this.responseText))},l.open("GET",o,!0),l.send(null)}}};window.emmProfileList=e,new Function('class MyElement extends HTMLElement{static get observedAttributes(){return["profile-info","profile-data"]}constructor(){super()}get profileInfo(){this.getAttribute("profile-info")}get profileData(){this.getAttribute("profile-data")}connectedCallback(){emmProfileList.profileList(this,this.parentNode,null)}attributeChangedCallback(e,t,i){if(t!==i)switch(e){case"profile-info":emmProfileList.profileList(this,this.parentNode,i)}}}window.customElements.define("profile-config-list",MyElement);').call(this)}(),function(){var e={configuration:{customElements:{radio:null,checkbox:null,textbox:null,dropdown:null,test:null,endUserPermission:null}},kcsDynamicProfile:{},profileData:{},toggleBlock:!1,resetDOM:!0,toggleSection:function(e,i,t,l){var o=document.getElementById(e);if("none"===o.style.display?o.style.display="block":o.style.display="none",!0===i.target.checked)return!1;var a,s=[];s[t]=[],s[t].push(l);var n=function(e){if(!e)return!1;for(var i=0;i<e.length;i++)if("bundle"===e[i].restrictionType){var l={key:e[i].key,title:e[i].title,type:"bundle"};console.log("Count - ",l),s[t].push(e[i].key),n(e[i].restriction)}},r=emmProfileList.profileInfo,c=!1;for(a=0;a<r.restrictions.restrictions.length;a++)if(!c){var p=r.restrictions.restrictions[a];if((p.parentNode&&p.parentNode===t||p.key===t)&&"bundle"===p.restrictionType)for(var f=0;f<p.restriction.length;f++)console.log("obj.restriction[loop]['key'] - ",p.restriction[f].key," && fieldKey - ",l),null!==l&&"bundle"===p.restriction[f].restrictionType&&p.restriction[f].key===l&&(c=!0,n(p.restriction[f].restriction))}if(this.profileData[t])for(a=0;a<s[t].length;a++)childKey=s[t][a],this.profileData[t][childKey]&&delete this.profileData[t][childKey];var d={EVENT_NAME:"DYNAMIC_UI_SECTION_TOGGLE",EVENT_PAYLOAD:{groupKey:t,fieldKey:l,data:this.profileData}};return this.postMessage(d),!1},postMessage:function(e){window.postMessage(e,window.location.href)},setConfig:function(e,i,t){e&&(this.profileData=e),i&&(this.configuration.customElements=i),t&&t.resetDOM&&(this.resetDOM=t.resetDOM)},setFieldValue:function(e,i,t,l){if(this.profileData[e]||(this.profileData[e]={}),l&&"checkbox"===l.type&&""!=t){var o=void 0!==this.profileData[e][i]?this.profileData[e][i]+",":"";!0===l.checked?o+=t:o=o.replace(t+",","").replace(t+",",""),this.profileData[e][i]=o}else this.profileData[e][i]=t},setProfileData:function(e,i){try{this.profileData="object"==typeof i?i:JSON.parse(i)}catch(e){}},toggleFieldValue:function(i,t){e.kcsDynamicProfile[i]?delete e.kcsDynamicProfile[i]:this.setFieldValue(i,t)},saveProfileDetail:function(){var i={EVENT_NAME:"PROFILE_DETAILS_SAVE_RESPONSE",EVENT_PAYLOAD:e.profileData};this.postMessage(i)},constructor:function(e,i,t){var l=this;if(i)window.addEventListener("message",(function(i){var t=i.data;if(t.hasOwnProperty("EVENT_NAME"))switch(t.EVENT_NAME){case"PROFILE_DETAILS":l.renderProfileProperties(t.EVENT_PAYLOAD.data,e);break;case"PROFILE_DETAILS_SAVE":l.saveProfileDetail()}}));else{if("object"!=typeof t)try{t=JSON.parse(t)}catch(e){}else t={};this.renderProfileProperties(t,e)}},renderComponents:function(e,i,t){var l="",o=e.restrictionType,a="",s="",n="",r="";if("bool"===o||"integer"===o||"choice"===o||"multi-select"===o||"string"===o){s=e.parentKey||e.key,a=e.title||"",e.description,e.defaultValue;n='<div style="width:200px; padding-top: 12px; padding-bottom: 12px; font-weight: normal; font-size: 14px;">End-user permission on device <div class="knox-emm-select" tabindex="0"><button class="select">Select on-demand</button><ul class="list"><li value="abc" onClick="alert(\'Aloha\')">Allow user to change setting</li><li>Do not allow user to change setting</li><li>Hide setting from end-user</li></ul></div></div>',r='<div class="additional-choices">'+(this.configuration.customElements.endUserPermission.replace(/fieldTitle/g,a).replace(/fieldKey/g,s).replace(/groupKey/g,i)||n)+"</div>"}switch(this.profileData&&void 0!==this.profileData[i]&&void 0!==this.profileData[i][s]&&(this.toggleBlock=!0),o){case"bool":if(l=(l="<div><label onClick=\"emmProfileDetail.setFieldValue('"+i+"', '"+s+'\', 1)" class="knox-emm-ui-radio"><input type="radio" value="1" name="emmProfileDetail.kcsDynamicProfile[\''+s+'\']"><span class="checkmark"></span></label> <label style="display: inline-block; margin-left: 25px;">On</label></div><br/>')+"<label onClick=\"emmProfileDetail.setFieldValue('"+i+"', '"+s+'\', 0)" class="knox-emm-ui-radio"><input type="radio" value="0" name="emmProfileDetail.kcsDynamicProfile[\''+s+'\']"><span class="checkmark"></span></label> <label style="display: inline-block; margin-left: 25px;">Off</label></div>',this.profileData&&void 0!==this.profileData[i]&&void 0!==this.profileData[i][s]){if(1===t)l=(l="<div><label onClick=\"emmProfileDetail.setFieldValue('"+s+'\', 1)" class="knox-emm-ui-radio"><input type="radio" value="1" checked="checked" name="emmProfileDetail.kcsDynamicProfile[\''+s+'\']"><span class="checkmark"></span></label> <label style="display: inline-block; margin-left: 25px;">On</label></div><br/>')+"<label onClick=\"emmProfileDetail.setFieldValue('"+s+'\', 0)" class="knox-emm-ui-radio"><input type="radio" value="0" name="emmProfileDetail.kcsDynamicProfile[\''+s+'\']"><span class="checkmark"></span></label> <label style="display: inline-block; margin-left: 25px;">Off</label></div>';if(0===t)l=(l="<div><label onClick=\"emmProfileDetail.setFieldValue('"+s+'\', 1)" class="knox-emm-ui-radio"><input type="radio" value="1" name="emmProfileDetail.kcsDynamicProfile[\''+s+'\']"><span class="checkmark"></span></label> <label style="display: inline-block; margin-left: 25px;">On</label></div><br/>')+"<label onClick=\"emmProfileDetail.setFieldValue('"+s+'\', 1)" class="knox-emm-ui-radio"><input type="radio" value="0" checked="checked" name="emmProfileDetail.kcsDynamicProfile[\''+s+'\']"><span class="checkmark"></span></label> <label style="display: inline-block; margin-left: 25px;">Off</label></div>'}if(this.configuration.customElements.radio){l="";var c=this.configuration.customElements;l=c=(c=(c=this.configuration.customElements.radio).replace(/fieldKey/g,s)).replace(/groupKey/g,i)}break;case"multi-select":var p=[];if(t&&("string"==typeof t&&(p=t.split(",")),"object"==typeof t))for(var f in t)p.push(f);var d=e.entryValues.split(","),u=(k=e.entries.split(",")).length||0,m=0;if(this.configuration.customElements.checkbox){l=c=this.configuration.customElements.checkbox.replace(/groupKey/g,i).replace(/fieldKey/g,s).replace(/fieldValues/g,d).replace(/fieldTexts/g,k)}else{var h='<ul class="knox-emm-ui-choice">';for(m=0;m<u;m++){var g=p.indexOf(d[m])>-1?"checked":"";h+='<li class="knox-switcher"><label class="checkbox-container">'+k[m]+'<input type="checkbox" '+g+" name=\"'"+s+'\'" value="'+d[m]+'" onClick="emmProfileDetail.setFieldValue(\''+i+"', '"+s+'\',this.value, this);" /><span class="checkmark"></span></label></li>'}l=h+="</ul>"}break;case"integer":var b=e.minVal&&parseInt(e.minVal)||0,v=e.maxVal&&parseInt(e.maxVal)||0;l='<div class="knox-slidecontainer"><input type="range" min="'+b+'" max="'+v+'" value="'+t+'" class="knox-emm-ui-slider" name="\''+s+"'\" onChange=\"emmProfileDetail.setFieldValue('"+i+"', '"+s+"',this.value);\"></div>";this.configuration.customElements.slider&&(l=(l=(l=(l=(l=this.configuration.customElements.slider.replace(/fieldKey/g,s)).replace(/fieldTitle/g,a)).replace(/groupKey/g,i)).replace(/minVal/g,b)).replace(/maxVal/g,v));break;case"string":l='<input type="text" name="" style="display: inline-block !important; opacity: 1; -webkit-appearance: textbox;" name="emmProfileDetail.kcsDynamicProfile[\''+s+'\']" value="" onChange="emmProfileDetail.setFieldValue(\''+s+"',this.value);\" >";this.configuration.customElements.textbox&&(l=(l=(l=this.configuration.customElements.textbox.replace("fieldKey",s)).replace(/fieldTitle/g,a)).replace(/groupKey/g,i));break;case"choice":d=e.entryValues.split(","),u=(k=e.entries.split(",")).length||0,m=0;var k,y="";h=(h='<div class="knox-emm-ui-select">')+"<select name=\"'"+s+"'\" onChange=\"emmProfileDetail.setFieldValue('"+i+"', '"+s+'\',this.value);" style="display: inline-block !important; opacity: 1; -webkit-appearance: textbox;">';var D="`",E="";for(y="[",m=0;m<u;m++)E=t===d[m]?"selected":"",h+='<option value="'+d[m]+'" '+E+">"+k[m]+"</option>",y+="{value: `"+(d[m]||"")+"`,text: "+D+(k[m]||"")+"`},";y=y.substring(0,y.length-1),y+="]",h+="</select>",l=h+="</div>",this.configuration.customElements.dropdown&&(l=this.configuration.customElements.dropdown.replace(/fieldTitle/g,a).replace(/fieldKey/g,s).replace(/groupKey/g,i).replace(/options/g,y)||h);break;case"bundle":l='<div class="section-bundle-container">';var P=e.key||"";for(m=0;m<e.restriction.length;m++){e.restriction[m].parentKey=P;var x="";this.profileData&&void 0!==this.profileData[i]&&void 0!==this.profileData[i][s]&&(x=this.profileData[i][P]);c="";if(e.restriction[m].title){if(c='<div class="section-bundle-title">',c+="<label>"+e.restriction[m].title+"</label>",e.restriction[m].description){c+=this.configuration.customElements.info?this.configuration.customElements.info.replace(/fieldDescription/g,e.restriction[m].description):'&nbsp<span class="info-sign-icon cursor-pointer" tooltip="'+e.restriction[m].description+'" tooltip-placement="right" tooltip-trigger="focus" tabindex="0"></span>'}l+=c+="</div>"}l=l+'<div class="section-bundle-properties-box">'+this.renderComponents(e.restriction[m],i,x)+"</div>"}l+="</div>"}var L="<div>"+l+"</div>";return r&&(L+="<div>"+r+"</div>"),L},renderProfileProperties:function(e,i){if(this.resetDOM)for(;i.firstChild;)i.removeChild(i.firstChild);var t=void 0!==e.parentNode?e.parentNode:e.key,l=e.title,o=document.createElement("h2");o.setAttribute("class","group-title"),o.innerHTML=l,i.appendChild(o);var a=document.createElement("ul");if(a.setAttribute("id","kcs-profile-detail"),a.setAttribute("class","knox-emm-profile-detail"),i.appendChild(a),void 0!==(e=e.restriction)&&e.length>0)for(var s=0;s<e.length;s++){var n=document.createElement("li");n.setAttribute("class","profile-item"),a.appendChild(n);var r=e[s].title,c=e[s].key,p=e[s].description,f=(e[s].restrictionType,e[s].defaultValue,e[s],"");null!=this.profileData&&void 0!==this.profileData[t]&&void 0!==this.profileData[t][c]&&(f=this.profileData[t][c]),this.toggleBlock=!1;var d=!1;f&&(d=!0),n.innerHTML='<div class="container-'+c+'" id="container-'+c+'">';var u="toggle-emm-section-"+c,m=d?'checked="checked"':"",h="";h='<div class="knox-switcher" style="display: inline-block; height: auto; width: auto; position: relative; background: none; border: 0px;outline: none;">';var g="";this.configuration.customElements.toggleBtnParams&&(g=this.configuration.customElements.toggleBtnParams.replace(/groupKey/g,t).replace(/fieldKey/g,c)),h=h+'<label class="checkbox-container"><input type="checkbox" '+g+" onClick=\"emmProfileDetail.toggleSection('emm-section-"+c+"', event, '"+t+"', '"+c+'\');" id="'+u+'" '+m+'><span class="checkmark"></span></label>',h+="</div>",n.innerHTML+=h,n.innerHTML+="<label class='field-title'>"+r+"</label>";var b="";p&&(b=this.configuration.customElements.info?this.configuration.customElements.info.replace(/fieldDescription/g,p):'&nbsp<span class="info-sign-icon cursor-pointer" tooltip="'+p+'"tooltip-placement="right" tooltip-trigger="focus" tabindex="0"></span>',n.innerHTML+=b);var v;v=this.renderComponents(e[s],t,f);var k="none";!0===this.toggleBlock&&(document.getElementById("toggle-emm-section-"+c).setAttribute("checked","checked"),k="block");var y='<div class="knox-emm-section" id="emm-section-'+c+'" style="display: '+k+'; font-size: 13px;">';y+=v,y+="</div>",n.innerHTML=n.innerHTML+y,n.innerHTML+="<div>";var D={EVENT_NAME:"PROFILE_DETAILS_RENDERED",EVENT_PAYLOAD:{groupName:c}};this.postMessage(D)}}};window.emmProfileDetail=e,new Function('class MyElementDetail extends HTMLElement{static get observedAttributes(){return["profile-detail","profile-data"]}constructor(){super(),emmProfileDetail.constructor(this,!0,null)}get profileDetail(){this.getAttribute("profile-detail")}get profileData(){this.getAttribute("profile-data")}connectedCallback(){}attributeChangedCallback(e,t,l){if(t!==l)switch(e){case"profile-detail":emmProfileDetail.constructor(this,!1,l);break;case"profile-data":emmProfileDetail.setProfileData(t,l)}}}window.customElements.define("profile-config-detail",MyElementDetail);').call(this)}()</script><script type="text/javascript">function preReload(){var n=window.location.pathname;n.length>1&&-1===n.indexOf("path=")&&-1===n.indexOf("login-navigator")&&(n+=window.location.search,sessionStorage.setItem("ROLE_REDIRECT_URI",n))}window.onpaint=preReload()</script><div class="upc"></div></body></html>