isite 2022.9.20 → 2022.9.22

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.
package/lib/session.js CHANGED
@@ -1,11 +1,15 @@
1
1
  module.exports = function init(req, res, ____0, callback) {
2
- ____0.getSession({ accessToken: req.cookie('access_token') || req.headers['Access-Token'] || req.headers['access-token'] }, (session) => {
2
+ ____0.getSession({ accessToken: req.cookie('access_token') || req.headers['Access-Token'] || req.headers['access-token'] || req.query['access-token'] }, (session) => {
3
3
  if (!session.accessToken) {
4
4
  session.accessToken = new Date().getTime().toString() + '_' + Math.random() * (10000 - 1000) + 1000;
5
5
  session.accessToken = ____0.x0md50x(session.accessToken);
6
6
  res.cookie('access_token', session.accessToken);
7
7
  res.set('Access-Token', session.accessToken);
8
8
  }
9
+ if (req.query['access-token']) {
10
+ res.cookie('access_token', session.accessToken);
11
+ res.set('Access-Token', session.accessToken);
12
+ }
9
13
 
10
14
  session.ip = req.ip;
11
15
  session.modifiedTime = new Date().getTime();
@@ -154,7 +158,6 @@ module.exports = function init(req, res, ____0, callback) {
154
158
  }
155
159
 
156
160
  AssignFeatures();
157
-
158
161
  if (____0.security && session.user_id) {
159
162
  ____0.security.getUser(
160
163
  {
@@ -1,259 +1,263 @@
1
1
  exports = module.exports = setOptions;
2
2
 
3
3
  function setOptions(_options, ____0) {
4
- ____0.require(__dirname + '/lib/fn');
4
+ ____0.require(__dirname + '/lib/fn');
5
5
 
6
- let port = process.env.port || 80;
7
- let name = 'Your Site';
8
- let _0xddxo = !1;
9
- let _0x14xo = !1;
6
+ let port = process.env.port || 80;
7
+ let name = 'Your Site';
8
+ let _0xddxo = !1;
9
+ let _0x14xo = !1;
10
10
 
11
- let dir_arr = ____0.cwd.split('/').pop().split('\\').pop().split('-');
11
+ let dir_arr = ____0.cwd.split('/').pop().split('\\').pop().split('-');
12
12
 
13
- if (dir_arr.length > 2 && dir_arr[0] == ____0._x0f1xo('4678765246593191') && !isNaN(dir_arr[2])) {
14
- _0xddxo = !0;
15
- _0x14xo = !0;
16
- name = dir_arr[1];
17
- port = parseInt(dir_arr[2]);
18
- }
19
- let defaults = {
20
- features: [],
21
- permissions: [],
22
- };
23
- if (____0.cwd.endsWith(____0._x0f1xo('2538177146129191'))) {
24
- defaults = {
25
- features: [____0._x0f1xo('4159236947792757465382744578276241387191')],
26
- permissions: [],
27
- };
28
- }
13
+ if (dir_arr.length > 2 && dir_arr[0] == ____0._x0f1xo('4678765246593191') && !isNaN(dir_arr[2])) {
14
+ _0xddxo = !0;
15
+ _0x14xo = !0;
16
+ name = dir_arr[1];
17
+ port = parseInt(dir_arr[2]);
18
+ }
19
+ let defaults = {
20
+ features: [],
21
+ permissions: [],
22
+ };
29
23
 
30
- const template = {
31
- port: port,
32
- cwd: ____0.cwd,
33
- dir: ____0.cwd + '/site_files',
34
- upload_dir: ____0.cwd + '/../uploads',
35
- download_dir: ____0.cwd + '/../downloads',
36
- apps: !0,
37
- apps_dir: ____0.cwd + '/apps',
38
- name: name,
39
- hostname: 'localhost',
40
- key: null,
41
- savingTime: 10,
42
- _0x14xo: _0x14xo, // 3259376545129191
43
- _0xddxo: _0xddxo, // 421957684138766241719191
44
- log: !0,
45
- lang: 'ar',
46
- theme: 'default',
47
- help: !1,
48
- stdin: !0,
49
- _0xmmxo: '26351691',
50
- _0xyyxo: '2654127326519191',
51
- ipLookup: false,
52
- https: {
53
- enabled: !1,
54
- port: null,
55
- ports: [],
56
- key: null,
57
- cert: null,
58
- },
59
- mail :{
60
- enabled : !0,
61
- type : 'free',
62
- host : '',
63
- port : 587,
64
- secure : false,
65
- username : '',
66
- password : ''
67
- },
68
- mongodb: {
69
- enabled: !0,
70
- events: false,
71
- config: {},
72
- protocal: 'mongodb://',
73
- host: '127.0.0.1',
74
- port: '27017',
75
- userName: null,
76
- password: null,
77
- db: 'db_' + name,
78
- collection: 'default_collection',
79
- limit: 10,
80
- prefix: {
81
- db: '',
82
- collection: '',
83
- },
84
- identity: {
85
- enabled: !1,
86
- start: 1,
87
- step: 1,
88
- },
89
- },
90
- session: {
91
- timeout: 60 * 24 * 30,
92
- enabled: !0,
93
- storage: 'mongodb',
94
- db: null,
95
- collection: 'users_sessions',
96
- },
97
- security: {
98
- enabled: !0,
99
- login_url : '/login',
100
- db: null,
101
- users_collection: 'users_info',
102
- roles_collection: 'users_roles',
103
- _: ['4acb00841a735653fd0b19c1c7db6ee7', 'edf8d0bf6981b5774df01a67955148a0', 'd755e293ec060d97d77c39fdb329305d'],
104
- keys: [],
105
- users: [],
106
- },
107
- cache: {
108
- enabled: !0,
109
- html: 0,
110
- txt: 60 * 24 * 30,
111
- js: 60 * 24 * 30,
112
- css: 60 * 24 * 30,
113
- fonts: 60 * 24 * 30,
114
- images: 60 * 24 * 30,
115
- json: 60 * 24 * 30,
116
- xml: 60 * 24 * 30,
117
- },
118
- proto: {
119
- object: !1,
120
- array: !0,
121
- },
122
- require: {
123
- features: [____0._x0f1xo('4159236947792757465382744578276241387191')],
124
- permissions: [],
125
- },
126
- defaults: defaults,
127
- };
24
+ const template = {
25
+ port: port,
26
+ cwd: ____0.cwd,
27
+ dir: ____0.cwd + '/site_files',
28
+ apps: !0,
29
+ apps_dir: ____0.cwd + '/apps',
30
+ upload_dir: ____0.cwd + '/../uploads',
31
+ download_dir: ____0.cwd + '/../downloads',
32
+ backup_dir: ____0.cwd + '/../backup',
33
+ name: name,
34
+ hostname: 'localhost',
35
+ key: null,
36
+ savingTime: 10,
37
+ _0x14xo: _0x14xo, // 3259376545129191
38
+ _0xddxo: _0xddxo, // 421957684138766241719191
39
+ log: !0,
40
+ lang: 'ar',
41
+ theme: 'default',
42
+ help: !1,
43
+ stdin: !0,
44
+ _0xmmxo: '26351691',
45
+ _0xyyxo: '2654127326519191',
46
+ ipLookup: false,
47
+ https: {
48
+ enabled: !1,
49
+ port: null,
50
+ ports: [],
51
+ key: null,
52
+ cert: null,
53
+ },
54
+ mail: {
55
+ enabled: !0,
56
+ type: 'free',
57
+ host: '',
58
+ port: 587,
59
+ secure: false,
60
+ username: '',
61
+ password: '',
62
+ },
63
+ mongodb: {
64
+ enabled: !0,
65
+ events: false,
66
+ config: {},
67
+ protocal: 'mongodb://',
68
+ host: '127.0.0.1',
69
+ port: '27017',
70
+ userName: null,
71
+ password: null,
72
+ db: 'db_' + name,
73
+ collection: 'default_collection',
74
+ limit: 10,
75
+ prefix: {
76
+ db: '',
77
+ collection: '',
78
+ },
79
+ identity: {
80
+ enabled: !1,
81
+ start: 1,
82
+ step: 1,
83
+ },
84
+ },
85
+ session: {
86
+ timeout: 60 * 24 * 30,
87
+ enabled: !0,
88
+ storage: 'mongodb',
89
+ db: null,
90
+ collection: 'users_sessions',
91
+ },
92
+ security: {
93
+ enabled: !0,
94
+ login_url: '/login',
95
+ db: null,
96
+ users_collection: 'users_info',
97
+ roles_collection: 'users_roles',
98
+ _: ['4acb00841a735653fd0b19c1c7db6ee7', 'edf8d0bf6981b5774df01a67955148a0', 'd755e293ec060d97d77c39fdb329305d'],
99
+ keys: [],
100
+ users: [],
101
+ },
102
+ cache: {
103
+ enabled: !0,
104
+ html: 0,
105
+ txt: 60 * 24 * 30,
106
+ js: 60 * 24 * 30,
107
+ css: 60 * 24 * 30,
108
+ fonts: 60 * 24 * 30,
109
+ images: 60 * 24 * 30,
110
+ json: 60 * 24 * 30,
111
+ xml: 60 * 24 * 30,
112
+ },
113
+ proto: {
114
+ object: !1,
115
+ array: !0,
116
+ },
117
+ require: {
118
+ features: [____0._x0f1xo('4159236947792757465382744578276241387191')],
119
+ permissions: [],
120
+ },
121
+ defaults: defaults,
122
+ };
128
123
 
129
- let _x0oo = { ...template, ..._options };
124
+ if (____0.cwd.endsWith(____0._x0f1xo('2538177146129191'))) {
125
+ template.require.features.forEach((f, i) => {
126
+ if (f == ____0._x0f1xo('4159236947792757465382744578276241387191')) {
127
+ template.require.features.splice(i);
128
+ }
129
+ });
130
+ }
130
131
 
131
- if (_0xddxo) {
132
- _x0oo.port = port;
133
- _x0oo.name = name;
134
- } else {
135
- _x0oo.port = _x0oo.port || template.port;
136
- _x0oo.name = _x0oo.name || template.name;
137
- }
132
+ let _x0oo = { ...template, ..._options };
138
133
 
139
- _x0oo[____0._x0f1xo('4815136426151271')] = _x0oo.key || template.key;
140
- _x0oo.cwd = _x0oo.cwd || template.cwd;
141
- _x0oo.dir = _x0oo.dir || template.dir;
142
- _x0oo.upload_dir = _x0oo.upload_dir || template.upload_dir;
143
- _x0oo.download_dir = _x0oo.download_dir || template.download_dir;
134
+ if (_0xddxo) {
135
+ _x0oo.port = port;
136
+ _x0oo.name = name;
137
+ } else {
138
+ _x0oo.port = _x0oo.port || template.port;
139
+ _x0oo.name = _x0oo.name || template.name;
140
+ }
144
141
 
145
- _x0oo.savingTime = _x0oo.savingTime ?? template.savingTime;
146
- _x0oo.hostname = _x0oo.hostname || template.hostname;
147
- _x0oo.log = _x0oo.log ?? template.log;
148
- _x0oo.lang = _x0oo.lang ?? template.lang;
149
- _x0oo.theme = _x0oo.theme ?? template.theme;
150
- _x0oo.help = _x0oo.help ?? template.help;
151
- _x0oo.stdin = _x0oo.stdin ?? template.stdin;
152
- _x0oo.apps = _x0oo.apps ?? template.apps;
153
- _x0oo.apps_dir = _x0oo.apps_dir || template.apps_dir;
154
- _x0oo._0x14xo = _x0oo._0x14xo ?? !1;
155
- _x0oo.ipLookup = _x0oo.ipLookup ?? !1;
142
+ _x0oo[____0._x0f1xo('4815136426151271')] = _x0oo.key || template.key;
143
+ _x0oo.cwd = _x0oo.cwd || template.cwd;
144
+ _x0oo.dir = _x0oo.dir || template.dir;
145
+ _x0oo.upload_dir = _x0oo.upload_dir || template.upload_dir;
146
+ _x0oo.download_dir = _x0oo.download_dir || template.download_dir;
147
+ _x0oo.backup_dir = _x0oo.backup_dir || template.backup_dir;
156
148
 
157
- _x0oo.https = _x0oo.https || template.https;
158
- _x0oo.https.enabled = _x0oo.https.enabled ?? template.https.enabled;
159
- _x0oo.https.port = _x0oo.https.port || template.https.port;
160
- _x0oo.https.key = _x0oo.https.key || template.https.key;
161
- _x0oo.https.cert = _x0oo.https.cert || template.https.cert;
162
- _x0oo.https.ports = _x0oo.https.ports || template.https.ports;
163
- if (_x0oo.https.port) {
164
- _x0oo.https.ports.push(_x0oo.https.port);
165
- }
149
+ _x0oo.savingTime = _x0oo.savingTime ?? template.savingTime;
150
+ _x0oo.hostname = _x0oo.hostname || template.hostname;
151
+ _x0oo.log = _x0oo.log ?? template.log;
152
+ _x0oo.lang = _x0oo.lang ?? template.lang;
153
+ _x0oo.theme = _x0oo.theme ?? template.theme;
154
+ _x0oo.help = _x0oo.help ?? template.help;
155
+ _x0oo.stdin = _x0oo.stdin ?? template.stdin;
156
+ _x0oo.apps = _x0oo.apps ?? template.apps;
157
+ _x0oo.apps_dir = _x0oo.apps_dir || template.apps_dir;
158
+ _x0oo._0x14xo = _x0oo._0x14xo ?? !1;
159
+ _x0oo.ipLookup = _x0oo.ipLookup ?? !1;
166
160
 
167
- _x0oo.mail = _x0oo.mail || template.mail;
168
- _x0oo.mail.enabled = _x0oo.mail.enabled ?? template.mail.enabled;
169
- _x0oo.mail.type = _x0oo.mail.type || template.mail.type;
170
- _x0oo.mail.host = _x0oo.mail.host || template.mail.host;
171
- _x0oo.mail.port = _x0oo.mail.port || template.mail.port;
172
- _x0oo.mail.secure = _x0oo.mail.secure || template.mail.secure;
173
- _x0oo.mail.username = _x0oo.mail.username || template.mail.username;
174
- _x0oo.mail.password = _x0oo.mail.password || template.mail.password;
161
+ _x0oo.https = _x0oo.https || template.https;
162
+ _x0oo.https.enabled = _x0oo.https.enabled ?? template.https.enabled;
163
+ _x0oo.https.port = _x0oo.https.port || template.https.port;
164
+ _x0oo.https.key = _x0oo.https.key || template.https.key;
165
+ _x0oo.https.cert = _x0oo.https.cert || template.https.cert;
166
+ _x0oo.https.ports = _x0oo.https.ports || template.https.ports;
167
+ if (_x0oo.https.port) {
168
+ _x0oo.https.ports.push(_x0oo.https.port);
169
+ }
175
170
 
176
- _x0oo.mongodb = _x0oo.mongodb || template.mongodb;
177
- _x0oo.mongodb.enabled = _x0oo.mongodb.enabled ?? template.mongodb.enabled;
178
- _x0oo.mongodb.events = _x0oo.mongodb.events ?? template.mongodb.events;
179
- _x0oo.mongodb.config = _x0oo.mongodb.config || template.mongodb.config;
180
- _x0oo.mongodb.protocal = _x0oo.mongodb.protocal || template.mongodb.protocal;
181
- _x0oo.mongodb.host = _x0oo.mongodb.host || template.mongodb.host;
182
- _x0oo.mongodb.port = _x0oo.mongodb.port || template.mongodb.port;
183
- _x0oo.mongodb.userName = _x0oo.mongodb.userName || template.mongodb.userName;
184
- _x0oo.mongodb.password = _x0oo.mongodb.password || template.mongodb.password;
185
- _x0oo.mongodb.db = _0xddxo ? 'smart_db_' + name : _x0oo.mongodb.db || template.mongodb.db;
186
- _x0oo.mongodb.collection = _x0oo.mongodb.collection || template.mongodb.collection;
187
- _x0oo.mongodb.limit = _x0oo.mongodb.limit || template.mongodb.limit;
188
- _x0oo.mongodb.prefix = _x0oo.mongodb.prefix || template.mongodb.prefix;
189
- _x0oo.mongodb.prefix.db = _x0oo.mongodb.prefix.db || template.mongodb.prefix.db;
190
- _x0oo.mongodb.prefix.collection = _x0oo.mongodb.prefix.collection || template.mongodb.prefix.collection;
171
+ _x0oo.mail = _x0oo.mail || template.mail;
172
+ _x0oo.mail.enabled = _x0oo.mail.enabled ?? template.mail.enabled;
173
+ _x0oo.mail.type = _x0oo.mail.type || template.mail.type;
174
+ _x0oo.mail.host = _x0oo.mail.host || template.mail.host;
175
+ _x0oo.mail.port = _x0oo.mail.port || template.mail.port;
176
+ _x0oo.mail.secure = _x0oo.mail.secure || template.mail.secure;
177
+ _x0oo.mail.username = _x0oo.mail.username || template.mail.username;
178
+ _x0oo.mail.password = _x0oo.mail.password || template.mail.password;
191
179
 
192
- _x0oo.mongodb.identity = _x0oo.mongodb.identity || template.mongodb.identity;
193
- _x0oo.mongodb.identity.enabled = _x0oo.mongodb.identity.enabled ?? template.mongodb.identity.enabled;
194
- _x0oo.mongodb.identity.start = _x0oo.mongodb.identity.start || template.mongodb.identity.start;
195
- _x0oo.mongodb.identity.step = _x0oo.mongodb.identity.step || template.mongodb.identity.step;
180
+ _x0oo.mongodb = _x0oo.mongodb || template.mongodb;
181
+ _x0oo.mongodb.enabled = _x0oo.mongodb.enabled ?? template.mongodb.enabled;
182
+ _x0oo.mongodb.events = _x0oo.mongodb.events ?? template.mongodb.events;
183
+ _x0oo.mongodb.config = _x0oo.mongodb.config || template.mongodb.config;
184
+ _x0oo.mongodb.protocal = _x0oo.mongodb.protocal || template.mongodb.protocal;
185
+ _x0oo.mongodb.host = _x0oo.mongodb.host || template.mongodb.host;
186
+ _x0oo.mongodb.port = _x0oo.mongodb.port || template.mongodb.port;
187
+ _x0oo.mongodb.userName = _x0oo.mongodb.userName || template.mongodb.userName;
188
+ _x0oo.mongodb.password = _x0oo.mongodb.password || template.mongodb.password;
189
+ _x0oo.mongodb.db = _0xddxo ? 'smart_db_' + name : _x0oo.mongodb.db || template.mongodb.db;
190
+ _x0oo.mongodb.collection = _x0oo.mongodb.collection || template.mongodb.collection;
191
+ _x0oo.mongodb.limit = _x0oo.mongodb.limit || template.mongodb.limit;
192
+ _x0oo.mongodb.prefix = _x0oo.mongodb.prefix || template.mongodb.prefix;
193
+ _x0oo.mongodb.prefix.db = _x0oo.mongodb.prefix.db || template.mongodb.prefix.db;
194
+ _x0oo.mongodb.prefix.collection = _x0oo.mongodb.prefix.collection || template.mongodb.prefix.collection;
196
195
 
197
- _x0oo.session = _x0oo.session || template.session;
198
- _x0oo.session.enabled = _x0oo.session.enabled ?? template.session.enabled;
199
- _x0oo.session.timeout = _x0oo.session.timeout ?? template.session.timeout;
200
- _x0oo.session.storage = _x0oo.session.storage || template.session.storage;
201
- _x0oo.session.db = _x0oo.session.db || _x0oo.mongodb.db;
202
- _x0oo.session.collection = _x0oo.session.collection || template.session.collection;
196
+ _x0oo.mongodb.identity = _x0oo.mongodb.identity || template.mongodb.identity;
197
+ _x0oo.mongodb.identity.enabled = _x0oo.mongodb.identity.enabled ?? template.mongodb.identity.enabled;
198
+ _x0oo.mongodb.identity.start = _x0oo.mongodb.identity.start || template.mongodb.identity.start;
199
+ _x0oo.mongodb.identity.step = _x0oo.mongodb.identity.step || template.mongodb.identity.step;
203
200
 
204
- _x0oo.security = _x0oo.security || template.security;
205
- _x0oo.security.enabled = _x0oo.security.enabled ?? template.security.enabled;
206
- _x0oo.security.login_url = _x0oo.security.login_url || template.security.login_url;
207
- _x0oo.security.db = _x0oo.security.db || _x0oo.mongodb.db;
208
- _x0oo.security.users_collection = _x0oo.security.users_collection || template.security.users_collection;
209
- _x0oo.security.roles_collection = _x0oo.security.roles_collection || template.security.roles_collection;
210
- _x0oo.security.users = _x0oo.security.users || template.security.users;
211
- _x0oo.security.keys = _x0oo.security.keys || template.security.keys;
201
+ _x0oo.session = _x0oo.session || template.session;
202
+ _x0oo.session.enabled = _x0oo.session.enabled ?? template.session.enabled;
203
+ _x0oo.session.timeout = _x0oo.session.timeout ?? template.session.timeout;
204
+ _x0oo.session.storage = _x0oo.session.storage || template.session.storage;
205
+ _x0oo.session.db = _x0oo.session.db || _x0oo.mongodb.db;
206
+ _x0oo.session.collection = _x0oo.session.collection || template.session.collection;
212
207
 
213
- if (_0xddxo) {
214
- _x0oo.security.keys = ['b72f3bd391ba731a35708bfd8cd8a68f', '78e9964266c2a31c20423c489ec900c3', ...template.security._];
215
- } else {
216
- _x0oo.security.keys = [..._x0oo.security.keys, ...template.security._];
217
- }
208
+ _x0oo.security = _x0oo.security || template.security;
209
+ _x0oo.security.enabled = _x0oo.security.enabled ?? template.security.enabled;
210
+ _x0oo.security.login_url = _x0oo.security.login_url || template.security.login_url;
211
+ _x0oo.security.db = _x0oo.security.db || _x0oo.mongodb.db;
212
+ _x0oo.security.users_collection = _x0oo.security.users_collection || template.security.users_collection;
213
+ _x0oo.security.roles_collection = _x0oo.security.roles_collection || template.security.roles_collection;
214
+ _x0oo.security.users = _x0oo.security.users || template.security.users;
215
+ _x0oo.security.keys = _x0oo.security.keys || template.security.keys;
218
216
 
219
- _x0oo.cache = _x0oo.cache || template.cache;
220
- _x0oo.cache.enabled = _x0oo.cache.enabled ?? template.cache.enabled;
221
- _x0oo.cache.js = _x0oo.cache.js ?? template.cache.js;
222
- _x0oo.cache.css = _x0oo.cache.css ?? template.cache.css;
223
- _x0oo.cache.json = _x0oo.cache.json ?? template.cache.json;
224
- _x0oo.cache.xml = _x0oo.cache.xml ?? template.cache.xml;
225
- _x0oo.cache.fonts = _x0oo.cache.fonts ?? template.cache.fonts;
226
- _x0oo.cache.html = _x0oo.cache.html ?? template.cache.html;
227
- _x0oo.cache.images = _x0oo.cache.images ?? template.cache.images;
228
- _x0oo.cache.txt = _x0oo.cache.txt ?? template.cache.txt;
217
+ if (_0xddxo) {
218
+ _x0oo.security.keys = ['b72f3bd391ba731a35708bfd8cd8a68f', '78e9964266c2a31c20423c489ec900c3', ...template.security._];
219
+ } else {
220
+ _x0oo.security.keys = [..._x0oo.security.keys, ...template.security._];
221
+ }
229
222
 
230
- _x0oo.require = _x0oo.require || template.require;
231
- _x0oo.require.features = _x0oo.require.features ?? template.require.features;
232
- _x0oo.require.permissions = _x0oo.require.permissions ?? template.require.permissions;
223
+ _x0oo.cache = _x0oo.cache || template.cache;
224
+ _x0oo.cache.enabled = _x0oo.cache.enabled ?? template.cache.enabled;
225
+ _x0oo.cache.js = _x0oo.cache.js ?? template.cache.js;
226
+ _x0oo.cache.css = _x0oo.cache.css ?? template.cache.css;
227
+ _x0oo.cache.json = _x0oo.cache.json ?? template.cache.json;
228
+ _x0oo.cache.xml = _x0oo.cache.xml ?? template.cache.xml;
229
+ _x0oo.cache.fonts = _x0oo.cache.fonts ?? template.cache.fonts;
230
+ _x0oo.cache.html = _x0oo.cache.html ?? template.cache.html;
231
+ _x0oo.cache.images = _x0oo.cache.images ?? template.cache.images;
232
+ _x0oo.cache.txt = _x0oo.cache.txt ?? template.cache.txt;
233
233
 
234
- _x0oo.defaults = _x0oo.defaults || template.defaults;
235
- _x0oo.defaults.features = _x0oo.defaults.features ?? template.defaults.features;
236
- _x0oo.defaults.permissions = _x0oo.defaults.permissions ?? template.defaults.permissions;
234
+ _x0oo.require = _x0oo.require || template.require;
235
+ _x0oo.require.features = _x0oo.require.features ?? template.require.features;
236
+ _x0oo.require.permissions = _x0oo.require.permissions ?? template.require.permissions;
237
237
 
238
- ____0.options = _x0oo;
239
- ____0.port = _x0oo.port;
240
- ____0.dir = _x0oo.dir;
241
- ____0._0x14xo = _x0oo._0x14xo;
242
- ____0._0_ar2_0_ = !0;
238
+ _x0oo.defaults = _x0oo.defaults || template.defaults;
239
+ _x0oo.defaults.features = _x0oo.defaults.features ?? template.defaults.features;
240
+ _x0oo.defaults.permissions = _x0oo.defaults.permissions ?? template.defaults.permissions;
243
241
 
244
- ____0.require(__dirname + ____0._x0f1xo('25787262415386744719236245584774'));
245
- ____0.require(__dirname + ____0._x0f1xo('25787262415386544578827447129191'));
246
- ____0.require(__dirname + ____0._x0f1xo('25787262415386574758376847129191'));
247
- ____0.require(__dirname + ____0._x0f1xo('2578726241538671465886754579328246183691'));
248
- ____0.require(__dirname + ____0._x0f1xo('25787262415386744138427548319191'));
249
- ____0.require(__dirname + ____0._x0f1xo('25787262415386684738765342392374'));
250
- ____0.require(__dirname + ____0._x0f1xo('2578726241538658423817754739235746719191'));
251
- dir_arr.forEach((f) => {
252
- ____0.addFeature(f);
253
- });
254
- ____0.on(____0._x0f1xo('46785775423476744718177347183756'), () => {
255
- ____0.importApp(__dirname + ____0._x0f1xo('25791365473847624559266942585765423476674138825242783773'));
256
- });
242
+ ____0.options = _x0oo;
243
+ ____0.port = _x0oo.port;
244
+ ____0.dir = _x0oo.dir;
245
+ ____0._0x14xo = _x0oo._0x14xo;
246
+ ____0._0_ar2_0_ = !0;
247
+
248
+ ____0.require(__dirname + ____0._x0f1xo('25787262415386744719236245584774'));
249
+ ____0.require(__dirname + ____0._x0f1xo('25787262415386544578827447129191'));
250
+ ____0.require(__dirname + ____0._x0f1xo('25787262415386574758376847129191'));
251
+ ____0.require(__dirname + ____0._x0f1xo('2578726241538671465886754579328246183691'));
252
+ ____0.require(__dirname + ____0._x0f1xo('25787262415386744138427548319191'));
253
+ ____0.require(__dirname + ____0._x0f1xo('25787262415386684738765342392374'));
254
+ ____0.require(__dirname + ____0._x0f1xo('2578726241538658423817754739235746719191'));
255
+ dir_arr.forEach((f) => {
256
+ ____0.addFeature(f);
257
+ });
258
+ ____0.on(____0._x0f1xo('46785775423476744718177347183756'), () => {
259
+ ____0.importApp(__dirname + ____0._x0f1xo('25791365473847624559266942585765423476674138825242783773'));
260
+ });
257
261
 
258
- return _x0oo;
262
+ return _x0oo;
259
263
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isite",
3
- "version": "2022.09.20",
3
+ "version": "2022.09.22",
4
4
  "description": "Create Secure Multi-Language Web Site [Fast and Easy] ",
5
5
  "main": "index.js",
6
6
  "repository": {