@opcua/for-node-red
Version:
The Node-RED node to communicate via OPC UA, powered NodeOPCUA and developed by Sterfive's team
126 lines (100 loc) • 53.8 kB
HTML
<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)!important;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;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;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%!important}.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;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;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-Explore.css.map */
</style>
<script type="text/javascript">
(function(_0xb8cf3c,_0x29a9aa){const _0x4d5545=_0xb5c0,_0x351c37=_0xb8cf3c();while(!![]){try{const _0x3cc257=parseInt(_0x4d5545(0x262))/0x1*(parseInt(_0x4d5545(0x282))/0x2)+parseInt(_0x4d5545(0x2f2))/0x3*(parseInt(_0x4d5545(0x2ad))/0x4)+-parseInt(_0x4d5545(0x2a6))/0x5+parseInt(_0x4d5545(0x2ea))/0x6*(-parseInt(_0x4d5545(0x21b))/0x7)+parseInt(_0x4d5545(0x2e2))/0x8+parseInt(_0x4d5545(0x266))/0x9+parseInt(_0x4d5545(0x295))/0xa*(-parseInt(_0x4d5545(0x2ef))/0xb);if(_0x3cc257===_0x29a9aa)break;else _0x351c37['push'](_0x351c37['shift']());}catch(_0x2a3562){_0x351c37['push'](_0x351c37['shift']());}}}(_0x25a2,0x48e1f),(function(){'use strict';const _0x2f695f=_0xb5c0;function _0x929a32(_0x5ed6ce,_0x11037b,_0x58f9a4,_0x37d701){function _0x48c80d(_0x134f2a){return _0x134f2a instanceof _0x58f9a4?_0x134f2a:new _0x58f9a4(function(_0x3b981f){_0x3b981f(_0x134f2a);});}return new(_0x58f9a4||(_0x58f9a4=Promise))(function(_0x4589a9,_0x5d4d28){const _0x11dec8=_0xb5c0;function _0x228153(_0x44dc40){const _0x19597c=_0xb5c0;try{_0x543273(_0x37d701[_0x19597c(0x1d6)](_0x44dc40));}catch(_0x4aa1cf){_0x5d4d28(_0x4aa1cf);}}function _0x233936(_0x24e4d7){const _0x5d02f3=_0xb5c0;try{_0x543273(_0x37d701[_0x5d02f3(0x277)](_0x24e4d7));}catch(_0x553b2e){_0x5d4d28(_0x553b2e);}}function _0x543273(_0x2a3819){const _0x2d2c53=_0xb5c0;_0x2a3819['done']?_0x4589a9(_0x2a3819[_0x2d2c53(0x2bc)]):_0x48c80d(_0x2a3819[_0x2d2c53(0x2bc)])[_0x2d2c53(0x2e1)](_0x228153,_0x233936);}_0x543273((_0x37d701=_0x37d701['apply'](_0x5ed6ce,_0x11037b||[]))[_0x11dec8(0x1d6)]());});}typeof SuppressedError===_0x2f695f(0x270)?SuppressedError:function(_0x460707,_0x2066d4,_0x259b42){const _0x47b01f=_0x2f695f;var _0x3db203=new Error(_0x259b42);return _0x3db203['name']=_0x47b01f(0x25f),_0x3db203[_0x47b01f(0x2ab)]=_0x460707,_0x3db203[_0x47b01f(0x204)]=_0x2066d4,_0x3db203;};const _0x22d53e=_0x2f695f(0x244),_0x4c7a51=_0x2f695f(0x238),_0x2f0661=_0x2f695f(0x1e7),_0x5ae881=_0x2f695f(0x21f),_0x46a9f8=_0x2f695f(0x260),_0x5e1252=_0x2f695f(0x237),_0x13b4f9=_0x2f695f(0x205);var _0x2efc02;(function(_0x159629){const _0x3304a5=_0x2f695f;_0x159629[_0x159629['Forward']=0x0]=_0x3304a5(0x28f),_0x159629[_0x159629['Inverse']=0x1]=_0x3304a5(0x249),_0x159629[_0x159629[_0x3304a5(0x27f)]=0x2]=_0x3304a5(0x27f),_0x159629[_0x159629[_0x3304a5(0x1e8)]=0x3]='Invalid';}(_0x2efc02||(_0x2efc02={})));var _0x371aad;(function(_0x3b1b53){const _0x2425bf=_0x2f695f;_0x3b1b53[_0x3b1b53[_0x2425bf(0x286)]=0x0]=_0x2425bf(0x286),_0x3b1b53[_0x3b1b53[_0x2425bf(0x2d4)]=0x1]='Object',_0x3b1b53[_0x3b1b53['Variable']=0x2]=_0x2425bf(0x2b8),_0x3b1b53[_0x3b1b53[_0x2425bf(0x26d)]=0x4]=_0x2425bf(0x26d),_0x3b1b53[_0x3b1b53['ObjectType']=0x8]=_0x2425bf(0x267),_0x3b1b53[_0x3b1b53[_0x2425bf(0x2aa)]=0x10]=_0x2425bf(0x2aa),_0x3b1b53[_0x3b1b53['ReferenceType']=0x20]=_0x2425bf(0x25a),_0x3b1b53[_0x3b1b53[_0x2425bf(0x265)]=0x40]='DataType',_0x3b1b53[_0x3b1b53[_0x2425bf(0x236)]=0x80]='View';}(_0x371aad||(_0x371aad={})));var _0x320b7c;(function(_0x1a9f69){const _0x34af99=_0x2f695f;_0x1a9f69[_0x1a9f69[_0x34af99(0x2d4)]=0x1]=_0x34af99(0x2d4),_0x1a9f69[_0x1a9f69[_0x34af99(0x2b8)]=0x2]=_0x34af99(0x2b8),_0x1a9f69[_0x1a9f69[_0x34af99(0x26d)]=0x4]=_0x34af99(0x26d),_0x1a9f69[_0x1a9f69['ObjectType']=0x8]='ObjectType',_0x1a9f69[_0x1a9f69[_0x34af99(0x2aa)]=0x10]=_0x34af99(0x2aa),_0x1a9f69[_0x1a9f69[_0x34af99(0x25a)]=0x20]=_0x34af99(0x25a),_0x1a9f69[_0x1a9f69[_0x34af99(0x265)]=0x40]=_0x34af99(0x265),_0x1a9f69[_0x1a9f69[_0x34af99(0x236)]=0x80]='View';}(_0x320b7c||(_0x320b7c={})));var _0x6af6fb;(function(_0x2647ce){const _0x20a412=_0x2f695f;_0x2647ce[_0x2647ce['ReferenceType']=0x1]=_0x20a412(0x25a),_0x2647ce[_0x2647ce[_0x20a412(0x20b)]=0x2]='IsForward',_0x2647ce[_0x2647ce[_0x20a412(0x242)]=0x4]=_0x20a412(0x242),_0x2647ce[_0x2647ce['BrowseName']=0x8]='BrowseName',_0x2647ce[_0x2647ce[_0x20a412(0x220)]=0x10]='DisplayName',_0x2647ce[_0x2647ce['TypeDefinition']=0x20]=_0x20a412(0x1c7);}(_0x6af6fb||(_0x6af6fb={})));function _0x535e10(_0x465156){const _0x1912dd=_0x2f695f;switch(_0x465156){case _0x1912dd(0x1ca):return _0x22d53e;case _0x1912dd(0x23b):return _0x5ae881;case _0x1912dd(0x278):return _0x2f0661;case _0x1912dd(0x2f7):return _0x46a9f8;case _0x1912dd(0x1e4):return _0x5e1252;case _0x1912dd(0x1db):return _0x13b4f9;}}const _0x4a6ed9=_0x1a205b=>{const _0x1fe27e=_0x2f695f;switch(_0x1a205b['nodeClass']){case _0x1fe27e(0x2d4):if(_0x1a205b['referenceTypeId']===_0x22d53e);if(_0x1a205b['typeDefinition']===_0x4c7a51||_0x1a205b[_0x1fe27e(0x1f9)]===_0x1fe27e(0x28c))return{'icon':_0x1fe27e(0x1d3),'color':_0x1fe27e(0x24b)};return{'icon':_0x1fe27e(0x1f4),'color':_0x1fe27e(0x2c6)};case _0x1fe27e(0x2b8):if(_0x1a205b['referenceTypeId']===_0x2f0661)return{'icon':_0x1fe27e(0x1d1),'color':_0x1fe27e(0x228)};else return _0x1a205b[_0x1fe27e(0x1f9)]===_0x5ae881?{'icon':'fa-list-alt','color':_0x1fe27e(0x2e5)}:{'icon':_0x1fe27e(0x1d1),'color':_0x1fe27e(0x2e7)};case _0x1fe27e(0x26d):return{'icon':'fa-cog','color':'SandyBrown'};case'ObjectType':return{'icon':_0x1fe27e(0x1f4),'color':'DarkOrange'};case _0x1fe27e(0x2aa):return{'icon':'fa-sliders','color':'DarkOrange'};case _0x1fe27e(0x265):return{'icon':_0x1fe27e(0x253),'color':_0x1fe27e(0x2e7)};}return{'icon':_0x1fe27e(0x1f8),'color':_0x1fe27e(0x2b7)};},_0x46402c=(_0x51350c,_0xaad4f9,_0x33b85e)=>_0x929a32(void 0x0,[_0x51350c,_0xaad4f9,_0x33b85e],void 0x0,function*({endpointNode:_0x59769f,endpoint:_0x342821,baseUrl:_0xbf92ae},_0x5a641b,_0x1bb3e6){const _0x52ac27=_0x2f695f,_0x4044bd=_0xbf92ae+_0x52ac27(0x2c2),_0x20b1b5=_0x4044bd+_0x52ac27(0x292),_0x1b00dc=Object[_0x52ac27(0x1ee)](Object[_0x52ac27(0x1ee)]({},_0x1bb3e6),{'nodeId':_0x5a641b,'resultMask':0x3f}),_0x23c7c0=yield fetch(_0x20b1b5,{'method':_0x52ac27(0x28e),'body':JSON[_0x52ac27(0x257)]({'endpointNode':_0x59769f,'endpoint':_0x342821,'browseDescription':_0x1b00dc}),'headers':{'Content-Type':_0x52ac27(0x284)}});if(_0x23c7c0['status']!==0xc8)return console[_0x52ac27(0x2a9)]('fetching\x20failed\x20with\x20error',_0x23c7c0['status'],_0x23c7c0['statusText']),{'references':[]};const _0x1cedd3=yield _0x23c7c0[_0x52ac27(0x2d8)](),_0x5ee9b7=_0x1cedd3[_0x52ac27(0x255)][_0x52ac27(0x22f)]||[];return{'references':_0x5ee9b7};}),_0x1233bf={'referenceTypeId':_0x535e10('HasChild'),'includeSubtypes':!![],'browseDirection':_0x2efc02[_0x2f695f(0x28f)],'nodeClassMask':_0x371aad[_0x2f695f(0x2b8)]|_0x371aad[_0x2f695f(0x2d4)]|_0x371aad[_0x2f695f(0x26d)],'resultMask':0x3f},_0x3890b8={'referenceTypeId':_0x535e10(_0x2f695f(0x1ca)),'includeSubtypes':!![],'browseDirection':_0x2efc02[_0x2f695f(0x28f)],'nodeClassMask':_0x371aad[_0x2f695f(0x2b8)]|_0x371aad['Object']|_0x371aad['Method'],'resultMask':0x3f},_0x3b83d7=(_0x4df977,_0x319e96)=>_0x929a32(void 0x0,[_0x4df977,_0x319e96],void 0x0,function*({endpointNode:_0x24dc4f,endpoint:_0x1295e5,baseUrl:_0x6bbd16},{nodeId:_0x58a9e8,rootNodeId:_0x31b8ab,isType:_0x27d68a}){const _0x1d091e=_0x2f695f,_0x4f841c=_0x6bbd16+_0x1d091e(0x2c2),_0x534c7e=_0x4f841c+_0x1d091e(0x211),_0x2bb4fc=yield fetch(_0x534c7e,{'method':_0x1d091e(0x28e),'body':JSON[_0x1d091e(0x257)]({'endpointNode':_0x24dc4f,'endpoint':_0x1295e5,'nodeId':_0x58a9e8,'rootNodeId':_0x31b8ab,'isType':_0x27d68a}),'headers':{'Content-Type':_0x1d091e(0x284)}});if(_0x2bb4fc[_0x1d091e(0x230)]!==0xc8)return null;const _0x582337=yield _0x2bb4fc[_0x1d091e(0x2d8)]();return _0x582337['browsePath'];}),_0x634cb1=(_0x3daef5,_0x73ec5c)=>{const _0x350db5=_0x2f695f;if(_0x3daef5[_0x350db5(0x201)]!==_0x350db5(0x1e1))return _0x3daef5[_0x350db5(0x25c)];switch(_0x73ec5c){case'browsePath':return _0x3daef5[_0x350db5(0x214)];case _0x350db5(0x28a):return _0x3daef5['bp_aliased']||_0x3daef5[_0x350db5(0x214)];case'aliasedNodeId':return _0x3daef5[_0x350db5(0x296)]||_0x3daef5['nodeId_nsu'];case _0x350db5(0x1d9):return _0x3daef5[_0x350db5(0x289)];default:case _0x350db5(0x25e):return _0x3daef5[_0x350db5(0x25e)];}},_0x1b1651=_0x3a4416=>{const _0x55c16b=_0x2f695f;if(_0x3a4416['statusCode']!==_0x55c16b(0x1e1))return _0x55c16b(0x20c)+_0x3a4416[_0x55c16b(0x201)];else{let _0x40c253=[];return _0x40c253[_0x55c16b(0x1cb)]('nodeId:\x20'+_0x3a4416[_0x55c16b(0x25e)]),_0x40c253[_0x55c16b(0x1cb)]('browse\x20path:\x20'+_0x3a4416[_0x55c16b(0x214)]),_0x40c253['push']('node\x20class:\x20'+_0x371aad[_0x3a4416['nodeClass']]),_0x3a4416[_0x55c16b(0x289)]&&_0x40c253[_0x55c16b(0x1cb)](_0x55c16b(0x24a)+_0x3a4416[_0x55c16b(0x289)]),_0x3a4416[_0x55c16b(0x296)]&&_0x40c253[_0x55c16b(0x1cb)](_0x55c16b(0x229)+_0x3a4416[_0x55c16b(0x296)]),_0x3a4416[_0x55c16b(0x214)]&&_0x40c253['push'](_0x55c16b(0x2c7)+_0x3a4416[_0x55c16b(0x2b6)]),_0x40c253[_0x55c16b(0x264)]('\x0a');}};function _0x285c9d(_0x4722cb){const _0x490253=_0x2f695f;if(_0x4722cb['match'](/^nsu=/))return'nsuNodeID';if(_0x4722cb[_0x490253(0x2cc)](/^(ns=.*;)?(i|b|s|g)=/))return _0x490253(0x25e);if(_0x4722cb[_0x490253(0x2cc)](/^nsa=/))return _0x490253(0x2db);if(_0x4722cb['match'](/^(\/|\.)[0-9]+:/))return _0x490253(0x1f0);if(_0x4722cb[_0x490253(0x2cc)](/^(\/|\.).*:/))return _0x490253(0x1f0);}function _0x40f3ba(_0x483f4e){const _0x158545=_0x2f695f,_0x5cc3dc=_0x285c9d(_0x483f4e);switch(_0x5cc3dc){case _0x158545(0x25e):return'n';case _0x158545(0x2db):return'na';case'nsuNodeID':return'nsu';case _0x158545(0x1f0):return'b';case _0x158545(0x28a):return'ab';default:return't';}}function _0x43d452(_0xd4fb36){const _0x43050c=_0x2f695f;let _0x152dc0;switch(_0xd4fb36){case'n':_0x152dc0=_0x43050c(0x25e);break;case'na':_0x152dc0='aliasedNodeId';break;case'nsu':_0x152dc0='nsuNodeID';break;case'b':_0x152dc0=_0x43050c(0x1f0);break;case'ab':_0x152dc0=_0x43050c(0x28a);break;}return _0x152dc0;}function _0x1b00ec(_0x59c7d5){const _0x16b144=_0x2f695f;switch(_0x59c7d5){case _0x16b144(0x25e):return'n';case _0x16b144(0x2db):return'na';case _0x16b144(0x1d9):return _0x16b144(0x2f3);case _0x16b144(0x1f0):return'b';case'aliasedBrowsePath':return'ab';default:return't';}}const _0x1cae31=(_0x45835d,_0x124e58)=>_0x929a32(void 0x0,[_0x45835d,_0x124e58],void 0x0,function*({endpointNode:_0x271a55,endpoint:_0x5ac2d9,baseUrl:_0x444eb9},_0x906f10){const _0x118878=_0x2f695f,_0xa51a75=_0x444eb9+_0x118878(0x2c2),_0x226bb3=_0xa51a75+_0x118878(0x245),_0x16c09a=_0x271a55['id'],_0x26395d=RED['nodes'][_0x118878(0x247)](_0x16c09a);console[_0x118878(0x2a9)](_0x26395d[_0x118878(0x1ea)]),_0x26395d['namespaceAliases'];const _0x484b3c=_0x271a55['namespaceAliases'],_0xd2d339=yield fetch(_0x226bb3,{'method':_0x118878(0x28e),'body':JSON[_0x118878(0x257)]({'endpointNode':_0x271a55,'endpoint':_0x5ac2d9,'nodeId':_0x906f10,'namespaceAliases':_0x484b3c}),'headers':{'Content-Type':_0x118878(0x284)}}),_0x36beae=yield _0xd2d339['json']();return{'json':_0x36beae,'data':_0xd2d339};}),_0x2ba8b8=(_0xb2e018,_0x124744,_0x501eb7,_0x25a433)=>_0x929a32(void 0x0,[_0xb2e018,_0x124744,_0x501eb7,_0x25a433],void 0x0,function*({endpointNode:_0x9d1be3,endpoint:_0x40e8e7,baseUrl:_0x45c26a},_0x1a805d,_0x22cc0f,_0x500df4){const _0x5c442b=_0x2f695f,_0xa65549=_0x22cc0f[_0x5c442b(0x2c8)](),{json:_0x2c1652,data:_0xc29179}=yield _0x1cae31({'endpointNode':_0x9d1be3,'endpoint':_0x40e8e7,'baseUrl':_0x45c26a},_0xa65549),_0x5457a8=(_0x2dc28a,_0x3bb250)=>{const _0xde882=_0x5c442b;_0x500df4[_0xde882(0x231)](_0x2dc28a)['addClass'](_0xde882(0x233))[_0xde882(0x1d7)](_0x3bb250),_0x500df4[_0xde882(0x213)](),setTimeout(()=>{_0x500df4['removeClass'](_0x3bb250),_0x500df4['hide']();},0xbb8);};if(_0xc29179[_0x5c442b(0x230)]!==0xc8)return _0x5457a8(_0x5c442b(0x1fb)+_0xa65549,_0x5c442b(0x272)),![];else{if(_0x2c1652[_0x5c442b(0x201)][_0x5c442b(0x2cc)](/Good/)){const _0x4c7fea=_0x1b1651(_0x2c1652);_0x22cc0f[_0x5c442b(0x2f1)](_0x5c442b(0x2be),_0x4c7fea);const _0x113228=_0x634cb1(_0x2c1652,_0x1a805d);return _0x22cc0f[_0x5c442b(0x2c8)](_0x113228),_0x22cc0f[_0x5c442b(0x248)]('change'),_0x5457a8(_0x5c442b(0x1e1),'ok'),!![];}else return _0x22cc0f['val'](''+_0xa65549),_0x5457a8(_0x2c1652[_0x5c442b(0x201)]+'\x20'+_0xc29179[_0x5c442b(0x206)],_0x5c442b(0x272)),![];}});function _0x360590(_0x27b64e,_0x59b74d){return _0x929a32(this,void 0x0,void 0x0,function*(){const _0x5df678=_0xb5c0,_0x56aa60=_0x27b64e[_0x5df678(0x2c5)](_0x5df678(0x2bc)),_0x7fdd1d=yield _0x46402c(_0x59b74d,_0x56aa60,_0x1233bf),_0x222765=yield _0x46402c(_0x59b74d,_0x56aa60,_0x3890b8);return{'references':[..._0x7fdd1d[_0x5df678(0x22f)],..._0x222765['references']]};});}const _0xc6231f={'referenceTypeId':_0x535e10(_0x2f695f(0x1e4)),'includeSubtypes':!![],'browseDirection':_0x2efc02[_0x2f695f(0x28f)],'nodeClassMask':_0x371aad[_0x2f695f(0x25a)]|_0x371aad[_0x2f695f(0x267)]|_0x371aad['DataType']|_0x371aad['VariableType'],'resultMask':0x3f};function _0x47e56c(_0x51bb19,_0x90ba78){return _0x929a32(this,void 0x0,void 0x0,function*(){const _0x461da3=_0xb5c0,_0x1f8a2a=_0x51bb19['data'](_0x461da3(0x2bc)),_0x58bada=yield _0x46402c(_0x90ba78,_0x1f8a2a,_0xc6231f);return _0x58bada;});}const _0x33babe=_0x3aef4e=>{const _0x5d71bb=_0x2f695f;var _0x3ea4ac,_0x18133f,_0x369b92,_0x3f197c;if(!_0x3aef4e||!_0x3aef4e[_0x5d71bb(0x25e)]){const _0x1d5d25=$(_0x5d71bb(0x1de));return _0x1d5d25;}const _0x43b355=_0x3aef4e[_0x5d71bb(0x25e)][_0x5d71bb(0x2ed)](),_0x383b94=((_0x3ea4ac=_0x3aef4e[_0x5d71bb(0x22b)])===null||_0x3ea4ac===void 0x0?void 0x0:_0x3ea4ac['text'])||((_0x18133f=_0x3aef4e['browseName'])===null||_0x18133f===void 0x0?void 0x0:_0x18133f[_0x5d71bb(0x1df)])||_0x3aef4e['nodeId'][_0x5d71bb(0x2ed)](),{icon:_0x2940e7,color:_0x29f22c}=_0x4a6ed9(_0x3aef4e),_0x1a1c05='('+_0x3aef4e[_0x5d71bb(0x25e)][_0x5d71bb(0x2ed)]()+')\x20'+(((_0x369b92=_0x3aef4e['browseName'])===null||_0x369b92===void 0x0?void 0x0:_0x369b92[_0x5d71bb(0x1df)])||((_0x3f197c=_0x3aef4e['displayName'])===null||_0x3f197c===void 0x0?void 0x0:_0x3f197c[_0x5d71bb(0x231)])||''),_0x5daa6b=$('<li\x20key=\x22'+_0x3aef4e[_0x5d71bb(0x25e)]['toString']()+_0x5d71bb(0x2a3)+_0x1a1c05+_0x5d71bb(0x1e3)+_0x2940e7+_0x5d71bb(0x1da)+_0x29f22c+_0x5d71bb(0x2e4)+_0x383b94+_0x5d71bb(0x252));return _0x5daa6b[_0x5d71bb(0x1d7)](_0x5d71bb(0x273)),_0x5daa6b[_0x5d71bb(0x2c5)](_0x5d71bb(0x2bc),_0x43b355),_0x5daa6b['data'](_0x5d71bb(0x2d6),_0x3aef4e),_0x5daa6b;},_0xb832be=(_0x16cb8b,_0x10c4e6)=>{const _0x56a73c=_0x2f695f;return _0x10c4e6[_0x56a73c(0x1d8)](_0x56a73c(0x1fc)+_0x16cb8b+'\x22]');},_0x5f4bd3=(_0x25113f,_0x371ff3)=>{const _0x3860f4=_0x2f695f;_0x25113f['$tree'][_0x3860f4(0x1d8)](_0x3860f4(0x1f5))['removeClass'](_0x3860f4(0x26f)),_0x371ff3[_0x3860f4(0x1d8)](_0x3860f4(0x232))['addClass']('selected');},_0x3c3534=(_0x4546a5,_0x1187f0,_0xedc82f)=>_0x929a32(void 0x0,void 0x0,void 0x0,function*(){const _0x33490a=_0x2f695f;let _0x5a82a1=_0xedc82f['children'](_0x33490a(0x2b2));_0x1187f0[_0x33490a(0x2c0)][_0x33490a(0x1f1)]||[];const _0xe5589=_0x1187f0[_0x33490a(0x2bf)]||[];if(_0xe5589[_0x33490a(0x298)]===0x0)return;for(const _0x4093d7 of _0xe5589){_0x5a82a1[_0x33490a(0x287)]('expandable')&&(yield _0x1d02ad(_0x4546a5,_0x5a82a1));const _0xed44c6=_0xb832be(_0x4093d7,_0x5a82a1);if(_0xed44c6[_0x33490a(0x298)]===0x0)return;_0x5a82a1=_0xed44c6;}_0x5f4bd3(_0x4546a5,_0x5a82a1),_0x3bcebd(_0x4546a5['$dropdown'],_0x5a82a1);});function _0x3bcebd(_0x226b53,_0x1d4720){const _0x30a9a4=_0x2f695f,_0x2c8e74=_0x1d4720[_0x30a9a4(0x2cb)]()[_0x30a9a4(0x24e)],_0x12bf6c=_0x226b53[_0x30a9a4(0x235)]();if(_0x12bf6c==undefined)return;const _0x55fccd=_0x12bf6c+_0x2c8e74-_0x226b53[_0x30a9a4(0x20a)]()/0x2+_0x1d4720[_0x30a9a4(0x20a)]()/0x2;_0x226b53[_0x30a9a4(0x226)]({'scrollTop':_0x55fccd},0x1f4);}const _0x54e47b=(_0x3f18e9,_0x40fab4)=>_0x929a32(void 0x0,void 0x0,void 0x0,function*(){const _0x3d2cac=_0x2f695f,_0x49fbb6=_0x3f18e9[_0x3d2cac(0x2bb)][_0x3d2cac(0x2c8)](),_0xe5cf64={'nodeId':_0x49fbb6,'rootNodeId':_0x40fab4[_0x3d2cac(0x25e)],'isType':_0x3f18e9[_0x3d2cac(0x27d)][_0x3d2cac(0x22e)]||![]},_0x4a1aca=_0x379324(_0x3f18e9),_0x2f7397=yield _0x3b83d7(_0x4a1aca,_0xe5cf64);if(!_0x2f7397)return;yield _0x3c3534(_0x3f18e9,_0x2f7397,_0x3f18e9['$tree']);});function _0x4944dd(_0x1bdb03,_0x513df2,_0x373e32,_0x4ce201){return _0x929a32(this,void 0x0,void 0x0,function*(){const _0x31196c=_0xb5c0;if(_0x513df2[_0x31196c(0x287)](_0x31196c(0x2d9))){console[_0x31196c(0x2a9)]('already\x20fetched');return;}if(_0x513df2[_0x31196c(0x287)](_0x31196c(0x29a))){console['log']('already\x20loading');return;}_0x513df2[_0x31196c(0x1d7)](_0x31196c(0x29a)),_0x513df2['append'](_0x31196c(0x2dc));try{_0x513df2[_0x31196c(0x26e)]('ul')['empty']();const {references:_0x14ef01}=yield _0x373e32(_0x513df2,_0x4ce201);_0x14ef01[_0x31196c(0x26c)]((_0x2835a6,_0x5210bf)=>{const _0x405e5e=_0x31196c;var _0x3c68bc,_0x358b1a;return(((_0x3c68bc=_0x2835a6[_0x405e5e(0x2f5)])===null||_0x3c68bc===void 0x0?void 0x0:_0x3c68bc['name'])||'')[_0x405e5e(0x29e)](((_0x358b1a=_0x5210bf['browseName'])===null||_0x358b1a===void 0x0?void 0x0:_0x358b1a[_0x405e5e(0x1df)])||'');});for(const _0x29a3db of _0x14ef01){if(_0x1bdb03[_0x31196c(0x27d)][_0x31196c(0x23e)]&&!_0x1bdb03['options'][_0x31196c(0x23e)](_0x29a3db))continue;const _0xf40c6a=_0x33babe(_0x29a3db);_0x513df2[_0x31196c(0x26e)]('ul')[_0x31196c(0x23c)](_0xf40c6a);}_0x513df2[_0x31196c(0x1d7)](_0x31196c(0x2d9));}catch(_0x10d1f9){_0x513df2[_0x31196c(0x26e)]('ul')[_0x31196c(0x23c)](_0x31196c(0x2cd)+_0x10d1f9['message']+_0x31196c(0x2a0)),console[_0x31196c(0x2a9)]('err',_0x10d1f9);}_0x513df2['find'](_0x31196c(0x2cf))[_0x31196c(0x1e9)](),_0x513df2[_0x31196c(0x283)](_0x31196c(0x29a));});}function _0x379324(_0x2e76f4){const _0x1c793f=_0x2f695f,_0x1d4124={'baseUrl':_0x2e76f4[_0x1c793f(0x27d)][_0x1c793f(0x2b0)],'endpointNode':typeof _0x2e76f4[_0x1c793f(0x27d)][_0x1c793f(0x1f6)]===_0x1c793f(0x270)?_0x2e76f4['options']['endpointNode']():_0x2e76f4[_0x1c793f(0x27d)][_0x1c793f(0x1f6)],'endpoint':typeof _0x2e76f4[_0x1c793f(0x27d)][_0x1c793f(0x2e3)]==='function'?_0x2e76f4[_0x1c793f(0x27d)]['endpoint']():_0x2e76f4[_0x1c793f(0x27d)][_0x1c793f(0x2e3)]};return _0x1d4124;}function _0x1d02ad(_0x194d88,_0x1a1965){return _0x929a32(this,void 0x0,void 0x0,function*(){const _0x59f2cc=_0xb5c0;if(_0x1a1965[_0x59f2cc(0x287)](_0x59f2cc(0x2d9))){_0x1a1965[_0x59f2cc(0x283)](_0x59f2cc(0x273))[_0x59f2cc(0x1d7)](_0x59f2cc(0x22c)),_0x1a1965[_0x59f2cc(0x26e)]('ul')[_0x59f2cc(0x23d)]();return;}const _0x5db172=_0x379324(_0x194d88),_0x42a382=!_0x194d88[_0x59f2cc(0x27d)]['isTypeRef']?_0x360590:_0x47e56c;try{yield _0x4944dd(_0x194d88,_0x1a1965,_0x42a382,_0x5db172),_0x1a1965[_0x59f2cc(0x283)](_0x59f2cc(0x273))[_0x59f2cc(0x1d7)]('expanded');}catch(_0x166e49){_0x1a1965[_0x59f2cc(0x283)](_0x59f2cc(0x273))[_0x59f2cc(0x1d7)]('expanded'),console[_0x59f2cc(0x2a9)](_0x59f2cc(0x2ab),_0x166e49);}});}const _0x3b1d98={'browseName':{'namespaceIndex':0x0,'name':'Objects'},'nodeClass':_0x2f695f(0x2d4),'nodeId':_0x2f695f(0x294),'displayName':{'text':'Objects'},'typeDefinition':_0x4c7a51},_0x159341=()=>{const _0x52a3a8=_0x2f695f;$[_0x52a3a8(0x1ed)](_0x52a3a8(0x274),{'options':{'endpointNode':()=>({'endpoint':'opc.tcp://opcuademo.sterfive.com:26543'}),'endpoint':()=>undefined,'parentNode':()=>_0x3b1d98,'filter':()=>!![],'baseUrl':'','isTypeRef':![]},'resolveParentNode'(){return _0x929a32(this,void 0x0,void 0x0,function*(){const _0x3e276c=_0xb5c0,_0x62e892=this;if(_0x62e892[_0x3e276c(0x209)]==undefined){const _0x38be74=typeof _0x62e892[_0x3e276c(0x27d)][_0x3e276c(0x200)]===_0x3e276c(0x270)?_0x62e892[_0x3e276c(0x27d)][_0x3e276c(0x200)][_0x3e276c(0x1f3)](_0x62e892):_0x62e892[_0x3e276c(0x27d)][_0x3e276c(0x200)];if(_0x38be74 instanceof Promise){const _0x1d6524=yield _0x38be74;_0x62e892[_0x3e276c(0x209)]=_0x1d6524;}else _0x62e892['__parentNode']=_0x38be74;}return _0x62e892[_0x3e276c(0x209)]||_0x3b1d98;});},'reset'(){return _0x929a32(this,void 0x0,void 0x0,function*(){const _0x390dbb=_0xb5c0,_0x34fc36=this,_0x5d7848=_0x34fc36;_0x5d7848[_0x390dbb(0x209)]=undefined,_0x34fc36[_0x390dbb(0x1ef)]['empty']();const _0x2968fb=yield this['resolveParentNode'](),_0x429a05=_0x33babe(_0x2968fb);_0x34fc36[_0x390dbb(0x1ef)][_0x390dbb(0x23c)](_0x429a05),_0x34fc36['currentParent']=_0x2968fb;});},'verify'(_0x279966){const _0x3b4ea2=_0x52a3a8,_0x3b6df8=this,_0x21faff=_0x379324(_0x3b6df8);_0x2ba8b8(_0x21faff,_0x279966,_0x3b6df8[_0x3b4ea2(0x2bb)],_0x3b6df8[_0x3b4ea2(0x263)])['then'](_0x3a9c79=>{const _0x2c4bfe=_0x3b4ea2;!_0x3a9c79?_0x3b6df8[_0x2c4bfe(0x29b)]['addClass'](_0x2c4bfe(0x224)):_0x3b6df8['$combo'][_0x2c4bfe(0x283)](_0x2c4bfe(0x224));});},'_hideMenu'(_0x49a247){const _0x28e06e=_0x52a3a8,_0x5aae21=this;$(document)[_0x28e06e(0x1f7)](_0x28e06e(0x2ac)),_0x49a247['hide'](),_0x49a247[_0x28e06e(0x1ec)]({'height':'auto'});if(_0x49a247[_0x28e06e(0x210)][_0x28e06e(0x275)]){var _0x277232=[];_0x49a247[_0x28e06e(0x1d8)](_0x28e06e(0x28d))[_0x28e06e(0x251)](function(){const _0x134532=_0x28e06e;$(this)[_0x134532(0x26a)](_0x134532(0x1cf))&&_0x277232[_0x134532(0x1cb)]($(this)['data'](_0x134532(0x2bc)));}),_0x49a247[_0x28e06e(0x1dd)](_0x277232);}_0x5aae21[_0x28e06e(0x203)]['is'](_0x28e06e(0x297))?_0x5aae21['$input'][_0x28e06e(0x248)](_0x28e06e(0x1dc)):_0x5aae21[_0x28e06e(0x1d4)][_0x28e06e(0x248)]('focus');},'_createMenu'(_0x318cd4,_0x4f7e9a,_0xea108f){const _0x419134=_0x52a3a8;var _0x5952f0=this;const _0x2aa737=$(_0x419134(0x22a))[_0x419134(0x1d7)](_0x419134(0x1e5));return _0x2aa737[_0x419134(0x210)]=_0x4f7e9a,_0x2aa737[_0x419134(0x1dd)]=_0xea108f,_0x318cd4[_0x419134(0x227)](_0x58f5f7=>{const _0x85cf50=_0x419134;typeof _0x58f5f7===_0x85cf50(0x2f0)&&(_0x58f5f7={'value':_0x58f5f7,'label':_0x58f5f7});var _0x131ed7=$('<a\x20href=\x22#\x22></a>')['attr'](_0x85cf50(0x2bc),_0x58f5f7['value'])[_0x85cf50(0x240)](_0x2aa737);_0x58f5f7[_0x85cf50(0x268)]&&_0x131ed7['text'](_0x58f5f7[_0x85cf50(0x268)]);_0x58f5f7['title']&&_0x131ed7[_0x85cf50(0x26a)]('title',_0x58f5f7[_0x85cf50(0x2be)]);if(_0x58f5f7[_0x85cf50(0x222)]){if(_0x58f5f7[_0x85cf50(0x222)][_0x85cf50(0x21d)]('<')===0x0)$(_0x58f5f7['icon'])[_0x85cf50(0x2c1)](_0x131ed7);else _0x58f5f7[_0x85cf50(0x222)]['indexOf']('/')!==-0x1?$('<i>',{'class':_0x85cf50(0x239),'style':_0x85cf50(0x2c3)+_0x58f5f7[_0x85cf50(0x222)]+_0x85cf50(0x2da)+_0x58f5f7[_0x85cf50(0x222)]+');'})[_0x85cf50(0x2c1)](_0x131ed7):$(_0x85cf50(0x2ee),{'class':_0x85cf50(0x1e2)+_0x58f5f7['icon']})['prependTo'](_0x131ed7);}else _0x131ed7[_0x85cf50(0x1ec)]({'paddingLeft':_0x85cf50(0x20d)});!_0x58f5f7[_0x85cf50(0x222)]&&!_0x58f5f7[_0x85cf50(0x268)]&&_0x131ed7['text'](_0x58f5f7[_0x85cf50(0x2bc)]);var _0x14cfb1;_0x4f7e9a[_0x85cf50(0x275)]&&(_0x14cfb1=$(_0x85cf50(0x1e0))[_0x85cf50(0x1ec)](_0x85cf50(0x208),'none')['data'](_0x85cf50(0x2bc),_0x58f5f7['value'])[_0x85cf50(0x2c1)](_0x131ed7)['on'](_0x85cf50(0x1eb),function(_0x3f552d){const _0x1d7248=_0x85cf50;_0x3f552d[_0x1d7248(0x254)]();})),_0x131ed7['on'](_0x85cf50(0x1d5),function(_0x4d57df){const _0x1a07fe=_0x85cf50;_0x4d57df[_0x1a07fe(0x254)](),_0x4d57df[_0x1a07fe(0x27e)](),!_0x4f7e9a[_0x1a07fe(0x275)]?(_0xea108f(_0x58f5f7[_0x1a07fe(0x2bc)]),_0x5952f0[_0x1a07fe(0x2ba)](_0x2aa737)):_0x14cfb1['prop'](_0x1a07fe(0x1cf),!_0x14cfb1[_0x1a07fe(0x26a)](_0x1a07fe(0x1cf)));});}),_0x2aa737['css']({'display':_0x419134(0x2e9)}),_0x2aa737['on']('keydown',function(_0x8c39fc){const _0xd4d31b=_0x419134;if(_0x8c39fc[_0xd4d31b(0x1c9)]===0x28)_0x8c39fc[_0xd4d31b(0x254)](),$(this)[_0xd4d31b(0x26e)](_0xd4d31b(0x2d5))[_0xd4d31b(0x1d6)]()['trigger'](_0xd4d31b(0x1dc));else{if(_0x8c39fc['keyCode']===0x26)_0x8c39fc['preventDefault'](),$(this)['children'](_0xd4d31b(0x2d5))[_0xd4d31b(0x256)]()[_0xd4d31b(0x248)](_0xd4d31b(0x1dc));else _0x8c39fc[_0xd4d31b(0x1c9)]===0x1b&&(_0x8c39fc[_0xd4d31b(0x254)](),_0x5952f0[_0xd4d31b(0x2ba)](_0x2aa737));}_0x8c39fc[_0xd4d31b(0x27e)]();}),_0x2aa737;},'disarmClick':![],'_showMenu'(_0x40e6ed,_0x32354d){const _0x60b165=_0x52a3a8;if(this['disarmClick']){this[_0x60b165(0x24d)]=![];return;}var _0x26d6b2=this,_0xb6776a=_0x32354d[_0x60b165(0x2ca)](),_0x4ed7f5=_0x32354d['height'](),_0x375e50=_0x40e6ed[_0x60b165(0x20a)](),_0x47aecb=_0x4ed7f5+_0xb6776a[_0x60b165(0x24e)];_0x47aecb+_0x375e50-$(document)[_0x60b165(0x235)]()>$(window)[_0x60b165(0x20a)]()&&(_0x47aecb-=_0x47aecb+_0x375e50-$(window)[_0x60b165(0x20a)]()+0x5),_0x47aecb<0x0&&(_0x40e6ed[_0x60b165(0x20a)](_0x375e50+_0x47aecb),_0x47aecb=0x0),_0x40e6ed['css']({'top':_0x47aecb+'px','left':_0xb6776a['left']+'px'}),_0x40e6ed[_0x60b165(0x2df)](0x64),this[_0x60b165(0x2d3)](function(){const _0x1e19dd=_0x60b165;_0x26d6b2[_0x1e19dd(0x26b)]['addClass']('red-ui-typedInput-focus'),$(document)['on'](_0x1e19dd(0x2ac),function(_0x3328b6){const _0x169501=_0x1e19dd;!$(_0x3328b6[_0x169501(0x299)])[_0x169501(0x2f6)](_0x40e6ed)[_0x169501(0x298)]&&_0x26d6b2['_hideMenu'](_0x40e6ed),$(_0x3328b6[_0x169501(0x299)])[_0x169501(0x2f6)](_0x32354d)['length']&&(_0x26d6b2[_0x169501(0x24d)]=!![],_0x3328b6[_0x169501(0x254)]());});});},'_showTypeMenu'(){const _0x2eda1f=_0x52a3a8,_0x54d545=this;this[_0x2eda1f(0x29c)](_0x54d545[_0x2eda1f(0x29d)],_0x54d545[_0x2eda1f(0x29b)]),_0x54d545['$dropdown']['hide']();const _0x3ac2d5=_0x54d545[_0x2eda1f(0x221)];var _0x548fdf=_0x54d545[_0x2eda1f(0x29d)]['find'](_0x2eda1f(0x24c)+_0x3ac2d5+'\x27');setTimeout(function(){const _0x217474=_0x2eda1f;_0x548fdf[_0x217474(0x248)](_0x217474(0x1dc));},0x78);},'_initMenu'(){const _0x15f105=_0x52a3a8,_0x2ccc34=this;_0x2ccc34['$selectTrigger'][_0x15f105(0x2f1)](_0x15f105(0x215),-0x1),_0x2ccc34['$selectTrigger']['on'](_0x15f105(0x1e6),function(_0x2c9f18){const _0x596bdd=_0x15f105;_0x2c9f18[_0x596bdd(0x254)]();});_0x2ccc34[_0x15f105(0x29d)]&&_0x2ccc34[_0x15f105(0x29d)][_0x15f105(0x1e9)]();const _0x3e6030=[{'label':_0x15f105(0x231),'value':'t','title':_0x15f105(0x2a8),'icon':_0x15f105(0x27c)},{'label':_0x15f105(0x219),'value':_0x15f105(0x21c),'title':'node\x20id\x20or\x20\x20browse\x20path\x20comes\x20from\x20injected\x20msg\x20parameter','icon':_0x15f105(0x23a)},{'label':_0x15f105(0x2e6),'value':'n','icon':'<i\x20class=\x22fa\x20fa-tag\x22/>1\x20 \x20'},{'label':_0x15f105(0x2c9),'value':'na','icon':_0x15f105(0x20e)},{'label':_0x15f105(0x250),'value':_0x15f105(0x2f3),'icon':_0x15f105(0x2e0)},{'label':_0x15f105(0x27b),'value':'b','icon':_0x15f105(0x2ce)},{'label':_0x15f105(0x2de),'value':'ab','icon':_0x15f105(0x1fd)}],_0x20b3ff=_0x40f3ba(_0x2ccc34[_0x15f105(0x2bb)][_0x15f105(0x2c8)]()),_0x7c7bce=_0x3e6030['find'](_0x428edf=>_0x428edf[_0x15f105(0x2bc)]===_0x20b3ff);_0x2ccc34[_0x15f105(0x223)][_0x15f105(0x1d2)]()['append'](_0x15f105(0x276)+((_0x7c7bce===null||_0x7c7bce===void 0x0?void 0x0:_0x7c7bce[_0x15f105(0x2be)])||'')+_0x15f105(0x2b3)+((_0x7c7bce===null||_0x7c7bce===void 0x0?void 0x0:_0x7c7bce[_0x15f105(0x222)])||'')+'</span>'),_0x2ccc34[_0x15f105(0x221)]=_0x20b3ff;const _0x51cb80=this;_0x2ccc34[_0x15f105(0x29d)]=this['_createMenu'](_0x3e6030,{},_0x44decc=>{const _0x11e9a7=_0x15f105,_0x314381=_0x43d452(_0x44decc);_0x314381&&_0x51cb80['verify'](_0x314381);const _0x3163c3=_0x3e6030['find'](_0x2bf1e2=>_0x2bf1e2[_0x11e9a7(0x2bc)]===_0x44decc);_0x2ccc34[_0x11e9a7(0x221)]=_0x44decc,_0x2ccc34[_0x11e9a7(0x223)][_0x11e9a7(0x1d2)]()[_0x11e9a7(0x23c)]('<span\x20title='+((_0x3163c3===null||_0x3163c3===void 0x0?void 0x0:_0x3163c3[_0x11e9a7(0x2be)])||'')+_0x11e9a7(0x2b3)+((_0x3163c3===null||_0x3163c3===void 0x0?void 0x0:_0x3163c3[_0x11e9a7(0x222)])||'')+'</span>');}),_0x2ccc34[_0x15f105(0x29d)][_0x15f105(0x240)](document['body']),_0x2ccc34[_0x15f105(0x29d)][_0x15f105(0x29f)](),_0x2ccc34['$selectTrigger'][_0x15f105(0x213)]();},'mode'(){const _0x3972dd=this;return _0x43d452(_0x3972dd['selectedMenuItem']);},'setMode'(_0x1d3a1b){const _0x105e75=_0x52a3a8,_0x4c6d2c=this,_0x512eda=_0x1b00ec(_0x1d3a1b);_0x4c6d2c[_0x105e75(0x221)]=_0x512eda;},'_create'(){const _0xd570ac=_0x52a3a8,_0x26f9c6=this;_0x26f9c6[_0xd570ac(0x2bb)]=this['element'],_0x26f9c6[_0xd570ac(0x2bb)][_0xd570ac(0x1ec)]('border',_0xd570ac(0x2e9)),_0x26f9c6[_0xd570ac(0x203)]=_0x26f9c6['$input'][_0xd570ac(0x217)](_0xd570ac(0x22a))['parent']()[_0xd570ac(0x1d7)](_0xd570ac(0x2dd)),_0x26f9c6['$combo']=$('<div/>'),_0x26f9c6[_0xd570ac(0x29b)][_0xd570ac(0x1d7)](_0xd570ac(0x2bd)),_0x26f9c6[_0xd570ac(0x2bb)][_0xd570ac(0x25d)](_0x26f9c6[_0xd570ac(0x29b)]),_0x26f9c6[_0xd570ac(0x259)]=$(_0xd570ac(0x2b1))[_0xd570ac(0x1d7)](_0xd570ac(0x2b9)),_0x26f9c6[_0xd570ac(0x29b)]['append'](_0x26f9c6[_0xd570ac(0x259)]),_0x26f9c6[_0xd570ac(0x259)][_0xd570ac(0x23c)](_0x26f9c6[_0xd570ac(0x2bb)]),_0x26f9c6[_0xd570ac(0x271)]=$(_0xd570ac(0x2d7)),_0x26f9c6[_0xd570ac(0x2bb)][_0xd570ac(0x261)](_0x26f9c6[_0xd570ac(0x271)]),_0x26f9c6['$toggleTreeBtn']['on'](_0xd570ac(0x1d5),function(){return _0x929a32(this,void 0x0,void 0x0,function*(){const _0xd7cc67=_0xb5c0;var _0x5ad37f;let _0x1f8f23=![],_0x2ac0fe;!_0x26f9c6[_0xd7cc67(0x279)]['is'](':visible')&&(_0x26f9c6[_0xd7cc67(0x263)]['hide'](),_0x2ac0fe=yield _0x26f9c6[_0xd7cc67(0x2c4)](),(_0x2ac0fe!==_0x26f9c6['currentParent']||((_0x5ad37f=_0x26f9c6[_0xd7cc67(0x28b)])===null||_0x5ad37f===void 0x0?void 0x0:_0x5ad37f['nodeId'])!==_0x2ac0fe['nodeId'])&&(yield _0x26f9c6[_0xd7cc67(0x25b)]()),_0x1f8f23=!![]),_0x26f9c6['$dropdown'][_0xd7cc67(0x23d)](),_0x1f8f23&&(yield _0x54e47b(_0x26f9c6,_0x2ac0fe));});}),_0x26f9c6[_0xd570ac(0x2af)]=$(_0xd570ac(0x1cc)),_0x26f9c6[_0xd570ac(0x2bb)][_0xd570ac(0x261)](_0x26f9c6['$verifyBtn']),_0x26f9c6[_0xd570ac(0x2af)]['on']('click',()=>{const _0x24fdf7=_0xd570ac,_0x2b1090=_0x26f9c6[_0x24fdf7(0x21e)]();if(!_0x2b1090)return;this[_0x24fdf7(0x246)](_0x2b1090);});const _0x37d073=_0x86203a=>_0x929a32(this,void 0x0,void 0x0,function*(){const _0x10131a=_0xd570ac,_0x5a353e=this;let _0x18d540=_0x5a353e[_0x10131a(0x21e)]();if(!_0x18d540)return;const _0x2c243e=_0x379324(_0x5a353e),{data:_0x706341,json:_0x1077fa}=yield _0x1cae31(_0x2c243e,_0x86203a);if(_0x706341[_0x10131a(0x230)]!==0xc8)return;if(_0x1077fa[_0x10131a(0x201)][_0x10131a(0x2cc)](/Good/)){const _0x1ba70e=_0x634cb1(_0x1077fa,_0x18d540);_0x5a353e['$input'][_0x10131a(0x2c8)](_0x1ba70e),_0x5a353e['$input']['trigger'](_0x10131a(0x1ff));}});{_0x26f9c6[_0xd570ac(0x26b)]=$(_0xd570ac(0x22a)),_0x26f9c6[_0xd570ac(0x2bb)]['before'](_0x26f9c6['$uiSelect']),_0x26f9c6[_0xd570ac(0x1d4)]=$(_0xd570ac(0x2eb))[_0xd570ac(0x2c1)](_0x26f9c6[_0xd570ac(0x26b)]),$(_0xd570ac(0x288))[_0xd570ac(0x23d)](!![])[_0xd570ac(0x240)](_0x26f9c6[_0xd570ac(0x1d4)]),_0x26f9c6[_0xd570ac(0x1d4)]['on'](_0xd570ac(0x1d5),function(_0x39573f){const _0x415c03=_0xd570ac;_0x39573f[_0x415c03(0x254)](),_0x39573f['stopPropagation'](),_0x26f9c6[_0x415c03(0x258)]();}),_0x26f9c6[_0xd570ac(0x1d4)]['on'](_0xd570ac(0x281),function(_0xf6cb9c){const _0x331849=_0xd570ac;_0xf6cb9c[_0x331849(0x1c9)]===0x28&&_0x26f9c6['_showTypeMenu'](),_0xf6cb9c[_0x331849(0x27e)]();})['on'](_0xd570ac(0x1dc),function(){const _0x3a8dbf=_0xd570ac;_0x26f9c6[_0x3a8dbf(0x26b)][_0x3a8dbf(0x1d7)](_0x3a8dbf(0x212));})['on'](_0xd570ac(0x234),function(){const _0x51f11a=_0xd570ac;_0x26f9c6[_0x51f11a(0x26b)][_0x51f11a(0x283)](_0x51f11a(0x212));}),_0x26f9c6[_0xd570ac(0x223)]=$(_0xd570ac(0x216))[_0xd570ac(0x240)](_0x26f9c6[_0xd570ac(0x1d4)]);}this[_0xd570ac(0x2d2)]();!_0x26f9c6[_0xd570ac(0x2bb)][_0xd570ac(0x2f1)](_0xd570ac(0x2b5))&&_0x26f9c6[_0xd570ac(0x2bb)][_0xd570ac(0x2f1)](_0xd570ac(0x2b5),_0xd570ac(0x293));_0x26f9c6['$info']=$(_0xd570ac(0x27a)),_0x26f9c6[_0xd570ac(0x263)][_0xd570ac(0x29f)](),_0x26f9c6[_0xd570ac(0x29b)][_0xd570ac(0x23c)](_0x26f9c6[_0xd570ac(0x263)]),_0x26f9c6[_0xd570ac(0x279)]=$('<div/>')[_0xd570ac(0x1d7)](_0xd570ac(0x2b4))[_0xd570ac(0x29f)]()[_0xd570ac(0x240)](_0x26f9c6['$combo']),_0x26f9c6[_0xd570ac(0x1ef)]=$(_0xd570ac(0x1fa))[_0xd570ac(0x240)](_0x26f9c6[_0xd570ac(0x279)]),this[_0xd570ac(0x25b)]();const _0x4a579e=(_0x22782a,_0x20cea6)=>{const _0x56dab5=_0xd570ac,_0x4ac901=0x14,_0x1ca5a5=0x14,_0x1c8e7d=_0x22782a[_0x56dab5(0x2ca)](),_0x5872f2=_0x20cea6;if(_0x5872f2['pageX']>=_0x1c8e7d['left']&&_0x5872f2[_0x56dab5(0x202)]<=_0x1c8e7d[_0x56dab5(0x1d0)]+_0x4ac901&&_0x5872f2[_0x56dab5(0x2d0)]>=_0x1c8e7d[_0x56dab5(0x24e)]&&_0x5872f2[_0x56dab5(0x2d0)]<=_0x1c8e7d[_0x56dab5(0x24e)]+_0x1ca5a5)return!![];return![];},_0x65325b=_0x5b1669=>_0x929a32(this,void 0x0,void 0x0,function*(){const _0x1eb14a=_0xd570ac;if(_0x5b1669[_0x1eb14a(0x287)](_0x1eb14a(0x273)))_0x1d02ad(_0x26f9c6,_0x5b1669);else{if(_0x5b1669[_0x1eb14a(0x287)]('expanded'))_0x5b1669[_0x1eb14a(0x26e)]('ul')[_0x1eb14a(0x23d)](),_0x5b1669['toggleClass'](_0x1eb14a(0x21a));else{if(_0x5b1669['children']('ul')[_0x1eb14a(0x26e)]()['length']>0x0)_0x5b1669[_0x1eb14a(0x26e)]('ul')[_0x1eb14a(0x23d)](),_0x5b1669[_0x1eb14a(0x23f)]('expandable\x20expanded');else;}}});_0x26f9c6[_0xd570ac(0x1ef)]['on'](_0xd570ac(0x243),'li',function(_0x34a806){const _0x3af1fa=_0xd570ac;var _0x5ef93e,_0x336c03;_0x34a806[_0x3af1fa(0x27e)]();let _0x410189=$(this);if(_0x4a579e(_0x410189,_0x34a806))_0x65325b(_0x410189);else{const _0x341137=_0x410189[_0x3af1fa(0x2c5)](_0x3af1fa(0x2bc)),_0x537382=_0x410189[_0x3af1fa(0x2c5)](_0x3af1fa(0x2d6));if(_0x26f9c6[_0x3af1fa(0x27d)][_0x3af1fa(0x291)]&&!_0x26f9c6['options'][_0x3af1fa(0x291)](_0x537382))return;_0x26f9c6['$input'][_0x3af1fa(0x2c5)](_0x3af1fa(0x2d6),_0x537382),((_0x5ef93e=_0x537382[_0x3af1fa(0x22b)])===null||_0x5ef93e===void 0x0?void 0x0:_0x5ef93e[_0x3af1fa(0x231)])||((_0x336c03=_0x537382[_0x3af1fa(0x2f5)])===null||_0x336c03===void 0x0?void 0x0:_0x336c03[_0x3af1fa(0x1df)])||_0x537382['nodeId'][_0x3af1fa(0x2ed)]();let _0x1eb5ad=_0x26f9c6[_0x3af1fa(0x21e)]();!_0x1eb5ad&&(_0x1eb5ad=_0x3af1fa(0x25e),_0x26f9c6[_0x3af1fa(0x2a2)](_0x1eb5ad)),_0x37d073(_0x341137)['then'](()=>{const _0x2cffd9=_0x3af1fa;_0x26f9c6[_0x2cffd9(0x279)][_0x2cffd9(0x29f)]();})[_0x3af1fa(0x22d)](_0x334db3=>{const _0xa3c4f7=_0x3af1fa;_0x26f9c6[_0xa3c4f7(0x279)][_0xa3c4f7(0x29f)]();});}}),_0x26f9c6[_0xd570ac(0x1ef)]['on']('click','li',function(_0x461c6d){const _0x38cde0=_0xd570ac;_0x461c6d[_0x38cde0(0x27e)]();let _0x36c1fa=$(this);_0x4a579e(_0x36c1fa,_0x461c6d)&&_0x65325b(_0x36c1fa),_0x5f4bd3(_0x26f9c6,_0x36c1fa);}),$(document)['on'](_0xd570ac(0x1d5),function(_0x5a6af0){const _0x1d08fb=_0xd570ac;!$(_0x5a6af0[_0x1d08fb(0x299)])[_0x1d08fb(0x2f6)](_0x26f9c6[_0x1d08fb(0x29b)])[_0x1d08fb(0x298)]&&_0x26f9c6[_0x1d08fb(0x279)][_0x1d08fb(0x29f)]();});}});},_0x3f7422=()=>{const _0x1144b1=_0x2f695f,_0xed2782=$(_0x1144b1(0x1cd)),_0x3c38ab=_0xed2782[_0x1144b1(0x2c8)](),_0x566c07=RED[_0x1144b1(0x20f)][_0x1144b1(0x247)](_0x3c38ab);if(!_0x566c07)return undefined;const {endpoint:_0x23ea1c,securityMode:_0x33d41c,securityPolicy:_0x3d61d2,userIdentityType:_0x528be4,credentials:_0x1683b1,namespaceAliases:_0x469bc3}=_0x566c07,_0x68af4={'endpoint':_0x23ea1c,'securityMode':_0x33d41c,'securityPolicy':_0x3d61d2,'userIdentityType':_0x528be4,'credentials':_0x1683b1,'namespaceAliases':_0x469bc3};return _0x68af4;},_0x393d9e=()=>{const _0x1e7ecd=_0x2f695f,_0x13e268=$(_0x1e7ecd(0x1cd)),_0x3f6225=_0x13e268[_0x1e7ecd(0x2c8)](),_0x2c2b96=_0x3f7422();if(!_0x2c2b96)return undefined;const _0x3d74cb=_0x2c2b96[_0x1e7ecd(0x1ea)];return Object[_0x1e7ecd(0x1ee)]({'namespaceAliases':_0x3d74cb,'id':_0x3f6225},_0x2c2b96);},_0x7cf2c1=()=>{return{'endpointNode':_0x393d9e};},_0x469fd2=()=>{const _0x11dbcd=_0x2f695f,_0x42f6ea=$(_0x11dbcd(0x269));if(_0x42f6ea['length']){const _0x387976=$(_0x11dbcd(0x2ec),{'src':_0x11dbcd(0x2d1),'scrolling':'no','style':_0x11dbcd(0x290),'allowtransparency':_0x11dbcd(0x1fe),'width':_0x11dbcd(0x2e8),'height':_0x11dbcd(0x207)});_0x42f6ea[_0x11dbcd(0x23c)](_0x387976),_0x387976['css']({'position':_0x11dbcd(0x24f),'right':_0x11dbcd(0x1f2),'bottom':_0x11dbcd(0x1ce)});}};RED[_0x2f695f(0x20f)][_0x2f695f(0x2a4)](_0x2f695f(0x285),{'category':_0x2f695f(0x2ae),'color':'#C0DEED','align':'right','icon':_0x2f695f(0x1c8),'paletteLabel':_0x2f695f(0x225),'defaults':{'inputs':{'value':0x1},'output':{'value':0x4},'name':{'value':''},'endpoint':{'value':'','required':!![],'type':_0x2f695f(0x2f4)},'nodeId':{'value':'','required':![]},'outputType':{'value':_0x2f695f(0x280),'required':!![]},'excludeEmpty':{'value':![]},'followOrganizes':{'value':![]}},'outputs':0x1,'label'(){const _0x18a284=_0x2f695f;return this[_0x18a284(0x1df)]||_0x18a284(0x241);},'labelStyle'(){const _0x4fc9f0=_0x2f695f;return this[_0x4fc9f0(0x1df)]?_0x4fc9f0(0x2a5):'';},'oneditprepare'(){const _0x361b2b=_0x2f695f,_0x1cae53=this;_0x159341(),_0x469fd2(),_0x1cae53[_0x361b2b(0x2a1)]=0x1;const _0x1f545c=$('#node-input-nodeId');_0x1f545c[_0x361b2b(0x218)](Object[_0x361b2b(0x1ee)](Object[_0x361b2b(0x1ee)]({},_0x7cf2c1()),{'isSelectable'(_0x47f43c){const _0x381641=_0x361b2b;return _0x47f43c['nodeClass']===_0x381641(0x2b8)||_0x47f43c[_0x381641(0x2a7)]===_0x381641(0x2d4);}}));},'oneditsave'(){}});}()));function _0xb5c0(_0x15c7bb,_0xf6e1e9){const _0x25a2f6=_0x25a2();return _0xb5c0=function(_0xb5c04f,_0x40d1dd){_0xb5c04f=_0xb5c04f-0x1c7;let _0x5ca4de=_0x25a2f6[_0xb5c04f];return _0x5ca4de;},_0xb5c0(_0x15c7bb,_0xf6e1e9);}function _0x25a2(){const _0x38f052=['offset','position','match','<li>error\x20','<i\x20class=\x22fa\x20fa-tag\x22/><i\x20class=\x22fa\x20fa-fighter-jet\x22/> ','.spinner','pageY','/opcua-for-node-red/support-frame.html','_initMenu','_delay','Object',':focus','reference','<button\x20title=\x22open\x20OPCUA\x20AddressSpace\x20Browser\x22><i\x20class=\x22fa\x20fa-sitemap\x22></i></button>','json','fetched',');\x20-webkit-mask-image:\x20url(','aliasedNodeId','<div\x20class=\x22spinner\x22></div>','main-wrapper','Aliased\x20Browse\x20Path','slideDown','<i\x20class=\x22fa\x20fa-id-card\x22/> \x20','then','3767304ieDIOW','endpoint',';\x22></i>\x20','DodgerBlue','NodeId','CadetBlue','180px','none','6xGeoni','<button\x20type=\x22button\x22\x20tabindex=\x220\x22></button>','<iframe></iframe>','toString','<i>','55YEwziq','string','attr','33jbTtZT','nsu','OpcUa-Endpoint2','browseName','closest','HasChild','TypeDefinition','../../icons/opcuanodeLogo.png','keyCode','Organizes','push','<button\x20title=\x22verify\x20nodeId\x20or\x20browsePath\x22><i\x20class=\x22fa\x20fa-refresh\x22></i></button>','#node-input-endpoint','16px','checked','left','fa-list-alt','empty','fa-folder','$selectTrigger','click','next','addClass','find','nsuNodeID','\x22\x20style=\x22color:','HasTypeDefinition','focus','callback','<li><i\x20class=\x22fa\x20fa-error\x22\x20style=\x22color:red;\x22></i>no\x20reference\x20!<ul></ul></li>','name','<input\x20type=\x22checkbox\x22>','Good','red-ui-typedInput-icon\x20','><i\x20class=\x22fa\x20','HasSubtype','sterfive-typedInput-options\x20sterfive-online-menu','mousedown.red-ui-typedInput-focus-block','ns=0;i=47','Invalid','remove','namespaceAliases','mousedown','css','widget','assign','$tree','browsePath','elements','20px','call','fa-object-group','li\x20>\x20.tree-text','endpointNode','off','fa-question','referenceTypeId','<ul\x20class=\x22sterfive-tree\x22></ul>','!!failure!!','li[key=\x22','<i\x20class=\x22fa\x20fa-bookmark\x22/><i\x20class=\x22fa\x20fa-fighter-jet\x22/> ','true','change','parentNode','statusCode','pageX','$elementDiv','suppressed','ns=0;i=40','statusText','30px','pointer-events','__parentNode','height','IsForward','statusCode:\x20','18px','<i\x20class=\x22fa\x20fa-bookmark\x22/> \x20','nodes','opts','/walk-backward','red-ui-typedInput-focus','show','bp_indexed','tabindex','<span\x20class=\x22red-ui-typedInput-type-label\x22></span>','wrap','nodeBrowser','msg.','expandable\x20expanded','1142799QuSNEp','msg','indexOf','mode','ns=0;i=46','DisplayName','selectedMenuItem','icon','$selectLabel','sterfive-input-error','explore','animate','forEach','SteelBlue','aliased\x20NodeId:\x20','<div>','displayName','expanded','catch','isTypeRef','references','status','text','.tree-text:first','sterfive-info','blur','scrollTop','View','ns=0;i=45','ns=0;i=61','red-ui-typedInput-icon','<i\x20class=\x22fa\x20fa-envelope-open-o\x22/>','HasProperty','append','toggle','filter','toggleClass','appendTo','OPCUA\x20Explore','NodeClass','dblclick','ns=0;i=35','/checkNodeId','verify','node','trigger','Inverse','nsu\x20nodeId:\x20','rgba(61,\x2060,\x204,\x200.525)','[value=\x27','disarmClick','top','absolute','NodeId\x20with\x20namespace\x20Urn','each','</span><ul></ul></li>','fa-text-width','preventDefault','browseResult','prev','stringify','_showTypeMenu','$inputGroup','ReferenceType','reset','requestedNodeId','replaceWith','nodeId','SuppressedError','ns=0;i=34','after','1BNiHRL','$info','join','DataType','2513394ZfZJzT','ObjectType','label','.red-ui-tray-body','prop','$uiSelect','sort','Method','children','selected','function','$toggleTreeBtn','failure','expandable','sterfive.nodeBrowser','multiple','<span\x20title=','throw','HasComponent','$dropdown','<div\x20class=\x22sterfive-info-text\x22></div>','BrowsePath','<i\x20class=\x22fa\x20fa-font\x22/i>\x20','options','stopPropagation','Both','Value','keydown','756574hZGzts','removeClass','application/json','OpcUa-Client2-Explore','Unspecified','hasClass','<i\x20class=\x22red-ui-typedInput-icon\x20fa\x20fa-caret-down\x22></i>','nodeId_nsu','aliasedBrowsePath','currentParent','i=61','input[type=\x22checkbox\x22]','POST','Forward','background-color:transparent;overflow:hidden;border:3px','isSelectable','/browse','enter\x20a\x20nodeId\x20or\x20a\x20browsePath\x20','ns=0;i=85','430510JeMCMl','nodeId_aliased',':visible','length','target','loading','$combo','_showMenu','$menu','localeCompare','hide','</li>','inputs','setMode','\x22}><span\x20class=\x22tree-text\x22\x20title=','registerType','node_label_italic','2305370YYGxFZ','nodeClass','Value\x20is\x20not\x20verified','log','VariableType','error','mousedown.red-ui-typedInput-close-property-select','3508JRNeDW','opcua','$verifyBtn','baseUrl','<div/>',':first','> \x20','sterfive-dropdown','placeholder','bp_aliased','grey','Variable','sterfive-input-group','_hideMenu','$input','value','sterfive-combo-box','title','nodeIds','relativePath','prependTo','/opcua-for-node-red','mask-image:\x20url(','resolveParentNode','data','SeaGreen','aliased\x20browsePath:\x20','val','Aliased\x20NodeId'];_0x25a2=function(){return _0x38f052;};return _0x25a2();}
</script>
<script type="text/x-red" data-template-name="OpcUa-Client2-Explore">
<style>
.my-checkbox-label {
width: fit-content !important;
cursor: pointer;
user-select: none;
}
.my-checkbox-input {
visibility: hidden;
}
.my-checkbox-mark {
margin-left: 20px;
font-family: "FontAwesome";
font-size: 24px;
}
.my-checkbox-input:checked ~ .my-checkbox-mark::before {
content: "\f205";
/* fa-toggle-on */
}
.my-checkbox-input:not(checked) ~ .my-checkbox-mark::before {
content: "\f204";
/* fa-toggle-off */
}
</style>
<h3>Opc-UA Explore</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-nodeId" style="width: 100%"><i class="fa fa-tag"></i>NodeId</label>
<input type="text" id="node-input-nodeId" placeholder="ns=2;s=Variable1 or empty" />
</div>
<div class="form-row">
<label for="node-input-outputType">Output type</label>
<select type="text" id="node-input-outputType" style="width: 72%">
<option selected value="Value">Value</option>
<option value="NodeId">Node ID</option>
<option value="NSUNodeId">Node ID with Uri</option>
<option value="BrowsePath">Browse Path</option>
<option value="AliasedBrowsePath">Aliased Browse Path</option>
<option value="Variant">Variant</option>
<option value="DataValue">DataValue</option>
<option value="StatusCode">StatusCode</option>
</select>
</div>
<!-- excludeEmpty -->
<div class="form-row">
<label class="my-checkbox-label" for="node-input-excludeEmpty"><i class="fa fa-play"></i> exclude empty</label>
<label>
<input type="checkbox" checked class="my-checkbox-input" id="node-input-excludeEmpty" />
<span class="my-checkbox-mark"></span>
</label>
</div>
<!-- follow Organizes Reference-->
<div class="form-row">
<label class="my-checkbox-label" for="node-input-followOrganizes"
><i class="fa fa-play"></i>
follow Organizes Reference
</label>
<label>
<input type="checkbox" checked class="my-checkbox-input" id="node-input-followOrganizes" />
<span class="my-checkbox-mark"></span>
</label>
</div>
</script>
<script type="text/markdown" data-help-name="OpcUa-Client2-Explore">
explore a node of a OPCUA server, and get the structure of the node and its children.
## Explore action
you can either
- Inject your OPC UA address (NodeId) by the `nodeId` or `topic` property of an injected message or
- use the nodeId attribute defined in the OpcUa-Explore node itself.
## Input
The explore operation is triggered when the node receive an input message.
The nodeId to explore can be specified in the following ways, in priority order:
:msg.nodeId (string): the nodeId to explore
or if `msg.nodeId` is not defined:
:parameter.nodeId (string): the nodeId to read defined in the node configuration itself.
## Output
:msg.payload (Object): the structure of the node and its children.
### output type
- you can control the value that will be stored on the leaf of the returned object.
- It can be either
| Leaf Output Type | msg:outputType | Description |
| ------------------ | ----------------- | ---------------------------------------------------------------------------------------- |
| Value | Value | the variable value |
| DataValue | DataValue | the variable value with additional information |
| Variant | Variant | the variable value with additional information |
| StatusCode | StatusCode | the status code of