(function(){try{var m=location.search.match(/[?&]gclid=([A-Za-z0-9_-]+)/);if(m&&m[1]&&window.sessionStorage){sessionStorage.setItem('gmx_gclid',m[1]);}}catch(e){}})();
window.gmxPageTopic='';
var gtm4wp_datalayer_name = "dataLayer";
var dataLayer = dataLayer || [];
const gtm4wp_use_sku_instead = 0;
const gtm4wp_currency = 'ILS';
const gtm4wp_product_per_impression = 10;
const gtm4wp_clear_ecommerce = false;
const gtm4wp_datalayer_max_timeout = 2000;
(function () {
try {
var CLICK_IDS = ['gclid','fbclid','msclkid','ttclid','wbraid','gbraid','li_fat_id'];
var qs = new URLSearchParams(window.location.search);
var urlClickIdKey = null;
for (var i = 0; i < CLICK_IDS.length; i++) {
if (qs.get(CLICK_IDS[i])) { urlClickIdKey = CLICK_IDS[i]; break; }
}// Parse existing cookie.
var existing = null;
var match = document.cookie.match(/(?:^|;\s*)gmx_first_touch=([^;]+)/);
if (match) {
try { existing = JSON.parse(decodeURIComponent(match[1])); } catch (e) { existing = null; }
}// GWP-273 — referrer-enrichment branch.
// Keep existing unless either (a) URL carries a new click id
// the stored payload lacks (paid click is a higher-value
// signal and upgrades direct/organic), OR (b) the stored
// payload has empty referrer AND the current document.referrer
// is non-empty + external (Safari/ITP/policy-quirk catch:
// first-hit may have missed the referrer; later same-session
// page-loads can recover it).
var existingHasRef = !!(existing && existing.referrer && existing.referrer !== '');
var docRef = document.referrer || '';
var refHost = '';
if (docRef) {
try {
refHost = new URL(docRef).hostname.replace(/^www\./, '').toLowerCase();
} catch (e) { refHost = ''; }
}
var ownHost = (location.host || '').replace(/^www\./, '').toLowerCase();
var currentExternalRef = !!(refHost && refHost !== ownHost);
var canEnrichRef = !!existing && !existingHasRef && currentExternalRef;if (existing) {
if (!urlClickIdKey && !canEnrichRef) return;
if (urlClickIdKey && existing[urlClickIdKey] && !canEnrichRef) return;
}var utm_keys = [
'utm_source','utm_medium','utm_campaign','utm_content','utm_term',
'utm_adgroup','utm_matchtype','utm_network','utm_device','utm_placement'
];
// GWP-273 — merge-preserving base. When enriching an existing
// payload, retain its landing_url + ts + prior click ids /
// utms; only overlay referrer (and any click id appended below
// via the forEach). Branches with/without urlClickIdKey were
// collapsed — both produced the identical Object.assign — the
// click id is added uniformly later.
//
// GWP-273 design choice: "latest external referrer wins" —
// accepted edge case where a user opens a new external tab
// post-empty-first-touch and returns; low-volume, simple, no
// sentinel flag needed.
var data;
if (existing && canEnrichRef) {
data = Object.assign({}, existing, { referrer: docRef });
} else {
data = { landing_url: window.location.href, referrer: docRef, ts: Date.now() };
}
utm_keys.concat(CLICK_IDS).forEach(function (k) {
var v = qs.get(k);
if (v) data[k] = v;
});
var encoded = encodeURIComponent(JSON.stringify(data));
if (encoded.length > 3800) return;
var expires = new Date(Date.now() + 90 * 864e5).toUTCString(); // GWP-143 C1: match Google Ads 90-day attribution window
var secure = window.location.protocol === 'https:' ? '; Secure' : '';
document.cookie = 'gmx_first_touch=' + encoded + '; Path=/; Expires=' + expires + '; SameSite=Lax' + secure;
} catch (e) {}
})();
( function () {
try {
var match = document.cookie.match( /(?:^|;\s*)gmx_first_touch=([^;]+)/ );
if ( ! match ) return;
var data;
try { data = JSON.parse( decodeURIComponent( match[1] ) ); } catch ( e ) { return; }
if ( ! data || typeof data !== 'object' ) return;
var traits = {};
Object.keys( data ).forEach( function ( k ) { traits[ 'gmx_' + k ] = data[ k ]; } );
window.gmxChatlioFirstTouchTraits = traits;
} catch ( e ) { /* never block chat */ }
} )();
var breeze_prefetch = {"local_url":"https://gomixapp.co.il","ignore_remote_prefetch":"1","ignore_list":["/cart/","/checkout/","/my-account/","/(.)/u05d4u05d8u05d5u05e4u05e1-u05e0u05e9u05dcu05d7-u05d1u05d4u05e6u05dcu05d7u05d4/","wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
https://gomixapp.co.il/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://gomixapp.co.il/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
https://gomixapp.co.il/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
var woocommerce_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_password_show":"\u05dc\u05d4\u05e6\u05d9\u05d2 \u05e1\u05d9\u05e1\u05de\u05d4","i18n_password_hide":"\u05dc\u05d4\u05e1\u05ea\u05d9\u05e8 \u05e1\u05d9\u05e1\u05de\u05d4"};
//# sourceURL=woocommerce-js-extra
https://gomixapp.co.il/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
var dataLayer_content = {"visitorLoginState":"logged-out","visitorType":"visitor-logged-out","visitorEmail":"","visitorEmailHash":"","visitorRegistrationDate":"","visitorUsername":"","visitorIP":"134.209.229.192","pagePostType":"support","pagePostType2":"single-support","deviceType":"","deviceManufacturer":"","deviceModel":"","customerTotalOrders":0,"customerTotalOrderValue":0,"customerFirstName":"","customerLastName":"","customerBillingFirstName":"","customerBillingLastName":"","customerBillingCompany":"","customerBillingAddress1":"","customerBillingAddress2":"","customerBillingCity":"","customerBillingState":"","customerBillingPostcode":"","customerBillingCountry":"","customerBillingEmail":"","customerBillingEmailHash":"","customerBillingPhone":"","customerShippingFirstName":"","customerShippingLastName":"","customerShippingCompany":"","customerShippingAddress1":"","customerShippingAddress2":"","customerShippingCity":"","customerShippingState":"","customerShippingPostcode":"","customerShippingCountry":"","cartContent":{"totals":{"applied_coupons":[],"discount_total":0,"subtotal":0,"total":0},"items":[]}};
dataLayer.push( dataLayer_content );
דלגו לתוכן
איך לערוך הודעות קבועות בשילוט דיגיטלי איך לערוך הודעות קבועות בשילוט דיגיטלי שלב 1 היכנסו לאתר העורך שלנו https://editor.gomixapp.co.il
שלב 2 הקלידו את שם המשתמש והסיסמא שלכם ולחצו 'Log in'.
שלב 3 לחצו על שם האפליקציה
שלב 4 לחצו על העמוד הרלוונטי שברצונכם לערוך לדוגמא "הודעות ועד בית – תיקון תקלת מעלית"
שלב 5 לחצו עם הלחצן השמאלי של העכבר פעמיים ולחיצה נוספת כדי לערוך את הטקסט.
שלב 6 לאחר שערכתם את הטקסט לחצו שמור (ראו תמונה)
שלב 7 לחצו על הX בצד הימני למעלה במסך
שלב 8 לחצו על 'SETTINGS'
שלב 9 זה הוא מסך ה 'SETTINGS' כאן תוכלו לראות את כל המסכים שמחוברים לשילוט שלכם במידה ומסך כלשהו לא מופיע כאן הוא גם לא יופיע בשילוט הדיגיטלי שלכם
גללו למטה ולחצו על 'Add' כדי להוסיף את העמוד עם ההודעה הקבוע
שלב 10 סמנו ב✓ את העמוד שתרצו להוסיף לשילוט
שלב 11 לחצו על 'Schedule Settings' ולאחר מכן על 'Duration'
שלב 12 שנו את זמן תצוגת ההודעה הספציפית.
שלב 13 לחצו על 'Save' בשתי האיזורים כדי לשמור את השינויים (ראה תמונה)
שלב 14 כדי להסיר תכנים יש לחצו על 'X'
שלב 15 ולאחר מכן על 'Save'
שלב 16 כדי לערוך זמן המסך להודעה ספציפית לחצו על 'Edit'
שלב 17 שנו את זמן ההודעה
שלב 18 ושמרו בלחיצה על 'Save'
שלב 19 לחצו על 'Publish' כדי לפרסם את השינויים
שלב 20 כך יראה השילוט הדיגיטלי עם העמוד שהוספנו
© 2025 ·
· כל הזכויות שמורות
GoMixApp אנו משתמשים בקובצי Cookie כדי לשפר את חוויית המשתמש שלך. המשך השימוש באתר מהווה הסכמה לשימוש בקובצי עוגיות.
(function(){
'use strict';
var forms=document.querySelectorAll('.wpcf7-form');
if(!forms.length)return;
forms.forEach(function(form){
if(form.closest('.woocommerce')||form.closest('.woocommerce-page'))return;
ix(form);
});
function ix(form){
var sb=form.querySelector('input[type="submit"],button[type="submit"]');
var cc=form.querySelector('input[name="form_consent"]');
var ni=form.querySelector('input[name="input-name"]');
var pi=form.querySelector('input[name="input-phone"]');
var ei=form.querySelector('input[name="input-email"]');
var mt=form.querySelector('textarea[name="input-message"]');
if(!sb)return;/* Detect form theme: light (product pages) vs dark (contact page) */
var isHorizontal=!!form.querySelector('.horizontal-form');
var bodyBg=window.getComputedStyle(document.body).backgroundColor;
var isDark=!isHorizontal;
form.classList.add(isDark?'gmx-dark-form':'gmx-light-form');var rf=[];
if(ni)rf.push({el:ni,type:'name'});
if(pi)rf.push({el:pi,type:'phone'});
if(ei)rf.push({el:ei,type:'email'});
rf.forEach(function(f){wf(f.el);});
if(mt)wf(mt);/* Progress bar - place OUTSIDE horizontal flex, at the form level */
var pc=document.createElement('div');
pc.className='gmx-progress-container';
pc.innerHTML='<div class="gmx-progress-text"></div><div class="gmx-progress-bar"><div class="gmx-progress-fill"></div></div>';
var horizontalDiv=form.querySelector('.horizontal-form');
if(horizontalDiv){
horizontalDiv.parentNode.insertBefore(pc,horizontalDiv);
} else {
var firstP=form.querySelector('label')?.closest('p');
if(firstP)firstP.parentNode.insertBefore(pc,firstP);
else{var fl=form.querySelector('label');if(fl)fl.parentNode.insertBefore(pc,fl);}
}rf.forEach(function(f){
var w=f.el.closest('.gmx-field-wrapper');
if(w){var em=document.createElement('div');em.className='gmx-error-msg';em.textContent=ge(f.type);w.appendChild(em);}
});
sb.classList.add('gmx-disabled');function vn(v){return v.trim().length>=2;}
function vp(v){var c=v.replace(/[\s\-\(\)]/g,'');return c.length>=9&&/^[\d\+]+$/.test(c);}
function ve(v){return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(v.trim());}
function ge(t){if(t==='name')return'\u05e0\u05d0 \u05dc\u05d4\u05d6\u05d9\u05df \u05e9\u05dd \u05de\u05dc\u05d0';if(t==='phone')return'\u05e0\u05d0 \u05dc\u05d4\u05d6\u05d9\u05df \u05de\u05e1\u05e4\u05e8 \u05d8\u05dc\u05e4\u05d5\u05df \u05ea\u05e7\u05d9\u05df';if(t==='email')return'\u05e0\u05d0 \u05dc\u05d4\u05d6\u05d9\u05df \u05db\u05ea\u05d5\u05d1\u05ea \u05d0\u05d9\u05de\u05d9\u05d9\u05dc \u05ea\u05e7\u05d9\u05e0\u05d4';return'\u05e9\u05d3\u05d4 \u05d7\u05d5\u05d1\u05d4';}
function vf(f){var v=f.el.value;if(f.type==='name')return vn(v);if(f.type==='phone')return vp(v);if(f.type==='email')return ve(v);return false;}
function uv(f,t){
var w=f.el.closest('.gmx-field-wrapper');var em=w?w.querySelector('.gmx-error-msg'):null;var v=f.el.value.trim();var ok=vf(f);
f.el.classList.remove('gmx-valid','gmx-invalid');if(w)w.classList.remove('gmx-show-valid','gmx-show-invalid');
if(v.length===0&&!t){if(em)em.classList.remove('gmx-show');return;}
if(ok){f.el.classList.add('gmx-valid');if(w)w.classList.add('gmx-show-valid');if(em)em.classList.remove('gmx-show');}
else if(t){f.el.classList.add('gmx-invalid');if(w)w.classList.add('gmx-show-invalid');if(em)em.classList.add('gmx-show');}
}
function ca(){
var ok=true,cnt=0,tot=rf.length+1;
rf.forEach(function(f){if(vf(f))cnt++;else ok=false;});
if(cc&&cc.checked)cnt++;else ok=false;
var pf=form.querySelector('.gmx-progress-fill');var pt=form.querySelector('.gmx-progress-text');
if(pf)pf.style.width=Math.round((cnt/tot)*100)+'%';
if(pt){if(ok){pt.textContent='\u05d4\u05d8\u05d5\u05e4\u05e1 \u05de\u05d5\u05db\u05df \u05dc\u05e9\u05dc\u05d9\u05d7\u05d4! \u2713';pt.style.color='#28a745';}else{var r=tot-cnt;pt.textContent='\u05e0\u05d5\u05ea\u05e8\u05d5 '+r+' \u05e9\u05d3\u05d5\u05ea \u05dc\u05de\u05d9\u05dc\u05d5\u05d9';pt.style.color='';}}
if(ok)sb.classList.remove('gmx-disabled');else sb.classList.add('gmx-disabled');
return ok;
}
var tm=new Map();
rf.forEach(function(f){
tm.set(f.el,false);
f.el.addEventListener('input',function(){uv(f,tm.get(f.el));ca();});
f.el.addEventListener('blur',function(){tm.set(f.el,true);uv(f,true);ca();});
f.el.addEventListener('focus',function(){var w=f.el.closest('.gmx-field-wrapper');if(w)w.classList.remove('gmx-show-invalid');f.el.classList.remove('gmx-invalid');var em=w?w.querySelector('.gmx-error-msg'):null;if(em)em.classList.remove('gmx-show');});
});
if(cc)cc.addEventListener('change',function(){ca();});
if(mt){mt.addEventListener('input',function(){var w=mt.closest('.gmx-field-wrapper');if(mt.value.trim().length>0){mt.classList.add('gmx-valid');mt.classList.remove('gmx-invalid');if(w){w.classList.add('gmx-show-valid');w.classList.remove('gmx-show-invalid');}}else{mt.classList.remove('gmx-valid','gmx-invalid');if(w)w.classList.remove('gmx-show-valid','gmx-show-invalid');}});}
form.addEventListener('submit',function(e){if(!ca()){e.preventDefault();e.stopPropagation();rf.forEach(function(f){tm.set(f.el,true);uv(f,true);});var fi=form.querySelector('.gmx-invalid');if(fi){fi.scrollIntoView({behavior:'smooth',block:'center'});fi.focus();}return false;}});
document.addEventListener('wpcf7mailsent',function(ev){if(ev.detail&&ev.detail.contactFormId){sb.classList.add('gmx-disabled');rf.forEach(function(f){f.el.classList.remove('gmx-valid','gmx-invalid');var w=f.el.closest('.gmx-field-wrapper');if(w)w.classList.remove('gmx-show-valid','gmx-show-invalid');tm.set(f.el,false);});var pf=form.querySelector('.gmx-progress-fill');var pt=form.querySelector('.gmx-progress-text');if(pf)pf.style.width='0%';if(pt){pt.textContent='\u05ea\u05d5\u05d3\u05d4! \u05d4\u05e4\u05e8\u05d8\u05d9\u05dd \u05e0\u05e9\u05dc\u05d7\u05d5 \u05d1\u05d4\u05e6\u05dc\u05d7\u05d4 \u2713';pt.style.color='#28a745';}}});
ca();
}
function wf(input){if(input.closest('.gmx-field-wrapper'))return;var iti=input.closest('.iti');var t=iti||input;var w=document.createElement('span');w.className='gmx-field-wrapper';t.parentNode.insertBefore(w,t);w.appendChild(t);}
})();
document.addEventListener('click', function(e) {
var el = e.target.closest('.gmx-lite-yt');
if (!el) return;
var vid = el.getAttribute('data-vid');
if (!vid) return;
var iframe = document.createElement('iframe');
iframe.src = 'https://www.youtube.com/embed/' + vid + '?autoplay=1';
iframe.style.cssText = 'position:absolute;top:0;left:0;width:100%;height:100%;border:0;';
iframe.allow = 'autoplay;encrypted-media';
iframe.allowFullscreen = true;
el.style.position = 'relative';
el.innerHTML = '';
el.appendChild(iframe);
});
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
var gmxCallFab = {"beacon":"https://gomixapp.co.il/wp-json/gmx-ops/v1/call-intent","num":"97243761717"};
//# sourceURL=gmx-call-fab-js-extra
https://gomixapp.co.il/gmx-asset/1.1.291-1779788032/plugins/common/overlay-fab/assets/overlay-fab.js
https://gomixapp.co.il/gmx-asset/1.1.291-1779819531/plugins/whatsapp-fab/assets/whatsapp-fab.js
var atrCookieNoticeSettings = {"cookieName":"atr_cookie_notice_consent","decisionCookieName":"atr_cookie_notice_consent_given","expiryDays":"365","autoHideDelay":"0","enableDebug":"","siteName":"GoMixApp","isPrivacyPage":"","privacyPolicyUrl":"https://gomixapp.co.il/privacy-policy/","privacyNoteText":"\ud83d\udca1 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e7\u05e8\u05d5\u05d0 \u05d0\u05ea \u05d4\u05e2\u05de\u05d5\u05d3 \u05d4\u05d6\u05d4 \u05ea\u05d5\u05da \u05db\u05d3\u05d9 \u05d4\u05d7\u05dc\u05d8\u05d4 \u05e2\u05dc \u05e2\u05d5\u05d2\u05d9\u05d5\u05ea","mode":"simple"};
//# sourceURL=atr-cookie-notice-simple-js-extra
https://gomixapp.co.il/wp-content/plugins/atr-cookie-notice/public/js/atr-cookie-notice-simple.js
https://gomixapp.co.il/wp-includes/js/dist/hooks.min.js
https://gomixapp.co.il/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'rtl' ] } );
//# sourceURL=wp-i18n-js-after
https://gomixapp.co.il/wp-content/plugins/contact-form-7-multi-step-module/resources/cf7msm.min.js
https://gomixapp.co.il/gmx-asset/1.1.291-1773385002/plugins/cf7/cf7-privacy-consent/cf7-privacy-consent.js
var gmxOnsiteChat = {"restBase":"https://gomixapp.co.il/wp-json/gmx-ops/v1","routeFlag":"","i18n":{"genericError":"\u05d0\u05d9\u05e8\u05e2\u05d4 \u05e9\u05d2\u05d9\u05d0\u05d4, \u05e0\u05e1\u05d5 \u05e9\u05d5\u05d1"},"opening":{"text":"\u05d1\u05e8\u05d5\u05db\u05d9\u05dd \u05d4\u05d1\u05d0\u05d9\u05dd \u05dc-GoMixApp, \u05e4\u05ea\u05e8\u05d5\u05e0\u05d5\u05ea \u05d3\u05d9\u05d2\u05d9\u05d8\u05dc\u05d9\u05d9\u05dd \u05dc\u05e2\u05e1\u05e7\u05d9\u05dd","chips":[{"id":"subject:signage-lobby","title":"\u05e9\u05d9\u05dc\u05d5\u05d8 \u05dc\u05dc\u05d5\u05d1\u05d9"},{"id":"subject:signage-synagogue","title":"\u05e9\u05d9\u05dc\u05d5\u05d8 \u05dc\u05d1\u05d9\"\u05db"},{"id":"subject:signage-wayfinding","title":"\u05e9\u05d9\u05dc\u05d5\u05d8 \u05d5\u05d4\u05db\u05d5\u05d5\u05e0\u05d4"},{"id":"subject:menus","title":"\u05ea\u05e4\u05e8\u05d9\u05d8\u05d9\u05dd"},{"id":"subject:kiosk","title":"\u05e7\u05d9\u05d5\u05e1\u05e7"},{"id":"subject:advertising-screens","title":"\u05de\u05e1\u05db\u05d9 \u05e4\u05e8\u05e1\u05d5\u05dd"},{"id":"subject:forms","title":"\u05d8\u05e4\u05e1\u05d9\u05dd"},{"id":"subject:other","title":"\u05d0\u05d7\u05e8"}]},"nudge":{"enabled":"1","greeting":"\u05e6\u05e8\u05d9\u05db\u05d9\u05dd \u05e2\u05d6\u05e8\u05d4 \u05dc\u05d1\u05d7\u05d5\u05e8 \u05e4\u05ea\u05e8\u05d5\u05df \u05d3\u05d9\u05d2\u05d9\u05d8\u05dc\u05d9? \u05d3\u05d1\u05e8\u05d5 \u05d0\u05d9\u05ea\u05e0\u05d5, \u05e0\u05e9\u05de\u05d7 \u05dc\u05e2\u05d6\u05d5\u05e8"},"replyPromise":{"show":"","text":""},"availability":{"open":"","headline":"\u05d0\u05e0\u05d7\u05e0\u05d5 \u05d0\u05d5\u05e4\u05dc\u05d9\u05d9\u05df \u05db\u05e8\u05d2\u05e2, \u05e0\u05d7\u05d6\u05d5\u05e8 \u05d0\u05dc\u05d9\u05db\u05dd \u05de\u05d7\u05e8 \u05d1\u05e9\u05e2\u05d4 00:00","nextOpenLabel":"\u05de\u05d7\u05e8 \u05d1\u05e9\u05e2\u05d4 00:00","nextOpenIso":"2026-06-07T00:00:00+03:00"}};
//# sourceURL=gmx-onsite-chat-js-extra
https://gomixapp.co.il/wp-content/plugins/duracelltomi-google-tag-manager/dist/js/gtm4wp-contact-form-7-tracker.js
https://gomixapp.co.il/wp-content/plugins/ultimate-addons-for-gutenberg/assets/js/spectra-block-positioning.min.js
https://gomixapp.co.il/gmx-asset/1.1.291-1779639013/plugins/flamingo/tracking/lead-card/first-touch-capture.js
https://gomixapp.co.il/wp-content/themes/spectra-one/assets/js/script.js
var gmxChatlioRecaptcha = {"siteKey":"6Ldnu_gsAAAAAGpkh7vCd_h3L9BA193yFU59I4Do","verifyUrl":"https://gomixapp.co.il/wp-json/gmx/v1/chatlio-recaptcha-verify"};
//# sourceURL=gmx-chatlio-recaptcha-js-extra
(function(){
function cleanUrl(url) {
// Strip query params embedded mid-path: /ID?params/file -> /ID/file
return url.replace(/\?[^\/]+\//g, '/');
}
function addWebPFallback(pic) {
if (pic.getAttribute('data-webp-fb')) return;
pic.setAttribute('data-webp-fb', '1');
var img = pic.querySelector('img');
if (!img) return;
img.onerror = function() {
this.onerror = null;
this.src = cleanUrl(this.src).replace('vi_webp','vi').replace('.webp','.jpg');
var sources = this.parentElement.querySelectorAll('source');
for (var i = 0; i < sources.length; i++) {
sources[i].srcset = cleanUrl(sources[i].srcset).replace('vi_webp','vi').replace('.webp','.jpg');
}
};
}
var observer = new MutationObserver(function() {
var pics = document.querySelectorAll('.video-seo-youtube-picture');
for (var i = 0; i < pics.length; i++) addWebPFallback(pics[i]);
});
observer.observe(document.documentElement, { childList: true, subtree: true });
})();
(function(){
var siteKey = "6Ldnu_gsAAAAAGpkh7vCd_h3L9BA193yFU59I4Do";
var action = "submit_lead_form";
var greReady = false;
var greWaiters = [];
function whenGreReady(cb) {
if (greReady) return cb();
greWaiters.push(cb);
}
(function pollGre(attempts) {
if (typeof grecaptcha !== 'undefined' && grecaptcha.enterprise) {
greReady = true;
var queued = greWaiters;
greWaiters = [];
queued.forEach(function (fn) { try { fn(); } catch (e) {} });
return;
}
if (attempts > 200) return; // give up after ~10s (200 * 50ms)
setTimeout(function () { pollGre(attempts + 1); }, 50);
})(0);
function stampToken(form) {
if (!form.querySelector('.wpcf7-form-control-wrap input[type="submit"], .wpcf7-submit')) return;
whenGreReady(function () {
grecaptcha.enterprise.ready(function () {
grecaptcha.enterprise.execute(siteKey, { action: action }).then(function (token) {
var hidden = form.querySelector('input[name="gmx_recaptcha_token"]');
if (!hidden) {
hidden = document.createElement('input');
hidden.type = 'hidden';
hidden.name = 'gmx_recaptcha_token';
form.appendChild(hidden);
}
hidden.value = token;
}).catch(function () { /* silent fail — server-side fail-open */ });
});
});
}
document.addEventListener('wpcf7submit', function (e) { stampToken(e.target); });
// Also stamp on first focus into any CF7 form (so token ready before submit).
// `whenGreReady()` queues the stamp until grecaptcha loads, so the once-
// listener stays safe even if grecaptcha isn't ready at focus-in time.
document.querySelectorAll('form.wpcf7-form').forEach(function (form) {
form.addEventListener('focusin', function once() {
form.removeEventListener('focusin', once);
stampToken(form);
});
});
})();
(function(){
var loaded = false;
function loadUserWay() {
if (loaded) return;
loaded = true;
var el = document.createElement('script');
el.setAttribute('data-account', "8n2SpmXgYy");
el.setAttribute('src', 'https://cdn.userway.org/widget.js');
document.body.appendChild(el);
events.forEach(function(e){ window.removeEventListener(e, loadUserWay, {passive: true}); });
}
var events = ['scroll', 'mousemove', 'touchstart', 'click', 'keydown'];
events.forEach(function(e){ window.addEventListener(e, loadUserWay, {passive: true}); });
})();