(()=>{"use strict";var e,t,r,o,i={13455:(e,t,r)=>{r.d(t,{WPML_PH_DISTINCT_ID:()=>o,WPML_PH_SESSION_ID:()=>i});const o="wpml_ph_distinct_id",i="wpml_ph_session_id"},12998:(e,t,r)=>{r.r(t),r.d(t,{initPostHog:()=>c});var o=r(4869),i=r(13455);const n=(e,t)=>{const r={site_key:t.siteKey,site_url:t.siteUrl,wpmlActivePlugins:t.wpmlActivePlugins};t.wpUserEmail&&(r.wp_email=t.wpUserEmail),e.setPersonProperties(r)},a=e=>{const t=e.get_distinct_id();(0,o.setCookie)(i.WPML_PH_DISTINCT_ID,t,{maxAgeMinutes:30})},s=e=>{const t=e.get_session_id();(0,o.setCookie)(i.WPML_PH_SESSION_ID,t,{maxAgeMinutes:30})},u=e=>{const t=e.isFeatureEnabled("wpml_autocapture");e.set_config({autocapture:t})},l=e=>{const t=e.isFeatureEnabled("wpml_capture_pageview");e.set_config({capture_pageview:t})},p=e=>{const t=e.isFeatureEnabled("wpml_capture_pageleave");e.set_config({capture_pageleave:t})};async function c(e){if(!e)return;const{default:t}=await r.e(843).then(r.bind(r,55476));t.init(e.apiKey,{api_host:e.host,defaults:"2025-05-24",person_profiles:e.personProfiles,disable_surveys:e.disableSurveys,autocapture:e.autoCapture,capture_pageview:e.capturePageView,capture_pageleave:e.capturePageLeave,disable_session_recording:e.disableSessionRecording,session_recording:{maskAllInputs:!0,maskInputFn:(e,t)=>"true"===t?.dataset?.wpmlPhMaskInput?"*".repeat(e.trim().length):e},loaded:t=>{u(t),l(t),p(t),n(t,e),a(t),s(t)}}),t.onFeatureFlags((()=>{u(t),l(t),p(t)}))}},4869:(e,t,r)=>{function o(e,t,r={}){const{maxAgeDays:o,maxAgeMinutes:i,domain:n,secure:a=!0,sameSite:s="Strict"}=r,u=[`${encodeURIComponent(e)}=${encodeURIComponent(t)}`,"path=/",`SameSite=${s}`];if(a&&u.push("Secure"),n&&u.push(`Domain=${n}`),o||i){const e=864e5*(o??0)+6e4*(i??0);u.push(`Expires=${new Date(Date.now()+e).toUTCString()}`)}document.cookie=u.join("; ")}r.d(t,{setCookie:()=>o})}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return i[e](r,r.exports,a),r.exports}a.m=i,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>"node-modules.js",a.miniCssF=e=>{},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="wpml:",a.l=(r,o,i,n)=>{if(e[r])e[r].push(o);else{var s,u;if(void 0!==i)for(var l=document.getElementsByTagName("script"),p=0;p<l.length;p++){var c=l[p];if(c.getAttribute("src")==r||c.getAttribute("data-webpack")==t+i){s=c;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",t+i),s.src=r),e[r]=[o];var d=(t,o)=>{s.onerror=s.onload=null,clearTimeout(m);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(o))),t)return t(o)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),u&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.j=894,(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e={894:0};a.f.j=(t,r)=>{var o=a.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise(((r,i)=>o=e[t]=[r,i]));r.push(o[2]=i);var n=a.p+a.u(t),s=new Error;a.l(n,(r=>{if(a.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+n+")",s.name="ChunkLoadError",s.type=i,s.request=n,o[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var o,i,[n,s,u]=r,l=0;if(n.some((t=>0!==e[t]))){for(o in s)a.o(s,o)&&(a.m[o]=s[o]);u&&u(a)}for(t&&t(r);l<n.length;l++)i=n[l],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=globalThis.webpackChunkwpml=globalThis.webpackChunkwpml||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),r=a(12998),(o=window.wpmlPostHog)&&(0,r.initPostHog)(o).catch(console.error)})();