@opcua/for-node-red 3.27.0 → 3.28.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.
@@ -46,51 +46,51 @@
46
46
 
47
47
  <style>
48
48
  #connection-messages {
49
- margin-top: 10px;
50
- margin-bottom: 10px;
51
- display: none;
52
- background-color: #fdfdfd;
53
- width: 100%;
54
- max-height: 200px;
55
- padding: 10px;
56
- box-sizing: border-box;
57
- border-radius: 6px;
58
- font-size: 0.8em;
59
- font-style: italic;
60
- font-family: "Courier New", Courier, monospace;
61
- white-space: nowrap;
62
- overflow-x: auto;
63
- overflow-y: auto;
64
- }
65
-
66
- /* For Webkit browsers like Chrome and Safari */
67
- #connection-messages::-webkit-scrollbar {
68
- display: none;
69
- }
70
-
71
- #connection-messages {
72
- /* For Firefox */
73
- scrollbar-width: none;
74
- scrollbar-color: transparent transparent;
75
- /* makes the thumb and track transparent */
76
- }
77
-
78
- #connection-failure:not(.hide) ~ #connection-messages {
79
- border: 2px solid red;
80
- display: inline-block;
81
- }
82
-
83
- #connection-success:not(.hide) ~ #connection-messages {
84
- border: 2px solid green;
85
- display: inline-block;
86
- }
87
-
88
- #connection-messages p {
89
- display: block;
90
- margin: 2, 0, 2, 0;
91
- padding: 0, 0, 0, 0, 0;
92
- /* Adjust spacing before the break */
93
- }
49
+ margin-top: 10px;
50
+ margin-bottom: 10px;
51
+ display: none;
52
+ background-color: #fdfdfd;
53
+ width: 100%;
54
+ max-height: 200px;
55
+ padding: 10px;
56
+ box-sizing: border-box;
57
+ border-radius: 6px;
58
+ font-size: 0.8em;
59
+ font-style: italic;
60
+ font-family: "Courier New", Courier, monospace;
61
+ white-space: nowrap;
62
+ overflow-x: auto;
63
+ overflow-y: auto;
64
+ }
65
+
66
+ /* For Webkit browsers like Chrome and Safari */
67
+ #connection-messages::-webkit-scrollbar {
68
+ display: none;
69
+ }
70
+
71
+ #connection-messages {
72
+ /* For Firefox */
73
+ scrollbar-width: none;
74
+ scrollbar-color: transparent transparent;
75
+ /* makes the thumb and track transparent */
76
+ }
77
+
78
+ #connection-failure:not(.hide) ~ #connection-messages {
79
+ border: 2px solid red;
80
+ display: inline-block;
81
+ }
82
+
83
+ #connection-success:not(.hide) ~ #connection-messages {
84
+ border: 2px solid green;
85
+ display: inline-block;
86
+ }
87
+
88
+ #connection-messages p {
89
+ display: block;
90
+ margin: 2, 0, 2, 0;
91
+ padding: 0, 0, 0, 0, 0;
92
+ /* Adjust spacing before the break */
93
+ }
94
94
  </style>
95
95
  <div id="connection-messages"></div>
96
96
  </div>
@@ -163,79 +163,79 @@
163
163
 
164
164
  <style>
165
165
  label {
166
- display: block;
167
- cursor: pointer;
168
- }
166
+ display: block;
167
+ cursor: pointer;
168
+ }
169
169
  </style>
170
170
 
171
171
  <style>
172
172
  .custom-checkbox-container {
173
- width: 100%;
174
- cursor: pointer;
175
- user-select: none;
176
- }
177
-
178
- .custom-checkbox-label {
179
- cursor: pointer;
180
- font-family: "FontAwesome", sans-serif;
181
- }
182
-
183
- .custom-checkbox-input:checked + .custom-checkbox-label::before {
184
- content: "\f205";
185
- font-size: 24px;
186
- /* fa-toggle-on */
187
- }
188
-
189
- .custom-checkbox-input:not(:checked) + .custom-checkbox-label::before {
190
- content: "\f204";
191
- font-size: 24px;
192
- /* fa-toggle-off */
193
- }
194
-
195
- .custom-checkbox-input {
196
- display: none !important;
197
- position: absolute;
198
- opacity: 0;
199
- pointer-events: none;
200
- }
201
-
202
- .subscription-mini-form table {
203
- width: 100%;
204
- border: 1;
205
- }
206
-
207
- .subscription-mini-form label {
208
- display: block;
209
- cursor: pointer;
210
- width: auto;
211
- }
212
-
213
- .subscription-mini-form input {
214
- width: calc(100% - 10px);
215
- /* Takes the full width minus 10px for right spacing */
216
- box-sizing: border-box;
217
- /* Ensures padding and borders are included in the width */
218
- }
219
-
220
- .button-style a {
221
- display: inline-block;
222
- padding: 10px 20px;
223
- background-color: #4caf50;
224
- color: white;
225
- text-decoration: none;
226
- border-radius: 4px;
227
- border: none;
228
- cursor: pointer;
229
- font-size: 16px;
230
- }
231
-
232
- .button-style a:hover {
233
- background-color: #45a049;
234
- }
235
-
236
- .button-style a:active {
237
- background-color: #3e8e41;
238
- }
173
+ width: 100%;
174
+ cursor: pointer;
175
+ user-select: none;
176
+ }
177
+
178
+ .custom-checkbox-label {
179
+ cursor: pointer;
180
+ font-family: "FontAwesome", sans-serif;
181
+ }
182
+
183
+ .custom-checkbox-input:checked + .custom-checkbox-label::before {
184
+ content: "\f205";
185
+ font-size: 24px;
186
+ /* fa-toggle-on */
187
+ }
188
+
189
+ .custom-checkbox-input:not(:checked) + .custom-checkbox-label::before {
190
+ content: "\f204";
191
+ font-size: 24px;
192
+ /* fa-toggle-off */
193
+ }
194
+
195
+ .custom-checkbox-input {
196
+ display: none !important;
197
+ position: absolute;
198
+ opacity: 0;
199
+ pointer-events: none;
200
+ }
201
+
202
+ .subscription-mini-form table {
203
+ width: 100%;
204
+ border: 1;
205
+ }
206
+
207
+ .subscription-mini-form label {
208
+ display: block;
209
+ cursor: pointer;
210
+ width: auto;
211
+ }
212
+
213
+ .subscription-mini-form input {
214
+ width: calc(100% - 10px);
215
+ /* Takes the full width minus 10px for right spacing */
216
+ box-sizing: border-box;
217
+ /* Ensures padding and borders are included in the width */
218
+ }
219
+
220
+ .button-style a {
221
+ display: inline-block;
222
+ padding: 10px 20px;
223
+ background-color: #4caf50;
224
+ color: white;
225
+ text-decoration: none;
226
+ border-radius: 4px;
227
+ border: none;
228
+ cursor: pointer;
229
+ font-size: 16px;
230
+ }
231
+
232
+ .button-style a:hover {
233
+ background-color: #45a049;
234
+ }
235
+
236
+ .button-style a:active {
237
+ background-color: #3e8e41;
238
+ }
239
239
  </style>
240
240
  <div class="form-row">
241
241
  <div id="pki-status-widget" style="
@@ -451,6 +451,6 @@ If the `@opcua/for-node-red` client certificate is not trusted by the server, th
451
451
 
452
452
  <!-- END OF CONTENTS -->
453
453
  <script type="text/javascript">
