@opcua/for-node-red 3.10.0 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  </style>
5
5
 
6
6
  <script type="text/javascript">
7
- function _0x57f1(_0x58e5e8,_0x589bfe){const _0x491e78=_0x491e();return _0x57f1=function(_0x57f15f,_0x21c7f3){_0x57f15f=_0x57f15f-0x129;let _0x360b07=_0x491e78[_0x57f15f];return _0x360b07;},_0x57f1(_0x58e5e8,_0x589bfe);}function _0x491e(){const _0x822663=['#licenceWidget','namespaceAliases','Certificate','items','#node-config-input-userCertificate','Your\x20licence\x20has\x20expired\x20-\x20Freeware\x20mode\x20activated','#node-config-input-name','log','<input/>','25%','config','stringify','FAILED','error','script','/opcua-for-node-red/support-frame.html','extra','.\x0aBuy\x20online\x20and\x20visit\x20','<span>','.section-userIdentityType-Certificate','-messages','#node-config-input-userPrivatekey','<a\x20href=\x22https://www.sterfive.com/opcua/for-node-red\x22\x20target=”_blank”>Sterfive\x27s\x20website\x20</a>','#node-config-input-securityPolicy','.input-requestedMaxKeepAliveCount','.input-maxNotificationsPerPublish','fa\x20fa-check-circle','fa\x20fa-exclamation-circle','text','fetching\x20failed\x20with\x20error','addClass','checked','http://opcfoundation.org/DI/','empty','PROFESSIONAL','publishingEnabled','TRIAL','Your\x20licence\x20is\x20valid.','/opcua-for-node-red/config','label','Basic256Sha256','toString','publishable-key','name','width','match','parameters','element','internal\x20error\x20','OpcUa-Endpoint2','\x20for\x20more\x20information.','readonly','<stripe-pricing-table/>','.input-requestedPublishingInterval','licenceType','connection','then','requestedLifetimeCount','btn\x20btn-primary','namespaceUri','#node-input-sendBufferSize','.input-name','licence-widget-icon','next','sterfive.licenceWidget','apply','clone','pk_live_51HsE1sBCNccbzsVzt7zaq2uv20pkryWllAzvZgZd5AhwFI9A3qBIeOJvJwQF08lDoLpFqLjwmyA79wnPnYLsvKjt009f00VpCW','<iframe></iframe>','/licenceInfo','hide','694hpRjVr','licence-widget','#node-input-receiveBufferSize','function','userIdentityType','#subscription-template','true','150px','alias','val','auto','#node-config-endpoint-tabs-content','#editable-list-aliases-container','\x20to\x20acquire\x20a\x20license.','invalid\x20endpoint','attr','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.','tomorrow','http://opcfoundation.org/UA/','createElement','Subscribe','#section-TransportSettings','opcua\x20endpoint','prop','requestedMaxKeepAliveCount','pricing-table-id','#node-config-input-securityMode','#node-input-useTransport','append','licence-widget-','10539ReeaJW','message','widget','Trial\x20licence','#subscriptions-container','260px','EXPIRED','subscribe-button','invalid\x20securityMode\x20','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.̀','.input-requestedLifetimeCount','/opcua-for-node-red/test-connection','protocol','endpoint-tab-namespace-aliases','<button/>','in\x20','Default\x20Subscription','Your\x20freeware\x20license\x20has\x20expired.\x0a','.section-userIdentityType-UserName','POST','.section-securityPolicy','toISOString','node-input-alias-namespace-uri','endpoint','\x20days','#node-config-input-userName','requestedPublishingInterval','Connection','\x20-\x20','Anonymous','None','err','resize','today','UserName','node-input-alias-alias','.red-ui-editableList-item-remove','html','absolute','push','baseUrl','find','json','3311244qamZne','653eBUBZr','length','result','data-i','password','getTime','create','https://js.stripe.com/v3/pricing-table.js','node-config-endpoint-tabs','3350gqHKQU','done','Freeware\x20:\x20(Trial\x20licence\x20expired)','addTab','.node-input-alias-namespace-uri','<unknown>','subscriptions','status','opc.tcp:','328YETJCC','Freeware\x20licence','click','#checkCertificate','/opcua-for-node-red/client_certificate.json','map','116165MFVbqA','editableList','style','opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer','/opcua-for-node-red/extract-namespace-aliases','css','#test-connection','each','Sign','template','height:\x20100%\x20!important;','<div\x20class=\x22alias-entry\x22>','-pending','application/json','FREEWARE','-failure','assign','priority','#section-Advanced','17110710MicsnD',':checked','20px','The\x20Trial\x20will\x20expire\x20','#node-config-input-endpoint','.input-priority','addItem','appendTo','isArray','src','#node-config-input-useTransport','1190754uXLyTP','maxNotificationsPerPublish','SuppressedError','<i>','head','<br>','isDefault','#goto-config','#node-config-input-password','nodes','change','split','#node-config-input-userIdentityType','securityMode','type','SignAndEncrypt','expiryDate','class','</p>','#extract-aliases','licenceWidget','onPremiseServerHost','join','show','value','node-input-alias-index','margin-top:\x2020px;','#node-input-maxChunkCount','516aXOBeT','AUTHORIZED','removeClass','licenceInfo','#toggleAdvancedSection','70%','.input-isDefault','registerType','background-color:transparent;overflow:hidden;border:3px','Namespace\x20Aliases','replace'];_0x491e=function(){return _0x822663;};return _0x491e();}(function(_0x1c2b7c,_0x6253db){const _0x55d433=_0x57f1,_0x324563=_0x1c2b7c();while(!![]){try{const _0x25b217=-parseInt(_0x55d433(0x1df))/0x1*(-parseInt(_0x55d433(0x195))/0x2)+-parseInt(_0x55d433(0x215))/0x3+parseInt(_0x55d433(0x143))/0x4*(parseInt(_0x55d433(0x1e8))/0x5)+-parseInt(_0x55d433(0x1de))/0x6+-parseInt(_0x55d433(0x1f7))/0x7*(parseInt(_0x55d433(0x1f1))/0x8)+-parseInt(_0x55d433(0x1b3))/0x9+parseInt(_0x55d433(0x20a))/0xa;if(_0x25b217===_0x6253db)break;else _0x324563['push'](_0x324563['shift']());}catch(_0x33a6c5){_0x324563['push'](_0x324563['shift']());}}}(_0x491e,0x60206),(function(){'use strict';const _0x3aa282=_0x57f1;function _0x5092fe(_0x17accb,_0x5b61b9,_0x542f14,_0xe03161){function _0x30a147(_0x8ee2ec){return _0x8ee2ec instanceof _0x542f14?_0x8ee2ec:new _0x542f14(function(_0x194ffd){_0x194ffd(_0x8ee2ec);});}return new(_0x542f14||(_0x542f14=Promise))(function(_0x51e9b3,_0x1f4799){const _0x3605a4=_0x57f1;function _0x42fc60(_0x24149a){try{_0x139cb3(_0xe03161['next'](_0x24149a));}catch(_0x18291c){_0x1f4799(_0x18291c);}}function _0x138d87(_0x1810b0){try{_0x139cb3(_0xe03161['throw'](_0x1810b0));}catch(_0x3e27b3){_0x1f4799(_0x3e27b3);}}function _0x139cb3(_0x1bf705){const _0x225244=_0x57f1;_0x1bf705[_0x225244(0x1e9)]?_0x51e9b3(_0x1bf705[_0x225244(0x13f)]):_0x30a147(_0x1bf705[_0x225244(0x13f)])[_0x225244(0x186)](_0x42fc60,_0x138d87);}_0x139cb3((_0xe03161=_0xe03161[_0x3605a4(0x18f)](_0x17accb,_0x5b61b9||[]))[_0x3605a4(0x18d)]());});}typeof SuppressedError===_0x3aa282(0x198)?SuppressedError:function(_0x1cec50,_0x102b9c,_0xbf5725){const _0x5182b2=_0x3aa282;var _0x5c091a=new Error(_0xbf5725);return _0x5c091a[_0x5182b2(0x179)]=_0x5182b2(0x129),_0x5c091a[_0x5182b2(0x15b)]=_0x1cec50,_0x5c091a['suppressed']=_0x102b9c,_0x5c091a;};function _0x4e90bd(_0x1cf12f,_0x141c43,_0x1f143e,_0x29c072){const _0x4af891=_0x3aa282,_0x29aa49=$('#'+_0x1cf12f+'-success'),_0xb0ecb=$('#'+_0x1cf12f+_0x4af891(0x206)),_0x34ea5e=$('#'+_0x1cf12f+_0x4af891(0x203)),_0x53f518=$('#'+_0x1cf12f+_0x4af891(0x162));let _0x2d4e5b=![];_0x29aa49[_0x4af891(0x194)](),_0xb0ecb[_0x4af891(0x194)](),_0x34ea5e[_0x4af891(0x194)](),_0x141c43['on'](_0x4af891(0x1f3),()=>{const _0x315f7f=_0x4af891;if(_0x2d4e5b)return;_0x2d4e5b=!![],_0x34ea5e['removeClass']('hide'),_0x34ea5e[_0x315f7f(0x1d8)]('Testing\x20Connection\x20...'),_0x29aa49[_0x315f7f(0x16c)](_0x315f7f(0x194)),_0xb0ecb[_0x315f7f(0x16c)]('hide'),_0x53f518['html']('');const {body:_0x61fcfd,url:_0x502e0b}=_0x1f143e();fetch(_0x502e0b,{'method':_0x315f7f(0x1c6),'headers':{'Content-Type':_0x315f7f(0x204)},'body':JSON[_0x315f7f(0x159)](_0x61fcfd)})[_0x315f7f(0x186)](_0x3cf909=>_0x3cf909[_0x315f7f(0x1dd)]())['then'](_0x149efd=>{const _0x4618dd=_0x315f7f;_0x2d4e5b=![],_0x34ea5e['hide'](),console[_0x4618dd(0x155)](JSON['stringify'](_0x149efd,null,'\x20'));if(_0x149efd[_0x4618dd(0x1e1)]==='ok')_0x29aa49[_0x4618dd(0x145)](_0x4618dd(0x194)),_0xb0ecb['addClass'](_0x4618dd(0x194)),_0x53f518[_0x4618dd(0x1d8)](_0x149efd[_0x4618dd(0x1b4)][_0x4618dd(0x14d)]('\x0a',_0x4618dd(0x12c)));else{const _0x256870=_0x484b14=>!_0x484b14?'':_0x484b14[_0x4618dd(0x132)]('\x0a')[_0x4618dd(0x1f6)](_0x283945=>'<p>'+_0x283945+_0x4618dd(0x139))[_0x4618dd(0x13d)]('\x0a'),_0x4a2ae7=_0x19164d=>Array[_0x4618dd(0x212)](_0x19164d)?_0x19164d[_0x4618dd(0x1f6)](_0x256870)['join']('\x0a'):_0x256870(_0x19164d);_0x29aa49[_0x4618dd(0x16c)]('hide'),_0xb0ecb[_0x4618dd(0x145)](_0x4618dd(0x194)),_0x53f518[_0x4618dd(0x1d8)](_0x4a2ae7(_0x149efd[_0x4618dd(0x1b4)])+_0x4a2ae7(_0x149efd[_0x4618dd(0x15e)])),_0x29c072(new Error(_0x149efd[_0x4618dd(0x1e1)]),_0x149efd);}})['catch'](_0xda5c17=>{const _0xa0a16b=_0x315f7f;_0x2d4e5b=![],_0x34ea5e[_0xa0a16b(0x16c)](_0xa0a16b(0x194)),_0x29aa49[_0xa0a16b(0x16c)](_0xa0a16b(0x194)),_0xb0ecb[_0xa0a16b(0x145)](_0xa0a16b(0x194)),_0x53f518['html'](_0xa0a16b(0x17e)+_0xda5c17[_0xa0a16b(0x1b4)]),console[_0xa0a16b(0x155)](_0xa0a16b(0x1d2),_0xda5c17);});});}var _0x2d431f;(function(_0x2ecb45){const _0x1aa1e1=_0x3aa282;_0x2ecb45[_0x2ecb45[_0x1aa1e1(0x205)]=0x0]=_0x1aa1e1(0x205),_0x2ecb45[_0x2ecb45['TRIAL']=0x1]=_0x1aa1e1(0x172),_0x2ecb45[_0x2ecb45[_0x1aa1e1(0x170)]=0x2]=_0x1aa1e1(0x170);}(_0x2d431f||(_0x2d431f={})));var _0x3a7531;(function(_0x4514c5){const _0x415959=_0x3aa282;_0x4514c5[_0x4514c5[_0x415959(0x144)]=0x18]=_0x415959(0x144),_0x4514c5[_0x4514c5['FAILED']=0x17]=_0x415959(0x15a),_0x4514c5[_0x4514c5[_0x415959(0x1b9)]=0x16]=_0x415959(0x1b9);}(_0x3a7531||(_0x3a7531={})));function _0x12d997(_0x465308,_0x106aea){const _0x16af55=_0x3aa282;if(_0x106aea!==_0x3a7531['AUTHORIZED'])return _0x2d431f[_0x16af55(0x205)];return _0x465308;}const _0x28ad49=0xe10*0x3e8,_0x4abc38=_0x28ad49*0x18;function _0x479103(_0x1df471){const _0x468fe8=_0x3aa282;return!_0x1df471?new Date(0x0):_0x1df471 instanceof Date?_0x1df471:new Date(_0x1df471[_0x468fe8(0x146)]?_0x1df471[_0x468fe8(0x146)][_0x468fe8(0x137)]:0x0);}function _0xb1fc0c(_0x8cdf00){const _0x410bdf=_0x3aa282,_0x27e22c=_0x479103(_0x8cdf00),_0x2d2311=new Date(),_0x1a5b4b=Math['floor']((_0x27e22c[_0x410bdf(0x1e4)]()-_0x2d2311['getTime']())/_0x4abc38);return _0x1a5b4b;}function _0x641cd0(_0x4e8f4e){const _0x1c8d0d=_0x3aa282,_0x48558e=_0x479103(_0x4e8f4e),_0x57cd22=new Date(),_0x55e16f=Math['floor']((_0x48558e[_0x1c8d0d(0x1e4)]()-_0x57cd22['getTime']())/_0x28ad49);return _0x55e16f;}const _0x3b1775='prctbl_1OJt49BCNccbzsVzkaANOgFL',_0x2f2d83=_0x3aa282(0x191);function _0x4c194d(){return _0x5092fe(this,arguments,void 0x0,function*(_0x2e7bc7=''){const _0x4572fe=_0x57f1,_0x4a4277=_0x2e7bc7+'/opcua-for-node-red',_0x7f0cf9=_0x4a4277+_0x4572fe(0x193),_0x26587e=yield fetch(_0x7f0cf9,{'method':_0x4572fe(0x1c6),'headers':{'Content-Type':_0x4572fe(0x204)}}),_0x3f7acd=new Date()[_0x4572fe(0x1c8)](),_0x5c5eef={'status':_0x4572fe(0x15a),'type':_0x4572fe(0x205),'licenceInfo':{'licenceId':'00000000-0000-0000-0000-000000000000','licenceType':_0x4572fe(0x1ed),'expiryDate':_0x3f7acd,'onPremiseServerHost':'','expired':!![],'userCompany':'','userEmail':'','userName':''}};if(_0x26587e[_0x4572fe(0x1ef)]!==0xc8)return console[_0x4572fe(0x155)](_0x4572fe(0x16b),_0x26587e[_0x4572fe(0x1ef)],_0x26587e['statusText']),_0x5c5eef;const _0x2cea78=yield _0x26587e['json']();return _0x2cea78;});}const _0x161b6f=()=>{const _0x1f9ee0=_0x3aa282;$[_0x1f9ee0(0x1b5)](_0x1f9ee0(0x18e),{'options':{'baseUrl':''},'_create'(){const _0x5ccdc8=_0x1f9ee0,_0x15038d=this,_0x44181c='<a\x20href=\x22mailto:support@sterfive.com\x22\x20subject=\x22@opcua/for-node-red\x20support\x20request\x22>mailto:support@sterfive.com</a>',_0x8bacd7=_0x5ccdc8(0x164);_0x4c194d(_0x15038d[_0x5ccdc8(0x1db)])['then'](_0x4feb5d=>{const _0x91418d=_0x5ccdc8;var _0x511805,_0x4ea2a3;let _0x9c169c='',_0x5b572c='',_0x4e426b='';const _0x252d45=_0x2d431f[_0x4feb5d[_0x91418d(0x135)]],_0x14f123=_0x3a7531[_0x4feb5d[_0x91418d(0x1ef)]],_0x573101=_0x12d997(_0x252d45,_0x14f123),_0x3a1691=_0xb1fc0c(((_0x511805=_0x4feb5d['licenceInfo'])===null||_0x511805===void 0x0?void 0x0:_0x511805[_0x91418d(0x137)])?new Date(_0x4feb5d['licenceInfo'][_0x91418d(0x137)]):undefined),_0x1f308b=_0x641cd0(((_0x4ea2a3=_0x4feb5d[_0x91418d(0x146)])===null||_0x4ea2a3===void 0x0?void 0x0:_0x4ea2a3[_0x91418d(0x137)])?new Date(_0x4feb5d[_0x91418d(0x146)]['expiryDate']):undefined),_0x5356c7=_0x3a1691==0x0?_0x1f308b>0xa?_0x91418d(0x1d4):_0x91418d(0x1c2)+_0x1f308b+'\x20hours':_0x3a1691==0x1?_0x91418d(0x1a6):_0x91418d(0x1c2)+_0x3a1691+_0x91418d(0x1cb);switch(_0x14f123){case _0x3a7531['AUTHORIZED']:_0x9c169c=_0x91418d(0x168);switch(_0x573101){case _0x2d431f[_0x91418d(0x172)]:{_0x5b572c=_0x91418d(0x1b6),_0x4e426b=_0x91418d(0x20d)+_0x5356c7+_0x91418d(0x15f)+_0x8bacd7+_0x91418d(0x1a2);break;}case _0x2d431f[_0x91418d(0x170)]:_0x5b572c=_0x91418d(0x173);_0x3a1691<0x5a&&_0x3a1691>=0x0&&(_0x5b572c+='\x0aIt\x20will\x20expire\x20'+_0x5356c7+'.');_0x4e426b=_0x4feb5d[_0x91418d(0x146)][_0x91418d(0x184)]+_0x91418d(0x1cf)+(_0x4feb5d[_0x91418d(0x146)][_0x91418d(0x13c)]||'');break;case _0x2d431f[_0x91418d(0x205)]:_0x5b572c=_0x91418d(0x1f2),_0x4e426b='This\x20is\x20a\x20freeware\x20licence,\x20and\x20have\x20some\x20limitations.\x0a'+_0x8bacd7+_0x91418d(0x180);break;}break;case _0x3a7531[_0x91418d(0x1b9)]:_0x9c169c='fa\x20fa-calendar-time';switch(_0x252d45){case _0x2d431f[_0x91418d(0x172)]:_0x5b572c=_0x91418d(0x1ea),_0x4e426b='Your\x20trial\x20license\x20has\x20expired.\x0aPlease\x20visit\x20'+_0x8bacd7+_0x91418d(0x1a2);break;case _0x2d431f[_0x91418d(0x205)]:_0x5b572c='Freeware\x20licence\x20expired',_0x4e426b=_0x91418d(0x1c4)+_0x8bacd7+'\x20for\x20more\x20information.';break;case _0x2d431f[_0x91418d(0x170)]:default:_0x5b572c=_0x91418d(0x153),_0x4e426b='Your\x20license\x20has\x20expired.\x0aPlease\x20contact\x20our\x20\x20'+_0x44181c+_0x91418d(0x1a5);}break;case _0x3a7531['FAILED']:default:_0x9c169c=_0x91418d(0x169),_0x5b572c='Your\x20license\x20is\x20currently\x20invalid.',_0x4e426b='Please\x20contact\x20'+_0x44181c+_0x91418d(0x1bc);break;}this[_0x91418d(0x17d)][_0x91418d(0x16c)](_0x91418d(0x196)),this['element']['addClass'](_0x91418d(0x1b2)+_0x14f123),this[_0x91418d(0x17d)][_0x91418d(0x1b1)]($(_0x91418d(0x160))[_0x91418d(0x16c)](_0x91418d(0x18c))[_0x91418d(0x1b1)]($(_0x91418d(0x12a))[_0x91418d(0x16c)](_0x9c169c))),this['element'][_0x91418d(0x1b1)]($(_0x91418d(0x160))['addClass']('licence-widget-msg')[_0x91418d(0x16a)](_0x5b572c)),this[_0x91418d(0x17d)][_0x91418d(0x1b1)]($(_0x91418d(0x12c))),this[_0x91418d(0x17d)]['append']($('<span>')[_0x91418d(0x16c)]('licence-widget-details')[_0x91418d(0x1b1)](_0x4e426b));if(_0x14f123===_0x3a7531['EXPIRED']||_0x14f123===_0x3a7531['FAILED']||_0x573101===_0x2d431f[_0x91418d(0x205)]||_0x573101===_0x2d431f[_0x91418d(0x172)]){this['element'][_0x91418d(0x1b1)]($(_0x91418d(0x12c)));const _0x20dc8f=$(_0x91418d(0x1c1));_0x20dc8f['attr']('id',_0x91418d(0x1ba)),_0x20dc8f[_0x91418d(0x1a4)](_0x91418d(0x138),_0x91418d(0x188)),_0x20dc8f[_0x91418d(0x1a4)]('style',_0x91418d(0x141)),_0x20dc8f[_0x91418d(0x16a)](_0x91418d(0x1a9)),this[_0x91418d(0x17d)][_0x91418d(0x1b1)](_0x20dc8f);const _0x996998=document[_0x91418d(0x1a8)](_0x91418d(0x15c));_0x996998[_0x91418d(0x213)]=_0x91418d(0x1e6),_0x996998['async']=!![],$(_0x91418d(0x12b))[_0x91418d(0x1b1)](_0x996998);const _0x50eeb8=$(_0x91418d(0x182));_0x50eeb8[_0x91418d(0x1a4)](_0x91418d(0x1ae),_0x3b1775),_0x50eeb8[_0x91418d(0x1a4)](_0x91418d(0x178),_0x2f2d83),_0x50eeb8['attr'](_0x91418d(0x1f9),'height:\x20100%;max-height:\x20100%;'),_0x50eeb8[_0x91418d(0x194)](),this[_0x91418d(0x17d)]['append'](_0x50eeb8),_0x20dc8f['on'](_0x91418d(0x1f3),()=>{const _0x5a0c15=_0x91418d;_0x50eeb8[_0x5a0c15(0x13e)](),_0x20dc8f[_0x5a0c15(0x194)](),this['element']['attr']('style',_0x5a0c15(0x201));});}})['catch'](_0x485851=>{const _0x59efd1=_0x5ccdc8;console[_0x59efd1(0x155)](_0x485851);});}});},_0x11c600=()=>{const _0x38dff7=_0x3aa282,_0x3843dd=$('.red-ui-tray-body');if(_0x3843dd['length']){const _0x5182be=$(_0x38dff7(0x192),{'src':_0x38dff7(0x15d),'scrolling':'no','style':_0x38dff7(0x14b),'allowtransparency':_0x38dff7(0x19b),'width':'180px','height':'30px'});_0x3843dd[_0x38dff7(0x1b1)](_0x5182be),_0x5182be[_0x38dff7(0x1fc)]({'position':_0x38dff7(0x1d9),'right':_0x38dff7(0x20c),'bottom':'16px'});}};_0x161b6f();function _0x40d109(_0x3b459b){const _0x1b6975=_0x3aa282;let _0x231204;try{_0x231204=new URL(_0x3b459b);}catch(_0x417697){return![];}return _0x231204[_0x1b6975(0x1bf)]===_0x1b6975(0x1f0);}const _0x12179a={'publishingEnabled':!![],'requestedLifetimeCount':0x3e8,'requestedMaxKeepAliveCount':0xa,'requestedPublishingInterval':0x3e8,'maxNotificationsPerPublish':0x0,'priority':0x64};RED[_0x3aa282(0x130)][_0x3aa282(0x14a)](_0x3aa282(0x17f),{'category':_0x3aa282(0x158),'paletteLabel':_0x3aa282(0x1ab),'defaults':{'name':{'value':''},'endpoint':{'value':_0x3aa282(0x1fa),'required':!![],'validate':_0x40d109},'securityMode':{'value':_0x3aa282(0x1d1)},'securityPolicy':{'value':_0x3aa282(0x1d1),'validate':_0x2e9fef=>{if(!_0x2e9fef)return![];return!![];}},'userIdentityType':{'value':'Anonymous'},'pkiName':{'value':'','validate':_0x55f28f=>!_0x55f28f||_0x55f28f[_0x3aa282(0x17b)](/[0-9a-zA-Z]*/)?!![]:![]},'useTransport':{'value':![],'required':![]},'maxChunkCount':{'value':0x1,'required':![]},'maxMessageSize':{'value':0x2000,'required':![]},'receiveBufferSize':{'value':0x2000,'required':![]},'sendBufferSize':{'value':0x2000,'required':![]},'subscriptions':{'value':[{'id':'s1','name':_0x3aa282(0x1c3),'isDefault':!![],'parameters':Object[_0x3aa282(0x207)]({},_0x12179a)},{'id':'s2','name':'Slow\x20Subscription','isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0x64,'requestedMaxKeepAliveCount':0x3,'requestedPublishingInterval':0x1388,'maxNotificationsPerPublish':0x64,'priority':0xa}},{'id':'s3','name':'Fast\x20Subscription','isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0xfa0,'requestedMaxKeepAliveCount':0x32,'requestedPublishingInterval':0xfa,'maxNotificationsPerPublish':0x64,'priority':0xc8}}],'required':![]},'namespaceAliases':{'value':[{'alias':'ua','namespaceUri':'http://opcfoundation.org/UA/','isWellKnown':!![],'isDefault':!![]},{'alias':'di','namespaceUri':_0x3aa282(0x16e),'isWellKnown':!![],'isDefault':!![]}],'required':![]}},'credentials':{'userName':{'type':_0x3aa282(0x16a)},'password':{'type':_0x3aa282(0x1e3)},'userCertificate':{'type':_0x3aa282(0x16a)},'userPrivatekey':{'type':_0x3aa282(0x1e3)}},'label':function(){const _0x5e2015=_0x3aa282;return this[_0x5e2015(0x179)]||this[_0x5e2015(0x1ca)]||_0x5e2015(0x1a3);},'oneditsave'(){const _0x2c1c08=_0x3aa282,_0x656e8d=$(_0x2c1c08(0x165)),_0x542c45=$(_0x2c1c08(0x1af));_0x656e8d['val']()==='None'&&_0x542c45[_0x2c1c08(0x16a)](_0x2c1c08(0x1d1));{const _0x1a20f3=$(_0x2c1c08(0x1b7))[_0x2c1c08(0x1f8)](_0x2c1c08(0x151)),_0x4cb8cd=[],_0x4d5d49=_0x4d7f2e=>_0x4d7f2e;_0x1a20f3[_0x2c1c08(0x1fe)](function(_0x2a87f0,_0x496460){const _0x1f9a7a=_0x2c1c08,_0x571981=$(this),_0x3984e2={'id':'s'+_0x2a87f0,'name':_0x571981[_0x1f9a7a(0x1dc)](_0x1f9a7a(0x18b))[_0x1f9a7a(0x19e)](),'isDefault':!!_0x571981[_0x1f9a7a(0x1dc)](_0x1f9a7a(0x149))[_0x1f9a7a(0x19e)](),'parameters':{'publishingEnabled':!!_0x571981['find']('.input-publishingEnabled')['is'](_0x1f9a7a(0x20b)),'requestedLifetimeCount':_0x4d5d49(_0x571981['find'](_0x1f9a7a(0x1bd))[_0x1f9a7a(0x19e)]()),'requestedMaxKeepAliveCount':_0x4d5d49(_0x571981[_0x1f9a7a(0x1dc)]('.input-requestedMaxKeepAliveCount')[_0x1f9a7a(0x19e)]()),'requestedPublishingInterval':_0x4d5d49(_0x571981[_0x1f9a7a(0x1dc)](_0x1f9a7a(0x183))[_0x1f9a7a(0x19e)]()),'maxNotificationsPerPublish':_0x4d5d49(_0x571981['find'](_0x1f9a7a(0x167))['val']()),'priority':_0x4d5d49(_0x571981[_0x1f9a7a(0x1dc)](_0x1f9a7a(0x20f))['val']())}};_0x3984e2[_0x1f9a7a(0x17c)][_0x1f9a7a(0x171)]=!![],_0x3984e2[_0x1f9a7a(0x12d)]&&_0x3984e2['id']==='s0'&&(_0x3984e2[_0x1f9a7a(0x179)]=_0x1f9a7a(0x1c3)),_0x4cb8cd[_0x1f9a7a(0x1da)](_0x3984e2);}),this[_0x2c1c08(0x1ee)]=_0x4cb8cd;}{const _0x5c78be=$(_0x2c1c08(0x1a1))[_0x2c1c08(0x1f8)]('items'),_0x4fca57=[];_0x5c78be[_0x2c1c08(0x1fe)](function(_0x25e356,_0x585b14){const _0x533df5=_0x2c1c08,_0x36a28a=$(this),_0x4628e1={'namespaceUri':_0x36a28a['find'](_0x533df5(0x1ec))[_0x533df5(0x19e)](),'alias':_0x36a28a[_0x533df5(0x1dc)]('.node-input-alias-alias')[_0x533df5(0x19e)]()};_0x4fca57['push'](_0x4628e1);}),this[_0x2c1c08(0x14f)]=_0x4fca57;}},'oneditprepare'(){const _0x769ed=_0x3aa282,_0x5381d6=this;_0x11c600();const _0x238410=RED['tabs'][_0x769ed(0x1e5)]({'id':_0x769ed(0x1e7),'onchange':function(_0x2ac031){const _0x3fecd3=_0x769ed;$(_0x3fecd3(0x1a0))['children']()[_0x3fecd3(0x194)](),$('#'+_0x2ac031['id'])[_0x3fecd3(0x13e)]();}});_0x238410[_0x769ed(0x1eb)]({'id':'endpoint-tab-connection','label':_0x769ed(0x1ce)},0x0),_0x238410[_0x769ed(0x1eb)]({'id':'endpoint-tab-subscriptions','label':'Subscriptions'},0x1),_0x238410['addTab']({'id':_0x769ed(0x1c0),'label':_0x769ed(0x14c)},0x2),setTimeout(function(){const _0x19c804=_0x769ed;_0x238410[_0x19c804(0x1d3)]();},0x0);{const _0x3870cf=_0x559f3d=>{const _0x198020=_0x769ed;switch(_0x559f3d){case null:case undefined:case'':case _0x198020(0x1d1):$('.section-securityPolicy')[_0x198020(0x194)]();break;case _0x198020(0x1ff):case _0x198020(0x136):{const _0x31038d=$(_0x198020(0x1c7));(_0x31038d[_0x198020(0x19e)]()==='None'||_0x31038d[_0x198020(0x19e)]()==='')&&_0x31038d[_0x198020(0x19e)](_0x198020(0x176)),$(_0x198020(0x1c7))[_0x198020(0x13e)]();}break;default:console[_0x198020(0x155)](_0x198020(0x1bb)+_0x559f3d);}};_0x3870cf(_0x5381d6[_0x769ed(0x134)]);const _0x27a36d=$(_0x769ed(0x1af));_0x27a36d['on'](_0x769ed(0x131),()=>{const _0x2bd922=_0x769ed,_0x55b610=_0x27a36d[_0x2bd922(0x19e)]();_0x3870cf(_0x55b610);});}const _0x5e0933=$(_0x769ed(0x14e));_0x5e0933[_0x769ed(0x13b)]({'baseUrl':''});{const _0x51bfb2=$(_0x769ed(0x1c5)),_0x1ddc84=$(_0x769ed(0x161)),_0x1f3689=_0x41b0b4=>{const _0x30ca84=_0x769ed;_0x41b0b4=_0x41b0b4||_0x30ca84(0x1d0);switch(_0x41b0b4){case _0x30ca84(0x1d0):$(_0x30ca84(0x1cc))['val'](''),$(_0x30ca84(0x12f))[_0x30ca84(0x19e)](''),_0x51bfb2[_0x30ca84(0x194)](),_0x1ddc84[_0x30ca84(0x194)]();break;case _0x30ca84(0x1d5):_0x51bfb2[_0x30ca84(0x13e)](),_0x1ddc84['hide']();break;case _0x30ca84(0x150):$(_0x30ca84(0x1cc))[_0x30ca84(0x19e)](''),$(_0x30ca84(0x12f))[_0x30ca84(0x19e)](''),_0x1ddc84['show'](),_0x51bfb2['hide']();break;default:console[_0x30ca84(0x155)]('invalid\x20userIdentityType\x20'+_0x41b0b4);}};_0x1f3689(_0x5381d6[_0x769ed(0x199)]);const _0x136333=$(_0x769ed(0x133));_0x136333['on'](_0x769ed(0x131),()=>{const _0x47f974=_0x769ed,_0x14c100=_0x136333[_0x47f974(0x19e)]();_0x1f3689(_0x14c100);});}{$(_0x769ed(0x209))['hide'](),$('#toggleAdvancedSection')[_0x769ed(0x1ac)](_0x769ed(0x16d),![]),$(_0x769ed(0x147))['on']('change',function(){const _0x422c26=_0x769ed;$(this)[_0x422c26(0x1ac)](_0x422c26(0x16d))?$(_0x422c26(0x209))[_0x422c26(0x13e)]():$(_0x422c26(0x209))['hide']();});}const _0x263413=$(_0x769ed(0x214))['prop'](_0x769ed(0x16d));_0x263413?$(_0x769ed(0x1aa))[_0x769ed(0x13e)]():$(_0x769ed(0x1aa))[_0x769ed(0x194)]();$(_0x769ed(0x214))['on']('change',function(){const _0x58a7b6=_0x769ed;$(this)[_0x58a7b6(0x1ac)](_0x58a7b6(0x16d))?$(_0x58a7b6(0x1aa))[_0x58a7b6(0x13e)]():$(_0x58a7b6(0x1aa))[_0x58a7b6(0x194)]();});{$(_0x769ed(0x1f4))['on'](_0x769ed(0x1f3),()=>_0x5092fe(this,void 0x0,void 0x0,function*(){const _0x1953c7=_0x769ed,_0x13c67b=yield fetch(_0x1953c7(0x1f5)),_0x20c510=yield _0x13c67b['json'](),_0x37bc9f=JSON[_0x1953c7(0x159)](_0x20c510,null,'\x20');alert(_0x37bc9f);}));}$(_0x769ed(0x12e))['on'](_0x769ed(0x1f3),()=>_0x5092fe(this,void 0x0,void 0x0,function*(){const _0x32f4ac=_0x769ed;window['open'](_0x32f4ac(0x174),'_blank');}));function _0x5df808(){const _0xb08371=_0x769ed;var _0x3a4ea2;return{'id':_0x5381d6['id'],'endpoint':$(_0xb08371(0x20e))[_0xb08371(0x19e)](),'name':$(_0xb08371(0x154))[_0xb08371(0x19e)](),'pkiName':(_0x3a4ea2=$('#node-config-input-pkiName'))===null||_0x3a4ea2===void 0x0?void 0x0:_0x3a4ea2[_0xb08371(0x19e)](),'securityMode':$('#node-config-input-securityMode')[_0xb08371(0x19e)](),'securityPolicy':$(_0xb08371(0x165))['val'](),'userIdentityType':$('#node-config-input-userIdentityType')['val'](),'userName':$(_0xb08371(0x1cc))['val'](),'password':$('#node-config-input-password')['val'](),'userCertificate':$(_0xb08371(0x152))['val'](),'userPrivatekey':$(_0xb08371(0x163))[_0xb08371(0x19e)](),'certificate':$('#node-input-certificate')[_0xb08371(0x19e)](),'useTransport':$(_0xb08371(0x1b0))[_0xb08371(0x1ac)](_0xb08371(0x16d)),'maxChunkCount':$(_0xb08371(0x142))['val'](),'maxMessageSize':$('#node-input-maxMessageSize')[_0xb08371(0x19e)](),'receiveBufferSize':$(_0xb08371(0x197))[_0xb08371(0x19e)](),'sendBufferSize':$(_0xb08371(0x18a))[_0xb08371(0x19e)]()};}{_0x4e90bd(_0x769ed(0x185),$(_0x769ed(0x1fd)),()=>({'url':_0x769ed(0x1be),'body':{'endpointNode':_0x5df808()}}),()=>{});}{const _0x44bcfe=(_0x13e13f,_0x55579d)=>{const _0x1f9f4f=_0x769ed;var _0x4b1bbf=_0x13e13f[_0x1f9f4f(0x17a)]()||0x64;_0x13e13f['find'](_0x1f9f4f(0x175))['typedInput']('width',_0x4b1bbf-0xf);},_0x18653a=$(_0x769ed(0x1b7))[_0x769ed(0x1fc)]({'min-height':_0x769ed(0x19c),'min-width':_0x769ed(0x1b8)})['editableList']({'addItem':(_0xcebeec,_0x19b58c,_0x1f2e69)=>{const _0x9f8304=_0x769ed,_0x4b2e47=_0x1f2e69,_0x45e741=$(_0x9f8304(0x19a))[_0x9f8304(0x190)]()[_0x9f8304(0x211)](_0xcebeec);_0x45e741['removeAttr']('id')[_0x9f8304(0x145)](_0x9f8304(0x194))[_0x9f8304(0x145)](_0x9f8304(0x200))[_0x9f8304(0x1a4)](_0x9f8304(0x1e2),_0x19b58c),_0x45e741[_0x9f8304(0x1dc)](_0x9f8304(0x18b))['val'](_0x4b2e47['name']),_0x45e741[_0x9f8304(0x1dc)](_0x9f8304(0x183))[_0x9f8304(0x19e)](_0x4b2e47['parameters'][_0x9f8304(0x1cd)]),_0x45e741['find'](_0x9f8304(0x166))[_0x9f8304(0x19e)](_0x4b2e47[_0x9f8304(0x17c)][_0x9f8304(0x1ad)]),_0x45e741[_0x9f8304(0x1dc)]('.input-requestedLifetimeCount')['val'](_0x4b2e47[_0x9f8304(0x17c)][_0x9f8304(0x187)]),_0x45e741[_0x9f8304(0x1dc)](_0x9f8304(0x167))['val'](_0x4b2e47[_0x9f8304(0x17c)][_0x9f8304(0x216)]||0x0),_0x45e741[_0x9f8304(0x1dc)](_0x9f8304(0x20f))[_0x9f8304(0x19e)](_0x4b2e47[_0x9f8304(0x17c)][_0x9f8304(0x208)]||0x0),_0x45e741[_0x9f8304(0x1dc)]('.subscription-id')['text'](''+_0x19b58c),_0x4b2e47[_0x9f8304(0x12d)]&&_0x45e741['find'](_0x9f8304(0x18b))[_0x9f8304(0x1ac)](_0x9f8304(0x181),!![]),_0x45e741[_0x9f8304(0x1dc)](_0x9f8304(0x149))[_0x9f8304(0x1ac)](_0x9f8304(0x16d),_0x4b2e47[_0x9f8304(0x12d)]),_0x4b2e47[_0x9f8304(0x12d)]&&(_0xcebeec[_0x9f8304(0x1dc)](_0x9f8304(0x1d7))['addClass'](_0x9f8304(0x194)),setTimeout(()=>_0x45e741[_0x9f8304(0x1dc)](_0x9f8304(0x149))[_0x9f8304(0x1ac)]('disabled',!![]),0xa));},'removable':!![],'resizeItem':_0x44bcfe}),_0x2fdc36=()=>{const _0xe65526=_0x769ed,_0x51d678=_0x5381d6[_0xe65526(0x1ee)]||[];_0x51d678[_0xe65526(0x1e0)]===0x0&&_0x51d678[_0xe65526(0x1da)]({'id':'s1','name':_0xe65526(0x1c3),'isDefault':!![],'parameters':Object[_0xe65526(0x207)]({},_0x12179a)});_0x18653a[_0xe65526(0x1f8)](_0xe65526(0x16f));for(const _0x23f2be of _0x51d678){_0x18653a[_0xe65526(0x1f8)](_0xe65526(0x210),_0x23f2be);}};_0x2fdc36();}{function _0x59394a(_0x215976,_0x3f9ab7,_0x15b2f0){const _0x36ad96=_0x769ed,_0x1a9c95=_0x15b2f0,_0x291bc9=$(_0x36ad96(0x202))[_0x36ad96(0x211)](_0x215976);$(_0x36ad96(0x156),{'class':_0x36ad96(0x140),'type':_0x36ad96(0x16a)})['val'](_0x15b2f0[_0x36ad96(0x19d)]||'')['css']({'width':'5%'})[_0x36ad96(0x211)](_0x291bc9)[_0x36ad96(0x19e)](_0x3f9ab7[_0x36ad96(0x177)]()),$(_0x36ad96(0x156),{'class':_0x36ad96(0x1d6),'type':_0x36ad96(0x16a)})[_0x36ad96(0x19e)](_0x15b2f0[_0x36ad96(0x19d)]||'')[_0x36ad96(0x1fc)]({'width':_0x36ad96(0x157)})[_0x36ad96(0x211)](_0x291bc9)[_0x36ad96(0x19e)](_0x1a9c95[_0x36ad96(0x19d)]),$('<input/>',{'class':_0x36ad96(0x1c9),'type':_0x36ad96(0x16a)})['val'](_0x15b2f0[_0x36ad96(0x189)]||'')['css']({'width':_0x36ad96(0x148)})[_0x36ad96(0x211)](_0x291bc9)[_0x36ad96(0x19e)](_0x1a9c95[_0x36ad96(0x189)]);}const _0x221158=$('#editable-list-aliases-container')[_0x769ed(0x1fc)]({'min-height':_0x769ed(0x19c),'min-width':_0x769ed(0x1b8)})['editableList']({'addButton':![],'removable':![],'height':_0x769ed(0x19f),'scrollOnAdd':![],'addItem'(_0x2080f8,_0x5c3c4e,_0xd238e0){_0x59394a(_0x2080f8,_0x5c3c4e,_0xd238e0);}});function _0x2bec22(){const _0x4bf6c7=_0x769ed;_0x221158['editableList'](_0x4bf6c7(0x151)),_0x221158['editableList'](_0x4bf6c7(0x16f));for(const _0x13ad60 of _0x5381d6[_0x4bf6c7(0x14f)]||[]){_0x221158['editableList'](_0x4bf6c7(0x210),_0x13ad60);}}{$(_0x769ed(0x13a))['on']('click',()=>_0x5092fe(this,void 0x0,void 0x0,function*(){const _0x200e95=_0x769ed,_0x3d40d6={'endpointNode':_0x5df808(),'namespaceAliases':_0x5381d6['namespaceAliases']||[]},_0x24763e=yield fetch(_0x200e95(0x1fb),{'method':_0x200e95(0x1c6),'headers':{'Content-Type':'application/json'},'body':JSON[_0x200e95(0x159)](_0x3d40d6)}),_0x5620db=yield _0x24763e['json'](),_0x4c654c=_0x5620db[_0x200e95(0x14f)];console[_0x200e95(0x155)](_0x200e95(0x14f),_0x4c654c),Array[_0x200e95(0x212)](_0x4c654c)&&(_0x5381d6[_0x200e95(0x14f)]=_0x4c654c,_0x2bec22());})),_0x5381d6[_0x769ed(0x14f)]=_0x5381d6[_0x769ed(0x14f)]||[{'alias':'ua','namespaceUri':_0x769ed(0x1a7),'isWellKnown':!![],'isDefault':!![]}];}_0x2bec22();}}});}()));
7
+ function _0xc1de(){const _0x21a873=['.input-requestedMaxKeepAliveCount','toISOString','password','<i>','function','FAILED','endpoint','-pending','class','readonly','<p>','.input-publishingEnabled','licenceWidget','<stripe-pricing-table/>','config','next','.input-isDefault','#node-config-input-userPrivatekey','\x20for\x20more\x20information.','AUTHORIZED','text','append','526xFPxco','in\x20','prctbl_1OJt49BCNccbzsVzkaANOgFL','endpoint-tab-namespace-aliases','.section-securityPolicy','protocol','.input-requestedLifetimeCount','<a\x20href=\x22https://www.sterfive.com/opcua/for-node-red\x22\x20target=”_blank”>Sterfive\x27s\x20website\x20</a>','prop','sterfive.licenceWidget','This\x20is\x20a\x20freeware\x20licence,\x20and\x20have\x20some\x20limitations.\x0a','background-color:transparent;overflow:hidden;border:3px','widget','.node-input-alias-namespace-uri','namespaceAliases','items','-messages','css','Basic256Sha256','Testing\x20Connection\x20...','split','<div\x20class=\x22alias-entry\x22>','#licenceWidget','val','#node-config-input-userIdentityType','1002185xHgMrc','addClass','floor','#node-config-input-useTransport','licence-widget-details','\x20hours','6214159qkcfZh','#node-input-certificate','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.̀','apply','type',':checked','registerType','name','#node-config-input-endpoint','publishingEnabled','match','#section-TransportSettings','catch','.red-ui-editableList-item-remove','#node-input-sendBufferSize','alias','join','node-input-alias-namespace-uri','25%','Default\x20Subscription','#node-config-input-userCertificate','#toggleAdvancedSection','Freeware\x20licence\x20expired','Subscribe','</p>','20px','length','<span>','licenceInfo','btn\x20btn-primary','\x0aIt\x20will\x20expire\x20','namespaceUri','TRIAL','isDefault','attr','opcua\x20endpoint','result','json','extra','<a\x20href=\x22mailto:support@sterfive.com\x22\x20subject=\x22@opcua/for-node-red\x20support\x20request\x22>mailto:support@sterfive.com</a>','tabs','#section-Advanced','#node-config-input-userName','#goto-config','<br>','message','None','replace','resize','true','2485536muCjFb','checked','auto','70%','#node-config-endpoint-tabs-content','18RbOTcM','http://opcfoundation.org/DI/','html','invalid\x20userIdentityType\x20','/opcua-for-node-red/config','Namespace\x20Aliases','suppressed','baseUrl','removeClass','4tFJtwr','260px','empty','#node-input-useTransport','licence-widget-icon','nodes','#node-config-input-name','publishable-key','securityMode','.\x0aBuy\x20online\x20and\x20visit\x20','removeAttr','log','Fast\x20Subscription','pricing-table-id','hide','addItem','connection','#subscriptions-container','Anonymous','maxNotificationsPerPublish','internal\x20error\x20','-failure','<iframe></iframe>','PROFESSIONAL','.input-priority','userIdentityType','each','Certificate','change','isArray','2264056LHrBXh','stringify','value','map','priority','http://opcfoundation.org/UA/','<input/>','#node-input-receiveBufferSize','Your\x20licence\x20has\x20expired\x20-\x20Freeware\x20mode\x20activated','parameters','head','done','licence-widget-','150px','expiryDate','3954YFfwEI','30px','740694tdFFEv','00000000-0000-0000-0000-000000000000','SuppressedError','subscribe-button','\x20-\x20','/opcua-for-node-red','Freeware\x20:\x20(Trial\x20licence\x20expired)','/opcua-for-node-red/support-frame.html','element','status','.subscription-id','getTime','https://js.stripe.com/v3/pricing-table.js','node-input-alias-alias','subscriptions','.input-maxNotificationsPerPublish','.section-userIdentityType-Certificate','tomorrow','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.','pk_live_51HsE1sBCNccbzsVzt7zaq2uv20pkryWllAzvZgZd5AhwFI9A3qBIeOJvJwQF08lDoLpFqLjwmyA79wnPnYLsvKjt009f00VpCW','.section-userIdentityType-UserName','typedInput','#node-config-input-securityPolicy','height:\x20100%;max-height:\x20100%;','#subscription-template','/opcua-for-node-red/test-connection','.input-name','then','assign','show','#checkCertificate','fetching\x20failed\x20with\x20error','#node-config-input-password','/opcua-for-node-red/client_certificate.json','src','\x20to\x20acquire\x20a\x20license.','_blank','today','requestedMaxKeepAliveCount','Subscriptions','#node-input-maxChunkCount','invalid\x20securityMode\x20','OpcUa-Endpoint2','editableList','toString','template','.red-ui-tray-body','4463570otWnlR','POST','find','createElement','/opcua-for-node-red/extract-namespace-aliases','.node-input-alias-alias','fa\x20fa-check-circle','FREEWARE','style','appendTo','Trial\x20licence','.input-requestedPublishingInterval','Your\x20trial\x20license\x20has\x20expired.\x0aPlease\x20visit\x20','EXPIRED','endpoint-tab-subscriptions','Connection','throw','onPremiseServerHost','#node-config-input-securityMode','#editable-list-aliases-container','Your\x20freeware\x20license\x20has\x20expired.\x0a','application/json','click','Slow\x20Subscription','#extract-aliases','absolute'];_0xc1de=function(){return _0x21a873;};return _0xc1de();}function _0x5889(_0x56fbcf,_0x25e2bf){const _0xc1de5e=_0xc1de();return _0x5889=function(_0x58898b,_0x1fb353){_0x58898b=_0x58898b-0x19f;let _0x1835aa=_0xc1de5e[_0x58898b];return _0x1835aa;},_0x5889(_0x56fbcf,_0x25e2bf);}(function(_0x32505b,_0x43edcc){const _0x179b30=_0x5889,_0x3a801d=_0x32505b();while(!![]){try{const _0x8b8539=-parseInt(_0x179b30(0x1e9))/0x1+-parseInt(_0x179b30(0x248))/0x2*(-parseInt(_0x179b30(0x1e7))/0x3)+parseInt(_0x179b30(0x1ba))/0x4*(parseInt(_0x179b30(0x261))/0x5)+parseInt(_0x179b30(0x1ac))/0x6+-parseInt(_0x179b30(0x267))/0x7+parseInt(_0x179b30(0x1d8))/0x8+parseInt(_0x179b30(0x1b1))/0x9*(parseInt(_0x179b30(0x218))/0xa);if(_0x8b8539===_0x43edcc)break;else _0x3a801d['push'](_0x3a801d['shift']());}catch(_0xd58191){_0x3a801d['push'](_0x3a801d['shift']());}}}(_0xc1de,0x7c2c9),(function(){'use strict';const _0x155138=_0x5889;function _0x437918(_0x463c21,_0x53ceb8,_0x438090,_0x2085e8){function _0x3c4133(_0x87867a){return _0x87867a instanceof _0x438090?_0x87867a:new _0x438090(function(_0x19ef78){_0x19ef78(_0x87867a);});}return new(_0x438090||(_0x438090=Promise))(function(_0x5786a1,_0x1aef24){const _0x3d3ee7=_0x5889;function _0x391c0c(_0x295a39){const _0x1fedfc=_0x5889;try{_0x3fb9c1(_0x2085e8[_0x1fedfc(0x241)](_0x295a39));}catch(_0x2b1638){_0x1aef24(_0x2b1638);}}function _0x3f26d6(_0x4b306f){const _0x13f755=_0x5889;try{_0x3fb9c1(_0x2085e8[_0x13f755(0x228)](_0x4b306f));}catch(_0x3d41f1){_0x1aef24(_0x3d41f1);}}function _0x3fb9c1(_0x58025d){const _0x4337f9=_0x5889;_0x58025d[_0x4337f9(0x1e3)]?_0x5786a1(_0x58025d['value']):_0x3c4133(_0x58025d[_0x4337f9(0x1da)])[_0x4337f9(0x204)](_0x391c0c,_0x3f26d6);}_0x3fb9c1((_0x2085e8=_0x2085e8[_0x3d3ee7(0x26a)](_0x463c21,_0x53ceb8||[]))[_0x3d3ee7(0x241)]());});}typeof SuppressedError===_0x155138(0x236)?SuppressedError:function(_0x34f43d,_0x3bb0f8,_0x4e6a81){const _0x37bd36=_0x155138;var _0xba265d=new Error(_0x4e6a81);return _0xba265d[_0x37bd36(0x26e)]=_0x37bd36(0x1eb),_0xba265d['error']=_0x34f43d,_0xba265d[_0x37bd36(0x1b7)]=_0x3bb0f8,_0xba265d;};function _0x760a8a(_0x11f978,_0x5a1fd2,_0x4749f8,_0x5ef591){const _0x39ec66=_0x155138,_0x577a02=$('#'+_0x11f978+'-success'),_0x1f9914=$('#'+_0x11f978+_0x39ec66(0x1cf)),_0x291e34=$('#'+_0x11f978+_0x39ec66(0x239)),_0x4283f0=$('#'+_0x11f978+_0x39ec66(0x258));let _0x109b8a=![];_0x577a02['hide'](),_0x1f9914[_0x39ec66(0x1c8)](),_0x291e34['hide'](),_0x5a1fd2['on'](_0x39ec66(0x22e),()=>{const _0x8cf243=_0x39ec66;if(_0x109b8a)return;_0x109b8a=!![],_0x291e34['removeClass'](_0x8cf243(0x1c8)),_0x291e34[_0x8cf243(0x1b3)](_0x8cf243(0x25b)),_0x577a02[_0x8cf243(0x262)](_0x8cf243(0x1c8)),_0x1f9914['addClass'](_0x8cf243(0x1c8)),_0x4283f0[_0x8cf243(0x1b3)]('');const {body:_0x2ecbab,url:_0x4d0783}=_0x4749f8();fetch(_0x4d0783,{'method':'POST','headers':{'Content-Type':_0x8cf243(0x22d)},'body':JSON[_0x8cf243(0x1d9)](_0x2ecbab)})['then'](_0x519e0a=>_0x519e0a[_0x8cf243(0x19f)]())[_0x8cf243(0x204)](_0xb87244=>{const _0x4936f4=_0x8cf243;_0x109b8a=![],_0x291e34[_0x4936f4(0x1c8)](),console[_0x4936f4(0x1c5)](JSON[_0x4936f4(0x1d9)](_0xb87244,null,'\x20'));if(_0xb87244[_0x4936f4(0x28b)]==='ok')_0x577a02['removeClass'](_0x4936f4(0x1c8)),_0x1f9914[_0x4936f4(0x262)]('hide'),_0x4283f0[_0x4936f4(0x1b3)](_0xb87244['message'][_0x4936f4(0x1a9)]('\x0a',_0x4936f4(0x1a6)));else{const _0x158dd6=_0x2a117d=>!_0x2a117d?'':_0x2a117d[_0x4936f4(0x25c)]('\x0a')[_0x4936f4(0x1db)](_0x5b5cad=>_0x4936f4(0x23c)+_0x5b5cad+_0x4936f4(0x27f))['join']('\x0a'),_0x205874=_0x2fcc77=>Array[_0x4936f4(0x1d7)](_0x2fcc77)?_0x2fcc77[_0x4936f4(0x1db)](_0x158dd6)[_0x4936f4(0x277)]('\x0a'):_0x158dd6(_0x2fcc77);_0x577a02['addClass'](_0x4936f4(0x1c8)),_0x1f9914[_0x4936f4(0x1b9)](_0x4936f4(0x1c8)),_0x4283f0[_0x4936f4(0x1b3)](_0x205874(_0xb87244[_0x4936f4(0x1a7)])+_0x205874(_0xb87244[_0x4936f4(0x1a0)])),_0x5ef591(new Error(_0xb87244[_0x4936f4(0x28b)]),_0xb87244);}})[_0x8cf243(0x273)](_0x60ee71=>{const _0x2e999f=_0x8cf243;_0x109b8a=![],_0x291e34['addClass']('hide'),_0x577a02[_0x2e999f(0x262)](_0x2e999f(0x1c8)),_0x1f9914[_0x2e999f(0x1b9)](_0x2e999f(0x1c8)),_0x4283f0[_0x2e999f(0x1b3)](_0x2e999f(0x1ce)+_0x60ee71[_0x2e999f(0x1a7)]),console[_0x2e999f(0x1c5)]('err',_0x60ee71);});});}var _0x1a3363;(function(_0x18384e){const _0x40ff11=_0x155138;_0x18384e[_0x18384e[_0x40ff11(0x21f)]=0x0]=_0x40ff11(0x21f),_0x18384e[_0x18384e[_0x40ff11(0x287)]=0x1]=_0x40ff11(0x287),_0x18384e[_0x18384e[_0x40ff11(0x1d1)]=0x2]=_0x40ff11(0x1d1);}(_0x1a3363||(_0x1a3363={})));var _0x419291;(function(_0x38b4b5){const _0x22e286=_0x155138;_0x38b4b5[_0x38b4b5[_0x22e286(0x245)]=0x18]=_0x22e286(0x245),_0x38b4b5[_0x38b4b5[_0x22e286(0x237)]=0x17]=_0x22e286(0x237),_0x38b4b5[_0x38b4b5[_0x22e286(0x225)]=0x16]=_0x22e286(0x225);}(_0x419291||(_0x419291={})));function _0x1fa39d(_0x50382b,_0x288b2d){const _0x5ba610=_0x155138;if(_0x288b2d!==_0x419291[_0x5ba610(0x245)])return _0x1a3363[_0x5ba610(0x21f)];return _0x50382b;}const _0x62b844=0xe10*0x3e8,_0xc75fbe=_0x62b844*0x18;function _0x501627(_0x24cc4c){const _0x5cbefe=_0x155138;return!_0x24cc4c?new Date(0x0):_0x24cc4c instanceof Date?_0x24cc4c:new Date(_0x24cc4c[_0x5cbefe(0x283)]?_0x24cc4c[_0x5cbefe(0x283)][_0x5cbefe(0x1e6)]:0x0);}function _0x20d936(_0x40a463){const _0xdb2d6e=_0x155138,_0x397e45=_0x501627(_0x40a463),_0x494585=new Date(),_0x56b7d2=Math[_0xdb2d6e(0x263)]((_0x397e45[_0xdb2d6e(0x1f4)]()-_0x494585[_0xdb2d6e(0x1f4)]())/_0xc75fbe);return _0x56b7d2;}function _0x230175(_0x43c84a){const _0x1dd229=_0x155138,_0x1e4061=_0x501627(_0x43c84a),_0x5bdfe5=new Date(),_0x40ae7e=Math[_0x1dd229(0x263)]((_0x1e4061['getTime']()-_0x5bdfe5[_0x1dd229(0x1f4)]())/_0x62b844);return _0x40ae7e;}const _0x187761=_0x155138(0x24a),_0x2bd274=_0x155138(0x1fc);function _0x1c3e0c(){return _0x437918(this,arguments,void 0x0,function*(_0x3b2a53=''){const _0x3b442f=_0x5889,_0x3a9817=_0x3b2a53+_0x3b442f(0x1ee),_0x3cbfc6=_0x3a9817+'/licenceInfo',_0x5cacac=yield fetch(_0x3cbfc6,{'method':_0x3b442f(0x219),'headers':{'Content-Type':'application/json'}}),_0x527cb5=new Date()[_0x3b442f(0x233)](),_0x1fef9b={'status':'FAILED','type':_0x3b442f(0x21f),'licenceInfo':{'licenceId':_0x3b442f(0x1ea),'licenceType':'<unknown>','expiryDate':_0x527cb5,'onPremiseServerHost':'','expired':!![],'userCompany':'','userEmail':'','userName':''}};if(_0x5cacac['status']!==0xc8)return console[_0x3b442f(0x1c5)](_0x3b442f(0x208),_0x5cacac[_0x3b442f(0x1f2)],_0x5cacac['statusText']),_0x1fef9b;const _0x409da1=yield _0x5cacac[_0x3b442f(0x19f)]();return _0x409da1;});}const _0x525bdf=()=>{const _0x1e802b=_0x155138;$[_0x1e802b(0x254)](_0x1e802b(0x251),{'options':{'baseUrl':''},'_create'(){const _0x1f2029=_0x1e802b,_0x222a92=this,_0x3abf27=_0x1f2029(0x1a1),_0x32eb0e=_0x1f2029(0x24f);_0x1c3e0c(_0x222a92[_0x1f2029(0x1b8)])[_0x1f2029(0x204)](_0x2b369d=>{const _0x15f939=_0x1f2029;var _0x438e03,_0x5be0b0;let _0x232442='',_0x5ce078='',_0x366fcc='';const _0x39f394=_0x1a3363[_0x2b369d[_0x15f939(0x26b)]],_0x4251ec=_0x419291[_0x2b369d[_0x15f939(0x1f2)]],_0x3606ab=_0x1fa39d(_0x39f394,_0x4251ec),_0x4c3b45=_0x20d936(((_0x438e03=_0x2b369d[_0x15f939(0x283)])===null||_0x438e03===void 0x0?void 0x0:_0x438e03[_0x15f939(0x1e6)])?new Date(_0x2b369d[_0x15f939(0x283)]['expiryDate']):undefined),_0x4b4d9f=_0x230175(((_0x5be0b0=_0x2b369d[_0x15f939(0x283)])===null||_0x5be0b0===void 0x0?void 0x0:_0x5be0b0[_0x15f939(0x1e6)])?new Date(_0x2b369d[_0x15f939(0x283)][_0x15f939(0x1e6)]):undefined),_0x416b73=_0x4c3b45==0x0?_0x4b4d9f>0xa?_0x15f939(0x20e):'in\x20'+_0x4b4d9f+_0x15f939(0x266):_0x4c3b45==0x1?_0x15f939(0x1fa):_0x15f939(0x249)+_0x4c3b45+'\x20days';switch(_0x4251ec){case _0x419291[_0x15f939(0x245)]:_0x232442=_0x15f939(0x21e);switch(_0x3606ab){case _0x1a3363['TRIAL']:{_0x5ce078=_0x15f939(0x222),_0x366fcc='The\x20Trial\x20will\x20expire\x20'+_0x416b73+_0x15f939(0x1c3)+_0x32eb0e+_0x15f939(0x20c);break;}case _0x1a3363[_0x15f939(0x1d1)]:_0x5ce078='Your\x20licence\x20is\x20valid.';_0x4c3b45<0x5a&&_0x4c3b45>=0x0&&(_0x5ce078+=_0x15f939(0x285)+_0x416b73+'.');_0x366fcc=_0x2b369d[_0x15f939(0x283)]['licenceType']+_0x15f939(0x1ed)+(_0x2b369d[_0x15f939(0x283)][_0x15f939(0x229)]||'');break;case _0x1a3363[_0x15f939(0x21f)]:_0x5ce078='Freeware\x20licence',_0x366fcc=_0x15f939(0x252)+_0x32eb0e+_0x15f939(0x244);break;}break;case _0x419291[_0x15f939(0x225)]:_0x232442='fa\x20fa-calendar-time';switch(_0x39f394){case _0x1a3363['TRIAL']:_0x5ce078=_0x15f939(0x1ef),_0x366fcc=_0x15f939(0x224)+_0x32eb0e+'\x20to\x20acquire\x20a\x20license.';break;case _0x1a3363[_0x15f939(0x21f)]:_0x5ce078=_0x15f939(0x27d),_0x366fcc=_0x15f939(0x22c)+_0x32eb0e+_0x15f939(0x244);break;case _0x1a3363[_0x15f939(0x1d1)]:default:_0x5ce078=_0x15f939(0x1e0),_0x366fcc='Your\x20license\x20has\x20expired.\x0aPlease\x20contact\x20our\x20\x20'+_0x3abf27+_0x15f939(0x1fb);}break;case _0x419291[_0x15f939(0x237)]:default:_0x232442='fa\x20fa-exclamation-circle',_0x5ce078='Your\x20license\x20is\x20currently\x20invalid.',_0x366fcc='Please\x20contact\x20'+_0x3abf27+_0x15f939(0x269);break;}this[_0x15f939(0x1f1)][_0x15f939(0x262)]('licence-widget'),this[_0x15f939(0x1f1)]['addClass'](_0x15f939(0x1e4)+_0x4251ec),this['element'][_0x15f939(0x247)]($(_0x15f939(0x282))[_0x15f939(0x262)](_0x15f939(0x1be))[_0x15f939(0x247)]($(_0x15f939(0x235))[_0x15f939(0x262)](_0x232442))),this['element'][_0x15f939(0x247)]($(_0x15f939(0x282))[_0x15f939(0x262)]('licence-widget-msg')[_0x15f939(0x246)](_0x5ce078)),this['element'][_0x15f939(0x247)]($(_0x15f939(0x1a6))),this[_0x15f939(0x1f1)]['append']($(_0x15f939(0x282))[_0x15f939(0x262)](_0x15f939(0x265))[_0x15f939(0x247)](_0x366fcc));if(_0x4251ec===_0x419291[_0x15f939(0x225)]||_0x4251ec===_0x419291[_0x15f939(0x237)]||_0x3606ab===_0x1a3363[_0x15f939(0x21f)]||_0x3606ab===_0x1a3363[_0x15f939(0x287)]){this['element']['append']($('<br>'));const _0x1886c1=$('<button/>');_0x1886c1[_0x15f939(0x289)]('id',_0x15f939(0x1ec)),_0x1886c1[_0x15f939(0x289)](_0x15f939(0x23a),_0x15f939(0x284)),_0x1886c1['attr'](_0x15f939(0x220),'margin-top:\x2020px;'),_0x1886c1[_0x15f939(0x246)](_0x15f939(0x27e)),this[_0x15f939(0x1f1)][_0x15f939(0x247)](_0x1886c1);const _0x2991af=document[_0x15f939(0x21b)]('script');_0x2991af[_0x15f939(0x20b)]=_0x15f939(0x1f5),_0x2991af['async']=!![],$(_0x15f939(0x1e2))[_0x15f939(0x247)](_0x2991af);const _0x2b0fc5=$(_0x15f939(0x23f));_0x2b0fc5[_0x15f939(0x289)](_0x15f939(0x1c7),_0x187761),_0x2b0fc5[_0x15f939(0x289)](_0x15f939(0x1c1),_0x2bd274),_0x2b0fc5[_0x15f939(0x289)](_0x15f939(0x220),_0x15f939(0x200)),_0x2b0fc5[_0x15f939(0x1c8)](),this['element']['append'](_0x2b0fc5),_0x1886c1['on'](_0x15f939(0x22e),()=>{const _0x3d5049=_0x15f939;_0x2b0fc5[_0x3d5049(0x206)](),_0x1886c1['hide'](),this[_0x3d5049(0x1f1)]['attr']('style','height:\x20100%\x20!important;');});}})[_0x1f2029(0x273)](_0x4027e4=>{const _0x21aa4a=_0x1f2029;console[_0x21aa4a(0x1c5)](_0x4027e4);});}});},_0x915381=()=>{const _0x57616a=_0x155138,_0x1476c3=$(_0x57616a(0x217));if(_0x1476c3[_0x57616a(0x281)]){const _0x271365=$(_0x57616a(0x1d0),{'src':_0x57616a(0x1f0),'scrolling':'no','style':_0x57616a(0x253),'allowtransparency':_0x57616a(0x1ab),'width':'180px','height':_0x57616a(0x1e8)});_0x1476c3['append'](_0x271365),_0x271365[_0x57616a(0x259)]({'position':_0x57616a(0x231),'right':_0x57616a(0x280),'bottom':'16px'});}};_0x525bdf();function _0x342316(_0x52f233){const _0x271763=_0x155138;let _0x209cb5;try{_0x209cb5=new URL(_0x52f233);}catch(_0x5eba4c){return![];}return _0x209cb5[_0x271763(0x24d)]==='opc.tcp:';}const _0x511b7c={'publishingEnabled':!![],'requestedLifetimeCount':0x3e8,'requestedMaxKeepAliveCount':0xa,'requestedPublishingInterval':0x3e8,'maxNotificationsPerPublish':0x0,'priority':0x64};RED[_0x155138(0x1bf)][_0x155138(0x26d)](_0x155138(0x213),{'category':_0x155138(0x240),'paletteLabel':_0x155138(0x28a),'defaults':{'name':{'value':''},'endpoint':{'value':'opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer','required':!![],'validate':_0x342316},'securityMode':{'value':'None'},'securityPolicy':{'value':'None','validate':_0x5cd418=>{if(!_0x5cd418)return![];return!![];}},'userIdentityType':{'value':_0x155138(0x1cc)},'pkiName':{'value':'','validate':_0x15913f=>!_0x15913f||_0x15913f[_0x155138(0x271)](/[0-9a-zA-Z]*/)?!![]:![]},'useTransport':{'value':![],'required':![]},'maxChunkCount':{'value':0x1,'required':![]},'maxMessageSize':{'value':0x2000,'required':![]},'receiveBufferSize':{'value':0x2000,'required':![]},'sendBufferSize':{'value':0x2000,'required':![]},'subscriptions':{'value':[{'id':'s1','name':_0x155138(0x27a),'isDefault':!![],'parameters':Object[_0x155138(0x205)]({},_0x511b7c)},{'id':'s2','name':_0x155138(0x22f),'isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0x64,'requestedMaxKeepAliveCount':0x3,'requestedPublishingInterval':0x1388,'maxNotificationsPerPublish':0x64,'priority':0xa}},{'id':'s3','name':_0x155138(0x1c6),'isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0xfa0,'requestedMaxKeepAliveCount':0x32,'requestedPublishingInterval':0xfa,'maxNotificationsPerPublish':0x64,'priority':0xc8}}],'required':![]},'namespaceAliases':{'value':[{'alias':'ua','namespaceUri':_0x155138(0x1dd),'isWellKnown':!![],'isDefault':!![]},{'alias':'di','namespaceUri':_0x155138(0x1b2),'isWellKnown':!![],'isDefault':!![]}],'required':![]}},'credentials':{'userName':{'type':_0x155138(0x246)},'password':{'type':_0x155138(0x234)},'userCertificate':{'type':_0x155138(0x246)},'userPrivatekey':{'type':_0x155138(0x234)}},'label':function(){const _0x153a09=_0x155138;return this[_0x153a09(0x26e)]||this[_0x153a09(0x238)]||'invalid\x20endpoint';},'oneditsave'(){const _0x2c418f=_0x155138,_0x19a5dc=$(_0x2c418f(0x1ff)),_0x315c32=$(_0x2c418f(0x22a));_0x19a5dc['val']()===_0x2c418f(0x1a8)&&_0x315c32[_0x2c418f(0x246)](_0x2c418f(0x1a8));{const _0x598649=$(_0x2c418f(0x1cb))[_0x2c418f(0x214)](_0x2c418f(0x257)),_0x444c43=[],_0x35d473=_0x2362e4=>_0x2362e4;_0x598649[_0x2c418f(0x1d4)](function(_0x154448,_0x532c97){const _0x1d6d8f=_0x2c418f,_0x4185d3=$(this),_0x2dc129={'id':'s'+_0x154448,'name':_0x4185d3[_0x1d6d8f(0x21a)](_0x1d6d8f(0x203))[_0x1d6d8f(0x25f)](),'isDefault':!!_0x4185d3['find'](_0x1d6d8f(0x242))[_0x1d6d8f(0x25f)](),'parameters':{'publishingEnabled':!!_0x4185d3[_0x1d6d8f(0x21a)](_0x1d6d8f(0x23d))['is'](_0x1d6d8f(0x26c)),'requestedLifetimeCount':_0x35d473(_0x4185d3[_0x1d6d8f(0x21a)]('.input-requestedLifetimeCount')[_0x1d6d8f(0x25f)]()),'requestedMaxKeepAliveCount':_0x35d473(_0x4185d3[_0x1d6d8f(0x21a)]('.input-requestedMaxKeepAliveCount')['val']()),'requestedPublishingInterval':_0x35d473(_0x4185d3[_0x1d6d8f(0x21a)]('.input-requestedPublishingInterval')[_0x1d6d8f(0x25f)]()),'maxNotificationsPerPublish':_0x35d473(_0x4185d3[_0x1d6d8f(0x21a)](_0x1d6d8f(0x1f8))[_0x1d6d8f(0x25f)]()),'priority':_0x35d473(_0x4185d3[_0x1d6d8f(0x21a)](_0x1d6d8f(0x1d2))[_0x1d6d8f(0x25f)]())}};_0x2dc129[_0x1d6d8f(0x1e1)][_0x1d6d8f(0x270)]=!![],_0x2dc129[_0x1d6d8f(0x288)]&&_0x2dc129['id']==='s0'&&(_0x2dc129[_0x1d6d8f(0x26e)]=_0x1d6d8f(0x27a)),_0x444c43['push'](_0x2dc129);}),this[_0x2c418f(0x1f7)]=_0x444c43;}{const _0xd30750=$(_0x2c418f(0x22b))['editableList']('items'),_0x1ef48e=[];_0xd30750[_0x2c418f(0x1d4)](function(_0x10877b,_0x4874de){const _0xf03032=_0x2c418f,_0x188765=$(this),_0xb72b82={'namespaceUri':_0x188765[_0xf03032(0x21a)](_0xf03032(0x255))['val'](),'alias':_0x188765[_0xf03032(0x21a)](_0xf03032(0x21d))[_0xf03032(0x25f)]()};_0x1ef48e['push'](_0xb72b82);}),this['namespaceAliases']=_0x1ef48e;}},'oneditprepare'(){const _0x2dc608=_0x155138,_0x142332=this;_0x915381();const _0x52ef76=RED[_0x2dc608(0x1a2)]['create']({'id':'node-config-endpoint-tabs','onchange':function(_0x49ea16){const _0x596235=_0x2dc608;$(_0x596235(0x1b0))['children']()[_0x596235(0x1c8)](),$('#'+_0x49ea16['id'])[_0x596235(0x206)]();}});_0x52ef76['addTab']({'id':'endpoint-tab-connection','label':_0x2dc608(0x227)},0x0),_0x52ef76['addTab']({'id':_0x2dc608(0x226),'label':_0x2dc608(0x210)},0x1),_0x52ef76['addTab']({'id':_0x2dc608(0x24b),'label':_0x2dc608(0x1b6)},0x2),setTimeout(function(){const _0x479115=_0x2dc608;_0x52ef76[_0x479115(0x1aa)]();},0x0);{const _0x27ac3c=_0x59d73c=>{const _0xd98c0b=_0x2dc608;switch(_0x59d73c){case null:case undefined:case'':case'None':$(_0xd98c0b(0x24c))[_0xd98c0b(0x1c8)]();break;case'Sign':case'SignAndEncrypt':{const _0x49d0e7=$(_0xd98c0b(0x24c));(_0x49d0e7[_0xd98c0b(0x25f)]()===_0xd98c0b(0x1a8)||_0x49d0e7[_0xd98c0b(0x25f)]()==='')&&_0x49d0e7['val'](_0xd98c0b(0x25a)),$(_0xd98c0b(0x24c))[_0xd98c0b(0x206)]();}break;default:console[_0xd98c0b(0x1c5)](_0xd98c0b(0x212)+_0x59d73c);}};_0x27ac3c(_0x142332[_0x2dc608(0x1c2)]);const _0x3b7292=$(_0x2dc608(0x22a));_0x3b7292['on'](_0x2dc608(0x1d6),()=>{const _0x1a0050=_0x2dc608,_0x119763=_0x3b7292[_0x1a0050(0x25f)]();_0x27ac3c(_0x119763);});}const _0x392fc7=$(_0x2dc608(0x25e));_0x392fc7[_0x2dc608(0x23e)]({'baseUrl':''});{const _0x3e6c85=$(_0x2dc608(0x1fd)),_0x40d1a4=$(_0x2dc608(0x1f9)),_0x4abcd3=_0x4f3ec8=>{const _0x348094=_0x2dc608;_0x4f3ec8=_0x4f3ec8||_0x348094(0x1cc);switch(_0x4f3ec8){case _0x348094(0x1cc):$(_0x348094(0x1a4))[_0x348094(0x25f)](''),$(_0x348094(0x209))[_0x348094(0x25f)](''),_0x3e6c85[_0x348094(0x1c8)](),_0x40d1a4[_0x348094(0x1c8)]();break;case'UserName':_0x3e6c85[_0x348094(0x206)](),_0x40d1a4[_0x348094(0x1c8)]();break;case _0x348094(0x1d5):$('#node-config-input-userName')['val'](''),$(_0x348094(0x209))['val'](''),_0x40d1a4[_0x348094(0x206)](),_0x3e6c85[_0x348094(0x1c8)]();break;default:console[_0x348094(0x1c5)](_0x348094(0x1b4)+_0x4f3ec8);}};_0x4abcd3(_0x142332[_0x2dc608(0x1d3)]);const _0x5100e4=$(_0x2dc608(0x260));_0x5100e4['on'](_0x2dc608(0x1d6),()=>{const _0x60753b=_0x2dc608,_0x2801fc=_0x5100e4[_0x60753b(0x25f)]();_0x4abcd3(_0x2801fc);});}{$(_0x2dc608(0x1a3))[_0x2dc608(0x1c8)](),$(_0x2dc608(0x27c))[_0x2dc608(0x250)](_0x2dc608(0x1ad),![]),$(_0x2dc608(0x27c))['on']('change',function(){const _0x21e708=_0x2dc608;$(this)[_0x21e708(0x250)]('checked')?$(_0x21e708(0x1a3))['show']():$(_0x21e708(0x1a3))['hide']();});}const _0x31333d=$(_0x2dc608(0x264))[_0x2dc608(0x250)](_0x2dc608(0x1ad));_0x31333d?$(_0x2dc608(0x272))[_0x2dc608(0x206)]():$('#section-TransportSettings')[_0x2dc608(0x1c8)]();$(_0x2dc608(0x264))['on'](_0x2dc608(0x1d6),function(){const _0x159ada=_0x2dc608;$(this)[_0x159ada(0x250)](_0x159ada(0x1ad))?$('#section-TransportSettings')[_0x159ada(0x206)]():$(_0x159ada(0x272))[_0x159ada(0x1c8)]();});{$(_0x2dc608(0x207))['on'](_0x2dc608(0x22e),()=>_0x437918(this,void 0x0,void 0x0,function*(){const _0xc0d3e6=_0x2dc608,_0x2f83d5=yield fetch(_0xc0d3e6(0x20a)),_0x571c8e=yield _0x2f83d5[_0xc0d3e6(0x19f)](),_0x10189d=JSON[_0xc0d3e6(0x1d9)](_0x571c8e,null,'\x20');alert(_0x10189d);}));}$(_0x2dc608(0x1a5))['on'](_0x2dc608(0x22e),()=>_0x437918(this,void 0x0,void 0x0,function*(){const _0x5709ac=_0x2dc608;window['open'](_0x5709ac(0x1b5),_0x5709ac(0x20d));}));function _0x323e0c(){const _0x1fd6b4=_0x2dc608;var _0x1833b1;return{'id':_0x142332['id'],'endpoint':$(_0x1fd6b4(0x26f))[_0x1fd6b4(0x25f)](),'name':$(_0x1fd6b4(0x1c0))[_0x1fd6b4(0x25f)](),'pkiName':(_0x1833b1=$('#node-config-input-pkiName'))===null||_0x1833b1===void 0x0?void 0x0:_0x1833b1[_0x1fd6b4(0x25f)](),'securityMode':$(_0x1fd6b4(0x22a))['val'](),'securityPolicy':$(_0x1fd6b4(0x1ff))[_0x1fd6b4(0x25f)](),'userIdentityType':$('#node-config-input-userIdentityType')[_0x1fd6b4(0x25f)](),'userName':$(_0x1fd6b4(0x1a4))[_0x1fd6b4(0x25f)](),'password':$('#node-config-input-password')[_0x1fd6b4(0x25f)](),'userCertificate':$(_0x1fd6b4(0x27b))[_0x1fd6b4(0x25f)](),'userPrivatekey':$(_0x1fd6b4(0x243))[_0x1fd6b4(0x25f)](),'certificate':$(_0x1fd6b4(0x268))[_0x1fd6b4(0x25f)](),'useTransport':$(_0x1fd6b4(0x1bd))[_0x1fd6b4(0x250)](_0x1fd6b4(0x1ad)),'maxChunkCount':$(_0x1fd6b4(0x211))[_0x1fd6b4(0x25f)](),'maxMessageSize':$('#node-input-maxMessageSize')[_0x1fd6b4(0x25f)](),'receiveBufferSize':$(_0x1fd6b4(0x1df))[_0x1fd6b4(0x25f)](),'sendBufferSize':$(_0x1fd6b4(0x275))['val']()};}{_0x760a8a(_0x2dc608(0x1ca),$('#test-connection'),()=>({'url':_0x2dc608(0x202),'body':{'endpointNode':_0x323e0c()}}),()=>{});}{const _0x4e1641=(_0x17dda0,_0x3cbbdf)=>{const _0x1c2c47=_0x2dc608;var _0x1a35fd=_0x17dda0['width']()||0x64;_0x17dda0['find']('label')[_0x1c2c47(0x1fe)]('width',_0x1a35fd-0xf);},_0x422363=$('#subscriptions-container')[_0x2dc608(0x259)]({'min-height':_0x2dc608(0x1e5),'min-width':_0x2dc608(0x1bb)})[_0x2dc608(0x214)]({'addItem':(_0x45d276,_0x3f5043,_0x313e8c)=>{const _0x29421c=_0x2dc608,_0x50ea49=_0x313e8c,_0x496da5=$(_0x29421c(0x201))['clone']()['appendTo'](_0x45d276);_0x496da5[_0x29421c(0x1c4)]('id')['removeClass'](_0x29421c(0x1c8))[_0x29421c(0x1b9)](_0x29421c(0x216))[_0x29421c(0x289)]('data-i',_0x3f5043),_0x496da5[_0x29421c(0x21a)]('.input-name')[_0x29421c(0x25f)](_0x50ea49[_0x29421c(0x26e)]),_0x496da5[_0x29421c(0x21a)](_0x29421c(0x223))[_0x29421c(0x25f)](_0x50ea49[_0x29421c(0x1e1)]['requestedPublishingInterval']),_0x496da5[_0x29421c(0x21a)](_0x29421c(0x232))[_0x29421c(0x25f)](_0x50ea49['parameters'][_0x29421c(0x20f)]),_0x496da5['find'](_0x29421c(0x24e))[_0x29421c(0x25f)](_0x50ea49[_0x29421c(0x1e1)]['requestedLifetimeCount']),_0x496da5['find']('.input-maxNotificationsPerPublish')['val'](_0x50ea49[_0x29421c(0x1e1)][_0x29421c(0x1cd)]||0x0),_0x496da5['find']('.input-priority')[_0x29421c(0x25f)](_0x50ea49['parameters'][_0x29421c(0x1dc)]||0x0),_0x496da5[_0x29421c(0x21a)](_0x29421c(0x1f3))[_0x29421c(0x246)](''+_0x3f5043),_0x50ea49[_0x29421c(0x288)]&&_0x496da5['find']('.input-name')[_0x29421c(0x250)](_0x29421c(0x23b),!![]),_0x496da5['find'](_0x29421c(0x242))[_0x29421c(0x250)]('checked',_0x50ea49[_0x29421c(0x288)]),_0x50ea49[_0x29421c(0x288)]&&(_0x45d276[_0x29421c(0x21a)](_0x29421c(0x274))[_0x29421c(0x262)]('hide'),setTimeout(()=>_0x496da5[_0x29421c(0x21a)](_0x29421c(0x242))[_0x29421c(0x250)]('disabled',!![]),0xa));},'removable':!![],'resizeItem':_0x4e1641}),_0x440636=()=>{const _0x3c7689=_0x2dc608,_0x3bb4e1=_0x142332[_0x3c7689(0x1f7)]||[];_0x3bb4e1['length']===0x0&&_0x3bb4e1['push']({'id':'s1','name':'Default\x20Subscription','isDefault':!![],'parameters':Object[_0x3c7689(0x205)]({},_0x511b7c)});_0x422363[_0x3c7689(0x214)]('empty');for(const _0x1c3f96 of _0x3bb4e1){_0x422363[_0x3c7689(0x214)](_0x3c7689(0x1c9),_0x1c3f96);}};_0x440636();}{function _0x40159b(_0x5b24c9,_0x5da6d2,_0x3fe549){const _0xe8cfd5=_0x2dc608,_0x259ec6=_0x3fe549,_0x10f64e=$(_0xe8cfd5(0x25d))[_0xe8cfd5(0x221)](_0x5b24c9);$(_0xe8cfd5(0x1de),{'class':'node-input-alias-index','type':_0xe8cfd5(0x246)})[_0xe8cfd5(0x25f)](_0x3fe549[_0xe8cfd5(0x276)]||'')[_0xe8cfd5(0x259)]({'width':'5%'})[_0xe8cfd5(0x221)](_0x10f64e)[_0xe8cfd5(0x25f)](_0x5da6d2[_0xe8cfd5(0x215)]()),$(_0xe8cfd5(0x1de),{'class':_0xe8cfd5(0x1f6),'type':'text'})[_0xe8cfd5(0x25f)](_0x3fe549[_0xe8cfd5(0x276)]||'')[_0xe8cfd5(0x259)]({'width':_0xe8cfd5(0x279)})[_0xe8cfd5(0x221)](_0x10f64e)[_0xe8cfd5(0x25f)](_0x259ec6[_0xe8cfd5(0x276)]),$(_0xe8cfd5(0x1de),{'class':_0xe8cfd5(0x278),'type':_0xe8cfd5(0x246)})[_0xe8cfd5(0x25f)](_0x3fe549[_0xe8cfd5(0x286)]||'')[_0xe8cfd5(0x259)]({'width':_0xe8cfd5(0x1af)})['appendTo'](_0x10f64e)[_0xe8cfd5(0x25f)](_0x259ec6[_0xe8cfd5(0x286)]);}const _0x4c32e7=$(_0x2dc608(0x22b))[_0x2dc608(0x259)]({'min-height':_0x2dc608(0x1e5),'min-width':'260px'})[_0x2dc608(0x214)]({'addButton':![],'removable':![],'height':_0x2dc608(0x1ae),'scrollOnAdd':![],'addItem'(_0x4075bd,_0x4b073b,_0x14f064){_0x40159b(_0x4075bd,_0x4b073b,_0x14f064);}});function _0x10ac81(){const _0x703716=_0x2dc608;_0x4c32e7[_0x703716(0x214)](_0x703716(0x257)),_0x4c32e7[_0x703716(0x214)](_0x703716(0x1bc));for(const _0x57c9a1 of _0x142332[_0x703716(0x256)]||[]){_0x4c32e7[_0x703716(0x214)]('addItem',_0x57c9a1);}}{$(_0x2dc608(0x230))['on'](_0x2dc608(0x22e),()=>_0x437918(this,void 0x0,void 0x0,function*(){const _0x1f14c6=_0x2dc608,_0x6300b1={'endpointNode':_0x323e0c(),'namespaceAliases':_0x142332[_0x1f14c6(0x256)]||[]},_0x539df4=yield fetch(_0x1f14c6(0x21c),{'method':'POST','headers':{'Content-Type':_0x1f14c6(0x22d)},'body':JSON[_0x1f14c6(0x1d9)](_0x6300b1)}),_0x37538b=yield _0x539df4[_0x1f14c6(0x19f)](),_0x41afae=_0x37538b[_0x1f14c6(0x256)];console[_0x1f14c6(0x1c5)](_0x1f14c6(0x256),_0x41afae),Array[_0x1f14c6(0x1d7)](_0x41afae)&&(_0x142332[_0x1f14c6(0x256)]=_0x41afae,_0x10ac81());})),_0x142332[_0x2dc608(0x256)]=_0x142332['namespaceAliases']||[{'alias':'ua','namespaceUri':_0x2dc608(0x1dd),'isWellKnown':!![],'isDefault':!![]}];}_0x10ac81();}}});}()));
8
8
  </script>
