ultimate-jekyll-manager 0.0.118 → 0.0.120
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/CLAUDE.md +409 -23
- package/README.md +171 -2
- package/TODO.md +10 -2
- package/_backup/form-manager.backup.js +1020 -0
- package/dist/assets/js/core/auth.js +5 -4
- package/dist/assets/js/core/cookieconsent.js +24 -17
- package/dist/assets/js/core/exit-popup.js +15 -12
- package/dist/assets/js/core/social-sharing.js +8 -4
- package/dist/assets/js/libs/auth/pages.js +78 -149
- package/dist/assets/js/libs/dev.js +192 -129
- package/dist/assets/js/libs/form-manager.js +643 -775
- package/dist/assets/js/pages/account/index.js +3 -2
- package/dist/assets/js/pages/account/sections/api-keys.js +37 -52
- package/dist/assets/js/pages/account/sections/connections.js +37 -46
- package/dist/assets/js/pages/account/sections/delete.js +57 -78
- package/dist/assets/js/pages/account/sections/profile.js +37 -56
- package/dist/assets/js/pages/account/sections/security.js +102 -125
- package/dist/assets/js/pages/admin/notifications/new/index.js +73 -151
- package/dist/assets/js/pages/blog/index.js +33 -53
- package/dist/assets/js/pages/contact/index.js +112 -173
- package/dist/assets/js/pages/download/index.js +39 -86
- package/dist/assets/js/pages/oauth2/index.js +17 -17
- package/dist/assets/js/pages/payment/checkout/index.js +23 -36
- package/dist/assets/js/pages/pricing/index.js +5 -2
- package/dist/assets/js/pages/test/libraries/form-manager/index.js +194 -0
- package/dist/assets/themes/classy/css/components/_cards.scss +2 -2
- package/dist/defaults/_.env +6 -0
- package/dist/defaults/_.gitignore +7 -1
- package/dist/defaults/dist/_includes/core/body.html +5 -13
- package/dist/defaults/dist/_includes/core/foot.html +1 -0
- package/dist/defaults/dist/_includes/themes/classy/frontend/sections/nav.html +51 -36
- package/dist/defaults/dist/_layouts/blueprint/admin/notifications/new.html +13 -2
- package/dist/defaults/dist/_layouts/themes/classy/frontend/pages/about.html +84 -42
- package/dist/defaults/dist/_layouts/themes/classy/frontend/pages/account/index.html +26 -21
- package/dist/defaults/dist/_layouts/themes/classy/frontend/pages/auth/signin.html +2 -2
- package/dist/defaults/dist/_layouts/themes/classy/frontend/pages/auth/signup.html +2 -2
- package/dist/defaults/dist/_layouts/themes/classy/frontend/pages/blog/index.html +72 -58
- package/dist/defaults/dist/_layouts/themes/classy/frontend/pages/blog/post.html +46 -29
- package/dist/defaults/dist/_layouts/themes/classy/frontend/pages/contact.html +46 -53
- package/dist/defaults/dist/_layouts/themes/classy/frontend/pages/download.html +111 -73
- package/dist/defaults/dist/_layouts/themes/classy/frontend/pages/index.html +111 -56
- package/dist/defaults/dist/_layouts/themes/classy/frontend/pages/pricing.html +127 -81
- package/dist/defaults/dist/pages/test/libraries/form-manager.html +181 -0
- package/dist/defaults/dist/pages/test/libraries/lazy-loading.html +1 -1
- package/dist/gulp/tasks/defaults.js +210 -1
- package/dist/gulp/tasks/serve.js +18 -0
- package/dist/lib/logger.js +1 -1
- package/firebase-debug.log +770 -0
- package/package.json +6 -6
- package/.playwright-mcp/page-2025-10-22T19-11-27-666Z.png +0 -0
- package/.playwright-mcp/page-2025-10-22T19-11-57-357Z.png +0 -0
|
@@ -121,159 +121,222 @@ function setupBreakpointLogger() {
|
|
|
121
121
|
function setupTrackingInterceptors() {
|
|
122
122
|
console.log('🔍 Setting up tracking interceptors...');
|
|
123
123
|
|
|
124
|
-
//
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
const eventNameOrParams = args[1];
|
|
131
|
-
const params = args[2];
|
|
132
|
-
|
|
133
|
-
// Log the gtag call
|
|
134
|
-
console.log('📊 gtag:', {
|
|
135
|
-
command: command,
|
|
136
|
-
event: eventNameOrParams,
|
|
137
|
-
params: params || eventNameOrParams,
|
|
138
|
-
fullArgs: args
|
|
139
|
-
});
|
|
140
|
-
|
|
141
|
-
// Call the original gtag function
|
|
142
|
-
return originalGtag.apply(this, arguments);
|
|
143
|
-
};
|
|
144
|
-
console.log('✅ gtag interceptor installed');
|
|
145
|
-
}
|
|
124
|
+
// Track which interceptors have been installed
|
|
125
|
+
const installed = {
|
|
126
|
+
gtag: false,
|
|
127
|
+
fbq: false,
|
|
128
|
+
ttq: false,
|
|
129
|
+
};
|
|
146
130
|
|
|
147
|
-
//
|
|
148
|
-
|
|
149
|
-
|
|
131
|
+
// Try to install interceptors
|
|
132
|
+
const tryInstallInterceptors = () => {
|
|
133
|
+
// Try installing gtag if not already installed
|
|
134
|
+
if (!installed.gtag && typeof window.gtag !== 'undefined') {
|
|
135
|
+
installGtagInterceptor();
|
|
136
|
+
installed.gtag = true;
|
|
137
|
+
}
|
|
150
138
|
|
|
151
|
-
//
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
const params = args[2];
|
|
157
|
-
|
|
158
|
-
// Log the fbq call
|
|
159
|
-
console.log('📘 fbq:', {
|
|
160
|
-
command: command,
|
|
161
|
-
event: event,
|
|
162
|
-
params: params,
|
|
163
|
-
fullArgs: args
|
|
164
|
-
});
|
|
165
|
-
|
|
166
|
-
// Call the original fbq function
|
|
167
|
-
return originalFbq.apply(this, arguments);
|
|
168
|
-
};
|
|
139
|
+
// Try installing fbq if not already installed
|
|
140
|
+
if (!installed.fbq && typeof window.fbq !== 'undefined') {
|
|
141
|
+
installFbqInterceptor();
|
|
142
|
+
installed.fbq = true;
|
|
143
|
+
}
|
|
169
144
|
|
|
170
|
-
//
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
145
|
+
// Try installing ttq if not already installed
|
|
146
|
+
if (!installed.ttq && typeof window.ttq !== 'undefined' && window.ttq.track) {
|
|
147
|
+
// Check if it's a stub (contains 'push' in the function)
|
|
148
|
+
const isStub = window.ttq.track.toString().includes('push');
|
|
174
149
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
const args = Array.from(arguments);
|
|
180
|
-
console.log('📘 fbq.callMethod:', args);
|
|
181
|
-
return originalCallMethod.apply(originalFbq, arguments);
|
|
182
|
-
};
|
|
150
|
+
if (!isStub) {
|
|
151
|
+
installTtqInterceptor();
|
|
152
|
+
installed.ttq = true;
|
|
153
|
+
}
|
|
183
154
|
}
|
|
184
155
|
|
|
185
|
-
//
|
|
186
|
-
|
|
187
|
-
|
|
156
|
+
// Return true if all interceptors are installed
|
|
157
|
+
return installed.gtag && installed.fbq && installed.ttq;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
// Try installing immediately
|
|
161
|
+
if (tryInstallInterceptors()) {
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// Poll every 500ms to check if tracking libraries are ready
|
|
166
|
+
const pollInterval = setInterval(() => {
|
|
167
|
+
if (tryInstallInterceptors()) {
|
|
168
|
+
clearInterval(pollInterval);
|
|
188
169
|
}
|
|
170
|
+
}, 500);
|
|
171
|
+
|
|
172
|
+
// Stop polling after 10 seconds regardless
|
|
173
|
+
setTimeout(() => {
|
|
174
|
+
clearInterval(pollInterval);
|
|
175
|
+
console.log('⏱️ Tracking interceptor polling stopped');
|
|
189
176
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
fbqWrapper.push = originalFbq.push;
|
|
177
|
+
if (!installed.gtag) {
|
|
178
|
+
console.log('⚠️ gtag interceptor was never installed');
|
|
193
179
|
}
|
|
180
|
+
if (!installed.fbq) {
|
|
181
|
+
console.log('⚠️ fbq interceptor was never installed');
|
|
182
|
+
}
|
|
183
|
+
if (!installed.ttq) {
|
|
184
|
+
console.log('⚠️ ttq interceptor was never installed');
|
|
185
|
+
}
|
|
186
|
+
}, 10000);
|
|
187
|
+
}
|
|
194
188
|
|
|
195
|
-
|
|
196
|
-
|
|
189
|
+
function installGtagInterceptor() {
|
|
190
|
+
if (typeof window.gtag === 'undefined') {
|
|
191
|
+
return;
|
|
197
192
|
}
|
|
198
193
|
|
|
199
|
-
|
|
200
|
-
if (typeof window.ttq !== 'undefined' && window.ttq.track) {
|
|
201
|
-
const originalTtq = window.ttq;
|
|
202
|
-
const originalTrack = window.ttq.track;
|
|
203
|
-
const originalPage = window.ttq.page;
|
|
204
|
-
const originalIdentify = window.ttq.identify;
|
|
205
|
-
const originalLoad = window.ttq.load;
|
|
194
|
+
const originalGtag = window.gtag;
|
|
206
195
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
// Log the ttq.track call
|
|
214
|
-
console.log('🎵 ttq.track:', {
|
|
215
|
-
event: event,
|
|
216
|
-
params: params,
|
|
217
|
-
fullArgs: args
|
|
218
|
-
});
|
|
219
|
-
|
|
220
|
-
// Call the original track function
|
|
221
|
-
return originalTrack.apply(originalTtq, arguments);
|
|
222
|
-
};
|
|
196
|
+
window.gtag = function() {
|
|
197
|
+
const args = Array.from(arguments);
|
|
198
|
+
const command = args[0];
|
|
199
|
+
const eventNameOrParams = args[1];
|
|
200
|
+
const params = args[2];
|
|
223
201
|
|
|
224
|
-
//
|
|
225
|
-
|
|
226
|
-
|
|
202
|
+
// Log the gtag call
|
|
203
|
+
console.log('📊 gtag:', {
|
|
204
|
+
command: command,
|
|
205
|
+
event: eventNameOrParams,
|
|
206
|
+
params: params || eventNameOrParams,
|
|
207
|
+
fullArgs: args
|
|
208
|
+
});
|
|
227
209
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
});
|
|
210
|
+
// Call the original gtag function
|
|
211
|
+
return originalGtag.apply(this, arguments);
|
|
212
|
+
};
|
|
232
213
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
};
|
|
214
|
+
console.log('✅ gtag interceptor installed');
|
|
215
|
+
}
|
|
236
216
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
217
|
+
function installFbqInterceptor() {
|
|
218
|
+
if (typeof window.fbq === 'undefined') {
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
240
221
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
222
|
+
const originalFbq = window.fbq;
|
|
223
|
+
|
|
224
|
+
// Create wrapper function that preserves all properties
|
|
225
|
+
const fbqWrapper = function() {
|
|
226
|
+
const args = Array.from(arguments);
|
|
227
|
+
const command = args[0];
|
|
228
|
+
const event = args[1];
|
|
229
|
+
const params = args[2];
|
|
230
|
+
|
|
231
|
+
// Log the fbq call
|
|
232
|
+
console.log('📘 fbq:', {
|
|
233
|
+
command: command,
|
|
234
|
+
event: event,
|
|
235
|
+
params: params,
|
|
236
|
+
fullArgs: args
|
|
237
|
+
});
|
|
245
238
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
239
|
+
// Call the original fbq function
|
|
240
|
+
return originalFbq.apply(this, arguments);
|
|
241
|
+
};
|
|
249
242
|
|
|
250
|
-
|
|
251
|
-
|
|
243
|
+
// Copy all properties from original fbq to wrapper
|
|
244
|
+
Object.keys(originalFbq).forEach(key => {
|
|
245
|
+
fbqWrapper[key] = originalFbq[key];
|
|
246
|
+
});
|
|
247
|
+
|
|
248
|
+
// If callMethod exists, wrap it too
|
|
249
|
+
if (originalFbq.callMethod) {
|
|
250
|
+
const originalCallMethod = originalFbq.callMethod;
|
|
251
|
+
fbqWrapper.callMethod = function() {
|
|
252
252
|
const args = Array.from(arguments);
|
|
253
|
+
console.log('📘 fbq.callMethod:', args);
|
|
254
|
+
return originalCallMethod.apply(originalFbq, arguments);
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
// Preserve queue if it exists (for stub implementation)
|
|
259
|
+
if (originalFbq.queue) {
|
|
260
|
+
fbqWrapper.queue = originalFbq.queue;
|
|
261
|
+
}
|
|
253
262
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
});
|
|
263
|
+
// Preserve push method if it exists (for stub implementation)
|
|
264
|
+
if (originalFbq.push) {
|
|
265
|
+
fbqWrapper.push = originalFbq.push;
|
|
266
|
+
}
|
|
259
267
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
268
|
+
window.fbq = fbqWrapper;
|
|
269
|
+
console.log('✅ fbq interceptor installed');
|
|
270
|
+
}
|
|
263
271
|
|
|
264
|
-
|
|
272
|
+
function installTtqInterceptor() {
|
|
273
|
+
if (typeof window.ttq === 'undefined' || !window.ttq.track) {
|
|
274
|
+
return;
|
|
265
275
|
}
|
|
266
276
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
const originalTtq = window.ttq;
|
|
278
|
+
const originalTrack = window.ttq.track;
|
|
279
|
+
const originalPage = window.ttq.page;
|
|
280
|
+
const originalIdentify = window.ttq.identify;
|
|
281
|
+
const originalLoad = window.ttq.load;
|
|
282
|
+
|
|
283
|
+
// Intercept track method
|
|
284
|
+
window.ttq.track = function() {
|
|
285
|
+
const args = Array.from(arguments);
|
|
286
|
+
const event = args[0];
|
|
287
|
+
const params = args[1];
|
|
288
|
+
|
|
289
|
+
// Log the ttq.track call
|
|
290
|
+
console.log('🎵 ttq.track:', {
|
|
291
|
+
event: event,
|
|
292
|
+
params: params,
|
|
293
|
+
fullArgs: args
|
|
294
|
+
});
|
|
295
|
+
|
|
296
|
+
// Call the original track function
|
|
297
|
+
return originalTrack.apply(originalTtq, arguments);
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
// Intercept page method
|
|
301
|
+
window.ttq.page = function() {
|
|
302
|
+
const args = Array.from(arguments);
|
|
303
|
+
|
|
304
|
+
// Log the ttq.page call
|
|
305
|
+
console.log('🎵 ttq.page:', {
|
|
306
|
+
fullArgs: args
|
|
307
|
+
});
|
|
308
|
+
|
|
309
|
+
// Call the original page function
|
|
310
|
+
return originalPage.apply(originalTtq, arguments);
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
// Intercept identify method
|
|
314
|
+
window.ttq.identify = function() {
|
|
315
|
+
const args = Array.from(arguments);
|
|
316
|
+
|
|
317
|
+
// Log the ttq.identify call
|
|
318
|
+
console.log('🎵 ttq.identify:', {
|
|
319
|
+
userData: args[0],
|
|
320
|
+
fullArgs: args
|
|
321
|
+
});
|
|
322
|
+
|
|
323
|
+
// Call the original identify function
|
|
324
|
+
return originalIdentify.apply(originalTtq, arguments);
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
// Intercept load method
|
|
328
|
+
window.ttq.load = function() {
|
|
329
|
+
const args = Array.from(arguments);
|
|
330
|
+
|
|
331
|
+
// Log the ttq.load call
|
|
332
|
+
console.log('🎵 ttq.load:', {
|
|
333
|
+
pixelId: args[0],
|
|
334
|
+
fullArgs: args
|
|
335
|
+
});
|
|
336
|
+
|
|
337
|
+
// Call the original load function
|
|
338
|
+
return originalLoad.apply(originalTtq, arguments);
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
console.log('✅ ttq interceptor installed');
|
|
279
342
|
}
|