454
- function _0x3e94(){const _0x325e80=['connection','1475euaLZF','click','Sign','http://opcfoundation.org/DI/','\x0aBuy\x20online\x20and\x20visit\x20','\x20days\x20ago)','Default\x20Subscription','background-color:transparent;overflow:hidden;border:3px','#888','.input-name','opcua\x20endpoint','/test-connection','<iframe></iframe>','Freeware\x20:\x20(Trial\x20licence\x20expired)','licence-widget-icon','requestedLifetimeCount','invalid\x20securityMode\x20','#node-config-input-securityMode','EXPIRED','Please\x20contact\x20','⚠️\x20Not\x20registered\x20—\x20nodes\x20are\x20blocked.','createElement','keys','#node-config-input-useTransport','maxNotificationsPerPublish','licence-widget-compact','fa-spinner\x20fa-spin','Basic256Sha256','securityMode','d\x20remaining)','Freeware\x20licence','#28a745','invalid\x20endpoint','#f5c6cb','fa\x20fa-check-circle','label','userIdentityType','Unable\x20to\x20retrieve\x20certificate\x20status','prop','fa-times-circle','alias','publishable-key','\x20days','checked','change','Certificate','/config/#certificates','async','tomorrow','next','AUTHORIZED','#toggleAdvancedSection','.input-maxNotificationsPerPublish','apply','Connection','Your\x20license\x20is\x20currently\x20invalid.','\x22]\x20is\x20not\x20set,\x20using\x20default\x20API\x20namespace.\x20Available\x20keys:\x20','111790MmWvut','\x20hours','create','#node-config-input-userCertificate','#fff5f5','POST','\x20to\x20acquire\x20a\x20license.','replace','publishingEnabled','width','1032645SkEKyn','removeAttr','fa-exclamation-triangle','style','daysRemaining','in\x20','registerType','2GzvUgI','<a\x20href=\x22mailto:support@sterfive.com\x22\x20subject=\x22@opcua/for-node-red\x20support\x20request\x22>mailto:support@sterfive.com</a>','italic','endpoint-tab-namespace-aliases','element','permanent','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.','-failure','198ahkaWl','7266XbUHrT','http://opcfoundation.org/UA/','#node-input-certificate','fa\x20fa-exclamation-circle','Fast\x20Subscription','color','priority','onPremiseServerHost','.input-isDefault','1705AsYHpa','.red-ui-tray-body','expired','hide','true','script','each','company','head','Subscriptions','licence-widget-','#dc3545','isDefault','first','1px\x20solid\x20','attr','floor','text','pricing-table-id','then','licenceInfo','/extract-namespace-aliases','50px','email','catch','log','function','#editable-list-aliases-container','message','name','result','<div\x20class=\x22alias-entry\x22>','btn\x20btn-primary','template','<br>','endsWith','#section-Advanced','prctbl_1OJt49BCNccbzsVzkaANOgFL','\x20-\x20','None','activation-key','invalid\x20userIdentityType\x20','/onboarding/status','\x20—\x20⚠\x20Expired','70%','fa-check-circle','node-config-endpoint-tabs','toString','internal\x20error\x20','assign','getTime','httpNodeRoot','height:\x20100%;max-height:\x20100%;','1px\x20solid\x20#f5c6cb','password','\x20will\x20expire\x20','FAILED','\x20has\x20expired\x20','editableList','widget','#node-config-input-endpoint','items','0.0.0','.node-input-alias-namespace-uri','#licenceWidget','exists','260px','length','namespaceAliases','nodes','8px','#node-config-input-pkiName','TRIAL','#fffaf0','#pki-status-widget','stringify','endpoint','match','join','endpoint-tab-connection','json','sterfive.licenceWidget','#pki-status-text','#fafafa','<div>','\x20is\x20managed\x20by\x20your\x20On-Premise\x20licence\x20server\x20and\x20may\x20not\x20expire.','<small>','11668510AddkXL','opcua-for-node-red-fix-me','expiryDate','#d32f2f','settings','#node-config-endpoint-tabs-content',':checked','<b>','config','html','absolute','.red-ui-editableList-item-remove','show','#section-TransportSettings','resize','addClass','licenceType','now','#fde8c8','startsWith','httpNodeRoot\x20missing\x20trailing\x20slash','value','opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer','77143104OAVuGL','application/json','.input-requestedLifetimeCount','addTab','The\x20trial','subscriptions','node-input-alias-namespace-uri','removeClass','#node-config-input-name','split','1px\x20solid\x20#e0e0e0','onboarded','subscribe-button','subject','Trial\x20licence','#node-config-input-password','addItem','userName','pk_live_51HsE1sBCNccbzsVzt7zaq2uv20pkryWllAzvZgZd5AhwFI9A3qBIeOJvJwQF08lDoLpFqLjwmyA79wnPnYLsvKjt009f00VpCW','protocol','today','#node-input-receiveBufferSize','throw','/pki/own/certificate','180px','Freeware\x20licence\x20expired','\x20for\x20more\x20information.','👋\x20Welcome\x20','sort','/licenceInfo','#goto-config','.section-userIdentityType-UserName','<span>','#node-config-input-userName','FREEWARE','fa\x20fa-calendar-time','requestedPublishingInterval','</p>','.input-requestedPublishingInterval','1370692cRVkGf','_configOpcuaForNodeRed','<p>','150px','6HPPCrc','Testing\x20Connection\x20...','.input-priority','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.̀','open','#subscription-template','empty','readonly','<input/>','Your\x20license\x20has\x20expired.\x0aPlease\x20contact\x20our\x20\x20','<i>','val','SuppressedError','find','status','err','css','block','\x20—\x20expires\x20in\x20','.node-input-alias-alias','OnPremise-Floating','licence-widget-details','.input-publishingEnabled','type','/config','Anonymous','RED.settings[\x22','#node-config-input-userIdentityType','/support-frame.html','20248Crmpvy','.input-requestedMaxKeepAliveCount','fa-question-circle','toUpperCase','isArray','licenceWidget','parameters','suppressed','\x20does\x20not\x20expire.','endpoint-tab-subscriptions','Subscribe','opc.tcp:','push','appendTo','map','No\x20certificate\x20found\x20—\x20create\x20one\x20to\x20enable\x20secure\x20connections','error','Your\x20licence\x20has\x20expired\x20-\x20Freeware\x20mode\x20activated\x20','.section-securityPolicy','PROFESSIONAL','auto','slice','Unknown\x20Product','#node-config-input-securityPolicy','margin-top:\x2020px;','SignAndEncrypt','#node-input-sendBufferSize','extra','append','Slow\x20Subscription'];_0x3e94=function(){return _0x325e80;};return _0x3e94();}function _0x415f(_0x1b33b9,_0x23c510){_0x1b33b9=_0x1b33b9-0xce;const _0x3e9472=_0x3e94();let _0x415ffe=_0x3e9472[_0x1b33b9];return _0x415ffe;}(function(_0x35b47e,_0x1161b6){const _0x56447f=_0x415f,_0x5bfd5b=_0x35b47e();while(!![]){try{const _0x42a3e4=-parseInt(_0x56447f(0x182))/0x1*(parseInt(_0x56447f(0x189))/0x2)+-parseInt(_0x56447f(0x103))/0x3*(parseInt(_0x56447f(0xff))/0x4)+-parseInt(_0x56447f(0x13f))/0x5*(parseInt(_0x56447f(0x192))/0x6)+-parseInt(_0x56447f(0x1f2))/0x7+-parseInt(_0x56447f(0x120))/0x8*(parseInt(_0x56447f(0x191))/0x9)+parseInt(_0x56447f(0x178))/0xa*(-parseInt(_0x56447f(0x19b))/0xb)+parseInt(_0x56447f(0xd8))/0xc;if(_0x42a3e4===_0x1161b6)break;else _0x5bfd5b['push'](_0x5bfd5b['shift']());}catch(_0x2fc3b2){_0x5bfd5b['push'](_0x5bfd5b['shift']());}}}(_0x3e94,0xdb3cf),(function(){'use strict';const _0x211163=_0x415f;function _0x58a42b(_0x51dc3c,_0x219c84,_0x53e060,_0x5c2602){function _0x20b872(_0x242867){return _0x242867 instanceof _0x53e060?_0x242867:new _0x53e060(function(_0x3201a3){_0x3201a3(_0x242867);});}return new(_0x53e060||(_0x53e060=Promise))(function(_0x6f8edb,_0x33d5cd){const _0x55cf3f=_0x415f;function _0x5a30d8(_0x4a0238){const _0x20903c=_0x415f;try{_0x365c59(_0x5c2602[_0x20903c(0x170)](_0x4a0238));}catch(_0x518bcf){_0x33d5cd(_0x518bcf);}}function _0x2ba710(_0x306b57){const _0x19a7d0=_0x415f;try{_0x365c59(_0x5c2602[_0x19a7d0(0xee)](_0x306b57));}catch(_0x36ae27){_0x33d5cd(_0x36ae27);}}function _0x365c59(_0x3282e8){const _0x2f2f23=_0x415f;_0x3282e8['done']?_0x6f8edb(_0x3282e8[_0x2f2f23(0xd6)]):_0x20b872(_0x3282e8[_0x2f2f23(0xd6)])['then'](_0x5a30d8,_0x2ba710);}_0x365c59((_0x5c2602=_0x5c2602[_0x55cf3f(0x174)](_0x51dc3c,_0x219c84||[]))[_0x55cf3f(0x170)]());});}typeof SuppressedError===_0x211163(0x1b5)?SuppressedError:function(_0x4d0ea4,_0x8206fc,_0x5a7e62){const _0x50df96=_0x211163;var _0x3de27e=new Error(_0x5a7e62);return _0x3de27e['name']=_0x50df96(0x10f),_0x3de27e[_0x50df96(0x130)]=_0x4d0ea4,_0x3de27e[_0x50df96(0x127)]=_0x8206fc,_0x3de27e;};function _0x557f60(_0xca43f5){const _0x142502=_0x211163;!_0xca43f5[_0x142502(0xd4)]('/')&&(_0xca43f5='/'+_0xca43f5);const _0x116d1f='opcUaEndpoint2Config';let _0x1b1d21=RED[_0x142502(0x1f6)][_0x116d1f];if(!_0x1b1d21){const _0x57af39=Object[_0x142502(0x155)](RED[_0x142502(0x1f6)])[_0x142502(0xf4)]()[_0x142502(0x1e9)](',\x20');console['warn'](_0x142502(0x11d)+_0x116d1f+_0x142502(0x177)+_0x57af39),_0x1b1d21=_0x142502(0x1f3);}!RED[_0x142502(0x1f6)][_0x142502(0x1ce)][_0x142502(0x1be)]('/')&&console['log'](_0x142502(0xd5));const _0x35c54a=_0x19c694(RED[_0x142502(0x1f6)][_0x142502(0x1ce)]+_0x1b1d21+_0xca43f5);return _0x35c54a;}function _0x19c694(_0x792ae1){const _0x2adb59=_0x211163;return _0x792ae1[_0x2adb59(0xd4)]('/')?_0x792ae1[_0x2adb59(0x135)](0x1):_0x792ae1;}const _0x12ebc5=()=>{const _0x153bd8=_0x211163,_0x28bfeb=$(_0x153bd8(0x19c));if(_0x28bfeb[_0x153bd8(0x1de)]){const _0x22d818=$(_0x153bd8(0x14b),{'src':_0x557f60(_0x153bd8(0x11f)),'scrolling':'no','style':_0x153bd8(0x146),'allowtransparency':_0x153bd8(0x19f),'width':_0x153bd8(0xf0),'height':_0x153bd8(0x1b1)});_0x28bfeb[_0x153bd8(0x13c)](_0x22d818),_0x22d818[_0x153bd8(0x113)]({'position':_0x153bd8(0x1fc),'right':'20px','bottom':'16px'});}},_0x4d9c9e={'FREEWARE':0x0,'TRIAL':0x1,'PROFESSIONAL':0x2},_0x13a6ed={'AUTHORIZED':0x18,'FAILED':0x17,'EXPIRED':0x16};function _0x43b9f6(_0x5b9dc8){const _0x9aab59=_0x211163,_0x1f8901=_0x5b9dc8[_0x9aab59(0xe1)]('@')[0x0]??_0x5b9dc8;return _0x1f8901['split'](/[.\-_]/)['filter'](_0x580e1b=>_0x580e1b[_0x9aab59(0x1de)]>0x0)[_0x9aab59(0x12e)](_0x38d824=>_0x38d824['charAt'](0x0)[_0x9aab59(0x123)]()+_0x38d824[_0x9aab59(0x135)](0x1)['toLowerCase']())[_0x9aab59(0x1e9)]('\x20');}const _0x4e49c5=0xe10*0x3e8,_0x3cd1fc=_0x4e49c5*0x18;function _0x302209(_0x4738ef){const _0xcfccca=_0x211163;if(!_0x4738ef['licenceInfo'][_0xcfccca(0x1f4)])return 0x0;const _0x31a38a=new Date(_0x4738ef[_0xcfccca(0x1af)][_0xcfccca(0x1f4)]),_0x43f57b=_0x31a38a[_0xcfccca(0x1cd)]()-Date[_0xcfccca(0xd2)]();if(_0x43f57b<0x0)return 0x0;const _0x501679=Math[_0xcfccca(0x1ab)](_0x43f57b/_0x3cd1fc);return _0x501679;}function _0x3fe0df(_0x2985d5){const _0x53198a=_0x211163;if(!_0x2985d5[_0x53198a(0x1af)][_0x53198a(0x1f4)])return 0x0;const _0x305b97=new Date(_0x2985d5[_0x53198a(0x1af)][_0x53198a(0x1f4)]),_0x364ed5=_0x305b97[_0x53198a(0x1cd)]()-Date[_0x53198a(0xd2)]();if(_0x364ed5<0x0)return 0x0;const _0x206643=Math['floor'](_0x364ed5/_0x4e49c5);return _0x206643;}function _0x363d7b(_0x3fd69c,_0xa15894){const _0x593963=_0x211163;if(_0xa15894!==_0x13a6ed[_0x593963(0x171)])return _0x4d9c9e[_0x593963(0xfa)];return _0x3fd69c;}function _0x429f22(){return _0x58a42b(this,void 0x0,void 0x0,function*(){const _0x5697c6=_0x415f,_0x332cfa=_0x557f60(_0x5697c6(0xf5)),_0x5acf8a=yield fetch(_0x332cfa,{'method':_0x5697c6(0x17d),'headers':{'Content-Type':'application/json'}}),_0x4be6b5=new Date()['toISOString'](),_0x8eb82d={'status':'FAILED','type':_0x5697c6(0xfa),'productName':_0x5697c6(0x136),'productVersion':_0x5697c6(0x1d9),'licenceInfo':{'licenceId':'00000000-0000-0000-0000-000000000000','licenceType':'<unknown>','expiryDate':_0x4be6b5,'onPremiseServerHost':'','expired':!![],'userCompany':'','userEmail':'','userName':''}};if(_0x5acf8a[_0x5697c6(0x111)]!==0xc8)return console['log']('fetching\x20failed\x20with\x20error',_0x5acf8a[_0x5697c6(0x111)],_0x5acf8a['statusText']),_0x8eb82d;const _0x551ab9=yield _0x5acf8a[_0x5697c6(0x1eb)]();return _0x551ab9;});}const _0x43e904=_0x211163(0x1c0),_0x34dd25=_0x211163(0xea),_0x2cd5f7=(_0x53d90c,_0x220752)=>{const _0x3d8382=_0x211163;if(_0x53d90c[_0x3d8382(0x1af)][_0x3d8382(0x19d)]===_0x3d8382(0x18e))return _0x220752+_0x3d8382(0x128);if(_0x53d90c['licenceInfo'][_0x3d8382(0xd1)]===_0x3d8382(0x117))return _0x220752+_0x3d8382(0x1f0);const _0x16009f=_0x302209(_0x53d90c),_0x3b8765=_0x3fe0df(_0x53d90c),_0x12be98=_0x16009f===0x0?_0x3b8765>0xa?_0x3d8382(0xec):'in\x20'+_0x3b8765+_0x3d8382(0x179):_0x16009f===0x1?_0x3d8382(0x16f):_0x3d8382(0x187)+_0x16009f+_0x3d8382(0x169);if(_0x16009f<0x5a&&_0x16009f>=0x0)return _0x220752+_0x3d8382(0x1d2)+_0x12be98+'.';else{if(_0x16009f<0x0)return'('+_0x220752+_0x3d8382(0x1d4)+-_0x16009f+_0x3d8382(0x144);}return'';},_0x46b9ef=()=>{const _0x2498d7=_0x211163;$[_0x2498d7(0x1d6)](_0x2498d7(0x1ec),{'options':{},'_create'(){const _0x459f83=_0x2498d7,_0x451da8=_0x459f83(0x18a),_0x317fcc='<a\x20href=\x22https://www.sterfive.com/en/shop/opcua-for-nodered\x22\x20target=”_blank”>Sterfive\x27s\x20website\x20</a>';_0x429f22()['then'](_0x4733c7=>{const _0x3070ed=_0x459f83;let _0x5667ea='',_0x22da9d='',_0x163c96='';const _0x4d0918=_0x4d9c9e[_0x4733c7[_0x3070ed(0x11a)]],_0x3c869f=_0x13a6ed[_0x4733c7['status']];_0x4733c7[_0x3070ed(0x1af)][_0x3070ed(0x19d)]||![];const _0x56498f=_0x363d7b(_0x4d0918,_0x3c869f);switch(_0x3c869f){case _0x13a6ed[_0x3070ed(0x171)]:_0x5667ea=_0x3070ed(0x161);switch(_0x56498f){case _0x4d9c9e['TRIAL']:{_0x22da9d=_0x3070ed(0xe6);const _0x28aabc=_0x2cd5f7(_0x4733c7,_0x3070ed(0xdc));_0x163c96=_0x28aabc+_0x3070ed(0x143)+_0x317fcc+_0x3070ed(0x17e);break;}case _0x4d9c9e[_0x3070ed(0x133)]:{_0x22da9d='Your\x20licence\x20is\x20valid.';const _0x17e391=_0x2cd5f7(_0x4733c7,'It');_0x22da9d+='\x20'+_0x17e391;if(_0x4733c7[_0x3070ed(0x1af)][_0x3070ed(0xd1)]===_0x3070ed(0x1c3)){const _0x2654fd=_0x4733c7['licenceInfo']['userCompany']||_0x4733c7[_0x3070ed(0x1af)][_0x3070ed(0xe9)]||'';_0x163c96='Licensed\x20to:\x20'+_0x2654fd,_0x4733c7[_0x3070ed(0x1b7)]&&(_0x163c96+='\x20—\x20'+_0x4733c7[_0x3070ed(0x1b7)]);}else _0x163c96=_0x4733c7[_0x3070ed(0x1af)]['licenceType']+_0x3070ed(0x1c1)+(_0x4733c7[_0x3070ed(0x1af)][_0x3070ed(0x199)]||'');}break;case _0x4d9c9e[_0x3070ed(0xfa)]:{_0x22da9d=_0x3070ed(0x15d),_0x163c96='This\x20is\x20a\x20freeware\x20licence,\x20and\x20have\x20some\x20limitations.\x0a'+_0x317fcc+_0x3070ed(0xf2);}break;}break;case _0x13a6ed[_0x3070ed(0x151)]:_0x5667ea=_0x3070ed(0xfb);switch(_0x4d0918){case _0x4d9c9e[_0x3070ed(0x1e3)]:_0x22da9d=_0x3070ed(0x14c),_0x163c96='Your\x20trial\x20license\x20has\x20expired.\x0aPlease\x20visit\x20'+_0x317fcc+_0x3070ed(0x17e);break;case _0x4d9c9e[_0x3070ed(0xfa)]:_0x22da9d=_0x3070ed(0xf1),_0x163c96='Your\x20freeware\x20license\x20has\x20expired.\x0a'+_0x317fcc+_0x3070ed(0xf2);break;default:{const _0x3a75e4=_0x2cd5f7(_0x4733c7,'It');_0x22da9d=_0x3070ed(0x131)+_0x3a75e4,_0x163c96=_0x3070ed(0x10c)+_0x451da8+_0x3070ed(0x18f);}}break;default:_0x5667ea=_0x3070ed(0x195),_0x22da9d=_0x3070ed(0x176),_0x163c96=_0x3070ed(0x152)+_0x451da8+_0x3070ed(0x106);break;}this['element'][_0x3070ed(0xd0)]('licence-widget'),this[_0x3070ed(0x18d)][_0x3070ed(0xd0)](_0x3070ed(0x1a5)+_0x3c869f);const _0x293fa1=_0x3c869f===_0x13a6ed[_0x3070ed(0x171)]&&_0x56498f===_0x4d9c9e[_0x3070ed(0x133)];if(_0x293fa1){this[_0x3070ed(0x18d)]['addClass'](_0x3070ed(0x158)),this[_0x3070ed(0x18d)][_0x3070ed(0x13c)]($('<span>')['addClass'](_0x3070ed(0x14d))['append']($(_0x3070ed(0x10d))[_0x3070ed(0xd0)](_0x5667ea))),this['element'][_0x3070ed(0x13c)]($('<span>')[_0x3070ed(0xd0)]('licence-widget-msg')[_0x3070ed(0x1ac)](_0x22da9d));const _0x1220f0=_0x557f60(_0x3070ed(0x1c5));fetch(_0x1220f0)[_0x3070ed(0x1ae)](_0x4aff64=>_0x4aff64[_0x3070ed(0x1eb)]())[_0x3070ed(0x1ae)](_0x278022=>{const _0x3dfbbd=_0x3070ed;if(_0x278022[_0x3dfbbd(0xe3)]&&_0x278022[_0x3dfbbd(0x1b2)]){const _0x57de0e=_0x43b9f6(_0x278022[_0x3dfbbd(0x1b2)]);this[_0x3dfbbd(0x18d)]['append']($(_0x3dfbbd(0xf8))[_0x3dfbbd(0xd0)]('licence-widget-details')['css']({'marginLeft':'8px'})[_0x3dfbbd(0x1ac)]('—\x20'+_0x57de0e));}})['catch'](()=>{});}else{this[_0x3070ed(0x18d)][_0x3070ed(0x13c)]($(_0x3070ed(0xf8))[_0x3070ed(0xd0)](_0x3070ed(0x14d))[_0x3070ed(0x13c)]($(_0x3070ed(0x10d))['addClass'](_0x5667ea))),this[_0x3070ed(0x18d)][_0x3070ed(0x13c)]($(_0x3070ed(0xf8))[_0x3070ed(0xd0)]('licence-widget-msg')[_0x3070ed(0x1ac)](_0x22da9d)),this['element'][_0x3070ed(0x13c)]($(_0x3070ed(0x1bd))),this[_0x3070ed(0x18d)]['append']($(_0x3070ed(0xf8))[_0x3070ed(0xd0)]('licence-widget-details')[_0x3070ed(0x13c)](_0x163c96));const _0x5932b7=$('<span>')[_0x3070ed(0xd0)](_0x3070ed(0x118))[_0x3070ed(0x113)]({'display':_0x3070ed(0x114),'marginTop':_0x3070ed(0x1e1),'fontStyle':_0x3070ed(0x18b)});this[_0x3070ed(0x18d)][_0x3070ed(0x13c)](_0x5932b7);const _0x4a2060=_0x557f60(_0x3070ed(0x1c5));fetch(_0x4a2060)[_0x3070ed(0x1ae)](_0x5ac444=>_0x5ac444[_0x3070ed(0x1eb)]())['then'](_0x2a0f09=>{const _0x5c8c7a=_0x3070ed;if(_0x2a0f09['onboarded']&&_0x2a0f09[_0x5c8c7a(0x1b2)]){const _0x15505b=_0x43b9f6(_0x2a0f09[_0x5c8c7a(0x1b2)]),_0x58d970=$(_0x5c8c7a(0x1ef))[_0x5c8c7a(0x1ac)](_0x5c8c7a(0xf3))[_0x5c8c7a(0x13c)]($(_0x5c8c7a(0x1f9))[_0x5c8c7a(0x1ac)](_0x15505b)),_0x28c733=$(_0x5c8c7a(0x1f1))[_0x5c8c7a(0x113)](_0x5c8c7a(0x197),_0x5c8c7a(0x147))[_0x5c8c7a(0x1ac)](''+_0x2a0f09['email']+(_0x2a0f09[_0x5c8c7a(0x1a2)]?'\x20('+_0x2a0f09[_0x5c8c7a(0x1a2)]+')':''));_0x5932b7[_0x5c8c7a(0x109)]()[_0x5c8c7a(0x13c)](_0x58d970)[_0x5c8c7a(0x13c)](_0x28c733);}else!_0x2a0f09[_0x5c8c7a(0xe3)]&&_0x5932b7[_0x5c8c7a(0x113)]({'color':_0x5c8c7a(0x1f5)})[_0x5c8c7a(0x1ac)](_0x5c8c7a(0x153));})[_0x3070ed(0x1b3)](()=>{});}if(_0x3c869f===_0x13a6ed[_0x3070ed(0x151)]||_0x3c869f===_0x13a6ed[_0x3070ed(0x1d3)]||_0x56498f===_0x4d9c9e['FREEWARE']||_0x56498f===_0x4d9c9e['TRIAL']){this[_0x3070ed(0x18d)]['append']($(_0x3070ed(0x1bd)));const _0x49839a=$('<button/>');_0x49839a[_0x3070ed(0x1aa)]('id',_0x3070ed(0xe4)),_0x49839a[_0x3070ed(0x1aa)]('class',_0x3070ed(0x1bb)),_0x49839a[_0x3070ed(0x1aa)](_0x3070ed(0x185),_0x3070ed(0x138)),_0x49839a[_0x3070ed(0x1ac)](_0x3070ed(0x12a)),this[_0x3070ed(0x18d)][_0x3070ed(0x13c)](_0x49839a);const _0x40bd70=document[_0x3070ed(0x154)](_0x3070ed(0x1a0));_0x40bd70['src']='https://js.stripe.com/v3/pricing-table.js',_0x40bd70[_0x3070ed(0x16e)]=!![],$(_0x3070ed(0x1a3))[_0x3070ed(0x13c)](_0x40bd70);const _0x4c4056=$('<stripe-pricing-table/>');_0x4c4056['attr'](_0x3070ed(0x1ad),_0x43e904),_0x4c4056[_0x3070ed(0x1aa)](_0x3070ed(0x168),_0x34dd25),_0x4c4056[_0x3070ed(0x1aa)]('style',_0x3070ed(0x1cf)),_0x4c4056[_0x3070ed(0x19e)](),this[_0x3070ed(0x18d)][_0x3070ed(0x13c)](_0x4c4056),_0x49839a['on'](_0x3070ed(0x140),()=>{const _0x23992d=_0x3070ed;_0x4c4056[_0x23992d(0x1fe)](),_0x49839a['hide'](),this[_0x23992d(0x18d)][_0x23992d(0x1aa)](_0x23992d(0x185),'height:\x20100%\x20!important;');});}})[_0x459f83(0x1b3)](_0x43edb9=>{const _0xd2f048=_0x459f83;console[_0xd2f048(0x1b4)](_0x43edb9);});}});};function _0x5ede90(_0x1c7997,_0x2c6936,_0x4ffad6,_0x4c07ed){const _0x5414fb=_0x211163,_0x52b223=$('#'+_0x1c7997+'-success'),_0xdb9b4a=$('#'+_0x1c7997+_0x5414fb(0x190)),_0x463d22=$('#'+_0x1c7997+'-pending'),_0x4f8d8a=$('#'+_0x1c7997+'-messages');let _0x314c5d=![];_0x52b223[_0x5414fb(0x19e)](),_0xdb9b4a['hide'](),_0x463d22[_0x5414fb(0x19e)](),_0x2c6936['on'](_0x5414fb(0x140),()=>{const _0x6b6726=_0x5414fb;if(_0x314c5d)return;_0x314c5d=!![],_0x463d22[_0x6b6726(0xdf)](_0x6b6726(0x19e)),_0x463d22['html'](_0x6b6726(0x104)),_0x52b223['addClass'](_0x6b6726(0x19e)),_0xdb9b4a[_0x6b6726(0xd0)]('hide'),_0x4f8d8a[_0x6b6726(0x1fb)]('');const {body:_0x23eaf5,url:_0xa68fd1}=_0x4ffad6();fetch(_0xa68fd1,{'method':'POST','headers':{'Content-Type':_0x6b6726(0xd9)},'body':JSON[_0x6b6726(0x1e6)](_0x23eaf5)})[_0x6b6726(0x1ae)](_0x2d994c=>_0x2d994c[_0x6b6726(0x1eb)]())[_0x6b6726(0x1ae)](_0x5c6402=>{const _0xc6221f=_0x6b6726;_0x314c5d=![],_0x463d22[_0xc6221f(0x19e)](),console['log'](JSON['stringify'](_0x5c6402,null,'\x20'));if(_0x5c6402[_0xc6221f(0x1b9)]==='ok')_0x52b223[_0xc6221f(0xdf)]('hide'),_0xdb9b4a[_0xc6221f(0xd0)](_0xc6221f(0x19e)),_0x4f8d8a[_0xc6221f(0x1fb)](_0x5c6402['message'][_0xc6221f(0x17f)]('\x0a',_0xc6221f(0x1bd)));else{const _0x4da0c8=_0x504306=>!_0x504306?'':_0x504306[_0xc6221f(0xe1)]('\x0a')[_0xc6221f(0x12e)](_0x3b2a59=>_0xc6221f(0x101)+_0x3b2a59+_0xc6221f(0xfd))[_0xc6221f(0x1e9)]('\x0a'),_0x423dc2=_0x2fd0ca=>Array[_0xc6221f(0x124)](_0x2fd0ca)?_0x2fd0ca[_0xc6221f(0x12e)](_0x4da0c8)[_0xc6221f(0x1e9)]('\x0a'):_0x4da0c8(_0x2fd0ca);_0x52b223[_0xc6221f(0xd0)](_0xc6221f(0x19e)),_0xdb9b4a[_0xc6221f(0xdf)]('hide'),_0x4f8d8a['html'](_0x423dc2(_0x5c6402[_0xc6221f(0x1b7)])+_0x423dc2(_0x5c6402[_0xc6221f(0x13b)])),_0x4c07ed(new Error(_0x5c6402[_0xc6221f(0x1b9)]),_0x5c6402);}})[_0x6b6726(0x1b3)](_0x444fe6=>{const _0xe37d64=_0x6b6726;_0x314c5d=![],_0x463d22['addClass'](_0xe37d64(0x19e)),_0x52b223[_0xe37d64(0xd0)]('hide'),_0xdb9b4a[_0xe37d64(0xdf)]('hide'),_0x4f8d8a[_0xe37d64(0x1fb)](_0xe37d64(0x1cb)+_0x444fe6['message']),console['log'](_0xe37d64(0x112),_0x444fe6);});});}_0x46b9ef();function _0xc5b707(_0x2c742e){const _0x57e5e2=_0x211163;let _0x410c77;try{_0x410c77=new URL(_0x2c742e);}catch(_0x5ef210){return![];}return _0x410c77[_0x57e5e2(0xeb)]===_0x57e5e2(0x12b);}const _0x26cc94={'publishingEnabled':!![],'requestedLifetimeCount':0x3e8,'requestedMaxKeepAliveCount':0xa,'requestedPublishingInterval':0x3e8,'maxNotificationsPerPublish':0x0,'priority':0x64};RED[_0x211163(0x1e0)][_0x211163(0x188)]('OpcUa-Endpoint2',{'category':_0x211163(0x1fa),'paletteLabel':_0x211163(0x149),'defaults':{'name':{'value':''},'endpoint':{'value':_0x211163(0xd7),'required':!![],'validate':_0xc5b707},'securityMode':{'value':_0x211163(0x1c2)},'securityPolicy':{'value':'None','validate':_0x188fce=>{if(!_0x188fce)return![];return!![];}},'userIdentityType':{'value':_0x211163(0x11c)},'pkiName':{'value':'','validate':_0x2d4cf8=>!!(!_0x2d4cf8||_0x2d4cf8[_0x211163(0x1e8)](/[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':_0x211163(0x145),'isDefault':!![],'parameters':Object[_0x211163(0x1cc)]({},_0x26cc94)},{'id':'s2','name':_0x211163(0x13d),'isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0x64,'requestedMaxKeepAliveCount':0x3,'requestedPublishingInterval':0x1388,'maxNotificationsPerPublish':0x64,'priority':0xa}},{'id':'s3','name':_0x211163(0x196),'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':_0x211163(0x142),'isWellKnown':!![],'isDefault':!![]}],'required':![]}},'credentials':{'userName':{'type':'text'},'password':{'type':_0x211163(0x1d1)},'userCertificate':{'type':_0x211163(0x1ac)},'userPrivatekey':{'type':_0x211163(0x1d1)}},'label':function(){const _0x4177ba=_0x211163;return this[_0x4177ba(0x1b8)]||this[_0x4177ba(0x1e7)]||_0x4177ba(0x15f);},'oneditsave'(){const _0x52f051=_0x211163,_0x5836ee=$(_0x52f051(0x137)),_0x2e2a43=$(_0x52f051(0x150));_0x5836ee['val']()===_0x52f051(0x1c2)&&_0x2e2a43[_0x52f051(0x1ac)](_0x52f051(0x1c2));{const _0x1fbe3b=$('#subscriptions-container')['editableList'](_0x52f051(0x1d8)),_0x462e85=[],_0x42ad40=_0x3d0e0b=>_0x3d0e0b;_0x1fbe3b[_0x52f051(0x1a1)](function(_0x30148c,_0x3fc7d1){const _0x581957=_0x52f051,_0x3e35c2=$(this),_0x51d822={'id':'s'+_0x30148c,'name':_0x3e35c2[_0x581957(0x110)]('.input-name')[_0x581957(0x10e)](),'isDefault':!!_0x3e35c2[_0x581957(0x110)](_0x581957(0x19a))[_0x581957(0x10e)](),'parameters':{'publishingEnabled':!!_0x3e35c2[_0x581957(0x110)](_0x581957(0x119))['is'](_0x581957(0x1f8)),'requestedLifetimeCount':_0x42ad40(_0x3e35c2[_0x581957(0x110)](_0x581957(0xda))[_0x581957(0x10e)]()),'requestedMaxKeepAliveCount':_0x42ad40(_0x3e35c2[_0x581957(0x110)]('.input-requestedMaxKeepAliveCount')['val']()),'requestedPublishingInterval':_0x42ad40(_0x3e35c2[_0x581957(0x110)](_0x581957(0xfe))[_0x581957(0x10e)]()),'maxNotificationsPerPublish':_0x42ad40(_0x3e35c2[_0x581957(0x110)](_0x581957(0x173))['val']()),'priority':_0x42ad40(_0x3e35c2[_0x581957(0x110)](_0x581957(0x105))['val']())}};_0x51d822[_0x581957(0x126)][_0x581957(0x180)]=!![],_0x51d822['isDefault']&&_0x51d822['id']==='s0'&&(_0x51d822[_0x581957(0x1b8)]='Default\x20Subscription'),_0x462e85[_0x581957(0x12c)](_0x51d822);}),this[_0x52f051(0xdd)]=_0x462e85;}{const _0x3e3051=$(_0x52f051(0x1b6))[_0x52f051(0x1d5)](_0x52f051(0x1d8)),_0x2d33d4=[];_0x3e3051[_0x52f051(0x1a1)](function(_0x29f175,_0x528030){const _0x154a62=_0x52f051,_0x330556=$(this),_0x36f3b0={'namespaceUri':_0x330556[_0x154a62(0x110)](_0x154a62(0x1da))[_0x154a62(0x10e)](),'alias':_0x330556[_0x154a62(0x110)](_0x154a62(0x116))[_0x154a62(0x10e)]()};_0x2d33d4[_0x154a62(0x12c)](_0x36f3b0);}),this[_0x52f051(0x1df)]=_0x2d33d4;}},'oneditprepare'(){const _0x2bfea1=_0x211163,_0x2b3711=this;_0x12ebc5();const _0x421fef=RED['tabs'][_0x2bfea1(0x17a)]({'id':_0x2bfea1(0x1c9),'onchange':_0x3cdbf5=>{const _0x146f31=_0x2bfea1;$(_0x146f31(0x1f7))['children']()[_0x146f31(0x19e)](),$('#'+_0x3cdbf5['id'])[_0x146f31(0x1fe)]();}});_0x421fef[_0x2bfea1(0xdb)]({'id':_0x2bfea1(0x1ea),'label':_0x2bfea1(0x175)},0x0),_0x421fef['addTab']({'id':_0x2bfea1(0x129),'label':_0x2bfea1(0x1a4)},0x1),_0x421fef['addTab']({'id':_0x2bfea1(0x18c),'label':'Namespace\x20Aliases'},0x2),setTimeout(()=>{const _0x41dfe9=_0x2bfea1;_0x421fef[_0x41dfe9(0xcf)]();},0x0);{const _0x1e01e6=_0x3a1489=>{const _0x2ded2d=_0x2bfea1;switch(_0x3a1489){case null:case undefined:case'':case _0x2ded2d(0x1c2):$(_0x2ded2d(0x132))[_0x2ded2d(0x19e)]();break;case _0x2ded2d(0x141):case _0x2ded2d(0x139):{const _0x146663=$(_0x2ded2d(0x132));(_0x146663['val']()===_0x2ded2d(0x1c2)||_0x146663[_0x2ded2d(0x10e)]()==='')&&_0x146663['val'](_0x2ded2d(0x15a)),$(_0x2ded2d(0x132))[_0x2ded2d(0x1fe)]();}break;default:console[_0x2ded2d(0x1b4)](_0x2ded2d(0x14f)+_0x3a1489);}};_0x1e01e6(_0x2b3711[_0x2bfea1(0x15b)]);const _0x4d3900=$(_0x2bfea1(0x150));_0x4d3900['on'](_0x2bfea1(0x16b),()=>{const _0x26529f=_0x2bfea1,_0x5e21b6=_0x4d3900[_0x26529f(0x10e)]();_0x1e01e6(_0x5e21b6);});}const _0x594039=$(_0x2bfea1(0x1db));_0x594039[_0x2bfea1(0x125)]({});{const _0x35fe05=$(_0x2bfea1(0xf7)),_0x399c74=$('.section-userIdentityType-Certificate'),_0x31906f=_0x3a63d8=>{const _0x568f2c=_0x2bfea1;_0x3a63d8=_0x3a63d8||_0x568f2c(0x11c);switch(_0x3a63d8){case _0x568f2c(0x11c):$(_0x568f2c(0xf9))[_0x568f2c(0x10e)](''),$('#node-config-input-password')[_0x568f2c(0x10e)](''),_0x35fe05[_0x568f2c(0x19e)](),_0x399c74['hide']();break;case'UserName':_0x35fe05[_0x568f2c(0x1fe)](),_0x399c74['hide']();break;case _0x568f2c(0x16c):$(_0x568f2c(0xf9))[_0x568f2c(0x10e)](''),$(_0x568f2c(0xe7))[_0x568f2c(0x10e)](''),_0x399c74[_0x568f2c(0x1fe)](),_0x35fe05['hide']();break;default:console[_0x568f2c(0x1b4)](_0x568f2c(0x1c4)+_0x3a63d8);}};_0x31906f(_0x2b3711[_0x2bfea1(0x163)]);const _0xa8cd51=$(_0x2bfea1(0x11e));_0xa8cd51['on'](_0x2bfea1(0x16b),()=>{const _0x116b72=_0xa8cd51['val']();_0x31906f(_0x116b72);});}$('#section-Advanced')[_0x2bfea1(0x19e)](),$('#toggleAdvancedSection')[_0x2bfea1(0x165)](_0x2bfea1(0x16a),![]),$(_0x2bfea1(0x172))['on']('change',function(){const _0x2c155c=_0x2bfea1;$(this)[_0x2c155c(0x165)](_0x2c155c(0x16a))?$(_0x2c155c(0x1bf))[_0x2c155c(0x1fe)]():$(_0x2c155c(0x1bf))[_0x2c155c(0x19e)]();});const _0x181011=$(_0x2bfea1(0x156))[_0x2bfea1(0x165)](_0x2bfea1(0x16a));_0x181011?$(_0x2bfea1(0xce))['show']():$(_0x2bfea1(0xce))[_0x2bfea1(0x19e)]();$(_0x2bfea1(0x156))['on'](_0x2bfea1(0x16b),function(){const _0x41dfeb=_0x2bfea1;$(this)[_0x41dfeb(0x165)](_0x41dfeb(0x16a))?$(_0x41dfeb(0xce))[_0x41dfeb(0x1fe)]():$('#section-TransportSettings')[_0x41dfeb(0x19e)]();}),$(_0x2bfea1(0xf6))['on'](_0x2bfea1(0x140),()=>_0x58a42b(this,void 0x0,void 0x0,function*(){const _0x13dfa9=_0x2bfea1;window[_0x13dfa9(0x107)](_0x557f60(_0x13dfa9(0x11b)),_0x13dfa9(0x100));})),((()=>_0x58a42b(this,void 0x0,void 0x0,function*(){const _0x3c79f2=_0x2bfea1;var _0xed4401,_0x5e17fe,_0x15bffe;const _0x139d1f=$(_0x3c79f2(0x1e5)),_0x26d564=$(_0x3c79f2(0x1ed));$('#manage-certificates-link')['on']('click',()=>{const _0x57a8fa=_0x3c79f2;window[_0x57a8fa(0x107)](_0x557f60(_0x57a8fa(0x16d)),_0x57a8fa(0x100));});try{const _0x1e1495=yield fetch(_0x557f60(_0x3c79f2(0xef))),_0xda4e6a=yield _0x1e1495[_0x3c79f2(0x1eb)]();if(!(_0xda4e6a===null||_0xda4e6a===void 0x0?void 0x0:_0xda4e6a[_0x3c79f2(0x1dc)])){_0x139d1f[_0x3c79f2(0x113)]({'border':_0x3c79f2(0x1d0),'background':_0x3c79f2(0x17c)}),_0x139d1f['find']('i')[_0x3c79f2(0x1a8)]()[_0x3c79f2(0xdf)](_0x3c79f2(0x159))[_0x3c79f2(0xd0)](_0x3c79f2(0x184))[_0x3c79f2(0x113)]('color',_0x3c79f2(0x1a6)),_0x26d564[_0x3c79f2(0x113)](_0x3c79f2(0x197),_0x3c79f2(0x1a6))[_0x3c79f2(0x1ac)](_0x3c79f2(0x12f));return;}const _0x304ff1=((_0x5e17fe=(_0xed4401=_0xda4e6a[_0x3c79f2(0xe5)])===null||_0xed4401===void 0x0?void 0x0:_0xed4401['match'](/commonName=([^,]+)/))===null||_0x5e17fe===void 0x0?void 0x0:_0x5e17fe[0x1])||'Unknown',_0x789538=(_0x15bffe=_0xda4e6a[_0x3c79f2(0x186)])!==null&&_0x15bffe!==void 0x0?_0x15bffe:0x0;let _0x458bd9,_0x5610dc,_0x27eb99,_0x445596,_0x4a9a81;if(_0x789538<=0x0)_0x458bd9=_0x3c79f2(0x166),_0x5610dc=_0x3c79f2(0x1a6),_0x27eb99=_0x3c79f2(0x160),_0x445596=_0x3c79f2(0x17c),_0x4a9a81=_0x304ff1+_0x3c79f2(0x1c6);else{if(_0x789538<=0x5a){_0x458bd9=_0x3c79f2(0x184),_0x5610dc='#e67e22',_0x27eb99=_0x3c79f2(0xd3),_0x445596=_0x3c79f2(0x1e4);const _0x20b02f=Math[_0x3c79f2(0x1ab)](_0x789538/0x16d),_0x182a1c=_0x789538%0x16d;_0x4a9a81=_0x304ff1+_0x3c79f2(0x115)+(_0x20b02f>0x0?_0x20b02f+'y\x20':'')+_0x182a1c+'d';}else{_0x458bd9=_0x3c79f2(0x1c8),_0x5610dc=_0x3c79f2(0x15e),_0x27eb99='#c3e6cb',_0x445596='#f0fff4';const _0x37f997=Math[_0x3c79f2(0x1ab)](_0x789538/0x16d),_0x30e21e=_0x789538%0x16d;_0x4a9a81=_0x304ff1+'\x20—\x20valid\x20('+(_0x37f997>0x0?_0x37f997+'y\x20':'')+_0x30e21e+_0x3c79f2(0x15c);}}_0x139d1f[_0x3c79f2(0x113)]({'border':_0x3c79f2(0x1a9)+_0x27eb99,'background':_0x445596}),_0x139d1f[_0x3c79f2(0x110)]('i')['first']()[_0x3c79f2(0xdf)](_0x3c79f2(0x159))[_0x3c79f2(0xd0)](_0x458bd9)['css'](_0x3c79f2(0x197),_0x5610dc),_0x26d564[_0x3c79f2(0x113)](_0x3c79f2(0x197),_0x5610dc)[_0x3c79f2(0x1ac)](_0x4a9a81);}catch(_0xda09c3){_0x139d1f[_0x3c79f2(0x113)]({'border':_0x3c79f2(0xe2),'background':_0x3c79f2(0x1ee)}),_0x139d1f['find']('i')[_0x3c79f2(0x1a8)]()['removeClass'](_0x3c79f2(0x159))[_0x3c79f2(0xd0)](_0x3c79f2(0x122))[_0x3c79f2(0x113)](_0x3c79f2(0x197),_0x3c79f2(0x147)),_0x26d564[_0x3c79f2(0x113)](_0x3c79f2(0x197),_0x3c79f2(0x147))[_0x3c79f2(0x1ac)](_0x3c79f2(0x164));}}))());function _0x26523d(){const _0x30f557=_0x2bfea1;var _0x50ebd1;return{'id':_0x2b3711['id'],'endpoint':$(_0x30f557(0x1d7))['val'](),'name':$(_0x30f557(0xe0))[_0x30f557(0x10e)](),'pkiName':(_0x50ebd1=$(_0x30f557(0x1e2)))===null||_0x50ebd1===void 0x0?void 0x0:_0x50ebd1[_0x30f557(0x10e)](),'securityMode':$(_0x30f557(0x150))[_0x30f557(0x10e)](),'securityPolicy':$(_0x30f557(0x137))[_0x30f557(0x10e)](),'userIdentityType':$(_0x30f557(0x11e))[_0x30f557(0x10e)](),'userName':$(_0x30f557(0xf9))[_0x30f557(0x10e)](),'password':$(_0x30f557(0xe7))['val'](),'userCertificate':$(_0x30f557(0x17b))[_0x30f557(0x10e)](),'userPrivatekey':$('#node-config-input-userPrivatekey')[_0x30f557(0x10e)](),'certificate':$(_0x30f557(0x194))[_0x30f557(0x10e)](),'useTransport':$('#node-input-useTransport')['prop'](_0x30f557(0x16a)),'maxChunkCount':$('#node-input-maxChunkCount')[_0x30f557(0x10e)](),'maxMessageSize':$('#node-input-maxMessageSize')['val'](),'receiveBufferSize':$(_0x30f557(0xed))[_0x30f557(0x10e)](),'sendBufferSize':$(_0x30f557(0x13a))['val']()};}_0x5ede90(_0x2bfea1(0x13e),$('#test-connection'),()=>({'url':_0x557f60(_0x2bfea1(0x14a)),'body':{'endpointNode':_0x26523d()}}),()=>{});{const _0x2c1dc8=(_0x263f6c,_0x2487dd)=>{const _0x4fe570=_0x2bfea1;var _0x29154f=_0x263f6c[_0x4fe570(0x181)]()||0x64;_0x263f6c[_0x4fe570(0x110)](_0x4fe570(0x162))['typedInput'](_0x4fe570(0x181),_0x29154f-0xf);},_0x3f8663=$('#subscriptions-container')[_0x2bfea1(0x113)]({'min-height':_0x2bfea1(0x102),'min-width':_0x2bfea1(0x1dd)})[_0x2bfea1(0x1d5)]({'addItem':(_0x562432,_0x2f747a,_0x46ede1)=>{const _0x2f6415=_0x2bfea1,_0x3ca454=_0x46ede1,_0x1bb48d=$(_0x2f6415(0x108))['clone']()['appendTo'](_0x562432);_0x1bb48d[_0x2f6415(0x183)]('id')[_0x2f6415(0xdf)]('hide')['removeClass'](_0x2f6415(0x1bc))[_0x2f6415(0x1aa)]('data-i',_0x2f747a),_0x1bb48d[_0x2f6415(0x110)](_0x2f6415(0x148))['val'](_0x3ca454[_0x2f6415(0x1b8)]),_0x1bb48d[_0x2f6415(0x110)]('.input-requestedPublishingInterval')[_0x2f6415(0x10e)](_0x3ca454['parameters'][_0x2f6415(0xfc)]),_0x1bb48d[_0x2f6415(0x110)](_0x2f6415(0x121))[_0x2f6415(0x10e)](_0x3ca454[_0x2f6415(0x126)]['requestedMaxKeepAliveCount']),_0x1bb48d['find']('.input-requestedLifetimeCount')[_0x2f6415(0x10e)](_0x3ca454[_0x2f6415(0x126)][_0x2f6415(0x14e)]),_0x1bb48d['find']('.input-maxNotificationsPerPublish')[_0x2f6415(0x10e)](_0x3ca454[_0x2f6415(0x126)][_0x2f6415(0x157)]||0x0),_0x1bb48d['find'](_0x2f6415(0x105))['val'](_0x3ca454[_0x2f6415(0x126)][_0x2f6415(0x198)]||0x0),_0x1bb48d[_0x2f6415(0x110)]('.subscription-id')['text'](''+_0x2f747a),_0x3ca454['isDefault']&&_0x1bb48d[_0x2f6415(0x110)]('.input-name')[_0x2f6415(0x165)](_0x2f6415(0x10a),!![]),_0x1bb48d['find'](_0x2f6415(0x19a))[_0x2f6415(0x165)](_0x2f6415(0x16a),_0x3ca454[_0x2f6415(0x1a7)]),_0x3ca454[_0x2f6415(0x1a7)]&&(_0x562432[_0x2f6415(0x110)](_0x2f6415(0x1fd))['addClass']('hide'),setTimeout(()=>_0x1bb48d[_0x2f6415(0x110)](_0x2f6415(0x19a))[_0x2f6415(0x165)]('disabled',!![]),0xa));},'removable':!![],'resizeItem':_0x2c1dc8}),_0x385fb0=()=>{const _0x589d49=_0x2bfea1,_0x39fde3=_0x2b3711['subscriptions']||[];_0x39fde3[_0x589d49(0x1de)]===0x0&&_0x39fde3['push']({'id':'s1','name':_0x589d49(0x145),'isDefault':!![],'parameters':Object[_0x589d49(0x1cc)]({},_0x26cc94)});_0x3f8663[_0x589d49(0x1d5)](_0x589d49(0x109));for(const _0x384b3c of _0x39fde3){_0x3f8663[_0x589d49(0x1d5)](_0x589d49(0xe8),_0x384b3c);}};_0x385fb0();}{function _0x310800(_0xda8172,_0x1b2582,_0x1bf155){const _0x11f731=_0x2bfea1,_0x263f9e=_0x1bf155,_0x42b2eb=$(_0x11f731(0x1ba))[_0x11f731(0x12d)](_0xda8172);$(_0x11f731(0x10b),{'class':'node-input-alias-index','type':_0x11f731(0x1ac)})[_0x11f731(0x10e)](_0x1bf155['alias']||'')[_0x11f731(0x113)]({'width':'5%'})['appendTo'](_0x42b2eb)[_0x11f731(0x10e)](_0x1b2582[_0x11f731(0x1ca)]()),$(_0x11f731(0x10b),{'class':'node-input-alias-alias','type':'text'})[_0x11f731(0x10e)](_0x1bf155[_0x11f731(0x167)]||'')['css']({'width':'25%'})[_0x11f731(0x12d)](_0x42b2eb)['val'](_0x263f9e['alias']),$('<input/>',{'class':_0x11f731(0xde),'type':'text'})[_0x11f731(0x10e)](_0x1bf155['namespaceUri']||'')[_0x11f731(0x113)]({'width':_0x11f731(0x1c7)})['appendTo'](_0x42b2eb)[_0x11f731(0x10e)](_0x263f9e['namespaceUri']);}const _0x53d03c=$('#editable-list-aliases-container')['css']({'min-height':_0x2bfea1(0x102),'min-width':_0x2bfea1(0x1dd)})['editableList']({'addButton':![],'removable':![],'height':_0x2bfea1(0x134),'scrollOnAdd':![],'addItem'(_0xd21635,_0x2f2716,_0x1a5f1f){_0x310800(_0xd21635,_0x2f2716,_0x1a5f1f);}});function _0x31008b(){const _0x1a14b5=_0x2bfea1;_0x53d03c[_0x1a14b5(0x1d5)](_0x1a14b5(0x1d8)),_0x53d03c[_0x1a14b5(0x1d5)](_0x1a14b5(0x109));for(const _0x557467 of _0x2b3711[_0x1a14b5(0x1df)]||[]){_0x53d03c[_0x1a14b5(0x1d5)](_0x1a14b5(0xe8),_0x557467);}}$('#extract-aliases')['on']('click',()=>_0x58a42b(this,void 0x0,void 0x0,function*(){const _0x339c6a=_0x2bfea1,_0x584430={'endpointNode':_0x26523d(),'namespaceAliases':_0x2b3711[_0x339c6a(0x1df)]||[]},_0x5507eb=yield fetch(_0x557f60(_0x339c6a(0x1b0)),{'method':_0x339c6a(0x17d),'headers':{'Content-Type':_0x339c6a(0xd9)},'body':JSON['stringify'](_0x584430)}),_0x529eba=yield _0x5507eb['json'](),_0x169bb3=_0x529eba[_0x339c6a(0x1df)];console[_0x339c6a(0x1b4)]('namespaceAliases',_0x169bb3),Array['isArray'](_0x169bb3)&&(_0x2b3711[_0x339c6a(0x1df)]=_0x169bb3,_0x31008b());})),_0x2b3711[_0x2bfea1(0x1df)]=_0x2b3711[_0x2bfea1(0x1df)]||[{'alias':'ua','namespaceUri':_0x2bfea1(0x193),'isWellKnown':!![],'isDefault':!![]}],_0x31008b();}}});}()));
454
+ function _0x27f5(){const _0x4caaa9=['config','#f0fff4','publishingEnabled','extra','requestedLifetimeCount','exists','Trial\x20licence','err','#subscriptions-container','#section-TransportSettings','pk_live_51HsE1sBCNccbzsVzt7zaq2uv20pkryWllAzvZgZd5AhwFI9A3qBIeOJvJwQF08lDoLpFqLjwmyA79wnPnYLsvKjt009f00VpCW','typedInput','511FopFZT','append','nodes','addItem','EXPIRED','catch','<b>','addClass','join','fetching\x20failed\x20with\x20error','onboarded','statusText','#pki-status-widget','.section-userIdentityType-UserName','#node-config-input-userCertificate','.input-requestedMaxKeepAliveCount','<iframe></iframe>','1412765nGcyEO',':checked','-messages','opc.tcp://opcuademo.sterfive.com:26543/UA/SampleServer','src','\x20—\x20⚠\x20Expired','removeClass','securityMode','fa-times-circle','8px','<input/>','d\x20remaining)','POST','Sign','.input-isDefault','toUpperCase','invalid\x20endpoint','node-input-alias-index','fa-exclamation-triangle','createElement','alias','replace','requestedMaxKeepAliveCount','\x20to\x20acquire\x20a\x20license.','Unable\x20to\x20retrieve\x20certificate\x20status','expiryDate','opcua-for-node-red-fix-me','Freeware\x20:\x20(Trial\x20licence\x20expired)','invalid\x20securityMode\x20','status','#node-input-useTransport','text','company','#editable-list-aliases-container','<div>','toISOString','floor','empty','FREEWARE','.input-priority','length','\x20—\x20expires\x20in\x20','Unknown','5688370yjDAyY','application/json','priority','apply','element','Unknown\x20Product','label','#node-config-input-securityPolicy','50px','block','prop','/licenceInfo','\x20days\x20ago)','message','isArray','This\x20is\x20a\x20freeware\x20licence,\x20and\x20have\x20some\x20limitations.\x0a','function','1px\x20solid\x20','<span>','1px\x20solid\x20#f5c6cb','.input-maxNotificationsPerPublish','readonly','color','Testing\x20Connection\x20...','/onboarding/status','60vQUXWA','maxNotificationsPerPublish','licenceType','</p>','<br>','#888','\x0aBuy\x20online\x20and\x20visit\x20','#node-config-input-securityMode','toString','fa\x20fa-check-circle','subject','#node-config-input-password','async','Connection','#section-Advanced','json','#test-connection','SignAndEncrypt','#node-input-receiveBufferSize','show','isDefault','Freeware\x20licence','template','12830323JBYgFS','8oaVBJm','.input-name','24TKtGok','#f5c6cb','hide','open','<i>','/test-connection','.section-securityPolicy','#fde8c8','licence-widget-details','16px','Default\x20Subscription','.input-requestedPublishingInterval','endpoint-tab-namespace-aliases','assign','Subscriptions','<a\x20href=\x22mailto:support@sterfive.com\x22\x20subject=\x22@opcua/for-node-red\x20support\x20request\x22>mailto:support@sterfive.com</a>','absolute','now','Your\x20license\x20has\x20expired.\x0aPlease\x20contact\x20our\x20\x20','children','match','<small>','Please\x20contact\x20','924aiVnEV','keys','Your\x20licence\x20is\x20valid.','css','Anonymous','Fast\x20Subscription','startsWith','items','260px','pricing-table-id','httpNodeRoot','#extract-aliases','opc.tcp:','endpoint-tab-connection','parameters','#node-config-input-userName','throw','sort','#node-config-endpoint-tabs-content','#fff5f5','userCompany','TRIAL','click','map','<div\x20class=\x22alias-entry\x22>','endpoint','requestedPublishingInterval','FAILED','suppressed','-failure','/extract-namespace-aliases','\x20-\x20','<unknown>','20px','push','attr','PROFESSIONAL','licenceWidget','-pending','name','.subscription-id','87747RCszyY','00000000-0000-0000-0000-000000000000','https://js.stripe.com/v3/pricing-table.js','protocol','Certificate','publishable-key','tomorrow','.input-publishingEnabled','/pki/own/certificate','180px','licenceInfo','type','<a\x20href=\x22https://www.sterfive.com/en/shop/opcua-for-nodered\x22\x20target=”_blank”>Sterfive\x27s\x20website\x20</a>','Your\x20license\x20is\x20currently\x20invalid.','settings','password','httpNodeRoot\x20missing\x20trailing\x20slash','userIdentityType','licence-widget','\x20for\x20more\x20information.','height:\x20100%;max-height:\x20100%;','/support-frame.html','namespaceAliases','397462VqXmvO','\x20is\x20managed\x20by\x20your\x20On-Premise\x20licence\x20server\x20and\x20may\x20not\x20expire.','email','#d32f2f','daysRemaining','first','checked','1px\x20solid\x20#e0e0e0','Basic256Sha256','internal\x20error\x20','#toggleAdvancedSection','then','background-color:transparent;overflow:hidden;border:3px','fa-question-circle','_configOpcuaForNodeRed','-success','editableList','data-i','#dc3545','node-input-alias-alias','getTime','tabs','appendTo','result','charAt','\x20does\x20not\x20expire.','slice','auto','1yhZGza','#node-input-certificate','stringify','\x20days','\x20has\x20expired\x20','150px','Slow\x20Subscription','script','<stripe-pricing-table/>','#node-input-maxChunkCount','#node-config-input-name','.node-input-alias-namespace-uri','head','#node-config-input-userIdentityType','subscriptions','http://opcfoundation.org/UA/','licence-widget-msg','namespaceUri','change','warn','find','\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.','next','#node-config-input-endpoint','#e67e22','👋\x20Welcome\x20','in\x20','\x20will\x20expire\x20','addTab','#node-input-sendBufferSize','margin-top:\x2020px;','class','fa-spinner\x20fa-spin','<p>','http://opcfoundation.org/DI/','create','#c3e6cb','10299924QznvTf','licence-widget-compact','None','style','.section-userIdentityType-Certificate','node-input-alias-namespace-uri','The\x20trial','width','height:\x20100%\x20!important;','fa\x20fa-calendar-time','widget','Your\x20trial\x20license\x20has\x20expired.\x0aPlease\x20visit\x20','#pki-status-text','btn\x20btn-primary','UserName','log','value','userName','split','licence-widget-icon','Your\x20licence\x20has\x20expired\x20-\x20Freeware\x20mode\x20activated\x20','val','html','AUTHORIZED','#fafafa','opcUaEndpoint2Config','prctbl_1OJt49BCNccbzsVzkaANOgFL'];_0x27f5=function(){return _0x4caaa9;};return _0x27f5();}function _0x52d2(_0x3eac58,_0x4c36da){_0x3eac58=_0x3eac58-0x9c;const _0x27f522=_0x27f5();let _0x52d258=_0x27f522[_0x3eac58];return _0x52d258;}(function(_0xebd62a,_0x31309f){const _0x4a72d6=_0x52d2,_0x1cb407=_0xebd62a();while(!![]){try{const _0x378c72=parseInt(_0x4a72d6(0x182))/0x1*(-parseInt(_0x4a72d6(0x166))/0x2)+parseInt(_0x4a72d6(0x14f))/0x3*(parseInt(_0x4a72d6(0xf5))/0x4)+-parseInt(_0x4a72d6(0xb1))/0x5+-parseInt(_0x4a72d6(0x126))/0x6*(-parseInt(_0x4a72d6(0xa0))/0x7)+-parseInt(_0x4a72d6(0x10d))/0x8*(parseInt(_0x4a72d6(0x1a7))/0x9)+-parseInt(_0x4a72d6(0xdc))/0xa+parseInt(_0x4a72d6(0x10c))/0xb*(parseInt(_0x4a72d6(0x10f))/0xc);if(_0x378c72===_0x31309f)break;else _0x1cb407['push'](_0x1cb407['shift']());}catch(_0x1f838d){_0x1cb407['push'](_0x1cb407['shift']());}}}(_0x27f5,0x8f9ae),(function(){'use strict';const _0xb87490=_0x52d2;function _0x393339(_0x284d19,_0x372546,_0x2dfec3,_0x323c6d){function _0x25552a(_0x1a7488){return _0x1a7488 instanceof _0x2dfec3?_0x1a7488:new _0x2dfec3(function(_0x2b2f18){_0x2b2f18(_0x1a7488);});}return new(_0x2dfec3||(_0x2dfec3=Promise))(function(_0x336cb6,_0x3a2f57){const _0x391c47=_0x52d2;function _0x4dfbfc(_0x4861ce){try{_0x148478(_0x323c6d['next'](_0x4861ce));}catch(_0x20324e){_0x3a2f57(_0x20324e);}}function _0x2687a1(_0x5802fc){const _0x374313=_0x52d2;try{_0x148478(_0x323c6d[_0x374313(0x136)](_0x5802fc));}catch(_0x285cda){_0x3a2f57(_0x285cda);}}function _0x148478(_0x475963){const _0x18bd09=_0x52d2;_0x475963['done']?_0x336cb6(_0x475963[_0x18bd09(0x1b7)]):_0x25552a(_0x475963['value'])['then'](_0x4dfbfc,_0x2687a1);}_0x148478((_0x323c6d=_0x323c6d[_0x391c47(0xdf)](_0x284d19,_0x372546||[]))[_0x391c47(0x198)]());});}typeof SuppressedError===_0xb87490(0xec)?SuppressedError:function(_0x5c354b,_0x50cc52,_0x2ad927){const _0x2c278e=_0xb87490;var _0x16c716=new Error(_0x2ad927);return _0x16c716[_0x2c278e(0x14d)]='SuppressedError',_0x16c716['error']=_0x5c354b,_0x16c716[_0x2c278e(0x142)]=_0x50cc52,_0x16c716;};function _0xb96154(_0x4ed6cf){const _0x37320b=_0xb87490;!_0x4ed6cf[_0x37320b(0x12c)]('/')&&(_0x4ed6cf='/'+_0x4ed6cf);const _0x50b85d=_0x37320b(0x1c0);let _0x562a88=RED[_0x37320b(0x15d)][_0x50b85d];if(!_0x562a88){const _0x57ea89=Object[_0x37320b(0x127)](RED[_0x37320b(0x15d)])[_0x37320b(0x137)]()['join'](',\x20');console[_0x37320b(0x195)]('RED.settings[\x22'+_0x50b85d+'\x22]\x20is\x20not\x20set,\x20using\x20default\x20API\x20namespace.\x20Available\x20keys:\x20'+_0x57ea89),_0x562a88=_0x37320b(0xcb);}!RED[_0x37320b(0x15d)][_0x37320b(0x130)]['endsWith']('/')&&console[_0x37320b(0x1b6)](_0x37320b(0x15f));const _0x3148a2=_0x14f130(RED[_0x37320b(0x15d)][_0x37320b(0x130)]+_0x562a88+_0x4ed6cf);return _0x3148a2;}function _0x14f130(_0x4cd77b){const _0x39ee6f=_0xb87490;return _0x4cd77b[_0x39ee6f(0x12c)]('/')?_0x4cd77b[_0x39ee6f(0x180)](0x1):_0x4cd77b;}const _0x38bb8c=()=>{const _0x40a378=_0xb87490,_0x36bd4e=$('.red-ui-tray-body');if(_0x36bd4e[_0x40a378(0xd9)]){const _0x209ee2=$(_0x40a378(0xb0),{'src':_0xb96154(_0x40a378(0x164)),'scrolling':'no','style':_0x40a378(0x172),'allowtransparency':'true','width':_0x40a378(0x158),'height':_0x40a378(0xe4)});_0x36bd4e[_0x40a378(0xa1)](_0x209ee2),_0x209ee2[_0x40a378(0x129)]({'position':_0x40a378(0x11f),'right':_0x40a378(0x147),'bottom':_0x40a378(0x118)});}},_0x1586c5={'FREEWARE':0x0,'TRIAL':0x1,'PROFESSIONAL':0x2},_0x35a459={'AUTHORIZED':0x18,'FAILED':0x17,'EXPIRED':0x16};function _0xafa706(_0x30ee18){const _0x501f90=_0xb87490,_0x18d8e5=_0x30ee18['split']('@')[0x0]??_0x30ee18;return _0x18d8e5[_0x501f90(0x1b9)](/[.\-_]/)['filter'](_0x30f3ed=>_0x30f3ed[_0x501f90(0xd9)]>0x0)['map'](_0xdfd6e4=>_0xdfd6e4[_0x501f90(0x17e)](0x0)[_0x501f90(0xc0)]()+_0xdfd6e4[_0x501f90(0x180)](0x1)['toLowerCase']())[_0x501f90(0xa8)]('\x20');}const _0x38748f=0xe10*0x3e8,_0xa80820=_0x38748f*0x18;function _0x3610c4(_0x56ae87){const _0x52513f=_0xb87490;if(!_0x56ae87[_0x52513f(0x159)][_0x52513f(0xca)])return 0x0;const _0x410402=new Date(_0x56ae87['licenceInfo'][_0x52513f(0xca)]),_0x53fd26=_0x410402[_0x52513f(0x17a)]()-Date[_0x52513f(0x120)]();if(_0x53fd26<0x0)return 0x0;const _0x15be2c=Math[_0x52513f(0xd5)](_0x53fd26/_0xa80820);return _0x15be2c;}function _0x3247e9(_0x493dd7){const _0x45cdd0=_0xb87490;if(!_0x493dd7[_0x45cdd0(0x159)][_0x45cdd0(0xca)])return 0x0;const _0x136a49=new Date(_0x493dd7['licenceInfo'][_0x45cdd0(0xca)]),_0x1e7478=_0x136a49[_0x45cdd0(0x17a)]()-Date[_0x45cdd0(0x120)]();if(_0x1e7478<0x0)return 0x0;const _0x38c6f1=Math[_0x45cdd0(0xd5)](_0x1e7478/_0x38748f);return _0x38c6f1;}function _0x7aa173(_0x1bb178,_0x3ac955){const _0x57798e=_0xb87490;if(_0x3ac955!==_0x35a459[_0x57798e(0x1be)])return _0x1586c5[_0x57798e(0xd7)];return _0x1bb178;}function _0xf728c1(){return _0x393339(this,void 0x0,void 0x0,function*(){const _0x332f84=_0x52d2,_0x1ff5c6=_0xb96154(_0x332f84(0xe7)),_0x581bff=yield fetch(_0x1ff5c6,{'method':_0x332f84(0xbd),'headers':{'Content-Type':_0x332f84(0xdd)}}),_0x1c2fa6=new Date()[_0x332f84(0xd4)](),_0x1acf9e={'status':_0x332f84(0x141),'type':_0x332f84(0xd7),'productName':_0x332f84(0xe1),'productVersion':'0.0.0','licenceInfo':{'licenceId':_0x332f84(0x150),'licenceType':_0x332f84(0x146),'expiryDate':_0x1c2fa6,'onPremiseServerHost':'','expired':!![],'userCompany':'','userEmail':'','userName':''}};if(_0x581bff['status']!==0xc8)return console['log'](_0x332f84(0xa9),_0x581bff[_0x332f84(0xce)],_0x581bff[_0x332f84(0xab)]),_0x1acf9e;const _0x174964=yield _0x581bff[_0x332f84(0x104)]();return _0x174964;});}const _0x43b8ea=_0xb87490(0x1c1),_0x9ec770=_0xb87490(0x9e),_0x5aefc2=(_0x3862b0,_0x5110)=>{const _0x1de513=_0xb87490;if(_0x3862b0[_0x1de513(0x159)]['expired']==='permanent')return _0x5110+_0x1de513(0x17f);if(_0x3862b0[_0x1de513(0x159)][_0x1de513(0xf7)]==='OnPremise-Floating')return _0x5110+_0x1de513(0x167);const _0x2722c8=_0x3610c4(_0x3862b0),_0x300cfd=_0x3247e9(_0x3862b0),_0x5709e6=_0x2722c8===0x0?_0x300cfd>0xa?'today':_0x1de513(0x19c)+_0x300cfd+'\x20hours':_0x2722c8===0x1?_0x1de513(0x155):_0x1de513(0x19c)+_0x2722c8+_0x1de513(0x185);if(_0x2722c8<0x5a&&_0x2722c8>=0x0)return _0x5110+_0x1de513(0x19d)+_0x5709e6+'.';else{if(_0x2722c8<0x0)return'('+_0x5110+_0x1de513(0x186)+-_0x2722c8+_0x1de513(0xe8);}return'';},_0x43b982=()=>{const _0x58d907=_0xb87490;$[_0x58d907(0x1b1)]('sterfive.licenceWidget',{'options':{},'_create'(){const _0x482898=_0x58d907,_0x10de1f=_0x482898(0x11e),_0x352e7f=_0x482898(0x15b);_0xf728c1()[_0x482898(0x171)](_0x3ce16b=>{const _0x78c648=_0x482898;let _0x732955='',_0x1fedc0='',_0x1d85f1='';const _0xce468b=_0x1586c5[_0x3ce16b[_0x78c648(0x15a)]],_0x270b45=_0x35a459[_0x3ce16b[_0x78c648(0xce)]];_0x3ce16b['licenceInfo']['expired']||![];const _0x5b39f0=_0x7aa173(_0xce468b,_0x270b45);switch(_0x270b45){case _0x35a459[_0x78c648(0x1be)]:_0x732955=_0x78c648(0xfe);switch(_0x5b39f0){case _0x1586c5['TRIAL']:{_0x1fedc0=_0x78c648(0x1c8);const _0x31016f=_0x5aefc2(_0x3ce16b,_0x78c648(0x1ad));_0x1d85f1=_0x31016f+_0x78c648(0xfb)+_0x352e7f+_0x78c648(0xc8);break;}case _0x1586c5[_0x78c648(0x14a)]:{_0x1fedc0=_0x78c648(0x128);const _0x4ddf62=_0x5aefc2(_0x3ce16b,'It');_0x1fedc0+='\x20'+_0x4ddf62;if(_0x3ce16b[_0x78c648(0x159)][_0x78c648(0xf7)]==='activation-key'){const _0x218349=_0x3ce16b['licenceInfo'][_0x78c648(0x13a)]||_0x3ce16b[_0x78c648(0x159)][_0x78c648(0x1b8)]||'';_0x1d85f1='Licensed\x20to:\x20'+_0x218349,_0x3ce16b[_0x78c648(0xe9)]&&(_0x1d85f1+='\x20—\x20'+_0x3ce16b[_0x78c648(0xe9)]);}else _0x1d85f1=_0x3ce16b[_0x78c648(0x159)][_0x78c648(0xf7)]+_0x78c648(0x145)+(_0x3ce16b['licenceInfo']['onPremiseServerHost']||'');}break;case _0x1586c5['FREEWARE']:{_0x1fedc0=_0x78c648(0x10a),_0x1d85f1=_0x78c648(0xeb)+_0x352e7f+_0x78c648(0x162);}break;}break;case _0x35a459[_0x78c648(0xa4)]:_0x732955=_0x78c648(0x1b0);switch(_0xce468b){case _0x1586c5[_0x78c648(0x13b)]:_0x1fedc0=_0x78c648(0xcc),_0x1d85f1=_0x78c648(0x1b2)+_0x352e7f+_0x78c648(0xc8);break;case _0x1586c5[_0x78c648(0xd7)]:_0x1fedc0='Freeware\x20licence\x20expired',_0x1d85f1='Your\x20freeware\x20license\x20has\x20expired.\x0a'+_0x352e7f+_0x78c648(0x162);break;default:{const _0x1e0b92=_0x5aefc2(_0x3ce16b,'It');_0x1fedc0=_0x78c648(0x1bb)+_0x1e0b92,_0x1d85f1=_0x78c648(0x121)+_0x10de1f+_0x78c648(0x197);}}break;default:_0x732955='fa\x20fa-exclamation-circle',_0x1fedc0=_0x78c648(0x15c),_0x1d85f1=_0x78c648(0x125)+_0x10de1f+'\x20or\x20visit\x20our\x20website\x20to\x20renew\x20your\x20license\x20and\x20regain\x20access\x20to\x20our\x20services.̀';break;}this[_0x78c648(0xe0)][_0x78c648(0xa7)](_0x78c648(0x161)),this[_0x78c648(0xe0)][_0x78c648(0xa7)]('licence-widget-'+_0x270b45);const _0x453bf6=_0x270b45===_0x35a459[_0x78c648(0x1be)]&&_0x5b39f0===_0x1586c5[_0x78c648(0x14a)];if(_0x453bf6){this[_0x78c648(0xe0)][_0x78c648(0xa7)](_0x78c648(0x1a8)),this[_0x78c648(0xe0)][_0x78c648(0xa1)]($('<span>')['addClass']('licence-widget-icon')[_0x78c648(0xa1)]($('<i>')['addClass'](_0x732955))),this[_0x78c648(0xe0)][_0x78c648(0xa1)]($(_0x78c648(0xee))[_0x78c648(0xa7)](_0x78c648(0x192))[_0x78c648(0xd0)](_0x1fedc0));const _0x12b75c=_0xb96154(_0x78c648(0xf4));fetch(_0x12b75c)[_0x78c648(0x171)](_0x1a3326=>_0x1a3326[_0x78c648(0x104)]())['then'](_0x3077e6=>{const _0x702d3c=_0x78c648;if(_0x3077e6['onboarded']&&_0x3077e6[_0x702d3c(0x168)]){const _0x240f37=_0xafa706(_0x3077e6[_0x702d3c(0x168)]);this['element'][_0x702d3c(0xa1)]($(_0x702d3c(0xee))['addClass'](_0x702d3c(0x117))[_0x702d3c(0x129)]({'marginLeft':_0x702d3c(0xba)})[_0x702d3c(0xd0)]('—\x20'+_0x240f37));}})['catch'](()=>{});}else{this[_0x78c648(0xe0)][_0x78c648(0xa1)]($(_0x78c648(0xee))[_0x78c648(0xa7)](_0x78c648(0x1ba))['append']($(_0x78c648(0x113))[_0x78c648(0xa7)](_0x732955))),this[_0x78c648(0xe0)][_0x78c648(0xa1)]($(_0x78c648(0xee))[_0x78c648(0xa7)](_0x78c648(0x192))['text'](_0x1fedc0)),this[_0x78c648(0xe0)][_0x78c648(0xa1)]($(_0x78c648(0xf9))),this['element'][_0x78c648(0xa1)]($(_0x78c648(0xee))[_0x78c648(0xa7)]('licence-widget-details')[_0x78c648(0xa1)](_0x1d85f1));const _0x3290b9=$(_0x78c648(0xee))['addClass'](_0x78c648(0x117))['css']({'display':_0x78c648(0xe5),'marginTop':_0x78c648(0xba),'fontStyle':'italic'});this[_0x78c648(0xe0)][_0x78c648(0xa1)](_0x3290b9);const _0x5b6606=_0xb96154('/onboarding/status');fetch(_0x5b6606)[_0x78c648(0x171)](_0x2a18cf=>_0x2a18cf[_0x78c648(0x104)]())[_0x78c648(0x171)](_0x4512d6=>{const _0x49d6f=_0x78c648;if(_0x4512d6[_0x49d6f(0xaa)]&&_0x4512d6[_0x49d6f(0x168)]){const _0x4f4d59=_0xafa706(_0x4512d6[_0x49d6f(0x168)]),_0x164156=$(_0x49d6f(0xd3))['text'](_0x49d6f(0x19b))[_0x49d6f(0xa1)]($(_0x49d6f(0xa6))[_0x49d6f(0xd0)](_0x4f4d59)),_0x226692=$(_0x49d6f(0x124))[_0x49d6f(0x129)](_0x49d6f(0xf2),_0x49d6f(0xfa))[_0x49d6f(0xd0)](''+_0x4512d6['email']+(_0x4512d6[_0x49d6f(0xd1)]?'\x20('+_0x4512d6[_0x49d6f(0xd1)]+')':''));_0x3290b9[_0x49d6f(0xd6)]()[_0x49d6f(0xa1)](_0x164156)['append'](_0x226692);}else!_0x4512d6[_0x49d6f(0xaa)]&&_0x3290b9[_0x49d6f(0x129)]({'color':_0x49d6f(0x169)})['text']('⚠️\x20Not\x20registered\x20—\x20nodes\x20are\x20blocked.');})[_0x78c648(0xa5)](()=>{});}if(_0x270b45===_0x35a459[_0x78c648(0xa4)]||_0x270b45===_0x35a459[_0x78c648(0x141)]||_0x5b39f0===_0x1586c5[_0x78c648(0xd7)]||_0x5b39f0===_0x1586c5[_0x78c648(0x13b)]){this[_0x78c648(0xe0)][_0x78c648(0xa1)]($(_0x78c648(0xf9)));const _0x39ef3d=$('<button/>');_0x39ef3d[_0x78c648(0x149)]('id','subscribe-button'),_0x39ef3d[_0x78c648(0x149)](_0x78c648(0x1a1),_0x78c648(0x1b4)),_0x39ef3d[_0x78c648(0x149)]('style',_0x78c648(0x1a0)),_0x39ef3d['text']('Subscribe'),this['element'][_0x78c648(0xa1)](_0x39ef3d);const _0x22e31b=document[_0x78c648(0xc4)](_0x78c648(0x189));_0x22e31b[_0x78c648(0xb5)]=_0x78c648(0x151),_0x22e31b[_0x78c648(0x101)]=!![],$(_0x78c648(0x18e))[_0x78c648(0xa1)](_0x22e31b);const _0x3b1dd1=$(_0x78c648(0x18a));_0x3b1dd1['attr'](_0x78c648(0x12f),_0x43b8ea),_0x3b1dd1[_0x78c648(0x149)](_0x78c648(0x154),_0x9ec770),_0x3b1dd1['attr'](_0x78c648(0x1aa),_0x78c648(0x163)),_0x3b1dd1[_0x78c648(0x111)](),this['element']['append'](_0x3b1dd1),_0x39ef3d['on'](_0x78c648(0x13c),()=>{const _0x5b9397=_0x78c648;_0x3b1dd1[_0x5b9397(0x108)](),_0x39ef3d[_0x5b9397(0x111)](),this[_0x5b9397(0xe0)][_0x5b9397(0x149)](_0x5b9397(0x1aa),_0x5b9397(0x1af));});}})[_0x482898(0xa5)](_0x2fdc49=>{console['log'](_0x2fdc49);});}});};function _0x639307(_0x329db6,_0x187eba,_0x28e58a,_0x531227){const _0x352c4d=_0xb87490,_0x4bbf72=$('#'+_0x329db6+_0x352c4d(0x175)),_0x335504=$('#'+_0x329db6+_0x352c4d(0x143)),_0x4b68d6=$('#'+_0x329db6+_0x352c4d(0x14c)),_0x3e0901=$('#'+_0x329db6+_0x352c4d(0xb3));let _0xe8fe0c=![];_0x4bbf72[_0x352c4d(0x111)](),_0x335504[_0x352c4d(0x111)](),_0x4b68d6[_0x352c4d(0x111)](),_0x187eba['on'](_0x352c4d(0x13c),()=>{const _0x12a193=_0x352c4d;if(_0xe8fe0c)return;_0xe8fe0c=!![],_0x4b68d6['removeClass'](_0x12a193(0x111)),_0x4b68d6[_0x12a193(0x1bd)](_0x12a193(0xf3)),_0x4bbf72[_0x12a193(0xa7)]('hide'),_0x335504[_0x12a193(0xa7)](_0x12a193(0x111)),_0x3e0901[_0x12a193(0x1bd)]('');const {body:_0xcef126,url:_0xc1ed20}=_0x28e58a();fetch(_0xc1ed20,{'method':'POST','headers':{'Content-Type':_0x12a193(0xdd)},'body':JSON[_0x12a193(0x184)](_0xcef126)})[_0x12a193(0x171)](_0xc24e0=>_0xc24e0[_0x12a193(0x104)]())[_0x12a193(0x171)](_0x105388=>{const _0x279290=_0x12a193;_0xe8fe0c=![],_0x4b68d6[_0x279290(0x111)](),console[_0x279290(0x1b6)](JSON['stringify'](_0x105388,null,'\x20'));if(_0x105388[_0x279290(0x17d)]==='ok')_0x4bbf72[_0x279290(0xb7)](_0x279290(0x111)),_0x335504[_0x279290(0xa7)](_0x279290(0x111)),_0x3e0901[_0x279290(0x1bd)](_0x105388['message'][_0x279290(0xc6)]('\x0a',_0x279290(0xf9)));else{const _0x24ea36=_0x2172b0=>!_0x2172b0?'':_0x2172b0['split']('\x0a')[_0x279290(0x13d)](_0x557567=>_0x279290(0x1a3)+_0x557567+_0x279290(0xf8))['join']('\x0a'),_0x25c896=_0x4c44ba=>Array[_0x279290(0xea)](_0x4c44ba)?_0x4c44ba[_0x279290(0x13d)](_0x24ea36)[_0x279290(0xa8)]('\x0a'):_0x24ea36(_0x4c44ba);_0x4bbf72['addClass'](_0x279290(0x111)),_0x335504[_0x279290(0xb7)]('hide'),_0x3e0901[_0x279290(0x1bd)](_0x25c896(_0x105388[_0x279290(0xe9)])+_0x25c896(_0x105388[_0x279290(0x1c5)])),_0x531227(new Error(_0x105388[_0x279290(0x17d)]),_0x105388);}})['catch'](_0x40253e=>{const _0xab28e0=_0x12a193;_0xe8fe0c=![],_0x4b68d6[_0xab28e0(0xa7)]('hide'),_0x4bbf72[_0xab28e0(0xa7)]('hide'),_0x335504[_0xab28e0(0xb7)](_0xab28e0(0x111)),_0x3e0901[_0xab28e0(0x1bd)](_0xab28e0(0x16f)+_0x40253e[_0xab28e0(0xe9)]),console[_0xab28e0(0x1b6)](_0xab28e0(0x1c9),_0x40253e);});});}_0x43b982();function _0xd2128a(_0xbe0cc0){const _0x9ce42d=_0xb87490;let _0x496e42;try{_0x496e42=new URL(_0xbe0cc0);}catch(_0xfa8bf4){return![];}return _0x496e42[_0x9ce42d(0x152)]===_0x9ce42d(0x132);}const _0x370030={'publishingEnabled':!![],'requestedLifetimeCount':0x3e8,'requestedMaxKeepAliveCount':0xa,'requestedPublishingInterval':0x3e8,'maxNotificationsPerPublish':0x0,'priority':0x64};RED[_0xb87490(0xa2)]['registerType']('OpcUa-Endpoint2',{'category':_0xb87490(0x1c2),'paletteLabel':'opcua\x20endpoint','defaults':{'name':{'value':''},'endpoint':{'value':_0xb87490(0xb4),'required':!![],'validate':_0xd2128a},'securityMode':{'value':_0xb87490(0x1a9)},'securityPolicy':{'value':_0xb87490(0x1a9),'validate':_0x25a423=>{if(!_0x25a423)return![];return!![];}},'userIdentityType':{'value':'Anonymous'},'pkiName':{'value':'','validate':_0xd9f735=>!!(!_0xd9f735||_0xd9f735[_0xb87490(0x123)](/[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':'Default\x20Subscription','isDefault':!![],'parameters':Object[_0xb87490(0x11c)]({},_0x370030)},{'id':'s2','name':_0xb87490(0x188),'isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0x64,'requestedMaxKeepAliveCount':0x3,'requestedPublishingInterval':0x1388,'maxNotificationsPerPublish':0x64,'priority':0xa}},{'id':'s3','name':_0xb87490(0x12b),'isDefault':![],'parameters':{'publishingEnabled':!![],'requestedLifetimeCount':0xfa0,'requestedMaxKeepAliveCount':0x32,'requestedPublishingInterval':0xfa,'maxNotificationsPerPublish':0x64,'priority':0xc8}}],'required':![]},'namespaceAliases':{'value':[{'alias':'ua','namespaceUri':_0xb87490(0x191),'isWellKnown':!![],'isDefault':!![]},{'alias':'di','namespaceUri':_0xb87490(0x1a4),'isWellKnown':!![],'isDefault':!![]}],'required':![]}},'credentials':{'userName':{'type':_0xb87490(0xd0)},'password':{'type':_0xb87490(0x15e)},'userCertificate':{'type':_0xb87490(0xd0)},'userPrivatekey':{'type':_0xb87490(0x15e)}},'label':function(){const _0x4278f5=_0xb87490;return this[_0x4278f5(0x14d)]||this[_0x4278f5(0x13f)]||_0x4278f5(0xc1);},'oneditsave'(){const _0x4fecc0=_0xb87490,_0x7c3e14=$(_0x4fecc0(0xe3)),_0x4172a5=$(_0x4fecc0(0xfc));_0x7c3e14[_0x4fecc0(0x1bc)]()===_0x4fecc0(0x1a9)&&_0x4172a5['text'](_0x4fecc0(0x1a9));{const _0x161cfd=$(_0x4fecc0(0x9c))[_0x4fecc0(0x176)](_0x4fecc0(0x12d)),_0x53bab3=[],_0x5c0f58=_0x11c593=>_0x11c593;_0x161cfd['each'](function(_0x34eb99,_0x9110fb){const _0x4747f8=_0x4fecc0,_0x199abd=$(this),_0x2b4101={'id':'s'+_0x34eb99,'name':_0x199abd[_0x4747f8(0x196)](_0x4747f8(0x10e))[_0x4747f8(0x1bc)](),'isDefault':!!_0x199abd[_0x4747f8(0x196)]('.input-isDefault')[_0x4747f8(0x1bc)](),'parameters':{'publishingEnabled':!!_0x199abd['find'](_0x4747f8(0x156))['is'](_0x4747f8(0xb2)),'requestedLifetimeCount':_0x5c0f58(_0x199abd[_0x4747f8(0x196)]('.input-requestedLifetimeCount')[_0x4747f8(0x1bc)]()),'requestedMaxKeepAliveCount':_0x5c0f58(_0x199abd[_0x4747f8(0x196)](_0x4747f8(0xaf))[_0x4747f8(0x1bc)]()),'requestedPublishingInterval':_0x5c0f58(_0x199abd['find'](_0x4747f8(0x11a))[_0x4747f8(0x1bc)]()),'maxNotificationsPerPublish':_0x5c0f58(_0x199abd['find'](_0x4747f8(0xf0))[_0x4747f8(0x1bc)]()),'priority':_0x5c0f58(_0x199abd[_0x4747f8(0x196)](_0x4747f8(0xd8))['val']())}};_0x2b4101[_0x4747f8(0x134)][_0x4747f8(0x1c4)]=!![],_0x2b4101[_0x4747f8(0x109)]&&_0x2b4101['id']==='s0'&&(_0x2b4101[_0x4747f8(0x14d)]=_0x4747f8(0x119)),_0x53bab3[_0x4747f8(0x148)](_0x2b4101);}),this[_0x4fecc0(0x190)]=_0x53bab3;}{const _0x1d1bee=$(_0x4fecc0(0xd2))['editableList'](_0x4fecc0(0x12d)),_0x2a9391=[];_0x1d1bee['each'](function(_0x3967cb,_0x263c11){const _0x40bb26=_0x4fecc0,_0x2d6e0=$(this),_0x1199ed={'namespaceUri':_0x2d6e0[_0x40bb26(0x196)](_0x40bb26(0x18d))[_0x40bb26(0x1bc)](),'alias':_0x2d6e0[_0x40bb26(0x196)]('.node-input-alias-alias')[_0x40bb26(0x1bc)]()};_0x2a9391[_0x40bb26(0x148)](_0x1199ed);}),this[_0x4fecc0(0x165)]=_0x2a9391;}},'oneditprepare'(){const _0x2a8979=_0xb87490,_0x5d013e=this;_0x38bb8c();const _0x54feee=RED[_0x2a8979(0x17b)][_0x2a8979(0x1a5)]({'id':'node-config-endpoint-tabs','onchange':_0x3c3ff2=>{const _0x255481=_0x2a8979;$(_0x255481(0x138))[_0x255481(0x122)]()[_0x255481(0x111)](),$('#'+_0x3c3ff2['id'])[_0x255481(0x108)]();}});_0x54feee[_0x2a8979(0x19e)]({'id':_0x2a8979(0x133),'label':_0x2a8979(0x102)},0x0),_0x54feee[_0x2a8979(0x19e)]({'id':'endpoint-tab-subscriptions','label':_0x2a8979(0x11d)},0x1),_0x54feee[_0x2a8979(0x19e)]({'id':_0x2a8979(0x11b),'label':'Namespace\x20Aliases'},0x2),setTimeout(()=>{_0x54feee['resize']();},0x0);{const _0x24c663=_0x538c27=>{const _0x8fa10a=_0x2a8979;switch(_0x538c27){case null:case undefined:case'':case _0x8fa10a(0x1a9):$('.section-securityPolicy')[_0x8fa10a(0x111)]();break;case _0x8fa10a(0xbe):case _0x8fa10a(0x106):{const _0x27e59a=$(_0x8fa10a(0x115));(_0x27e59a[_0x8fa10a(0x1bc)]()===_0x8fa10a(0x1a9)||_0x27e59a[_0x8fa10a(0x1bc)]()==='')&&_0x27e59a[_0x8fa10a(0x1bc)](_0x8fa10a(0x16e)),$(_0x8fa10a(0x115))[_0x8fa10a(0x108)]();}break;default:console[_0x8fa10a(0x1b6)](_0x8fa10a(0xcd)+_0x538c27);}};_0x24c663(_0x5d013e[_0x2a8979(0xb8)]);const _0x1fa487=$('#node-config-input-securityMode');_0x1fa487['on'](_0x2a8979(0x194),()=>{const _0x1e56d0=_0x2a8979,_0x4915e7=_0x1fa487[_0x1e56d0(0x1bc)]();_0x24c663(_0x4915e7);});}const _0x43a53b=$('#licenceWidget');_0x43a53b[_0x2a8979(0x14b)]({});{const _0x50aa0a=$(_0x2a8979(0xad)),_0x50efcd=$(_0x2a8979(0x1ab)),_0x217bfc=_0x5266d6=>{const _0x2a8a5f=_0x2a8979;_0x5266d6=_0x5266d6||'Anonymous';switch(_0x5266d6){case _0x2a8a5f(0x12a):$('#node-config-input-userName')['val'](''),$(_0x2a8a5f(0x100))[_0x2a8a5f(0x1bc)](''),_0x50aa0a['hide'](),_0x50efcd[_0x2a8a5f(0x111)]();break;case _0x2a8a5f(0x1b5):_0x50aa0a[_0x2a8a5f(0x108)](),_0x50efcd[_0x2a8a5f(0x111)]();break;case _0x2a8a5f(0x153):$(_0x2a8a5f(0x135))[_0x2a8a5f(0x1bc)](''),$(_0x2a8a5f(0x100))['val'](''),_0x50efcd['show'](),_0x50aa0a['hide']();break;default:console[_0x2a8a5f(0x1b6)]('invalid\x20userIdentityType\x20'+_0x5266d6);}};_0x217bfc(_0x5d013e[_0x2a8979(0x160)]);const _0x5476eb=$(_0x2a8979(0x18f));_0x5476eb['on'](_0x2a8979(0x194),()=>{const _0x5b0553=_0x5476eb['val']();_0x217bfc(_0x5b0553);});}$(_0x2a8979(0x103))[_0x2a8979(0x111)](),$(_0x2a8979(0x170))[_0x2a8979(0xe6)](_0x2a8979(0x16c),![]),$(_0x2a8979(0x170))['on'](_0x2a8979(0x194),function(){const _0x5dfeef=_0x2a8979;$(this)[_0x5dfeef(0xe6)]('checked')?$(_0x5dfeef(0x103))[_0x5dfeef(0x108)]():$(_0x5dfeef(0x103))[_0x5dfeef(0x111)]();});const _0x5c328e=$('#node-config-input-useTransport')[_0x2a8979(0xe6)](_0x2a8979(0x16c));_0x5c328e?$(_0x2a8979(0x9d))['show']():$(_0x2a8979(0x9d))['hide']();$('#node-config-input-useTransport')['on'](_0x2a8979(0x194),function(){const _0x42afce=_0x2a8979;$(this)[_0x42afce(0xe6)](_0x42afce(0x16c))?$('#section-TransportSettings')[_0x42afce(0x108)]():$(_0x42afce(0x9d))['hide']();}),$('#goto-config')['on'](_0x2a8979(0x13c),()=>_0x393339(this,void 0x0,void 0x0,function*(){const _0x818108=_0x2a8979;window[_0x818108(0x112)](_0xb96154('/config'),_0x818108(0x174));})),((()=>_0x393339(this,void 0x0,void 0x0,function*(){const _0x17f633=_0x2a8979;var _0x19953c,_0x4b1939,_0x3f9a31;const _0x35102d=$(_0x17f633(0xac)),_0x37923c=$(_0x17f633(0x1b3));$('#manage-certificates-link')['on'](_0x17f633(0x13c),()=>{const _0x51a85a=_0x17f633;window[_0x51a85a(0x112)](_0xb96154('/config/#certificates'),_0x51a85a(0x174));});try{const _0x5021bd=yield fetch(_0xb96154(_0x17f633(0x157))),_0x1cb9f9=yield _0x5021bd[_0x17f633(0x104)]();if(!(_0x1cb9f9===null||_0x1cb9f9===void 0x0?void 0x0:_0x1cb9f9[_0x17f633(0x1c7)])){_0x35102d['css']({'border':_0x17f633(0xef),'background':_0x17f633(0x139)}),_0x35102d['find']('i')[_0x17f633(0x16b)]()[_0x17f633(0xb7)](_0x17f633(0x1a2))[_0x17f633(0xa7)](_0x17f633(0xc3))[_0x17f633(0x129)](_0x17f633(0xf2),_0x17f633(0x178)),_0x37923c[_0x17f633(0x129)]('color',_0x17f633(0x178))[_0x17f633(0xd0)]('No\x20certificate\x20found\x20—\x20create\x20one\x20to\x20enable\x20secure\x20connections');return;}const _0xf15d7b=((_0x4b1939=(_0x19953c=_0x1cb9f9[_0x17f633(0xff)])===null||_0x19953c===void 0x0?void 0x0:_0x19953c[_0x17f633(0x123)](/commonName=([^,]+)/))===null||_0x4b1939===void 0x0?void 0x0:_0x4b1939[0x1])||_0x17f633(0xdb),_0x3ec8d3=(_0x3f9a31=_0x1cb9f9[_0x17f633(0x16a)])!==null&&_0x3f9a31!==void 0x0?_0x3f9a31:0x0;let _0x19307b,_0x3c6d75,_0x179d3d,_0x1ecace,_0x48f17d;if(_0x3ec8d3<=0x0)_0x19307b=_0x17f633(0xb9),_0x3c6d75='#dc3545',_0x179d3d=_0x17f633(0x110),_0x1ecace='#fff5f5',_0x48f17d=_0xf15d7b+_0x17f633(0xb6);else{if(_0x3ec8d3<=0x5a){_0x19307b=_0x17f633(0xc3),_0x3c6d75=_0x17f633(0x19a),_0x179d3d=_0x17f633(0x116),_0x1ecace='#fffaf0';const _0xb3c92a=Math[_0x17f633(0xd5)](_0x3ec8d3/0x16d),_0x4b810d=_0x3ec8d3%0x16d;_0x48f17d=_0xf15d7b+_0x17f633(0xda)+(_0xb3c92a>0x0?_0xb3c92a+'y\x20':'')+_0x4b810d+'d';}else{_0x19307b='fa-check-circle',_0x3c6d75='#28a745',_0x179d3d=_0x17f633(0x1a6),_0x1ecace=_0x17f633(0x1c3);const _0x33536d=Math['floor'](_0x3ec8d3/0x16d),_0x30c32d=_0x3ec8d3%0x16d;_0x48f17d=_0xf15d7b+'\x20—\x20valid\x20('+(_0x33536d>0x0?_0x33536d+'y\x20':'')+_0x30c32d+_0x17f633(0xbc);}}_0x35102d[_0x17f633(0x129)]({'border':_0x17f633(0xed)+_0x179d3d,'background':_0x1ecace}),_0x35102d[_0x17f633(0x196)]('i')[_0x17f633(0x16b)]()[_0x17f633(0xb7)](_0x17f633(0x1a2))[_0x17f633(0xa7)](_0x19307b)[_0x17f633(0x129)](_0x17f633(0xf2),_0x3c6d75),_0x37923c[_0x17f633(0x129)](_0x17f633(0xf2),_0x3c6d75)[_0x17f633(0xd0)](_0x48f17d);}catch(_0x17f8f6){_0x35102d['css']({'border':_0x17f633(0x16d),'background':_0x17f633(0x1bf)}),_0x35102d['find']('i')[_0x17f633(0x16b)]()['removeClass'](_0x17f633(0x1a2))['addClass'](_0x17f633(0x173))[_0x17f633(0x129)](_0x17f633(0xf2),_0x17f633(0xfa)),_0x37923c[_0x17f633(0x129)]('color','#888')['text'](_0x17f633(0xc9));}}))());function _0x38131d(){const _0x551af3=_0x2a8979;var _0x2cfa50;return{'id':_0x5d013e['id'],'endpoint':$(_0x551af3(0x199))[_0x551af3(0x1bc)](),'name':$(_0x551af3(0x18c))[_0x551af3(0x1bc)](),'pkiName':(_0x2cfa50=$('#node-config-input-pkiName'))===null||_0x2cfa50===void 0x0?void 0x0:_0x2cfa50[_0x551af3(0x1bc)](),'securityMode':$(_0x551af3(0xfc))[_0x551af3(0x1bc)](),'securityPolicy':$(_0x551af3(0xe3))[_0x551af3(0x1bc)](),'userIdentityType':$(_0x551af3(0x18f))['val'](),'userName':$('#node-config-input-userName')[_0x551af3(0x1bc)](),'password':$('#node-config-input-password')[_0x551af3(0x1bc)](),'userCertificate':$(_0x551af3(0xae))[_0x551af3(0x1bc)](),'userPrivatekey':$('#node-config-input-userPrivatekey')[_0x551af3(0x1bc)](),'certificate':$(_0x551af3(0x183))[_0x551af3(0x1bc)](),'useTransport':$(_0x551af3(0xcf))[_0x551af3(0xe6)](_0x551af3(0x16c)),'maxChunkCount':$(_0x551af3(0x18b))[_0x551af3(0x1bc)](),'maxMessageSize':$('#node-input-maxMessageSize')[_0x551af3(0x1bc)](),'receiveBufferSize':$(_0x551af3(0x107))['val'](),'sendBufferSize':$(_0x551af3(0x19f))[_0x551af3(0x1bc)]()};}_0x639307('connection',$(_0x2a8979(0x105)),()=>({'url':_0xb96154(_0x2a8979(0x114)),'body':{'endpointNode':_0x38131d()}}),()=>{});{const _0x4778b7=(_0x55cc4,_0x5ebf9c)=>{const _0x35af32=_0x2a8979;var _0x539498=_0x55cc4[_0x35af32(0x1ae)]()||0x64;_0x55cc4['find'](_0x35af32(0xe2))[_0x35af32(0x9f)](_0x35af32(0x1ae),_0x539498-0xf);},_0x4e94c7=$(_0x2a8979(0x9c))[_0x2a8979(0x129)]({'min-height':_0x2a8979(0x187),'min-width':'260px'})[_0x2a8979(0x176)]({'addItem':(_0x42db69,_0x4073b4,_0x2759d6)=>{const _0x255edc=_0x2a8979,_0x15eab2=_0x2759d6,_0x4ca8d2=$('#subscription-template')['clone']()['appendTo'](_0x42db69);_0x4ca8d2['removeAttr']('id')[_0x255edc(0xb7)]('hide')[_0x255edc(0xb7)](_0x255edc(0x10b))[_0x255edc(0x149)](_0x255edc(0x177),_0x4073b4),_0x4ca8d2[_0x255edc(0x196)](_0x255edc(0x10e))[_0x255edc(0x1bc)](_0x15eab2[_0x255edc(0x14d)]),_0x4ca8d2[_0x255edc(0x196)]('.input-requestedPublishingInterval')[_0x255edc(0x1bc)](_0x15eab2[_0x255edc(0x134)][_0x255edc(0x140)]),_0x4ca8d2[_0x255edc(0x196)](_0x255edc(0xaf))['val'](_0x15eab2[_0x255edc(0x134)][_0x255edc(0xc7)]),_0x4ca8d2[_0x255edc(0x196)]('.input-requestedLifetimeCount')[_0x255edc(0x1bc)](_0x15eab2[_0x255edc(0x134)][_0x255edc(0x1c6)]),_0x4ca8d2[_0x255edc(0x196)](_0x255edc(0xf0))[_0x255edc(0x1bc)](_0x15eab2[_0x255edc(0x134)][_0x255edc(0xf6)]||0x0),_0x4ca8d2['find'](_0x255edc(0xd8))['val'](_0x15eab2[_0x255edc(0x134)][_0x255edc(0xde)]||0x0),_0x4ca8d2['find'](_0x255edc(0x14e))[_0x255edc(0xd0)](''+_0x4073b4),_0x15eab2['isDefault']&&_0x4ca8d2[_0x255edc(0x196)]('.input-name')['prop'](_0x255edc(0xf1),!![]),_0x4ca8d2[_0x255edc(0x196)](_0x255edc(0xbf))[_0x255edc(0xe6)](_0x255edc(0x16c),_0x15eab2['isDefault']),_0x15eab2[_0x255edc(0x109)]&&(_0x42db69[_0x255edc(0x196)]('.red-ui-editableList-item-remove')[_0x255edc(0xa7)](_0x255edc(0x111)),setTimeout(()=>_0x4ca8d2['find'](_0x255edc(0xbf))[_0x255edc(0xe6)]('disabled',!![]),0xa));},'removable':!![],'resizeItem':_0x4778b7}),_0x31f575=()=>{const _0xade870=_0x2a8979,_0x4fa8ee=_0x5d013e[_0xade870(0x190)]||[];_0x4fa8ee[_0xade870(0xd9)]===0x0&&_0x4fa8ee['push']({'id':'s1','name':_0xade870(0x119),'isDefault':!![],'parameters':Object[_0xade870(0x11c)]({},_0x370030)});_0x4e94c7[_0xade870(0x176)](_0xade870(0xd6));for(const _0x2e4f56 of _0x4fa8ee){_0x4e94c7[_0xade870(0x176)](_0xade870(0xa3),_0x2e4f56);}};_0x31f575();}{function _0x33c988(_0x4210ce,_0x47d190,_0x2a958b){const _0x1617be=_0x2a8979,_0x314cb0=_0x2a958b,_0x3ed0bb=$(_0x1617be(0x13e))[_0x1617be(0x17c)](_0x4210ce);$(_0x1617be(0xbb),{'class':_0x1617be(0xc2),'type':_0x1617be(0xd0)})[_0x1617be(0x1bc)](_0x2a958b[_0x1617be(0xc5)]||'')['css']({'width':'5%'})[_0x1617be(0x17c)](_0x3ed0bb)[_0x1617be(0x1bc)](_0x47d190[_0x1617be(0xfd)]()),$(_0x1617be(0xbb),{'class':_0x1617be(0x179),'type':_0x1617be(0xd0)})[_0x1617be(0x1bc)](_0x2a958b[_0x1617be(0xc5)]||'')[_0x1617be(0x129)]({'width':'25%'})[_0x1617be(0x17c)](_0x3ed0bb)[_0x1617be(0x1bc)](_0x314cb0[_0x1617be(0xc5)]),$(_0x1617be(0xbb),{'class':_0x1617be(0x1ac),'type':_0x1617be(0xd0)})['val'](_0x2a958b[_0x1617be(0x193)]||'')[_0x1617be(0x129)]({'width':'70%'})[_0x1617be(0x17c)](_0x3ed0bb)[_0x1617be(0x1bc)](_0x314cb0[_0x1617be(0x193)]);}const _0x3fcf66=$(_0x2a8979(0xd2))[_0x2a8979(0x129)]({'min-height':'150px','min-width':_0x2a8979(0x12e)})[_0x2a8979(0x176)]({'addButton':![],'removable':![],'height':_0x2a8979(0x181),'scrollOnAdd':![],'addItem'(_0x3d4571,_0x2d582d,_0x5399c3){_0x33c988(_0x3d4571,_0x2d582d,_0x5399c3);}});function _0x2e59a9(){const _0xd40f2a=_0x2a8979;_0x3fcf66['editableList']('items'),_0x3fcf66[_0xd40f2a(0x176)](_0xd40f2a(0xd6));for(const _0x4ec547 of _0x5d013e[_0xd40f2a(0x165)]||[]){_0x3fcf66[_0xd40f2a(0x176)](_0xd40f2a(0xa3),_0x4ec547);}}$(_0x2a8979(0x131))['on'](_0x2a8979(0x13c),()=>_0x393339(this,void 0x0,void 0x0,function*(){const _0x4d7956=_0x2a8979,_0x8e79ae={'endpointNode':_0x38131d(),'namespaceAliases':_0x5d013e['namespaceAliases']||[]},_0x76caa1=yield fetch(_0xb96154(_0x4d7956(0x144)),{'method':'POST','headers':{'Content-Type':_0x4d7956(0xdd)},'body':JSON[_0x4d7956(0x184)](_0x8e79ae)}),_0x44d361=yield _0x76caa1[_0x4d7956(0x104)](),_0x2eea81=_0x44d361[_0x4d7956(0x165)];console[_0x4d7956(0x1b6)](_0x4d7956(0x165),_0x2eea81),Array['isArray'](_0x2eea81)&&(_0x5d013e[_0x4d7956(0x165)]=_0x2eea81,_0x2e59a9());})),_0x5d013e[_0x2a8979(0x165)]=_0x5d013e[_0x2a8979(0x165)]||[{'alias':'ua','namespaceUri':_0x2a8979(0x191),'isWellKnown':!![],'isDefault':!![]}],_0x2e59a9();}}});}()));
455
455
  </script>
456
456
  //# sourceMappingURL=OpcUa-Endpoint2.html.map