9
9
  <script type="text/x-red" data-template-name="OpcUa-Endpoint2">
10
10
  <div id="licenceWidget"></div>
@@ -1,115 +0,0 @@
1
- [
2
- {
3
- "id": "f7bedd7b98ba03b1",
4
- "type": "tab",
5
- "label": "OPCUA CoffeeMachine Example ",
6
- "disabled": false,
7
- "info": "",
8
- "env": []
9
- },
10
- {
11
- "id": "fa8beb6353889cf4",
12
- "type": "inject",
13
- "z": "f7bedd7b98ba03b1",
14
- "name": "inject path to CoffeeMachine",
15
- "props": [
16
- {
17
- "p": "nodeId",
18
- "v": "/2:DeviceSet/1:CoffeeMachine",
19
- "vt": "str"
20
- }
21
- ],
22
- "repeat": "",
23
- "crontab": "",
24
- "once": false,
25
- "onceDelay": 0.1,
26
- "topic": "",
27
- "x": 200,
28
- "y": 120,
29
- "wires": [
30
- [
31
- "17f4366b5c4476e7"
32
- ]
33
- ]
34
- },
35
- {
36
- "id": "17f4366b5c4476e7",
37
- "type": "OpcUa-Client2-Explore",
38
- "z": "f7bedd7b98ba03b1",
39
- "inputs": 1,
40
- "output": 4,
41
- "name": "",
42
- "endpoint": "c22bb208bf9b2236",
43
- "nodeId": "",
44
- "outputType": "Value",
45
- "x": 440,
46
- "y": 120,
47
- "wires": [
48
- [
49
- "c5ca5b7775b36081"
50
- ]
51
- ]
52
- },
53
- {
54
- "id": "c5ca5b7775b36081",
55
- "type": "debug",
56
- "z": "f7bedd7b98ba03b1",
57
- "name": "debug 6",
58
- "active": true,
59
- "tosidebar": true,
60
- "console": false,
61
- "tostatus": false,
62
- "complete": "false",
63
- "statusVal": "",
64
- "statusType": "auto",
65
- "x": 620,
66
- "y": 120,
67
- "wires": []
68
- },
69
- {
70
- "id": "d732a68c93b0642d",
71
- "type": "comment",
72
- "z": "f7bedd7b98ba03b1",
73
- "name": "using Explore node with @opcua/for-node-red",
74
- "info": "",
75
- "x": 250,
76
- "y": 60,
77
- "wires": []
78
- },
79
- {
80
- "id": "c22bb208bf9b2236",
81
- "type": "OpcUa-Endpoint2",
82
- "name": "",
83
- "endpoint": "opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer",
84
- "securityMode": "None",
85
- "securityPolicy": "None",
86
- "userIdentityType": "Anonymous",
87
- "userName": "",
88
- "password": "",
89
- "userCertificate": "",
90
- "userPrivatekey": "",
91
- "certificate": "n",
92
- "localfile": "",
93
- "localkeyfile": "",
94
- "useTransport": false,
95
- "maxChunkCount": "1",
96
- "maxMessageSize": "8192",
97
- "receiveBufferSize": "8192",
98
- "sendBufferSize": "8192",
99
- "subscriptions": [
100
- {
101
- "id": "s0",
102
- "name": "Default Subscription",
103
- "isDefault": true,
104
- "parameters": {
105
- "publishingEnabled": false,
106
- "requestedLifetimeCount": "100",
107
- "requestedMaxKeepAliveCount": "10",
108
- "requestedPublishingInterval": "1000",
109
- "maxNotificationsPerPublish": "0",
110
- "priority": "100"
111
- }
112
- }
113
- ]
114
- }
115
- ]
File without changes