UNPKG

@opcua/for-node-red

Version:

The Node-RED node to communicate via OPC UA, powered NodeOPCUA and developed by Sterfive's team

107 lines (83 loc) 75.5 kB
<style> .sterfive-combo-box{position:relative;width:100%}.sterfive-online-menu{height:auto;position:fixed;width:auto}.sterfive-input-error{border-color:var(--red-ui-form-input-border-error-color);border-style:solid;border-width:1px}.sterfive-typedInput-options{background:#fff;border-style:solid;border-width:1px;border:1px solid var(--red-ui-primary-border-color);box-sizing:border-box;max-height:350px;overflow-y:auto;position:absolute;white-space:nowrap;z-index:2000}.sterfive-typedInput-options a{align-items:center;border-bottom:1px solid;border-color:var(--red-ui-secondary-border-color);border-style:solid;border-width:1px;color:var(--red-ui-form-text-color);display:flex;font-size:13px;padding:6px 18px 6px 6px;text-decoration:none}.sterfive-typedInput-options a:hover{background:var(--red-ui-workspace-button-background-hover);text-decoration:none}.sterfive-typedInput-options a:focus{outline:none}.sterfive-typedInput-options a:active,.sterfive-typedInput-options a:focus{background:var(--red-ui-workspace-button-background-active);text-decoration:none}.sterfive-typedInput-options a input[type=checkbox]{margin:0 6px 0 0}.sterfive-typedInput-options .sterfive-typedInput-icon{margin-right:6px}.sterfive-typedInput-options .sterfive-typedInput-icon:not(.fa){background-color:var(--red-ui-primary-text-color);height:14px;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;width:12px}.sterfive-combo-box .sterfive-dropdown{background-color:#fff;border:1px solid #ccc;display:none;left:0;max-height:400px;overflow-y:auto;position:absolute;top:100%;width:100%;z-index:1000}.sterfive-combo-box li:before{content:none}.sterfive-tree li.expandable:before,.sterfive-tree li.no-expandable:before{content:"\f0da";cursor:pointer;font-family:FontAwesome,sans-serif;font-size:12pt;font-weight:900;margin-right:5px}.sterfive-tree li.no-expandable:before{opacity:0}.sterfive-tree li.expanded:before{content:"\f0d7";cursor:pointer;font-family:FontAwesome,sans-serif;font-size:12pt;font-weight:900;margin-right:5px}.sterfive-tree li span.selected{border:.5px dotted #33f}.sterfive-tree .fa{color:#333;margin-right:10px}.sterfive-tree ul{list-style:none;padding-inline-start:2%}.sterfive-tree li{cursor:pointer;padding:5px}.sterfive-tree{list-style-type:none}.sterfive-tree,.sterfive-tree ol,.sterfive-tree ul{list-style-type:none;margin:0;padding:0}.sterfive-tree li:hover{background-color:#eee}.sterfive-tree li.loading:before{animation:fa-spin 1s linear infinite;content:"\f110";cursor:pointer;font-family:FontAwesome,sans-serif;font-weight:900;margin-right:5px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.sterfive-tree .spinner{animation:spin .7s linear infinite;border:2px solid transparent;border-radius:50%;border-top-color:#666;display:inline-block;height:16px;width:16px}.sterfive-info{background-color:#fafad2;border-radius:10px;border-style:groove;display:block;font-size:10pt;margin:5px 0;padding:5px}.sterfive-info .ok{color:green}.sterfive-info .warning{color:darkred}.input-wrapper{border:0 solid #ccc;border-radius:5px;padding:0}.sterfive-input-group{border:1px solid #ccc;border-radius:5px;display:flex;overflow:hidden}.sterfive-input-group button,.sterfive-input-group input{border:none;outline:none;padding:10px}.sterfive-input-group input{flex:1}.sterfive-input-group button{background-color:var(--red-ui-form-button-background);color:#7b7a7a;cursor:pointer}.sterfive-input-group button:hover{background-color:var(--red-ui-secondary-background-hover)}.sterfive-info-text{color:#777;font-size:12px;margin-left:10px;margin-top:5px}.custom-checkbox{cursor:pointer;display:inline-block;font-family:FontAwesome,sans-serif;font-size:16px;font-weight:900;margin-right:10px;text-align:center;width:1em}.custom-checkbox.unchecked:before{content:"\f096"}.custom-checkbox.checked:before{content:"\f046"}.validate-cancel-buttons{background-color:#fff;position:sticky;right:0;top:0;z-index:1001}.cancel-button,.validate-button{cursor:pointer;font-size:16px;margin:5px}.sterfive-combo-box .sterfive-dropdown{position:relative}.floating-buttons{position:fixed;z-index:1003} /*# sourceMappingURL=OpcUa-Client2-Call.css.map */ </style> <!-- HTML CONTENTS --> <script type="text/x-red" data-template-name="OpcUa-Client2-Call"> <h3>Opc-UA Call</h3> <div class="form-row"> <label for="node-input-name"><i class="icon-tasks"></i>Name</label> <input type="text" id="node-input-name" placeholder="enter the friendly name of the node" /> </div> <div class="form-row"> <label for="node-input-endpoint"><i class="icon-tasks"></i> Endpoint</label> <input type="text" id="node-input-endpoint" placeholder="opc.tcp://localhost:4334" /> </div> <div class="form-row"> <label for="node-input-objectId" style="width: 100%"><i class="fa fa-object"></i>ObjectId</label> <input type="text" id="node-input-objectId" /> </div> <div class="form-row"> <label for="node-input-methodId" style="width: 100%"><i class="fa fa-object"></i>MethodId</label> <input type="text" id="node-input-methodId" /> </div> <div class="form-row"> <button type="button" id="validate-call-arguments-button" class="btn btn-primary" style="margin-left: 10px"> <i class="fa fa-flask"></i>Check </button> &nbsp; <i id="validate-pending" class="fa fa-spinner" aria-hidden="true" color="green"></i> <i id="validate-success" class="fa fa-check-square" aria-hidden="true" style="color: green; font-size: 1.2em"></i> <i id="validate-failure" class="fa fa-exclamation-triangle" aria-hidden="true" style="color: red; font-size: 1.2em"></i> <span id="validate-messages"></span> </div> <div class="form-row"> <legend> input arguments &nbsp; <button type="button" id="copy-input"><i class="fa fa-copy"></i></button> </legend> <div id="method-input-argument-definition"></div> <legend>output arguments</legend> <div id="method-output-argument-definition"></div> </div> </script> <!-- MARKDOWN CONTENTS --> <script type="text/markdown" data-help-name="OpcUa-Client2-Call"> ### Perform a Method Call Use this node to call a method on an OPC UA server. #### Properties - **Name**: The name of this node. - **Endpoint**: The predefined endpoint of the OPC UA server to connect to. - **ObjectId**: The OPC UA Node ID for which you want to call the method. - **MethodId**: The OPC UA Node ID of the method to call. #### Addtional information - The "Check" button will interogate the server to get the input arguments of the method. - You can use the [copy] button on the input arguments to copy a template of the input arguments to the clipboard. - In order to call the method, you'll need to inject a msg with a `payload` that contains the input arguments as a JSON object, each key being the name of one of the argument of the method and the value being the value of the argument. - The output of the node will be the result of the method call. #### Inputs - **Input Arguments**: The input arguments for the method call. ##### Notes - make sure to select a value ObjectId and MethodId before clicking the "Check" button. ## Advanced Options #### passing a extension object as input argument You can pass an ExtensionObject as input argument by using the `msg.payload` property of the injected message. For instance: ```json msg.payload = { "Argument1": { "TypeId": "ns=2;i=1001", "Body": { "Field1": "value1", "Field2": 42, "Field3": true } } } } ``` # reference -Refer to the [ExtensionObject](https://opcua-for-node-red.doc.sterfive.com/blog/dealing-with-extension-object) </script> <!-- END OF CONTENTS --> <script type="text/javascript"> function _0x5236(){const _0x5bccb3=['10px\x2020px','_blank','attr','expanded','0\x2020px\x2050px\x20rgba(0,0,0,0.25)','catch','<button\x20title=\x22verify\x20nodeId\x20or\x20browsePath\x22><i\x20class=\x22fa\x20fa-refresh\x22></i></button>','$elementDiv','bp_aliased','500','assign','99oqHweC','prependTo','<ul\x20class=\x22sterfive-tree\x22></ul>','referenceTypeId','nodeClass','css','NodeClass','hasClass','isTypeRef','label',');\x20-webkit-mask-image:\x20url(','verify','fa-cog','DarkOrange','preventDefault','$inputGroup','getTime','indexOf','inputArguments','title','<li><i\x20class=\x22fa\x20fa-error\x22\x20style=\x22color:red;\x22></i>no\x20reference\x20!<ul></ul></li>','Register\x20now','64px','pageY','fetched\x20:\x20','references','map','</span>','input[type=\x22checkbox\x22]','<unknown>','<button\x20type=\x22button\x22\x20tabindex=\x220\x22></button>','#999','hide','sterfive-typedInput-options\x20sterfive-online-menu','</p>','#ff9800','48NUcrxu','nodeIds','<div\x20class=\x22spinner\x22></div>','/onboarding/status','-success','10655505rlFtSZ','expiryDate','multiple','licenceInfo','permanent','sterfive-input-error','reset','offset','fadeIn','ceil','find','pointer','editableList','<p>','Could\x20not\x20find\x20dialog\x20content\x20to\x20show\x20licence\x20banner','widget','\x20day','5px','red-ui-typedInput-icon','$dropdown','licence-prof-expired-banner','HasComponent','Renew\x20Now','removeEventListener','complete\x20registration</a>.','<i\x20class=\x22red-ui-typedInput-icon\x20fa\x20fa-caret-down\x22></i>','stringify','sterfive-input-group','absolute','ns=0;i=0','width=1200,height=800','10px','height','fa-question','getItem','valueRank','replace','sterfive-info','animate','mouseleave','body','prepend','5px\x2010px','backgroundColor','execCommand','Your\x20trial\x20period\x20has\x20ended.\x20To\x20continue\x20using\x20this\x20node,\x20please\x20purchase\x20a\x20professional\x20license\x20or\x20contact\x20our\x20support\x20team\x20for\x20assistance.','VariableType','#1976D2','settings','ns=0;i=85','dataTypes','node\x20class:\x20','</strong>.\x20','<i\x20class=\x22fa\x20fa-bookmark\x22/><i\x20class=\x22fa\x20fa-fighter-jet\x22/>&nbsp;','$uiSelect','Aliased\x20NodeId','1.6','/config#buy','aliasedNodeId','DataType','html','licence-activated','grey','mask-image:\x20url(','HasSubtype','1px\x20solid\x20#ccc','<strong>✅\x20Registration\x20complete</strong>\x20—\x20','value','<li>error\x20','addClass','/images/small-sterfive.png','150640GPDaqO','/config','after','appendChild','<a\x20href=\x22javascript:void(0)\x22\x20title=\x22Click\x20to\x20visit\x20documentation\x22\x20style=\x22position:absolute;\x20top:10px;\x20right:10px;\x20z-index:1000;\x20color:#0066cc;\x20cursor:pointer;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20class=\x22fa\x20fa-question-circle\x22\x20style=\x22font-size:18px;\x22></i>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</a>','TypeDefinition','.red-ui-tray-content','&times;','createElement','PROFESSIONAL','name','none','failure','/checkNodeId','14px','10px\x2015px','transparent','FREEWARE','Fallback:\x20Text\x20copied\x20to\x20clipboard\x20successfully!','fa-text-width','ns=0;i=61','00000000-0000-0000-0000-000000000000','Fallback:\x20Failed\x20to\x20copy\x20text.','rgba(','Method','nodeId:\x20','Organizes','description','application/json','displayName','stopPropagation','fadeOut','!!failure!!','disarmClick','join','fetched','callback','$verifyBtn','$selectTrigger','statusCode','HasProperty','enter\x20a\x20nodeId\x20or\x20a\x20browsePath\x20','#495057','<div>','ns=0;i=34','$combo','blur(10px)','localeCompare','50px','position','sterfive_opcua_nodered_doc','appendTo','_showMenu','nodeId_aliased','[value=\x27','click','<i>','fa-list-alt','#e9ecef','mousedown.red-ui-typedInput-close-property-select','.onboarding-required-banner','json','licence-continue-button','data','element','selectedMenuItem','Variable','<div/>','nodeBrowser','.licence-expiry-banner','nsu\x20nodeId:\x20','aliasedBrowsePath','namespaceAliases','outputArguments','<span\x20title=','#method-input-argument-definition','supportUrl','15px\x2030px','options','url','<input\x20type=\x22text\x22>','Object','buttonCss','function','<div\x20class=\x22argument-entry\x22>','sterfive.nodeBrowser','ns=0;i=45','err','has-node-help-widget','opcUaEndpoint2Config','then','this\x20node\x20will\x20not\x20process\x20messages\x20until\x20you\x20','opacity\x200.2s','read',':first','1px\x20solid\x20rgba(255,\x20255,\x20255,\x200.3)','FAILED','nodes','toggle','<h2>','nodeId_nsu','#node-input-endpoint','browse\x20path:\x20','prop','rgba(61,\x2060,\x204,\x200.525)','#method-output-argument-definition','resolveParentNode','apply','docs/','pageX','SeaGreen','#f8d7da','red-ui-typedInput-icon\x20','message','40px','status','>&nbsp;\x20','Oops,\x20unable\x20to\x20copy.\x20An\x20error\x20occurred.','15px','copy','empty','#ccc','SandyBrown','fetching\x20failed\x20with\x20error','<span>','statusText','text','ReferenceType','\x22\x20target=\x22_blank\x22\x20','73018HQUrQR','__parentNode','addItem','0.0.0','<i\x20class=\x22fa\x20fa-font\x22/i>\x20','inputArgumentsExampleAsJson','18px','left','opc.tcp://opcuademo.sterfive.com:26543','space-between',';\x22></i>\x20','first','dataType','13px','/licenceInfo','Could\x20not\x20find\x20dialog\x20content\x20to\x20show\x20licence\x20overlay','BrowsePath','msg.','EXPIRED','Objects','<div\x20class=\x22sterfive-info-text\x22></div>','Both','SteelBlue','_hideMenu','licence-activation-overlay','Your\x20trial\x20license\x20expires\x20in\x20<strong>','white','<button>','target','opacity','top','rgba(0,\x200,\x200,\x200.05)','auto','50%','opcua','BrowseName','startsWith','disconnect','validate','.tree-text:first','off','$tree','reference','3290120NmtFKB','icon','</span><ul></ul></li>','suppressed','currentParent','nsuNodeID','relative','aliased\x20NodeId:\x20','slideUp','checked','GET','all\x200.2s','230811QFquxU','-failure','style=\x22color:#1565C0;\x20text-decoration:underline;\x20font-weight:bold\x22>','prev','mousedown','span','rgba(255,\x20255,\x20255,\x200.9)','NodeId','done','focus','$selectLabel','expandable','parentNode','\x22\x20style=\x22color:','underline','TRIAL','keydown','<strong>⚠️\x20Registration\x20required</strong>\x20—\x20','Failed\x20to\x20check\x20licence\x20status:','bold','SuppressedError','buttonHoverCss','bp_indexed','Invalid','keys','apiRootUrl','browseResult','red-ui-typedInput-focus','extra','IsForward','node','View','Trial\x20License\x20Expired','remove','next','ns=0;i=46','#721c24','bannerCss','toString','inputs','isSelectable','136wSbRCb','#856404','type','20px','blur','Forward','flex','keyCode','Value\x20is\x20not\x20verified','opts','/walk-backward','<i\x20class=\x22fa\x20fa-bookmark\x22/>&nbsp;\x20','opcua-for-node-red-fix-me','12px','expandable\x20expanded','browseName','DodgerBlue','node_label_italic','CadetBlue','placeholder','RED.settings[\x22','100%','_showTypeMenu','2727844NRFwpx','onboarded','true',':visible','isArray','match','replaceWith','observe','POST','split','already\x20fetched','#fff3cd','8px','addEventListener','$input','#validate-call-arguments-button','open','endpoint','mouseenter','requestedNodeId','main-wrapper','$info','error','length','.red-ui-tray-body','trigger','messageCss',':focus','onboarding-required-banner','background-color\x200.2s','_initMenu','$menu','node\x20id\x20or\x20\x20browse\x20path\x20comes\x20from\x20injected\x20msg\x20parameter','Good','#node-input-methodId','24px','throw','#333','append','writeText','bannerClass','loading','browsePath','\x22]\x20is\x20not\x20set,\x20using\x20default\x20API\x20namespace.\x20Available\x20keys:\x20','wrap','/argumentDefinition','endpointNode','select','2px\x20solid\x20#28a745','show','HasChild','<span\x20class=\x22red-ui-typedInput-type-label\x22></span>','result','#c82333','call','fa-object-group','.spinner','right','Unspecified','#555','#2196F3','li[key=\x22','<input\x20type=\x22checkbox\x22>','center','#copy-input','li\x20>\x20.tree-text','warn','buttonText','<br>','scrollTop','NodeId\x20with\x20namespace\x20Urn','926183vicaOw','sort','removeClass','\x22}><span\x20class=\x22tree-text\x22\x20title=','OPCUA-Call','background-color','tabindex','licence-expiry-banner','setMode','BadNoMatch','log','Inverse','mode','filter','https://opcua-for-node-red.doc.sterfive.com','arguments','push','16px','nsu','children','-messages','toggleClass','nodeId','selected','sterfive-dropdown','val','Get\x20Support\x20&\x20Activate\x20License','ns=0;i=47','ns=0;i=35','licence-freemium-banner','clipboard','#dc3545','ObjectType'];_0x5236=function(){return _0x5bccb3;};return _0x5236();}function _0x216d(_0x55daf3,_0x31c0e9){_0x55daf3=_0x55daf3-0x85;const _0x52363e=_0x5236();let _0x216d2e=_0x52363e[_0x55daf3];return _0x216d2e;}(function(_0x39be60,_0x10d068){const _0x4ef315=_0x216d,_0x203b1c=_0x39be60();while(!![]){try{const _0x490d3a=-parseInt(_0x4ef315(0xa5))/0x1+parseInt(_0x4ef315(0x1c2))/0x2*(parseInt(_0x4ef315(0xd1))/0x3)+-parseInt(_0x4ef315(0x239))/0x4+-parseInt(_0x4ef315(0x141))/0x5*(parseInt(_0x4ef315(0xf5))/0x6)+-parseInt(_0x4ef315(0x1f9))/0x7*(-parseInt(_0x4ef315(0x222))/0x8)+parseInt(_0x4ef315(0xfa))/0x9+-parseInt(_0x4ef315(0x1ed))/0xa;if(_0x490d3a===_0x10d068)break;else _0x203b1c['push'](_0x203b1c['shift']());}catch(_0x5ba0ab){_0x203b1c['push'](_0x203b1c['shift']());}}}(_0x5236,0xbc41f),(function(){'use strict';const _0x30af57=_0x216d;function _0x4671b0(_0x19aa97,_0x28a039,_0x20f458,_0x332335){function _0x4bac49(_0x51e090){return _0x51e090 instanceof _0x20f458?_0x51e090:new _0x20f458(function(_0x4e06b3){_0x4e06b3(_0x51e090);});}return new(_0x20f458||(_0x20f458=Promise))(function(_0x409b92,_0x568dde){const _0x558c31=_0x216d;function _0x1b8473(_0x3fab78){const _0x18e0c1=_0x216d;try{_0x52b391(_0x332335[_0x18e0c1(0x21b)](_0x3fab78));}catch(_0x1ce37f){_0x568dde(_0x1ce37f);}}function _0x503270(_0x4f7ad9){const _0x19772b=_0x216d;try{_0x52b391(_0x332335[_0x19772b(0x25d)](_0x4f7ad9));}catch(_0x2de57a){_0x568dde(_0x2de57a);}}function _0x52b391(_0x2e4258){const _0x48df52=_0x216d;_0x2e4258[_0x48df52(0x201)]?_0x409b92(_0x2e4258['value']):_0x4bac49(_0x2e4258[_0x48df52(0x13d)])['then'](_0x1b8473,_0x503270);}_0x52b391((_0x332335=_0x332335[_0x558c31(0x1ac)](_0x19aa97,_0x28a039||[]))[_0x558c31(0x21b)]());});}typeof SuppressedError===_0x30af57(0x194)?SuppressedError:function(_0xad4ae8,_0x13d93a,_0x52227e){const _0x421021=_0x30af57;var _0x23ed98=new Error(_0x52227e);return _0x23ed98[_0x421021(0x14b)]=_0x421021(0x20d),_0x23ed98[_0x421021(0x24f)]=_0xad4ae8,_0x23ed98[_0x421021(0x1f0)]=_0x13d93a,_0x23ed98;};function _0xe4bf3b(_0x1beef1){const _0x26bd7c=_0x30af57;!_0x1beef1[_0x26bd7c(0x1e6)]('/')&&(_0x1beef1='/'+_0x1beef1);const _0x36b4e1=_0x26bd7c(0x19a);let _0x5c6890=RED[_0x26bd7c(0x12a)][_0x36b4e1];if(!_0x5c6890){const _0x2de743=Object[_0x26bd7c(0x211)](RED[_0x26bd7c(0x12a)])[_0x26bd7c(0xa6)]()[_0x26bd7c(0x163)](',\x20');console[_0x26bd7c(0xa0)](_0x26bd7c(0x236)+_0x36b4e1+_0x26bd7c(0x89)+_0x2de743),_0x5c6890=_0x26bd7c(0x22e);}const _0x43bfbd=RED[_0x26bd7c(0x12a)][_0x26bd7c(0x212)]||'',_0x4795f9=''+_0x43bfbd+_0x5c6890+_0x1beef1;return _0x4795f9;}const _0x2acaf3=(_0x124546,_0x5abf38,_0x110edc)=>_0x4671b0(void 0x0,[_0x124546,_0x5abf38,_0x110edc],void 0x0,function*({endpointNode:_0x3e8050,endpoint:_0x5cb09b},_0x5506d0,_0x5dda41){const _0x3021d1=_0x30af57,_0x7f180e=_0xe4bf3b(_0x3021d1(0x14e)),_0x32d0ab=yield fetch(_0x7f180e,{'method':_0x3021d1(0x241),'body':JSON['stringify']({'endpointNode':_0x3e8050,'endpoint':_0x5cb09b,'nodeId':_0x5506d0,'namespaceAliases':_0x5dda41}),'headers':{'Content-Type':_0x3021d1(0x15d)}});if(_0x32d0ab[_0x3021d1(0x1b4)]!==0xc8){console[_0x3021d1(0xaf)](_0x3021d1(0x1bc),_0x32d0ab[_0x3021d1(0x1b4)],_0x32d0ab['statusText']);const _0xd33c22={'statusCode':_0x3021d1(0xae),'requestedNodeId':_0x5506d0};return _0xd33c22;}console[_0x3021d1(0xaf)](_0x3021d1(0xe9),_0x32d0ab[_0x3021d1(0x1b4)],_0x32d0ab[_0x3021d1(0x1be)]);const _0x363676=yield _0x32d0ab[_0x3021d1(0x17e)]();return _0x363676;}),_0x44a3f7=()=>{const _0x373f7b=_0x30af57,_0x54bd9c=$(_0x373f7b(0x251));if(_0x54bd9c['length']){const _0x4ba272=$('<iframe></iframe>',{'src':_0xe4bf3b('/support-frame.html'),'scrolling':'no','style':'background-color:transparent;overflow:hidden;border:3px','allowtransparency':_0x373f7b(0x23b),'width':'180px','height':_0x373f7b(0x171)});_0x54bd9c[_0x373f7b(0x25f)](_0x4ba272),_0x4ba272[_0x373f7b(0xd6)]({'position':_0x373f7b(0x116),'right':'20px','bottom':'16px'});}},_0x16d60a=()=>{const _0x457450=_0x30af57,_0x28c9cd=$(_0x457450(0x1a6)),_0x48d4ac=_0x28c9cd['val'](),_0x306c7a=RED[_0x457450(0x1a2)][_0x457450(0x217)](_0x48d4ac);if(!_0x306c7a)return undefined;const {endpoint:_0x303368,securityMode:_0x24e5ab,securityPolicy:_0xa4c8d2,userIdentityType:_0x385ad0,credentials:_0x3431d5,namespaceAliases:_0x1d2e94}=_0x306c7a,_0x135be8={'endpoint':_0x303368,'securityMode':_0x24e5ab,'securityPolicy':_0xa4c8d2,'userIdentityType':_0x385ad0,'credentials':_0x3431d5,'namespaceAliases':_0x1d2e94};return _0x135be8;},_0x502b78=()=>{const _0x347685=_0x30af57,_0x621c02=$(_0x347685(0x1a6)),_0x3cd5a3=_0x621c02['val'](),_0x2a3e08=_0x16d60a();if(!_0x2a3e08)return undefined;const _0x4407cd=_0x2a3e08[_0x347685(0x189)];return Object['assign']({'namespaceAliases':_0x4407cd,'id':_0x3cd5a3},_0x2a3e08);},_0x56587d=()=>{return{'endpointNode':_0x502b78};};function _0xa9e0d(){return _0x4671b0(this,void 0x0,void 0x0,function*(){const _0x5cafe1=_0x216d,_0x2828f2=_0xe4bf3b(_0x5cafe1(0x1d0)),_0x141e0a=yield fetch(_0x2828f2,{'method':_0x5cafe1(0x1f7)}),_0x56d609=new Date()['toISOString'](),_0x30ee0f={'status':_0x5cafe1(0x1a1),'type':_0x5cafe1(0x152),'productName':'Unknown\x20Product','productVersion':_0x5cafe1(0x1c5),'licenceInfo':{'licenceId':_0x5cafe1(0x156),'licenceType':_0x5cafe1(0xee),'expiryDate':_0x56d609,'onPremiseServerHost':'','expired':!![],'userCompany':'','userEmail':'','userName':''}};if(_0x141e0a[_0x5cafe1(0x1b4)]!==0xc8)return console[_0x5cafe1(0xaf)](_0x5cafe1(0x1bc),_0x141e0a[_0x5cafe1(0x1b4)],_0x141e0a[_0x5cafe1(0x1be)]),_0x30ee0f;const _0x26d0fd=yield _0x141e0a[_0x5cafe1(0x17e)]();return _0x26d0fd;});}const _0x4fda64='opcua-for-nodered-last-overlay-shown';function _0x5213db(){return _0x4671b0(this,void 0x0,void 0x0,function*(){const _0x43f9cb=_0x216d;try{const _0x2d1c9d=_0xe4bf3b(_0x43f9cb(0xf8)),_0x1993ae=yield fetch(_0x2d1c9d);if(!_0x1993ae['ok'])return{'onboarded':!![]};return yield _0x1993ae[_0x43f9cb(0x17e)]();}catch(_0x58ba46){return{'onboarded':!![]};}});}function _0x185319(_0x362ac9){const _0x2412f4=_0x30af57;_0x20cf7d({'bannerClass':_0x2412f4(0x255),'bannerCss':{'backgroundColor':_0x2412f4(0x244),'borderBottom':'2px\x20solid\x20#ff9800'},'messageHtml':_0x2412f4(0x20a)+_0x2412f4(0x19c)+('<a\x20href=\x22'+_0x362ac9+_0x2412f4(0x1c1))+_0x2412f4(0x1fb)+_0x2412f4(0x112),'messageCss':{'color':'#663c00'},'buttonText':_0x2412f4(0xe6),'buttonCss':{'backgroundColor':_0x2412f4(0xf4)},'buttonHoverCss':{'backgroundColor':'#f57c00'},'supportUrl':_0x362ac9});const _0x56d7d6=setInterval(()=>_0x4671b0(this,void 0x0,void 0x0,function*(){const _0xb4d137=_0x2412f4;try{const _0x2c0839=yield _0x5213db();if(_0x2c0839[_0xb4d137(0x23a)]){clearInterval(_0x56d7d6);const _0x5333be=$(_0xb4d137(0x17d));_0x5333be[_0xb4d137(0x250)]>0x0&&(_0x5333be[_0xb4d137(0xd6)]({'backgroundColor':'#d4edda','borderBottom':_0xb4d137(0x8e)}),_0x5333be['find']('span')[_0xb4d137(0x136)](_0xb4d137(0x13c)+'thank\x20you!\x20Please\x20re-deploy\x20your\x20flows\x20to\x20activate\x20all\x20nodes.'),_0x5333be[_0xb4d137(0x104)](_0xb4d137(0x1fe))[_0xb4d137(0xd6)]({'color':'#155724'}),_0x5333be[_0xb4d137(0x104)]('button')['remove'](),setTimeout(()=>{const _0x3345bb=_0xb4d137;_0x5333be[_0x3345bb(0x1f5)](0x12c,()=>_0x5333be[_0x3345bb(0x21a)]());},0x1388));}}catch(_0x5db5dc){}}),0xbb8),_0x544981=new MutationObserver(()=>{const _0x25168b=_0x2412f4;$('.onboarding-required-banner')['length']===0x0&&(clearInterval(_0x56d7d6),_0x544981[_0x25168b(0x1e7)]());}),_0x563355=$(_0x2412f4(0x147))[_0x2412f4(0x1cd)]();_0x563355[_0x2412f4(0x250)]>0x0&&_0x563355[0x0]&&_0x544981[_0x2412f4(0x240)](_0x563355[0x0],{'childList':!![],'subtree':!![]});}function _0x10ed24(){return _0x4671b0(this,arguments,void 0x0,function*(_0xea7d92={}){const _0x2e5228=_0x216d,_0x215994=_0xe4bf3b(_0x2e5228(0x133)),{delay:delay=0x5dc,supportUrl:supportUrl=_0x215994,shouldShowOverlay:shouldShowOverlay=_0x2e3ee1=>_0x2e3ee1['status']===_0x2e5228(0x1d4)&&_0x2e3ee1[_0x2e5228(0x224)]===_0x2e5228(0x208)}=_0xea7d92;try{const _0xcd34ee=yield _0x5213db();if(!_0xcd34ee[_0x2e5228(0x23a)])return yield _0x54f874(Math['min'](delay,0x1f4)),_0x185319(_0xe4bf3b(_0x2e5228(0x142))),!![];const _0x1c611a=yield _0xa9e0d();if(shouldShowOverlay(_0x1c611a)){const _0x98bf1e=Date['now'](),_0x1e2b90=parseInt(localStorage[_0x2e5228(0x11c)](_0x4fda64)||'0',0xa),_0x2598a=0x3c*0x3c*0x3e8;return _0x98bf1e-_0x1e2b90>_0x2598a?(yield _0x54f874(delay),_0x45dbc8(supportUrl),localStorage['setItem'](_0x4fda64,_0x98bf1e[_0x2e5228(0x21f)]())):_0x4373cc(supportUrl),!![];}if(_0x1c611a['type']===_0x2e5228(0x208)&&_0x1c611a[_0x2e5228(0x1b4)]!==_0x2e5228(0x1d4)){const _0x50aff7=_0x5dd7fc(_0x1c611a);if(_0x50aff7<=0xa&&_0x50aff7>0x0)return yield _0x54f874(delay),_0x17f8c5(supportUrl,_0x50aff7),!![];}if(_0x1c611a[_0x2e5228(0x224)]===_0x2e5228(0x14a)&&_0x1c611a[_0x2e5228(0x1b4)]===_0x2e5228(0x1d4))return yield _0x54f874(delay),_0x2a7a37(supportUrl),!![];return![];}catch(_0x5c5938){return console[_0x2e5228(0x24f)](_0x2e5228(0x20b),_0x5c5938),![];}});}function _0x45dbc8(_0x4c95a6,_0x2abc28=0xbb8){const _0x33614e=_0x30af57,_0x955fd8=$('.red-ui-tray-content')['first']();if(_0x955fd8[_0x33614e(0x250)]===0x0){console[_0x33614e(0xa0)](_0x33614e(0x1d1));return;}const _0x50c907=$(_0x33614e(0x16c),{'class':_0x33614e(0x1da),'css':{'position':_0x33614e(0x116),'top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x2710,'backgroundColor':_0x955fd8[_0x33614e(0xd6)](_0x33614e(0xaa))[_0x33614e(0x11e)]('rgb(',_0x33614e(0x158))['replace'](')',',\x200.7)'),'backdropFilter':_0x33614e(0x16f),'WebkitBackdropFilter':_0x33614e(0x16f),'display':_0x33614e(0x228),'flexDirection':'column','alignItems':_0x33614e(0x9d),'justifyContent':_0x33614e(0x9d),'padding':_0x33614e(0x1b3)}}),_0x2868ef=$(_0x33614e(0x16c),{'css':{'backgroundColor':_0x33614e(0x1ff),'backdropFilter':'blur(20px)','WebkitBackdropFilter':'blur(20px)','borderRadius':_0x33614e(0xb6),'padding':'40px','maxWidth':'500px','textAlign':_0x33614e(0x9d),'boxShadow':_0x33614e(0xca),'border':_0x33614e(0x1a0)}}),_0xab8e4b=$('<img>',{'src':_0xe4bf3b(_0x33614e(0x140)),'css':{'maxWidth':'150px','height':_0x33614e(0x1e2),'marginBottom':'20px'}}),_0x38e1e6=$(_0x33614e(0x16c),{'css':{'fontSize':_0x33614e(0xe7),'marginBottom':'20px'}})[_0x33614e(0x1bf)]('⚠️'),_0x45aed0=$(_0x33614e(0x1a4),{'css':{'color':'#f44336','fontSize':_0x33614e(0x25c),'fontWeight':_0x33614e(0x20c),'marginBottom':_0x33614e(0x1b7)}})[_0x33614e(0x1bf)](_0x33614e(0x219)),_0x3c6708=$(_0x33614e(0x107),{'css':{'color':_0x33614e(0x25e),'fontSize':_0x33614e(0xb6),'lineHeight':_0x33614e(0x132),'marginBottom':'30px'}})[_0x33614e(0x136)](_0x33614e(0x127)),_0x294f43=$(_0x33614e(0x1dd),{'css':{'backgroundColor':_0x33614e(0x9a),'color':'white','border':_0x33614e(0x14c),'padding':_0x33614e(0x18e),'fontSize':_0x33614e(0xb6),'fontWeight':_0x33614e(0x20c),'borderRadius':_0x33614e(0x245),'cursor':'pointer','marginBottom':_0x33614e(0x1b7),'width':_0x33614e(0x237),'transition':_0x33614e(0x256)}})[_0x33614e(0x1bf)](_0x33614e(0xbf))['on'](_0x33614e(0x24b),function(){const _0x49dd24=_0x33614e;$(this)['css'](_0x49dd24(0x125),_0x49dd24(0x129));})['on'](_0x33614e(0x121),function(){const _0x579b0c=_0x33614e;$(this)['css'](_0x579b0c(0x125),_0x579b0c(0x9a));})['on'](_0x33614e(0x178),()=>{const _0x1fdbd9=_0x33614e;window['open'](_0x4c95a6,_0x1fdbd9(0xc7),_0x1fdbd9(0x118));}),_0x57d7d9=$(_0x33614e(0x1dd),{'class':_0x33614e(0x17f),'css':{'backgroundColor':'transparent','color':_0x33614e(0x99),'border':_0x33614e(0x13b),'padding':_0x33614e(0xc6),'fontSize':_0x33614e(0x14f),'borderRadius':'8px','cursor':'pointer','marginTop':'10px','width':'100%','transition':_0x33614e(0x1f8),'display':_0x33614e(0x14c)}})['text']('I\x20accept\x20to\x20switch\x20to\x20the\x20free\x20version\x20(limited\x20features)')['on'](_0x33614e(0x24b),function(){const _0x38f646=_0x33614e;$(this)[_0x38f646(0xd6)]({'backgroundColor':_0x38f646(0x1e1),'borderColor':_0x38f646(0xf0)});})['on'](_0x33614e(0x121),function(){const _0x8f8abc=_0x33614e;$(this)['css']({'backgroundColor':_0x8f8abc(0x151),'borderColor':_0x8f8abc(0x1ba)});})['on']('click',()=>{const _0xbf09dc=_0x33614e;_0x50c907[_0xbf09dc(0x160)](0x12c,()=>{const _0xfdd6c3=_0xbf09dc;_0x50c907[_0xfdd6c3(0x21a)]();});});setTimeout(()=>{const _0x5c54c0=_0x33614e;_0x57d7d9[_0x5c54c0(0x102)]();},_0x2abc28),_0x2868ef[_0x33614e(0x25f)](_0xab8e4b),_0x2868ef[_0x33614e(0x25f)](_0x38e1e6),_0x2868ef[_0x33614e(0x25f)](_0x45aed0),_0x2868ef['append'](_0x3c6708),_0x2868ef[_0x33614e(0x25f)](_0x294f43),_0x2868ef[_0x33614e(0x25f)](_0x57d7d9),_0x50c907[_0x33614e(0x25f)](_0x2868ef),_0x955fd8[_0x33614e(0xd6)](_0x33614e(0x172),'relative'),_0x955fd8[_0x33614e(0x25f)](_0x50c907),window[_0x33614e(0x246)](_0x33614e(0x1b2),function _0x41d3e4(_0x29bd55){const _0x53ce27=_0x33614e;_0x29bd55[_0x53ce27(0x180)]&&_0x29bd55[_0x53ce27(0x180)][_0x53ce27(0x224)]===_0x53ce27(0x137)&&(_0x50c907['fadeOut'](0x12c,()=>{const _0x29cf1f=_0x53ce27;_0x50c907[_0x29cf1f(0x21a)]();}),window[_0x53ce27(0x111)](_0x53ce27(0x1b2),_0x41d3e4));});}function _0x54f874(_0xe46c56){return new Promise(_0x265555=>setTimeout(_0x265555,_0xe46c56));}function _0x5dd7fc(_0x301746){const _0x5c5c67=_0x30af57,_0x2df273=_0x301746[_0x5c5c67(0xfd)][_0x5c5c67(0xfb)];if(!_0x2df273||_0x2df273===_0x5c5c67(0xfe))return Infinity;const _0x5a9064=new Date(_0x2df273),_0x9d589f=new Date(),_0x10c833=_0x5a9064[_0x5c5c67(0xe1)]()-_0x9d589f['getTime'](),_0x1c03b6=Math[_0x5c5c67(0x103)](_0x10c833/(0x3e8*0x3c*0x3c*0x18));return _0x1c03b6;}function _0x17f8c5(_0x591ce8,_0x542e64){const _0x20c42b=_0x30af57,_0x6e892b=$(_0x20c42b(0x147))[_0x20c42b(0x1cd)]();if(_0x6e892b[_0x20c42b(0x250)]===0x0){console['warn'](_0x20c42b(0x108));return;}if(_0x6e892b[_0x20c42b(0x104)](_0x20c42b(0x186))[_0x20c42b(0x250)]>0x0)return;const _0x2132be=$(_0x20c42b(0x16c),{'class':_0x20c42b(0xac),'css':{'position':_0x20c42b(0x1f3),'backgroundColor':'#fff3cd','borderBottom':'2px\x20solid\x20#ffc107','padding':'12px\x2050px\x2012px\x2015px','display':_0x20c42b(0x228),'alignItems':'center','gap':_0x20c42b(0x22f),'boxShadow':'0\x202px\x208px\x20rgba(0,0,0,0.1)','zIndex':0x3e8}}),_0x5288b6=$(_0x20c42b(0x16c),{'css':{'fontSize':'20px','flexShrink':0x0}})[_0x20c42b(0x1bf)]('⚠️'),_0x30f748=$(_0x20c42b(0x16c),{'css':{'flex':0x1,'fontSize':'14px','color':_0x20c42b(0x223)}}),_0x5253cf=$(_0x20c42b(0x1bd),{'css':{'fontWeight':_0x20c42b(0xcf)}})[_0x20c42b(0x136)](_0x20c42b(0x1db)+_0x542e64+_0x20c42b(0x10a)+(_0x542e64!==0x1?'s':'')+_0x20c42b(0x12e)),_0x2d2e71=$('<a>',{'href':'#','css':{'color':_0x20c42b(0x9a),'textDecoration':_0x20c42b(0x207),'cursor':_0x20c42b(0x105)}})[_0x20c42b(0x1bf)]('Get\x20a\x20license\x20now')['on'](_0x20c42b(0x178),_0x538443=>{const _0xa3e08e=_0x20c42b;_0x538443['preventDefault'](),window['open'](_0x591ce8,_0xa3e08e(0xc7),_0xa3e08e(0x118));});_0x30f748[_0x20c42b(0x25f)](_0x5253cf),_0x30f748[_0x20c42b(0x25f)](_0x2d2e71);const _0x3b2749=$('<button>',{'css':{'position':_0x20c42b(0x116),'right':_0x20c42b(0x119),'top':_0x20c42b(0x1e3),'transform':'translateY(-50%)','backgroundColor':_0x20c42b(0x151),'border':_0x20c42b(0x14c),'fontSize':_0x20c42b(0x225),'color':_0x20c42b(0x223),'cursor':_0x20c42b(0x105),'padding':_0x20c42b(0x124),'lineHeight':0x1,'opacity':0.7,'transition':_0x20c42b(0x19d)}})['html'](_0x20c42b(0x148))['on'](_0x20c42b(0x24b),function(){const _0x8341cd=_0x20c42b;$(this)[_0x8341cd(0xd6)]('opacity',0x1);})['on']('mouseleave',function(){const _0x2bee0f=_0x20c42b;$(this)['css'](_0x2bee0f(0x1df),0.7);})['on']('click',()=>{const _0x25427a=_0x20c42b;_0x2132be[_0x25427a(0x1f5)](0xc8,()=>{const _0x55078f=_0x25427a;_0x2132be[_0x55078f(0x21a)]();});});_0x2132be[_0x20c42b(0x25f)](_0x5288b6),_0x2132be[_0x20c42b(0x25f)](_0x30f748),_0x2132be[_0x20c42b(0x25f)](_0x3b2749),_0x6e892b[_0x20c42b(0x123)](_0x2132be);}function _0x20cf7d(_0x5e16e5){const _0x547b74=_0x30af57,_0x18d3f7=$('.red-ui-tray-content')[_0x547b74(0x1cd)]();if(_0x18d3f7[_0x547b74(0x250)]===0x0){console[_0x547b74(0xa0)]('Could\x20not\x20find\x20dialog\x20content\x20to\x20show\x20banner\x20.'+_0x5e16e5[_0x547b74(0x86)]);return;}if(_0x18d3f7[_0x547b74(0x104)]('.'+_0x5e16e5['bannerClass'])[_0x547b74(0x250)]>0x0)return;const _0x4ffb05=$(_0x547b74(0x16c),{'class':_0x5e16e5[_0x547b74(0x86)],'css':Object[_0x547b74(0xd0)]({'position':'relative','padding':_0x547b74(0x150),'display':_0x547b74(0x228),'alignItems':_0x547b74(0x9d),'justifyContent':_0x547b74(0x1cb),'gap':_0x547b74(0x1b7),'zIndex':0x3e8},_0x5e16e5[_0x547b74(0x21e)])}),_0x2324bb=$('<div>',{'css':Object['assign']({'fontSize':_0x547b74(0x14f)},_0x5e16e5[_0x547b74(0x253)])}),_0x54b026=$(_0x547b74(0x1bd))[_0x547b74(0x136)](_0x5e16e5['messageHtml']);_0x2324bb[_0x547b74(0x25f)](_0x54b026);const _0x5ed8c3=$(_0x547b74(0x1dd),{'css':Object[_0x547b74(0xd0)]({'color':_0x547b74(0x1dc),'border':_0x547b74(0x14c),'padding':'6px\x2012px','fontSize':_0x547b74(0x1cf),'fontWeight':_0x547b74(0x20c),'borderRadius':_0x547b74(0x10b),'cursor':_0x547b74(0x105),'flexShrink':0x0,'transition':_0x547b74(0x256)},_0x5e16e5['buttonCss'])})['text'](_0x5e16e5[_0x547b74(0xa1)])['on'](_0x547b74(0x24b),function(){const _0x10f23c=_0x547b74;$(this)[_0x10f23c(0xd6)](_0x5e16e5[_0x10f23c(0x20e)]);})['on'](_0x547b74(0x121),function(){const _0x185f3c=_0x547b74;$(this)[_0x185f3c(0xd6)](_0x5e16e5[_0x185f3c(0x193)]);})['on'](_0x547b74(0x178),_0x2cfefa=>{const _0x52180c=_0x547b74;_0x2cfefa[_0x52180c(0xdf)](),window[_0x52180c(0x249)](_0x5e16e5[_0x52180c(0x18d)],_0x52180c(0xc7),'width=1200,height=800');});_0x4ffb05[_0x547b74(0x25f)](_0x2324bb),_0x4ffb05[_0x547b74(0x25f)](_0x5ed8c3),_0x18d3f7[_0x547b74(0x123)](_0x4ffb05);}function _0x4373cc(_0x39a981){const _0x42a89d=_0x30af57;_0x20cf7d({'bannerClass':_0x42a89d(0xc2),'bannerCss':{'backgroundColor':_0x42a89d(0x17b),'borderBottom':'1px\x20solid\x20#ced4da'},'messageHtml':'You\x20are\x20using\x20the\x20<strong>Free\x20Version</strong>\x20with\x20limited\x20functionality.\x20','messageCss':{'color':_0x42a89d(0x16b)},'buttonText':'Upgrade','buttonCss':{'backgroundColor':_0x42a89d(0x9a)},'buttonHoverCss':{'backgroundColor':_0x42a89d(0x129)},'supportUrl':_0x39a981});}function _0x2a7a37(_0x4ce82e){const _0x1706ef=_0x30af57;_0x20cf7d({'bannerClass':_0x1706ef(0x10e),'bannerCss':{'backgroundColor':_0x1706ef(0x1b0),'borderBottom':'1px\x20solid\x20#f5c6cb'},'messageHtml':'Your\x20<strong>Professional\x20License</strong>\x20has\x20expired.\x20Please\x20renew\x20your\x20license\x20to\x20ensure\x20continued\x20access\x20to\x20support\x20and\x20updates.','messageCss':{'color':_0x1706ef(0x21d)},'buttonText':_0x1706ef(0x110),'buttonCss':{'backgroundColor':_0x1706ef(0xc4)},'buttonHoverCss':{'backgroundColor':_0x1706ef(0x93)},'supportUrl':_0x4ce82e});}function _0x5b7965(_0x370587,_0x3e2ad6,_0x577f05,_0x3f7645){const _0x3579fd=_0x30af57,_0x5460e8=$('#'+_0x370587+_0x3579fd(0xf9)),_0x3a7650=$('#'+_0x370587+_0x3579fd(0x1fa)),_0x3170e2=$('#'+_0x370587+'-pending'),_0x476ea8=$('#'+_0x370587+_0x3579fd(0xb9));let _0x4e10af=![];_0x5460e8[_0x3579fd(0xf1)](),_0x3a7650['hide'](),_0x3170e2[_0x3579fd(0xf1)](),_0x3e2ad6['on'](_0x3579fd(0x178),()=>{const _0x26e8c7=_0x3579fd;if(_0x4e10af)return;_0x4e10af=!![],_0x3170e2[_0x26e8c7(0xa7)](_0x26e8c7(0xf1)),_0x3170e2[_0x26e8c7(0x136)]('Testing\x20Connection\x20...'),_0x5460e8[_0x26e8c7(0x13f)]('hide'),_0x3a7650['addClass'](_0x26e8c7(0xf1)),_0x476ea8[_0x26e8c7(0x136)]('');const {body:_0x5f453a,url:_0x108104}=_0x577f05();fetch(_0x108104,{'method':_0x26e8c7(0x241),'headers':{'Content-Type':_0x26e8c7(0x15d)},'body':JSON[_0x26e8c7(0x114)](_0x5f453a)})['then'](_0x181991=>_0x181991[_0x26e8c7(0x17e)]())[_0x26e8c7(0x19b)](_0x5b15f1=>{const _0x1b0e36=_0x26e8c7;_0x4e10af=![],_0x3170e2[_0x1b0e36(0xf1)](),console[_0x1b0e36(0xaf)](JSON['stringify'](_0x5b15f1,null,'\x20'));if(_0x5b15f1[_0x1b0e36(0x92)]==='ok')_0x5460e8[_0x1b0e36(0xa7)](_0x1b0e36(0xf1)),_0x3a7650[_0x1b0e36(0x13f)](_0x1b0e36(0xf1)),_0x476ea8[_0x1b0e36(0x136)](_0x5b15f1[_0x1b0e36(0x1b2)]['replace']('\x0a',_0x1b0e36(0xa2))),_0x3f7645(null,_0x5b15f1);else{const _0x17c6ea=_0x562f6d=>!_0x562f6d?'':_0x562f6d[_0x1b0e36(0x242)]('\x0a')[_0x1b0e36(0xeb)](_0x9c9823=>'<p>'+_0x9c9823+_0x1b0e36(0xf3))[_0x1b0e36(0x163)]('\x0a'),_0x2976d6=_0x21f9ae=>Array[_0x1b0e36(0x23d)](_0x21f9ae)?_0x21f9ae[_0x1b0e36(0xeb)](_0x17c6ea)[_0x1b0e36(0x163)]('\x0a'):_0x17c6ea(_0x21f9ae);_0x5460e8[_0x1b0e36(0x13f)](_0x1b0e36(0xf1)),_0x3a7650[_0x1b0e36(0xa7)](_0x1b0e36(0xf1)),_0x476ea8['html'](_0x2976d6(_0x5b15f1[_0x1b0e36(0x1b2)])+_0x2976d6(_0x5b15f1[_0x1b0e36(0x215)])),_0x3f7645(new Error(_0x5b15f1[_0x1b0e36(0x92)]),_0x5b15f1);}})['catch'](_0x5557ff=>{const _0x501323=_0x26e8c7;_0x4e10af=![],_0x3170e2[_0x501323(0x13f)](_0x501323(0xf1)),_0x5460e8[_0x501323(0x13f)](_0x501323(0xf1)),_0x3a7650[_0x501323(0xa7)](_0x501323(0xf1)),_0x476ea8[_0x501323(0x136)]('internal\x20error\x20'+_0x5557ff['message']),console[_0x501323(0xaf)](_0x501323(0x198),_0x5557ff),_0x3f7645(_0x5557ff,null);});});}const _0x5c45f3=_0x30af57(0xc1),_0xb7d7bf=_0x30af57(0x155),_0x3c07c4=_0x30af57(0xc0),_0x27a671=_0x30af57(0x21c),_0x323d95=_0x30af57(0x16d),_0x5e7259=_0x30af57(0x197),_0x36af46='ns=0;i=40';var _0x347496;(function(_0x142214){const _0xb20ab5=_0x30af57;_0x142214[_0x142214[_0xb20ab5(0x227)]=0x0]=_0xb20ab5(0x227),_0x142214[_0x142214[_0xb20ab5(0xb0)]=0x1]=_0xb20ab5(0xb0),_0x142214[_0x142214[_0xb20ab5(0x1d7)]=0x2]=_0xb20ab5(0x1d7),_0x142214[_0x142214[_0xb20ab5(0x210)]=0x3]='Invalid';}(_0x347496||(_0x347496={})));var _0xf970ba;(function(_0x301501){const _0x264b86=_0x30af57;_0x301501[_0x301501['Unspecified']=0x0]=_0x264b86(0x98),_0x301501[_0x301501[_0x264b86(0x192)]=0x1]=_0x264b86(0x192),_0x301501[_0x301501['Variable']=0x2]=_0x264b86(0x183),_0x301501[_0x301501['Method']=0x4]=_0x264b86(0x159),_0x301501[_0x301501['ObjectType']=0x8]=_0x264b86(0xc5),_0x301501[_0x301501[_0x264b86(0x128)]=0x10]='VariableType',_0x301501[_0x301501[_0x264b86(0x1c0)]=0x20]=_0x264b86(0x1c0),_0x301501[_0x301501[_0x264b86(0x135)]=0x40]=_0x264b86(0x135),_0x301501[_0x301501['View']=0x80]='View';}(_0xf970ba||(_0xf970ba={})));var _0x4c0117;(function(_0x154c4d){const _0xeb3e0=_0x30af57;_0x154c4d[_0x154c4d[_0xeb3e0(0x192)]=0x1]=_0xeb3e0(0x192),_0x154c4d[_0x154c4d['Variable']=0x2]=_0xeb3e0(0x183),_0x154c4d[_0x154c4d[_0xeb3e0(0x159)]=0x4]='Method',_0x154c4d[_0x154c4d[_0xeb3e0(0xc5)]=0x8]=_0xeb3e0(0xc5),_0x154c4d[_0x154c4d[_0xeb3e0(0x128)]=0x10]=_0xeb3e0(0x128),_0x154c4d[_0x154c4d[_0xeb3e0(0x1c0)]=0x20]=_0xeb3e0(0x1c0),_0x154c4d[_0x154c4d[_0xeb3e0(0x135)]=0x40]=_0xeb3e0(0x135),_0x154c4d[_0x154c4d[_0xeb3e0(0x218)]=0x80]='View';}(_0x4c0117||(_0x4c0117={})));var _0x273939;(function(_0x2c4c9e){const _0x57b3c=_0x30af57;_0x2c4c9e[_0x2c4c9e[_0x57b3c(0x1c0)]=0x1]=_0x57b3c(0x1c0),_0x2c4c9e[_0x2c4c9e[_0x57b3c(0x216)]=0x2]=_0x57b3c(0x216),_0x2c4c9e[_0x2c4c9e[_0x57b3c(0xd7)]=0x4]=_0x57b3c(0xd7),_0x2c4c9e[_0x2c4c9e[_0x57b3c(0x1e5)]=0x8]=_0x57b3c(0x1e5),_0x2c4c9e[_0x2c4c9e['DisplayName']=0x10]='DisplayName',_0x2c4c9e[_0x2c4c9e[_0x57b3c(0x146)]=0x20]=_0x57b3c(0x146);}(_0x273939||(_0x273939={})));function _0x5d584a(_0x1b9f27){const _0x3dcb15=_0x30af57;switch(_0x1b9f27){case _0x3dcb15(0x15b):return _0x5c45f3;case _0x3dcb15(0x169):return _0x27a671;case _0x3dcb15(0x10f):return _0x3c07c4;case'HasChild':return _0x323d95;case _0x3dcb15(0x13a):return _0x5e7259;case'HasTypeDefinition':return _0x36af46;}}const _0x13eddf=(_0x2025c9,_0x11f719,_0x579bb0)=>_0x4671b0(void 0x0,[_0x2025c9,_0x11f719,_0x579bb0],void 0x0,function*({endpointNode:_0x2c31b4,endpoint:_0x1da97e},_0x7d33c0,_0xab1a0e){const _0x1024de=_0x30af57,_0x32c7da=Object[_0x1024de(0xd0)](Object[_0x1024de(0xd0)]({},_0xab1a0e),{'nodeId':_0x7d33c0,'resultMask':0x3f}),_0x3a5b16=_0xe4bf3b('/browse'),_0x36ea0c=yield fetch(_0x3a5b16,{'method':_0x1024de(0x241),'body':JSON[_0x1024de(0x114)]({'endpointNode':_0x2c31b4,'endpoint':_0x1da97e,'browseDescription':_0x32c7da}),'headers':{'Content-Type':'application/json'}});if(_0x36ea0c[_0x1024de(0x1b4)]!==0xc8)return console[_0x1024de(0xaf)](_0x1024de(0x1bc),_0x36ea0c[_0x1024de(0x1b4)],_0x36ea0c[_0x1024de(0x1be)]),{'references':[]};const _0xb9dff=yield _0x36ea0c[_0x1024de(0x17e)](),_0x174d7e=_0xb9dff[_0x1024de(0x213)]['references']||[];return{'references':_0x174d7e};}),_0x4840b6=_0x4daf50=>{const _0x408a91=_0x30af57;switch(_0x4daf50[_0x408a91(0xd5)]){case'Object':if(_0x4daf50['referenceTypeId']===_0x5c45f3);if(_0x4daf50['typeDefinition']===_0xb7d7bf||_0x4daf50[_0x408a91(0xd4)]==='i=61')return{'icon':'fa-folder','color':_0x408a91(0x1a9)};return{'icon':_0x408a91(0x95),'color':_0x408a91(0x1af)};case _0x408a91(0x183):if(_0x4daf50[_0x408a91(0xd4)]===_0x3c07c4)return{'icon':_0x408a91(0x17a),'color':_0x408a91(0x1d8)};else return _0x4daf50[_0x408a91(0xd4)]===_0x27a671?{'icon':_0x408a91(0x17a),'color':_0x408a91(0x232)}:{'icon':'fa-list-alt','color':_0x408a91(0x234)};case _0x408a91(0x159):return{'icon':_0x408a91(0xdd),'color':_0x408a91(0x1bb)};case _0x408a91(0xc5):return{'icon':_0x408a91(0x95),'color':_0x408a91(0xde)};case _0x408a91(0x128):return{'icon':'fa-sliders','color':_0x408a91(0xde)};case _0x408a91(0x135):return{'icon':_0x408a91(0x154),'color':_0x408a91(0x234)};}return{'icon':_0x408a91(0x11b),'color':_0x408a91(0x138)};},_0x19bd65={'referenceTypeId':_0x5d584a(_0x30af57(0x90)),'includeSubtypes':!![],'browseDirection':_0x347496[_0x30af57(0x227)],'nodeClassMask':_0xf970ba[_0x30af57(0x183)]|_0xf970ba[_0x30af57(0x192)]|_0xf970ba['Method'],'resultMask':0x3f},_0x329cb6={'referenceTypeId':_0x5d584a('Organizes'),'includeSubtypes':!![],'browseDirection':_0x347496[_0x30af57(0x227)],'nodeClassMask':_0xf970ba[_0x30af57(0x183)]|_0xf970ba[_0x30af57(0x192)]|_0xf970ba[_0x30af57(0x159)],'resultMask':0x3f},_0x223cba=(_0x2da9d2,_0x4bb694)=>_0x4671b0(void 0x0,[_0x2da9d2,_0x4bb694],void 0x0,function*({endpointNode:_0x253a1d,endpoint:_0x2b657b},{nodeId:_0x5ebe76,rootNodeId:_0x555fee,isType:_0x4b0040}){const _0x28480f=_0x30af57,_0x214cce=_0xe4bf3b(_0x28480f(0x22c)),_0x2103c9=yield fetch(_0x214cce,{'method':_0x28480f(0x241),'body':JSON[_0x28480f(0x114)]({'endpointNode':_0x253a1d,'endpoint':_0x2b657b,'nodeId':_0x5ebe76,'rootNodeId':_0x555fee,'isType':_0x4b0040}),'headers':{'Content-Type':_0x28480f(0x15d)}});if(_0x2103c9['status']!==0xc8)return null;const _0x541970=yield _0x2103c9['json']();return _0x541970[_0x28480f(0x88)];}),_0x295740=(_0x20effd,_0x108d90)=>{const _0x226218=_0x30af57;if(_0x20effd['statusCode']!=='Good')return _0x20effd[_0x226218(0x24c)];switch(_0x108d90){case _0x226218(0x88):return _0x20effd[_0x226218(0x20f)];case _0x226218(0x188):return _0x20effd['bp_aliased']||_0x20effd[_0x226218(0x20f)];case'aliasedNodeId':return _0x20effd[_0x226218(0x176)]||_0x20effd['nodeId_nsu'];case _0x226218(0x1f2):return _0x20effd['nodeId_nsu'];default:return _0x20effd[_0x226218(0xbb)];}},_0x5f597a=_0x12bb9c=>{const _0x535e39=_0x30af57;if(_0x12bb9c[_0x535e39(0x168)]!==_0x535e39(0x25a))return'statusCode:\x20'+_0x12bb9c[_0x535e39(0x168)];else{const _0x488580=[];return _0x488580[_0x535e39(0xb5)](_0x535e39(0x15a)+_0x12bb9c[_0x535e39(0xbb)]),_0x488580[_0x535e39(0xb5)](_0x535e39(0x1a7)+_0x12bb9c[_0x535e39(0x20f)]),_0x488580[_0x535e39(0xb5)](_0x535e39(0x12d)+_0xf970ba[_0x12bb9c[_0x535e39(0xd5)]]),_0x12bb9c[_0x535e39(0x1a5)]&&_0x488580[_0x535e39(0xb5)](_0x535e39(0x187)+_0x12bb9c['nodeId_nsu']),_0x12bb9c[_0x535e39(0x176)]&&_0x488580[_0x535e39(0xb5)](_0x535e39(0x1f4)+_0x12bb9c[_0x535e39(0x176)]),_0x12bb9c[_0x535e39(0x20f)]&&_0x488580[_0x535e39(0xb5)]('aliased\x20browsePath:\x20'+_0x12bb9c[_0x535e39(0xce)]),_0x488580['join']('\x0a');}};function _0x4eecd7(_0x473244){const _0x5569c5=_0x30af57;if(_0x473244[_0x5569c5(0x23e)](/^nsu=/))return _0x5569c5(0x1f2);if(_0x473244['match'](/^(ns=.*;)?(i|b|s|g)=/))return _0x5569c5(0xbb);if(_0x473244[_0x5569c5(0x23e)](/^nsa=/))return _0x5569c5(0x134);if(_0x473244[_0x5569c5(0x23e)](/^(\/|\.)[0-9]+:/))return'browsePath';if(_0x473244[_0x5569c5(0x23e)](/^(\/|\.).*:/))return _0x5569c5(0x88);}function _0x3356ea(_0x8c79e4){const _0x1c095c=_0x30af57,_0x37d128=_0x4eecd7(_0x8c79e4);switch(_0x37d128){case _0x1c095c(0xbb):return'n';case _0x1c095c(0x134):return'na';case _0x1c095c(0x1f2):return _0x1c095c(0xb7);case _0x1c095c(0x88):return'b';case _0x1c095c(0x188):return'ab';default:return't';}}function _0x5b45f7(_0x65b376){const _0x2eec90=_0x30af57;let _0x3ed5eb;switch(_0x65b376){case'n':_0x3ed5eb=_0x2eec90(0xbb);break;case'na':_0x3ed5eb='aliasedNodeId';break;case'nsu':_0x3ed5eb=_0x2eec90(0x1f2);break;case'b':_0x3ed5eb='browsePath';break;case'ab':_0x3ed5eb=_0x2eec90(0x188);break;}return _0x3ed5eb;}function _0x254d65(_0x38d444){const _0x9ff78f=_0x30af57;switch(_0x38d444){case _0x9ff78f(0xbb):return'n';case'aliasedNodeId':return'na';case _0x9ff78f(0x1f2):return _0x9ff78f(0xb7);case _0x9ff78f(0x88):return'b';case'aliasedBrowsePath':return'ab';default:return't';}}const _0x239755=(_0x467edd,_0x42903a)=>_0x4671b0(void 0x0,[_0x467edd,_0x42903a],void 0x0,function*({endpointNode:_0x3d030c,endpoint:_0x548d21},_0x26f776){const _0x32b853=_0x30af57,_0x345b0d=_0xe4bf3b(_0x32b853(0x14e)),_0x20894a=_0x3d030c['id'],_0x43aca3=RED[_0x32b853(0x1a2)][_0x32b853(0x217)](_0x20894a);console['log'](_0x43aca3[_0x32b853(0x189)]),_0x43aca3[_0x32b853(0x189)];const _0x5e9b1c=_0x3d030c[_0x32b853(0x189)],_0x30e7c2=yield fetch(_0x345b0d,{'method':_0x32b853(0x241),'body':JSON[_0x32b853(0x114)]({'endpointNode':_0x3d030c,'endpoint':_0x548d21,'nodeId':_0x26f776,'namespaceAliases':_0x5e9b1c}),'headers':{'Content-Type':'application/json'}}),_0x2dfa42=yield _0x30e7c2[_0x32b853(0x17e)]();return{'json':_0x2dfa42,'data':_0x30e7c2};}),_0x2de951=(_0x58faa6,_0x1be8a7,_0x274d97,_0xdfd7a)=>_0x4671b0(void 0x0,[_0x58faa6,_0x1be8a7,_0x274d97,_0xdfd7a],void 0x0,function*({endpointNode:_0x51e69b,endpoint:_0x4318a1},_0x4e4f55,_0x39a11f,_0x27ebf2){const _0x14e6f6=_0x30af57,_0x5d8513=_0x39a11f['val'](),{json:_0x19238e,data:_0x247786}=yield _0x239755({'endpointNode':_0x51e69b,'endpoint':_0x4318a1},_0x5d8513),_0x161e67=(_0x35407f,_0x24f3c1)=>{const _0x32d457=_0x216d;_0x27ebf2[_0x32d457(0x1bf)](_0x35407f)[_0x32d457(0x13f)](_0x32d457(0x11f))[_0x32d457(0x13f)](_0x24f3c1),_0x27ebf2[_0x32d457(0x8f)](),setTimeout(()=>{const _0x5a9fd0=_0x32d457;_0x27ebf2['removeClass'](_0x24f3c1),_0x27ebf2[_0x5a9fd0(0xf1)]();},0xbb8);};if(_0x247786[_0x14e6f6(0x1b4)]!==0xc8)return _0x161e67(_0x14e6f6(0x161)+_0x5d8513,_0x14e6f6(0x14d)),![];else{if(_0x19238e['statusCode'][_0x14e6f6(0x23e)](/Good/)){const _0x2268f6=_0x5f597a(_0x19238e);_0x39a11f[_0x14e6f6(0xc8)](_0x14e6f6(0xe4),_0x2268f6);const _0x76c48c=_0x295740(_0x19238e,_0x4e4f55);return _0x39a11f['val'](_0x76c48c),_0x39a11f[_0x14e6f6(0x252)]('change'),_0x161e67('Good','ok'),!![];}else return _0x39a11f['val'](''+_0x5d8513),_0x161e67(_0x19238e['statusCode']+'\x20'+_0x247786[_0x14e6f6(0x1be)],'failure'),![];}});function _0xf6507b(_0x312380,_0x45a61d){return _0x4671b0(this,void 0x0,void 0x0,function*(){const _0x3ee4f6=_0x216d,_0x5a0212=_0x312380[_0x3ee4f6(0x180)](_0x3ee4f6(0x13d)),_0x522e48=yield _0x13eddf(_0x45a61d,_0x5a0212,_0x19bd65),_0x377522=yield _0x13eddf(_0x45a61d,_0x5a0212,_0x329cb6);return{'references':[..._0x522e48[_0x3ee4f6(0xea)],..._0x377522[_0x3ee4f6(0xea)]]};});}const _0x2ebf77={'referenceTypeId':_0x5d584a(_0x30af57(0x13a)),'includeSubtypes':!![],'browseDirection':_0x347496[_0x30af57(0x227)],'nodeClassMask':_0xf970ba[_0x30af57(0x1c0)]|_0xf970ba['ObjectType']|_0xf970ba['DataType']|_0xf970ba['VariableType'],'resultMask':0x3f};function _0x4b7c0e(_0x200822,_0x19ba53){return _0x4671b0(this,void 0x0,void 0x0,function*(){const _0x32a8e4=_0x216d,_0xfeffa3=_0x200822[_0x32a8e4(0x180)](_0x32a8e4(0x13d)),_0x2a97a1=yield _0x13eddf(_0x19ba53,_0xfeffa3,_0x2ebf77);return _0x2a97a1;});}const _0x50d4b7=_0x3644c7=>{const _0x545b86=_0x30af57;var _0x3effb3,_0x13fdc7,_0x2896db,_0xeb483d;if(!(_0x3644c7===null||_0x3644c7===void 0x0?void 0x0:_0x3644c7[_0x545b86(0xbb)])){const _0x6d2aaa=$(_0x545b86(0xe5));return _0x6d2aaa;}const _0x490c01=_0x3644c7[_0x545b86(0xbb)][_0x545b86(0x21f)](),_0x19ebc4=((_0x3effb3=_0x3644c7[_0x545b86(0x15e)])===null||_0x3effb3===void 0x0?void 0x0:_0x3effb3['text'])||((_0x13fdc7=_0x3644c7[_0x545b86(0x231)])===null||_0x13fdc7===void 0x0?void 0x0:_0x13fdc7[_0x545b86(0x14b)])||_0x3644c7['nodeId']['toString'](),{icon:_0x218b46,color:_0x17c0f6}=_0x4840b6(_0x3644c7),_0x1731e2='('+_0x3644c7[_0x545b86(0xbb)]['toString']()+')\x20'+(((_0x2896db=_0x3644c7[_0x545b86(0x231)])===null||_0x2896db===void 0x0?void 0x0:_0x2896db[_0x545b86(0x14b)])||((_0xeb483d=_0x3644c7[_0x545b86(0x15e)])===null||_0xeb483d===void 0x0?void 0x0:_0xeb483d[_0x545b86(0x1bf)])||''),_0x18abf6=$('<li\x20key=\x22'+_0x3644c7['nodeId'][_0x545b86(0x21f)]()+_0x545b86(0xa8)+_0x1731e2+'><i\x20class=\x22fa\x20'+_0x218b46+_0x545b86(0x206)+_0x17c0f6+_0x545b86(0x1cc)+_0x19ebc4+_0x545b86(0x1ef));return _0x18abf6[_0x545b86(0x13f)](_0x545b86(0x204)),_0x18abf6[_0x545b86(0x180)](_0x545b86(0x13d),_0x490c01),_0x18abf6[_0x545b86(0x180)](_0x545b86(0x1ec),_0x3644c7),_0x18abf6;},_0x40392b=(_0x47273d,_0x2efe57)=>{const _0x2e8923=_0x30af57;return _0x2efe57['find'](_0x2e8923(0x9b)+_0x47273d+'\x22]');},_0x1c390f=(_0x5b8bfe,_0x1fe584)=>{const _0x500ef9=_0x30af57;_0x5b8bfe['$tree'][_0x500ef9(0x104)](_0x500ef9(0x9f))[_0x500ef9(0xa7)]('selected'),_0x1fe584[_0x500ef9(0x104)](_0x500ef9(0x1e9))['addClass'](_0x500ef9(0xbc));},_0x22178d=(_0x24adc3,_0x42f8f8,_0x42cb5c)=>_0x4671b0(void 0x0,void 0x0,void 0x0,function*(){const _0x48ffde=_0x30af57;let _0x52bd94=_0x42cb5c[_0x48ffde(0xb8)](_0x48ffde(0x19f));_0x42f8f8['relativePath']['elements']||[];const _0x3734e6=_0x42f8f8[_0x48ffde(0xf6)]||[];if(_0x3734e6[_0x48ffde(0x250)]===0x0)return;for(const _0x31019d of _0x3734e6){_0x52bd94[_0x48ffde(0xd8)](_0x48ffde(0x204))&&(yield _0x241572(_0x24adc3,_0x52bd94));const _0x110d10=_0x40392b(_0x31019d,_0x52bd94);if(_0x110d10[_0x48ffde(0x250)]===0x0)return;_0x52bd94=_0x110d10;}_0x1c390f(_0x24adc3,_0x52bd94),_0xd7ce11(_0x24adc3[_0x48ffde(0x10d)],_0x52bd94);});function _0xd7ce11(_0x1