Files
nexus/sreweekly/articles/518/02-dora-metrics-are-lying-to-you-and-ai-is-making-it-worse.html
2026-09-12 17:23:01 +08:00

3316 lines
926 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html class="no-js" lang="en-US">
<head>
<link rel="preload" href="https://leaddev.com/wp-content/themes/pbc/src/fonts/FoundersGroteskWeb-Medium.woff2" as="font" type="font/woff2" crossorigin priority="high"><link rel="preload" href="https://leaddev.com/wp-content/themes/pbc/src/fonts/FoundersGroteskWeb-Bold.woff2" as="font" type="font/woff2" crossorigin priority="high"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script>
var gform;gform||(document.addEventListener("gform_main_scripts_loaded",function(){gform.scriptsLoaded=!0}),document.addEventListener("gform/theme/scripts_loaded",function(){gform.themeScriptsLoaded=!0}),window.addEventListener("DOMContentLoaded",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,themeScriptsLoaded:!1,isFormEditor:()=>"function"==typeof InitializeEditor,callIfLoaded:function(o){return!(!gform.domLoaded||!gform.scriptsLoaded||!gform.themeScriptsLoaded&&!gform.isFormEditor()||(gform.isFormEditor()&&console.warn("The use of gform.initializeOnLoaded() is deprecated in the form editor context and will be removed in Gravity Forms 3.1."),o(),0))},initializeOnLoaded:function(o){gform.callIfLoaded(o)||(document.addEventListener("gform_main_scripts_loaded",()=>{gform.scriptsLoaded=!0,gform.callIfLoaded(o)}),document.addEventListener("gform/theme/scripts_loaded",()=>{gform.themeScriptsLoaded=!0,gform.callIfLoaded(o)}),window.addEventListener("DOMContentLoaded",()=>{gform.domLoaded=!0,gform.callIfLoaded(o)}))},hooks:{action:{},filter:{}},addAction:function(o,r,e,t){gform.addHook("action",o,r,e,t)},addFilter:function(o,r,e,t){gform.addHook("filter",o,r,e,t)},doAction:function(o){gform.doHook("action",o,arguments)},applyFilters:function(o){return gform.doHook("filter",o,arguments)},removeAction:function(o,r){gform.removeHook("action",o,r)},removeFilter:function(o,r,e){gform.removeHook("filter",o,r,e)},addHook:function(o,r,e,t,n){null==gform.hooks[o][r]&&(gform.hooks[o][r]=[]);var d=gform.hooks[o][r];null==n&&(n=r+"_"+d.length),gform.hooks[o][r].push({tag:n,callable:e,priority:t=null==t?10:t})},doHook:function(r,o,e){var t;if(e=Array.prototype.slice.call(e,1),null!=gform.hooks[r][o]&&((o=gform.hooks[r][o]).sort(function(o,r){return o.priority-r.priority}),o.forEach(function(o){"function"!=typeof(t=o.callable)&&(t=window[t]),"action"==r?t.apply(null,e):e[0]=t.apply(null,e)})),"filter"==r)return e[0]},removeHook:function(o,r,t,n){var e;null!=gform.hooks[o][r]&&(e=(e=gform.hooks[o][r]).filter(function(o,r,e){return!!(null!=n&&n!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][r]=e)}});
</script>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><script type="text/javascript">(window.NREUM||(NREUM={})).init={privacy:{cookies_enabled:true},ajax:{deny_list:["bam.nr-data.net"]},distributed_tracing:{enabled:true}};(window.NREUM||(NREUM={})).loader_config={agentID:"718437450",accountID:"8069359",trustKey:"66686",xpid:"XAYBWFVWARAGXFFRAQUGX1c=",licenseKey:"NRJS-bf93e8d8c70f90ed4ab",applicationID:"680364193",browserID:"718437450"};;/*! For license information please see nr-loader-spa-1.321.0.min.js.LICENSE.txt */
(()=>{var e={8122(e,t,r){"use strict";r.d(t,{a:()=>i});var n=r(944);function i(e,t){try{if(!e||"object"!=typeof e)return(0,n.R)(3);if(!t||"object"!=typeof t)return(0,n.R)(4);const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),s=0===Object.keys(r).length?e:r;for(let a in s)if(void 0!==e[a])try{if(null===e[a]){r[a]=null;continue}Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=Array.from(new Set([...e[a],...t[a]])):e[a]instanceof Map||e[a]instanceof Set||e[a]instanceof Date||e[a]instanceof RegExp?r[a]=e[a]:"object"==typeof e[a]&&null!==t[a]&&"object"==typeof t[a]?r[a]=i(e[a],t[a]):r[a]=e[a]}catch(e){r[a]||(0,n.R)(1,e)}return r}catch(e){(0,n.R)(2,e)}}},2555(e,t,r){"use strict";r.d(t,{f:()=>a});var n=r(384),i=r(8122);const s={beacon:n.NT.beacon,errorBeacon:n.NT.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0};function a(e){try{return!!e.licenseKey&&!!e.errorBeacon&&!!e.applicationID}catch(e){return!1}}r.d(t,["D",0,e=>(0,i.a)(e,s)])},7699(e,t,r){"use strict";var n=r(860);const i={[n.K7.logging]:!0,[n.K7.genericEvents]:!0,[n.K7.jserrors]:!0,[n.K7.ajax]:!0};r.d(t,["It",0,1e6,"KC",0,i,"qh",0,"SESSION_ERROR"])},9324(e,t,r){"use strict";r.d(t,["A",0,"@newrelic/rrweb","x",0,"1.321.0"])},981(e,t,r){"use strict";r.d(t,["R",0,{AJAX:"AjaxRequest",PA:"PageAction",UA:"UserAction",BP:"BrowserPerformance",WS:"WebSocket",SPV:"SecurityPolicyViolation",JSE:"JavaScriptError",LOG:"Log",PVE:"PageView",PVT:"PageViewTiming",SR:"SessionReplay",ST:"SessionTrace",BI:"BrowserInteraction"}])},9752(e,t,r){"use strict";const n="newrelic-iframe-",i=n+"timing-update",s=n+"api",a=n+"api-response",o=n+"vitals-update",c=n+"ajax";r.d(t,["$8",0,o,"Gi",0,a,"KU",0,c,"Pl",0,n,"cS",0,s,"cr",0,i])},6154(e,t,r){"use strict";var n=r(1863);const i="undefined"!=typeof window&&!!window.document,s="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),a=i?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),o=Boolean("hidden"===a?.document?.visibilityState),c=""+a?.location,d=/iPad|iPhone|iPod/.test(a.navigator?.userAgent),u=d&&"undefined"==typeof SharedWorker,l=(()=>{const e=a.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),f=Date.now()-(0,n.t)();r.d(t,["OF",0,d,"RI",0,i,"WN",0,f,"bv",0,s,"gm",0,a,"lR",0,l,"m",0,c,"mw",0,o,"sb",0,u,"zk",0,()=>{const e=a?.performance?.getEntriesByType?.("navigation")?.[0];if(e&&e.responseStart>0&&e.responseStart<a.performance.now())return e}])},7295(e,t,r){"use strict";r.d(t,{Xv:()=>a,gX:()=>i,iW:()=>s});var n=[];function i(e){if(!e||s(e))return!1;if(0===n.length)return!0;if("*"===n[0].hostname)return!1;for(var t=0;t<n.length;t++){var r=n[t];if(r.hostname.test(e.hostname)&&r.pathname.test(e.pathname))return!1}return!0}function s(e){return void 0===e.hostname}function a(e){if(n=[],e&&e.length)for(var t=0;t<e.length;t++){let r=e[t];if(!r)continue;if("*"===r)return void(n=[{hostname:"*"}]);0===r.indexOf("http://")?r=r.substring(7):0===r.indexOf("https://")&&(r=r.substring(8));const i=r.indexOf("/");let s,a;i>0?(s=r.substring(0,i),a=r.substring(i)):(s=r,a="*");let[c]=s.split(":");n.push({hostname:o(c),pathname:o(a,!0)})}}function o(e,t=!1){const r=e.replace(/[.+?^${}()|[\]\\]/g,e=>"\\"+e).replace(/\*/g,".*?");return new RegExp((t?"^":"")+r+"$")}},3241(e,t,r){"use strict";r.d(t,{W:()=>i});var n=r(6154);function i(e={}){try{n.gm.dispatchEvent(new CustomEvent("newrelic",{detail:e}))}catch(e){}}},1687(e,t,r){"use strict";r.d(t,{Ak:()=>o,Ze:()=>d,x3:()=>c});var n=r(3241),i=r(3606),s=r(860),a=r(2646);function o(e,t){if(!e)return;const r={staged:!1,priority:s.P3[t]||0};e.runtime.drainRegistry.get(t)||e.runtime.drainRegistry.set(t,r)}function c(e,t){if(!e)return;const r=e.runtime.drainRegistry;r&&(r.get(t)&&r.delete(t),l(e,t,!1),r.size&&u(e))}function d(e,t="feature",r=!1){if(e){if(!e.runtime.drainRegistry.get(t)||r)return l(e,t);e.runtime.drainRegistry.get(t).staged=!0,u(e)}}function u(e){if(!e)return;const t=Array.from(e.runtime.drainRegistry);t.every(([e,t])=>t.staged)&&(t.sort((e,t)=>e[1].priority-t[1].priority),t.forEach(([t])=>{e.runtime.drainRegistry.delete(t),l(e,t)}))}function l(e,t,r=!0){if(!e)return;const s=e.ee,o=i.i.handlers;if(s&&!s.aborted&&s.backlog&&o){if((0,n.W)({type:"lifecycle",name:"drain",feature:t}),r){const e=s.backlog[t],r=o[t];if(r){for(let t=0;e&&t<e.length;++t)f(e[t],r);Object.entries(r).forEach(([e,t])=>{Object.values(t||{}).forEach(t=>{t[0]?.on&&t[0].context()instanceof a.y&&!t[0].listeners(e).includes(t[1])&&t[0].on(e,t[1])})})}}s.isolatedBacklog||delete o[t],s.backlog[t]=null,s.emit("drain-"+t,[])}}function f(e,t){var r=e[1];Object.values(t[r]||{}).forEach(t=>{var r=e[0];if(t[0]===r){var n=t[1],i=e[3],s=e[2];n.apply(i,s)}})}},7836(e,t,r){"use strict";var n=r(384),i=r(8990),s=r(2646),a=r(5607);const o="nr@context:".concat(a.W),c=function e(t,r){var n={},a={},u={},l=!1;try{l=16===r.length&&d.initializedAgents?.[r]?.runtime.isolatedBacklog}catch(e){}var f={on:p,addEventListener:p,removeEventListener:function(e,t){var r=n[e];if(!r)return;for(var i=0;i<r.length;i++)r[i]===t&&r.splice(i,1)},emit:function(e,r,n,i,s){!1!==s&&(s=!0);if(c.aborted&&!i)return;t&&s&&t.emit(e,r,n);var o=h(n);g(e).forEach(e=>{e.apply(o,r)});var d=v()[a[e]];d&&d.push([f,e,r,o]);return o},get:m,listeners:g,context:h,buffer:function(e,t){const r=v();if(t=t||"feature",f.aborted)return;Object.entries(e||{}).forEach(([e,n])=>{a[n]=t,t in r||(r[t]=[])})},abort:function(){f._aborted=!0,Object.keys(f.backlog).forEach(e=>{delete f.backlog[e]})},isBuffering:function(e){return!!v()[a[e]]},debugId:r,backlog:l?{}:t&&"object"==typeof t.backlog?t.backlog:{},isolatedBacklog:l};return Object.defineProperty(f,"aborted",{get:()=>{let e=f._aborted||!1;return e||(t&&(e=t.aborted),e)}}),f;function h(e){return e&&e instanceof s.y?e:e?(0,i.I)(e,o,()=>new s.y(o)):new s.y(o)}function p(e,t){n[e]=g(e).concat(t)}function g(e){return n[e]||[]}function m(t){return u[t]=u[t]||e(f,t)}function v(){return f.backlog}}(void 0,"globalEE"),d=(0,n.Zm)();d.ee||(d.ee=c),r.d(t,["P",0,o,"ee",0,c])},2646(e,t,r){"use strict";r.d(t,{y:()=>n});class n{constructor(e){this.contextId=e}}},9908(e,t,r){"use strict";r.d(t,{d:()=>n,p:()=>i});var n=r(7836).ee.get("handle");function i(e,t,r,i,s){s?(s.buffer([e],i),s.emit(e,t,r)):(n.buffer([e],i),n.emit(e,t,r))}},3606(e,t,r){"use strict";r.d(t,{i:()=>s});var n=r(9908);s.on=a;var i=s.handlers={};function s(e,t,r,s){a(s||n.d,i,e,t,r)}function a(e,t,r,i,s){s||(s="feature"),e||(e=n.d);var a=t[s]=t[s]||{};(a[r]=a[r]||[]).push([e,i])}},3878(e,t,r){"use strict";function n(e,t){return{capture:e,passive:!1,signal:t}}function i(e,t,r=!1,i){window.addEventListener(e,t,n(r,i))}function s(e,t,r=!1,i){document.addEventListener(e,t,n(r,i))}r.d(t,{DD:()=>s,jT:()=>n,sp:()=>i})},5607(e,t,r){"use strict";const n=(0,r(9566).bz)();r.d(t,["W",0,n])},9566(e,t,r){"use strict";r.d(t,{LA:()=>a,ZF:()=>o,bz:()=>s,el:()=>c});var n=r(6154);function i(e,t){return e?15&e[t]:16*Math.random()|0}function s(){const e=n.gm?.crypto||n.gm?.msCrypto;let t,r=0;return e&&e.getRandomValues&&(t=e.getRandomValues(new Uint8Array(30))),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("").map(e=>"x"===e?i(t,r++).toString(16):"y"===e?(3&i()|8).toString(16):e).join("")}function a(e){const t=n.gm?.crypto||n.gm?.msCrypto;let r,s=0;t&&t.getRandomValues&&(r=t.getRandomValues(new Uint8Array(e)));const a=[];for(var o=0;o<e;o++)a.push(i(r,s++).toString(16));return a.join("")}function o(){return a(16)}function c(){return a(32)}},2614(e,t,r){"use strict";r.d(t,["BB",0,18e5,"Wt",0,"NRBA_SESSION::","g",0,{OFF:0,FULL:1,ERROR:2},"iL",0,{SAME_TAB:"same-tab",CROSS_TAB:"cross-tab"},"tS",0,{STARTED:"session-started",PAUSE:"session-pause",RESET:"session-reset",RESUME:"session-resume",UPDATE:"session-update"},"wk",0,144e5])},733(e,t,r){"use strict";function n(e,t){return function(e){let t=2166136261;for(let r=0;r<e.length;r++)t^=e.charCodeAt(r),t=Math.imul(t,16777619);return(t>>>0).toString(16).padStart(8,"0")}("".concat(String(e),":").concat(String(t)))}r.d(t,{Y:()=>n})},1863(e,t,r){"use strict";function n(){return Math.floor(performance.now())}r.d(t,{t:()=>n})},9119(e,t,r){"use strict";r.d(t,{L:()=>s});var n=/([^?#]*)[^#]*(#[^?]*|$).*/,i=/([^?#]*)().*/;function s(e,t){return e?e.replace(t?n:i,"$1$2"):e}},7485(e,t,r){"use strict";r.d(t,{D:()=>i});var n=r(6154);function i(e){if(0===(e||"").indexOf("data:"))return{protocol:"data"};try{const t=new URL(e,location.href),r={port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(":")),sameOrigin:t.protocol===n.gm?.location?.protocol&&t.host===n.gm?.location?.host};return r.port&&""!==r.port||("http:"===t.protocol&&(r.port="80"),"https:"===t.protocol&&(r.port="443")),r.pathname&&""!==r.pathname?r.pathname.startsWith("/")||(r.pathname="/".concat(r.pathname)):r.pathname="/",r}catch(e){return{}}}},7866(e,t,r){"use strict";r.d(t,["Nc",0,/^\s*at Function code \(Function code:\d+:\d+\)\s*/i,"cn",0,/^\s*(?:([^@]*)(?:\(.*?\))?@)?((?:file|http|https|chrome|safari-extension).*?):(\d+)(?::(\d+))?\s*$/i,"fL",0,/^\s*at .+ \(eval at \S+ \((?:(?:file|http|https):[^)]+)?\)(?:, [^:]*:\d+:\d+)?\)$/i,"h3",0,/function (.+?)\s*\(/,"hB",0,/^\s*at (?:((?:\[object object\])?(?:[^(]*\([^)]*\))*[^()]*(?: \[as \S+\])?) )?\(?((?:file|http|https|chrome-extension):.*?)?:(\d+)(?::(\d+))?\)?\s*$/i])},944(e,t,r){"use strict";r.d(t,{R:()=>i});var n=r(3241);function i(e,t){"function"==typeof console.debug&&(console.debug("New Relic Warning: https://github.com/newrelic/newrelic-browser-agent/blob/main/docs/warning-codes.md#".concat(e),t),(0,n.W)({drained:null,type:"data",name:"warn",feature:"warn",data:{code:e,secondary:t}}))}},8990(e,t,r){"use strict";r.d(t,{I:()=>i});var n=Object.prototype.hasOwnProperty;function i(e,t,r){if(n.call(e,t))return e[t];var i=r();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!1}),i}catch(e){}return e[t]=i,i}},6389(e,t,r){"use strict";function n(e,t=500,r={}){const n=r?.leading||!1;let i;return(...r)=>{n&&void 0===i&&(e.apply(this,r),i=setTimeout(()=>{i=clearTimeout(i)},t)),n||(clearTimeout(i),i=setTimeout(()=>{e.apply(this,r)},t))}}function i(e){let t=!1;return(...r)=>{t||(t=!0,e.apply(this,r))}}r.d(t,{J:()=>i,s:()=>n})},1910(e,t,r){"use strict";r.d(t,{i:()=>s});var n=r(944);const i=new Map;function s(...e){return e.every(e=>{if(i.has(e))return i.get(e);const t="function"==typeof e?e.toString():"",r=t.includes("[native code]"),s=t.includes("nrWrapper");return r||s||(0,n.R)(64,e?.name||t),i.set(e,r),r})}},3304(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(7836);function i(e){try{return JSON.stringify(e,(()=>{const e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return r}})())??""}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}return""}}},9232(e,t,r){"use strict";r.d(t,["f",0,{MFE:"MFE",BA:"BA"}])},5718(e,t,r){"use strict";r.d(t,{AZ:()=>m,Qr:()=>E,QL:()=>v});var n=r(6154),i=r(1863),s=r(9119),a=r(7866);class o{dom=new c;performance=new c;constructor(e){this.url=e,this.claimedBy=new Set}get script(){const e=Math.max(this.dom.start,this.performance.end);return{start:e,end:Math.max(this.dom.end,this.performance.end,e)}}}class c{start=0;end=0;value=void 0}function d(e=()=>{},t){return{get:()=>void 0!==t?t:e(),set:e=>{t=e}}}let u;try{u=m(v())[0]}catch(e){u=m(e)[0]}const l=e=>"script"===e.initiatorType||["link","fetch"].includes(e.initiatorType)&&(0,s.L)(e.name).endsWith(".js"),f=new Map;let h=[];function p(e){return f.get(e)}function g(e){const t=p(e);if(t)return t;const r=new o(e);if(f.set(e,r),f.size>1e3){const e=f.keys().next().value;f.delete(e)}return r}if(n.gm.MutationObserver&&n.gm.document){new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{if("SCRIPT"===e.nodeName&&e.src){const t=g((0,s.L)(e.src));t.dom.start=(0,i.t)(),t.dom.value=e;const r=()=>{t.dom.end=(0,i.t)()};["load","error"].forEach(t=>e.addEventListener(t,r,{once:!0}))}})})}).observe(n.gm.document,{childList:!0,subtree:!0})}if(n.gm.PerformanceObserver?.supportedEntryTypes.includes("resource")){new PerformanceObserver(e=>{e.getEntries().filter(l).forEach(e=>{const t=g((0,s.L)(e.name));t.performance.start=Math.floor(e.startTime),t.performance.end=Math.floor(e.responseEnd),t.performance.value=e;const r=[];h.forEach(({test:t,addedAt:n},s)=>{(t(e)||(0,i.t)()-n>1e4)&&r.push(s)}),h=h.filter((e,t)=>!r.includes(t))})}).observe({type:"resource",buffered:!0})}function m(e){if(!e||"string"!=typeof e)return[];const t=new Set,r=e.split("\n");for(const e of r){const r=e.match(a.cn)||e.match(a.hB)||e.match(a.fL);if(r&&r[2])t.add((0,s.L)(r[2]));else{const r=e.match(/\(([^)]+\.js):\d+:\d+\)/)||e.match(/^\s+at\s+([^\s(]+\.js):\d+:\d+/);r&&r[1]&&t.add((0,s.L)(r[1]))}}return[...t]}function v(){let e;try{const t=Error.stackTraceLimit;Error.stackTraceLimit=50,e=(new Error).stack,Error.stackTraceLimit=t}catch(t){e=(new Error).stack}return e}function y(e,t){return(0,s.L)(e.name)===t}function b(e,t){e.fetchStart=Math.floor(t.startTime),e.fetchEnd=Math.floor(t.responseEnd),e.asset=t.name,e.type=t.initiatorType}function E(e){const t=e?.id,r={registeredAt:(0,i.t)(),reportedAt:void 0,fetchStart:0,fetchEnd:0,scriptStart:0,scriptEnd:0,asset:void 0,type:"unknown"},a=v();if(!a)return r;const o=n.gm.performance?.getEntriesByType("navigation")?.[0]?.name||"";try{const e=m(a),c=(e.length>1?e.filter(e=>u!==e):e)[0];if(!c)return r;if(o.includes(c))return r.asset=(0,s.L)(o),r.type="inline",r;r.correlation=p(c);const l=r.correlation?.performance.value||n.gm.performance?.getEntriesByType("resource")?.find(e=>y(e,c));if(l)b(r,l);else{(function(e){if(!e||!n.gm.document)return!1;try{const t=n.gm.document.querySelectorAll('link[rel="preload"][as="script"]');for(const r of t)if((0,s.L)(r.href)===e)return!0}catch(e){}return!1})(c)&&(r.asset=c,r.type="preload"),function(e,t){n.gm.PerformanceObserver?.supportedEntryTypes?.includes("resource")&&h.push({addedAt:(0,i.t)(),test:r=>!!y(r,t)&&(b(e,r),!0)})}(r,c)}const f=r.correlation,g=!!t&&!!f?.claimedBy.has(t);f&&t&&f.claimedBy.add(t);const v=()=>{const e=f?.script.start;if(!g||!e)return!1;return r.registeredAt-e>1e4};Object.defineProperty(r,"scriptStart",d(()=>v()?r.registeredAt:f?.script.start??r.fetchEnd)),Object.defineProperty(r,"scriptEnd",d(()=>v()?r.registeredAt:f?.script.end??r.registeredAt))}catch(e){}return r}},5732(e,t,r){"use strict";r.d(t,{$5:()=>f,B5:()=>l,M$:()=>s,Ms:()=>o,NG:()=>a,Ux:()=>d,YA:()=>u,yx:()=>c});var n=r(5718),i=r(9232);function s(e){return e?.type===i.f.MFE}function a(e,t){if(!p(e,t))return;const r=t.runtime.registeredEntities;return r?.find(t=>t.metadata.target.iframeInterfaceId===e)}function o(e,t){if(!p(e,t))return[];const r=t.runtime.registeredEntities;return r?.filter(t=>String(t.metadata.target.id)===String(e)).map(e=>e.metadata.target)||[]}function c(e,t){if(!p(e,t))return[];const r=t.runtime.registeredEntities,n=r?.filter(t=>t.metadata.timings?.asset?.endsWith(e));return function(e){if(!e?.length)return e||[];const t=new Map,r=[];for(const n of e){const e=n.metadata?.timings?.asset;if(!e){r.push(n);continue}const i="".concat(e,"::").concat(n.metadata?.target?.id),s=t.get(i);if(s){if(s.metadata.target?.blocked&&!n.metadata.target?.blocked){const e=r.indexOf(s);-1!==e&&(r[e]=n),t.set(i,n)}}else t.set(i,n),r.push(n)}return r}(n).map(e=>e.metadata.target)}function d(e,t){return h(t)?s(e)?e.attributes:t.agentRef.runtime.v2Target.attributes:{}}function u(e,t){return l(e,t)?{"child.id":e.id,"child.type":e.type,...d(void 0,t)}:{}}function l(e,t){return s(e)&&!!h(t)&&t.agentRef.init.api.register.duplicate_data_to_container}function f(e){if(!e?.runtime)return[];if(!p(!0,e)||!e.runtime.registeredEntities?.length)return[e.runtime.v2Target];const t=[];try{var r=(0,n.AZ)((0,n.QL)());let i=r.length-1;for(;r[i];)t.push(...c(r[i--],e))}catch(e){}const i=function(e){const t=new Set,r=[];for(const n of e){const e=n?.instance;t.has(e)||(t.add(e),r.push(n))}return r}(t);return i.length||i.push(e.runtime.v2Target),i}function h(e){return 2===e?.harvestEndpointVersion}function p(e,t){return!!e&&!!t?.init.api.register.enabled}},5289(e,t,r){"use strict";r.d(t,{GG:()=>a,Qr:()=>c,sB:()=>o});var n=r(3878),i=r(6389);function s(){return"undefined"==typeof document||"complete"===document.readyState}function a(e,t){if(s())return e();const r=(0,i.J)(e),a=setInterval(()=>{s()&&(clearInterval(a),r())},500);(0,n.sp)("load",r,t)}function o(e){if(s())return e();(0,n.DD)("DOMContentLoaded",e)}function c(e){if(s())return e();(0,n.sp)("popstate",e)}},384(e,t,r){"use strict";r.d(t,{Zm:()=>c,bQ:()=>u,dV:()=>d,pV:()=>l});var n=r(6154),i=r(1863),s=r(944),a=r(1910);const o={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};function c(){return n.gm.NREUM||(n.gm.NREUM={}),void 0===n.gm.newrelic&&(n.gm.newrelic=n.gm.NREUM),n.gm.NREUM}function d(){let e=c();return e.o||(e.o={ST:n.gm.setTimeout,SI:n.gm.setImmediate||n.gm.setInterval,CT:n.gm.clearTimeout,XHR:n.gm.XMLHttpRequest,REQ:n.gm.Request,EV:n.gm.Event,PR:n.gm.Promise,MO:n.gm.MutationObserver,FETCH:n.gm.fetch,WS:n.gm.WebSocket},(0,a.i)(...Object.values(e.o))),e}function u(e,t){let r=c();r.initializedAgents??={},t.initializedAt={ms:(0,i.t)(),date:new Date},r.initializedAgents[e]=t,2===Object.keys(r.initializedAgents).length&&(0,s.R)(69)}function l(){return function(){let e=c();const t=e.info||{};e.info={beacon:o.beacon,errorBeacon:o.errorBeacon,...t}}(),function(){let e=c();const t=e.init||{};e.init={...t}}(),d(),function(){let e=c();const t=e.loader_config||{};e.loader_config={...t}}(),c()}r.d(t,["NT",0,o])},2843(e,t,r){"use strict";r.d(t,{G:()=>s,u:()=>i});var n=r(3878);function i(e,t=!1,r,i){(0,n.DD)("visibilitychange",function(){if(t)return void("hidden"===document.visibilityState&&e());e(document.visibilityState)},r,i)}function s(e,t,r){(0,n.sp)("pagehide",e,t,r)}},8139(e,t,r){"use strict";r.d(t,{u:()=>f});var n=r(7836),i=r(3434),s=r(8990),a=r(6154);const o={},c=a.gm.XMLHttpRequest,d="addEventListener",u="removeEventListener",l="nr@wrapped:".concat(n.P);function f(e,t){var r=function(e){return(e||n.ee).get("events")}(e);if(o[r.debugId]++)return r;o[r.debugId]=1;var f=(0,i.YM)(r,!0,t);function p(e){f.inPlace(e,[d,u],"-",g)}function g(e,t){return e[1]}return"getPrototypeOf"in Object&&(a.RI&&h(document,p),c&&h(c.prototype,p),h(a.gm,p)),r.on(d+"-start",function(e,t){var r=e[1];if(null!==r&&("function"==typeof r||"object"==typeof r)&&"newrelic"!==e[0]){var n=(0,s.I)(r,l,function(){var e={object:function(){if("function"!=typeof r.handleEvent)return;return r.handleEvent.apply(r,arguments)},function:r}[typeof r];return e?f(e,"fn-",null,e.name||"anonymous"):r});this.wrapped=e[1]=n}}),r.on(u+"-start",function(e){e[1]=this.wrapped||e[1]}),r}function h(e,t,...r){let n=e;for(;"object"==typeof n&&!Object.prototype.hasOwnProperty.call(n,d);)n=Object.getPrototypeOf(n);n&&t(n,...r)}},3434(e,t,r){"use strict";r.d(t,{YM:()=>d});var n=r(7836),i=r(5607),s=r(5732);const a="nr@original:".concat(i.W);var o=Object.prototype.hasOwnProperty,c=!1;function d(e,t,r){return e||(e=n.ee),i.inPlace=function(e,t,r,n,s,a){r||(r="");const o="-"===r.charAt(0);for(let c=0;c<t.length;c++){const d=t[c],u=e[d];l(u)||(e[d]=i(u,o?d+r:r,n,d,s,a))}},i.flag=a,i;function i(t,n,i,c,f,h){return l(t)?t:(n||(n=""),nrWrapper[a]=t,function(e,t,r){if(Object.defineProperty&&Object.keys)try{return Object.keys(e).forEach(function(r){Object.defineProperty(t,r,{get:function(){return e[r]},set:function(t){return e[r]=t,t}})}),t}catch(e){u([e],r)}for(var n in e)o.call(e,n)&&(t[n]=e[n])}(t,nrWrapper,e),nrWrapper);function nrWrapper(){var a,o,l,p;let g,m;try{o=this,a=[...arguments],m=h?(0,s.$5)(r):[r?.runtime?.v2Target],l="function"==typeof i?i(a,o):i||{}}catch(t){u([t,"",[a,o,c],l],e)}d(n+"start",[a,o,c,m],l,f);const v=performance.now();let y;try{return p=t.apply(o,a),y=performance.now(),p}catch(e){throw y=performance.now(),d(n+"err",[a,o,e,m],l,f),g=e,g}finally{const e=y-v,t={start:v,end:y,duration:e,isLongTask:e>=50,methodName:c,thrownError:g};t.isLongTask&&d("long-task",[t,o,m],l,f),d(n+"end",[a,o,p,m],l,f)}}}function d(r,n,i,s){if(!c||t){var a=c;c=!0;try{e.emit(r,n,i,t,s)}catch(t){u([t,r,n,i],e)}c=a}}}function u(e,t){t||(t=n.ee);try{t.emit("internal-error",e)}catch(e){}}function l(e){return!(e&&"function"==typeof e&&e.apply&&!e[a])}r.d(t,["Jt",0,a])},9300(e,t,r){"use strict";const n=r(860).K7.ajax;r.d(t,["TZ",0,n,"f5",0,"ajaxRequest.id","mo",0,{NONE:"none",FAILURES:"failures",ALL:"all"}])},3333(e,t,r){"use strict";var n=r(981);const i=r(860).K7.genericEvents,s=[n.R.PA,n.R.UA,n.R.BP];r.d(t,["$v",0,{RESOURCES:"experimental.resources",REGISTER:"register"},"TZ",0,i,"Zp",0,["auxclick","click","copy","keydown","paste","scrollend"],"kd",0,s,"qN",0,["focus","blur"]])},6774(e,t,r){"use strict";const n=r(860).K7.jserrors;r.d(t,["T",0,n])},993(e,t,r){"use strict";const n=r(860).K7.logging;r.d(t,["A$",0,{OFF:0,ERROR:1,WARN:2,INFO:3,DEBUG:4,TRACE:5},"TZ",0,n,"p_",0,{ERROR:"ERROR",WARN:"WARN",INFO:"INFO",DEBUG:"DEBUG",TRACE:"TRACE"}])},3785(e,t,r){"use strict";r.d(t,{R:()=>c,b:()=>d});var n=r(9908),i=r(1863),s=r(860),a=r(3969),o=r(993);function c(e,t,r={},c=o.p_.INFO,d=!0,u,l=(0,i.t)()){(0,n.p)(a.xV,["API/logging/".concat(c.toLowerCase(),"/called")],void 0,s.K7.metrics,e),(0,n.p)("log",[l,t,r,c,d,u],void 0,s.K7.logging,e)}function d(e){return"string"==typeof e&&Object.values(o.p_).some(t=>t===e.toUpperCase().trim())}},3969(e,t,r){"use strict";const n=r(860).K7.metrics;r.d(t,["TZ",0,n,"XG",0,"storeEventMetrics","xV",0,"storeSupportabilityMetrics"])},6630(e,t,r){"use strict";const n=r(860).K7.pageViewEvent;r.d(t,["T",0,n])},782(e,t,r){"use strict";const n=r(860).K7.pageViewTiming;r.d(t,["T",0,n])},6344(e,t,r){"use strict";var n=r(2614);const i=r(860).K7.sessionReplay,s={[n.g.ERROR]:15e3,[n.g.FULL]:3e5,[n.g.OFF]:0};r.d(t,["Qb",0,{API:"api",RESUME:"resume",SWITCH_TO_FULL:"switchToFull",INITIALIZE:"initialize",PRELOAD:"preload"},"TZ",0,i,"Vh",0,"errorDuringReplay","_s",0,{DomContentLoaded:0,Load:1,FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Custom:5},"bc",0,{RESET:{message:"Session was reset",sm:"Reset"},IMPORT:{message:"Recorder failed to import",sm:"Import"},TOO_MANY:{message:"429: Too Many Requests",sm:"Too-Many"},TOO_BIG:{message:"Payload was too large",sm:"Too-Big"},CROSS_TAB:{message:"Session Entity was set to OFF on another tab",sm:"Cross-Tab"},ENTITLEMENTS:{message:"Session Replay is not allowed and will not be started",sm:"Entitlement"}},"yP",0,s])},5270(e,t,r){"use strict";r.d(t,{Aw:()=>a,SR:()=>s,rF:()=>o});var n=r(384),i=r(7767);function s(e){return!!(0,n.dV)().o.MO&&(0,i.V)(e)&&!0===e?.session_trace.enabled}function a(e){return!0===e?.session_replay.preload&&s(e)}function o(e,t){try{if("string"==typeof t?.type&&"password"===t.type.toLowerCase())return"*".repeat(e?.length||0);if(void 0!==t?.dataset?.nrUnmask||t?.classList?.contains("nr-unmask"))return e}catch(e){}return"string"==typeof e?e.replace(/[\S]/g,"*"):"*".repeat(e?.length||0)}},3738(e,t,r){"use strict";const n=r(860).K7.sessionTrace,i="-start",s="-end",a="fn"+i,o="fn"+s;r.d(t,["He",0,"bstResource","Kp",0,s,"Lc",0,o,"Rz",0,"pushState","TZ",0,n,"bD",0,"resource","bc",0,{CROSS_TAB:{message:"Session Entity was set to OFF on another tab"},ENTITLEMENTS:{message:"Session Trace is not allowed and will not be started"},RESET:{message:"Session was reset"},SESSION_CHANGED:{message:"Session identifier changed unexpectedly"}},"d3",0,i,"uP",0,a])},3962(e,t,r){"use strict";const n=r(860).K7.softNav;r.d(t,["O2",0,{INITIAL_PAGE_LOAD:"",ROUTE_CHANGE:1,UNSPECIFIED:2},"OV",0,"popstate","Qu",0,{INTERACTION:1,AJAX:2,CUSTOM_END:3,CUSTOM_TRACER:4},"TZ",0,n,"ih",0,{IP:"in progress",PF:"pending finish",FIN:"finished",CAN:"cancelled"},"pP",0,"initialPageLoad","tC",0,["click","keydown","submit"]])},4234(e,t,r){"use strict";r.d(t,{W:()=>i});var n=r(1687);class i{constructor(e,t){this.agentRef=e,this.ee=e?.ee,this.featureName=t,this.blocked=!1}deregisterDrain(){(0,n.x3)(this.agentRef,this.featureName)}}},7767(e,t,r){"use strict";var n=r(6154);r.d(t,["V",0,e=>n.RI&&!0===e?.privacy.cookies_enabled])},8362(e,t,r){"use strict";r.d(t,{d:()=>s});var n=r(9566),i=r(1741);class s extends i.W{agentIdentifier=(0,n.LA)(16)}},1741(e,t,r){"use strict";r.d(t,{W:()=>s});var n=r(944),i=r(4261);class s{#e(e,...t){if(this[e]!==s.prototype[e])return this[e](...t);(0,n.R)(35,e)}addPageAction(e,t){return this.#e(i.hG,e,t)}register(e){return this.#e(i.eY,e)}recordCustomEvent(e,t){return this.#e(i.fF,e,t)}setPageViewName(e,t){return this.#e(i.Fw,e,t)}setCustomAttribute(e,t,r){return this.#e(i.cD,e,t,r)}noticeError(e,t){return this.#e(i.o5,e,t)}setUserId(e,t=!1){return this.#e(i.Dl,e,t)}setApplicationVersion(e){return this.#e(i.nb,e)}setErrorHandler(e){return this.#e(i.bt,e)}addRelease(e,t){return this.#e(i.k6,e,t)}log(e,t){return this.#e("log",e,t)}start(){return this.#e("start")}finished(e){return this.#e(i.BL,e)}recordReplay(){return this.#e(i.CH)}pauseReplay(){return this.#e(i.Tb)}addToTrace(e){return this.#e(i.U2,e)}setCurrentRouteName(e){return this.#e(i.PA,e)}interaction(e){return this.#e(i.dT,e)}wrapLogger(e,t,r){return this.#e(i.Wb,e,t,r)}measure(e,t){return this.#e(i.V1,e,t)}consent(e){return this.#e(i.Pv,e)}}},4261(e,t,r){"use strict";r.d(t,["BL",0,"finished","CH",0,"recordReplay","Dl",0,"setUserId","Fw",0,"setPageViewName","PA",0,"setCurrentRouteName","Pv",0,"consent","Tb",0,"pauseReplay","U2",0,"addToTrace","V1",0,"measure","Wb",0,"wrapLogger","bt",0,"setErrorHandler","cD",0,"setCustomAttribute","dT",0,"interaction","eY",0,"register","fF",0,"recordCustomEvent","hG",0,"addPageAction","hw",0,"api-ixn-","k6",0,"addRelease","nb",0,"setApplicationVersion","o5",0,"noticeError"])},1738(e,t,r){"use strict";r.d(t,{U:()=>l,Y:()=>u});var n=r(3241),i=r(9908),s=r(1863),a=r(944),o=r(3969),c=r(8362),d=r(860);function u(e,t,r,s){const u=s||r;!u||u[e]&&u[e]!==c.d.prototype[e]||(u[e]=function(){(0,i.p)(o.xV,["API/"+e+"/called"],void 0,d.K7.metrics,r.ee),(0,n.W)({drained:!!r.runtime?.activatedFeatures,type:"data",name:"api",feature:"api-"+e,data:{}});try{return t.apply(this,arguments)}catch(e){(0,a.R)(23,e)}})}function l(e,t,r,n,a){const o=e.info;null===r?delete o.jsAttributes[t]:o.jsAttributes[t]=r,(a||null===r)&&(0,i.p)("api-"+n,[(0,s.t)(),t,r],void 0,"session",e.ee)}},8374(e,t,r){r.nc=(()=>{try{return document?.currentScript?.nonce}catch(e){}return""})()},860(e,t,r){"use strict";const n="events",i="jserrors",s="browser/blobs",a="browser/logs",o={ajax:"ajax",genericEvents:"generic_events",jserrors:i,logging:"logging",metrics:"metrics",pageAction:"page_action",pageViewEvent:"page_view_event",pageViewTiming:"page_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",softNav:"soft_navigations"},c={[o.pageViewEvent]:1,[o.pageViewTiming]:2,[o.metrics]:3,[o.jserrors]:4,[o.softNav]:5,[o.ajax]:6,[o.sessionTrace]:7,[o.sessionReplay]:8,[o.logging]:9,[o.genericEvents]:10},d={[o.pageViewEvent]:"rum",[o.pageViewTiming]:n,[o.ajax]:n,[o.softNav]:n,[o.metrics]:i,[o.jserrors]:i,[o.sessionTrace]:s,[o.sessionReplay]:s,[o.logging]:a,[o.genericEvents]:"ins"};r.d(t,["$J",0,d,"K7",0,o,"P3",0,c,"XX",0,i,"Yy",0,a,"df",0,s,"hg",0,"connect"])}};const t={};function r(n){const i=t[n];if(void 0!==i)return i.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.m=e,r.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var i=t[n++],s=t[n++];r.o(e,i)?0===s&&n++:0===s?Object.defineProperty(e,i,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,i,{enumerable:!0,get:s})}else for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>({212:"nr-spa-compressor",238:"nr-spa-iframe-message-handler",249:"nr-spa-recorder",478:"nr-spa"}[e]+"-1.321.0.min.js"),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="NRBA-1.321.0.PROD:";r.l=(n,i,s,a)=>{if(e[n])return void e[n].push(i);let o,c;if(void 0!==s){const e=document.getElementsByTagName("script");for(var d=0;d<e.length;d++){const r=e[d];if(r.getAttribute("src")==n||r.getAttribute("data-webpack")==t+s){o=r;break}}}if(!o){c=!0;var u={478:"sha512-nVWQ2qAdkC3R+4ZDG9m4FXftIsO9Pq5DmBg1qtcmsv3aZasLn8Ic+f99MsbVl8ryrIhVHKYpbz6FhJ4EZD9Khg==",249:"sha512-etKeSv8ID6VdNtDO61EFOmnjWRqyLgdgoZ5F0NrnMmhRYhL9lKiWmfYFM1l22L/mmJGxuwmdlByo9OyGnPfJeg==",212:"sha512-1TxkxsJ0uF5an6GCuoKAVBfld3Mj+Q/VIGpQYcmNxHP/9mxMT4n1p5/ZMO0qx7h74qvn7hrJ6pwOcWzxieikhw==",238:"sha512-+Df1BrH+URzKEUOZdB7bLXI05i+qols8eHmofcy/Krjl2dHO9DJCiA4zsRKkcCzj3T0w+SM12WLNCy6RD8ksYg=="};o=document.createElement("script"),o.charset="utf-8",r.nc&&o.setAttribute("nonce",r.nc),o.setAttribute("data-webpack",t+s),o.src=n,0!==o.src.indexOf(window.location.origin+"/")&&(o.crossOrigin="anonymous"),u[a]&&(o.integrity=u[a])}e[n]=[i];const l=(t,r)=>{o.onerror=o.onload=null,clearTimeout(f);const i=e[n];if(delete e[n],o.parentNode?.removeChild(o),i?.forEach(e=>e(r)),t)return t(r)},f=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),c&&document.head.appendChild(o)}})(),r.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="https://js-agent.newrelic.com/",(()=>{const e={38:0,788:0};r.f.j=(t,n)=>{let i=r.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{const s=new Promise((r,n)=>i=e[t]=[r,n]);n.push(i[2]=s);const a=r.p+r.u(t),o=new Error,c=n=>{if(r.o(e,t)&&(i=e[t],0!==i&&(e[t]=void 0),i)){const e=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed: ("+e+": "+r+")",o.name="ChunkLoadError",o.type=e,o.request=r,i[1](o)}};r.l(a,c,"chunk-"+t,t)}};const t=(t,n)=>{let[i,s,a]=n;var o,c,d=0;if(i.some(t=>0!==e[t])){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);if(a)a(r)}for(t&&t(n);d<i.length;d++)c=i[d],r.o(e,c)&&e[c]&&e[c][0](),e[c]=0},n=self["webpackChunk:NRBA-1.321.0.PROD"]=self["webpackChunk:NRBA-1.321.0.PROD"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";r(8374);var e=r(8362),t=r(860);const n=Object.values(t.K7);var i=r(384),s=r(1741);var a=r(2555),o=r(3333),c=r(9300);const d=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var u=r(2614),l=r(944),f=r(8122);const h="[data-nr-mask]",p=e=>(0,f.a)(e,(()=>{const e={feature_flags:[],experimental:{register:!1,resources:!1,iframe_bridge:!1,iframe_domains:[]},mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{ajax:{deny_list:void 0,block_internal:!0,enabled:!0,autoStart:!0,capture_payloads:c.mo.NONE},api:{register:{get enabled(){return e.feature_flags.includes(o.$v.REGISTER)||e.experimental.register},set enabled(t){e.experimental.register=t},duplicate_data_to_container:!1,get allow_iframe_bridge(){return e.feature_flags.includes(o.$v.IFRAME_BRIDGE)||e.experimental.iframe_bridge},set allow_iframe_bridge(t){e.experimental.iframe_bridge=t},get iframe_domains(){return e.experimental.iframe_domains},set iframe_domains(t){Array.isArray(t)?e.experimental.iframe_domains=t:(0,l.R)(1,t)}}},browser_consent_mode:{enabled:!1},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},get feature_flags(){return e.feature_flags},set feature_flags(t){e.feature_flags=t},generic_events:{enabled:!0,autoStart:!0},harvest:{interval:30},jserrors:{enabled:!0,autoStart:!0},logging:{enabled:!0,autoStart:!0},metrics:{enabled:!0,autoStart:!0},obfuscate:void 0,page_action:{enabled:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,autoStart:!0},performance:{capture_marks:!1,capture_measures:!1,capture_detail:!0,resources:{get enabled(){return e.feature_flags.includes(o.$v.RESOURCES)||e.experimental.resources},set enabled(t){e.experimental.resources=t},asset_types:[],first_party_domains:[],ignore_newrelic:!0}},privacy:{cookies_enabled:!0},proxy:{assets:void 0,beacon:void 0},session:{expiresMs:u.wk,inactiveMs:u.BB},session_replay:{autoStart:!0,enabled:!1,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inline_images:!1,fix_stylesheets:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){d(t)?e.mask_selector="".concat(t,",").concat(h):""===t||null===t?e.mask_selector=h:(0,l.R)(5,t)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return e.block_selector},set block_selector(t){d(t)?e.block_selector+=",".concat(t):""!==t&&(0,l.R)(6,t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&"object"==typeof t?e.mask_input_options={...t,password:!0}:(0,l.R)(7,t)}},session_trace:{enabled:!0,autoStart:!0},soft_navigations:{enabled:!0,autoStart:!0},ssl:void 0,user_actions:{enabled:!0,elementAttributes:["id","className","tagName","type"]},web_sockets:{enabled:!1}}})());var g=r(6154),m=r(9324);let v=0;const y={buildEnv:"PROD",distMethod:"CDN",version:m.x,originTime:g.WN},b={consented:!1},E={activatedFeatures:void 0,appMetadata:{},configured:!1,get consented(){return this.session?.state?.consent||b.consented},set consented(e){b.consented=e},customTransaction:void 0,denyList:[],disabled:!1,drainRegistry:new Map,connector:void 0,harvester:void 0,v2Target:void 0,isolatedBacklog:!1,isRecording:!1,loaderType:void 0,maxBytes:3e4,obfuscator:void 0,onerror:void 0,ptid:void 0,releaseIds:{},session:void 0,timeKeeper:void 0,registeredEntities:[],jsAttributesMetadata:{bytes:0},get harvestCount(){return++v},listeningForIframeMessages:!1};var w=r(9232);var R=r(7836),T=r(3241);const A={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0};var x=r(9908),S=r(9752);function _(e,t={},n,o){let{init:c,info:d,loader_config:u,runtime:l={},exposed:h=!0}=t;if(!d){const e=(0,i.pV)();c=e.init,d=e.info,u=e.loader_config}var m;e.init=p(c||{}),e.loader_config=(m=u||{},(0,f.a)(m,A)),d.jsAttributes??={},g.bv&&(d.jsAttributes.isWorker=!0),e.info=(0,a.D)(d);const v=e.init;e.runtime??=(e=>{const t=(0,f.a)(e,E),r=Object.keys(y).reduce((e,t)=>(e[t]={value:y[t],writable:!1,configurable:!0,enumerable:!0},e),{});return Object.defineProperties(t,r)})(l),e.runtime.v2Target??={type:w.f.BA,instance:e.agentIdentifier,get id(){return e.runtime.appMetadata?.agents?.[0]?.entityGuid},get attributes(){return{"entity.guid":this.id,appId:e.info.applicationID}}},v.proxy.assets&&(e=>{const t=e.startsWith("http");e+="/",r.p=t?e:"https://"+e})(v.proxy.assets),e.runtime.configured||(Object.defineProperty(e,"beacons",{get:()=>[e.info.beacon,e.info.errorBeacon,e.init.proxy.assets,e.init.proxy.beacon].filter(Boolean)}),Object.defineProperty(e.runtime,"denyList",{get:()=>[...e.init.ajax.deny_list||[],...e.init.ajax.block_internal?e.beacons:[]]}),e.runtime.ptid=e.agentIdentifier,function(e){const t=(0,i.pV)();Object.getOwnPropertyNames(s.W.prototype).forEach(r=>{const n=s.W.prototype[r];if("function"!=typeof n||"constructor"===n)return;let i=t[r];e[r]&&!1!==e.exposed&&"micro-agent"!==e.runtime?.loaderType&&(t[r]=(...t)=>{const n=e[r](...t);return i?i(...t):n})})}(e),e.runtime.loaderType=n,e.ee=R.ee.get(e.agentIdentifier),e.exposed=h,(0,T.W)({drained:!!e.runtime.activatedFeatures,type:"lifecycle",name:"initialize",feature:void 0,data:e.config}),e.init.api.register.allow_iframe_bridge&&g.gm.addEventListener("message",t=>{"string"==typeof t.data?.type&&t.data.type.startsWith(S.Pl)&&(0,x.p)("iframe-message",[t],void 0,"IFRAME",e.ee)}),e.runtime.configured=!0)}var O=r(1863),N=r(4261),P=r(1738);var L=r(1687),k=r(4234),I=r(5289),C=r(5270),j=r(7767),M=r(6389),D=r(7699);const H=new WeakSet,B=new WeakMap;class W extends k.W{constructor(e,t){super(e,t),this.abortHandler=void 0,this.featAggregate=void 0,this.loadedSuccessfully=void 0,this.onAggregateImported=new Promise(e=>{this.loadedSuccessfully=e}),this.deferred=Promise.resolve(),!1===e.init[this.featureName].autoStart?this.deferred=new Promise((t,r)=>{this.ee.on("manual-start-all",(0,M.J)(()=>{(0,L.Ak)(e,this.featureName),t()}))}):(0,L.Ak)(e,t)}importAggregator(e,t,n={}){if(this.featAggregate)return;const i=async()=>{if(await this.deferred,this.#t(e),!(0,a.f)(e.info))return(0,l.R)(43),e.ee.abort(),void this.loadedSuccessfully(!1);try{await async function(e,t,n){if(B.has(e))return B.get(e);const i=(async()=>{if((0,j.V)(e.init))try{const{setupAgentSession:t}=await r.e(478).then(r.bind(r,8766));t(e)}catch(e){(0,l.R)(20,e),t.emit("internal-error",[e]),(0,x.p)(D.qh,[e],void 0,n,t)}if(e.init.api.register.allow_iframe_bridge)try{const{setupIframeMFEMessageListener:t}=await r.e(238).then(r.bind(r,6417));t(e)}catch(e){(0,l.R)(23,e)}const[{Connector:i},{Harvester:s}]=await Promise.all([r.e(478).then(r.bind(r,6589)),r.e(478).then(r.bind(r,5237))]);e.runtime.connector=new i(e),e.runtime.harvester=new s(e);const a=Object.values(e.features).filter(t=>e.runtime.drainRegistry.has(t.featureName));Promise.all(a.map(e=>e.onAggregateImported)).then(()=>e.runtime.harvester.startTimer())})();B.set(e,i),await i}(e,this.ee,this.featureName)}catch(e){return(0,l.R)(79,e),this.ee.abort(),void this.loadedSuccessfully(!1)}try{if(!this.#r(this.featureName,e.runtime.session,e.init))return this.abortHandler?.(),(0,L.Ze)(this.agentRef,this.featureName),void this.loadedSuccessfully(!1);const{Aggregate:r}=await t();this.featAggregate=new r(e,n),e.runtime.harvester.initializedAggregates.push(this.featAggregate),this.loadedSuccessfully(!0)}catch(e){(0,l.R)(34,e),this.abortHandler?.(),(0,L.Ze)(this.agentRef,this.featureName,!0),this.loadedSuccessfully(!1)}};g.RI?(0,I.GG)(()=>i(),!0):i()}#r(e,r,n){if(this.blocked)return!1;switch(e){case t.K7.sessionReplay:return(0,C.SR)(n)&&!!r;case t.K7.sessionTrace:return!!r;default:return!0}}#t(e){if(!H.has(e)&&(H.add(e),!(0,a.f)(e.info))){const t=(0,i.pV)();let r={...t.info?.jsAttributes};try{r={...r,...e.info?.jsAttributes}}catch(e){}_(e,{...t,info:{...t.info,jsAttributes:r},runtime:e.runtime},e.runtime.loaderType)}}}var K=r(6630);class F extends W{static featureName=K.T;constructor(e){var t;super(e,K.T),this.setupInspectionEvents(),t=e,(0,P.Y)(N.Fw,function(e,r){"string"==typeof e&&("/"!==e.charAt(0)&&(e="/"+e),t.runtime.customTransaction=(r||"http://custom.transaction")+e,(0,x.p)("api-"+N.Fw,[(0,O.t)()],void 0,void 0,t.ee))},t),this.importAggregator(e,()=>e.init.feature_flags.includes("rum_v2")?r.e(478).then(r.bind(r,908)):r.e(478).then(r.bind(r,7927)))}setupInspectionEvents(){const e=(e,t)=>{e&&(0,T.W)({timeStamp:e.timeStamp,loaded:"complete"===e.target.readyState,type:"window",name:t,data:e.target.location+""})};(0,I.sB)(t=>{e(t,"DOMContentLoaded")}),(0,I.GG)(t=>{e(t,"load")}),(0,I.Qr)(t=>{e(t,"navigate")}),this.ee.on(u.tS.UPDATE,(e,t)=>{(0,T.W)({type:"lifecycle",name:"session",data:t})})}}class U extends e.d{constructor(e){var t;(super(),g.gm)?(this.features={},(0,i.bQ)(this.agentIdentifier,this),this.desiredFeatures=new Set(e.features||[]),this.desiredFeatures.add(F),_(this,e,e.loaderType||"agent"),t=this,(0,P.Y)(N.cD,function(e,r,n=!1){if("string"==typeof e){if(["string","number","boolean"].includes(typeof r)||null===r)return(0,P.U)(t,e,r,N.cD,n);(0,l.R)(40,typeof r)}else(0,l.R)(39,typeof e)},t),function(e){(0,P.Y)(N.Dl,function(t,r=!1){if("string"!=typeof t&&null!==t)return void(0,l.R)(41,typeof t);const n=e.info.jsAttributes["enduser.id"];r&&null!=n&&n!==t?(0,x.p)("api-setUserIdAndResetSession",[t],void 0,"session",e.ee):(0,P.U)(e,"enduser.id",t,N.Dl,!0)},e)}(this),function(e){(0,P.Y)(N.nb,function(t){if("string"==typeof t||null===t)return(0,P.U)(e,"application.version",t,N.nb,!1);(0,l.R)(42,typeof t)},e)}(this),function(e){(0,P.Y)("start",function(){e.ee.emit("manual-start-all")},e)}(this),function(e){(0,P.Y)(N.Pv,function(t=!0){if("boolean"==typeof t){if((0,x.p)("api-"+N.Pv,[t],void 0,"session",e.ee),e.runtime.consented=t,t){const t=e.features.page_view_event;t.onAggregateImported.then(e=>{const r=t.featAggregate;e&&!r.sentRum&&r.sendRum?.()})}}else(0,l.R)(65,typeof t)},e)}(this),this.run()):(0,l.R)(21)}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}get api(){return this}run(){try{const e=function(e){const t={};return n.forEach(r=>{t[r]=!!e[r]?.enabled}),t}(this.init),r=[...this.desiredFeatures],i=this.init.feature_flags.includes("rum_v2");r.sort((e,r)=>t.P3[e.featureName]-t.P3[r.featureName]),r.forEach(r=>{if(!e[r.featureName]&&(i||r.featureName!==t.K7.pageViewEvent))return;const n=function(e){switch(e){case t.K7.ajax:return[t.K7.jserrors];case t.K7.sessionTrace:return[t.K7.ajax,t.K7.pageViewEvent];case t.K7.sessionReplay:return[t.K7.sessionTrace];case t.K7.pageViewTiming:return[t.K7.pageViewEvent];default:return[]}}(r.featureName).filter(e=>!(e in this.features));n.length>0&&(0,l.R)(36,{targetFeature:r.featureName,missingDependencies:n}),this.features[r.featureName]=new r(this)})}catch(e){(0,l.R)(22,e);for(const e in this.features)this.features[e].abortHandler?.();const t=(0,i.Zm)();delete t.initializedAgents[this.agentIdentifier]?.features,delete this.sharedAggregator;return t.ee.get(this.agentIdentifier).abort(),!1}}}var V=r(2843),z=r(782);class G extends W{static featureName=z.T;constructor(e){super(e,z.T),g.RI&&((0,V.u)(()=>(0,x.p)("docHidden",[(0,O.t)()],void 0,z.T,this.ee),!0),(0,V.G)(()=>(0,x.p)("winPagehide",[(0,O.t)()],void 0,z.T,this.ee)),this.importAggregator(e,()=>r.e(478).then(r.bind(r,9917))))}}var q=r(3969);class Y extends W{static featureName=q.TZ;constructor(e){super(e,q.TZ),this.importAggregator(e,()=>r.e(478).then(r.bind(r,6555)))}}var Z=r(6774),X=r(3878),J=r(3304);class Q{constructor(e,t,r,n,i){this.name="UncaughtError",this.message="string"==typeof e?e:(0,J.A)(e),this.sourceURL=t,this.line=r,this.column=n,this.__newrelic=i}}function ee(e){return ne(e)?e:new Q(void 0!==e?.message?e.message:e,e?.filename||e?.sourceURL,e?.lineno||e?.line,e?.colno||e?.col,e?.__newrelic,e?.cause)}function te(e){const t="Unhandled Promise Rejection: ";if(!e?.reason)return;if(ne(e.reason)){try{e.reason.message.startsWith(t)||(e.reason.message=t+e.reason.message)}catch(e){}return ee(e.reason)}const r=ee(e.reason);return(r.message||"").startsWith(t)||(r.message=t+r.message),r}function re(e){if(e.error instanceof SyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){const t=new Q(e.message,e.filename,e.lineno,e.colno,e.error.__newrelic,e.cause);return t.name=SyntaxError.name,t}return ne(e.error)?e.error:ee(e)}function ne(e){return e instanceof Error&&!!e.stack}function ie(e,r,n,i,s=(0,O.t)()){"string"==typeof e&&(e=new Error(e)),(0,x.p)("err",[e,s,!1,r,n.runtime.isRecording,void 0,i],void 0,t.K7.jserrors,n.ee),(0,x.p)("uaErr",[],void 0,t.K7.genericEvents,n.ee)}var se=r(993),ae=r(3785);function oe(e,{customAttributes:t={},level:r=se.p_.INFO}={},n,i,s=(0,O.t)()){(0,ae.R)(n.ee,e,t,r,!1,i,s)}function ce(e,r,n,i,s=(0,O.t)()){(0,x.p)("api-"+N.hG,[s,e,r,i],void 0,t.K7.genericEvents,n.ee)}function de(e,r,n,i,s=(0,O.t)()){const{start:a,end:o,customAttributes:c}=r||{},d={customAttributes:c||{}};if("object"!=typeof d.customAttributes||"string"!=typeof e||0===e.length)return void(0,l.R)(57);const u=(e,t)=>null==e?t:"number"==typeof e?e:e instanceof PerformanceMark?e.startTime:Number.NaN;if(d.start=u(a,0),d.end=u(o,s),Number.isNaN(d.start)||Number.isNaN(d.end))(0,l.R)(57);else{if(d.duration=d.end-d.start,!(d.duration<0))return(0,x.p)("api-"+N.V1,[d,e,i],void 0,t.K7.genericEvents,n.ee),d;(0,l.R)(58)}}function ue(e,r={},n,i,s=(0,O.t)()){(0,x.p)("api-"+N.fF,[s,e,r,i],void 0,t.K7.genericEvents,n.ee)}var le=r(5718);const fe=(e,t)=>e?.nrMfeId===t.id&&(!e?.nrMfeObserved||e?.nrMfeObserved===t.instance),he=e=>{try{return g.gm.CSS.escape(e)}catch(t){return e}},pe=(e,t={})=>{const r=t.id,n=t.instance;if(!e||!r||!n)return!1;try{let r=1===e.nodeType?e:e.parentElement;for(;r?.tagName;){if(fe(r.dataset,t))return r.dataset.nrMfeObserved=n,!0;r=r.parentNode}}catch(e){}return!1},ge=(e,t)=>{const r=g.gm.document?.querySelectorAll('[data-nr-mfe-id="'.concat(he(e.id),'"]')),n=(Array.from(r)||[]).find(t=>fe(t.dataset,e));let i=!!n;i&&(n.dataset.nrMfeObserved??=e.instance);const s=new g.gm.MutationObserver(r=>{r.forEach(r=>{r.addedNodes.forEach(r=>{const n=1===r.nodeType?r:null;!i&&fe(n?.dataset,e)&&(s.disconnect(),s.observe(n,{childList:!0,subtree:!0}),i=!0,n.dataset.nrMfeObserved=e.instance),(e=>{try{return e?.textContent?.trim()||["img","video","canvas","svg"].includes(e?.nodeName?.toLowerCase())}catch(e){return!1}})(r)&&(i||pe(r,e))&&t(r,s)})})});return s.observe(n||g.gm.document,{childList:!0,subtree:!0}),s},me=(e,t,r)=>{try{const n=new g.gm.PerformanceObserver(e=>{e.getEntries().forEach(r)});return n.observe(t),e.push(n),n}catch(e){return null}};function ve(e,t){let r,n,i=!1;const s=e=>null==e?e:e-(t?.scriptStart||t?.registeredAt||0),a={fcp:{get value(){const e=s(r);return e>1e4?void 0:e},set value(e){i||(r=e)}},lcp:{get value(){if(void 0!==a.fcp.value)return s(n)},set value(e){i||(n=e)}},cls:{value:void 0},inp:{value:void 0},disconnect:()=>{}};if(!(e&&g.RI&&g.gm.MutationObserver&&g.gm.PerformanceObserver))return a;const o=[];setTimeout(()=>{r||a.disconnect()},1e4);const c=()=>{if(!i){if(null==r){const e=(0,O.t)();if(s(e)>1e4)return void a.disconnect();r=e}n??=(0,O.t)(),a.cls.value??=0}},d=ge(e,(e,t)=>{c(),t.disconnect()});o.push(d);let u=0,l=null;const f=new Set;try{l=new g.gm.ResizeObserver(e=>{i||e.forEach(e=>{try{const t=e.contentRect.width*e.contentRect.height;t>u&&(u=t,a.lcp.value=(0,O.t)()),l.unobserve(e.target)}catch(e){}})})}catch(e){}const h=ge(e,e=>{if(c(),l)try{const t=1===e.nodeType?e:e.parentElement;t&&!f.has(t)&&(f.add(t),"IMG"===t.tagName?t.complete?l.observe(t):t.addEventListener("load",()=>{l.observe(t)},{once:!0}):"VIDEO"===t.tagName?t.readyState>=2?l.observe(t):t.addEventListener("loadeddata",()=>{l.observe(t)},{once:!0}):l.observe(t))}catch(e){}});l&&o.push(l),o.push(h),me(o,{type:"layout-shift",buffered:!0},t=>{i||t.hadRecentInput||(t.sources||[]).some(r=>!!pe(r.node,e)&&(c(),a.cls.value+=t.value,!0))}),me(o,{type:"event",buffered:!0,durationThreshold:40},t=>{!i&&t.interactionId&&pe(t.target,e)&&(void 0===a.inp.value||t.duration>a.inp.value)&&(c(),a.inp.value=t.duration)});const p=["pointerdown","keydown"],m=()=>{p.forEach(e=>{g.gm.removeEventListener(e,v,{passive:!0})})};a.disconnect=()=>{i=!0,o.forEach(e=>{try{e?.disconnect()}catch(e){}}),m(),["visibilitychange","pagehide"].forEach(e=>{g.gm.removeEventListener(e,a.disconnect,{once:!0,passive:!0})})};const v=t=>{pe(t?.target,e)&&((()=>{try{h?.disconnect(),l?.disconnect()}catch(e){}})(),m())};p.forEach(e=>{g.gm.addEventListener(e,v,{passive:!0})}),["visibilitychange","pagehide"].forEach(e=>{g.gm.addEventListener(e,a.disconnect,{once:!0,passive:!0})});const y=g.gm.document?.querySelectorAll('[data-nr-mfe-id="'.concat(he(e.id),'"]'));return Array.from(y||[]).some(t=>fe(t.dataset,e))&&c(),a}var ye=r(9566),be=r(9119);const Ee=["name","id","type"],we=new Map([[ce,"addPageAction"],[oe,"log"],[de,"measure"],[ie,"noticeError"],[ue,"recordCustomEvent"]]),Re={experimental:(0,M.J)(()=>(0,l.R)(54,"newrelic.register")),disabled:(0,M.J)(()=>(0,l.R)(55)),invalidTarget:(0,M.J)(e=>(0,l.R)(48,e)),deregistered:(0,M.J)(()=>(0,l.R)(68))};function Te(e){(0,P.Y)(N.eY,function(t){return Ae(e,t)},e)}function Ae(e,r){Re.experimental(),r||={},r.instance=(0,ye.LA)(8),r.type=w.f.MFE,r.licenseKey||=e.info.licenseKey,r.blocked=!1,("object"!=typeof r.tags||null===r.tags||Array.isArray(r.tags))&&(r.tags={}),r.parent??={get id(){return e.runtime.appMetadata.agents?.[0].entityGuid},type:w.f.BA};const n=(0,le.Qr)(r),i=ve(r,n),s=(0,be.L)(""+location),a={};Object.prototype.hasOwnProperty.call(r,"attributes")||Object.defineProperty(r,"attributes",{get:()=>({...a,"source.id":r.id,"source.name":r.name,"source.type":r.type,"parent.type":r.parent?.type||w.f.BA,"parent.id":r.parent?.id})}),Object.entries(r.tags).forEach(([e,t])=>{Ee.includes(e)||(a["source.".concat(e)]=t)});let o=()=>{};const c=e.runtime.registeredEntities,d=e=>{r.blocked=!0,o=e};function u(e){return"string"==typeof e&&!!e.trim()&&e.trim().length<501}e.init.api.register.enabled||d(Re.disabled),u(r.id)&&u(r.name)||d(()=>Re.invalidTarget(r));const f={addPageAction:(t,n={})=>m(ce,[t,{...a,...n},e],r),deregister:()=>{p(),d(Re.deregistered)},log:(t,n={})=>m(oe,[t,{...n,customAttributes:{...a,...n.customAttributes||{}}},e],r),measure:(t,n={})=>m(de,[t,{...n,customAttributes:{...a,...n.customAttributes||{}}},e],r),noticeError:(t,n={})=>m(ie,[t,{...a,...n},e],r),recordCustomEvent:(t,n={})=>m(ue,[t,{...a,...n},e],r),setApplicationVersion:e=>g("application.version",e),setCustomAttribute:(e,t)=>g(e,t),setUserId:e=>g("enduser.id",e),metadata:{get customAttributes(){return a},target:r,timings:n,vitals:i,events:{latestTimestamp:void 0}}},h=()=>(r.blocked&&o(),r.blocked);function p(){if(n.reportedAt)return;n.reportedAt=(0,O.t)(),i.disconnect(),n.fcp=i.fcp,n.lcp=i.lcp,n.cls=i.cls,n.inp=i.inp;const e=n.fetchEnd-n.fetchStart,t=n.scriptEnd-n.scriptStart,r={assetUrl:n.asset,assetType:n.type,registerUrl:s,deregisterUrl:(0,be.L)(""+location),pageUrl:void 0,currentUrl:void 0,timeAlive:n.reportedAt-n.registeredAt,timeToBeRequested:n.fetchStart,timeToExecute:t,timeToFetch:e,timeToLoad:e+t,timeToRegister:n.registeredAt,...i.fcp.value>=0&&{"vitals.fcp.value":i.fcp.value},...i.lcp.value>=0&&{"vitals.lcp.value":i.lcp.value},...i.cls.value>=0&&{"vitals.cls.value":i.cls.value},...i.inp.value>=0&&{"vitals.inp.value":i.inp.value}};f.recordCustomEvent("MicroFrontEndTiming",r)}h()||(c.push(f),(0,V.G)(p));const g=(e,t)=>{h()||(a[e]=t)},m=(r,n,i)=>{if(h()&&r!==Ae)return;const s=f.metadata.events.latestTimestamp??(0,O.t)();f.metadata.events.latestTimestamp=void 0;const a=we.get(r)||"unknown";(0,x.p)(q.xV,["API/register/".concat(a,"/called")],void 0,t.K7.metrics,e.ee);try{return r(...n,i,s)}catch(e){(0,l.R)(50,e)}};return f}class xe extends W{static featureName=Z.T;constructor(e){var t;super(e,Z.T),t=e,(0,P.Y)(N.o5,(e,r)=>ie(e,r,t),t),function(e){(0,P.Y)(N.bt,function(t){e.runtime.onerror=t},e)}(e),function(e){let t=0;(0,P.Y)(N.k6,function(e,r){++t>10||(this.runtime.releaseIds[e.slice(-200)]=(""+r).slice(-200))},e)}(e),Te(e);try{this.removeOnAbort=new AbortController}catch(e){}this.ee.on("internal-error",(t,r)=>{this.abortHandler&&(0,x.p)("ierr",[ee(t),(0,O.t)(),!0,{},e.runtime.isRecording,r],void 0,this.featureName,this.ee)}),g.gm.addEventListener("unhandledrejection",t=>{this.abortHandler&&(0,x.p)("err",[te(t),(0,O.t)(),!1,{unhandledPromiseRejection:1},e.runtime.isRecording],void 0,this.featureName,this.ee)},(0,X.jT)(!1,this.removeOnAbort?.signal)),g.gm.addEventListener("error",t=>{this.abortHandler&&(0,x.p)("err",[re(t),(0,O.t)(),!1,{},e.runtime.isRecording],void 0,this.featureName,this.ee)},(0,X.jT)(!1,this.removeOnAbort?.signal)),this.abortHandler=this.#n,this.importAggregator(e,()=>r.e(478).then(r.bind(r,9377)))}#n(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}var Se=r(8990);let _e=1;function Oe(e){const t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===g.gm?0:(0,Se.I)(e,"nr@id",function(){return _e++})}function Ne(e){if("string"==typeof e)return e.length;if("object"==typeof e){if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if("undefined"!=typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!("undefined"!=typeof FormData&&e instanceof FormData))try{return(0,J.A)(e).length}catch(e){return}}}var Pe=r(8139),Le=r(3434),ke=r(5732);const Ie={},Ce=["open","send","setRequestHeader"];function je(e,t){var r=e||R.ee;const n=function(e){return(e||R.ee).get("xhr")}(r);if(void 0===g.gm.XMLHttpRequest)return n;if(Ie[n.debugId]++)return n;Ie[n.debugId]=1,(0,Pe.u)(r,t);var i=(0,Le.YM)(n,void 0,t),s=g.gm.XMLHttpRequest,a=g.gm.MutationObserver,o=g.gm.Promise,c=g.gm.setInterval,d="readystatechange",u=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],f=[],h=g.gm.XMLHttpRequest=function(e){const r=new s(e),a=n.context(r);a.targets=(0,ke.$5)(t);try{n.emit("new-xhr",[r],a),r.addEventListener(d,(o=a,function(){var e=this;e.readyState>3&&!o.resolved&&(o.resolved=!0,n.emit("xhr-resolved",[],e)),i.inPlace(e,u,"fn-",E)}),(0,X.jT)(!1))}catch(e){(0,l.R)(15,e);try{n.emit("internal-error",[e])}catch(e){}}var o;return r};function p(e,t){i.inPlace(t,["onreadystatechange"],"fn-",E)}if(function(e,t){for(var r in e)t[r]=e[r]}(s,h),h.prototype=s.prototype,i.inPlace(h.prototype,Ce,"-xhr-",E),n.on("send-xhr-start",function(e,t){p(e,t),function(e){f.push(e),a&&(m?m.then(b):c?c(b):(v=-v,y.data=v))}(t)}),n.on("open-xhr-start",p),a){var m=o&&o.resolve();if(!c&&!o){var v=1,y=document.createTextNode(v);new a(b).observe(y,{characterData:!0})}}else r.on("fn-end",function(e){e[0]&&e[0].type===d||b()});function b(){for(var e=0;e<f.length;e++)p(0,f[e]);f.length&&(f=[])}function E(e,t){return t}return n}var Me="fetch-",De=Me+"body-",He=["arrayBuffer","blob","json","text","formData"],Be=g.gm.Request,We=g.gm.Response,Ke="prototype";const Fe={};function Ue(e,t){const r=function(e){return(e||R.ee).get("fetch")}(e);if(!(Be&&We&&g.gm.fetch))return r;if(Fe[r.debugId]++)return r;function n(e,n,i){var s=e[n];"function"==typeof s&&(e[n]=function(){var e=[...arguments];const n={},a=(0,ke.$5)(t);var o;r.emit(i+"before-start",[e],n),n[R.P]&&n[R.P].dt&&(o=n[R.P].dt);var c=s.apply(this,e);return r.emit(i+"start",[e,o],c),c.then(function(e){return r.emit(i+"end",[null,e,a],c),e},function(e){throw r.emit(i+"end",[e,void 0,a],c),e})})}return Fe[r.debugId]=1,He.forEach(e=>{n(Be[Ke],e,De),n(We[Ke],e,De)}),n(g.gm,"fetch",Me),r.on(Me+"end",function(e,n,i){var s=this;if(s.targets=i||[t.runtime.v2Target],n){var a=n.headers.get("content-length");null!==a&&(s.rxSize=a),r.emit(Me+"done",[null,n],s)}else r.emit(Me+"done",[e],s)}),r}var Ve=r(7485);class ze{constructor(e){this.agentRef=e}generateTracePayload(e){const t=this.agentRef.loader_config;if(!this.shouldGenerateTrace(e)||!t)return null;var r=(t.accountID||"").toString()||null,n=(t.agentID||"").toString()||null,i=(t.trustKey||"").toString()||null;if(!r||!n)return null;var s=(0,ye.ZF)(),a=(0,ye.el)(),o=Date.now(),c={spanId:s,traceId:a,timestamp:o};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(c.traceContextParentHeader=this.generateTraceContextParentHeader(s,a),c.traceContextStateHeader=this.generateTraceContextStateHeader(s,o,r,n,i)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(c.newrelicHeader=this.generateTraceHeader(s,a,o,r,n,i)),c}generateTraceContextParentHeader(e,t){return"00-"+t+"-"+e+"-01"}generateTraceContextStateHeader(e,t,r,n,i){return i+"@nr=0-1-"+r+"-"+n+"-"+e+"----"+t}generateTraceHeader(e,t,r,n,i,s){if(!("function"==typeof g.gm?.btoa))return null;var a={v:[0,1],d:{ty:"Browser",ac:n,ap:i,id:e,tr:t,ti:r}};return s&&n!==s&&(a.d.tk=s),btoa((0,J.A)(a))}shouldGenerateTrace(e){return this.agentRef.init?.distributed_tracing?.enabled&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var t=!1;const r=this.agentRef.init?.distributed_tracing;if(e.sameOrigin)t=!0;else if(r?.allowed_origins instanceof Array)for(var n=0;n<r.allowed_origins.length;n++){var i=(0,Ve.D)(r.allowed_origins[n]);if(e.hostname===i.hostname&&e.protocol===i.protocol&&e.port===i.port){t=!0;break}}return t}excludeNewrelicHeader(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.exclude_newrelic_header}useNewrelicHeaderForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!1!==e.cors_use_newrelic_header}useTraceContextHeadersForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.cors_use_tracecontext_headers}}var Ge=r(7295);function qe(e){return"string"==typeof e?e:e instanceof(0,i.dV)().o.REQ?e.url:g.gm?.URL&&e instanceof URL?e.href:void 0}function Ye(e,t){var r=(0,Ve.D)(t),n=e.params||e;n.hostname=r.hostname,n.port=r.port,n.protocol=r.protocol,n.host=r.hostname+":"+r.port,n.pathname=r.pathname,e.parsedOrigin=r,e.sameOrigin=r.sameOrigin}var Ze=["load","error","abort","timeout"],$e=Ze.length,Xe=(0,i.dV)().o.REQ,Je=(0,i.dV)().o.XHR;const Qe="X-NewRelic-App-Data",et="internal-error";class tt extends W{static featureName=c.TZ;constructor(e){super(e,c.TZ),this.dt=new ze(e),this.handler=(e,t,r,n)=>(0,x.p)(e,t,r,n,this.ee);try{const e={xmlhttprequest:"xhr",fetch:"fetch",beacon:"beacon"};g.gm?.performance?.getEntriesByType("resource").forEach(r=>{if(r.initiatorType in e&&0!==r.responseStatus){const n={status:r.responseStatus},i={rxSize:r.transferSize,duration:Math.floor(r.duration),cbTime:0};Ye(n,r.name),this.handler("xhr",[n,i,r.startTime,r.responseEnd,e[r.initiatorType]],void 0,t.K7.ajax)}})}catch(e){}Ue(this.ee,e),je(this.ee,e),function(e,r,n,i){const s=[c.mo.ALL,c.mo.FAILURES].includes(e.init.ajax?.capture_payloads);function a(e){var t=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=A,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},t.latestLongtaskEnd=0,e.addEventListener("load",function(r){_(t,e)},(0,X.jT)(!1)),g.lR||e.addEventListener("progress",function(e){t.lastSize=e.loaded},(0,X.jT)(!1))}function o(e){this.params={method:e[0]},Ye(this,e[1]),this.metrics={}}function d(t,r){e.loader_config.xpid&&this.sameOrigin&&r.setRequestHeader("X-NewRelic-ID",e.loader_config.xpid);var n=i.generateTracePayload(this.parsedOrigin);if(n){var s=!1;n.newrelicHeader&&(r.setRequestHeader("newrelic",n.newrelicHeader),s=!0),n.traceContextParentHeader&&(r.setRequestHeader("traceparent",n.traceContextParentHeader),n.traceContextStateHeader&&r.setRequestHeader("tracestate",n.traceContextStateHeader),s=!0),s&&(this.dt=n)}}function u(e,t){s&&e.length>=2&&(this.requestHeaders??={},this.requestHeaders[e[0].toLowerCase()]=e[1])}function l(e,t){var n=this.metrics,i=e[0],s=this;if(n&&i){var a=Ne(i);a&&(n.txSize=a)}this.startTime=(0,O.t)(),this.requestBody=i,this.listener=function(e){try{"abort"!==e.type||s.loadCaptureCalled||(s.params.aborted=!0),("load"!==e.type||s.called===s.totalCbs&&(s.onloadCalled||"function"!=typeof t.onload)&&"function"==typeof s.end)&&s.end(t)}catch(e){try{r.emit(et,[e])}catch(e){}}};for(var o=0;o<$e;o++)t.addEventListener(Ze[o],this.listener,(0,X.jT)(!1))}function f(e,t,r){this.cbTime+=e,t?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof r.onload||"function"!=typeof this.end||this.end(r)}function h(e,t){var r=""+Oe(e)+!!t;this.xhrGuids&&!this.xhrGuids[r]&&(this.xhrGuids[r]=!0,this.totalCbs+=1)}function p(e,t){var r=""+Oe(e)+!!t;this.xhrGuids&&this.xhrGuids[r]&&(delete this.xhrGuids[r],this.totalCbs-=1)}function m(){this.endTime=(0,O.t)()}function v(e,t){t instanceof Je&&"load"===e[0]&&r.emit("xhr-load-added",[e[1],e[2]],t)}function y(e,t){t instanceof Je&&"load"===e[0]&&r.emit("xhr-load-removed",[e[1],e[2]],t)}function b(e,t,r){t instanceof Je&&("onload"===r&&(this.onload=!0),("load"===(e[0]&&e[0].type)||this.onload)&&(this.xhrCbStart=(0,O.t)()))}function E(e,t){this.xhrCbStart&&r.emit("xhr-cb-time",[(0,O.t)()-this.xhrCbStart,this.onload,t],t)}function w(e){var t,r=e[1]||{};if("string"==typeof e[0]?0===(t=e[0]).length&&g.RI&&(t=""+g.gm.location.href):e[0]&&e[0].url?t=e[0].url:g.gm?.URL&&e[0]&&e[0]instanceof URL?t=e[0].href:"function"==typeof e[0].toString&&(t=e[0].toString()),"string"==typeof t&&0!==t.length){t&&(this.parsedOrigin=(0,Ve.D)(t),this.sameOrigin=this.parsedOrigin.sameOrigin);var n=i.generateTracePayload(this.parsedOrigin);if(n&&(n.newrelicHeader||n.traceContextParentHeader))if(e[0]&&e[0].headers)o(e[0].headers,n)&&(this.dt=n);else{var s={};for(var a in r)s[a]=r[a];s.headers=new Headers(r.headers||{}),o(s.headers,n)&&(this.dt=n),e.length>1?e[1]=s:e.push(s)}}function o(e,t){var r=!1;return t.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),r=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),r=!0),r}}function R(e,t){this.params={},this.metrics={},this.startTime=(0,O.t)(),this.dt=t;let[r,n={}]=e;Ye(this,qe(r));const i=(""+(r&&r instanceof Xe&&r.method||n.method||"GET")).toUpperCase();this.params.method=i,this.txSize=Ne(n.body||r?.body)||0;try{var a=n.headers||r?.headers;if(s&&a)if(this.requestHeaders??={},a instanceof Headers)a.forEach(function(e,t){this.requestHeaders[t.toLowerCase()]=e}.bind(this));else if("object"==typeof a)for(var o in a)this.requestHeaders[o.toLowerCase()]=a[o]}catch(e){}this.requestBody=n.body||r?.body}function T(e,t){if(this.endTime=(0,O.t)(),this.params||(this.params={}),(0,Ge.iW)(this.params))return;this.params.status=t?t.status:0;const n=()=>{const e=+this.rxSize,t=null==this.rxSize||isNaN(e)?void 0:e,r={txSize:this.txSize,rxSize:t,duration:this.endTime-this.startTime},n=[this.params,r,this.startTime,this.endTime,"fetch"];this.targets.forEach(e=>S(n,this,e))};t&&s?t.clone().text().then(e=>{this.responseBody=e,this.rxSize&&"0"!==this.rxSize&&0!==this.rxSize||void 0===e||0===this.params.status||(this.rxSize=Ne(e)),t?.headers&&(this.responseHeaders={},t.headers.forEach(function(e,t){this.responseHeaders[t.toLowerCase()]=e}.bind(this)))}).catch(e=>{r.emit(et,[e])}).finally(()=>{n()}):n()}function A(e){const t=this.params,n=this.metrics;if(this.ended)return;this.ended=!0;for(let t=0;t<$e;t++)e.removeEventListener(Ze[t],this.listener,!1);if(t.aborted)return;if((0,Ge.iW)(t))return;if(n.duration=this.endTime-this.startTime,this.loadCaptureCalled||4!==e.readyState?null==t.status&&(t.status=0):_(this,e),n.cbTime=this.cbTime,s){try{this.responseBody=e.responseText}catch(t){this.responseBody=e.response}if((!n.rxSize||0===n.rxSize)&&void 0!==this.responseBody&&0!==t.status){const e=Ne(this.responseBody);void 0!==e&&(n.rxSize=e)}try{this.responseHeaders=function(e){const t={};return e?(e.split("\r\n").forEach(function(e){const r=e.indexOf(": ");if(r>0){const n=e.substring(0,r),i=e.substring(r+2);t[n.toLowerCase()]=i}}),t):t}(e.getAllResponseHeaders())}catch(e){r.emit(et,[e])}}const i=[t,n,this.startTime,this.endTime,"xhr"];this.targets.forEach(e=>S(i,this,e))}function S(e,r,i){n("xhr",[...e,i],r,t.K7.ajax)}function _(e,n){e.params.status=n.status;var i=function(e,t){var r=e.responseType;return"json"===r&&null!==t?t:"arraybuffer"===r||"blob"===r||"json"===r?Ne(e.response):"text"===r||""===r||void 0===r?Ne(e.responseText):void 0}(n,e.lastSize);if(void 0!==i&&0!==n.status&&(e.metrics.rxSize=i),e.sameOrigin&&n.getAllResponseHeaders().indexOf(Qe)>=0){var s=n.getResponseHeader(Qe);s&&((0,x.p)("sm",["Ajax/CrossApplicationTracing/Header/Seen"],void 0,t.K7.metrics,r),e.params.cat=s.split(", ").pop())}e.loadCaptureCalled=!0}r.on("new-xhr",a),r.on("open-xhr-start",o),r.on("open-xhr-end",d),r.on("send-xhr-start",l),r.on("setRequestHeader-xhr-start",u),r.on("xhr-cb-time",f),r.on("xhr-load-added",h),r.on("xhr-load-removed",p),r.on("xhr-resolved",m),r.on("addEventListener-end",v),r.on("removeEventListener-end",y),r.on("fn-end",E),r.on("fetch-before-start",w),r.on("fetch-start",R),r.on("fn-start",b),r.on("fetch-done",T)}(e,this.ee,this.handler,this.dt),this.importAggregator(e,()=>r.e(478).then(r.bind(r,3845)))}}const rt={},nt=["pushState","replaceState"];function it(e,t){const r=function(e){return(e||R.ee).get("history")}(e);return!g.RI||rt[r.debugId]++||(rt[r.debugId]=1,(0,Le.YM)(r,void 0,t).inPlace(window.history,nt,"-")),r}var st=r(3738);function at(e){(0,P.Y)(N.BL,function(r=Date.now()){const n=r-g.WN;n<0&&(0,l.R)(62,r),(0,x.p)(q.XG,[N.BL,{time:n}],void 0,t.K7.metrics,e.ee),e.addToTrace({name:N.BL,start:r,origin:"nr"}),(0,x.p)("api-"+N.hG,[n,N.BL],void 0,t.K7.genericEvents,e.ee)},e)}const{He:ot,bD:ct,d3:dt,Kp:ut,TZ:lt,Lc:ft,uP:ht,Rz:pt}=st;class gt extends W{static featureName=lt;constructor(e){var n;super(e,lt),n=e,(0,P.Y)(N.U2,function(e){if(!(e&&"object"==typeof e&&e.name&&e.start))return;const r={n:e.name,s:e.start-g.WN,e:(e.end||e.start)-g.WN,o:e.origin||"",t:"api"};r.s<0||r.e<0||r.e<r.s?(0,l.R)(61,{start:r.s,end:r.e}):(0,x.p)("bstApi",[r],void 0,t.K7.sessionTrace,n.ee)},n),at(e);if(!(0,j.V)(e.init))return void this.deregisterDrain();const i=this.ee;let s;it(i,e),this.eventsEE=(0,Pe.u)(i,e),this.eventsEE.on(ht,function(e,t){this.bstStart=(0,O.t)()}),this.eventsEE.on(ft,function(e,r){(0,x.p)("bst",[e[0],r,this.bstStart,(0,O.t)()],void 0,t.K7.sessionTrace,i)}),i.on(pt+dt,function(e){this.time=(0,O.t)(),this.startPath=location.pathname+location.hash}),i.on(pt+ut,function(e){(0,x.p)("bstHist",[location.pathname+location.hash,this.startPath,this.time],void 0,t.K7.sessionTrace,i)});try{s=new PerformanceObserver(e=>{const r=e.getEntries();(0,x.p)(ot,[r],void 0,t.K7.sessionTrace,i)}),s.observe({type:ct,buffered:!0})}catch(e){}this.importAggregator(e,()=>r.e(478).then(r.bind(r,6974)),{resourceObserver:s})}}var mt=r(733),vt=r(6344);class yt extends W{static featureName=vt.TZ;#i;recorder;constructor(e){var n;let i;super(e,vt.TZ),n=e,(0,P.Y)(N.CH,function(){(0,x.p)(N.CH,[],void 0,t.K7.sessionReplay,n.ee)},n),function(e){(0,P.Y)(N.Tb,function(){(0,x.p)(N.Tb,[],void 0,t.K7.sessionReplay,e.ee)},e)}(e);const s="".concat(u.Wt).concat((0,mt.Y)(e.info.licenseKey,e.info.applicationID));try{i=JSON.parse(localStorage.getItem(s))}catch(e){}(0,C.SR)(e.init)&&this.ee.on(N.CH,()=>this.#s()),this.#a(i)&&this.importRecorder().then(e=>{e.startRecording(vt.Qb.PRELOAD,i?.sessionReplayMode)}),this.abortHandler=this.#n,this.importAggregator(this.agentRef,()=>r.e(478).then(r.bind(r,6167)),this),this.ee.on("err",e=>{this.blocked||this.agentRef.runtime.isRecording&&(this.errorNoticed=!0,(0,x.p)(vt.Vh,[e],void 0,this.featureName,this.ee))})}#a(e){return e&&(e.sessionReplayMode===u.g.FULL||e.sessionReplayMode===u.g.ERROR)||(0,C.Aw)(this.agentRef.init)}importRecorder(){return this.recorder?Promise.resolve(this.recorder):(this.#i??=Promise.all([r.e(478),r.e(249)]).then(r.bind(r,4866)).then(({Recorder:e})=>(this.recorder=new e(this),this.recorder)).catch(e=>{throw this.ee.emit("internal-error",[e]),this.blocked=!0,e}),this.#i)}#s(){this.blocked||(this.featAggregate?this.featAggregate.mode!==u.g.FULL&&this.featAggregate.initializeRecording(u.g.FULL,!0,vt.Qb.API):this.importRecorder().then(()=>{this.recorder.startRecording(vt.Qb.API,u.g.FULL)}))}#n(){this.recorder?.stopRecording()}}var bt=r(3962);class Et extends W{static featureName=bt.TZ;constructor(e){if(super(e,bt.TZ),function(e){const r=e.ee.get("tracer");function n(){}(0,P.Y)(N.dT,function(e){return(new n).get("object"==typeof e?e:{})},e);const i=n.prototype={createTracer:function(n,i){var s={},a=this,o="function"==typeof i;return(0,x.p)(q.xV,["API/createTracer/called"],void 0,t.K7.metrics,e.ee),function(){if(r.emit((o?"":"no-")+"fn-start",[(0,O.t)(),a,o],s),o)try{return i.apply(this,arguments)}catch(e){const t="string"==typeof e?new Error(e):e;throw r.emit("fn-err",[arguments,this,t],s),t}finally{r.emit("fn-end",[(0,O.t)()],s)}}}};["actionText","setName","setAttribute","save","ignore","onEnd","getContext","end","get"].forEach(r=>{P.Y.apply(this,[r,function(){return(0,x.p)(N.hw+r,[performance.now(),...arguments],this,t.K7.softNav,e.ee),this},e,i])}),(0,P.Y)(N.PA,function(){(0,x.p)(N.hw+"routeName",[performance.now(),...arguments],void 0,t.K7.softNav,e.ee)},e)}(e),!g.RI||!(0,i.dV)().o.MO)return;const n=it(this.ee,e);try{this.removeOnAbort=new AbortController}catch(e){}bt.tC.forEach(e=>{(0,X.sp)(e,e=>{c(e)},!0,this.removeOnAbort?.signal)});const s=()=>(0,x.p)("newURL",[(0,O.t)(),""+window.location],void 0,this.featureName,this.ee);n.on("pushState-end",s),n.on("replaceState-end",s),(0,X.sp)(bt.OV,e=>{c(e),(0,x.p)("newURL",[e.timeStamp,""+window.location],void 0,this.featureName,this.ee)},!0,this.removeOnAbort?.signal);let a=!1;const o=new((0,i.dV)().o.MO)((e,t)=>{a||(a=!0,requestAnimationFrame(()=>{(0,x.p)("newDom",[(0,O.t)()],void 0,this.featureName,this.ee),a=!1}))}),c=(0,M.s)(e=>{"loading"!==document.readyState&&((0,x.p)("newUIEvent",[e],void 0,this.featureName,this.ee),o.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}))},100,{leading:!0});this.abortHandler=function(){this.removeOnAbort?.abort(),o.disconnect(),this.abortHandler=void 0},this.importAggregator(e,()=>r.e(478).then(r.bind(r,4393)),{domObserver:o})}}var wt=r(981);const Rt={},Tt=new Set;function At(e){return"string"==typeof e?{type:"string",size:(new TextEncoder).encode(e).length}:e instanceof ArrayBuffer?{type:"ArrayBuffer",size:e.byteLength}:e instanceof Blob?{type:"Blob",size:e.size}:e instanceof DataView?{type:"DataView",size:e.byteLength}:ArrayBuffer.isView(e)?{type:"TypedArray",size:e.byteLength}:{type:"unknown",size:0}}class xt{constructor(e,t){this.timestamp=(0,O.t)(),this.currentUrl=(0,be.L)(window.location.href),this.socketId=(0,ye.LA)(8),this.requestedUrl=(0,be.L)(e),this.requestedProtocols=Array.isArray(t)?t.join(","):t||"",this.openedAt=void 0,this.protocol=void 0,this.extensions=void 0,this.binaryType=void 0,this.messageOrigin=void 0,this.messageCount=0,this.messageBytes=0,this.messageBytesMin=0,this.messageBytesMax=0,this.messageTypes=void 0,this.sendCount=0,this.sendBytes=0,this.sendBytesMin=0,this.sendBytesMax=0,this.sendTypes=void 0,this.closedAt=void 0,this.closeCode=void 0,this.closeReason="unknown",this.closeWasClean=void 0,this.connectedDuration=0,this.hasErrors=void 0}}class St extends W{static featureName=o.TZ;constructor(e){super(e,o.TZ);const n=e.init.feature_flags.includes("websockets")||e.init.web_sockets?.enabled,s=!e.init.feature_flags.includes("no_spv"),a=[e.init.page_action.enabled,e.init.performance.capture_marks,e.init.performance.capture_measures,e.init.performance.resources.enabled,e.init.user_actions.enabled,n,s];var c;let d;if(c=e,(0,P.Y)(N.hG,(e,t)=>ce(e,t,c),c),function(e){(0,P.Y)(N.fF,(t,r)=>ue(t,r,e),e)}(e),at(e),Te(e),function(e){(0,P.Y)(N.V1,(t,r)=>de(t,r,e),e)}(e),this.removeOnAbort=new AbortController,this.abortHandler=()=>{this.removeOnAbort.abort(),this.abortHandler=void 0},n){const u=function(e,t){if(!(0,i.dV)().o.WS)return e;const r=e.get("websockets");if(Rt[r.debugId]++)return r;Rt[r.debugId]=1,(0,V.G)(()=>{const e=(0,O.t)();Tt.forEach(t=>{t.nrData.closedAt=e,t.nrData.closeCode=1001,t.nrData.closeReason="Page navigating away",t.nrData.closeWasClean=!1,t.nrData.openedAt&&(t.nrData.connectedDuration=e-t.nrData.openedAt),r.emit("ws",[t.nrData,t.targets],t)})});class n extends WebSocket{static name=wt.R.WS;static toString(){return"function WebSocket() { [native code] }"}toString(){return"[object WebSocket]"}get[Symbol.toStringTag](){return n.name}#o(e){(e.__newrelic??={}).socketId=this.nrData.socketId,this.nrData.hasErrors??=!0}constructor(...e){super(...e),this.nrData=new xt(e[0],e[1]),this.targets=(0,ke.$5)(t),this.addEventListener("open",()=>{this.nrData.openedAt=(0,O.t)(),["protocol","extensions","binaryType"].forEach(e=>{this.nrData[e]=this[e]}),Tt.add(this)}),this.addEventListener("message",e=>{const{type:t,size:r}=At(e.data);this.nrData.messageOrigin??=(0,be.L)(e.origin),this.nrData.messageCount++,this.nrData.messageBytes+=r,this.nrData.messageBytesMin=Math.min(this.nrData.messageBytesMin||1/0,r),this.nrData.messageBytesMax=Math.max(this.nrData.messageBytesMax,r),(this.nrData.messageTypes??"").includes(t)||(this.nrData.messageTypes=this.nrData.messageTypes?"".concat(this.nrData.messageTypes,",").concat(t):t)}),this.addEventListener("close",e=>{this.nrData.closedAt=(0,O.t)(),this.nrData.closeCode=e.code,e.reason&&(this.nrData.closeReason=e.reason),this.nrData.closeWasClean=e.wasClean,this.nrData.connectedDuration=this.nrData.closedAt-this.nrData.openedAt,Tt.delete(this),r.emit("ws",[this.nrData,this.targets],this)})}addEventListener(e,t,...r){const n=this,i="function"==typeof t?function(...e){try{return t.apply(this,e)}catch(e){throw n.#o(e),e}}:t?.handleEvent?{handleEvent:function(...e){try{return t.handleEvent.apply(t,e)}catch(e){throw n.#o(e),e}}}:t;return super.addEventListener(e,i,...r)}send(e){if(this.readyState===WebSocket.OPEN){const{type:t,size:r}=At(e);this.nrData.sendCount++,this.nrData.sendBytes+=r,this.nrData.sendBytesMin=Math.min(this.nrData.sendBytesMin||1/0,r),this.nrData.sendBytesMax=Math.max(this.nrData.sendBytesMax,r),(this.nrData.sendTypes??"").includes(t)||(this.nrData.sendTypes=this.nrData.sendTypes?"".concat(this.nrData.sendTypes,",").concat(t):t)}try{return super.send(e)}catch(e){throw this.#o(e),e}}close(...e){try{super.close(...e)}catch(e){throw this.#o(e),e}}}return g.gm.WebSocket=n,r}(this.ee,e);u.on("ws",(e,t)=>{(0,x.p)("ws-complete",[e,t],void 0,this.featureName,this.ee)})}if(s&&g.gm.addEventListener("securitypolicyviolation",e=>{(0,x.p)("spv",[e],void 0,t.K7.genericEvents,this.ee)},(0,X.jT)(!1,this.removeOnAbort.signal)),g.RI){if(Ue(this.ee,e),je(this.ee,e),d=it(this.ee,e),e.init.user_actions.enabled){function l(t){const r=(0,Ve.D)(t);return e.beacons.includes(r.hostname+":"+r.port)}function f(){d.emit("navChange")}o.Zp.forEach(e=>(0,X.sp)(e,e=>(0,x.p)("ua",[e],void 0,this.featureName,this.ee),!0)),o.qN.forEach(e=>{const t=(0,M.s)(e=>{(0,x.p)("ua",[e],void 0,this.featureName,this.ee)},500,{leading:!0});(0,X.sp)(e,t)}),g.gm.addEventListener("error",()=>{(0,x.p)("uaErr",[],void 0,t.K7.genericEvents,this.ee)},(0,X.jT)(!1,this.removeOnAbort.signal)),this.ee.on("open-xhr-start",(e,r)=>{l(e[1])||r.addEventListener("readystatechange",()=>{2===r.readyState&&(0,x.p)("uaXhr",[],void 0,t.K7.genericEvents,this.ee)},(0,X.jT)(void 0,this.removeOnAbort.signal))}),this.ee.on("fetch-start",e=>{e.length>=1&&!l(qe(e[0]))&&(0,x.p)("uaXhr",[],void 0,t.K7.genericEvents,this.ee)}),d.on("pushState-end",f),d.on("replaceState-end",f),window.addEventListener("hashchange",f,(0,X.jT)(!0,this.removeOnAbort.signal)),window.addEventListener("popstate",f,(0,X.jT)(!0,this.removeOnAbort.signal))}if(e.init.performance.resources.enabled&&g.gm.PerformanceObserver?.supportedEntryTypes.includes("resource")){new PerformanceObserver(e=>{e.getEntries().forEach(e=>{(0,x.p)("browserPerformance.resource",[e],void 0,this.featureName,this.ee)})}).observe({type:"resource",buffered:!0})}}a.some(e=>e)?this.importAggregator(e,()=>r.e(478).then(r.bind(r,8019))):this.deregisterDrain()}}var _t=r(2646);const Ot=new Map;function Nt(e,t,r,n,i=!0,s){if("object"!=typeof t||!t||"string"!=typeof r||!r||"function"!=typeof t[r])return(0,l.R)(29);const a=function(e){return(e||R.ee).get("logger")}(e),o=(0,Le.YM)(a,void 0,s),c=new _t.y(R.P);c.level=n.level,c.customAttributes=n.customAttributes,c.autoCaptured=i;const d=t[r]?.[Le.Jt]||t[r];return Ot.set(d,c),o.inPlace(t,[r],"wrap-logger-",()=>Ot.get(d),void 0,!0),a}var Pt=r(1910);class Lt extends W{static featureName=se.TZ;constructor(e){var t;super(e,se.TZ),t=e,(0,P.Y)("log",(e,r)=>oe(e,r,t),t),function(e){(0,P.Y)(N.Wb,(t,r,{customAttributes:n={},level:i=se.p_.INFO}={})=>{Nt(e.ee,t,r,{customAttributes:n,level:i},!1,e)},e)}(e),Te(e);const n=this.ee;["log","error","warn","info","debug","trace"].forEach(t=>{(0,Pt.i)(g.gm.console[t]),Nt(n,g.gm.console,t,{level:"log"===t?"info":t},void 0,e)}),this.ee.on("wrap-logger-end",function([t],r,i,s=[e.runtime.v2Target]){const{level:a,customAttributes:o,autoCaptured:c}=this;s.forEach(e=>{(0,ae.R)(n,t,o,a,c,e)})}),this.importAggregator(e,()=>r.e(478).then(r.bind(r,5288)))}}new U({features:[tt,F,G,gt,yt,Y,xe,St,Lt,Et],loaderType:"spa"})})()})();</script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5, minimum-scale=1">
<meta charset="UTF-8" />
<link rel="pingback" href="https://leaddev.com/xmlrpc.php" />
<link rel="icon" sizes="32x32" href="https://leaddev.com/wp-content/themes/pbc/assets/favicon.ico" >
<link rel="icon" type="image/png" sizes="48x48" href="https://leaddev.com/wp-content/themes/pbc/assets/favicon-48x48.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://leaddev.com/wp-content/themes/pbc/assets/favicon-16x16.png">
<link rel="icon" type="image/svg+xml" href="https://leaddev.com/wp-content/themes/pbc/assets/favicon.svg">
<link rel="apple-touch-icon-precomposed" href="https://leaddev.com/wp-content/themes/pbc/assets/apple-touch-icon.png" />
<meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />
<meta http-equiv="delegate-ch" content="sec-ch-width https://res.cloudinary.com; sec-ch-dpr https://res.cloudinary.com; sec-ch-viewport-width https://res.cloudinary.com;"><link rel="dns-prefetch" href="https://res.cloudinary.com"><link rel="preconnect" href="https://res.cloudinary.com">
<!-- This site is optimized with the Yoast SEO Premium plugin - https://yoast.com/product/yoast-seo-premium-wordpress/ -->
<title>DORA metrics are lying to you and AI is making it worse - LeadDev</title>
<meta name="description" content="AI is inflating your DORA metrics while quietly expanding the risks your dashboards can&#039;t see. Here&#039;s how to close the gap." />
<link rel="canonical" href="https://leaddev.com/reporting/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="article" />
<meta property="og:title" content="DORA metrics are lying to you and AI is making it worse" />
<meta property="og:description" content="AI is inflating your DORA metrics while quietly expanding the risks your dashboards can&#039;t see. Here&#039;s how to close the gap." />
<meta property="og:url" content="https://leaddev.com/reporting/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse" />
<meta property="og:site_name" content="LeadDev" />
<meta property="article:published_time" content="2026-05-06T07:09:36+00:00" />
<meta property="article:modified_time" content="2026-05-06T07:09:39+00:00" />
<meta property="og:image" content="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_1280,h_853/next/2024/08/Reporting3-1.png" />
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="853" />
<meta property="og:image:type" content="image/png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@theleaddev" />
<meta name="twitter:site" content="@theleaddev" />
<script type="application/ld+json" class="yoast-schema-graph">{
"@context": "https:\/\/schema.org",
"@graph": [
{
"@type": "Article",
"@id": "https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse#article",
"isPartOf": {
"@id": "https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse"
},
"author": {
"name": "Paul LaPosta",
"@id": "https:\/\/leaddev.com\/#\/schema\/person\/f3eb3e5714941405a897b78327385a7b"
},
"headline": "DORA metrics are lying to you and AI is making it worse",
"datePublished": "2026-05-06T07:09:36+00:00",
"dateModified": "2026-05-06T07:09:39+00:00",
"mainEntityOfPage": {
"@id": "https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse"
},
"wordCount": 1714,
"publisher": {
"@id": "https:\/\/leaddev.com\/#organization"
},
"image": {
"@id": "https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse#primaryimage"
},
"thumbnailUrl": "https:\/\/res.cloudinary.com\/leaddev\/image\/upload\/f_auto\/q_auto\/dpr_auto\/c_limit,w_1280,h_853\/next\/2024\/08\/Reporting3-1.png",
"articleSection": [
"AI",
"Metrics"
],
"inLanguage": "en-US"
},
{
"@type": "WebPage",
"@id": "https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse",
"url": "https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse",
"name": "DORA metrics are lying to you and AI is making it worse - LeadDev",
"isPartOf": {
"@id": "https:\/\/leaddev.com\/#website"
},
"primaryImageOfPage": {
"@id": "https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse#primaryimage"
},
"image": {
"@id": "https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse#primaryimage"
},
"thumbnailUrl": "https:\/\/res.cloudinary.com\/leaddev\/image\/upload\/f_auto\/q_auto\/dpr_auto\/c_limit,w_1280,h_853\/next\/2024\/08\/Reporting3-1.png",
"datePublished": "2026-05-06T07:09:36+00:00",
"dateModified": "2026-05-06T07:09:39+00:00",
"description": "AI is inflating your DORA metrics while quietly expanding the risks your dashboards can't see. Here's how to close the gap.",
"breadcrumb": {
"@id": "https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse#breadcrumb"
},
"inLanguage": "en-US",
"potentialAction": [
{
"@type": "ReadAction",
"target": [
"https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse"
]
}
]
},
{
"@type": "ImageObject",
"inLanguage": "en-US",
"@id": "https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse#primaryimage",
"url": "https:\/\/res.cloudinary.com\/leaddev\/image\/upload\/f_auto\/q_auto\/dpr_auto\/c_limit,w_1280,h_853\/next\/2024\/08\/Reporting3-1.png",
"contentUrl": "https:\/\/res.cloudinary.com\/leaddev\/image\/upload\/f_auto\/q_auto\/dpr_auto\/c_limit,w_1280,h_853\/next\/2024\/08\/Reporting3-1.png",
"width": 1280,
"height": 853
},
{
"@type": "BreadcrumbList",
"@id": "https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse#breadcrumb",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Metrics",
"item": "https:\/\/leaddev.com\/reporting"
},
{
"@type": "ListItem",
"position": 2,
"name": "DORA metrics are lying to you and AI is making it worse"
}
]
},
{
"@type": "WebSite",
"@id": "https:\/\/leaddev.com\/#website",
"url": "https:\/\/leaddev.com\/",
"name": "LeadDev",
"description": "The home of engineering leadership",
"publisher": {
"@id": "https:\/\/leaddev.com\/#organization"
},
"potentialAction": [
{
"@type": "SearchAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "https:\/\/leaddev.com\/?s={search_term_string}"
},
"query-input": {
"@type": "PropertyValueSpecification",
"valueRequired": true,
"valueName": "search_term_string"
}
}
],
"inLanguage": "en-US"
},
{
"@type": "Organization",
"@id": "https:\/\/leaddev.com\/#organization",
"name": "LeadDev",
"url": "https:\/\/leaddev.com\/",
"logo": {
"@type": "ImageObject",
"inLanguage": "en-US",
"@id": "https:\/\/leaddev.com\/#\/schema\/logo\/image\/",
"url": "https:\/\/res.cloudinary.com\/leaddev\/image\/upload\/f_auto\/q_auto\/dpr_auto\/c_limit,w_745,h_295\/next\/2024\/04\/LD_Logo_Generic_OnNavy_RGB.png",
"contentUrl": "https:\/\/res.cloudinary.com\/leaddev\/image\/upload\/f_auto\/q_auto\/dpr_auto\/c_limit,w_745,h_295\/next\/2024\/04\/LD_Logo_Generic_OnNavy_RGB.png",
"width": 745,
"height": 295,
"caption": "LeadDev"
},
"image": {
"@id": "https:\/\/leaddev.com\/#\/schema\/logo\/image\/"
},
"sameAs": [
"https:\/\/x.com\/theleaddev",
"https:\/\/www.linkedin.com\/company\/5288521",
"https:\/\/www.youtube.com\/c\/LeadDev\/"
]
},
{
"@type": "Person",
"@id": "https:\/\/leaddev.com\/#\/schema\/person\/f3eb3e5714941405a897b78327385a7b",
"name": "Paul LaPosta",
"image": {
"@type": "ImageObject",
"inLanguage": "en-US",
"@id": "https:\/\/leaddev.com\/#\/schema\/person\/image\/",
"url": "https:\/\/res.cloudinary.com\/leaddev\/image\/upload\/f_auto\/q_auto\/dpr_auto\/c_limit,w_782,h_781\/next\/2026\/05\/PJL_2-Paul-LaPosta-2.png",
"contentUrl": "https:\/\/res.cloudinary.com\/leaddev\/image\/upload\/f_auto\/q_auto\/dpr_auto\/c_limit,w_782,h_781\/next\/2026\/05\/PJL_2-Paul-LaPosta-2.png",
"caption": "Paul LaPosta"
}
}
]
}</script>
<!-- / Yoast SEO Premium plugin. -->
<link rel='dns-prefetch' href='//cs.iubenda.com' />
<link rel='dns-prefetch' href='//cdn.iubenda.com' />
<link rel='dns-prefetch' href='//pagead2.googlesyndication.com' />
<link rel='dns-prefetch' href='//www.googletagmanager.com' />
<link rel='dns-prefetch' href='//diffuser-cdn.app-us1.com' />
<link rel='preconnect' href='https://www.googletagmanager.com' />
<link rel='preconnect' href='https://diffuser-cdn.app-us1.com' />
<link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://leaddev.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse" />
<link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://leaddev.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&#038;format=xml" />
<!-- START : metatags for zephr integration -->
<meta name="category" content="ai,reporting" />
<meta name="tax_format" content="article" />
<meta name="author" content="Paul LaPosta" />
<!-- END : metatags for zephr integration -->
<style id="wp-img-auto-sizes-contain-inline-css">
img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
/*# sourceURL=wp-img-auto-sizes-contain-inline-css */
</style>
<style id="zephr-front-end-inline-css">
.blaize-form,.blaize-form *,.zp-register-block,.zp-register-block *{box-sizing:border-box}body .blaize-form .blaize-validators,body .blaize-form .sso-complete-reg,body .blaize-theme-default.blaize-form.blaize-form-login fieldset,body .blaize-theme-default.blaize-form.blaize-form-register fieldset,body .blaize-theme-default.blaize-form.blaize-form-reset-password fieldset{max-width:none}body #leaddev-live-login-btn,body #leaddev-live-register-btn{color:var(--wp--preset--color--primary)}body #leaddev-live-login-btn:hover,body #leaddev-live-register-btn:hover{color:var(--wp--preset--color--secondary)}
/*# sourceURL=https://leaddev.com/wp-content/mu-plugins/app/src/Integrations/Zephr/build/zephr-front-end.css */
</style>
<style id="wp-block-library-inline-css">
:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}:root .has-text-align-center{text-align:center}:root .has-text-align-left{text-align:left}:root .has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{word-wrap:normal!important;border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-break:normal!important}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style^=border-color],[style*=";border-color"],[style*="; border-color"]){border-style:solid}html :where([style^=border-top-color],[style*=";border-top-color"],[style*="; border-top-color"]){border-top-style:solid}html :where([style^=border-right-color],[style*=";border-right-color"],[style*="; border-right-color"]){border-right-style:solid}html :where([style^=border-bottom-color],[style*=";border-bottom-color"],[style*="; border-bottom-color"]){border-bottom-style:solid}html :where([style^=border-left-color],[style*=";border-left-color"],[style*="; border-left-color"]){border-left-style:solid}html :where([style^=border-width],[style*=";border-width"],[style*="; border-width"]){border-style:solid}html :where([style^=border-top-width],[style*=";border-top-width"],[style*="; border-top-width"]){border-top-style:solid}html :where([style^=border-right-width],[style*=";border-right-width"],[style*="; border-right-width"]){border-right-style:solid}html :where([style^=border-bottom-width],[style*=";border-bottom-width"],[style*="; border-bottom-width"]){border-bottom-style:solid}html :where([style^=border-left-width],[style*=";border-left-width"],[style*="; border-left-width"]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}}
/*# sourceURL=/wp-includes/css/dist/block-library/common.min.css */
</style>
<style id="wp-block-button-inline-css">
.wp-block-button__link{align-content:center;box-sizing:border-box;cursor:pointer;display:inline-block;height:100%;text-align:center;word-break:break-word}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){border-radius:9999px;box-shadow:none;padding:calc(.667em + 2px) calc(1.333em + 2px);text-decoration:none}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button[class*=wp-block-button__width]{width:calc(var(--wp--block-button--width)*1% - var(--wp--style--block-gap, .5em)*(1 - var(--wp--block-button--width)/100))}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{flex-basis:100%;width:100%}.wp-block-buttons.is-vertical>.wp-block-button[class*=wp-block-button__width]{width:calc(var(--wp--block-button--width)*1%)}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}:root :where(.wp-block-button .wp-block-button__link.is-style-outline),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link){border:2px solid;padding:.667em 1.333em}:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color)){color:currentColor}:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background)){background-color:transparent;background-image:none}
/*# sourceURL=https://leaddev.com/wp-includes/blocks/button/style.min.css */
</style>
<style id="wp-block-heading-inline-css">
h1:where(.wp-block-heading).has-background,h2:where(.wp-block-heading).has-background,h3:where(.wp-block-heading).has-background,h4:where(.wp-block-heading).has-background,h5:where(.wp-block-heading).has-background,h6:where(.wp-block-heading).has-background{padding:1.25em 2.375em}h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h3.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h3.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h4.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h4.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h5.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h5.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h6.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]){rotate:180deg}
/*# sourceURL=https://leaddev.com/wp-includes/blocks/heading/style.min.css */
</style>
<style id="wp-block-image-inline-css">
.wp-block-image>a,.wp-block-image>figure>a{display:inline-block}.wp-block-image img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom}@media not (prefers-reduced-motion){.wp-block-image img.hide{visibility:hidden}.wp-block-image img.show{animation:show-content-image .4s}}.wp-block-image[style*=border-radius] img,.wp-block-image[style*=border-radius]>a{border-radius:inherit}.wp-block-image.has-custom-border img{box-sizing:border-box}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull>a,.wp-block-image.alignwide>a{width:100%}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.aligncenter,.wp-block-image.alignleft,.wp-block-image.alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.aligncenter>figcaption,.wp-block-image.alignleft>figcaption,.wp-block-image.alignright>figcaption{caption-side:bottom;display:table-caption}.wp-block-image .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-image .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image :where(figcaption){margin-bottom:1em;margin-top:.5em}.wp-block-image.is-style-circle-mask img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{border-radius:0;-webkit-mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-mode:alpha;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}}:root :where(.wp-block-image.is-style-rounded img,.wp-block-image .is-style-rounded img){border-radius:9999px}.wp-block-image figure{margin:0}.wp-lightbox-container{display:flex;flex-direction:column;position:relative}.wp-lightbox-container img{cursor:zoom-in}.wp-lightbox-container img:hover+button{opacity:1}.wp-lightbox-container button{align-items:center;backdrop-filter:blur(16px) saturate(180%);background-color:rgba(90,90,90,.25);border:none;border-radius:4px;cursor:zoom-in;display:flex;height:20px;justify-content:center;opacity:0;padding:0;position:absolute;right:16px;text-align:center;top:16px;width:20px;z-index:100}@media not (prefers-reduced-motion){.wp-lightbox-container button{transition:opacity .2s ease}}.wp-lightbox-container button:focus-visible{outline:3px auto rgba(90,90,90,.25);outline:3px auto -webkit-focus-ring-color;outline-offset:3px}.wp-lightbox-container button:hover{cursor:pointer;opacity:1}.wp-lightbox-container button:focus{opacity:1}.wp-lightbox-container button:focus,.wp-lightbox-container button:hover,.wp-lightbox-container button:not(:hover):not(:active):not(.has-background){background-color:rgba(90,90,90,.25);border:none}.wp-lightbox-overlay{box-sizing:border-box;cursor:zoom-out;height:100vh;left:0;overflow:hidden;position:fixed;top:0;visibility:hidden;width:100%;z-index:100000}.wp-lightbox-overlay .wp-lightbox-close-button{align-items:center;cursor:pointer;display:flex;font-family:inherit;gap:8px;justify-content:center;line-height:1;min-height:40px;min-width:40px;padding:0 4px;position:absolute;right:calc(env(safe-area-inset-right) + 16px);top:calc(env(safe-area-inset-top) + 16px);z-index:5000000}.wp-lightbox-overlay .wp-lightbox-close-button:focus,.wp-lightbox-overlay .wp-lightbox-close-button:hover,.wp-lightbox-overlay .wp-lightbox-close-button:not(:hover):not(:active):not(.has-background){background:none;border:none}.wp-lightbox-overlay .wp-lightbox-close-button:has(.wp-lightbox-close-text:not([hidden])) .wp-lightbox-close-icon svg{height:1em;width:1em}.wp-lightbox-overlay .wp-lightbox-close-icon svg{display:block}.wp-lightbox-overlay .wp-lightbox-navigation-button-next,.wp-lightbox-overlay .wp-lightbox-navigation-button-prev{align-items:center;bottom:16px;cursor:pointer;display:flex;font-family:inherit;gap:4px;justify-content:center;line-height:1;min-height:40px;min-width:40px;padding:0 8px;position:absolute;z-index:2000002}.wp-lightbox-overlay .wp-lightbox-navigation-button-next[hidden],.wp-lightbox-overlay .wp-lightbox-navigation-button-prev[hidden]{display:none}@media (min-width:960px){.wp-lightbox-overlay .wp-lightbox-navigation-button-next,.wp-lightbox-overlay .wp-lightbox-navigation-button-prev{bottom:50%;transform:translateY(-50%)}}.wp-lightbox-overlay .wp-lightbox-navigation-button-next:focus,.wp-lightbox-overlay .wp-lightbox-navigation-button-next:hover,.wp-lightbox-overlay .wp-lightbox-navigation-button-next:not(:hover):not(:active):not(.has-background),.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:focus,.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:hover,.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:not(:hover):not(:active):not(.has-background){background:none;border:none;padding:0 8px}.wp-lightbox-overlay .wp-lightbox-navigation-button-next:has(.wp-lightbox-navigation-text:not([hidden])) .wp-lightbox-navigation-icon svg,.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:has(.wp-lightbox-navigation-text:not([hidden])) .wp-lightbox-navigation-icon svg{display:block;height:1.5em;width:1.5em}.wp-lightbox-overlay .wp-lightbox-navigation-button-prev{left:calc(env(safe-area-inset-left) + 16px)}.wp-lightbox-overlay .wp-lightbox-navigation-button-next{right:calc(env(safe-area-inset-right) + 16px)}.wp-lightbox-overlay .wp-lightbox-navigation-icon svg{vertical-align:middle}.wp-lightbox-overlay .lightbox-image-container{height:var(--wp--lightbox-container-height);left:50%;overflow:hidden;position:absolute;top:50%;transform:translate(-50%,-50%);transform-origin:top left;width:var(--wp--lightbox-container-width);z-index:2000001}.wp-lightbox-overlay .wp-block-image{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:center;margin:0;position:relative;transform-origin:0 0;width:100%;z-index:3000000}.wp-lightbox-overlay .wp-block-image img{height:var(--wp--lightbox-image-height);min-height:var(--wp--lightbox-image-height);min-width:var(--wp--lightbox-image-width);width:var(--wp--lightbox-image-width)}.wp-lightbox-overlay .wp-block-image figcaption{display:none}.wp-lightbox-overlay button{background:none;border:none}.wp-lightbox-overlay .scrim{background-color:#fff;height:100%;opacity:.9;position:absolute;width:100%;z-index:2000000}.wp-lightbox-overlay.active{visibility:visible}@media not (prefers-reduced-motion){.wp-lightbox-overlay.active{animation:turn-on-visibility .25s both}.wp-lightbox-overlay.active img{animation:turn-on-visibility .35s both}.wp-lightbox-overlay.show-closing-animation:not(.active){animation:turn-off-visibility .35s both}.wp-lightbox-overlay.show-closing-animation:not(.active) img{animation:turn-off-visibility .25s both}.wp-lightbox-overlay.zoom.active{animation:none;opacity:1;visibility:visible}.wp-lightbox-overlay.zoom.active .lightbox-image-container{animation:lightbox-zoom-in .4s}.wp-lightbox-overlay.zoom.active .lightbox-image-container img{animation:none}.wp-lightbox-overlay.zoom.active .scrim{animation:turn-on-visibility .4s forwards}.wp-lightbox-overlay.zoom.show-closing-animation:not(.active){animation:none}.wp-lightbox-overlay.zoom.show-closing-animation:not(.active) .lightbox-image-container{animation:lightbox-zoom-out .4s}.wp-lightbox-overlay.zoom.show-closing-animation:not(.active) .lightbox-image-container img{animation:none}.wp-lightbox-overlay.zoom.show-closing-animation:not(.active) .scrim{animation:turn-off-visibility .4s forwards}}@keyframes show-content-image{0%{visibility:hidden}99%{visibility:hidden}to{visibility:visible}}@keyframes turn-on-visibility{0%{opacity:0}to{opacity:1}}@keyframes turn-off-visibility{0%{opacity:1;visibility:visible}99%{opacity:0;visibility:visible}to{opacity:0;visibility:hidden}}@keyframes lightbox-zoom-in{0%{transform:translate(calc((-100vw + var(--wp--lightbox-scrollbar-width))/2 + var(--wp--lightbox-initial-left-position)),calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale))}to{transform:translate(-50%,-50%) scale(1)}}@keyframes lightbox-zoom-out{0%{transform:translate(-50%,-50%) scale(1);visibility:visible}99%{visibility:visible}to{transform:translate(calc((-100vw + var(--wp--lightbox-scrollbar-width))/2 + var(--wp--lightbox-initial-left-position)),calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));visibility:hidden}}
/*# sourceURL=https://leaddev.com/wp-includes/blocks/image/style.min.css */
</style>
<style id="wp-block-list-inline-css">
ol,ul{box-sizing:border-box}:root :where(.wp-block-list.has-background){padding:1.25em 2.375em}
/*# sourceURL=https://leaddev.com/wp-includes/blocks/list/style.min.css */
</style>
<style id="wp-block-paragraph-inline-css">
.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}:root :where(p.has-background){padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg}
/*# sourceURL=https://leaddev.com/wp-includes/blocks/paragraph/style.min.css */
</style>
<style id="wp-block-buttons-inline-css">
.wp-block-buttons{box-sizing:border-box}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons .wp-block-button__link{width:100%}.wp-block-button.aligncenter{text-align:center}
/*# sourceURL=https://leaddev.com/wp-includes/blocks/buttons/style.min.css */
</style>
<style id="wp-block-group-inline-css">
.wp-block-group{box-sizing:border-box}:where(.wp-block-group.wp-block-group-is-layout-constrained){position:relative}
/*# sourceURL=https://leaddev.com/wp-includes/blocks/group/style.min.css */
</style>
<style id="wp-block-separator-inline-css">
@charset "UTF-8";.wp-block-separator{border:none;border-top:2px solid}:root :where(.wp-block-separator.is-style-dots){height:auto;line-height:1;text-align:center}:root :where(.wp-block-separator.is-style-dots):before{color:currentColor;content:"···";font-family:serif;font-size:1.5em;letter-spacing:2em;padding-left:2em}.wp-block-separator.is-style-dots{background:none!important;border:none!important}
/*# sourceURL=https://leaddev.com/wp-includes/blocks/separator/style.min.css */
</style>
<style id="pbc-card-title-style-inline-css">
/*# sourceURL=https://leaddev.com/wp-content/mu-plugins/app/src/Blocks/build/Card/sub-blocks/card-title/style-index.css */
</style>
<style id="pbc-card-contributors-style-inline-css">
.ld-card__contributors-item .ld-card__contributor_image{margin-right:10px}.ld-card__contributors-item .ld-card__contributor_image img{display:block;max-height:64px;max-width:64px}.ld-card__contributors-item:has(img){align-items:center;display:flex}.ld-card__contributors-item p{margin:5px 0 0}.ld-card__contributors-item p:empty{margin:0}.ld-card__contributors-item+li{margin-top:10px}.contributor-credit{display:flex}.contributor-credit__details{display:flex;flex-direction:column;justify-content:center;line-height:.8em}.contributor-credit__details--primary>*{display:inline}
/*# sourceURL=https://leaddev.com/wp-content/mu-plugins/app/src/Blocks/build/Card/sub-blocks/card-contributors/style-index.css */
</style>
<style id="pbc-offset-style-inline-css">
@media screen and (min-width:600px){.wp-block-pbc-offset{z-index:1}}.wp-block-pbc-offset .offset-content,.wp-block-pbc-offset.offset-content{--gap-multiplier:2;--offset-gap:calc(var(--gap-multiplier)*var(--wp--style--block-gap));margin-block:var(--wp--style--block-gap)}.wp-block-pbc-offset .offset-content--do-offset,.wp-block-pbc-offset.offset-content--do-offset{width:100%}.wp-block-pbc-offset .offset-content .wp-block-heading:first-child,.wp-block-pbc-offset.offset-content .wp-block-heading:first-child{margin-block-start:0}@media screen and (min-width:600px){.wp-block-pbc-offset .offset-content--do-offset,.wp-block-pbc-offset.offset-content--do-offset{max-width:300px}.wp-block-pbc-offset .offset-content--left,.wp-block-pbc-offset.offset-content--left{float:left;padding-inline-end:var(--wp--style--block-gap)}.wp-block-pbc-offset .offset-content--right,.wp-block-pbc-offset.offset-content--right{float:right;padding-inline-start:var(--wp--style--block-gap)}}@media screen and (min-width:1200px){.wp-block-pbc-offset .offset-content--do-offset,.wp-block-pbc-offset.offset-content--do-offset{max-width:calc(25% - var(--wp--style--block-gap));min-width:200px;position:absolute;width:100%}.wp-block-pbc-offset .offset-content--left,.wp-block-pbc-offset.offset-content--left{left:0}.wp-block-pbc-offset .offset-content--right,.wp-block-pbc-offset.offset-content--right{right:0}.article__body__col .post>div[style*="position: relative"] .wp-block-pbc-offset .offset-content--right,.article__body__col .post>div[style*="position: relative"] .wp-block-pbc-offset.offset-content--right{left:calc(100% + var(--wp--style--block-gap));right:unset}}.wp-block-pbc-offset+.wp-block-pbc-offset{clear:both}
/*# sourceURL=https://leaddev.com/wp-content/mu-plugins/app/src/Blocks/build/offset/style-index.css */
</style>
<style id="pbc-related-content-style-inline-css">
/*# sourceURL=https://leaddev.com/wp-content/mu-plugins/app/src/Blocks/build/related-content/style-index.css */
</style>
<link rel='stylesheet' id='pbc-block-editor-extended-settings-css' href='https://leaddev.com/wp-content/mu-plugins/app/src/BlockEditor/build/index.scss.css?ver=1.1' media='all' />
<link rel='stylesheet' id='ld-editor-css' href='https://leaddev.com/wp-content/themes/pbc/build/editor.css?ver=b06726aee478143c71f0' media='all' />
<style id="global-styles-inline-css">
:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--primary: #0A0A46;--wp--preset--color--secondary: #ff326e;--wp--preset--color--tertiary: #7864FF;--wp--preset--color--quaternary: #00DCBE;--wp--preset--color--quinary: #00BEFF;--wp--preset--color--black: #000;--wp--preset--color--primary-tint-500: #C2C2D1;--wp--preset--color--secondary-tint-500: #FFCCDB;--wp--preset--color--tertiary-tint-500: #DDD8FF;--wp--preset--color--quaternary-tint-500: #BFF6EF;--wp--preset--color--quinary-tint-500: #BFEFFF;--wp--preset--color--gray: #f5f5f5;--wp--preset--color--primary-tint-100: #E6E6EC;--wp--preset--color--secondary-tint-100: #FFEAF0;--wp--preset--color--tertiary-tint-100: #F1EFFF;--wp--preset--color--quaternary-tint-100: #E5FCF9;--wp--preset--color--quinary-tint-100: #E5F9FF;--wp--preset--color--base: #fff;--wp--preset--color--article-page: #7864FF;--wp--preset--color--card-link: #7864FF;--wp--preset--color--search-item-type: #472cff;--wp--preset--color--hero-block-background: #F1EFFF;--wp--preset--color--dark-blue-indigo: #303085;--wp--preset--gradient--mauve-to-purple: linear-gradient(to right, rgba(57, 50, 141, 1) 0%, rgba(57, 50, 141, 1) 35%, rgba(152, 72, 223, 1) 61%);--wp--preset--font-size--small: 15px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 23px;--wp--preset--font-size--x-large: 36px;--wp--preset--font-size--xx-small: 12px;--wp--preset--font-size--x-small: 14px;--wp--preset--font-size--regular: 16px;--wp--preset--font-size--xx-large: 50px;--wp--preset--font-family--base: foundersgrotesk,Arial,sans-serif;--wp--preset--font-family--monospace: monospace,serif;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);--wp--preset--border-radius--small: .25rem;--wp--preset--border-radius--medium: .5rem;--wp--preset--border-radius--large: .75rem;--wp--preset--border-radius--round: 9999rem;--wp--custom--border--primary: 10px solid var(--wp--preset--color--primary);--wp--custom--border--secondary: 10px solid var(--wp--preset--color--secondary);--wp--custom--border--tertiary: 10px solid var(--wp--preset--color--tertiary);--wp--custom--border--quaternary: 10px solid var(--wp--preset--color--quaternary);--wp--custom--border--quinary: 10px solid var(--wp--preset--color--quinary);--wp--custom--line-height--small: 18px;--wp--custom--line-height--medium: 1.2em;--wp--custom--line-height--large: 36px;--wp--custom--line-height--x-large: 44px;--wp--custom--line-height--xx-large: 56px;--wp--custom--color--footer-bg: #0A0A46;--wp--custom--color--footer-text: #FFF;--wp--custom--color--footer-icon: #FFF;--wp--custom--color--footer-icon-hover: #ff326e;--wp--custom--color--offwhite-blue-100: #F1F1F4;--wp--custom--color--default-button: var(--wp--preset--color--secondary);--wp--custom--color-scheme--primary--background-color: var(--wp--preset--color--primary);--wp--custom--color-scheme--primary--color: var(--wp--preset--color--base);--wp--custom--color-scheme--primary--highlight-1: var(--wp--custom--color--offwhite-blue-100);--wp--custom--color-scheme--primary--highlight-2: var(--wp--custom--color-scheme--primary--highlight-1);--wp--custom--color-scheme--primary--highlight-3: var(--wp--custom--color-scheme--primary--highlight-1);--wp--custom--color-scheme--secondary--background-color: var(--wp--preset--color--secondary);--wp--custom--color-scheme--secondary--color: var(--wp--preset--color--base);--wp--custom--color-scheme--secondary--highlight-1: var(--wp--custom--color--offwhite-blue-100);--wp--custom--color-scheme--secondary--highlight-2: var(--wp--custom--color-scheme--secondary--highlight-1);--wp--custom--color-scheme--secondary--highlight-3: var(--wp--custom--color-scheme--secondary--highlight-1);--wp--custom--color-scheme--tertiary--background-color: var(--wp--preset--color--tertiary);--wp--custom--color-scheme--tertiary--color: var(--wp--preset--color--base);--wp--custom--color-scheme--tertiary--highlight-1: var(--wp--custom--color--offwhite-blue-100);--wp--custom--color-scheme--tertiary--highlight-2: var(--wp--custom--color-scheme--tertiary--highlight-1);--wp--custom--color-scheme--tertiary--highlight-3: var(--wp--custom--color-scheme--tertiary--highlight-1);--wp--custom--color-scheme--quaternary--background-color: var(--wp--preset--color--quaternary);--wp--custom--color-scheme--quaternary--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--quaternary--highlight-1: var(--wp--custom--color--offwhite-blue-100);--wp--custom--color-scheme--quaternary--highlight-2: var(--wp--custom--color-scheme--quaternary--highlight-1);--wp--custom--color-scheme--quaternary--highlight-3: var(--wp--custom--color-scheme--quaternary--highlight-1);--wp--custom--color-scheme--quinary--background-color: var(--wp--preset--color--quinary);--wp--custom--color-scheme--quinary--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--quinary--highlight-1: var(--wp--custom--color--offwhite-blue-100);--wp--custom--color-scheme--quinary--highlight-2: var(--wp--custom--color-scheme--quinary--highlight-1);--wp--custom--color-scheme--quinary--highlight-3: var(--wp--custom--color-scheme--quinary--highlight-1);--wp--custom--color-scheme--primary-tint-500--background-color: var(--wp--preset--color--primary-tint-500);--wp--custom--color-scheme--primary-tint-500--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--primary-tint-500--highlight-1: var(--wp--preset--color--primary);--wp--custom--color-scheme--primary-tint-500--highlight-2: var(--wp--preset--color--primary);--wp--custom--color-scheme--primary-tint-500--highlight-3: var(--wp--preset--color--primary);--wp--custom--color-scheme--secondary-tint-500--background-color: var(--wp--preset--color--secondary-tint-500);--wp--custom--color-scheme--secondary-tint-500--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--secondary-tint-500--highlight-1: var(--wp--preset--color--secondary);--wp--custom--color-scheme--secondary-tint-500--highlight-2: var(--wp--preset--color--secondary);--wp--custom--color-scheme--secondary-tint-500--highlight-3: var(--wp--preset--color--secondary);--wp--custom--color-scheme--tertiary-tint-500--background-color: var(--wp--preset--color--tertiary-tint-500);--wp--custom--color-scheme--tertiary-tint-500--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--tertiary-tint-500--highlight-1: var(--wp--preset--color--tertiary);--wp--custom--color-scheme--tertiary-tint-500--highlight-2: var(--wp--preset--color--tertiary);--wp--custom--color-scheme--tertiary-tint-500--highlight-3: var(--wp--preset--color--tertiary);--wp--custom--color-scheme--quaternary-tint-500--background-color: var(--wp--preset--color--quaternary-tint-500);--wp--custom--color-scheme--quaternary-tint-500--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--quaternary-tint-500--highlight-1: var(--wp--preset--color--quaternary);--wp--custom--color-scheme--quaternary-tint-500--highlight-2: var(--wp--preset--color--quaternary);--wp--custom--color-scheme--quaternary-tint-500--highlight-3: var(--wp--preset--color--quaternary);--wp--custom--color-scheme--quinary-tint-500--background-color: var(--wp--preset--color--quinary-tint-500);--wp--custom--color-scheme--quinary-tint-500--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--quinary-tint-500--highlight-1: var(--wp--preset--color--quinary);--wp--custom--color-scheme--quinary-tint-500--highlight-2: var(--wp--preset--color--quinary);--wp--custom--color-scheme--quinary-tint-500--highlight-3: var(--wp--preset--color--quinary);--wp--custom--color-scheme--primary-tint-100--background-color: var(--wp--preset--color--primary-tint-100);--wp--custom--color-scheme--primary-tint-100--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--primary-tint-100--highlight-1: var(--wp--preset--color--secondary);--wp--custom--color-scheme--primary-tint-100--highlight-2: var(--wp--preset--color--tertiary);--wp--custom--color-scheme--primary-tint-100--highlight-3: var(--wp--preset--color--quinary);--wp--custom--color-scheme--secondary-tint-100--background-color: var(--wp--preset--color--secondary-tint-100);--wp--custom--color-scheme--secondary-tint-100--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--secondary-tint-100--highlight-1: var(--wp--preset--color--secondary);--wp--custom--color-scheme--secondary-tint-100--highlight-2: var(--wp--preset--color--secondary);--wp--custom--color-scheme--secondary-tint-100--highlight-3: var(--wp--preset--color--secondary);--wp--custom--color-scheme--tertiary-tint-100--background-color: var(--wp--preset--color--tertiary-tint-100);--wp--custom--color-scheme--tertiary-tint-100--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--tertiary-tint-100--highlight-1: var(--wp--preset--color--tertiary);--wp--custom--color-scheme--tertiary-tint-100--highlight-2: var(--wp--preset--color--tertiary);--wp--custom--color-scheme--tertiary-tint-100--highlight-3: var(--wp--preset--color--tertiary);--wp--custom--color-scheme--quaternary-tint-100--background-color: var(--wp--preset--color--quaternary-tint-100);--wp--custom--color-scheme--quaternary-tint-100--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--quaternary-tint-100--highlight-1: var(--wp--preset--color--quaternary);--wp--custom--color-scheme--quaternary-tint-100--highlight-2: var(--wp--preset--color--quaternary);--wp--custom--color-scheme--quaternary-tint-100--highlight-3: var(--wp--preset--color--quaternary);--wp--custom--color-scheme--quinary-tint-100--background-color: var(--wp--preset--color--quinary-tint-100);--wp--custom--color-scheme--quinary-tint-100--color: var(--wp--preset--color--primary);--wp--custom--color-scheme--quinary-tint-100--highlight-1: var(--wp--preset--color--quinary);--wp--custom--color-scheme--quinary-tint-100--highlight-2: var(--wp--preset--color--quinary);--wp--custom--color-scheme--quinary-tint-100--highlight-3: var(--wp--preset--color--quinary);--wp--custom--header-colors--background-color: var(--wp--preset--color--base);--wp--custom--header-colors--transparent-background-color: transparent;--wp--custom--header-colors--color: var(--wp--preset--color--primary);--wp--custom--header-colors--separator: var(--wp--preset--color--base);--wp--custom--header-colors--mobile--search-field--background-color: var(--wp--preset--color--base);--wp--custom--header-colors--mobile--search-field--color: var(--wp--preset--color--black);--wp--custom--header-colors--menu--active-dark--stroke: var(--wp--preset--color--primary);--wp--custom--header-colors--menu--active-dark--logo--fill: var(--wp--preset--color--primary);--wp--custom--header-colors--menu--open--stroke: var(--wp--preset--color--base);--wp--custom--header-colors--menu--open--fill: var(--wp--preset--color--base);--wp--custom--card--excerpt--fontsize: 17px;--wp--custom--card--excerpt--lineheight: 21px;}.wp-block-button{--wp--preset--dimension--25: 25%;--wp--preset--dimension--50: 50%;--wp--preset--dimension--75: 75%;--wp--preset--dimension--100: 100%;}:root { --wp--style--global--content-size: 1200px;--wp--style--global--wide-size: 1200px; }:where(body) { margin: 0; }.wp-site-blocks { padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom); }.has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); }.has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); }.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) { padding-right: 0; padding-left: 0; }.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) > .alignfull { margin-left: 0; margin-right: 0; }.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }:where(.wp-site-blocks) > * { margin-block-start: 30px; margin-block-end: 0; }:where(.wp-site-blocks) > :first-child { margin-block-start: 0; }:where(.wp-site-blocks) > :last-child { margin-block-end: 0; }:root { --wp--style--block-gap: 30px; }:root :where(.is-layout-flow) > :first-child{margin-block-start: 0;}:root :where(.is-layout-flow) > :last-child{margin-block-end: 0;}:root :where(.is-layout-flow) > *{margin-block-start: 30px;margin-block-end: 0;}:root :where(.is-layout-constrained) > :first-child{margin-block-start: 0;}:root :where(.is-layout-constrained) > :last-child{margin-block-end: 0;}:root :where(.is-layout-constrained) > *{margin-block-start: 30px;margin-block-end: 0;}:root :where(.is-layout-flex){gap: 30px;}:root :where(.is-layout-grid){gap: 30px;}.is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}body{background-color: var(--wp--preset--color--base);color: var(--wp--preset--color--black);font-family: var(--wp--preset--font-family--base);font-size: var(--wp--preset--font-size--medium);--wp--style--root--padding-top: 0;--wp--style--root--padding-right: var(--wp--style--block-gap);--wp--style--root--padding-bottom: 0;--wp--style--root--padding-left: var(--wp--style--block-gap);}a:where(:not(.wp-element-button)){color: inherit;text-decoration: none;}:root :where(a:where(:not(.wp-element-button)):hover){color: var(--wp--preset--color--secondary);}h1{color: var(--wp--preset--color--primary);font-size: var(--wp--preset--font-size--x-large);font-weight: 600;}h2{color: var(--wp--preset--color--primary);font-size: var(--wp--preset--font-size--large);font-weight: 600;}h3{color: var(--wp--preset--color--primary);font-size: var(--wp--preset--font-size--medium);font-weight: 500;}h4{font-size: var(--wp--preset--font-size--medium);font-weight: 400;}h5{color: inherit;font-size: var(--wp--preset--font-size--regular);font-weight: 400;}h6{font-size: var(--wp--preset--font-size--small);font-weight: 500;}:root :where(.wp-element-button, .wp-block-button__link){background-color: var(--wp--preset--color--secondary);border-radius: 0;border-color: var(--wp--custom--color--default-button);border-width: 2px;border-style: solid;color: var(--wp--preset--color--base);font-family: inherit;font-size: 18px;font-style: inherit;font-weight: 700;letter-spacing: inherit;line-height: inherit;padding-top: calc(0.667em + 2px);padding-right: calc(1.333em + 2px);padding-bottom: calc(0.667em + 2px);padding-left: calc(1.333em + 2px);text-decoration: none;text-transform: inherit;}:root :where(.wp-element-button, .wp-block-button__link){transition: background-color 0.6s ease, color 0.6s ease, border-color 0.6s ease;}:root :where(.wp-element-button:hover, .wp-block-button__link:hover){background-color: transparent !important;border-color: var(--wp--custom--color--default-button);color: var(--wp--custom--color--default-button);}:root :where(.wp-element-button:hover, .wp-block-button__link:hover){transition: background-color 0.6s ease, color 0.6s ease, border-color 0.6s ease;}.has-primary-color{color: var(--wp--preset--color--primary) !important;}.has-secondary-color{color: var(--wp--preset--color--secondary) !important;}.has-tertiary-color{color: var(--wp--preset--color--tertiary) !important;}.has-quaternary-color{color: var(--wp--preset--color--quaternary) !important;}.has-quinary-color{color: var(--wp--preset--color--quinary) !important;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-primary-tint-500-color{color: var(--wp--preset--color--primary-tint-500) !important;}.has-secondary-tint-500-color{color: var(--wp--preset--color--secondary-tint-500) !important;}.has-tertiary-tint-500-color{color: var(--wp--preset--color--tertiary-tint-500) !important;}.has-quaternary-tint-500-color{color: var(--wp--preset--color--quaternary-tint-500) !important;}.has-quinary-tint-500-color{color: var(--wp--preset--color--quinary-tint-500) !important;}.has-gray-color{color: var(--wp--preset--color--gray) !important;}.has-primary-tint-100-color{color: var(--wp--preset--color--primary-tint-100) !important;}.has-secondary-tint-100-color{color: var(--wp--preset--color--secondary-tint-100) !important;}.has-tertiary-tint-100-color{color: var(--wp--preset--color--tertiary-tint-100) !important;}.has-quaternary-tint-100-color{color: var(--wp--preset--color--quaternary-tint-100) !important;}.has-quinary-tint-100-color{color: var(--wp--preset--color--quinary-tint-100) !important;}.has-base-color{color: var(--wp--preset--color--base) !important;}.has-article-page-color{color: var(--wp--preset--color--article-page) !important;}.has-card-link-color{color: var(--wp--preset--color--card-link) !important;}.has-search-item-type-color{color: var(--wp--preset--color--search-item-type) !important;}.has-hero-block-background-color{color: var(--wp--preset--color--hero-block-background) !important;}.has-dark-blue-indigo-color{color: var(--wp--preset--color--dark-blue-indigo) !important;}.has-primary-background-color{background-color: var(--wp--preset--color--primary) !important;}.has-secondary-background-color{background-color: var(--wp--preset--color--secondary) !important;}.has-tertiary-background-color{background-color: var(--wp--preset--color--tertiary) !important;}.has-quaternary-background-color{background-color: var(--wp--preset--color--quaternary) !important;}.has-quinary-background-color{background-color: var(--wp--preset--color--quinary) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-primary-tint-500-background-color{background-color: var(--wp--preset--color--primary-tint-500) !important;}.has-secondary-tint-500-background-color{background-color: var(--wp--preset--color--secondary-tint-500) !important;}.has-tertiary-tint-500-background-color{background-color: var(--wp--preset--color--tertiary-tint-500) !important;}.has-quaternary-tint-500-background-color{background-color: var(--wp--preset--color--quaternary-tint-500) !important;}.has-quinary-tint-500-background-color{background-color: var(--wp--preset--color--quinary-tint-500) !important;}.has-gray-background-color{background-color: var(--wp--preset--color--gray) !important;}.has-primary-tint-100-background-color{background-color: var(--wp--preset--color--primary-tint-100) !important;}.has-secondary-tint-100-background-color{background-color: var(--wp--preset--color--secondary-tint-100) !important;}.has-tertiary-tint-100-background-color{background-color: var(--wp--preset--color--tertiary-tint-100) !important;}.has-quaternary-tint-100-background-color{background-color: var(--wp--preset--color--quaternary-tint-100) !important;}.has-quinary-tint-100-background-color{background-color: var(--wp--preset--color--quinary-tint-100) !important;}.has-base-background-color{background-color: var(--wp--preset--color--base) !important;}.has-article-page-background-color{background-color: var(--wp--preset--color--article-page) !important;}.has-card-link-background-color{background-color: var(--wp--preset--color--card-link) !important;}.has-search-item-type-background-color{background-color: var(--wp--preset--color--search-item-type) !important;}.has-hero-block-background-background-color{background-color: var(--wp--preset--color--hero-block-background) !important;}.has-dark-blue-indigo-background-color{background-color: var(--wp--preset--color--dark-blue-indigo) !important;}.has-primary-border-color{border-color: var(--wp--preset--color--primary) !important;}.has-secondary-border-color{border-color: var(--wp--preset--color--secondary) !important;}.has-tertiary-border-color{border-color: var(--wp--preset--color--tertiary) !important;}.has-quaternary-border-color{border-color: var(--wp--preset--color--quaternary) !important;}.has-quinary-border-color{border-color: var(--wp--preset--color--quinary) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-primary-tint-500-border-color{border-color: var(--wp--preset--color--primary-tint-500) !important;}.has-secondary-tint-500-border-color{border-color: var(--wp--preset--color--secondary-tint-500) !important;}.has-tertiary-tint-500-border-color{border-color: var(--wp--preset--color--tertiary-tint-500) !important;}.has-quaternary-tint-500-border-color{border-color: var(--wp--preset--color--quaternary-tint-500) !important;}.has-quinary-tint-500-border-color{border-color: var(--wp--preset--color--quinary-tint-500) !important;}.has-gray-border-color{border-color: var(--wp--preset--color--gray) !important;}.has-primary-tint-100-border-color{border-color: var(--wp--preset--color--primary-tint-100) !important;}.has-secondary-tint-100-border-color{border-color: var(--wp--preset--color--secondary-tint-100) !important;}.has-tertiary-tint-100-border-color{border-color: var(--wp--preset--color--tertiary-tint-100) !important;}.has-quaternary-tint-100-border-color{border-color: var(--wp--preset--color--quaternary-tint-100) !important;}.has-quinary-tint-100-border-color{border-color: var(--wp--preset--color--quinary-tint-100) !important;}.has-base-border-color{border-color: var(--wp--preset--color--base) !important;}.has-article-page-border-color{border-color: var(--wp--preset--color--article-page) !important;}.has-card-link-border-color{border-color: var(--wp--preset--color--card-link) !important;}.has-search-item-type-border-color{border-color: var(--wp--preset--color--search-item-type) !important;}.has-hero-block-background-border-color{border-color: var(--wp--preset--color--hero-block-background) !important;}.has-dark-blue-indigo-border-color{border-color: var(--wp--preset--color--dark-blue-indigo) !important;}.has-mauve-to-purple-gradient-background{background: var(--wp--preset--gradient--mauve-to-purple) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}.has-xx-small-font-size{font-size: var(--wp--preset--font-size--xx-small) !important;}.has-x-small-font-size{font-size: var(--wp--preset--font-size--x-small) !important;}.has-regular-font-size{font-size: var(--wp--preset--font-size--regular) !important;}.has-xx-large-font-size{font-size: var(--wp--preset--font-size--xx-large) !important;}.has-base-font-family{font-family: var(--wp--preset--font-family--base) !important;}.has-monospace-font-family{font-family: var(--wp--preset--font-family--monospace) !important;}
:root :where(.wp-block-image img, .wp-block-image .components-placeholder){width: 100%;}
:root :where(.wp-block-image .wp-element-caption, .wp-block-image .wp-block-audio figcaption, .wp-block-image .wp-block-embed figcaption, .wp-block-image .wp-block-gallery figcaption, .wp-block-image .wp-block-image figcaption, .wp-block-image .wp-block-table figcaption, .wp-block-image .wp-block-video figcaption){font-size: var(--wp--preset--font-size--medium);margin-top: 1.1875rem;}
:root :where(.wp-block-separator){background-color: var(--wp--preset--color--secondary);color: var(--wp--preset--color--secondary);}
:root :where(.wp-block-heading){color: var(--wp--preset--color--primary);}
:root :where(p){font-size: var(--wp--preset--font-size--medium);}
:root :where(.wp-block-pbc-hero h1, .wp-block-pbc-hero h2, .wp-block-pbc-hero h3, .wp-block-pbc-hero h4, .wp-block-pbc-hero h5, .wp-block-pbc-hero h6){color: inherit;}
:root :where(.wp-block-pbc-agenda-track-heading){background-color: var(--wp--preset--color--secondary);font-size: var(--wp--preset--font-size--x-small);font-weight: 400;}
:root :where(.wp-block-pbc-agenda-track-heading h1, .wp-block-pbc-agenda-track-heading h2, .wp-block-pbc-agenda-track-heading h3, .wp-block-pbc-agenda-track-heading h4, .wp-block-pbc-agenda-track-heading h5, .wp-block-pbc-agenda-track-heading h6){font-size: var(--wp--preset--font-size--small);font-weight: 500;text-transform: uppercase;}:root :where(.wp-block-pbc-agenda-track-heading h1, .wp-block-pbc-agenda-track-heading h2, .wp-block-pbc-agenda-track-heading h3, .wp-block-pbc-agenda-track-heading h4, .wp-block-pbc-agenda-track-heading h5, .wp-block-pbc-agenda-track-heading h6){opacity: 0.64;}
/*# sourceURL=global-styles-inline-css */
</style>
<style id="wp-block-navigation-inline-css">
.wp-block-navigation{position:relative}.wp-block-navigation ul{margin-bottom:0;margin-left:0;margin-top:0;padding-left:0}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation .wp-block-navigation-item{align-items:center;background-color:inherit;display:flex;position:relative}.wp-block-navigation .wp-block-navigation-item .wp-block-navigation__submenu-container:empty{display:none}.wp-block-navigation .wp-block-navigation-item__content{display:block;z-index:1}.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content{color:inherit}.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content:focus{text-decoration:underline}.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active,.wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus{text-decoration:line-through}.wp-block-navigation :where(a),.wp-block-navigation :where(a:active),.wp-block-navigation :where(a:focus){text-decoration:none}.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:center;background-color:inherit;border:none;color:currentColor;display:inline-block;font-size:inherit;height:.6em;line-height:0;margin-left:.25em;padding:0;width:.6em}.wp-block-navigation .wp-block-navigation__submenu-icon svg{stroke:currentColor;display:inline-block;height:inherit;margin-top:.075em;width:inherit}.wp-block-navigation{--navigation-layout-justification-setting:flex-start;--navigation-layout-direction:row;--navigation-layout-wrap:wrap;--navigation-layout-justify:flex-start;--navigation-layout-align:center}.wp-block-navigation.is-vertical{--navigation-layout-direction:column;--navigation-layout-justify:initial;--navigation-layout-align:flex-start}.wp-block-navigation.no-wrap{--navigation-layout-wrap:nowrap}.wp-block-navigation.items-justified-center{--navigation-layout-justification-setting:center;--navigation-layout-justify:center}.wp-block-navigation.items-justified-center.is-vertical{--navigation-layout-align:center}.wp-block-navigation.items-justified-right{--navigation-layout-justification-setting:flex-end;--navigation-layout-justify:flex-end}.wp-block-navigation.items-justified-right.is-vertical{--navigation-layout-align:flex-end}.wp-block-navigation.items-justified-space-between{--navigation-layout-justification-setting:space-between;--navigation-layout-justify:space-between}:where(.wp-block-navigation) ul li{padding:0}.wp-block-navigation .has-child .wp-block-navigation__submenu-container{align-items:normal;background-color:inherit;color:inherit;display:flex;flex-direction:column;opacity:0;position:absolute;z-index:2}@media not (prefers-reduced-motion){.wp-block-navigation .has-child .wp-block-navigation__submenu-container{transition:opacity .1s linear}}.wp-block-navigation .has-child .wp-block-navigation__submenu-container{height:0;overflow:hidden;visibility:hidden;width:0}.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;flex-grow:1;padding:.5em 1em}.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content .wp-block-navigation__submenu-icon{margin-left:auto;margin-right:0}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content{margin:0}.wp-block-navigation .has-child .wp-block-navigation__submenu-container{left:-1px;top:100%}@media (min-width:782px){.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:-1px}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{background:transparent;content:"";display:block;height:100%;position:absolute;right:100%;width:.5em}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon{margin-right:.25em}.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg{transform:rotate(-90deg)}}@media (hover:hover){.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}}.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container,.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container{height:auto;min-width:200px;opacity:1;overflow:visible;visibility:visible;width:auto}.wp-block-navigation .has-child.open-always{align-items:var(--navigation-layout-align,initial);flex-direction:var(--navigation-layout-direction,initial);flex-wrap:var(--navigation-layout-wrap,wrap);gap:var(--wp--style--block-gap,2em)}.wp-block-navigation .has-child.open-always,.wp-block-navigation .has-child.open-always .wp-block-navigation-item{justify-content:var(--navigation-layout-justify,initial)}.wp-block-navigation .has-child.open-always .wp-block-navigation__submenu-container,.wp-block-navigation .has-child.open-always.wp-block-navigation-submenu{gap:var(--wp--style--block-gap,2em)}.wp-block-navigation .has-child.open-always .wp-block-navigation-item,.wp-block-navigation .has-child.open-always .wp-block-navigation__submenu-container,.wp-block-navigation .has-child.open-always.wp-block-navigation-submenu{padding-bottom:0;padding-top:0}.wp-block-navigation .has-child.open-always .wp-block-navigation__submenu-container{padding-left:var(--wp--style--block-gap,2em);padding-right:var(--wp--style--block-gap,2em)}.wp-block-navigation .has-child.open-always .wp-block-navigation__submenu-container .wp-block-navigation-item__content{padding:0}.wp-block-navigation .has-child.open-always .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content,.wp-block-navigation .has-child.open-always>.wp-block-navigation-item__content{flex-grow:0}.wp-block-navigation .has-child.open-always>.wp-block-navigation__submenu-container{background-color:transparent;border:none;color:inherit;flex-basis:100%;height:auto;opacity:1;overflow:visible;position:static;visibility:visible;width:auto}.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container{left:0;top:100%}@media (min-width:782px){.wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:0}}.wp-block-navigation-submenu{display:flex;position:relative}.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg{stroke:currentColor}button.wp-block-navigation-item__content{background-color:transparent;border:none;color:currentColor;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;text-align:left;text-transform:inherit}.wp-block-navigation-submenu__toggle{cursor:pointer}.wp-block-navigation-submenu__toggle[aria-expanded=true]+.wp-block-navigation__submenu-icon>svg,.wp-block-navigation-submenu__toggle[aria-expanded=true]>svg{transform:rotate(180deg)}.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle{padding-left:0;padding-right:.85em}.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle+.wp-block-navigation__submenu-icon{margin-left:-.6em;pointer-events:none}.wp-block-navigation-item.open-on-click button.wp-block-navigation-item__content:not(.wp-block-navigation-submenu__toggle){padding:0}.wp-block-navigation .wp-block-page-list,.wp-block-navigation__container,.wp-block-navigation__responsive-close,.wp-block-navigation__responsive-container,.wp-block-navigation__responsive-container-content,.wp-block-navigation__responsive-dialog{gap:inherit}:where(.wp-block-navigation.has-background .wp-block-navigation-item a:not(.wp-element-button)),:where(.wp-block-navigation.has-background .wp-block-navigation-submenu a:not(.wp-element-button)){padding:.5em 1em}:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item a:not(.wp-element-button)),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu a:not(.wp-element-button)),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu button.wp-block-navigation-item__content),:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-pages-list__item button.wp-block-navigation-item__content){padding:.5em 1em}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container{left:auto;right:0}.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:-1px;right:-1px}@media (min-width:782px){.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:auto;right:100%}}.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{background-color:#fff;border:1px solid rgba(0,0,0,.15)}.wp-block-navigation.has-background .wp-block-navigation__submenu-container{background-color:inherit}.wp-block-navigation:not(.has-text-color) .wp-block-navigation__submenu-container{color:#000}.wp-block-navigation__container{align-items:var(--navigation-layout-align,initial);display:flex;flex-direction:var(--navigation-layout-direction,initial);flex-wrap:var(--navigation-layout-wrap,wrap);justify-content:var(--navigation-layout-justify,initial);list-style:none;margin:0;padding-left:0}.wp-block-navigation__container .is-responsive{display:none}.wp-block-navigation__container:only-child,.wp-block-page-list:only-child{flex-grow:1}@keyframes overlay-menu__fade-in-animation{0%{opacity:0;transform:translateY(.5em)}to{opacity:1;transform:translateY(0)}}.wp-block-navigation__responsive-container{bottom:0;display:none;left:0;position:fixed;right:0;top:0}.wp-block-navigation__responsive-container :where(.wp-block-navigation-item a){color:inherit}.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{align-items:var(--navigation-layout-align,initial);display:flex;flex-direction:var(--navigation-layout-direction,initial);flex-wrap:var(--navigation-layout-wrap,wrap);justify-content:var(--navigation-layout-justify,initial)}.wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open){background-color:inherit!important;color:inherit!important}.wp-block-navigation__responsive-container.is-menu-open{background-color:inherit;display:flex;flex-direction:column}@media not (prefers-reduced-motion){.wp-block-navigation__responsive-container.is-menu-open{animation:overlay-menu__fade-in-animation .1s ease-out;animation-fill-mode:forwards}}.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay){padding:clamp(1rem,var(--wp--style--root--padding-top),20rem) clamp(1rem,var(--wp--style--root--padding-right),20rem) clamp(1rem,var(--wp--style--root--padding-bottom),20rem) clamp(1rem,var(--wp--style--root--padding-left),20rem)}.wp-block-navigation__responsive-container.is-menu-open{overflow:auto;z-index:100000}.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content{padding-top:calc(2rem + 24px)}.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content{align-items:var(--navigation-layout-justification-setting,inherit);display:flex;flex-direction:column;flex-wrap:nowrap;overflow:visible}.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content,.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-page-list{justify-content:flex-start}.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon{display:none}.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{border:none;height:auto;min-width:200px;opacity:1;overflow:initial;padding-left:2rem;padding-right:2rem;position:static;visibility:visible;width:auto}.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{gap:inherit}.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{padding-top:var(--wp--style--block-gap,2em)}.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-page-list{align-items:var(--navigation-layout-justification-setting,initial);display:flex;flex-direction:column}.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation-item,.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation-item .wp-block-navigation__submenu-container,.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__container,.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-page-list{background:transparent!important;color:inherit!important}.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:auto;right:auto}.wp-block-navigation__responsive-container.disable-default-overlay .wp-block-navigation__overlay-container{display:none;width:100%}.wp-block-navigation__responsive-container.disable-default-overlay .wp-block-navigation__responsive-close{max-width:none}.wp-block-navigation__responsive-container.disable-default-overlay.is-menu-open .wp-block-navigation__responsive-container-content>:not(.wp-block-navigation__overlay-container){display:none}.wp-block-navigation__responsive-container.disable-default-overlay.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__overlay-container{display:block}.wp-block-navigation__responsive-container.disable-default-overlay.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__overlay-container .wp-block-navigation__submenu-container{left:0;right:auto}@media (min-width:600px){.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){background-color:inherit;display:block;position:relative;width:100%;z-index:auto}.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close{display:none}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container{left:0}}.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay){background-color:#fff}.wp-block-navigation:not(.has-text-color) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay){color:#000}.wp-block-navigation__toggle_button_label{font-size:1rem;font-weight:700}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{background:transparent;border:none;color:currentColor;cursor:pointer;margin:0;padding:0;text-transform:inherit;vertical-align:middle}.wp-block-navigation__responsive-container-close svg,.wp-block-navigation__responsive-container-open svg{fill:currentColor;display:block;height:24px;pointer-events:none;width:24px}.wp-block-navigation__responsive-container-open{display:flex}.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{font-family:inherit;font-size:inherit;font-weight:inherit}@media (min-width:600px){.wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}.wp-block-navigation__responsive-container-close{position:absolute;right:0;top:0;z-index:2}.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close{font-family:inherit;font-size:inherit;font-weight:inherit}.disable-default-overlay .wp-block-navigation__responsive-container-close{right:clamp(1rem,var(--wp--style--root--padding-left),20rem);top:clamp(1rem,var(--wp--style--root--padding-left),20rem)}.wp-block-navigation__responsive-close{width:100%}.has-modal-open .wp-block-navigation__responsive-close{margin-left:auto;margin-right:auto;max-width:var(--wp--style--global--wide-size,100%)}.wp-block-navigation__responsive-close:focus{outline:none}.is-menu-open .wp-block-navigation__responsive-close,.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__responsive-dialog{box-sizing:border-box}.wp-block-navigation__responsive-dialog{position:relative}.has-modal-open .admin-bar .is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-dialog{margin-top:46px}@media (min-width:782px){.has-modal-open .admin-bar .is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-dialog{margin-top:32px}}html.has-modal-open{overflow:hidden}
/*# sourceURL=https://leaddev.com/wp-includes/blocks/navigation/style.min.css */
</style>
<style id="critical-inline-css">
body{--social_media_icon-height:20px;--social_media_icon-width:20px;--main-menu--grid-column-gap:calc(var(--wp--style--block-gap)*2);--main-menu--grid-column-gap--halved:calc(var(--main-menu--grid-column-gap)/2);--pbc--logo-top--fill:var(--wp--custom--header-colors--menu--active-dark--logo--fill);--main-menu-top-position:0;--sticky-menu-padding:20px;--full-header-height:157.98px;--sticky-menu-height:var(--full-header-height)}@media only screen and (max-width:25em){body{--wp--style--block-gap:10px}}@media only screen and (max-width:75em){body{--main-menu--grid-column-gap:var(--wp--style--block-gap)}}@media only screen and (min-width:75em){body .header--has-bottom-menu-bar{--main-menu-top-position:-40px}}body.js-menu-trigger-main-menu-open .header--active-dark{--pbc--logo-top--fill:var(--wp--preset--color--base)}body:has(.header--alt){--full-header-height:155.16px}@media only screen and (max-width:75em){body{--sticky-menu-height:0px}}body main *{scroll-margin-top:calc(var(--full-header-height) + var(--sticky-menu-padding))}strong{font-weight:600}h1,h2,h3,h4,h5,h6{margin-bottom:1rem}svg .base-fill-on-mobile,svg:not(.no-transition) path{transition:fill .3s ease-in-out}svg:not(.no-transition) line{transition:stroke .3s ease-in-out}.svg_icon path{fill:var(--wp--preset--color--primary)}.svg_icon__part--stroke{stroke:var(--wp--preset--color--base)}@media only screen and (max-width:75em){.svg_icon__part--base-fill-on-mobile{fill:var(--wp--preset--color--base)}}.header--active-dark .svg_icon line,.header--active-dark .svg_icon__search__glass_lense{stroke:var(--wp--custom--header-colors--menu--active-dark--stroke)}.js-menu-trigger-main-menu-open .header--active-dark .svg_icon path{fill:var(--wp--custom--header-colors--menu--open--fill)}.js-menu-trigger-main-menu-open .header--active-dark .svg_icon line,.js-menu-trigger-main-menu-open .header--active-dark .svg_icon__search__glass_lense{stroke:var(--wp--custom--header-colors--menu--open--stroke)}a{transition:color .3s ease-in-out}main a:not([class],.hero a,#zp-register-block a,.wp-block-heading a,.ld-card__logo a){color:var(--wp--preset--color--article-page)}main a:not([class],.hero a,#zp-register-block a,.wp-block-heading a,.ld-card__logo a):focus,main a:not([class],.hero a,#zp-register-block a,.wp-block-heading a,.ld-card__logo a):hover{border-bottom:1px solid var(--wp--preset--color--article-page)}html{-webkit-text-size-adjust:none;text-size-adjust:none;font-weight:300}button{background:0 0;border:0;cursor:pointer;outline:none;padding:0}h1,h2,h3,h4,h5,h6{text-wrap:balance}h1 :has(>a),h2 :has(>a),h3 :has(>a),h4 :has(>a),h5 :has(>a),h6 :has(>a){text-wrap:unset}button,input,select,textarea{font:inherit}ol[role=contentinfo],ol[role=menu],ol[role=navigation],ol[role=rowgroup],ul[role=contentinfo],ul[role=menu],ul[role=navigation],ul[role=rowgroup]{list-style:none}iframe{max-width:100%}p{font-size:var(--wp--preset--font-size--medium);font-weight:300;line-height:var(--pbc--line-height--medium)}p.has-small-font-size{line-height:var(--pbc--line-height--small)}p.has-medium-font-size{line-height:var(--pbc--line-height--medium)}p.has-large-font-size{line-height:var(--pbc--line-height--large)}p.has-x-large-font-size{line-height:var(--pbc--line-height--x-large)}p.has-xx-large-font-size{line-height:var(--pbc--line-height--xx-large)}@media only screen and (max-width:25em){.wp-element-button{font-size:16px}}ol,ul{list-style-type:revert;margin:revert;padding:revert;padding-left:1rem}ol li,ul li{margin-bottom:.5rem}.list--naked{list-style-type:none}.list--horizontal{align-items:flex-start;display:flex;gap:2em}.list--unpadded{margin:0;padding:0}.list--capitalised a{text-transform:capitalize}.list--align-items-center li,.list--align-items-center li a{align-items:center;display:flex;gap:10px}.list--align-items-center li a:hover,.list--align-items-center li:hover{border-bottom:0!important;color:var(--wp--preset--color--secondary)}.clip-right-corner{clip-path:polygon(calc(100% - 20px) 0,100% 20px,100% 100%,0 100%,0 0)}.clip-right-corner-small{clip-path:polygon(calc(100% - 10px) 0,100% 10px,100% 100%,0 100%,0 0)}.img-border-bottom{border-bottom:9px solid var(--wp--preset--color--primary)}.overflow-hidden,body.js-menu-trigger-main-menu-open{overflow:hidden}body.js-menu-trigger-main-menu-open footer,body.js-menu-trigger-main-menu-open header .header__item--hide-on-menu-active,body.js-menu-trigger-main-menu-open main{visibility:hidden}body{overflow-x:hidden}.menu.menu--default{margin-top:0;padding:0}.menu.menu--default li{padding-bottom:.9375rem}.menu.menu--default a{font-weight:500}.menu.menu--default p{margin:0}.menu.menu--tease{margin-top:0;padding:0}.menu.menu--tease li{background-color:color-mix(in srgb,var(--wp--preset--color--base) var(--open-menu-item-opacity),#0000);color:var(--wp--preset--color--base);margin-bottom:.3rem;padding:.9375rem}.menu.menu--tease li span{display:inline-block;font-size:var(--wp--preset--font-size--small);margin-left:.6rem}.menu.menu--account{display:flex;flex-direction:row;gap:1rem;padding:0}.menu.menu--account .menu-item{margin-bottom:0}.menu-item-has-children:hover .sub-menu{grid-template-rows:1fr;opacity:1}.sub-menu{display:grid;grid-template-rows:0fr;opacity:0;padding-top:10px;position:absolute;right:0;transition:grid-template-rows .1s ease-in-out,opacity .3s ease-in-out;z-index:10}.sub-menu__list{background-color:var(--wp--preset--color--primary);box-shadow:0 20px 24px #00000040;overflow:hidden;padding:0;padding-inline:2rem;position:relative;right:0;width:200px}.sub-menu .menu-item{border-bottom:1px solid var(--wp--preset--color--base);margin-bottom:0;white-space:nowrap}.sub-menu .menu-item a{color:var(--wp--preset--color--base);display:block;font-size:var(--wp--preset--font-size--small);font-weight:600;padding-bottom:1rem;padding-right:2rem;padding-top:1rem}.sub-menu .menu-item:last-of-type{border-bottom:0;padding-bottom:0}.gform_wrapper{--gf-color-danger:var(--wp--preset--color--secondary);position:relative}.gform_wrapper .gform_required_legend{font-size:var(--gf-ctrl-label-font-size-primary)}.gform_wrapper.gform-theme--framework{--gf-ctrl-desc-color-error:#fff;--gf-form-validation-border-color-focus:#ff8c73;--gf-form-validation-heading-color:#ff8c73;--gf-form-validation-border-color:#ff8c73;--gf-form-validation-outline-color-focus:#ff8c73;--gf-ctrl-border-color-error:#ff8c73;--gf-ctrl-outline-offset:0px;--gf-form-validation-bg-color:#112337;--gf-ctrl-desc-font-weight-error:700}#gform_wrapper_22.gform_wrapper.gform-theme--framework{--gf-ctrl-label-color-req:#fff}.advert:has(+.header){position:relative;z-index:100}.tease{--open-menu-item-opacity:20%}.tease--no-body{margin-bottom:15px}.tease__image img,.tease__image picture{aspect-ratio:1.779;display:block;object-fit:cover;width:100%}.tease__header{padding:15px}.tease__header--transparent{background-color:color-mix(in srgb,var(--wp--preset--color--base) var(--open-menu-item-opacity),#0000);color:var(--wp--preset--color--base)}.tease__header--light{background-color:var(--wp--preset--color--base);color:var(--wp--preset--color--primary)}.tease__header--dark{background-color:#707070;color:var(--wp--preset--color--base)}.tease__header__title{display:flex;margin-bottom:10px;margin-top:0}.header .tease__header__title>a{display:flex}.tease__header__title img{margin-right:10px;max-width:100%}.header .tease__header__title img{width:30px}.tease__header p{font-size:var(--wp--preset--font-size--small);margin:0}.tease__item{margin-bottom:30px}.tease__item__body{border:0;border-top:8px solid var(--wp--preset--color--primary)}.tease__item__title{margin-bottom:10px;margin-top:10px}.cards-test{--card-grid--gap:30px;--card-grid--cols:4;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--card-grid--gap);padding-bottom:150px;padding-top:150px}.cards-test>*{flex-grow:1;max-width:calc(100%/var(--card-grid--cols) - var(--card-grid--gap)*(var(--card-grid--cols) - 1)/var(--card-grid--cols));width:100%}.cards-test>.card--large{max-width:calc(50% - var(--card-grid--gap)/2)}.card{--card-spacing:15px;--card-font-size:var(--wp--preset--font-size--small);--card-excerpt-font-size:var(--card-font-size);--card-title-font-size:var(--wp--preset--font-size--large);--card-font-weight:500;--card-background-color:#f1efff;--card-sponsor-background-color:#ebebf0}.card--large{--card-excerpt-font-size:var(--wp--preset--font-size--medium);--card-title-font-size:var(--wp--preset--font-size--large);--card-title-line-height:var(--pbc--line-height--large)}.card--large .card__title{font-weight:600}.card__inner>:last-child{margin-bottom:0}.card__body{border-top:9px solid var(--wp--preset--color--primary)}.card__title{font-size:var(--card-title-font-size);font-weight:400;line-height:var(--card-title-line-height)}.card__excerpt,.card__title{margin-bottom:var(--card-spacing)}.card__excerpt{font-size:var(--card-excerpt-font-size)}.card__image img{display:block;height:100%;max-width:100%;width:100%}.card__sponsorship{background-color:var(--card-sponsor-background-color);font-size:var(--card-font-size);font-weight:var(--card-font-weight);font-weight:500;padding:calc(var(--card-spacing)/2) var(--card-spacing)}.card__sponsor-name{font-weight:900;text-transform:uppercase}.card__contributors{font-size:var(--card-font-size);font-weight:var(--card-font-weight);list-style:none;margin:0;margin-bottom:var(--card-spacing);padding:0}.card__contributors li{margin-bottom:0}.card__format{align-items:center;display:flex;flex-direction:row;font-size:var(--card-font-size);font-weight:var(--card-font-weight);gap:calc(var(--card-spacing)/2)}.card__format-label{order:2}.card__format-icon{align-items:center;display:flex;order:1}.card svg{width:13px}.card svg path{stroke:var(--wp--preset--color--primary)}.card--padded .card__inner{padding:var(--card-spacing)}.card--tinted{--card-sponsor-background-color:#ddd8ff}.card--tinted .card__inner{background-color:var(--card-background-color)}.logo--is-responsive{container-name:dynamic-logo;container-type:size}@container dynamic-logo (aspect-ratio < 2.6){.logo--is-responsive #leaddev_logo_text{display:none}}.footer #leaddev_logo{width:258px}.single-event .footer #leaddev_logo #footer-logo__top{fill:var(--wp--preset--color--base)}.logo--header__location-letter,.logo--header__top{fill:var(--pbc--logo-top--fill)}.search-form{width:100%}.search-form__label{display:none}.search-form__btn{border:1px solid var(--wp--preset--color--primary);color:var(--wp--preset--color--primary);display:block;padding:.2rem .5rem}.search-form__btn svg{display:none}@media screen and (min-width:680px){.search-form__btn{border:0;padding:0}.search-form__btn span{display:none}.search-form__btn svg{display:block}}.search-form__fields{align-items:center;display:flex;flex-direction:row-reverse;flex-wrap:nowrap;gap:.5rem;justify-content:space-between}@media screen and (min-width:680px){.search-form__fields{flex-direction:row}}.search-form__field--search{flex-grow:1;order:2}.search-form__field--submit{flex-grow:0;order:1}.search-form__input{background-color:var(--search-field-bg-color-mobile);border:1px solid #ccc;color:var(--search-field-color-mobile);height:30px;margin-left:0;outline-color:color-mix(in srgb,var(--wp--preset--color--primary) 20%,#0000);width:100%}@media screen and (min-width:680px){.search-form__input{background-color:#0000;border:none;color:color-mix(in srgb,var(--wp--preset--color--contrast) 40%,#0000);font-size:18px;height:50px;outline-color:color-mix(in srgb,var(--wp--preset--color--primary) 20%,#0000);padding-inline:.5rem}}.js-menu-trigger-main-menu-open .search-form__input{color:color-mix(in srgb,var(--wp--preset--color--base) 60%,#0000);transition:background-color .1s ease-in-out,color .1s ease-in-out}.search-form__input::placeholder{color:color-mix(in srgb,var(--wp--preset--color--contrast) 20%,#0000)}.js-menu-trigger-main-menu-open .search-form__input::placeholder{color:color-mix(in srgb,var(--wp--preset--color--base) 30%,#0000);transition:color .1s ease-in-out}.header{container-name:header;container-type:inline-size;--search-field-bg-color-mobile:var(--wp--custom--header-colors--mobile--search-field--background-color);--search-field-color-mobile:var(--wp--custom--header-colors--mobile--search-field--color);--grid-column-seperator-color:var(--wp--custom--color-scheme--separator);--header-menu-height:114px;background-color:var(--wp--custom--header-colors--background-color);color:var(--wp--custom--header-colors--color);position:sticky;top:0;transition:background-color .3s ease-in-out .1s;width:100%;z-index:20}@media screen and (max-width:1023px){.filter-open .header{display:none;z-index:1}}@media only screen and (max-width:75em){.header .hide-on-mobile{display:none!important}}@media only screen and (min-width:75em){.header .hide-on-desktop{display:none!important}}.js-menu-trigger-main-menu-open .header{height:100vh;overflow:auto;position:fixed;z-index:100}@media only screen and (max-width:75em){.header{height:auto;position:relative}}.js-menu-trigger-main-menu-open .header--active-dark{background-color:var(--wp--preset--color--primary);transition:background-color .1s ease-in-out}.header--active-dark .header__title{color:var(--wp--preset--color--base)}.header--alt{--header-menu-height:144px;overflow:visible}.header--alt .header__row--main{padding:var(--wp--style--block-gap);position:static}.header--alt .header__container--dropdown{overflow:unset}.header--alt .header__container--dropdown__content{position:relative;right:0}@media only screen and (max-width:75em){.header--alt .header__container--dropdown__content:nth-child(n+2){border-top:1px solid color-mix(in srgb,var(--grid-column-seperator-color) 20%,#0000);margin-top:calc(var(--wp--style--block-gap)/2);padding-top:calc(var(--wp--style--block-gap)/2)}}@media only screen and (min-width:75em){.header--alt .fill-height{align-items:center;display:flex;height:100%}}.header .header__title{font-size:var(--wp--preset--font-size--large);margin-bottom:var(--wp--style--block-gap)}.header__logo{flex-shrink:1;max-height:50px;max-width:100px;width:100%}.header__logo,.header__logo>*{display:flex}@media screen and (min-width:38.0625rem){.header__logo{max-width:130px}}.header__logo svg{width:100%}@container header (width >= 680px){.header .header__search-trigger{display:none}}.header__close-search{display:none;position:absolute;right:var(--wp--style--root--padding-right);top:0}@container header (width < 680px){.header__close-search{display:revert}}.header__center{align-items:center;display:flex;flex-grow:1}@container header (width < 680px){.header__search{background-color:#fff;bottom:100%;left:0;overflow:hidden;padding-left:var(--wp--style--root--padding-left);padding-right:var(--wp--style--root--padding-right);position:absolute;right:0;top:0;z-index:10}.header__search:is(body.show-search-bar *){bottom:0}}.header__actions{align-items:center;display:flex;flex-shrink:0;gap:20px;justify-content:right;order:3}@media only screen and (min-width:56.25em){.header__actions{gap:var(--wp--style--block-gap)}}.header__top-bar{position:relative;z-index:10}@media only screen and (max-width:75em){.header__top-bar__item{flex:0 0 auto}.header__top-bar__item--full-width{flex:1}}.header__top-bar__link svg{margin-right:5px}.header__top-bar__link svg path{transition:stroke .3s ease-in-out}.header__top-bar__link:hover svg path{stroke:var(--wp--preset--color--secondary)}@media only screen and (max-width:75em){.header__top-bar__form-container{padding:50px 30px}}.header__top-bar ul{list-style-type:none;margin:0;padding-left:0}@media only screen and (min-width:75em){.header__top-bar ul{display:flex;justify-content:flex-end}}.header__top-bar ul li{display:inline-block;margin:0;padding:0 calc(var(--wp--style--block-gap)/2)}.header__top-bar ul li:last-child{padding-right:0}.header__top-bar .search-form__field{font-size:var(--wp--preset--font-size--small)}.header__row{background-color:inherit;border-bottom:1px solid color-mix(in srgb,var(--wp--preset--color--contrast) 20%,#0000)}.js-menu-trigger-main-menu-open .header__row{border:0}.header__row--top{padding:var(--wp--style--block-gap) 0;width:100%}.header__row--main,.header__row--top{position:relative;z-index:3}.header__row--menu-container{background-color:var(--wp--preset--color--primary);border-bottom:0;opacity:0;padding:0 0 2rem;position:absolute;transform:translateY(-101%);visibility:hidden;width:100%;z-index:-1}@media only screen and (max-width:75em){.header__row--menu-container{bottom:0;overflow-x:hidden;overflow-y:auto;position:fixed;right:-100%;top:calc(var(--header-menu-height) + var(--wp-admin--admin-bar--height, 0px));transform:none;transition:transform .3s ease-in-out}}.js-menu-trigger-main-menu-open .header__row--menu-container{background-color:var(--wp--preset--color--primary);color:var(--wp--preset--color--base);opacity:1;transform:translateY(0);transition:all .3s ease-in-out;visibility:visible;z-index:2}@media only screen and (max-width:75em){.js-menu-trigger-main-menu-open .header__row--menu-container{right:0;transform:none}}.js-menu-trigger-main-menu-open .header--active-light .header__row--menu-container{background-color:var(--wp--preset--color--base);color:var(--wp--preset--color--primary);z-index:2}.header__row--main-menu{position:relative;z-index:1;--menu-border:1px solid #e6e6ec;border-bottom:var(--menu-border);border-top:var(--menu-border)}.js-menu-trigger-main-menu-open .header__row--main-menu{opacity:0}@media only screen and (max-width:56.25em){.header__row--main-menu{border:0}}.header__container{display:grid;font-size:18px;line-height:22px;margin:0 auto;max-width:var(--wp--style--global--wide-size);padding:0 var(--wp--style--block-gap)}.header__container--short-bar{font-size:var(--wp--preset--font-size--small)}.header__container--top-bar-grid-layout{position:relative;z-index:3;grid-gap:var(--wp--style--block-gap)}@media only screen and (max-width:75em){.header__container--top-bar-grid-layout{align-items:center;display:flex;justify-content:space-between}}@media only screen and (min-width:75em){.header__container--top-bar-grid-layout{gap:0;grid-template-columns:max-content auto max-content}}.header__container--logo-menu-grid-layout{display:flex;gap:30px;justify-content:space-between}@media only screen and (max-width:25em){.home.unhide-event-date-on-mobile .header__container--logo-menu-grid-layout{padding-top:30px}}.header--alt .header__container--logo-menu-grid-layout{gap:var(--main-menu--grid-column-gap)}.header__container--dropdown{display:block;opacity:0;grid-column-gap:var(--main-menu--grid-column-gap);align-items:start;background-color:inherit;color:inherit;max-height:100vh;transition:opacity .1s ease-in-out .6s}@media only screen and (max-width:75em){.header__container--dropdown{display:block;overflow-x:hidden}}@media only screen and (min-width:75em){.header__container--dropdown{display:grid}.header__container--dropdown--two-col{grid-template-areas:"a a" "b c";grid-column-gap:var(--main-menu--grid-column-gap);grid-template-columns:repeat(2,1fr)}.header__container--dropdown--four-col{grid-template-areas:"a a a a " "b c d e";grid-column-gap:var(--main-menu--grid-column-gap);grid-template-columns:repeat(4,1fr)}}.header__container--dropdown__headings--four-col{grid-template-columns:repeat(4,1fr)}.header__container--dropdown__headings--two-col{grid-template-columns:repeat(2,1fr)}.header__container--dropdown__headings--two-col>div:nth-child(2) .header__container--dropdown__col--content:last-child:after{background-color:color-mix(in srgb,#fff 20%,#0000);bottom:0;content:"";display:block;position:absolute;right:-30px;top:0;width:1px}@media only screen and (max-width:75em){.header__container--dropdown__headings--two-col>div:nth-child(2) .header__container--dropdown__col--content:last-child:after{display:none}}@media only screen and (min-width:75em){.header__container--dropdown__headings{display:grid;grid-area:a;grid-template-columns:repeat(2,1fr);grid-template-rows:auto;grid-column-gap:var(--main-menu--grid-column-gap)}}@media only screen and (max-width:75em){.header__container--dropdown__content.empty{display:none}}@media only screen and (min-width:75em){.header__container--dropdown__content{height:100%}.header__container--dropdown__content--left{grid-area:b}.header__container--dropdown__content--right{grid-area:c}.header__container--dropdown__headings{-ms-grid-column:1;-ms-grid-row:1;-ms-grid-column-span:3}.header__container--dropdown--four-col>.header__container--dropdown__headings{-ms-grid-column:1;-ms-grid-row:1;-ms-grid-column-span:7}.header__container--dropdown--four-col>.header__container--dropdown__content--left,.header__container--dropdown__content--left{-ms-grid-column:1;-ms-grid-row:2}.header__container--dropdown--four-col>.header__container--dropdown__content--right,.header__container--dropdown__content--right{-ms-grid-column:3;-ms-grid-row:2}}@media only screen and (max-width:75em){.header__container--dropdown__content,.header__container--dropdown__headings{background-color:inherit;width:100%}.header__container--dropdown__content{background-color:inherit;position:absolute;right:-100%;top:0;transition:all .3s ease-in-out}}.header__container--dropdown__content.active{right:0}.header__container--dropdown__content--two-col{justify-content:space-around}@media only screen and (max-width:75em){.header__container--dropdown__content--two-col{grid-column-gap:10px}}.header__container--dropdown__content--two-col>div{display:flex;flex-wrap:wrap;height:100%;justify-content:space-between}@media only screen and (max-width:75em){.header__container--dropdown__content--two-col>div{padding:0 var(--wp--style--block-gap)}}.js-menu-trigger-main-menu-open .header__container--dropdown{opacity:1;transition:opacity .3s ease-in-out .1s}.header__container--dropdown__col{width:100%}@media only screen and (min-width:75em){.header__container--dropdown__col{grid-row:1;height:100%;position:relative}}.header__container--dropdown__col--mobile-half-width{position:relative;width:calc(50% - 30px)}.header__container--dropdown__col--mobile-half-width:first-of-type:after{background-color:color-mix(in srgb,#fff 20%,#0000);bottom:0;content:"";display:block;position:absolute;right:-30px;top:0;width:1px}.mobile-menu-open .header__container--dropdown__col--header{transform:translateX(-100%)}.header__container--dropdown__col--header button{align-items:center;color:var(--wp--preset--color--base);display:flex}.header__container--dropdown__col--header button svg{padding-left:2rem}@media only screen and (max-width:75em){.header__container--dropdown__col--header{width:100%}.header__container--dropdown__col--header.empty{display:none}}@media only screen and (min-width:75em){.header__container--dropdown__col--header button{pointer-events:none}.header__container--dropdown__col--header button svg{display:none}.header__container--dropdown__col--a:not(.no-children),.header__container--dropdown__col--b:not(.no-children),.header__container--dropdown__col--c:not(.no-children){position:relative}.header__container--dropdown__col--a:not(.no-children):after,.header__container--dropdown__col--b:not(.no-children):after,.header__container--dropdown__col--c:not(.no-children):after{background-color:color-mix(in srgb,var(--grid-column-seperator-color) 30%,#0000);content:"";height:100%;position:absolute;right:calc(var(--main-menu--grid-column-gap--halved)*-1);top:0;width:1px}}.header__container--dropdown__backlink{display:none;margin-bottom:20px;text-align:left}@media only screen and (max-width:75em){.header__container--dropdown__backlink{display:block;width:100%}}.header__item--hide-on-menu-active{opacity:1;transition:opacity .1s}.js-menu-trigger-main-menu-open .header__item--hide-on-menu-active{opacity:0;pointer-events:none}@media only screen and (min-width:75em){.js-menu-trigger-main-menu-open .header__item--hide-on-menu-active--desktop{opacity:0;pointer-events:none}}@media only screen and (max-width:75em){.header__item--hide-on-mobile{display:none!important}}@media only screen and (min-width:75em){.header__item--hide-on-desktop{display:none!important}}.header__nav-toggle{background:none;border:none;cursor:pointer;padding:0}.header__nav-toggle svg{display:block}.header__nav-toggle--close{display:none}@media only screen and (max-width:75em){.header__nav-toggle--close{display:block;position:absolute;right:30px;top:10px}}.js-menu-trigger-main-menu-open .header__nav-toggle{transform-origin:50% 50%}.js-menu-trigger-main-menu-open .header__nav-toggle #Line_82{transform:rotate(45deg) translate(3px)}.js-menu-trigger-main-menu-open .header__nav-toggle #Line_84{transform:rotate(-45deg) translate(-11px,-2px)}.js-menu-trigger-main-menu-open .header__nav-toggle #Line_83{opacity:0}.header__account-login{height:16px}.header__account-login span{display:none}@media only screen and (min-width:56.25em){.header__account-login svg{display:none}.header__account-login span{display:block;height:16px;line-height:16px}}@media screen and (max-width:38rem){.header__event-date{display:none}.home.unhide-event-date-on-mobile .header__event-date{color:var(--wp--preset--color--tertiary);display:block;font-size:var(--wp--preset--font-size--small);left:0;line-height:30px;position:absolute;right:0;text-align:center;top:0}}.header__column--padded{padding:var(--wp--style--block-gap) 0}@media only screen and (min-width:75em){.header__column--centered-tall-children,.header__column--centered-tall-children .fill-height{align-items:center;display:flex;height:100%}.header__column--centered-tall-children:hover .fill-height{height:110%}}.header__column--event-menu{flex-grow:1;grid-area:top-center;order:2}@media only screen and (max-width:75em){.header__column--event-menu{bottom:0;overflow:hidden;position:fixed;right:-100%;top:calc(var(--header-menu-height) + var(--wp-admin--admin-bar--height, 0px));transform:none;transition:none;width:100%}.js-menu-trigger-main-menu-open .header__column--event-menu{background-color:var(--wp--preset--color--primary);color:var(--wp--preset--color--base);right:0;transition:right .3s ease-in-out;z-index:2}}@media only screen and (min-width:75em){.header__column--event-menu>nav>ul{gap:20px}}.header__column--main-menu{display:none}@media only screen and (min-width:56.25em){.header__column--main-menu{display:block;transition:opacity .1s ease-in-out;width:100%}.js-menu-trigger-main-menu-open .header:not(.header--alt) .header__column--main-menu{opacity:0;pointer-events:none}}.header__main-menu{font-weight:600;margin:11px 0;padding-left:0}@media only screen and (min-width:56.25em){.header__main-menu{display:flex;gap:10px;justify-content:flex-start}}@media only screen and (max-width:75em){.header--alt .header__main-menu{display:block;margin:0;opacity:1;padding:0 var(--wp--style--block-gap);transition:opacity .3s ease-in-out .1s}}.header__main-menu--space-items{justify-content:space-between}.header__main-menu__item{font-size:var(--wp--preset--font-size--regular);line-height:18px;margin-bottom:0}@media only screen and (max-width:75em){.header--alt .header__main-menu__item{padding:0}.header--alt .header__main-menu__item>a{align-items:center;display:flex;font-size:var(--wp--preset--font-size--large);font-weight:500;line-height:22px;margin:calc(1em - 10px) 0 calc(var(--wp--style--block-gap) - 10px);padding:10px 0}.header--alt .header__main-menu__item>a svg{padding-left:2rem}}.header__main-menu__item--small{font-size:var(--wp--preset--font-size--small)}.header__main-menu__item--parent:focus-within,.header__main-menu__item--parent:hover{color:var(--wp--preset--color--secondary);cursor:pointer}@media only screen and (min-width:75em){.header__main-menu__item--parent>a{display:flex;pointer-events:none}}@media only screen and (max-width:56.25em){.header__main-menu__item--parent svg{padding-left:2rem}}@media only screen and (min-width:75em){.header__main-menu__item--parent:focus-within .header__main-menu__item__submenu,.header__main-menu__item--parent:hover .header__main-menu__item__submenu{opacity:1;top:100%;transform:translateY(0);transition:transform .6s,opacity .1s ease-in-out .2s}.header__main-menu__item--parent:focus-within svg,.header__main-menu__item--parent:hover svg{transform:rotate(180deg);transform-origin:center;transition:transform .6s}.header__main-menu__item--parent:focus-within svg line.svg_icon__part--stroke,.header__main-menu__item--parent:focus-within svg path,.header__main-menu__item--parent:hover svg line.svg_icon__part--stroke,.header__main-menu__item--parent:hover svg path{transition:stroke .3s ease-in-out;stroke:var(--wp--preset--color--secondary)}}@media only screen and (max-width:75em){.header__main-menu__item--parent:focus .header__main-menu__item__submenu{right:0}}.header__main-menu__item__icon{height:18px;width:18px}.header__main-menu__item__icon path{stroke:var(--wp--custom--header-colors--color)}.header__main-menu__item__submenu{background-color:var(--wp--custom--header-colors--background-color);color:var(--wp--custom--header-colors--color);position:absolute;transition:transform .6s}@media only screen and (min-width:75em){.header__main-menu__item__submenu{left:0;opacity:0;top:0;transform:translateY(-100%);transition:all 0s .5s;width:100%;z-index:-1}}@media only screen and (max-width:75em){.header__main-menu__item__submenu{height:100vh;right:-100%;top:0;transition:all .6s;width:100%}}.header__main-menu__item__submenu.active{right:0}@media only screen and (min-width:75em){.header__main-menu__item__submenu:hover{transform:translateY(116px)}}.header__main-menu__item__submenu ul{padding-left:0}@media only screen and (min-width:75em){.header__main-menu__item__submenu ul{display:flex;justify-content:flex-start}}.header__main-menu__item__submenu ul li{list-style-type:none;margin:1em 0 calc(var(--wp--style--block-gap)*1.2);padding:0 2rem 0 0}@media only screen and (min-width:75em){.header__main-menu__item__submenu ul li{flex:1 1 25%;max-width:25%}}.header__main-menu__item__submenu ul li a{padding:10px 0}.header__main-menu__item__submenu ul li p{margin-top:10px}.header__main-menu__item__submenu ul li.hide-on-desktop svg{padding-left:0}.header__main-menu__link{font-weight:600}.header__main-menu__link--current-item{color:var(--wp--preset--color--secondary)}.js-menu-trigger-main-menu-open .header:not(.header--alt) .header__main-menu{opacity:0;pointer-events:none}.header__event-date{font-weight:500}@media only screen and (max-width:48.875em){.header .wp-block-button__link{font-size:15px;padding:10px}}.screen-reader-text.skip-link{background-color:var(--wp--preset--color--secondary);color:var(--wp--preset--color--base);font-family:inherit;font-size:18px;font-weight:700;line-height:inherit}body{-webkit-font-smoothing:antialiased;color:var(--wp--preset--color--black);--pbc--line-height--xx-large:52px;--pbc--line-height--x-large:40px;--pbc--line-height--large:28px;--pbc--line-height--medium:24px;--pbc--line-height--small:18px}body .has-primary-background-color{color:var(--wp--preset--color--base)}@media only screen and (max-width:75em){body{--wp--preset--font-size--xx-large:36px;--pbc--line-height--xx-large:40px;--wp--preset--font-size--x-large:30px;--pbc--line-height--x-large:35px;--wp--preset--font-size--large:25px;--pbc--line-height--large:30px;--wp--preset--font-size--medium:20px;--pbc--line-height--medium:25px;--wp--preset--font-size--small:15px;--pbc--line-height--small:18px}}
/*# sourceURL=https://leaddev.com/wp-content/themes/pbc/build/critical.css */
</style>
<style id="wp-block-cover-inline-css">
.wp-block-cover,.wp-block-cover-image{align-items:center;background-position:50%;box-sizing:border-box;display:flex;justify-content:center;min-height:430px;overflow:hidden;overflow:clip;padding:1em;position:relative}.wp-block-cover .has-background-dim:not([class*=-background-color]),.wp-block-cover-image .has-background-dim:not([class*=-background-color]),.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover .has-background-dim.has-background-gradient,.wp-block-cover-image .has-background-dim.has-background-gradient{background-color:transparent}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{background-color:inherit;content:""}.wp-block-cover .wp-block-cover__background,.wp-block-cover .wp-block-cover__gradient-background,.wp-block-cover-image .wp-block-cover__background,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover.has-background-dim:not(.has-background-gradient):before{bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-0,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0{opacity:0}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-10,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-10{opacity:.1}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-20,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-20{opacity:.2}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-30,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30{opacity:.3}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-40,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-40{opacity:.4}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-50,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-50{opacity:.5}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-60,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-60{opacity:.6}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-70,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-70{opacity:.7}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-80,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-80{opacity:.8}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-90,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-90{opacity:.9}.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-100,.wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-100{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover .wp-block-cover__inner-container,.wp-block-cover-image .wp-block-cover__inner-container{color:inherit;position:relative;width:100%}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0}.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container,.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-bottom-right .wp-block-cover__inner-container,.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-center-left .wp-block-cover__inner-container,.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-center-right .wp-block-cover__inner-container,.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-top-left .wp-block-cover__inner-container,.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-top-right .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-right .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-center-left .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-center-right .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-top-left .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-top-right .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover .wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background,.wp-block-cover-image .wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover .wp-block-cover__embed-background,.wp-block-cover-image .wp-block-cover__embed-background{border:none;bottom:0;box-shadow:none;height:100%;left:0;margin:0;max-height:none;max-width:none;outline:none;padding:0;pointer-events:none;position:absolute;right:0;top:0;width:100%}.wp-block-cover .wp-block-cover__embed-background .wp-block-embed__wrapper,.wp-block-cover-image .wp-block-cover__embed-background .wp-block-embed__wrapper{bottom:0;height:100%;left:0;margin:0;padding:0;position:absolute;right:0;top:0;width:100%}.wp-block-cover .wp-block-cover__embed-background .wp-block-embed__wrapper iframe,.wp-block-cover .wp-block-cover__embed-background iframe,.wp-block-cover-image .wp-block-cover__embed-background .wp-block-embed__wrapper iframe,.wp-block-cover-image .wp-block-cover__embed-background iframe{height:100vh;left:50%;min-height:100%;min-width:100%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:100vw}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{background-attachment:fixed;background-repeat:no-repeat;background-size:cover}@supports (-webkit-touch-callout:inherit){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax,.wp-block-cover__image-background.has-parallax,video.wp-block-cover__video-background.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated,.wp-block-cover__image-background.is-repeated,video.wp-block-cover__video-background.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image-text,.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover .wp-block-cover-text,.wp-block-cover-image .wp-block-cover-image-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;margin-bottom:0;max-width:840px;padding:.44em;text-align:center;z-index:1}:where(.wp-block-cover-image:not(.has-text-color)),:where(.wp-block-cover:not(.has-text-color)){color:#fff}:where(.wp-block-cover-image.is-light:not(.has-text-color)),:where(.wp-block-cover.is-light:not(.has-text-color)){color:#000}:root :where(.wp-block-cover h1:not(.has-text-color)),:root :where(.wp-block-cover h2:not(.has-text-color)),:root :where(.wp-block-cover h3:not(.has-text-color)),:root :where(.wp-block-cover h4:not(.has-text-color)),:root :where(.wp-block-cover h5:not(.has-text-color)),:root :where(.wp-block-cover h6:not(.has-text-color)),:root :where(.wp-block-cover p:not(.has-text-color)){color:inherit}body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-block-cover__background+.wp-block-cover__inner-container)) .wp-block-cover__video-background{z-index:0}body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-block-cover__background+.wp-block-cover__inner-container)) .wp-block-cover__embed-background{z-index:0}body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-block-cover__background+.wp-block-cover__inner-container)) .wp-block-cover__image-background{z-index:0}body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-block-cover__background+.wp-block-cover__inner-container)) .wp-block-cover__background,body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-block-cover__background+.wp-block-cover__inner-container)) .wp-block-cover__gradient-background,body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-block-cover__background+.wp-block-cover__inner-container)).has-background-dim:not(.has-background-gradient):before{z-index:1}body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-block-cover__background+.wp-block-cover__inner-container)) .wp-block-cover__inner-container{z-index:1}.has-modal-open body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-block-cover__background+.wp-block-cover__inner-container)) .wp-block-cover__inner-container{z-index:auto}
/*# sourceURL=https://leaddev.com/wp-includes/blocks/cover/style.min.css */
</style>
<style id="wp-block-columns-inline-css">
.wp-block-columns{box-sizing:border-box;display:flex;flex-wrap:wrap!important}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap!important}}.wp-block-columns{align-items:normal!important}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}@media (max-width:781px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:100%!important}}@media (min-width:782px){.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]{flex-grow:0}}.wp-block-columns.is-not-stacked-on-mobile{flex-wrap:nowrap!important}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column[style*=flex-basis]{flex-grow:0}:where(.wp-block-columns){margin-bottom:1.75em}:where(.wp-block-columns.has-background){padding:1.25em 2.375em}.wp-block-column{flex-grow:1;min-width:0;overflow-wrap:break-word;word-break:break-word}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-stretch{align-self:stretch}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}
/*# sourceURL=https://leaddev.com/wp-includes/blocks/columns/style.min.css */
</style>
<style id="pbc-card-style-inline-css">
.ld-card{--card-spacing:15px;--card-font-size:var(--wp--custom--card--excerpt--fontsize);--card-line-height:var(--wp--custom--card--excerpt--lineheight);--card-excerpt-font-size:var(--card-font-size);--card-border-color:var(--wp--preset--color--primary);--card-border-text-color:var(--wp--custom--color-scheme--primary--color);--card-title-font-size:22px;--card-title-line-height:25px;--card-font-weight:500;--card-background-color:#f1efff;--card-sponsor-background-color:#ebebf0;border-style:none;border-top:9px solid var(--card-border-color)}@media screen and (max-width:1000px){.ld-card{--card-spacing:8px}}.ld-card--large{--card-excerpt-font-size:var(--wp--preset--font-size--large);--card-line-height:var(--pbc--line-height--large);--card-title-font-size:var(--wp--preset--font-size--x-large);--card-title-line-height:var(--pbc--line-height--x-large)}.ld-card--large .ld-card__title{font-weight:600}.ld-card--event-session{--session-type-colour:var(--card-border-color);background-color:var(--card-background-color-no-tint)!important;border-radius:0 0 8px 8px;box-shadow:inset 0 0 1px 1px rgba(4,57,143,.51),0 0 20px 1px rgba(0,0,0,.4);color:var(--card-text-color,var(--agenda-text-color));margin:30px;position:relative}.ld-agenda.show-times .ld-card--event-session{margin-bottom:calc(var(--agenda-basic-spacing, 30px)*.5);margin-top:calc(var(--agenda-basic-spacing, 30px)*1.5)}.ld-card--event-session:hover{background-color:rgba(0,0,0,.35)!important;box-shadow:inset 0 0 1px 1px rgba(from var(--session-type-colour) r g b/.2),0 0 20px 1px rgba(0,0,0,.23);cursor:pointer}.ld-card--event-session .ld-card__title,.ld-card--event-session>.wp-block-heading{color:var(--card-text-color,var(--agenda-text-color));font-size:.95em;font-weight:700;letter-spacing:.01em;line-height:1.0526315789em;padding-top:8px}.ld-card--event-session .ld-card__excerpt,.ld-card--event-session .ld-card__excerpt p,.ld-card--event-session.ld-card p.ld-card__excerpt{font-size:.8em;font-weight:400;line-height:1.0625em}.ld-agenda .ld-card--event-session a,.ld-card--event-session a{color:var(--card-text-color,var(--agenda-text-color))}.ld-card--event-session a.ld-card__contributors__item__name{font-size:.75em;font-weight:300;margin-bottom:0;pointer-events:none}.ld-card--event-session .ld-card__contributors{font-size:1em}.ld-card--event-session .ld-card__contributor-details{display:flex}.ld-card--event-session .ld-card__contributors__item__company,.ld-card--event-session .ld-card__contributors__item__role{font-size:.75em}.ld-card--event-session .ld-card__contributors__item__company{font-weight:700}body:not(.editor-styles-wrapper) .ld-agenda .wp-block-column .ld-card--event-session.ld-card--has-time{margin-bottom:calc(var(--agenda-basic-spacing, 30px)*.5)!important;margin-top:calc(var(--agenda-basic-spacing, 30px)*1.5)!important}.ld-card--type--alternate{border:4px solid var(--card-border-color);border-radius:8px;box-shadow:0 0 20px 1px rgba(0,0,0,.23)}.ld-card--type--alternate .ld-card__title,.ld-card--type--alternate>.wp-block-heading{background:var(--card-border-color);color:var(--card-border-text-color);padding-bottom:12px}.ld-card--type--alternate .ld-card__title a,.ld-card--type--alternate>.wp-block-heading a{color:var(--card-border-text-color)}.ld-card--type--alternate .wp-block-heading{margin-top:0}.ld-card>:empty{margin-block-start:0;margin-bottom:0;padding-bottom:0}.ld-card>:first-child:not(:only-child):not(.ld-card__image):not(.wp-block-image){padding-top:8px}.ld-card>.wp-block-image:first-child{padding-top:0}.ld-card:has(.ld-card__image:first-child),.ld-card:has(.ld-card__logo:first-child),.ld-card:has(.wp-block-image:first-child){border-top:0;clip-path:polygon(calc(100% - 20px) 0,100% 20px,100% 100%,0 100%,0 0);padding-top:0}.ld-card:has(.ld-card__image:first-child) .ld-card__image+*,.ld-card:has(.ld-card__image:first-child) .ld-card__logo+*,.ld-card:has(.ld-card__image:first-child) .wp-block-image+*,.ld-card:has(.ld-card__logo:first-child) .ld-card__image+*,.ld-card:has(.ld-card__logo:first-child) .ld-card__logo+*,.ld-card:has(.ld-card__logo:first-child) .wp-block-image+*,.ld-card:has(.wp-block-image:first-child) .ld-card__image+*,.ld-card:has(.wp-block-image:first-child) .ld-card__logo+*,.ld-card:has(.wp-block-image:first-child) .wp-block-image+*{border-top:9px solid var(--card-border-color);padding-top:8px}.ld-card:has(.ld-card__logo:first-child){align-items:center;clip-path:none;display:flex;justify-content:center}.ld-card>:last-child{margin-bottom:0}.ld-card__title{font-size:var(--card-title-font-size);font-weight:var(--card-font-weight);line-height:var(--card-title-line-height);margin-bottom:var(--card-spacing);margin-top:0}.ld-card p.ld-card__excerpt,.ld-card__excerpt p{font-size:var(--card-excerpt-font-size);line-height:var(--card-line-height);margin-bottom:var(--card-spacing);margin-top:0}.ld-card p.ld-card__excerpt a,.ld-card__excerpt p a{color:var(--wp--preset--color--article-page)}.ld-card .wp-block-image,.ld-card__image{display:block;margin-bottom:0}.ld-card .wp-block-image img,.ld-card__image img{display:block;height:auto;max-width:100%;width:100%}.ld-card__sponsorship{background-color:var(--card-sponsor-background-color);font-size:var(--card-font-size);font-weight:var(--card-font-weight);font-weight:500;padding:calc(var(--card-spacing)/2)}.ld-card__sponsorship+.ld-card__title{margin-top:5px}.ld-card__sponsor-name{font-weight:900;text-transform:uppercase}.ld-card__contributors{font-size:var(--card-font-size);font-weight:var(--card-font-weight);list-style:none;margin:0;margin-bottom:var(--card-spacing);padding:0}.ld-card__contributors__item__meta{font-weight:400}.ld-card__contributors-item{margin-bottom:0;max-width:100%}.ld-card__format{align-items:center;display:flex;flex-direction:row;gap:calc(var(--card-spacing)/2)}.ld-card__format-label{order:2}.ld-card__format-icon{order:1}.ld-card__event-type,.ld-card__format-label{font-size:var(--card-font-size);font-weight:var(--card-font-weight)}.ld-card__event-date,.ld-card__event-type{margin-bottom:calc(var(--card-spacing)/2)}.ld-card__event-date{font-weight:500;text-transform:uppercase}.ld-card__event-date,.ld-card__event-location,.ld-card__event-venue{font-size:var(--wp--preset--font-size--small)}.ld-card svg{width:16px}.ld-card svg path{stroke:var(--wp--preset--color--primary);fill:var(--wp--preset--color--primary)}.ld-card--padded .ld-card__inner{padding:var(--card-spacing)}.ld-card--tinted{--card-sponsor-background-color:#ddd8ff;background-color:var(--card-background-color)}.ld-card--padded,.ld-card.is-style-ld-card--padded{padding-bottom:var(--card-spacing)}.ld-card--padded>:not(.wp-block-image,.ld-card__image),.ld-card.is-style-ld-card--padded>:not(.wp-block-image,.ld-card__image){padding-left:var(--card-spacing);padding-right:var(--card-spacing)}.ld-card--padded>:last-child,.ld-card.is-style-ld-card--padded>:last-child{margin-bottom:0;padding-bottom:0}.ld-card__logo{align-items:center;display:flex;justify-content:center}.ld-card__logo-wrapper{display:flex}.ld-card__logo img{display:block;height:auto;max-height:100%;max-width:100%;width:auto}.ld-card__logo--highlight-edges img{box-shadow:0 0 9px 3px rgba(0,163,250,.17)}.ld-card--sponsor:not(.ld-card--sponsor:has(.ld-card__logo:only-child)){border-top:0}.wp-block-group:has(svg+.ld-card__event-venue){gap:10px}.has-separator-dot--before:before{content:"•";margin-inline:3px;position:relative}
/*# sourceURL=https://leaddev.com/wp-content/mu-plugins/app/src/Blocks/build/Card/style-index.css */
</style>
<style id="main-inline-css">
.article__body__container{border-bottom:1px solid #ddd;column-gap:var(--wp--style--block-gap);display:grid;padding-bottom:var(--wp--style--block-gap);position:relative}@media print{.article__body__container{display:block}}@media only screen and (max-width:75em){.article__body__container{grid-template-areas:"sponsors" "video" "main";grid-template-columns:100%}}@media only screen and (min-width:75em){.article__body__container{grid-template-areas:"share separator video video video" "share separator main separator2 sponsors" "recommended separator main separator2 event-signup";grid-template-columns:3fr 1px 6fr 1px 3fr;grid-template-rows:min-content 1fr min-content}}.article__body__col--aside{position:relative}.article__body__col--separator,.article__body__col--separator2{background-color:#ddd}.article__body__col--separator{grid-area:separator}.article__body__col--separator2{grid-area:separator2}.article__body__col--share{grid-area:share;position:static}@media only screen and (max-width:75em){.article__body__col--share{display:none}}.article__body__col--main{grid-area:main;position:static}.article__body__col--main>:first-child{margin-block-start:0}.article__body__col--sponsors{grid-area:sponsors}.article__body__col--recommended{grid-area:recommended}@media only screen and (max-width:75em){.article__body__col--recommended{display:none}}.article__body img,.article__body picture{height:auto;max-width:100%}.article__authors{display:grid;grid-area:authors;grid-template-areas:"image details"}.article__publish-date{border-bottom:1px solid #ddd;color:grey;font-size:var(--wp--preset--font-size--small);line-height:var(--pbc--line-height--small);margin-bottom:10px;padding-bottom:10px}.article__publish-date--desktop{display:none}@media only screen and (min-width:75em){.article__publish-date--desktop{display:block}}.article__publish-date--mobile{display:block}@media only screen and (min-width:75em){.article__publish-date--mobile{display:none}}.article__share{margin-bottom:1rem}.article-video{grid-area:video}.article-video figure.wp-block-embed{margin-bottom:var(--wp--style--block-gap)}.article-series-panel{padding-bottom:0}.article-series-panel__title{border-top:9px solid var(--wp--preset--color--primary);color:var(--wp--preset--color--primary);font-weight:500;margin-bottom:0;padding-top:.5rem}.article-series-panel__label{display:block;font-size:var(--wp--preset--font-size--small);line-height:var(--pbc--line-height--small);margin-bottom:.75rem}.article-series-panel__list-item{margin:0}.article-series-panel__list-item:first-child:not(.article-series-panel__list-item--current){padding-block-start:0}.article-series-panel__list-item:last-child{border-bottom:0}.series-ep{border-bottom:1px solid var(--wp--preset--color--primary-tint-500);display:block;padding-block:.7rem 1rem;padding-left:.5rem}.series-ep:hover{background-color:#00000005}.series-ep__descriptor{color:var(--wp--preset--color--primary);font-size:var(--wp--preset--font-size--small);font-weight:400;text-transform:capitalize}.series-ep__title{font-weight:500;margin-bottom:0;margin-top:0}.series-ep--current{background-color:var(--wp--preset--color--primary-tint-100);padding-left:1rem;padding-right:.5rem}.series-ep--current:hover{background-color:#e3e3e9}.article-meta{display:grid;grid-column-gap:var(--wp--style--block-gap);padding-bottom:calc(var(--wp--style--block-gap)*2);padding-top:var(--wp--style--block-gap)}@media only screen and (max-width:75em){.article-meta{grid-template-areas:"share-authors" "related-posts"}}@media only screen and (min-width:75em){.article-meta{grid-template-areas:". share-authors ." "related-posts related-posts related-posts";grid-template-columns:3fr 6fr 3fr}}.article-meta__contributors{margin-bottom:calc(var(--wp--style--block-gap)/2)}.article-meta__container{grid-area:share-authors;position:relative}@media only screen and (max-width:75em){.article-meta__container{-ms-grid-column:1;-ms-grid-row:1}}@media only screen and (min-width:75em){.article-meta__container{-ms-grid-column:2;-ms-grid-row:1}}.article-meta__seperator{border:0;border-top:1px solid #ddd;height:1px}@media only screen and (min-width:75em){.article-meta__seperator{transform:translateX(calc(var(--wp--style--block-gap)*-1/2));width:calc(100% + var(--wp--style--block-gap))}}.article-contributors__label{font-weight:500;margin-bottom:var(--wp--style--block-gap)}.article-contributors__list{list-style:none;margin:0;padding:0}.article-contributors__list-item{border-bottom:1px solid #ddd;margin-block:var(--wp--style--block-gap);padding-bottom:var(--wp--style--block-gap)}@media only screen and (min-width:75em){.article-contributor{column-gap:calc(var(--wp--style--block-gap)*2);display:grid;grid-auto-rows:min-content;grid-template-columns:141px 1fr;justify-items:start}}.article-contributor__content{grid-column:2/2;grid-row:1/1}.article-contributor__bio,.article-contributor__link,.article-contributor__name{margin-bottom:2px}.article-contributor__name{margin-top:0}.article-contributor__headshot{grid-column:1/1;grid-row:1/1}@media only screen and (max-width:75em){.article-contributor__headshot{margin-bottom:20px;max-width:340px}}@media print{.article-contributor__headshot{margin-bottom:20px;max-width:340px}}.article-contributor__headshot img{display:block;height:auto;max-width:100%}@media only screen and (max-width:75em){.article-contributor__headshot img{width:100%}}.article-contributor__bio *,.article-contributor__link,.article-contributor__name{color:var(--wp--preset--color--primary);font-size:var(--wp--custom--card--excerpt--fontsize);font-weight:500;line-height:var(--wp--custom--card--excerpt--lineheight)}.article-contributor__bio *{font-weight:300}@media print{.article-contributor__social{display:none}}.related-posts{padding-bottom:var(--wp--style--block-gap)}.related-posts__label.heading,.related-posts__label.wp-block-heading.is-style-overlined{color:var(--wp--preset--color--article-page);font-weight:400;margin-bottom:var(--wp--style--block-gap)}@media only screen and (max-width:75em){.related-posts__items>div{margin-bottom:calc(var(--wp--style--block-gap)*2)}}@media only screen and (min-width:75em){.related-posts__items{display:flex;gap:calc(var(--wp--style--block-gap)*2);justify-content:flex-start}.related-posts__items>div{position:relative;width:25%}.related-posts__items>div:after{background-color:#ddd;content:"";height:100%;position:absolute;right:calc(var(--wp--style--block-gap)*-1);top:0;width:1px}.related-posts__items>div:last-child:after{display:none}}.article-sponsors__label{font-size:var(--wp--preset--font-size--small);line-height:var(--pbc--line-height--small);margin-bottom:.75rem}.article-sponsors__logo{display:block;max-width:120px}.article-sponsors__link{display:block}.article-sponsors__sponsor{margin-bottom:1rem}.contributor-image{display:block;height:auto;max-width:300px}.article-sidebar-ad{padding-bottom:2rem;padding-top:2rem}.footer{background-color:var(--wp--custom--color--footer-bg);color:var(--wp--custom--color--footer-text);padding:78px 0 100px}.footer__container{display:grid;margin:0 auto;max-width:var(--wp--style--global--wide-size);grid-gap:20px;grid-template-areas:"logo logo" "menu1 menu2" "social social" "legal legal";grid-template-columns:1fr 1fr;padding:0 var(--wp--style--block-gap)}@media only screen and (min-width:56.25em){.footer__container{grid-template-areas:"logo menu1 menu2" ". . ." "legal social social";grid-template-columns:2fr 1fr 1fr;grid-template-rows:auto 83px auto}}.footer__column--logo{-ms-grid-column:1;-ms-grid-row:1;-ms-grid-column-span:3;display:flex;grid-area:logo}.footer__column--menu1{grid-area:menu1;-ms-grid-column:1;-ms-grid-row:3}.footer__column--menu2{grid-area:menu2;-ms-grid-column:3;-ms-grid-row:3}.footer__column--legal{-ms-grid-column:1;-ms-grid-row:7;-ms-grid-column-span:3;align-items:center;display:flex;font-size:14px;grid-area:legal}@media only screen and (min-width:56.25em){.footer__column--legal{height:var(--social_media_icon-height)}}.footer__column--social{-ms-grid-column:1;-ms-grid-row:5;-ms-grid-column-span:3;grid-area:social}@media only screen and (min-width:56.25em){.footer__column--logo{-ms-grid-column:1;-ms-grid-row:1;-ms-grid-column-span:1}.footer__column--menu1{-ms-grid-column:3;-ms-grid-row:1}.footer__column--menu2{-ms-grid-column:5;-ms-grid-row:1}.footer__column--legal{-ms-grid-column:1;-ms-grid-row:5;-ms-grid-column-span:1}.footer__column--social{-ms-grid-column:3;-ms-grid-row:5;-ms-grid-column-span:3;height:var(--social_media_icon-height)}}.footer__social-media-link{margin:0 2em 0 0}.footer__social-media-link svg{height:var(--social_media_icon-height);width:var(--social_media_icon-width)}.footer__social-media-link svg path{fill:var(--wp--custom--color--footer-icon)}.footer__social-media-link:hover svg path{fill:var(--wp--custom--color--footer-icon-hover)}.footer__social-media-link:first-child,.footer__social-media-link:last-child{margin-left:0}.footer .nav-main{padding-left:0}.footer .nav-main li{margin-bottom:20px}.footer .nav-main li.current-menu-item a{color:var(--wp--preset--color--secondary)}.footer .nav-legal{list-style-type:none}.footer .nav-legal__item{font-size:var(--wp--preset--font-size--small);line-height:var(--pbc--line-height--small);margin-bottom:0;padding-bottom:1px;position:relative}.footer .nav-legal__item:before{background-color:color-mix(in srgb,var(--wp--preset--color--base) 30%,#0000);content:"";height:100%;left:-1em;position:absolute;top:0;width:1px}.footer__copyright{margin-right:2rem}.search-results__item{border-bottom:1px solid #ccc;margin-bottom:1rem;padding:2rem 0;position:relative}@media only screen and (max-width:75em){.search-results__item{padding-top:30px}}@media only screen and (min-width:75em){.search-results__item{display:grid;grid-template-areas:"a b" "c c";grid-template-columns:1fr max-content}}.search-results__item:last-child{border-bottom:0}.search-results__item__title{display:block;font-size:var(--wp--preset--font-size--large);margin:0 20px 20px 0}@media only screen and (min-width:75em){.search-results__item__title{grid-area:a}}.search-results__item__type{background-color:var(--wp--preset--color--search-item-type);color:var(--wp--preset--color--base);display:inline-block;font-size:var(--wp--preset--font-size--small);height:var(--wp--preset--font-size--small);line-height:var(--wp--preset--font-size--small);padding:5px 10px;text-transform:capitalize}@media only screen and (max-width:75em){.search-results__item__type{position:absolute;right:0;top:0}}@media only screen and (min-width:75em){.search-results__item__type{grid-area:b}}.search-results__item__excerpt{grid-area:c}@media only screen and (min-width:75em){.search-results__item__title{-ms-grid-column:1;-ms-grid-row:1}.search-results__item__type{-ms-grid-column:2;-ms-grid-row:1}.search-results__item__excerpt{-ms-grid-column:1;-ms-grid-row:2;-ms-grid-column-span:2}}.search-results__filters{list-style-type:none;padding-left:0}@media only screen and (max-width:75em){.search-results__filters{display:none}.js-menu-trigger-search-filters .search-results__filters{display:block}}@media only screen and (min-width:75em){.search-results__filters{display:flex;justify-content:space-around}}.search-results__filters__toggle{margin:30px 0;text-decoration:underline}.search-results__filters__toggle--open-label{display:inline}.js-menu-trigger-search-filters .search-results__filters__toggle--open-label,.search-results__filters__toggle--close-label{display:none}.js-menu-trigger-search-filters .search-results__filters__toggle--close-label{display:inline}@media only screen and (min-width:75em){.search-results__filters__toggle{display:none}}.search-results__filters__item{margin:5px 0;text-align:center}.search-results__filters__item:last-child{margin-right:0}.search-results__filters__item:first-child{margin-left:0}@media only screen and (min-width:75em){.search-results__filters__item{flex:1;margin:0 5px}}.search-results__filters__item a{background-color:var(--wp--preset--color--secondary);color:var(--wp--preset--color--base);display:block;height:100%;line-height:50px;text-transform:capitalize;transition:background-color .2s;width:100%}.search-results__filters__item a.active,.search-results__filters__item a:hover{background-color:var(--wp--preset--color--primary)}.search-pagination{list-style-type:none;padding:80px;text-align:center}.search-pagination__item{display:inline-block;padding:0 1rem}.search-pagination__item .current{color:var(--wp--preset--color--secondary)}.single__body__container{border-bottom:1px solid #ddd;column-gap:var(--wp--style--block-gap);display:grid;padding-bottom:var(--wp--style--block-gap);position:relative}@media only screen and (max-width:75em){.single__body__container{grid-template-areas:"column1" "column2" "column3";grid-template-columns:100%}}@media only screen and (min-width:75em){.single__body__container{grid-template-areas:"column1 separator column2 separator2 column3";grid-template-columns:3fr 1px 6fr 1px 3fr}}.single__body__col>h3,.single__body__col>p{margin-top:0}.single__body__col--separator{grid-area:separator}.single__body__col--separator2{grid-area:separator2}@media only screen and (min-width:75em){.article__body__col--separator{-ms-grid-row:1;-ms-grid-row-span:3;-ms-grid-column:2}.article__body__col--separator2{-ms-grid-row:2;-ms-grid-row-span:2;-ms-grid-column:4}.article__body__col--share{-ms-grid-row:1;-ms-grid-row-span:2;-ms-grid-column:1}.article__body__col--main{-ms-grid-row:2;-ms-grid-row-span:2;-ms-grid-column:3}.article__body__col--sponsors{-ms-grid-column:5;-ms-grid-row:2}.article__body__col--recommended{-ms-grid-column:1;-ms-grid-row:3}.article-video{-ms-grid-column:3;-ms-grid-row:1;-ms-grid-column-span:3}.single__body__col--separator{-ms-grid-row:1;-ms-grid-row-span:3;-ms-grid-column:2}.single__body__col--separator2{-ms-grid-row:2;-ms-grid-row-span:2;-ms-grid-column:4}}@media only screen and (max-width:75em){.article__body__col--main{-ms-grid-column:1;-ms-grid-row:3}.article__body__col--sponsors{-ms-grid-column:1;-ms-grid-row:1}.article-video{-ms-grid-column:1;-ms-grid-row:2}}.single__body__col--separator,.single__body__col--separator2{background-color:#ddd}.single__body__col--share{grid-area:column1}.single__body__col--main{grid-area:column2}.single__body__col--social{grid-area:column3}@media only screen and (max-width:75em){.single__body__col--share{-ms-grid-column:1;-ms-grid-row:1}.single__body__col--main{-ms-grid-column:1;-ms-grid-row:2}.single__body__col--social{-ms-grid-column:1;-ms-grid-row:3}}@media only screen and (min-width:75em){.single__body__col--share{-ms-grid-column:1;-ms-grid-row:1}.single__body__col--main{-ms-grid-column:3;-ms-grid-row:1}.single__body__col--social{-ms-grid-column:5;-ms-grid-row:1}}.card-grid{--gap:60px;--cols:4;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--gap);justify-content:flex-start;padding-bottom:var(--gap)}.card-grid--one-up{--cols:1}.card-grid--two-up{--cols:2}.card-grid--three-up{--cols:3}.card-grid--four-up{--cols:4}.card-grid--five-up{--cols:5}.card-grid--six-up{--cols:6}.card-grid>*{flex-basis:calc(100%/var(--cols) - var(--gap)*(var(--cols) - 1)/var(--cols))}.video-viewer{--ld--video-viewer--spacing:var(--wp--preset--spacing--70);--ld--video-viewer--admin-bar-height:var(--wp-admin--admin-bar--height,0);--ld--video-viewer--header-height:62px;--ld--video-viewer--header-offset:calc(var(--ld--video-viewer--header-height) + var(--ld--video-viewer--admin-bar-height, 0))}.video-viewer .wp-block-embed.is-type-video{padding:var(--ld--video-viewer--spacing)}.video-viewer__content{position:relative}.video-viewer__player{max-height:calc(100vh - var(--ld--video-viewer--header-offset));position:sticky;top:var(--ld--video-viewer--header-offset);z-index:50}@media(min-width:782px){.video-viewer__player{top:var(--ld--video-viewer--header-offset)}}.video-viewer__sidebar{z-index:30}@media(max-width:782px){.video-viewer{--ld--video-viewer--spacing:var(--wp--preset--spacing--50);--ld--video-viewer--header-offset:var(--ld--video-viewer--header-height)}.video-viewer .wp-container-core-group-is-layout-2.wp-container-core-group-is-layout-2,.video-viewer .wp-container-core-group-is-layout-3.wp-container-core-group-is-layout-3{display:block}.video-viewer__content{gap:0}}.share-icons__label{font-size:var(--wp--preset--font-size--small);line-height:var(--pbc--line-height--small);margin-bottom:.75rem}.share-icons__list{display:flex;margin:0;padding:0}.share-icons__list-item{list-style-type:none;margin:0 7.5px}.share-icons__list-item:first-child{margin-left:0}.share-icons__list-item:last-child{margin-right:0}.wrap.headings-test{display:flex;flex-direction:column;flex-wrap:wrap;gap:30px;margin-bottom:150px;margin-top:150px}.wrap.headings-test--row{flex-direction:row}.wrap.headings-test--row>*{width:100%}.wrap.headings-test--row.headings-test--two-up>*{max-width:calc(50% - 15px)}.wrap.headings-test--row.headings-test--three-up>*{max-width:calc(33% - 20px)}.wrap.headings-test--row.headings-test--four-up>*{max-width:calc(25% - 23.5px)}.heading,.wp-block-heading.is-style-overlined{font-weight:400;line-height:var(--heading--line-height);margin-bottom:1rem;width:100%}.heading--bordered,.wp-block-heading.is-style-overlined{border-top:1px solid;font-weight:500;padding-top:3px}.article__body__container .wp-block-heading:not(.wp-block-heading:first-child){margin-top:3rem}.wrap.hero-test{margin-bottom:150px;margin-top:150px}.hero{--hero-min-height:400px;--hero-excerpt--font-size:var(--wp--preset--font-size--medium);--hero-excerpt--line-height:var(--pbc--line-height--medium);--hero-margin-bottom:var(--wp--style--block-gap);background-color:var(--hero-background-color);box-sizing:border-box;color:var(--hero-text-color);display:flex;flex-direction:column;justify-content:center;margin-bottom:var(--hero-margin-bottom);padding:var(--wp--style--block-gap)}.single-video .hero{--hero-min-height:unset}.single-contributor .hero{--hero-min-height:200px}.hero--width-full{max-width:none;padding-left:var(--wp--style--block-gap);padding-right:0}@media only screen and (min-width:75em){.hero{flex-direction:row;flex-wrap:nowrap;min-height:var(--hero-min-height)}}@media only screen and (max-width:75em){.hero.hero--reverse{flex-direction:column-reverse}}.hero .hero__content{display:flex;max-width:var(--wp--style--global--wide-size);width:100%}.hero--width-full .hero .hero__content{max-width:none}.hero .hero__breadcrumbs{margin-bottom:var(--wp--style--block-gap)}.hero .hero__breadcrumbs:has(.breadcrumbs:empty){margin-bottom:0}.hero .hero__breadcrumbs .breadcrumb_last,.hero .hero__breadcrumbs a{display:inline-block;font-size:15px;font-weight:400;letter-spacing:2%;margin-inline:.5rem}.hero .hero__breadcrumbs .breadcrumb_last:first-child,.hero .hero__breadcrumbs a:first-child{margin-left:0}.hero .hero__breadcrumbs .breadcrumb_last,.hero .hero__breadcrumbs .breadcrumbs>span>span:first-of-type{display:none;visibility:hidden}.single-post .hero .hero__breadcrumbs .breadcrumbs>span>span:not([class]){display:block;visibility:visible}@media only screen and (min-width:75em){.hero .hero__body{flex-basis:50%}}@media only screen and (max-width:75em){.hero .hero__body:not(.hero--reverse .hero .hero__body){margin-bottom:var(--wp--preset--spacing--80)}}.hero .hero__title{font-weight:700;margin-bottom:var(--wp--style--block-gap);margin-top:0}.hero .hero__excerpt{font-size:var(--hero-excerpt--font-size);font-weight:400;line-height:var(--hero-excerpt--line-height)}.hero .hero__image{display:flex;justify-content:center}@media only screen and (min-width:75em){.hero .hero__image{flex-basis:50%}}.hero .hero__image img{display:block;height:auto;max-height:calc(var(--hero-min-height));max-width:100%;min-width:100%;object-fit:contain}@media only screen and (min-width:75em){.single-video .hero .hero__image img{height:100%;object-fit:cover;width:100%}}body.single-post .hero,body.single-video .hero{padding:0}body.single-post .hero__content,body.single-video .hero__content{margin-left:var(--wp--style--block-gap);margin-right:var(--wp--style--block-gap)}@media only screen and (max-width:56.25em){body.single-post .hero__content,body.single-video .hero__content{flex-direction:column-reverse;flex-wrap:wrap;margin-left:0;margin-right:0}}body.single-post .hero__body,body.single-video .hero__body{box-sizing:border-box;padding:var(--wp--style--block-gap)}@media only screen and (max-width:56.25em){body.single-post .hero__body,body.single-video .hero__body{width:100%}}@media only screen and (min-width:56.25em){body.single-post .hero__body,body.single-video .hero__body{flex-basis:50%;padding-left:0}}@media screen and (min-width:1200px){body.single-post .hero__body,body.single-video .hero__body{padding-left:0}}@media only screen and (max-width:56.25em){body.single-post .hero__image:has(img[src*=svg]),body.single-video .hero__image:has(img[src*=svg]){aspect-ratio:2/1;width:100%}}@media only screen and (min-width:56.25em){body.single-post .hero__image,body.single-video .hero__image{flex-basis:50%}}body.single-post .hero__image a,body.single-video .hero__image a{display:block;height:100%;width:100%}body.single-post .hero__image img[src*=svg],body.single-video .hero__image img[src*=svg]{height:100%}.gform_wrapper{--gf-color-danger:var(--wp--preset--color--secondary);position:relative}.gform_wrapper .gform_required_legend{font-size:var(--gf-ctrl-label-font-size-primary)}.gform_wrapper.gform-theme--framework{--gf-ctrl-desc-color-error:#fff;--gf-form-validation-border-color-focus:#ff8c73;--gf-form-validation-heading-color:#ff8c73;--gf-form-validation-border-color:#ff8c73;--gf-form-validation-outline-color-focus:#ff8c73;--gf-ctrl-border-color-error:#ff8c73;--gf-ctrl-outline-offset:0px;--gf-form-validation-bg-color:#112337;--gf-ctrl-desc-font-weight-error:700}#gform_wrapper_22.gform_wrapper.gform-theme--framework{--gf-ctrl-label-color-req:#fff}.advert:has(+.header){position:relative;z-index:100}@media print{.advert,.article-meta__social,.article__share,.related-posts,.wp-block-pbc-offset,footer,header{display:none!important}}html{scroll-behavior:smooth}body{color:var(--wp--preset--color--black);--pbc--line-height--xx-large:52px;--pbc--line-height--x-large:40px;--pbc--line-height--large:28px;--pbc--line-height--medium:24px;--pbc--line-height--small:18px;font-family:var(--wp--preset--font-family--base)}body .has-primary-background-color{color:var(--wp--preset--color--base)}@media only screen and (max-width:75em){body{--wp--preset--font-size--xx-large:36px;--pbc--line-height--xx-large:40px;--wp--preset--font-size--x-large:30px;--pbc--line-height--x-large:35px;--wp--preset--font-size--large:25px;--pbc--line-height--large:30px;--wp--preset--font-size--medium:20px;--pbc--line-height--medium:25px;--wp--preset--font-size--small:15px;--pbc--line-height--small:18px}}@media screen and (max-width:1000px){body{--wp--style--root--padding-right:20px;--wp--style--root--padding-left:20px}}.has-primary-color-scheme{background-color:var(--wp--custom--color-scheme--primary--background-color);color:var(--wp--custom--color-scheme--primary--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--primary--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--primary--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--primary--highlight-3)}.has-primary-tint-500-color-scheme{background-color:var(--wp--custom--color-scheme--primary-tint-500--background-color);color:var(--wp--custom--color-scheme--primary-tint-500--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--primary-tint-500--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--primary-tint-500--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--primary-tint-500--highlight-3)}.has-primary-tint-100-color-scheme{background-color:var(--wp--custom--color-scheme--primary-tint-100--background-color);color:var(--wp--custom--color-scheme--primary-tint-100--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--primary-tint-100--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--primary-tint-100--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--primary-tint-100--highlight-3)}.has-secondary-color-scheme{background-color:var(--wp--custom--color-scheme--secondary--background-color);color:var(--wp--custom--color-scheme--secondary--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--secondary--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--secondary--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--secondary--highlight-3)}.has-secondary-tint-500-color-scheme{background-color:var(--wp--custom--color-scheme--secondary-tint-500--background-color);color:var(--wp--custom--color-scheme--secondary-tint-500--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--secondary-tint-500--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--secondary-tint-500--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--secondary-tint-500--highlight-3)}.has-secondary-tint-100-color-scheme{background-color:var(--wp--custom--color-scheme--secondary-tint-100--background-color);color:var(--wp--custom--color-scheme--secondary-tint-100--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--secondary-tint-100--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--secondary-tint-100--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--secondary-tint-100--highlight-3)}.has-tertiary-color-scheme{background-color:var(--wp--custom--color-scheme--tertiary--background-color);color:var(--wp--custom--color-scheme--tertiary--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--tertiary--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--tertiary--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--tertiary--highlight-3)}.has-tertiary-tint-500-color-scheme{background-color:var(--wp--custom--color-scheme--tertiary-tint-500--background-color);color:var(--wp--custom--color-scheme--tertiary-tint-500--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--tertiary-tint-500--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--tertiary-tint-500--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--tertiary-tint-500--highlight-3)}.has-tertiary-tint-100-color-scheme{background-color:var(--wp--custom--color-scheme--tertiary-tint-100--background-color);color:var(--wp--custom--color-scheme--tertiary-tint-100--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--tertiary-tint-100--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--tertiary-tint-100--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--tertiary-tint-100--highlight-3)}.has-quaternary-color-scheme{background-color:var(--wp--custom--color-scheme--quaternary--background-color);color:var(--wp--custom--color-scheme--quaternary--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--quaternary--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--quaternary--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--quaternary--highlight-3)}.has-quaternary-tint-500-color-scheme{background-color:var(--wp--custom--color-scheme--quaternary-tint-500--background-color);color:var(--wp--custom--color-scheme--quaternary-tint-500--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--quaternary-tint-500--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--quaternary-tint-500--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--quaternary-tint-500--highlight-3)}.has-quaternary-tint-100-color-scheme{background-color:var(--wp--custom--color-scheme--quaternary-tint-100--background-color);color:var(--wp--custom--color-scheme--quaternary-tint-100--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--quaternary-tint-100--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--quaternary-tint-100--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--quaternary-tint-100--highlight-3)}.has-quinary-color-scheme{background-color:var(--wp--custom--color-scheme--quinary--background-color);color:var(--wp--custom--color-scheme--quinary--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--quinary--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--quinary--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--quinary--highlight-3)}.has-quinary-tint-500-color-scheme{background-color:var(--wp--custom--color-scheme--quinary-tint-500--background-color);color:var(--wp--custom--color-scheme--quinary-tint-500--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--quinary-tint-500--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--quinary-tint-500--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--quinary-tint-500--highlight-3)}.has-quinary-tint-100-color-scheme{background-color:var(--wp--custom--color-scheme--quinary-tint-100--background-color);color:var(--wp--custom--color-scheme--quinary-tint-100--color);--pbc--color-scheme--highlight-1:var(--wp--custom--color-scheme--quinary-tint-100--highlight-1);--pbc--color-scheme--highlight-2:var(--wp--custom--color-scheme--quinary-tint-100--highlight-2);--pbc--color-scheme--highlight-3:var(--wp--custom--color-scheme--quinary-tint-100--highlight-3)}.wrap{margin:0 auto;max-width:var(--wp--style--global--wide-size);padding-left:var(--wp--style--block-gap);padding-right:var(--wp--style--block-gap)}@media only screen and (max-width:75em){.wrap--horizontal-mobile-padding{padding:0 var(--wp--style--block-gap)}}
/*# sourceURL=https://leaddev.com/wp-content/themes/pbc/build/screen.css */
</style>
<style id="ads-styles-inline-css">
body{--ld-banner-spacing:1rem;--ld-banner-reserved-height:50px}@media screen and (min-width:768px){body{--ld-banner-spacing:2rem}}@media screen and (min-width:1000px){body{--ld-banner-reserved-height:90px}}.advert{display:flex;justify-content:center}.advert:not(.advert--hidden){margin-bottom:var(--ld-banner-spacing);margin-top:var(--ld-banner-spacing)}.advert--hidden{display:none}.advert--reserve-space>div,.advert[data-collapse=DISABLED]>div{min-height:var(--ld-banner-reserved-height)}.advert:has(+.header){margin-bottom:0}.advert:has(>div:empty):not(.advert--reserve-space,.advert[data-collapse=DISABLED]){margin-bottom:0;margin-top:0}
/*# sourceURL=https://leaddev.com/wp-content/mu-plugins/app/src/Features/Ads/build//Manager.css */
</style>
<link rel='stylesheet' id='gravity_forms_theme_reset-css' href='https://leaddev.com/wp-content/plugins/gravityforms/assets/css/dist/gravity-forms-theme-reset.min.css?ver=2.10.5' media='all' />
<link rel='stylesheet' id='gravity_forms_theme_foundation-css' href='https://leaddev.com/wp-content/plugins/gravityforms/assets/css/dist/gravity-forms-theme-foundation.min.css?ver=2.10.5' media='all' />
<link rel='stylesheet' id='gravity_forms_theme_framework-css' href='https://leaddev.com/wp-content/plugins/gravityforms/assets/css/dist/gravity-forms-theme-framework.min.css?ver=2.10.5' media='all' />
<link rel='stylesheet' id='gravity_forms_orbital_theme-css' href='https://leaddev.com/wp-content/plugins/gravityforms/assets/css/dist/gravity-forms-orbital-theme.min.css?ver=2.10.5' media='all' />
<script data-wp-strategy="defer" defer id="yoast-faq-block-js" src="https://leaddev.com/wp-content/themes/pbc/assets/blocks/yoast-faq.js?ver=1.0.0"></script>
<script id="plausible-analytics-js" defer data-cfasync='false' data-no-minify="true" data-no-optimize="1" data-noptimize="1" src="https://leaddev.com/wp-content/uploads/91c65379d5/pa-D1VTY4VOqgOYGxw87TkNI.js"></script>
<script id="plausible-analytics-js-after">
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
plausible.init({"customProperties":{"author":"Michael","category":"Metrics","tax_format":"Article","tax_contributor":"Paul LaPosta","user_logged_in":"no"},"endpoint":"https:\/\/leaddev.com\/wp-json\/7b831e\/v1\/2cb8\/952f7327"});
//# sourceURL=plausible-analytics-js-after
</script>
<script id="lodash-js" src="https://leaddev.com/wp-includes/js/dist/vendor/lodash.min.js?ver=4.18.1"></script>
<script id="lodash-js-after">
window.lodash = _.noConflict();
//# sourceURL=lodash-js-after
</script>
<script id="react-js" src="https://leaddev.com/wp-includes/js/dist/vendor/react.min.js?ver=18.3.1.1"></script>
<script id="react-jsx-runtime-js" src="https://leaddev.com/wp-includes/js/dist/vendor/react-jsx-runtime.min.js?ver=18.3.1"></script>
<script id="wp-hooks-js" src="https://leaddev.com/wp-includes/js/dist/hooks.min.js?ver=f0f188028580e8dc1255"></script>
<script id="wp-deprecated-js" src="https://leaddev.com/wp-includes/js/dist/deprecated.min.js?ver=fe587bac92b7d0ef760e"></script>
<script id="wp-dom-js" src="https://leaddev.com/wp-includes/js/dist/dom.min.js?ver=c95f94cbbc1ac3fde84f"></script>
<script id="react-dom-js" src="https://leaddev.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1"></script>
<script id="wp-escape-html-js" src="https://leaddev.com/wp-includes/js/dist/escape-html.min.js?ver=87ebe53e97bba59805a5"></script>
<script id="wp-element-js" src="https://leaddev.com/wp-includes/js/dist/element.min.js?ver=4a4370b2b349066fd440"></script>
<script id="wp-is-shallow-equal-js" src="https://leaddev.com/wp-includes/js/dist/is-shallow-equal.min.js?ver=7ad271045c1fe60f5496"></script>
<script id="wp-i18n-js" src="https://leaddev.com/wp-includes/js/dist/i18n.min.js?ver=1dfe7db3940c23ea9216"></script>
<script id="wp-i18n-js-after">
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
//# sourceURL=wp-i18n-js-after
</script>
<script id="wp-keycodes-js" src="https://leaddev.com/wp-includes/js/dist/keycodes.min.js?ver=d0b4204e4bbeb412df6e"></script>
<script id="wp-priority-queue-js" src="https://leaddev.com/wp-includes/js/dist/priority-queue.min.js?ver=6c0aa59b65d55dfd509b"></script>
<script id="wp-private-apis-js" src="https://leaddev.com/wp-includes/js/dist/private-apis.min.js?ver=eb85f28c4c729bb4f002"></script>
<script id="wp-undo-manager-js" src="https://leaddev.com/wp-includes/js/dist/undo-manager.min.js?ver=4554fce6276d8910a4ae"></script>
<script id="wp-compose-js" src="https://leaddev.com/wp-includes/js/dist/compose.min.js?ver=0e8bde2a499ea6073b42"></script>
<script id="wp-redux-routine-js" src="https://leaddev.com/wp-includes/js/dist/redux-routine.min.js?ver=acca2b4857d83ad1790e"></script>
<script id="wp-data-js" src="https://leaddev.com/wp-includes/js/dist/data.min.js?ver=14a216e0932d72c22976"></script>
<script id="wp-data-js-after">
( function() {
var userId = 0;
var storageKey = "WP_DATA_USER_" + userId;
wp.data
.use( wp.data.plugins.persistence, { storageKey: storageKey } );
} )();
//# sourceURL=wp-data-js-after
</script>
<script id="wp-dom-ready-js" src="https://leaddev.com/wp-includes/js/dist/dom-ready.min.js?ver=3fe927cab37bf38d6a23"></script>
<script id="wp-a11y-js" src="https://leaddev.com/wp-includes/js/dist/a11y.min.js?ver=31c6cec5a4ff7aff483d"></script>
<script id="wp-url-js" src="https://leaddev.com/wp-includes/js/dist/url.min.js?ver=7b0de086d4ae11d55704"></script>
<script id="wp-api-fetch-js" src="https://leaddev.com/wp-includes/js/dist/api-fetch.min.js?ver=6f2a4faeee3c722b1e57"></script>
<script id="wp-api-fetch-js-after">
wp.apiFetch.use( wp.apiFetch.createRootURLMiddleware( "https://leaddev.com/wp-json/" ) );
wp.apiFetch.nonceMiddleware = wp.apiFetch.createNonceMiddleware( "16e976d611" );
wp.apiFetch.use( wp.apiFetch.nonceMiddleware );
wp.apiFetch.use( wp.apiFetch.mediaUploadMiddleware );
wp.apiFetch.nonceEndpoint = "https://leaddev.com/wp-admin/admin-ajax.php?action=rest-nonce";
//# sourceURL=wp-api-fetch-js-after
</script>
<script id="wp-blob-js" src="https://leaddev.com/wp-includes/js/dist/blob.min.js?ver=c7582a735ddd2edc9731"></script>
<script id="wp-block-serialization-default-parser-js" src="https://leaddev.com/wp-includes/js/dist/block-serialization-default-parser.min.js?ver=4c6f3dd40077f7c17604"></script>
<script id="wp-autop-js" src="https://leaddev.com/wp-includes/js/dist/autop.min.js?ver=4e10a18cb6f21a043fc0"></script>
<script id="wp-html-entities-js" src="https://leaddev.com/wp-includes/js/dist/html-entities.min.js?ver=a976ff3a0f00bc2999a3"></script>
<script id="wp-rich-text-js" src="https://leaddev.com/wp-includes/js/dist/rich-text.min.js?ver=3e5852e42cee1c239bae"></script>
<script id="wp-shortcode-js" src="https://leaddev.com/wp-includes/js/dist/shortcode.min.js?ver=f6273476300cc5fad4cd"></script>
<script id="wp-warning-js" src="https://leaddev.com/wp-includes/js/dist/warning.min.js?ver=a0978839debc564a6608"></script>
<script id="wp-blocks-js" src="https://leaddev.com/wp-includes/js/dist/blocks.min.js?ver=c0e57a630a0b6f6c3bb5"></script>
<script id="moment-js" src="https://leaddev.com/wp-includes/js/dist/vendor/moment.min.js?ver=2.30.1"></script>
<script id="moment-js-after">
moment.updateLocale( 'en_US', {"months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"week":{"dow":1},"longDateFormat":{"LT":"g:i a","LTS":null,"L":null,"LL":"F j, Y","LLL":"F j, Y g:i a","LLLL":null}} );
//# sourceURL=moment-js-after
</script>
<script id="wp-date-js" src="https://leaddev.com/wp-includes/js/dist/date.min.js?ver=8173fc0fc12b7bb7eaf0"></script>
<script id="wp-date-js-after">
wp.date.setSettings( {"l10n":{"locale":"en_US","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"meridiem":{"am":"am","pm":"pm","AM":"AM","PM":"PM"},"relative":{"future":"%s from now","past":"%s ago","s":"a second","ss":"%d seconds","m":"a minute","mm":"%d minutes","h":"an hour","hh":"%d hours","d":"a day","dd":"%d days","M":"a month","MM":"%d months","y":"a year","yy":"%d years"},"startOfWeek":1},"formats":{"time":"g:i a","date":"F j, Y","datetime":"F j, Y g:i a","datetimeAbbreviated":"M j, Y g:i a"},"timezone":{"offset":0,"offsetFormatted":"0","string":"","abbr":""}} );
//# sourceURL=wp-date-js-after
</script>
<script id="wp-primitives-js" src="https://leaddev.com/wp-includes/js/dist/primitives.min.js?ver=44cc5a35c7b9fe07a838"></script>
<script id="wp-theme-js" src="https://leaddev.com/wp-includes/js/dist/theme.min.js?ver=56a75cc08ae66c1fcb7a"></script>
<script id="wp-components-js" src="https://leaddev.com/wp-includes/js/dist/components.min.js?ver=9b751f17060211272a5c"></script>
<script id="wp-keyboard-shortcuts-js" src="https://leaddev.com/wp-includes/js/dist/keyboard-shortcuts.min.js?ver=37da95806f2339bc80d0"></script>
<script id="wp-preferences-persistence-js" src="https://leaddev.com/wp-includes/js/dist/preferences-persistence.min.js?ver=a34abbdacd8f50f9acb1"></script>
<script id="wp-preferences-js" src="https://leaddev.com/wp-includes/js/dist/preferences.min.js?ver=5a169e3fc0e657f74172"></script>
<script id="wp-preferences-js-after">
( function() {
var serverData = false;
var userId = "0";
var persistenceLayer = wp.preferencesPersistence.__unstableCreatePersistenceLayer( serverData, userId );
var preferencesStore = wp.preferences.store;
wp.data.dispatch( preferencesStore ).setPersistenceLayer( persistenceLayer );
} ) ();
//# sourceURL=wp-preferences-js-after
</script>
<script id="wp-commands-js" src="https://leaddev.com/wp-includes/js/dist/commands.min.js?ver=1a4910212c7ed2355300"></script>
<script id="wp-notices-js" src="https://leaddev.com/wp-includes/js/dist/notices.min.js?ver=c09a068fdab0eb465e14"></script>
<script id="wp-style-engine-js" src="https://leaddev.com/wp-includes/js/dist/style-engine.min.js?ver=914befb08774033e6265"></script>
<script id="wp-token-list-js" src="https://leaddev.com/wp-includes/js/dist/token-list.min.js?ver=e86ab419d8302d57822c"></script>
<script id="wp-upload-media-js" src="https://leaddev.com/wp-includes/js/dist/upload-media.min.js?ver=f7174b0617bcd68e57c3"></script>
<script id="wp-block-editor-js" src="https://leaddev.com/wp-includes/js/dist/block-editor.min.js?ver=d3cbb2c45b145b27a5cf"></script>
<script id="wp-core-data-js" src="https://leaddev.com/wp-includes/js/dist/core-data.min.js?ver=573f98dbff9f49ffeb0b"></script>
<script id="wp-media-utils-js" src="https://leaddev.com/wp-includes/js/dist/media-utils.min.js?ver=b8bf604c1cc119e63ee6"></script>
<script id="wp-patterns-js" src="https://leaddev.com/wp-includes/js/dist/patterns.min.js?ver=be5af192f57cc14d340f"></script>
<script id="wp-plugins-js" src="https://leaddev.com/wp-includes/js/dist/plugins.min.js?ver=673d1e05ca49004ab160"></script>
<script id="wp-server-side-render-js" src="https://leaddev.com/wp-includes/js/dist/server-side-render.min.js?ver=83e806a0634df6b93530"></script>
<script id="wp-viewport-js" src="https://leaddev.com/wp-includes/js/dist/viewport.min.js?ver=a56e3489ed4faeac7720"></script>
<script id="wp-wordcount-js" src="https://leaddev.com/wp-includes/js/dist/wordcount.min.js?ver=f0b1f0e977b2ff6e0132"></script>
<script id="wp-editor-js" src="https://leaddev.com/wp-includes/js/dist/editor.min.js?ver=2cd3b932f41a420d5904"></script>
<script id="wp-editor-js-after">
Object.assign( window.wp.editor, window.wp.oldEditor );
//# sourceURL=wp-editor-js-after
</script>
<script id="wp-polyfill-js" src="https://leaddev.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=3.15.0"></script>
<script id="ld-editor-assets-js" src="https://leaddev.com/wp-content/themes/pbc/build/editor.js?ver=b06726aee478143c71f0"></script>
<script id="google-publisher-tag-js" src="https://pagead2.googlesyndication.com/tag/js/gpt.js?ver=live"></script>
<script id="google-publisher-tag-js-after">
window.googletag = window.googletag || {cmd: []}
//# sourceURL=google-publisher-tag-js-after
</script>
<script id="jquery-core-js" src="https://leaddev.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1"></script>
<script id="gform_json-js" defer='defer' src="https://leaddev.com/wp-content/plugins/gravityforms/js/jquery.json.min.js?ver=2.10.5"></script>
<script id="gform_gravityforms-js-extra">
var gf_global = {"gf_currency_config":{"name":"U.S. Dollar","symbol_left":"$","symbol_right":"","symbol_padding":"","thousand_separator":",","decimal_separator":".","decimals":2,"code":"USD"},"base_url":"https://leaddev.com/wp-content/plugins/gravityforms","number_formats":[],"spinnerUrl":"https://leaddev.com/wp-content/plugins/gravityforms/images/spinner.svg","version_hash":"761673ff590080c8d4a9dd58f50332c2","strings":{"newRowAdded":"New row added.","rowRemoved":"Row removed","formSaved":"The form has been saved. The content contains the link to return and complete the form."}};
var gform_i18n = {"datepicker":{"days":{"monday":"Mo","tuesday":"Tu","wednesday":"We","thursday":"Th","friday":"Fr","saturday":"Sa","sunday":"Su"},"months":{"january":"January","february":"February","march":"March","april":"April","may":"May","june":"June","july":"July","august":"August","september":"September","october":"October","november":"November","december":"December"},"firstDay":1,"iconText":"Select date"}};
var gf_legacy_multi = {"44":""};
var gform_gravityforms = {"strings":{"invalid_file_extension":"This type of file is not allowed. Must be one of the following:","file_uploaded":"File uploaded","delete_file":"Delete this file","in_progress":"in progress","file_exceeds_limit":"File exceeds size limit","illegal_extension":"This type of file is not allowed.","max_reached":"Maximum number of files reached","unknown_error":"There was a problem while saving the file on the server","currently_uploading":"Please wait for the uploading to complete","cancel":"Cancel","cancel_upload":"Cancel this upload","cancelled":"Cancelled","error":"Error","message":"Message"},"vars":{"images_url":"https://leaddev.com/wp-content/plugins/gravityforms/images"}};
//# sourceURL=gform_gravityforms-js-extra
</script>
<script id="gform_gravityforms-js-before">
//# sourceURL=gform_gravityforms-js-before
</script>
<script id="gform_gravityforms-js" defer='defer' src="https://leaddev.com/wp-content/plugins/gravityforms/js/gravityforms.min.js?ver=2.10.5"></script>
<script id="gform_gravityforms_utils-js" defer='defer' src="https://leaddev.com/wp-content/plugins/gravityforms/assets/js/dist/utils.min.js?ver=3f278756f0a3032bed328ff6a9f6c01d"></script>
<link rel="https://api.w.org/" href="https://leaddev.com/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://leaddev.com/wp-json/wp/v2/posts/32933" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://leaddev.com/xmlrpc.php?rsd" />
<link rel='shortlink' href='https://leaddev.com/?p=32933' />
<meta name="onesignal-plugin" content="wordpress-3.9.2">
<script src="https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.js" defer></script>
<script>
window.OneSignalDeferred = window.OneSignalDeferred || [];
OneSignalDeferred.push(async function(OneSignal) {
await OneSignal.init({
appId: "847071fc-48ef-4277-acf9-d95c14e97b3e",
serviceWorkerOverrideForTypical: true,
path: "https://leaddev.com/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/",
serviceWorkerParam: { scope: "/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/push/onesignal/" },
serviceWorkerPath: "OneSignalSDKWorker.js",
});
});
// Unregister the legacy OneSignal service worker to prevent scope conflicts
if (navigator.serviceWorker) {
navigator.serviceWorker.getRegistrations().then((registrations) => {
// Iterate through all registered service workers
registrations.forEach((registration) => {
// Check the script URL to identify the specific service worker
if (registration.active && registration.active.scriptURL.includes('OneSignalSDKWorker.js.php')) {
// Unregister the service worker
registration.unregister().then((success) => {
if (success) {
console.log('OneSignalSW: Successfully unregistered:', registration.active.scriptURL);
} else {
console.log('OneSignalSW: Failed to unregister:', registration.active.scriptURL);
}
});
}
});
}).catch((error) => {
console.error('Error fetching service worker registrations:', error);
});
}
</script>
<style>
.algolia-search-highlight {
background-color: #fffbcc;
border-radius: 2px;
font-style: normal;
}
</style>
<style class="wp-fonts-local">
@font-face{font-family:foundersgrotesk;font-style:normal;font-weight:300;font-display:fallback;src:url('https://leaddev.com/wp-content/themes/pbc/src/fonts/FoundersGroteskWeb-Light.woff2') format('woff2');font-stretch:normal;}
@font-face{font-family:foundersgrotesk;font-style:normal;font-weight:400;font-display:fallback;src:url('https://leaddev.com/wp-content/themes/pbc/src/fonts/FoundersGroteskWeb-Regular.woff2') format('woff2');font-stretch:normal;}
@font-face{font-family:foundersgrotesk;font-style:normal;font-weight:500;font-display:fallback;src:url('https://leaddev.com/wp-content/themes/pbc/src/fonts/FoundersGroteskWeb-Medium.woff2') format('woff2');font-stretch:normal;}
@font-face{font-family:foundersgrotesk;font-style:normal;font-weight:600;font-display:fallback;src:url('https://leaddev.com/wp-content/themes/pbc/src/fonts/FoundersGroteskWeb-Bold.woff2') format('woff2');font-stretch:normal;}
@font-face{font-family:foundersgrotesk;font-style:normal;font-weight:700;font-display:fallback;src:url('https://leaddev.com/wp-content/themes/pbc/src/fonts/FoundersGroteskWeb-Bold.woff2') format('woff2');font-stretch:normal;}
</style>
<!-- GTM Data Layer -->
<script>
var dataLayer = [{"userId":"","view-type":"content","post_id":32933,"post_title":"dora-metrics-are-lying-to-you-and-ai-is-making-it-worse","url":"https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse","post_type":"post","post_date":"2026-05-06 07:09:36","content_type":"","category":["ai","reporting"],"tags":[],"contributors":["paul-laposta"],"sponsors":[],"client-campaign-code":[]}]
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){
w[l]=w[l]||[];w[l].push({
'gtm.start':new Date().getTime(),
event:'gtm.js'}
);
var f=d.getElementsByTagName(s)[0], j=d.createElement(s), dl=l!='dataLayer'?'&l='+l:'';
j.async=true;
j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})
(window,document,'script','dataLayer','GTM-NP5N2NF');
</script>
<!-- End Google Tag Manager --> <style id="ld-core-paragraph-inline-css">
.is-style-standfirst{font-size:var(--wp--preset--font-size--medium);font-weight:300;line-height:var(--pbc--line-height--medium)}.article__body .is-style-standfirst{color:var(--wp--preset--color--primary);font-size:var(--wp--preset--font-size--large);font-weight:400;line-height:var(--pbc--line-height--large);margin-top:0}
/*# sourceURL=https://leaddev.com/wp-content/themes/pbc/build/blocks/core-paragraph.css */
</style>
<style id="ld-core-list-inline-css">
ul.is-style-align-list-text{list-style-type:none;padding-left:0}ul.is-style-align-list-text li{margin-bottom:10px;margin-left:20px;position:relative}ul.is-style-align-list-text li:before{color:inherit;content:"•";font-size:1.2em;left:-20px;margin-right:5px;position:absolute;top:-5px}
/*# sourceURL=https://leaddev.com/wp-content/themes/pbc/build/blocks/core-list.css */
</style>
<style id="ld-core-heading-inline-css">
/*# sourceURL=https://leaddev.com/wp-content/themes/pbc/build/blocks/core-heading.css */
</style>
<style id="ld-core-group-inline-css">
.wp-block-group .wp-block-group{padding:0}.wp-block-group .wp-block-columns{background-color:#0000}@media only screen and (max-width:75em){.wp-block-group.no-spacing-on-mobile{padding-left:0!important;padding-right:0!important}.wp-block-group.no-spacing-on-mobile>*{max-width:unset!important;padding-left:var(--wp--style--block-gap);padding-right:var(--wp--style--block-gap)}}
/*# sourceURL=https://leaddev.com/wp-content/themes/pbc/build/blocks/core-group.css */
</style>
<style id="ld-core-image-inline-css">
.wp-block-image.is-style-pink-bottom-border img{border-bottom-color:#ff326e}.wp-block-image.is-style-electric-blue-bottom-border img{border-bottom-color:#00beff}.wp-block-image.is-style-teal-bottom-border img{border-bottom-color:#00dcbe}.wp-block-image.is-style-purple-bottom-border img{border-bottom-color:#7864ff}.wp-block-image.is-style-electric-blue-bottom-border img,.wp-block-image.is-style-pink-bottom-border img,.wp-block-image.is-style-purple-bottom-border img,.wp-block-image.is-style-teal-bottom-border img{border-bottom-style:solid;border-bottom-width:10px;clip-path:polygon(calc(100% - 20px) 0,100% 20px,100% 100%,0 100%,0 0)}
/*# sourceURL=https://leaddev.com/wp-content/themes/pbc/build/blocks/core-image.css */
</style>
<style id="ld-core-button-inline-css">
.wp-block-button.is-style-outline .has-primary-color{border-color:var(--wp--preset--color--primary)!important;color:var(--wp--preset--color--primary)!important}.wp-block-button.is-style-outline .has-primary-color:hover{background-color:var(--wp--preset--color--primary)!important;border-color:var(--wp--preset--color--primary)!important;color:#fff!important}.wp-block-button.is-style-outline .has-primary-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-secondary-color{border-color:var(--wp--preset--color--secondary)!important;color:var(--wp--preset--color--secondary)!important}.wp-block-button.is-style-outline .has-secondary-color:hover{background-color:var(--wp--preset--color--secondary)!important;border-color:var(--wp--preset--color--secondary)!important;color:#fff!important}.wp-block-button.is-style-outline .has-secondary-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-tertiary-color{border-color:var(--wp--preset--color--tertiary)!important;color:var(--wp--preset--color--tertiary)!important}.wp-block-button.is-style-outline .has-tertiary-color:hover{background-color:var(--wp--preset--color--tertiary)!important;border-color:var(--wp--preset--color--tertiary)!important;color:#fff!important}.wp-block-button.is-style-outline .has-tertiary-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-quaternary-color{border-color:var(--wp--preset--color--quaternary)!important;color:var(--wp--preset--color--quaternary)!important}.wp-block-button.is-style-outline .has-quaternary-color:hover{background-color:var(--wp--preset--color--quaternary)!important;border-color:var(--wp--preset--color--quaternary)!important;color:#fff!important}.wp-block-button.is-style-outline .has-quaternary-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-quinary-color{border-color:var(--wp--preset--color--quinary)!important;color:var(--wp--preset--color--quinary)!important}.wp-block-button.is-style-outline .has-quinary-color:hover{background-color:var(--wp--preset--color--quinary)!important;border-color:var(--wp--preset--color--quinary)!important;color:#fff!important}.wp-block-button.is-style-outline .has-quinary-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-black-color{border-color:var(--wp--preset--color--black)!important;color:var(--wp--preset--color--black)!important}.wp-block-button.is-style-outline .has-black-color:hover{background-color:var(--wp--preset--color--black)!important;border-color:var(--wp--preset--color--black)!important;color:#fff!important}.wp-block-button.is-style-outline .has-black-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-primary-tint-500-color{border-color:var(--wp--preset--color--primary-tint-500)!important;color:var(--wp--preset--color--primary-tint-500)!important}.wp-block-button.is-style-outline .has-primary-tint-500-color:hover{background-color:var(--wp--preset--color--primary-tint-500)!important;border-color:var(--wp--preset--color--primary-tint-500)!important;color:#fff!important}.wp-block-button.is-style-outline .has-primary-tint-500-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-secondary-tint-500-color{border-color:var(--wp--preset--color--secondary-tint-500)!important;color:var(--wp--preset--color--secondary-tint-500)!important}.wp-block-button.is-style-outline .has-secondary-tint-500-color:hover{background-color:var(--wp--preset--color--secondary-tint-500)!important;border-color:var(--wp--preset--color--secondary-tint-500)!important;color:#fff!important}.wp-block-button.is-style-outline .has-secondary-tint-500-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-tertiary-tint-500-color{border-color:var(--wp--preset--color--tertiary-tint-500)!important;color:var(--wp--preset--color--tertiary-tint-500)!important}.wp-block-button.is-style-outline .has-tertiary-tint-500-color:hover{background-color:var(--wp--preset--color--tertiary-tint-500)!important;border-color:var(--wp--preset--color--tertiary-tint-500)!important;color:#fff!important}.wp-block-button.is-style-outline .has-tertiary-tint-500-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-quaternary-tint-500-color{border-color:var(--wp--preset--color--quaternary-tint-500)!important;color:var(--wp--preset--color--quaternary-tint-500)!important}.wp-block-button.is-style-outline .has-quaternary-tint-500-color:hover{background-color:var(--wp--preset--color--quaternary-tint-500)!important;border-color:var(--wp--preset--color--quaternary-tint-500)!important;color:#fff!important}.wp-block-button.is-style-outline .has-quaternary-tint-500-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-quinary-tint-500-color{border-color:var(--wp--preset--color--quinary-tint-500)!important;color:var(--wp--preset--color--quinary-tint-500)!important}.wp-block-button.is-style-outline .has-quinary-tint-500-color:hover{background-color:var(--wp--preset--color--quinary-tint-500)!important;border-color:var(--wp--preset--color--quinary-tint-500)!important;color:#fff!important}.wp-block-button.is-style-outline .has-quinary-tint-500-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-gray-color{border-color:var(--wp--preset--color--gray)!important;color:var(--wp--preset--color--gray)!important}.wp-block-button.is-style-outline .has-gray-color:hover{background-color:var(--wp--preset--color--gray)!important;border-color:var(--wp--preset--color--gray)!important;color:#fff!important}.wp-block-button.is-style-outline .has-gray-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-primary-tint-100-color{border-color:var(--wp--preset--color--primary-tint-100)!important;color:var(--wp--preset--color--primary-tint-100)!important}.wp-block-button.is-style-outline .has-primary-tint-100-color:hover{background-color:var(--wp--preset--color--primary-tint-100)!important;border-color:var(--wp--preset--color--primary-tint-100)!important;color:#fff!important}.wp-block-button.is-style-outline .has-primary-tint-100-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-secondary-tint-100-color{border-color:var(--wp--preset--color--secondary-tint-100)!important;color:var(--wp--preset--color--secondary-tint-100)!important}.wp-block-button.is-style-outline .has-secondary-tint-100-color:hover{background-color:var(--wp--preset--color--secondary-tint-100)!important;border-color:var(--wp--preset--color--secondary-tint-100)!important;color:#fff!important}.wp-block-button.is-style-outline .has-secondary-tint-100-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-tertiary-tint-100-color{border-color:var(--wp--preset--color--tertiary-tint-100)!important;color:var(--wp--preset--color--tertiary-tint-100)!important}.wp-block-button.is-style-outline .has-tertiary-tint-100-color:hover{background-color:var(--wp--preset--color--tertiary-tint-100)!important;border-color:var(--wp--preset--color--tertiary-tint-100)!important;color:#fff!important}.wp-block-button.is-style-outline .has-tertiary-tint-100-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-quaternary-tint-100-color{border-color:var(--wp--preset--color--quaternary-tint-100)!important;color:var(--wp--preset--color--quaternary-tint-100)!important}.wp-block-button.is-style-outline .has-quaternary-tint-100-color:hover{background-color:var(--wp--preset--color--quaternary-tint-100)!important;border-color:var(--wp--preset--color--quaternary-tint-100)!important;color:#fff!important}.wp-block-button.is-style-outline .has-quaternary-tint-100-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-quinary-tint-100-color{border-color:var(--wp--preset--color--quinary-tint-100)!important;color:var(--wp--preset--color--quinary-tint-100)!important}.wp-block-button.is-style-outline .has-quinary-tint-100-color:hover{background-color:var(--wp--preset--color--quinary-tint-100)!important;border-color:var(--wp--preset--color--quinary-tint-100)!important;color:#fff!important}.wp-block-button.is-style-outline .has-quinary-tint-100-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-base-color{border-color:var(--wp--preset--color--base)!important;color:var(--wp--preset--color--base)!important}.wp-block-button.is-style-outline .has-base-color:hover{background-color:var(--wp--preset--color--base)!important;border-color:var(--wp--preset--color--base)!important;color:#fff!important;color:#000!important}.wp-block-button.is-style-outline .has-base-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-dark-blue-indigo-color{border-color:var(--wp--preset--color--dark-blue-indigo)!important;color:var(--wp--preset--color--dark-blue-indigo)!important}.wp-block-button.is-style-outline .has-dark-blue-indigo-color:hover{background-color:var(--wp--preset--color--dark-blue-indigo)!important;border-color:var(--wp--preset--color--dark-blue-indigo)!important;color:#fff!important}.wp-block-button.is-style-outline .has-dark-blue-indigo-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-article-page-color{border-color:var(--wp--preset--color--article_page)!important;color:var(--wp--preset--color--article_page)!important}.wp-block-button.is-style-outline .has-article-page-color:hover{background-color:var(--wp--preset--color--article_page)!important;border-color:var(--wp--preset--color--article_page)!important;color:#fff!important}.wp-block-button.is-style-outline .has-article-page-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-card-link-color{border-color:var(--wp--preset--color--card-link)!important;color:var(--wp--preset--color--card-link)!important}.wp-block-button.is-style-outline .has-card-link-color:hover{background-color:var(--wp--preset--color--card-link)!important;border-color:var(--wp--preset--color--card-link)!important;color:#fff!important}.wp-block-button.is-style-outline .has-card-link-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-search-item-type-color{border-color:var(--wp--preset--color--search-item-type)!important;color:var(--wp--preset--color--search-item-type)!important}.wp-block-button.is-style-outline .has-search-item-type-color:hover{background-color:var(--wp--preset--color--search-item-type)!important;border-color:var(--wp--preset--color--search-item-type)!important;color:#fff!important}.wp-block-button.is-style-outline .has-search-item-type-color:hover else{color:#fff!important}.wp-block-button.is-style-outline .has-hero-block-background-color{border-color:var(--wp--preset--color--ero-block-background)!important;color:var(--wp--preset--color--ero-block-background)!important}.wp-block-button.is-style-outline .has-hero-block-background-color:hover{background-color:var(--wp--preset--color--ero-block-background)!important;border-color:var(--wp--preset--color--ero-block-background)!important;color:#fff!important}.wp-block-button.is-style-outline .has-hero-block-background-color:hover else{color:#fff!important}.wp-block-button:hover mark{pointer-events:none}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-primary-background-color{border-color:var(--wp--preset--color--primary)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-primary-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--primary)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-secondary-background-color{border-color:var(--wp--preset--color--secondary)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-secondary-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--secondary)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-tertiary-background-color{border-color:var(--wp--preset--color--tertiary)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-tertiary-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--tertiary)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quaternary-background-color{border-color:var(--wp--preset--color--quaternary)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quaternary-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--quaternary)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quinary-background-color{border-color:var(--wp--preset--color--quinary)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quinary-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--quinary)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-black-background-color{border-color:var(--wp--preset--color--black)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-black-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--black)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-primary-tint-500-background-color{border-color:var(--wp--preset--color--primary-tint-500)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-primary-tint-500-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--primary-tint-500)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-secondary-tint-500-background-color{border-color:var(--wp--preset--color--secondary-tint-500)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-secondary-tint-500-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--secondary-tint-500)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-tertiary-tint-500-background-color{border-color:var(--wp--preset--color--tertiary-tint-500)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-tertiary-tint-500-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--tertiary-tint-500)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quaternary-tint-500-background-color{border-color:var(--wp--preset--color--quaternary-tint-500)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quaternary-tint-500-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--quaternary-tint-500)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quinary-tint-500-background-color{border-color:var(--wp--preset--color--quinary-tint-500)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quinary-tint-500-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--quinary-tint-500)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-gray-background-color{border-color:var(--wp--preset--color--gray)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-gray-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--gray)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-primary-tint-100-background-color{border-color:var(--wp--preset--color--primary-tint-100)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-primary-tint-100-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--primary-tint-100)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-secondary-tint-100-background-color{border-color:var(--wp--preset--color--secondary-tint-100)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-secondary-tint-100-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--secondary-tint-100)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-tertiary-tint-100-background-color{border-color:var(--wp--preset--color--tertiary-tint-100)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-tertiary-tint-100-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--tertiary-tint-100)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quaternary-tint-100-background-color{border-color:var(--wp--preset--color--quaternary-tint-100)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quaternary-tint-100-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--quaternary-tint-100)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quinary-tint-100-background-color{border-color:var(--wp--preset--color--quinary-tint-100)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-quinary-tint-100-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--quinary-tint-100)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-base-background-color{border-color:var(--wp--preset--color--base)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-base-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--base)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-dark-blue-indigo-background-color{border-color:var(--wp--preset--color--dark-blue-indigo)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-dark-blue-indigo-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--dark-blue-indigo)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-article-page-background-color{border-color:var(--wp--preset--color--article_page)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-article-page-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--article_page)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-card-link-background-color{border-color:var(--wp--preset--color--card-link)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-card-link-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--card-link)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-search-item-type-background-color{border-color:var(--wp--preset--color--search-item-type)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-search-item-type-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--search-item-type)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-hero-block-background-background-color{border-color:var(--wp--preset--color--ero-block-background)!important}.wp-block-button:not(.is-style-outline) .wp-block-button__link.has-hero-block-background-background-color:hover{background-color:#0000!important;color:var(--wp--preset--color--ero-block-background)!important}
/*# sourceURL=https://leaddev.com/wp-content/themes/pbc/build/blocks/core-button.css */
</style>
<style id="core-block-supports-inline-css">
.wp-elements-1 a:where(:not(.wp-element-button)){color:var(--wp--preset--color--base);}.wp-elements-2 a:where(:not(.wp-element-button)){color:var(--wp--preset--color--primary);}.wp-elements-3 a:where(:not(.wp-element-button)){color:var(--wp--preset--color--primary);}.wp-container-core-group-is-layout-fabcab0e > .alignfull{margin-right:calc(var(--wp--preset--spacing--60) * -1);margin-left:calc(var(--wp--preset--spacing--60) * -1);}.wp-elements-4 a:where(:not(.wp-element-button)){color:var(--wp--preset--color--base);}.wp-container-core-group-is-layout-670bc897{flex-wrap:nowrap;gap:0;}
/*# sourceURL=core-block-supports-inline-css */
</style>
</head>
<body class="wp-singular post-template-default single single-post postid-32933 single-format-standard wp-custom-logo wp-embed-responsive wp-theme-pbc">
<a class="screen-reader-text skip-link" href="#content">Skip to content</a>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NP5N2NF"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div
id="container-global_pre_header-0"
class="advert advert--size-class-header_banner"
data-ad="1"data-sizes="[[970,90],[728,90],[300,50]]"data-sizemap="header_banner"data-ad-unit="global_pre_header"data-collapse="DISABLED"
>
<div id="global_pre_header"></div>
</div>
<header class="header header--active-dark header--has-bottom-menu-bar ">
<div class="header__row header__row--top">
<div class="header__container header__container--logo-menu-grid-layout">
<div class="header__column header__logo logo logo--is-responsive">
<a href="https://leaddev.com" title="Lead Dev Logo" class="logo__link" style="min-height:50px">
<svg id="leaddev_logo" class="logo__header" xmlns="http://www.w3.org/2000/svg">
<g id="leaddev_logo_text" data-name="Logo text" transform="translate(41.569 17.348)">
<path class="logo--header__letter" d="M62.577,24.867V36.523h7.414v2.871H59.057V24.867Z" transform="translate(-59.057 -24.867)" fill="#ff326e"/>
<path class="logo--header__letter" d="M170.8,30.989l-2.431,6.66h-.094l-2.433-6.66h-3.522l3.915,10.2h3.916l3.915-10.2Z" transform="translate(-89.635 -26.718)" fill="#ff326e"/>
<path class="logo--header__letter" d="M83.023,34.934a1.929,1.929,0,0,0-1.991-1.929,2.064,2.064,0,0,0-2.156,1.929Zm3.151,2.779c-.532,2.32-2.364,3.628-5.05,3.628-3.267,0-5.584-1.974-5.584-5.212a5.364,5.364,0,0,1,5.513-5.534,4.85,4.85,0,0,1,5.19,5.1V36.7H78.831a2.245,2.245,0,0,0,2.409,2.135,2.129,2.129,0,0,0,2.246-1.378Z" transform="translate(-63.938 -26.599)" fill="#ff326e"/>
<path class="logo--header__letter" d="M98.352,36.54l-1.692.345c-1.042.207-1.691.459-1.691,1.263,0,.6.463.965,1.182.965a2.2,2.2,0,0,0,2.2-2.364Zm3.289,1.745c0,.527.232.757.648.757a1.925,1.925,0,0,0,.858-.183v1.768a3.506,3.506,0,0,1-2.178.666A2.339,2.339,0,0,1,98.537,39.5a3.611,3.611,0,0,1-3.453,1.792c-2.062,0-3.359-1.034-3.359-2.779,0-1.952,1.482-2.779,3.752-3.215l2.874-.5v-.184a1.364,1.364,0,0,0-1.506-1.538A1.6,1.6,0,0,0,95.2,34.52l-3.1-.23c.347-2.181,1.993-3.7,4.934-3.7,2.688,0,4.61,1.2,4.61,3.974Z" transform="translate(-68.731 -26.598)" fill="#ff326e"/>
<path class="logo--header__letter" d="M116.384,34.121a2.365,2.365,0,0,0-2.317-2.664c-1.6,0-2.34,1.125-2.34,2.779,0,1.676.743,2.8,2.34,2.8,1.367,0,2.317-1.033,2.317-2.686Zm0,3.4a3.525,3.525,0,0,1-3.452,2.09c-3.036,0-4.587-2.366-4.587-5.373,0-2.985,1.551-5.373,4.587-5.373a3.506,3.506,0,0,1,3.452,2.112V24.868h3.36V39.333h-3.36Z" transform="translate(-73.652 -24.867)" fill="#ff326e"/>
<path class="logo--header__letter" d="M132.676,36.577c2.757,0,4.356-1.652,4.356-4.5,0-2.8-1.6-4.454-4.356-4.454h-1.9v8.954Zm-5.421-11.71h5.653c4.8,0,7.762,2.709,7.762,7.234s-2.966,7.232-7.762,7.232h-5.653Z" transform="translate(-79.251 -24.867)" fill="#ff326e"/>
<path class="logo--header__letter" d="M154.85,34.934a1.93,1.93,0,0,0-1.991-1.929,2.064,2.064,0,0,0-2.156,1.929ZM158,37.713c-.532,2.32-2.364,3.628-5.05,3.628-3.267,0-5.584-1.974-5.584-5.212a5.364,5.364,0,0,1,5.513-5.534,4.85,4.85,0,0,1,5.19,5.1V36.7h-7.413a2.245,2.245,0,0,0,2.409,2.135,2.129,2.129,0,0,0,2.246-1.378Z" transform="translate(-85.207 -26.599)" fill="#ff326e"/>
</g>
<g id="symbol">
<path class="logo--header__bottom" data-name="Path 19" d="M0,23.622V56.581H24.941v-8.24H8.314V23.622Z" transform="translate(0 -7.142)" fill="#ff326e"/>
<path class="logo--header__top" data-name="Path 20" d="M0,0V8.24H24.941V41.2h8.314V8.24L24.941,0Z" transform="translate(0 0)" fill="#0a0a46"/>
</g>
</svg>
</a>
</div>
<div class="header__column header__center header__search">
<div class="search-form">
<form class="search-form__form" action="" data-form-action="https://leaddev.com/search/" method="get" id="search-block-form" accept-charset="UTF-8">
<label class="search-form__label" for="s">Search LeadDev.com</label>
<div class="search-form__fields">
<div class="search-form__field search-form__field--search">
<input
type="search" id="s" name="s" value="" maxlength="128"
class="search-form__input"
placeholder="Type here to search"
title="Type here to search"
size="15"
/>
</div>
<div class="search-form__field search-form__field--submit">
<button title="Search" class="search-form__btn js-search-btn" type="submit" id="search-modal">
<svg xmlns="http://www.w3.org/2000/svg" width="12.557" height="12.557" viewBox="0 0 12.557 12.557" class="svg_icon no-transition">
<line x1="4.786" y1="4.786" transform="translate(7.418 7.418)" fill="none" stroke="#000" stroke-width="1"/>
<g class="svg_icon__search__glass_lense" data-name="Ellipse 1" fill="transparent" stroke="#000" stroke-width="1">
<ellipse cx="4.905" cy="4.905" rx="4.905" fill="transparent" ry="4.905" stroke="none"/>
<ellipse cx="4.905" cy="4.905" rx="4.405" ry="4.405" fill="none"/>
</g>
</svg>
<span>Go</span>
</button>
</div>
</div>
</form>
</div>
<button aria-label="close search bar" class="header__close-search js-toggle-body-class" data-toggle-class="show-search-bar" data-toggle-target="body" type="button" data-synced-control="search-bar" aria-controls="search-block-form">
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="16.5" viewBox="0 0 21 16.5" class="svg_icon no-transition">
<line id="Line_82" data-name="Line 82" x1="0.5" y1="0.5" x2="20.5" y2="0.5" fill="none" stroke="#000" stroke-width="1" style="transform: rotate(45deg) translate(3px, 0)"></line>
<line id="Line_84" data-name="Line 84" x1="0.5" y1="15.5" x2="20.5" y2="15.5" fill="none" stroke="#000" stroke-width="1" style="transform: rotate(-45deg) translate(-11px, -2px)"></line>
</svg>
</button>
</div>
<div class="header__column header__actions">
<div class="wp-block-button header__item--hide-on-menu-active">
<a href="/events" class="wp-block-button__link">Upcoming events</a>
</div>
<a aria-label="open search bar" href="/search/" data-toggle-class="show-search-bar" class="header__search-trigger header__item--hide-on-menu-active--desktop js-toggle-body-class" data-toggle-target="body" data-synced-control="search-bar" data-focus="#search-block-form" aria-controls="search-block-form">
<svg xmlns="http://www.w3.org/2000/svg" width="12.557" height="12.557" viewBox="0 0 12.557 12.557" class="svg_icon no-transition">
<line x1="4.786" y1="4.786" transform="translate(7.418 7.418)" fill="none" stroke="#000" stroke-width="1"/>
<g class="svg_icon__search__glass_lense" data-name="Ellipse 1" fill="transparent" stroke="#000" stroke-width="1">
<ellipse cx="4.905" cy="4.905" rx="4.905" fill="transparent" ry="4.905" stroke="none"/>
<ellipse cx="4.905" cy="4.905" rx="4.405" ry="4.405" fill="none"/>
</g>
</svg>
</a>
<nav class="is-style-header-menu wp-block-navigation is-layout-flex wp-block-navigation-is-layout-flex" aria-label="Logged Out"><ul class="wp-block-navigation__container is-style-header-menu wp-block-navigation"><li data-wp-context="{ &quot;submenuOpenedBy&quot;: { &quot;click&quot;: false, &quot;hover&quot;: false, &quot;focus&quot;: false }, &quot;type&quot;: &quot;submenu&quot;, &quot;modal&quot;: null, &quot;previousFocus&quot;: null }" data-wp-interactive="core/navigation" data-wp-on--focusout="actions.handleMenuFocusout" data-wp-on--keydown="actions.handleMenuKeydown" data-wp-watch="callbacks.initMenu" tabindex="-1" class="wp-block-navigation-item has-child open-on-click wp-block-navigation-submenu"><button data-wp-bind--aria-expanded="state.isSubmenuOpen" data-wp-on--click="actions.toggleMenuOnClick" aria-label="Login submenu" class="wp-block-navigation-item__content wp-block-navigation-submenu__toggle"><span style=";font-size: 0; display: flex" class="wp-block-navigation-item__label"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" height="20" width="20" style="width:20px">
<path d="m712.7 277.3c0 5.6-.2 11.2-.6 16.8-.2 2.8-.5 5.5-.8 8.3-.2 1.7.4 5.3 0 .1.1 1.7-.5 3.8-.8 5.4-1.8 11.1-4.5 22.1-8 32.8-1.7 5.1-3.6 10.1-5.5 15-1.7 4.3 1.9-4.1-.1.1-.5 1.2-1.1 2.4-1.6 3.6-1.3 2.8-2.6 5.6-4.1 8.3-4.8 9.4-10.3 18.4-16.4 27-1.3 1.9-2.8 4.9-4.7 6.3 3.5-2.7 1.1-1.4-.1.1-.8 1-1.6 2-2.5 3-3.6 4.4-7.4 8.6-11.4 12.6-3.6 3.8-7.4 7.4-11.3 10.9-2 1.7-3.9 3.5-5.9 5.1-1 .8-2 1.7-3 2.5-.7.5-1.4 1.1-2.1 1.6 2.3-1.8 2.6-2 .9-.7-8.5 6.3-17.2 12.1-26.4 17.1-4.6 2.6-9.3 4.9-14.1 7.2-1.2.6-2.4 1.1-3.6 1.6-4.3 1.9 4.2-1.7-.1.1-2.9 1.2-5.8 2.3-8.7 3.4-10.6 3.8-21.4 6.8-32.4 9-2.7.5-5.4 1-8.1 1.4-1.2.2-2.8.7-4.1.6 4 .3 2.8-.4 1.2-.2-6 .6-12 1.2-18 1.4-11.7.4-23.2-.2-34.8-1.4-4.8-.5 4.6.7-.1 0-1.4-.2-2.7-.4-4.1-.6-2.7-.4-5.4-.9-8-1.5-5.7-1.2-11.4-2.6-17.1-4.2-5.1-1.5-10.2-3.1-15.3-5-2.1-.8-4.2-1.6-6.2-2.4-.4-.2-.8-.3-1.2-.5-2-.8-1.6-.7 1.1.5-1.3 0-3.7-1.6-4.8-2.2-10-4.6-19.6-9.9-28.8-16-2.2-1.4-4.4-2.9-6.5-4.4-1.9-1.3-4.9-2.8-6.3-4.7 2.7 3.5 1.4 1.1-.1-.1-1-.8-2-1.6-3-2.5-2.3-2-4.7-4-6.9-6-7.8-7-15-14.6-21.7-22.6-.8-1-1.7-2-2.5-3-1.2-1.5-3.7-2.8-.1-.1-1.8-1.4-3.3-4.5-4.7-6.3-3.3-4.6-6.4-9.4-9.3-14.3-2.7-4.5-5.3-9.1-7.6-13.9-1.2-2.4-2.3-4.7-3.5-7.1-.6-1.2-1.1-2.4-1.6-3.6-.9-2-.7-1.6.4 1.1-.3-.8-.7-1.6-1-2.5-4-9.9-7.3-20.2-9.8-30.6-1.3-5.3-2.4-10.6-3.2-16-.2-1.4-.4-2.7-.6-4.1-.7-4.8.5 4.7 0-.1-.3-3.2-.7-6.4-.9-9.6-.9-11.6-.8-23.3.1-34.9.2-2.8.5-5.5.8-8.3.5-4.8-.7 4.6 0-.1.2-1.4.4-2.7.6-4.1 1-5.8 2.1-11.6 3.6-17.3 2.6-10.4 6-20.6 10-30.5 1.7-4.3-1.9 4.1.1-.1.5-1.2 1.1-2.4 1.6-3.6 1.1-2.4 2.3-4.8 3.5-7.1 2.6-5.1 5.4-10.1 8.3-15 2.7-4.5 5.6-8.9 8.7-13.2 1.3-1.9 2.8-4.9 4.7-6.3-3.5 2.7-1.1 1.4.1-.1 1.1-1.4 2.2-2.7 3.3-4 6.7-8 14.1-15.5 21.9-22.5 2-1.7 3.9-3.5 5.9-5.1 1-.8 2-1.7 3-2.5 1.5-1.2 2.8-3.7.1-.1 1.4-1.8 4.5-3.3 6.3-4.7 2.5-1.8 5-3.5 7.6-5.2 9.2-6 18.9-11.3 28.9-15.8.8-.4 2.7-1.6 3.6-1.6-.8.3-1.6.7-2.3 1 .8-.3 1.6-.7 2.5-1 2.1-.8 4.1-1.6 6.2-2.4 5.4-2 11-3.8 16.6-5.4 5.2-1.5 10.5-2.7 15.8-3.8 2.7-.5 5.4-1 8-1.5 1.4-.2 2.7-.4 4.1-.6 2.2-.3 1.8-.3-1.2.2l2.7-.3c11.6-1.3 23.2-1.7 34.9-1.2 5.3.2 10.6.7 15.9 1.3 1.8.2 4.1-.4-.5-.1 1.2-.1 2.8.4 4.1.6 3.1.5 6.3 1.1 9.4 1.7 11 2.2 21.8 5.3 32.3 9.2 2.5.9 5 1.9 7.4 2.9 4.3 1.7-4.1-1.9.1.1 1.2.5 2.4 1.1 3.6 1.6 5.2 2.4 10.3 5 15.3 7.8 4.6 2.6 9.1 5.3 13.5 8.2 1.8 1.2 3.6 2.4 5.4 3.7 2.2 1.5 5.8 3.3 7.4 5.4-2.7-3.5-1.4-1.1.1.1 1 .8 2 1.6 3 2.5 2 1.7 4 3.4 5.9 5.1 4.2 3.8 8.3 7.7 12.2 11.8 3.6 3.8 7.1 7.7 10.5 11.7.8 1 1.7 2 2.5 3 1.2 1.5 3.7 2.8.1.1 2.1 1.6 3.9 5.2 5.4 7.4 6 8.6 11.5 17.7 16.2 27.1 1.2 2.4 2.3 4.7 3.5 7.1.6 1.2 1.1 2.4 1.6 3.6 1.9 4.3-1.7-4.2.1.1 2.1 5.4 4.2 10.8 5.9 16.3 3.4 10.7 6.1 21.7 7.8 32.9.2 1.2.7 2.8.6 4.1.4-5.1-.2-1.5 0 .1.3 2.8.6 5.5.8 8.3.1 5.5.3 11.1.4 16.7 0 10.5 9.2 20.5 20 20s20-8.8 20-20c-.2-49-15.1-98.2-43.7-138.2-28.9-40.4-68.7-71-115.3-88.2-46.7-17.2-99.5-18.8-147.3-5.2-46.1 13.1-88.5 40.4-119 77.4-32.1 39.1-51.3 86.3-55.3 136.7-3.9 49.2 8.4 99.8 34 142 24.7 40.7 61.9 74.5 105.5 94.1 46.8 21.1 98.5 27.1 149 17.1 47.2-9.4 91.5-34.1 124.8-68.8 33.4-34.8 56.6-79.9 64-127.7 2-13 3.3-26.1 3.3-39.2 0-10.5-9.2-20.5-20-20-10.9.5-20 8.8-20 20z" class="change-fill-on-hover"></path>
<path d="m841.5 947.4c-8.6 0-17.1 0-25.7 0-22.7 0-45.5 0-68.2 0-32.5 0-65 0-97.5 0-37.9 0-75.7 0-113.6 0-38.8 0-77.5 0-116.3 0-35.3 0-70.6 0-105.8 0-27.4 0-54.7 0-82.1 0-15 0-30 0-45.1 0-1.3 0-2.6 0-3.9 0-.2 0-.5 0-.7 0-.9 0-1.9 0-2.8-.1.2 0-2.7-.1-2.7-.2-.1-.2 5.2 1 1.3.1-1.7-.4-3.5-.8-5.2-1.3-.6-.2-1.3-.6-1.9-.6-2.5-.4 3.3 1.9 1.1.5-1.3-.8-2.7-1.4-4-2.1-1.3-.8-2.5-1.7-3.8-2.5-1.9-1.1 1.6 1 1.5 1.2-.1.1-2.2-1.9-2.4-2.1-1.1-1-2.1-2.2-3.1-3.3-2.4-2.4 1.9 3.2-.4-.6-.8-1.3-1.6-2.5-2.4-3.9-.4-.8-.8-1.6-1.2-2.3-1.5-2.9.5 1.2.5 1.2-.9.1-2-8.1-2.5-9 1.4 2.6.3 3.4.2 1.3 0-.9-.1-1.8-.2-2.8 0-.5 0-1 0-1.5 0-1.1 0-2.1 0-3.2 0-32.4 0-64.8 0-97.3 0-4.5 0-8.9 0-13.4 0-10.1 1.6-20 1.8-30 0 0-.6 4.2-.3 1.9.1-.9.3-1.8.4-2.7.2-1.6.5-3.2.8-4.7.6-3.4 1.2-6.7 2-10 1.4-6.4 3.1-12.7 5-18.9 2-6.4 4.3-12.6 6.8-18.8 1.3-3.3-1.7 3.9.3-.7.6-1.4 1.3-2.8 1.9-4.2 1.4-3 2.9-6 4.4-8.9 6-11.5 13-22.3 20.7-32.8 2.1-2.8-2.4 2.9.5-.6 1-1.2 1.9-2.4 2.9-3.6 2.1-2.5 4.2-5 6.4-7.4 4.4-4.9 9-9.5 13.8-14 4.6-4.3 9.5-8.4 14.4-12.4 2.7-2.2-3 2.2.6-.5 1.2-.9 2.5-1.8 3.7-2.7 2.8-2 5.7-4 8.7-5.9 10.7-7 22-12.9 33.6-18.2 3.2-1.5-3.5 1.4.7-.3 1.4-.6 2.9-1.2 4.3-1.7 3.3-1.3 6.7-2.5 10.1-3.6 6.2-2 12.4-3.8 18.8-5.3s12.9-2.8 19.4-3.8c.7-.1 2-.5 2.7-.4.1 0-4.2.5-1.9.3 1.6-.2 3.2-.4 4.8-.5 3.7-.4 7.4-.7 11.1-.9 7.6-.4 15.3-.3 22.9-.3h84.3 114.5 77.7 5.9c9.9 0 19.7 1.6 29.5 1.8 0 0-4.2-.6-1.9-.3.9.1 1.8.3 2.7.4 1.6.2 3.2.5 4.7.8 3.4.6 6.7 1.2 10 2 6.4 1.4 12.7 3.1 18.9 5 6.4 2 12.6 4.3 18.8 6.8 3.3 1.3-3.9-1.7.7.3 1.4.6 2.8 1.3 4.2 1.9 3 1.4 6 2.9 8.9 4.4 11.5 6 22.3 13 32.8 20.7 2.8 2.1-2.9-2.4.6.5 1.2 1 2.4 1.9 3.6 2.9 2.5 2.1 5 4.2 7.4 6.4 4.9 4.4 9.5 9 14 13.8 4.3 4.6 8.4 9.5 12.4 14.4 2.2 2.7-2.2-3 .5.6.9 1.2 1.8 2.5 2.7 3.7 2 2.8 4 5.7 5.9 8.7 7 10.7 12.9 22 18.2 33.6 1.5 3.2-1.4-3.5.3.7.6 1.4 1.2 2.9 1.7 4.3 1.3 3.3 2.5 6.7 3.6 10.1 2 6.2 3.8 12.4 5.3 18.8s2.8 12.9 3.8 19.4c.1.7.5 2 .4 2.7 0 .1-.5-4.2-.3-1.9.2 1.6.4 3.2.5 4.8.4 3.7.7 7.4.9 11.1.6 11.8.3 23.6.3 35.4 0 30.5.3 61 0 91.5v1.8c0 .7-.4 6.1-.1 2.8s-.5 1.8-.7 2.6c-.1.4-1.3 5.1-1.6 5-.3 0 2-3.7.7-1.8-.3.5-.6 1.2-.9 1.8-.8 1.5-1.7 3-2.6 4.5-.3.5-.8 1-1.1 1.6-1.2 2.2 2.6-2.7.7-1-1.1 1-2 2.3-3.1 3.3-.5.5-1 .9-1.4 1.3-.2.1-.3.3-.5.4-1.3 1.1-1.3 1.1 0 .1.5-1.2 1.3-.9 0 0-.7.5-1.4 1-2.2 1.4-1.3.8-2.6 1.5-4 2.2-3.9 2.1 2.7-.7-.7.3-1.5.4-2.9.9-4.5 1.3-.7.2-1.3.3-2 .4-3.9.9 1.4-.3 1.3-.1.1.4-4.6.3-5.2.3-10.5.1-20.5 9.1-20 20 .5 10.7 8.8 20.2 20 20 36.1-.5 64.8-28.2 67.8-63.9.9-11 .2-22.3.2-33.3 0-30.4.7-60.8-.1-91.2-1.4-57.9-22.9-113.3-60.2-157.4-35.6-42.2-86.5-72.3-140.7-82.9-26.5-5.2-52.8-5-79.6-5-34.3 0-68.7 0-103 0-37.2 0-74.4 0-111.7 0-19.1 0-38.2-.5-57.3.2-57.7 2.1-112.9 24.1-156.6 61.8-41.8 36.1-71.4 87.3-81.4 141.7-6.5 35.1-4.5 71.2-4.5 106.7v49.1c0 4.4 0 8.7.5 13.1 2.1 16.9 9.5 33.2 22.8 44.3 13.4 11.2 29.3 16.9 46.8 16.9h14 61.8 95.1 113.7 119.2 109.7 87.1 49.8 6.5c10.5 0 20.5-9.2 20-20-.4-11-8.7-20.1-19.9-20.1z" class="change-fill-on-hover"></path>
</svg>Login</span></button><span class="wp-block-navigation__submenu-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none" aria-hidden="true" focusable="false"><path d="M1.50002 4L6.00002 8L10.5 4" stroke-width="1.5"></path></svg></span><ul data-wp-on--focus="actions.openMenuOnFocus" class="wp-block-navigation__submenu-container wp-block-navigation-submenu"><li class="wp-block-navigation-item wp-block-navigation-link"><a class="wp-block-navigation-item__content" href="https://leaddev.com/login"><span class="wp-block-navigation-item__label">Login</span></a></li><li class="wp-block-navigation-item wp-block-navigation-link"><a class="wp-block-navigation-item__content" href="/register"><span class="wp-block-navigation-item__label">Register</span></a></li></ul></li></ul></nav><script type="text/javascript">
if (!window.Zephr) window.Zephr = {};
if (!window.Zephr.outcomes) window.Zephr.outcomes = {};
window.Zephr.outcomes["_user-navigation-content-site"] = {
featureLabel: "_User Navigation Content Site",
outcomeId: "transformation/1",
outcomeLabel: "Show Logged Out Menu"
};
</script>
<button aria-label="toggle main menu" id="toggle-main-menu" class="header__nav-toggle js-toggle-body-class" aria-expanded="false" aria-controls="mobile-menu" data-focus="#mobile-menu" data-toggle-target="body" data-toggle-class="js-menu-trigger-main-menu-open" type="button">
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="16.5" viewBox="0 0 21 16.5" class="svg_icon no-transition">
<line id="Line_82" data-name="Line 82" x1="0.5" y1="0.5" x2="20.5" y2="0.5" fill="none" stroke="#000" stroke-width="1"></line>
<line id="Line_83" data-name="Line 83" x1="0.5" y1="7.5" x2="20.5" y2="7.5" fill="none" stroke="#000" stroke-width="1"></line>
<line id="Line_84" data-name="Line 84" x1="0.5" y1="15.5" x2="20.5" y2="15.5" fill="none" stroke="#000" stroke-width="1"></line>
</svg>
</button>
</div>
</div>
</div>
<div class="header__row header__row--menu-container">
<div class="header__container header__container--dropdown header__container--dropdown--two-col">
<div id="mobile-menu" class="header__container--dropdown__headings header__container--dropdown__headings--two-col">
<div class="header__container--dropdown__col header__container--dropdown__col--header header__container--dropdown__col--header1">
<h3 class="header__title">
<button class="js-toggle-class" href="#mobile-menu-1" data-focus="#mobile-menu-1" data-toggle-class="active" data-toggle-target="#mobile-menu-1">Knowledge <svg xmlns="http://www.w3.org/2000/svg" width="20.013" height="17.706" viewBox="0 0 20.013 17.706" class="svg_icon">
<g transform="translate(-112.251 -149.703)">
<g transform="translate(161.091 261.108) rotate(180)">
<path class="svg_icon__part svg_icon__part--stroke" d="M-.318-.37,8.5,8.554" transform="translate(29.5 102.5)" fill="none" stroke="#fff" stroke-width="1"/>
<line class="svg_icon__part svg_icon__part--stroke" x1="8.5" y2="8.446" transform="translate(29.5 94.054)" fill="none" stroke="#fff" stroke-width="1"/>
</g>
<path d="M-6896.091,57.554h-19.658" class="svg_icon__part svg_icon__part--stroke" transform="translate(7028 101)" fill="none" stroke="#fff" stroke-width="1"/>
</g>
</svg></button>
</h3>
</div>
<div id="mobile-menu-1" class="header__container--dropdown__content header__container--dropdown__content--two-col">
<div>
<button aria-label="Close Sub Menu" data-focus="#mobile-menu" data-toggle-class="active" data-toggle-target="#mobile-menu-1" class="header__container--dropdown__backlink js-toggle-class"><svg xmlns="http://www.w3.org/2000/svg" width="20.013" height="17.706" class="svg_icon" viewBox="0 0 20.013 17.706">
<g transform="translate(132.264 167.409) rotate(180)">
<g transform="translate(161.091 261.108) rotate(180)">
<path class="svg_icon__part svg_icon__part--stroke" d="M-.318-.37,8.5,8.554" transform="translate(29.5 102.5)" fill="none" stroke="#fff" stroke-width="1"/>
<line class="svg_icon__part svg_icon__part--stroke" x1="8.5" y2="8.446" transform="translate(29.5 94.054)" fill="none" stroke="#fff" stroke-width="1"/>
</g>
<path class="svg_icon__part svg_icon__part--stroke" data-name="Path 727" d="M-6896.091,57.554h-19.658" transform="translate(7028 101)" fill="none" stroke="#fff" stroke-width="1"/>
</g>
</svg></button>
<div class="header__container--dropdown__col header__container--dropdown__col--content header__container--dropdown__col--mobile-half-width">
<div class="tease tease--no-body">
<div class="tease__header clip-right-corner tease__header--transparent">
<h5 class="tease__header__title">
<a class="" href="https://leaddev.com/newsletter" >
Newsletters
</a>
</h5>
<p>Latest news in your inbox</p>
</div>
</div>
<div class="tease tease--no-body">
<div class="tease__header clip-right-corner tease__header--transparent">
<h5 class="tease__header__title">
<a class="" href="/events#upcoming-webinars" >
Panel discussions
</a>
</h5>
<p>See all our upcoming events</p>
</div>
</div>
<div class="tease tease--no-body">
<div class="tease__header clip-right-corner tease__header--transparent">
<h5 class="tease__header__title">
<a class="" href="https://leaddev.com/videos/" >
Videos
</a>
</h5>
<p>From our archives</p>
</div>
</div>
<div class="tease tease--no-body">
<div class="tease__header clip-right-corner tease__header--transparent">
<h5 class="tease__header__title">
<a class="" href="https://leaddev.com/report/" >
Reports
</a>
</h5>
<p>Unique engineering research</p>
</div>
</div>
<div class="tease tease--no-body">
<div class="tease__header clip-right-corner tease__header--transparent">
<h5 class="tease__header__title">
<a class="" href="https://leaddev.com/for-you" >
For you
</a>
</h5>
<p>Find content specific to your role</p>
</div>
</div>
</div>
<div class="header__container--dropdown__col header__container--dropdown__col--content header__container--dropdown__col--mobile-half-width">
<ul class="menu menu--default" role="navigation" aria-label="">
<li class="menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-16885">
<a class="" href="https://leaddev.com/management/" >
Management
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-14730">
<a class="" href="https://leaddev.com/software-quality/" >
Software quality
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-16882">
<a class="" href="https://leaddev.com/communication/" >
Communication
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-16879">
<a class="" href="https://leaddev.com/culture/" >
Culture
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-16880">
<a class="" href="https://leaddev.com/hiring/" >
Hiring
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-16884">
<a class="" href="https://leaddev.com/leadership/" >
Leadership
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-16877">
<a class="" href="https://leaddev.com/velocity/" >
Velocity
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-16883">
<a class="" href="https://leaddev.com/career-development/" >
Career development
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-16881">
<a class="" href="https://leaddev.com/reporting/" >
Metrics
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-16878">
<a class="" href="https://leaddev.com/technical-direction/" >
Technical direction
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-27945">
<a class="" href="https://leaddev.com/ai/" >
AI
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="header__container--dropdown__col header__container--dropdown__col--header header__container--dropdown__col--header2">
<h3 class="header__title">
<button class="js-toggle-class" href="#mobile-menu-2" data-focus="#mobile-menu-2" data-toggle-class="active" data-toggle-target="#mobile-menu-2">Events <svg xmlns="http://www.w3.org/2000/svg" width="20.013" height="17.706" viewBox="0 0 20.013 17.706" class="svg_icon">
<g transform="translate(-112.251 -149.703)">
<g transform="translate(161.091 261.108) rotate(180)">
<path class="svg_icon__part svg_icon__part--stroke" d="M-.318-.37,8.5,8.554" transform="translate(29.5 102.5)" fill="none" stroke="#fff" stroke-width="1"/>
<line class="svg_icon__part svg_icon__part--stroke" x1="8.5" y2="8.446" transform="translate(29.5 94.054)" fill="none" stroke="#fff" stroke-width="1"/>
</g>
<path d="M-6896.091,57.554h-19.658" class="svg_icon__part svg_icon__part--stroke" transform="translate(7028 101)" fill="none" stroke="#fff" stroke-width="1"/>
</g>
</svg></button>
</h3>
</div>
<div id="mobile-menu-2" class="header__container--dropdown__content header__container--dropdown__content--two-col">
<div>
<button aria-label="Close Sub Menu" data-focus="#mobile-menu" class="js-toggle-class header__container--dropdown__backlink" data-toggle-class="active" data-toggle-target="#mobile-menu-2"><svg xmlns="http://www.w3.org/2000/svg" width="20.013" height="17.706" class="svg_icon" viewBox="0 0 20.013 17.706">
<g transform="translate(132.264 167.409) rotate(180)">
<g transform="translate(161.091 261.108) rotate(180)">
<path class="svg_icon__part svg_icon__part--stroke" d="M-.318-.37,8.5,8.554" transform="translate(29.5 102.5)" fill="none" stroke="#fff" stroke-width="1"/>
<line class="svg_icon__part svg_icon__part--stroke" x1="8.5" y2="8.446" transform="translate(29.5 94.054)" fill="none" stroke="#fff" stroke-width="1"/>
</g>
<path class="svg_icon__part svg_icon__part--stroke" data-name="Path 727" d="M-6896.091,57.554h-19.658" transform="translate(7028 101)" fill="none" stroke="#fff" stroke-width="1"/>
</g>
</svg></button>
<div class="header__container--dropdown__col header__container--dropdown__col--content header__container--dropdown__col--mobile-half-width">
<div class="tease ">
<div class="tease__header clip-right-corner tease__header--light">
<h5 class="tease__header__title">
London
</h5>
<p>June 28–29, 2027</p>
</div>
<ul class="menu menu--tease" role="rowgroup">
<li>
<a href="/leaddev-london">
LDX3
</a>
</li>
</ul>
</div>
<div class="tease ">
<div class="tease__header clip-right-corner tease__header--light">
<h5 class="tease__header__title">
Meetups
</h5>
</div>
<ul class="menu menu--tease" role="rowgroup">
<li>
<a href="https://leaddev.com/meetups">
Browse our upcoming Meetups
</a>
</li>
</ul>
</div>
</div>
<div class="header__container--dropdown__col header__container--dropdown__col--content header__container--dropdown__col--mobile-half-width">
<div class="tease ">
<div class="tease__header clip-right-corner tease__header--light">
<h5 class="tease__header__title">
New York
</h5>
<p>September 15–16, 2026</p>
</div>
<ul class="menu menu--tease" role="rowgroup">
<li>
<a href="/leaddev-new-york/">
LDX3
</a>
</li>
</ul>
</div>
<div class="tease ">
<div class="tease__header clip-right-corner tease__header--light">
<h5 class="tease__header__title">
Berlin
</h5>
<p>November 9–10, 2026</p>
</div>
<ul class="menu menu--tease" role="rowgroup">
<li>
<a href="/leaddev-berlin/">
LeadDev
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="header__row header__row--main-menu header__item--hide-on-menu-active">
<div class="header__container header__container--logo-menu-grid-layout">
<div class="header__column header__column--main-menu">
<nav>
<ul class="header__main-menu header__main-menu--space-items" role="navigation" aria-label="main site navigation links">
<li class="header__main-menu__item header__main-menu__item--small menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-14745 ">
<a
class="header__main-menu__link" href="https://leaddev.com/management/"
>Management</a>
</li>
<li class="header__main-menu__item header__main-menu__item--small menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-14742 ">
<a
class="header__main-menu__link" href="https://leaddev.com/software-quality/"
>Software quality</a>
</li>
<li class="header__main-menu__item header__main-menu__item--small menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-14748 ">
<a
class="header__main-menu__link" href="https://leaddev.com/communication/"
>Communication</a>
</li>
<li class="header__main-menu__item header__main-menu__item--small menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-14743 ">
<a
class="header__main-menu__link" href="https://leaddev.com/culture/"
>Culture</a>
</li>
<li class="header__main-menu__item header__main-menu__item--small menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-15080 ">
<a
class="header__main-menu__link" href="https://leaddev.com/hiring/"
>Hiring</a>
</li>
<li class="header__main-menu__item header__main-menu__item--small menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-15235 ">
<a
class="header__main-menu__link" href="https://leaddev.com/leadership/"
>Leadership</a>
</li>
<li class="header__main-menu__item header__main-menu__item--small menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-14740 ">
<a
class="header__main-menu__link" href="https://leaddev.com/velocity/"
>Velocity</a>
</li>
<li class="header__main-menu__item header__main-menu__item--small menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-15236 ">
<a
class="header__main-menu__link" href="https://leaddev.com/career-development/"
>Career development</a>
</li>
<li class="header__main-menu__item header__main-menu__item--small menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-14747 ">
<a
class="header__main-menu__link" href="https://leaddev.com/reporting/"
>Metrics</a>
</li>
<li class="header__main-menu__item header__main-menu__item--small menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-14741 ">
<a
class="header__main-menu__link" href="https://leaddev.com/technical-direction/"
>Technical direction</a>
</li>
<li class="header__main-menu__item header__main-menu__item--small menu-item menu-item-type-post_type menu-item-object-category_pt menu-item-27944 ">
<a
class="header__main-menu__link" href="https://leaddev.com/ai/"
>AI</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<main id="content" class="is-layout-constrained has-global-padding">
<div
class="hero alignfull"
style="--hero-background-color:var(--wp--preset--color--hero-block-background); --hero-text-color:var(--wp--preset--color--primary);"
>
<div class="hero__content">
<div class="hero__body">
<div class="hero__breadcrumbs">
<nav class="breadcrumbs" id="breadcrumbs"><span><span><a href="https://leaddev.com/reporting">Metrics</a></span> <span class="breadcrumb_last" aria-current="page">DORA metrics are lying to you and AI is making it worse</span></span></nav>
</div>
<div>
<h1 class="heading hero__title has-primary-color has-x-large-font-size"
style="--heading--font-size:var(--wp--preset--font-size--x-large); --heading--line-height:var(--pbc--line-height--x-large);"
>
DORA metrics are lying to you and AI is making it worse
</h1>
</div>
<div class="hero__excerpt">
DORA metrics were fine. Then AI showed up.
</div>
<div class="hero__author">
<div class="article-contributors">
<h3 class="article-contributors__label">
By
<a href="https://leaddev.com/community/paul-laposta">Paul LaPosta</a>
</h3>
</div>
</div>
</div>
<div class="hero__image">
<a href="https://leaddev.com/reporting/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse" > <img
src="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_768/next/2024/08/Reporting3-1.png"
decoding="sync"
width="768"
height="512"
alt="article hero &#8211; Reporting and metrics"
srcset="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_768/next/2024/08/Reporting3-1.png 768w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_300,w_300/next/2024/08/Reporting3-1.png 300w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_1024,w_1024/next/2024/08/Reporting3-1.png 1024w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_580/next/2024/08/Reporting3-1.png 580w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_275/next/2024/08/Reporting3-1.png 275w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_100,w_100/next/2024/08/Reporting3-1.png 100w"
sizes="(max-width: 768px) 50vw,
(max-width: 1260px) 50vw,
600px"
loading="eager"
/>
</a>
</div>
</div>
</div>
<div
id="container-GLOBAL_PRE_CONTENT-1"
class="advert advert--size-class-header_banner"
data-ad="1"data-sizes="[[970,250],[970,90],[728,90],[320,250],[320,200],[300,250],[300,200],[320,100],[300,100],[320,50],[300,50]]"data-sizemap="header_banner"data-ad-unit="GLOBAL_PRE_CONTENT"data-collapse="BEFORE_FETCH"
>
<div id="GLOBAL_PRE_CONTENT"></div>
</div>
<div class="alignfull is-layout-constrained">
<div class="article__body wrap wrap--horizontal-mobile-padding alignwide">
<div class="article__body__container">
<div class="article__body__col article__body__col--main">
<div class="article__publish-date article__publish-date--mobile">May 06, 2026</div>
<div class="post-32933 post type-post status-publish format-standard has-post-thumbnail hentry category-ai category-reporting tax_format-article">
<div class="wp-block-group has-quaternary-background-color has-background has-global-padding is-layout-constrained wp-block-group-is-layout-constrained" style="margin-bottom:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)">
<p>You have <strong>1</strong> article left to read this month before you need to <a href="/register">register</a> a free LeadDev.com account.</p>
</div>
<p class="wp-block-yoast-seo-estimated-reading-time yoast-reading-time__wrapper"><span class="yoast-reading-time__icon"><svg aria-hidden="true" focusable="false" data-icon="clock" width="20" height="20" fill="none" stroke="currentColor" style="display:inline-block;vertical-align:-0.1em" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg></span><span class="yoast-reading-time__spacer" style="display:inline-block;width:1em"></span><span class="yoast-reading-time__spacer" style="width:1em"></span><span class="yoast-reading-time__descriptive-text">Estimated reading time: </span><span class="yoast-reading-time__reading-time">8</span><span class="yoast-reading-time__time-unit"> minutes</span></p>
<p class="wp-block-paragraph"><strong>Key takeaways:</strong></p>
<ul class="wp-block-list">
<li><strong>DORA metrics</strong> can improve while your systems become less understood. Faster delivery creates false confidence when AI is generating code nobody fully comprehends.</li>
<li>The blind spot isn’t <strong>delivery</strong>, its <strong>legibility</strong>: DORA measures work flowing through the pipe, not whether anyone can explain what’s in it.</li>
<li><strong>Stop making DORA carry work it wasn&#8217;t built for!</strong></li>
</ul>
<hr class="wp-block-separator has-alpha-channel-opacity" />
<p class="is-style-standfirst has-large-font-size wp-block-paragraph">For over a decade, <a href="https://leaddev.com/reporting/are-dora-metrics-right-your-team" id="https://leaddev.com/reporting/are-dora-metrics-right-your-team" target="_blank" rel="noreferrer noopener">DevOps Research and Assessment (DORA)&nbsp; metrics </a>have been the closest thing software engineering has to a universal language for measuring delivery performance.</p>
<p class="wp-block-paragraph">Deployment frequency, lead time for changes, change failure rate, and mean time to recovery – four numbers that could tell you, with reasonable confidence, whether a team was shipping well or struggling. <a href="https://leaddev.com/ai/how-ai-will-shape-engineering-in-2026" id="https://leaddev.com/ai/how-ai-will-shape-engineering-in-2026" target="_blank" rel="noreferrer noopener">Then AI arrived</a>, and the numbers stopped making sense.</p>
<p class="wp-block-paragraph">In retrospect, I saw this problem arise before it ever reached a critical system. A junior engineer leaned heavily on <a href="https://leaddev.com/technical-direction/ai-made-platform-engineering-strategic-again" id="32613" target="_blank" rel="noreferrer noopener">AI</a>. Instead of reaching out to senior team members for mentorship, they would go off on their own, prompt an AI assistant, and copy that output into tickets. Moving forward with work that was often wrong, shallow, or incomplete.</p>
<p class="wp-block-paragraph">They did not have enough depth to evaluate what the system was giving them, and they were too afraid of looking inexperienced to slow down and ask better questions. The work appeared active and responsive, so the problem went largely unaddressed until a critical project was underway.</p>
<p class="wp-block-paragraph">Then the gap showed itself all at once. There had been visible throughput. There had not been real comprehension. Another side effect was a burden on the senior team members who were reviewing the merge requests (MR) and pushing back. They are doing prompt refining by proxy.</p>
<div class="offset-content offset-content--do-offset offset-content--right wp-block-pbc-offset">
<div class="wp-block-group alignfull elementor-spacer has-base-color has-base-background-color has-text-color has-background has-link-color wp-elements-1 has-global-padding is-layout-constrained wp-container-core-group-is-layout-fabcab0e wp-block-group-is-layout-constrained" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60)">
<h2 class="wp-block-heading has-primary-color has-text-color has-link-color has-x-large-font-size wp-elements-2" id="h-your-inbox-upgraded" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">Your inbox, upgraded.</h2>
<p class="has-primary-color has-text-color has-link-color has-large-font-size wp-elements-3 wp-block-paragraph" style="margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">Receive weekly engineering insights to level up your leadership approach.</p>
<div class='gf_browser_chrome gform_wrapper gform-theme gform-theme--foundation gform-theme--framework gform-theme--orbital plausible-event-name=Sidebar+newsletter+signup_wrapper' data-form-theme='orbital' data-form-index='0' id='gform_wrapper_44' ><style>#gform_wrapper_44[data-form-index="0"].gform-theme,[data-parent-form="44_0"]{--gf-color-primary: #DDD8FF;--gf-color-primary-rgb: 221, 216, 255;--gf-color-primary-contrast: #0A0A46;--gf-color-primary-contrast-rgb: 10, 10, 70;--gf-color-primary-darker: #ABA6CD;--gf-color-primary-lighter: #FFFFFF;--gf-color-secondary: #fff;--gf-color-secondary-rgb: 255, 255, 255;--gf-color-secondary-contrast: #585e6a;--gf-color-secondary-contrast-rgb: 88, 94, 106;--gf-color-secondary-darker: #F5F5F5;--gf-color-secondary-lighter: #FFFFFF;--gf-color-out-ctrl-light: rgba(255, 255, 255, 0.1);--gf-color-out-ctrl-light-rgb: 255, 255, 255;--gf-color-out-ctrl-light-darker: rgba(194, 194, 209, 0.35);--gf-color-out-ctrl-light-lighter: #F5F5F5;--gf-color-out-ctrl-dark: #585e6a;--gf-color-out-ctrl-dark-rgb: 88, 94, 106;--gf-color-out-ctrl-dark-darker: #585e6a;--gf-color-out-ctrl-dark-lighter: rgba(88, 94, 106, 0.65);--gf-color-in-ctrl: #fff;--gf-color-in-ctrl-rgb: 255, 255, 255;--gf-color-in-ctrl-contrast: #585e6a;--gf-color-in-ctrl-contrast-rgb: 88, 94, 106;--gf-color-in-ctrl-darker: #F5F5F5;--gf-color-in-ctrl-lighter: #FFFFFF;--gf-color-in-ctrl-primary: #7864FF;--gf-color-in-ctrl-primary-rgb: 120, 100, 255;--gf-color-in-ctrl-primary-contrast: #112337;--gf-color-in-ctrl-primary-contrast-rgb: 17, 35, 55;--gf-color-in-ctrl-primary-darker: #4632CD;--gf-color-in-ctrl-primary-lighter: #AA96FF;--gf-color-in-ctrl-light: rgba(255, 255, 255, 0.1);--gf-color-in-ctrl-light-rgb: 255, 255, 255;--gf-color-in-ctrl-light-darker: rgba(194, 194, 209, 0.35);--gf-color-in-ctrl-light-lighter: #F5F5F5;--gf-color-in-ctrl-dark: #585e6a;--gf-color-in-ctrl-dark-rgb: 88, 94, 106;--gf-color-in-ctrl-dark-darker: #585e6a;--gf-color-in-ctrl-dark-lighter: rgba(88, 94, 106, 0.65);--gf-radius: px;--gf-font-size-secondary: 20px;--gf-font-size-tertiary: 20px;--gf-icon-ctrl-number: url("data:image/svg+xml,%3Csvg width='8' height='14' viewBox='0 0 8 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 0C4.26522 5.96046e-08 4.51957 0.105357 4.70711 0.292893L7.70711 3.29289C8.09763 3.68342 8.09763 4.31658 7.70711 4.70711C7.31658 5.09763 6.68342 5.09763 6.29289 4.70711L4 2.41421L1.70711 4.70711C1.31658 5.09763 0.683417 5.09763 0.292893 4.70711C-0.0976311 4.31658 -0.097631 3.68342 0.292893 3.29289L3.29289 0.292893C3.48043 0.105357 3.73478 0 4 0ZM0.292893 9.29289C0.683417 8.90237 1.31658 8.90237 1.70711 9.29289L4 11.5858L6.29289 9.29289C6.68342 8.90237 7.31658 8.90237 7.70711 9.29289C8.09763 9.68342 8.09763 10.3166 7.70711 10.7071L4.70711 13.7071C4.31658 14.0976 3.68342 14.0976 3.29289 13.7071L0.292893 10.7071C-0.0976311 10.3166 -0.0976311 9.68342 0.292893 9.29289Z' fill='rgba(88, 94, 106, 0.65)'/%3E%3C/svg%3E");--gf-icon-ctrl-select: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.292893 0.292893C0.683417 -0.097631 1.31658 -0.097631 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976311 9.31658 -0.0976311 9.70711 0.292893C10.0976 0.683417 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292893Z' fill='rgba(88, 94, 106, 0.65)'/%3E%3C/svg%3E");--gf-icon-ctrl-search: url("data:image/svg+xml,%3Csvg width='640' height='640' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M256 128c-70.692 0-128 57.308-128 128 0 70.691 57.308 128 128 128 70.691 0 128-57.309 128-128 0-70.692-57.309-128-128-128zM64 256c0-106.039 85.961-192 192-192s192 85.961 192 192c0 41.466-13.146 79.863-35.498 111.248l154.125 154.125c12.496 12.496 12.496 32.758 0 45.254s-32.758 12.496-45.254 0L367.248 412.502C335.862 434.854 297.467 448 256 448c-106.039 0-192-85.962-192-192z' fill='rgba(88, 94, 106, 0.65)'/%3E%3C/svg%3E");--gf-label-space-y-secondary: var(--gf-label-space-y-lg-secondary);--gf-ctrl-border-color: #C2C2D1;--gf-ctrl-size: var(--gf-ctrl-size-lg);--gf-ctrl-label-color-primary: #fff;--gf-ctrl-label-color-secondary: #fff;--gf-ctrl-choice-size: var(--gf-ctrl-choice-size-lg);--gf-ctrl-checkbox-check-size: var(--gf-ctrl-checkbox-check-size-lg);--gf-ctrl-radio-check-size: var(--gf-ctrl-radio-check-size-lg);--gf-ctrl-btn-font-size: var(--gf-ctrl-btn-font-size-lg);--gf-ctrl-btn-padding-x: var(--gf-ctrl-btn-padding-x-lg);--gf-ctrl-btn-size: var(--gf-ctrl-btn-size-lg);--gf-ctrl-btn-border-color-secondary: #C2C2D1;--gf-ctrl-file-btn-bg-color-hover: #EBEBEB;--gf-field-img-choice-size: var(--gf-field-img-choice-size-md);--gf-field-img-choice-card-space: var(--gf-field-img-choice-card-space-md);--gf-field-img-choice-check-ind-size: var(--gf-field-img-choice-check-ind-size-md);--gf-field-img-choice-check-ind-icon-size: var(--gf-field-img-choice-check-ind-icon-size-md);--gf-field-pg-steps-number-color: rgba(255, 255, 255, 0.8);}</style><div id='gf_44' class='gform_anchor' tabindex='-1'></div><form method='post' enctype='multipart/form-data' target='gform_ajax_frame_44' id='gform_44' class='plausible-event-name=Sidebar+newsletter+signup' action='/reporting/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse#gf_44' data-formid='44' novalidate>
<div class='gform-body gform_body'><div id='gform_fields_44' class='gform_fields top_label form_sublabel_below description_below validation_below'><div id="field_44_2" class="gfield gfield--type-honeypot gform_validation_container field_sublabel_below gfield--has-description field_description_below field_validation_below gfield_visibility_visible" ><label class='gfield_label gform-field-label' for='input_44_2'>Phone</label><div class='ginput_container'><input name='input_2' id='input_44_2' type='text' value='' autocomplete='new-password'/></div><div class='gfield_description' id='gfield_description_44_2'>This field is for validation purposes and should be left unchanged.</div></div><div id="field_44_1" class="gfield gfield--type-email gfield--input-type-email gfield--width-full gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible" ><label class='gfield_label gform-field-label screen-reader-text' for='input_44_1'>Email address<span class="gfield_required"><span class="gfield_required gfield_required_text">(Required)</span></span></label><div class='ginput_container ginput_container_email'>
<input name='input_1' id='input_44_1' type='email' value='' class='large' placeholder='Email address' aria-required="true" aria-invalid="false" />
</div></div><div id="field_submit" class="gfield gfield--type-submit gfield--width-full field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible" data-field-class="gform_editor_submit_container" data-field-position="inline" ><input type='submit' id='gform_submit_button_44' class='gform-button gform-button--white button' onclick='gform.submission.handleButtonClick(this);' data-submission-type='submit' value='Submit' /></div></div></div>
<div class='gform-footer gform_footer top_label'> <input type='hidden' name='gform_ajax' value='form_id=44&amp;title=&amp;description=&amp;tabindex=0&amp;theme=orbital&amp;styles={&quot;inputSize&quot;:&quot;lg&quot;,&quot;inputBorderRadius&quot;:&quot;&quot;,&quot;inputBorderColor&quot;:&quot;#C2C2D1&quot;,&quot;inputColor&quot;:&quot;#585e6a&quot;,&quot;inputPrimaryColor&quot;:&quot;#7864FF&quot;,&quot;labelFontSize&quot;:&quot;20&quot;,&quot;labelColor&quot;:&quot;#fff&quot;,&quot;descriptionFontSize&quot;:&quot;20&quot;,&quot;buttonPrimaryBackgroundColor&quot;:&quot;#DDD8FF&quot;,&quot;buttonPrimaryColor&quot;:&quot;#0A0A46&quot;}&amp;hash=6cca44bf18d6f3d83a96d64a0db04418' />
<input type='hidden' class='gform_hidden' name='gform_submission_method' data-js='gform_submission_method_44' value='iframe' />
<input type='hidden' class='gform_hidden' name='gform_theme' data-js='gform_theme_44' id='gform_theme_44' value='orbital' />
<input type='hidden' class='gform_hidden' name='gform_style_settings' data-js='gform_style_settings_44' id='gform_style_settings_44' value='{&quot;inputSize&quot;:&quot;lg&quot;,&quot;inputBorderRadius&quot;:&quot;&quot;,&quot;inputBorderColor&quot;:&quot;#C2C2D1&quot;,&quot;inputColor&quot;:&quot;#585e6a&quot;,&quot;inputPrimaryColor&quot;:&quot;#7864FF&quot;,&quot;labelFontSize&quot;:&quot;20&quot;,&quot;labelColor&quot;:&quot;#fff&quot;,&quot;descriptionFontSize&quot;:&quot;20&quot;,&quot;buttonPrimaryBackgroundColor&quot;:&quot;#DDD8FF&quot;,&quot;buttonPrimaryColor&quot;:&quot;#0A0A46&quot;}' />
<input type='hidden' class='gform_hidden' name='is_submit_44' value='1' />
<input type='hidden' class='gform_hidden' name='gform_submit' value='44' />
<input type='hidden' class='gform_hidden' name='gform_currency' data-currency='USD' value='m0ORa52p3QqzaXhUAI3oocgb4NaHjgT92ONp9PPcAAkSYzgTUeq9OELKr0d7dGwMZwzDxjoO8l4/MY7LuY2h5PaCf/Ure0NIS5KKA7PBwA1GZWU=' />
<input type='hidden' class='gform_hidden' name='gform_unique_id' value='' />
<input type='hidden' class='gform_hidden' name='state_44' value='WyJbXSIsIjM4ZmM3YTEzN2E2NTU1YjQ3OTgzN2M4YzkxNDI5ZDM3Il0=' />
<input type='hidden' autocomplete='off' class='gform_hidden' name='gform_target_page_number_44' id='gform_target_page_number_44' value='0' />
<input type='hidden' autocomplete='off' class='gform_hidden' name='gform_source_page_number_44' id='gform_source_page_number_44' value='1' />
<input type='hidden' name='gform_field_values' value='' />
</div>
</form>
</div>
<iframe style='display:none;width:0px;height:0px;' src='about:blank' name='gform_ajax_frame_44' id='gform_ajax_frame_44' title='This iframe contains the logic required to handle Ajax powered Gravity Forms.'></iframe>
<script>
gform.initializeOnLoaded( function() {gformInitSpinner( 44, 'https://leaddev.com/wp-content/plugins/gravityforms/images/spinner.svg', false );jQuery('#gform_ajax_frame_44').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_44');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_44').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){jQuery('#gform_wrapper_44').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_44').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_44').removeClass('gform_validation_error');}setTimeout( function() { /* delay the scroll by 50 milliseconds to fix a bug in chrome */ jQuery(document).scrollTop(jQuery('#gform_wrapper_44').offset().top - mt); }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_44').val();gformInitSpinner( 44, 'https://leaddev.com/wp-content/plugins/gravityforms/images/spinner.svg', false );jQuery(document).trigger('gform_page_loaded', [44, current_page]);window['gf_submitting_44'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}jQuery('#gform_wrapper_44').replaceWith(confirmation_content);jQuery(document).scrollTop(jQuery('#gf_44').offset().top - mt);jQuery(document).trigger('gform_confirmation_loaded', [44]);window['gf_submitting_44'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_44').text());}else{jQuery('#gform_44').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger("gform_pre_post_render", [{ formId: "44", currentPage: "current_page", abort: function() { this.preventDefault(); } }]); if (event && event.defaultPrevented) { return; } const gformWrapperDiv = document.getElementById( "gform_wrapper_44" ); if ( gformWrapperDiv ) { const visibilitySpan = document.createElement( "span" ); visibilitySpan.id = "gform_visibility_test_44"; gformWrapperDiv.insertAdjacentElement( "afterend", visibilitySpan ); } const visibilityTestDiv = document.getElementById( "gform_visibility_test_44" ); let postRenderFired = false; function triggerPostRender() { if ( postRenderFired ) { return; } postRenderFired = true; gform.core.triggerPostRenderEvents( 44, current_page ); if ( visibilityTestDiv ) { visibilityTestDiv.parentNode.removeChild( visibilityTestDiv ); } } function debounce( func, wait, immediate ) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if ( !immediate ) func.apply( context, args ); }; var callNow = immediate && !timeout; clearTimeout( timeout ); timeout = setTimeout( later, wait ); if ( callNow ) func.apply( context, args ); }; } const debouncedTriggerPostRender = debounce( function() { triggerPostRender(); }, 200 ); if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) { const observer = new MutationObserver( ( mutations ) => { mutations.forEach( ( mutation ) => { if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) { debouncedTriggerPostRender(); observer.disconnect(); } }); }); observer.observe( document.body, { attributes: true, childList: false, subtree: true, attributeFilter: [ 'style', 'class' ], }); } else { triggerPostRender(); } } );} );
</script>
</div>
</div>
<h2 class="wp-block-heading" id="h-dora-metrics-in-the-ai-era">DORA metrics in the AI era</h2>
<p class="wp-block-paragraph">At the organizational scale, <a href="https://dora.dev/guides/dora-metrics/" id="https://dora.dev/guides/dora-metrics/" target="_blank" rel="noreferrer noopener">DORA metrics</a> conceptually show the same failure mode. They effectively reflect the flow of work through a visible delivery pipe. They don’t capture whether teams possess a working comprehension of the systems impacted by those changes.</p>
<p class="wp-block-paragraph">DORA metrics alone can produce a false sense of system health and engineering excellence, measuring delivery efficiency without accounting for system understanding. AI didn’t force a new way to fail. However, it shines a light on something that has always existed.</p>
<p class="wp-block-paragraph">This legibility gap matters most around your critical systems. These are the systems your business and customers depend on. They are the ones that land you in front of regulators. Illegibility in your critical systems poses a risk of harming clients and your business.</p>
<p class="wp-block-paragraph">Risk is now compounding due to changes outside your control path, as measured by DORA. It’s happening on vendor platforms, identity providers (IdPs), <a href="https://leaddev.com/technical-direction/how-to-prepare-for-ai-agents" id="29355" target="_blank" rel="noreferrer noopener">AI agents</a> with delegated authority, and the list keeps growing every day.</p>
<p class="wp-block-paragraph">Change is happening outside of the traditional <a href="https://leaddev.com/career-development/using-experiments-bring-security-your-software-development-life-cycle" id="9144" target="_blank" rel="noreferrer noopener">software development life cycle (SDLC)</a>. Some teams are using agents for code reviews. Do we know anyone who isn&#8217;t using one for coding? Some do it for both and just focus on better prompting.</p>
<p class="wp-block-paragraph">The result is not confusion. It is false confidence. DORA metrics can improve while understanding diminishes and operational risk expands. Your org looks healthy, but your systems are illegible. You can roll back, but you can’t diagnose problems.</p>
<p class="wp-block-paragraph">Applications, services, and systems become harder to explain. Every code and config change, including a client config, now has increased complexity and risk. Your dashboards show faster delivery and an acceptable change failure rate, while the system becomes more dependent on hidden changes, fragile ownership chains, and condensed knowledge.&nbsp;</p>
<p class="wp-block-paragraph">As leaders, we need to start with some basic questions. Who is defining what good DORA metrics look like? Who bears the cost when the metrics improve for the wrong reasons? Where is the blast radius these metrics cover?</p>
<p class="wp-block-paragraph">These questions put the dashboards into perspective and will support an org committed to excellence over theater.</p>
<div class="offset-content offset-content--do-offset offset-content--right wp-block-pbc-offset">
<div class="offset-content offset-content--do-offset offset-content--right wp-block-pbc-offset">
<h2 class="wp-block-heading" id="h-more-like-this">More like this</h2>
<div class="wp-block-pbc-related-content is-layout-flow wp-block-pbc-related-content-is-layout-flow"><div class="wp-block-post post-32617 post type-post status-publish format-standard has-post-thumbnail hentry category-ai category-software-quality tax_format-article">
<div class="ld-card ld-card--has-time wp-block-pbc-card" data-filter-id="32617">
<h3 class="ld-card__title wp-block-pbc-card-title"><a href="https://leaddev.com/ai/as-ai-helps-us-write-more-code-whos-catching-the-bugs" target="" class="ld-card__title-link">Use of AI has us creating more code than we can review</a></h3>
<ul class="ld-card__contributors">
<li class='ld-card__contributors-item'>
<div class="ld-card__contributor contributor-credit">
<div class="contributor-credit__details">
<div class="contributor-credit__details--primary">
<a class="ld-card__contributors__item__name contributor-credit__name" href="https://leaddev.com/community/chantal-kapani">
Chantal Kapani </a>
</div>
<div class="contributor-credit__details contributor-credit__details--secondary">
</div>
</div>
</div>
</li>
</ul>
</div>
</div><div class="wp-block-post post-32613 post type-post status-publish format-standard has-post-thumbnail hentry category-ai category-technical-direction tax_format-article audience-cto audience-engineering-manager">
<div class="ld-card ld-card--has-time wp-block-pbc-card" data-filter-id="32613">
<h3 class="ld-card__title wp-block-pbc-card-title"><a href="https://leaddev.com/technical-direction/ai-made-platform-engineering-strategic-again" target="" class="ld-card__title-link">AI made platform engineering strategic again</a></h3>
<ul class="ld-card__contributors">
<li class='ld-card__contributors-item'>
<div class="ld-card__contributor contributor-credit">
<div class="contributor-credit__details">
<div class="contributor-credit__details--primary">
<a class="ld-card__contributors__item__name contributor-credit__name" href="https://leaddev.com/community/robert-kimani">
Robert Kimani </a>
</div>
<div class="contributor-credit__details contributor-credit__details--secondary">
</div>
</div>
</div>
</li>
</ul>
</div>
</div></div>
</div>
</div>
<h2 class="wp-block-heading" id="h-what-are-dora-s-blind-spots">What are DORA’s blind spots?</h2>
<p class="wp-block-paragraph">DORA grants visibility into change when ownership is traceable, and the surface area for change is known. When a failure’s blast radius extends past the understood consequence boundary, you can no longer rely on the <a href="https://leaddev.com/reporting/focus-improvement-metrics-that-actually-matter" id="https://leaddev.com/reporting/focus-improvement-metrics-that-actually-matter" target="_blank" rel="noreferrer noopener">metrics</a> alone for governance.</p>
<p class="wp-block-paragraph">Critical systems today may depend on third-party IdPs, multiple <a href="https://leaddev.com/technical-direction/whatever-happened-big-data" id="9280" target="_blank" rel="noreferrer noopener">data</a> flows, a workflow tool, and an AI-driven support or triage layer that sits between the team and real customer impact. In these scenarios, changes are happening in code, vendor consoles, identity rules, etc. Some happen through AI agent glue, with performative delegated authority. No one really wants to admit it is there and is load-bearing.</p>
<p class="wp-block-paragraph">DORA metrics are incomplete in these situations. On its own, this isn’t the problem. However, pretending they’re giving you the whole story is.</p>
<p class="wp-block-paragraph">Deployment frequency can rise, while the change failure rate stays flat, even as a vendor rule change quietly alters who clears the authentication layer. By the time the issue appears in the app tier, the measured service is the only place where the consequence becomes visible.</p>
<p class="wp-block-paragraph">Mean time to resolution (MTTR) also looks excellent when detection is fast, and rollback is faster. I have seen incidents where customers were back up within minutes after a rollback. Nobody on the call could explain why. We found a dark service deployment that disrupted a live critical path.</p>
<p class="wp-block-paragraph">They insisted they couldn’t possibly have caused the issue, right up until the rollback brought the critical path back up instantly. I’m not sure the dark service team ever satisfactorily explained why. The illegible gap between the dark deploy and the outage is where governance actually lives.</p>
<p class="wp-block-paragraph">If <a href="https://leaddev.com/culture/how-to-spot-and-unblock-engineering-bottlenecks" id="27853" target="_blank" rel="noreferrer noopener">deployment frequency</a> rises and invisible dependencies shape critical behavior, the numbers are describing only what you can see. They are not false; they are, however, not the entire picture. I have run enough code reviews, retrospectives, and root cause analysis (RCA) where the numbers were green, and my operators were nervous.</p>
<p class="wp-block-paragraph">I have found it’s always been true that dashboards can be healthy, and systems can be unmanageable. In this case, AI has increased that problem by orders of magnitude.</p>
<h2 class="wp-block-heading" id="h-signals-your-metrics-are-overstating-system-health">Signals your metrics are overstating system health</h2>
<p class="wp-block-paragraph">Incidents take longer to diagnose, even when metrics are green. A team may still be shipping quickly, but when something breaks, it takes longer to figure out where the behavior changed, who owns the affected dependency, or which change actually mattered.</p>
<p class="wp-block-paragraph">Meanwhile, important changes happen outside the systems you review. When system behavior changes due to items that never make it to review, your dashboards are missing the risk.</p>
<p class="wp-block-paragraph">One clear signal that a team is straddling illegibility is that they are moving quickly but struggle to explain the end-to-end critical path. Their code and designs look mature in a slide deck and in <a href="https://leaddev.com/software-quality/making-code-reviews-teachable-moments" id="8238" target="_blank" rel="noreferrer noopener">code reviews</a>, yet still depend on a handful of people carrying the real model in their heads. The bill comes due at the next attrition event, or the incident’s blast radius extends beyond what you can measure.</p>
<p class="wp-block-paragraph">None of these signs breaks DORA. They mean the DORA contract is too weak for the system you are running.</p>
<h2 class="wp-block-heading" id="h-how-to-make-dora-more-honest">How to make DORA more honest</h2>
<p class="wp-block-paragraph">Include a detailed scope note to every DORA review for a critical system. At a minimum, explicitly define the metrics. For the best context, keep it on the same document as the definitions. Add your <a href="https://leaddev.com/technical-direction/managing-technical-risk" id="4912" target="_blank" rel="noreferrer noopener">risk</a> profile and tolerance, the dependency chain, known limitations, and risks for out-of-band changes.</p>
<p class="wp-block-paragraph">These details are the beginning of bringing DORA metrics back into alignment and treating them as the scoped instrument rather than a complete story. As a tool, they are useful. Relying on them alone leaves you blind.</p>
<p class="wp-block-paragraph">To promote rigorous management, it is imperative to establish clear action steps for evaluating changes in metrics. For instance, if deployment frequency decreases, examine dependency load and the handoff chain before instructing teams to increase their speed.&nbsp;</p>
<p class="wp-block-paragraph">Similarly, if the change failure rate rises, conduct a thorough review of the dependency chain to identify where loss of change capture is occurring before attributing the issue to the most recent deployment. Consider what aspects are outside your review process and may be contributing to an expanded blast radius.</p>
<p class="wp-block-paragraph">If MTTR looks great but the team still can’t explain the failure, your systems are illegible. Ask how many people can walk you through the system end-to-end, in plain language, in under five minutes. This method ensures that any movement in metrics prompts thoughtful, systemic inquiry rather than superficial corrective measures.</p>
<p class="wp-block-paragraph">Digging here isn’t a shamefest. It’s critical to understand if knowledge is shared or concentrated. If the answer is two or fewer, that is not a knowledge concentration problem. It is a succession crisis. These checks work until they become routine. When the scope note stops changing between quarters, that is the signal to pressure-test it again.</p>
<div class="offset-content offset-content--do-offset offset-content--left wp-block-pbc-offset">
<div class="wp-block-group alignfull is-layout-flow wp-block-group-is-layout-flow" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0">
<figure class="wp-block-image alignfull size-full is-style-purple-bottom-border">
<img
fetchpriority="high"
loading="eager"
decoding="async"
width="934"
height="582"
src="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/next/2026/03/LDX3-New-York-is-live.png"
alt="LDX3 New York is live"
class="wp-image-32059"
srcset="
https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/next/2026/03/LDX3-New-York-is-live.png 934w,
https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_300,w_300/next/2026/03/LDX3-New-York-is-live.png 300w,
https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_768/next/2026/03/LDX3-New-York-is-live.png 768w,
https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_580/next/2026/03/LDX3-New-York-is-live.png 580w,
https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_275/next/2026/03/LDX3-New-York-is-live.png 275w,
https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_100,w_100/next/2026/03/LDX3-New-York-is-live.png 100w
"
sizes="(max-width: 934px) 100vw, 934px"
data-cmp-ab="2"
data-cmp-info="10"
>
</figure>
<div
class="wp-block-group has-base-color has-text-color has-background has-link-color wp-elements-9cc52ace96ebcb866b93e7cd49be41cc is-nowrap is-layout-flex wp-container-core-group-is-layout-ac00dd35 wp-block-group-is-layout-flex"
style="background:linear-gradient(109deg,rgb(57,50,141) 33%,rgb(152,72,223) 100%);min-height:200px;margin-top:0;margin-bottom:0;padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px"
>
<div
class="wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained"
style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"
>
<p class="has-small-font-size">
<strong>New York • September 15 &amp; 16, 2026</strong>
</p>
<p
class="has-medium-font-size"
style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--30);padding-right:0;padding-bottom:0;padding-left:0"
>
⏳ Last chance to join <strong>LDX3 New York</strong>. Secure your spot today.
</p>
<div
class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex"
style="margin-top:var(--wp--preset--spacing--40);margin-bottom:0"
>
<div
class="wp-block-button has-custom-width wp-block-button__width-100 plausible-event-name=Home-&amp;-Category-page-event-block"
>
<a
class="wp-block-button__link has-small-font-size has-custom-font-size wp-element-button"
href="https://leaddev.com/leaddev-new-york/buy-tickets/"
>Tickets</a>
</div>
</div>
</div>
</div>
</div><script type="text/javascript">
if (!window.Zephr) window.Zephr = {};
if (!window.Zephr.outcomes) window.Zephr.outcomes = {};
window.Zephr.outcomes["_home-and-category-event-block"] = {
featureLabel: "_Home and category event block",
outcomeId: "transformation/1",
outcomeLabel: "North American Event Ad"
};
</script>
</div>
<h2 class="wp-block-heading" id="h-manage-push-backs">Manage push backs</h2>
<p class="wp-block-paragraph">Someone in the room will <a href="https://leaddev.com/communication/how-to-push-back-when-execs-are-all-in-on-ai" id="27508" target="_blank" rel="noreferrer noopener">push back</a>. Everything looks good, and incidents are down. Why do we need to add a process and take time away from development?</p>
<p class="wp-block-paragraph">DORA measures delivery, not comprehension. Without the additional process, all we know is that the pipe is flowing. We don’t know whether anyone can explain what is in the pipe or what happens when it breaks somewhere that the dashboard doesn’t see.</p>
<p class="wp-block-paragraph">For critical systems, require every DORA review to include at least one recent incident narrative and a brief note on what changed afterward in ownership, operating practices, or risk posture. You need to do the same for team performance. DORA can inform conversations about delivery trends. It should not, on its own, be used to judge team quality, support promotion decisions, or serve as a substitute for understanding the system.</p>
<p class="wp-block-paragraph">Pick one critical system and run this tighter review pattern for a quarter. After that quarter, the real question is whether leaders are making better decisions about ownership, risk, and system understanding, not just showing better charts.</p>
<p class="wp-block-paragraph">DORA metrics are not useless, and the goal should not be to replace them. We need to stop making them carry work they cannot support. Now more than ever, with AI-heavy systems, code delivery, and system understanding are not equal. Leaders who understand that reality early can change the contract, before the next ugly incident does it for them.</p>
<script type="text/javascript">
if (!window.Zephr) window.Zephr = {};
if (!window.Zephr.outcomes) window.Zephr.outcomes = {};
window.Zephr.outcomes["_article_2024"] = {
featureLabel: "_Article default",
outcomeId: "transformation/4",
outcomeLabel: "One articles left - North America"
};
</script><style>
:root {
--zephr-popup-background-color: white;
--zephr-popup-min-height: 100px;
--zephr-popup-min-width: 100px;
--zephr-popup-close-color: black;
}
#zephr-zone-popup {
background-color: var(--zephr-popup-background-color);
min-height: var(--zephr-popup-min-height);
min-width: var(--zephr-popup-min-width);
border: 0px;
}
#zephr-popup-close {
color: var(--zephr-popup-close-color);
}
.zephr-zone-footer {
display: none;
width: 100%;
bottom: 0;
position: fixed;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
}
.zephr-overlay {
position: fixed;
display: none;
width: 100%;
height: 100%;
inset: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 2;
}
.zephr-zone-popup::backdrop {
background: rgba(0, 0, 0, 0.5);
}
.zephr-zone-popup + .backdrop {
background: rgba(0, 0, 0, 0.5);
}
.zephr-zone-popup {
padding: 0;
}
.zephr-zone-close {
margin: auto;
padding:10px;
position:absolute;
right: 0;
cursor: pointer;
color: white;
background-color: transparent;
border: none;
top:0;
}
.zephr-svg-close{
height: 15px;
}
.zephr-zone-close:hover {
background-color: transparent;
}
/*polyfill css*/
dialog {
position: absolute;
left: 0; right: 0;
width: -moz-fit-content;
width: -webkit-fit-content;
width: fit-content;
height: -moz-fit-content;
height: -webkit-fit-content;
height: fit-content;
margin: auto;
border: solid;
padding: 1em;
background: white;
color: black;
display: block;
}
dialog:not([open]) {
display: none;
}
dialog + .backdrop {
position: fixed;
top: 0; right: 0; bottom: 0; left: 0;
background: rgba(0,0,0,0.1);
}
._dialog_overlay {
position: fixed;
top: 0; right: 0; bottom: 0; left: 0;
}
dialog.fixed {
position: fixed;
top: 0;
bottom: 0;
}
</style>
<dialog class="zephr-zone-popup fixed" id="zephr-zone-popup" data-open-after="scrollDown" data-datalayer="dataLayer">
<button class="zephr-zone-close" id="zephr-popup-close">
<svg class="zephr-svg-close" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"></path></svg>
</button>
<div class="wp-block-group alignfull has-base-color has-text-color has-background has-link-color wp-elements-d6e9dd21b4eb03a0eca7a2a0bd0de3b8 has-global-padding is-layout-constrained wp-block-group-is-layout-constrained" style="background:linear-gradient(138deg,rgb(57,50,141) 12%,rgb(152,72,223) 100%);margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
<h2 class="wp-block-heading has-base-color has-text-color has-link-color has-xx-large-font-size wp-elements-e5cd7688856623782658d330221bc9b3" id="h-sign-up-to-our-originals-newsletter-0" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--10)">Get articles like this in your inbox</h2>
<p class="has-x-large-font-size" style="margin-top: var(--wp--preset--spacing--10)">Choose your LeadDev newsletters to subscribe to.</p> <style>.zephr-form-progress-bar.svelte-d78fa2{width:100%;border:0;border-radius:20px;margin-top:10px}.zephr-form-progress-bar.svelte-d78fa2::-webkit-progress-bar{background-color:var(--zephr-color-background-tinted);border:0;border-radius:20px}.zephr-form-progress-bar.svelte-d78fa2::-webkit-progress-value{background-color:var(--zephr-color-text-tinted);border:0;border-radius:20px}.zephr-progress-bar-step.svelte-d78fa2{margin:auto;color:var(--zephr-color-text-tinted);font-size:var(--zf-subtext-fontSize);font-family:var(--zf-root-fontFamily);cursor:pointer}.zephr-progress-bar-step.svelte-d78fa2:first-child{margin-left:0}.zephr-progress-bar-step.svelte-d78fa2:last-child{margin-right:0}.zephr-progress-bar-step.disabled.svelte-d78fa2{cursor:default}
.apple-pay-button{display:inline-block;-webkit-appearance:-apple-pay-button;-apple-pay-button-type:pay;width:440px;max-width:100%;height:45px;margin-top:20px}.apple-pay-button-black{-apple-pay-button-style:black}#google-pay-button.svelte-1acsmhs{width:440px;max-width:100%;height:45px;margin-top:20px}
.zephr-form-error-message-min-height.svelte-719cfr{min-height:1.1em}.zephr-form-error-message.svelte-719cfr{color:var(--zephr-color-warning-main);font-size:var(--zf-subtext-fontSize);margin-top:0.5em;position:relative;margin-left:1.2em;margin-right:1.2em}
#braintree-dropin-container.svelte-z7jd27{margin-top:1em;margin-bottom:1em}
#stripe-element.svelte-1lhuc6b{margin-top:2em;margin-bottom:1em;border:calc(var(--zephr-input-borderWidth) * 1px) solid
var(--zephr-input-borderColor);border-radius:calc(var(--zephr-input-borderRadius) * 1px);padding:1em}#stripe-element.svelte-1lhuc6b iframe:focus{outline:none !important}
#stripe-mobile-pay-button.svelte-1t95nqv{width:440px;max-width:100%;height:45px;margin-top:20px}
.svelte-fa-base{height:1em;overflow:visible;transform-origin:center;vertical-align:-0.125em}.svelte-fa-fw{text-align:center;width:1.25em}.svelte-fa-pull-left.svelte-bvo74f{float:left}.svelte-fa-pull-right.svelte-bvo74f{float:right}.svelte-fa-size-lg.svelte-bvo74f{font-size:1.33333em;line-height:0.75em;vertical-align:-0.225em}.svelte-fa-size-sm.svelte-bvo74f{font-size:0.875em}.svelte-fa-size-xs.svelte-bvo74f{font-size:0.75em}.spin.svelte-bvo74f{animation:svelte-bvo74f-spin 2s 0s infinite linear}.pulse.svelte-bvo74f{animation:svelte-bvo74f-spin 1s infinite steps(8)}@keyframes svelte-bvo74f-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
.svelte-fa-layers.svelte-1sinijc{display:inline-block;position:relative}.svelte-fa-layers.svelte-1sinijc .svelte-fa{position:absolute;bottom:0;left:0;right:0;top:0;margin:auto;text-align:center}.svelte-fa-layers.svelte-1sinijc .svelte-fa-layers-text{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.svelte-fa-layers.svelte-1sinijc .svelte-fa-layers-text span{display:inline-block}.svelte-fa-pull-left.svelte-1sinijc{float:left}.svelte-fa-pull-right.svelte-1sinijc{float:right}.svelte-fa-size-lg.svelte-1sinijc{font-size:1.33333em;line-height:0.75em;vertical-align:-0.225em}.svelte-fa-size-sm.svelte-1sinijc{font-size:0.875em}.svelte-fa-size-xs.svelte-1sinijc{font-size:0.75em}
.container.svelte-1x0c3df{display:inline-block;height:auto}.svelte-fa-size-lg.svelte-1x0c3df{font-size:1.33333em;line-height:0.75em;vertical-align:-0.225em}.svelte-fa-size-sm.svelte-1x0c3df{font-size:0.875em}.svelte-fa-size-xs.svelte-1x0c3df{font-size:0.75em}
.spinner-container.svelte-1isq5k3{text-align:center;padding:2em}
#zuora_payment.svelte-1a5rslt{margin-top:1em;margin-bottom:1em}.zuora-disabled-iframe-container.svelte-1a5rslt .z_hppm_iframe{pointer-events:none;opacity:0.3}.zuora-dynamic-form-disabled.svelte-1a5rslt{pointer-events:none;opacity:0.3}.spinner-overlay.svelte-1a5rslt{width:100%;height:100%;position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center}.form-wrapper.svelte-1a5rslt{position:relative}
.zephr-form-button-top-margin.svelte-1eqnyqe{margin-top:20px}.zephr-form-button.svelte-1eqnyqe{padding:0 20px;text-decoration:none;text-transform:capitalize;border-radius:calc(var(--zephr-button-borderRadius) * 1px);font-size:var(--zf-button-fontSize);font-weight:normal;cursor:pointer;border-style:solid;border-width:calc(var(--zephr-button-borderWidth) * 1px);border-color:var(--zephr-color-action-tinted);transition:backdrop-filter 0.2s, background-color 0.2s;display:flex;justify-content:center;align-items:center;width:100%;background-color:var(--zephr-color-action-main);color:var(--zf-button-color);position:relative;overflow:hidden;font-family:var(--zf-root-fontFamily)}.zephr-form-button.svelte-1eqnyqe:hover{background-color:var(--zephr-color-action-tinted);border-color:var(--zephr-color-action-tinted)}.zephr-form-button.svelte-1eqnyqe:disabled{background-color:var(--zephr-color-background-tinted);border-color:var(--zephr-color-background-tinted)}.zephr-form-button.svelte-1eqnyqe:disabled:hover{background-color:var(--zephr-color-background-tinted);border-color:var(--zephr-color-background-tinted)}.zephr-form-button.inputHeight.svelte-1eqnyqe{height:calc(var(--zephr-input-height) * 1px)}.zephr-form-button.svelte-1eqnyqe:not(inputHeight){height:calc(var(--zephr-button-height) * 1px)}.zephr-form-button.aside.svelte-1eqnyqe{width:auto;margin-left:10px}
.payment-option-wrapper.svelte-wecxzz>input[type="radio"].svelte-wecxzz{display:none}.payment-option-wrapper.svelte-wecxzz.svelte-wecxzz{display:flex;flex:1 0 28%;width:100%}.payment-option-wrapper.svelte-wecxzz.svelte-wecxzz:only-child{max-width:325px}.box-container.svelte-wecxzz.svelte-wecxzz{display:flex;flex-direction:column;flex:1 1 0;width:0;text-align:center}.inner-box.svelte-wecxzz.svelte-wecxzz{border:var(--zf-payment-options-border);border-radius:var(--zf-payment-options-borderRadius);background-color:var(--zf-payment-options-bgColor);height:100%;display:flex;flex-direction:column}.box-container.highlighted.svelte-wecxzz .inner-box.svelte-wecxzz{border-top-left-radius:0;border-top-right-radius:0}.box-container.svelte-wecxzz .box-content.svelte-wecxzz{flex-grow:1;padding:30px 20px;margin:0 10px;overflow:hidden}.box-container.svelte-wecxzz .styled-box-content.svelte-wecxzz{color:var(--zephr-color-text-main);font-family:var(--zf-root-fontFamily)}
.box-container .styled-box-content h1,
.box-container .styled-box-content h2,
.box-container .styled-box-content h3,
.box-container .styled-box-content p,
.box-container .styled-box-content span
{color:var(--zephr-color-text-main);font-family:var(--zf-root-fontFamily)}.payment-options-container .box-container .styled-box-content button{color:#fff;background-color:var(--zephr-color-action-main);border-width:calc(var(--zephr-button-borderWidth) * 1px);border-color:var(--zephr-color-action-tinted);border-radius:calc(var(--zephr-button-borderRadius) * 1px);font-size:var(--zf-button-fontSize)}.payment-options-container .box-container .styled-box-content button:hover{background-color:var(--zephr-color-action-tinted);border-color:var(--zephr-color-action-tinted)}.payment-options-container .box-container .box-content img{max-width:210px;height:auto}.box-top.svelte-wecxzz.svelte-wecxzz{height:40px}.box-container.highlighted.svelte-wecxzz .box-top.svelte-wecxzz{color:var(--zf-payment-options-highlighted-color);background-color:var(--zf-payment-options-highlighted-bgColor);position:relative;border:var(--zf-payment-options-border);border-bottom-width:0;border-radius:var(--zf-payment-options-borderRadius);border-bottom-left-radius:0;border-bottom-right-radius:0;display:flex;justify-content:center;align-items:center}.box-container.highlighted.svelte-wecxzz .box-top .box-top-text.svelte-wecxzz{font-weight:bold}.box-container.svelte-wecxzz .box-bottom.svelte-wecxzz{min-height:60px;display:flex;flex-direction:column;align-items:center;padding:20px 0 30px;margin:0 30px}.button-sub-text.svelte-wecxzz.svelte-wecxzz{margin-top:10px}
.payment-options-container.svelte-15oxdku{flex-wrap:wrap;font-size:var(--zf-payment-options-fontSize);width:100%;color:var(--zf-payment-options-color);line-height:18px;padding:31px 0 20px;display:grid;justify-content:space-evenly;justify-items:center;grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));gap:13px}@media(max-width: 340px){.payment-options-container.svelte-15oxdku{grid-template-columns:repeat(auto-fit, minmax(280px, 1fr))}}
.zephr-form-input-inner-container.svelte-127vcsp{position:relative}.zephr-form-input-full-width.svelte-127vcsp{width:100%}.zephr-form-input.svelte-127vcsp{width:100%;display:block;height:calc(var(--zephr-input-height) * 1px);padding-left:8px;font-size:var(--zf-input-fontSize);border:calc(var(--zephr-input-borderWidth) * 1px) solid
var(--zephr-input-borderColor);border-radius:calc(var(--zephr-input-borderRadius) * 1px);transition:border-color 0.25s ease, box-shadow 0.25s ease;outline:0;color:var(--zephr-color-text-main);background-color:var(--zf-input-bgColor);font-family:var(--zf-root-fontFamily)}.zephr-form-input.svelte-127vcsp::placeholder{color:var(--zephr-color-background-tinted);font-family:var(--zf-root-fontFamily)}.zephr-form-input-checkbox.svelte-127vcsp{width:auto;height:auto;margin:8px 5px 0 0;float:left}.zephr-form-input-radio.svelte-127vcsp{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.zephr-form-input-color[type="color"].svelte-127vcsp{width:50px;padding:0;border-radius:50%}.zephr-form-input-color[type="color"].svelte-127vcsp::-webkit-color-swatch{border:none;border-radius:50%;padding:0}.zephr-form-input-color[type="color"].svelte-127vcsp::-webkit-color-swatch-wrapper{border:none;border-radius:50%;padding:0}.zephr-form-input.disabled.svelte-127vcsp,.zephr-form-input.disabled.svelte-127vcsp:hover{border:calc(var(--zephr-input-borderWidth) * 1px) solid
var(--zephr-input-borderColor);background-color:var(--zephr-color-background-tinted)}.zephr-form-input.error.svelte-127vcsp{border:1px solid var(--zephr-color-warning-main)}
.zephr-form-input-label.svelte-vnzoa4.svelte-vnzoa4{margin-top:10px;display:block;line-height:30px;font-size:var(--zf-subtext-fontSize);color:var(--zephr-color-text-tinted);font-family:var(--zf-root-fontFamily)}.zephr-form-input-label.svelte-vnzoa4.svelte-vnzoa4:first-child{margin-top:0}.zephr-form-input-label.svelte-vnzoa4 span.svelte-vnzoa4{display:block}
.zephr-form-password-match.svelte-11tz5c7.svelte-11tz5c7{margin:20px 0;justify-content:center}.zephr-form-password-match.svelte-11tz5c7 ul.svelte-11tz5c7{padding-left:0;margin:0}.zephr-form-password-requirement.svelte-11tz5c7.svelte-11tz5c7{display:flex;align-items:center;color:var(--zephr-color-text-tinted);font-size:var(--zf-subtext-fontSize);min-height:20px;font-family:var(--zf-root-fontFamily)}.zephr-form-password-requirement-icon.svelte-11tz5c7.svelte-11tz5c7{margin-right:10px;font-size:15px}
.zephr-form-password-progress.svelte-1b6w0g8.svelte-1b6w0g8{display:flex;margin-top:10px}.zephr-form-password-bar.svelte-1b6w0g8.svelte-1b6w0g8{width:100%;height:4px;border-radius:2px}.zephr-form-password-bar.svelte-1b6w0g8.svelte-1b6w0g8:not(:first-child){margin-left:8px}.zephr-form-password-requirements.svelte-1b6w0g8.svelte-1b6w0g8{margin:20px 0;justify-content:center}.zephr-form-password-requirements.svelte-1b6w0g8 ul.svelte-1b6w0g8{padding-left:0;margin:0}.zephr-form-password-requirement.svelte-1b6w0g8.svelte-1b6w0g8{display:flex;align-items:center;color:var(--zephr-color-text-tinted);font-size:var(--zf-subtext-fontSize);min-height:20px;font-family:var(--zf-root-fontFamily)}.zephr-form-password-requirement-icon.svelte-1b6w0g8.svelte-1b6w0g8{margin-right:10px;font-size:15px}
#payment-element.svelte-1oygrrs{margin-top:1em;margin-bottom:1em;border:calc(var(--zephr-input-borderWidth) * 1px) solid
var(--zephr-input-borderColor);border-radius:calc(var(--zephr-input-borderRadius) * 1px);padding:1em}
.check-image.svelte-12ljnq4{height:1.2em;vertical-align:middle;margin-right:0.5em}.zephr-form-success-message.svelte-12ljnq4{color:var(--zephr-color-text-main);display:inline-block}
.zephr-form-verification-resend-link-container.svelte-b6r3ph{margin-bottom:2em}.zephr-form-verification-resend-link.svelte-b6r3ph,.zephr-form-verification-resend-text.svelte-b6r3ph{float:right;position:absolute;padding-right:2px;padding-top:0.5em;padding-left:0.5em;font-size:var(--zf-subtext-fontSize);right:0}.zephr-form-verification-resend-link.svelte-b6r3ph{cursor:pointer;color:var(--zf-link-color)}
.zephr-form-custom-text.svelte-12fdogm{margin-top:1em;margin-bottom:1em;color:var(--zephr-color-text-main)}
.zephr-form-checkbox.svelte-eyzg32.svelte-eyzg32.svelte-eyzg32{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.zephr-form-checkbox-label.svelte-eyzg32.svelte-eyzg32.svelte-eyzg32{display:flex;align-items:center;font-family:var(--zf-root-fontFamily)}.zephr-form-checkmark.svelte-eyzg32.svelte-eyzg32.svelte-eyzg32{position:relative;box-sizing:border-box;height:23px;width:23px;background-color:#fff;border:calc(var(--zephr-input-borderWidth) * 1px) solid
var(--zephr-input-borderColor);border-radius:6px;margin-right:12px;cursor:pointer}.zephr-form-checkmark.checked.svelte-eyzg32.svelte-eyzg32.svelte-eyzg32{border-color:var(--zephr-color-action-main)}.zephr-form-checkmark.checked.svelte-eyzg32.svelte-eyzg32.svelte-eyzg32:after{content:"";position:absolute;width:6px;height:13px;border:solid var(--zephr-color-action-main);border-width:0 2px 2px 0;transform:rotate(45deg);top:3px;left:8px;box-sizing:border-box}.zephr-form-checkmark.disabled.svelte-eyzg32.svelte-eyzg32.svelte-eyzg32{border:calc(var(--zephr-input-borderWidth) * 1px) solid
var(--zephr-color-background-tinted)}.zephr-form-checkmark.disabled.checked.svelte-eyzg32.svelte-eyzg32.svelte-eyzg32:after{border:solid var(--zephr-color-background-tinted);border-width:0 2px 2px 0}.zephr-form-checkmark.error.svelte-eyzg32.svelte-eyzg32.svelte-eyzg32{border:calc(var(--zephr-input-borderWidth) * 1px) solid
var(--zephr-color-warning-main)}.zephr-form-checkbox.svelte-eyzg32:focus-visible+.zephr-form-checkbox-label.svelte-eyzg32>.zephr-form-checkmark.svelte-eyzg32{outline:2px solid var(--zephr-color-action-main);outline-color:-webkit-focus-ring-color}
.zephr-form-input-radio.svelte-17rnpjv.svelte-17rnpjv.svelte-17rnpjv{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.zephr-form-radio-label.svelte-17rnpjv.svelte-17rnpjv.svelte-17rnpjv{display:flex;align-items:center;font-family:var(--zf-root-fontFamily)}.zephr-form-radio-dot.svelte-17rnpjv.svelte-17rnpjv.svelte-17rnpjv{display:block;position:relative;box-sizing:border-box;height:23px;width:23px;background-color:#fff;border:1px solid #ebebeb;border-radius:50%;margin-right:12px;cursor:pointer}.checked.svelte-17rnpjv.svelte-17rnpjv.svelte-17rnpjv{border-color:var(--zephr-color-action-main)}.checked.svelte-17rnpjv.svelte-17rnpjv.svelte-17rnpjv:after{content:"";position:absolute;width:17px;height:17px;background:var(--zephr-color-action-main);border-radius:50%;top:2px;left:2px}.disabled.checked.svelte-17rnpjv.svelte-17rnpjv.svelte-17rnpjv:after{background:var(--zephr-color-background-tinted)}.error.svelte-17rnpjv.svelte-17rnpjv.svelte-17rnpjv{border:1px solid var(--zephr-color-warning-main)}.zephr-form-input-radio.svelte-17rnpjv:focus-visible+.zephr-form-radio-label.svelte-17rnpjv>.zephr-form-radio-dot.svelte-17rnpjv{outline:2px solid var(--zephr-color-action-main);outline-color:-webkit-focus-ring-color}
.zephr-form-input-error-text.svelte-1f2hwm0{color:var(--zephr-color-warning-main);font-family:var(--zf-root-fontFamily)}.zephr-form-input-select.svelte-1f2hwm0{display:block;appearance:auto;width:100%;height:calc(var(--zephr-input-height) * 1px);font-size:var(--zf-input-fontSize);font-family:var(--zf-root-fontFamily);border:calc(var(--zephr-input-borderWidth) * 1px) solid
var(--zephr-input-borderColor);border-radius:calc(var(--zephr-input-borderRadius) * 1px);transition:border-color 0.25s ease, box-shadow 0.25s ease;outline:0;color:var(--zephr-color-text-main);background-color:var(--zf-input-bgColor);padding:10px}.zephr-form-input-select.unselected.svelte-1f2hwm0{color:var(--zephr-color-background-tinted)}.zephr-form-input-select.error.svelte-1f2hwm0{border-color:var(--zephr-color-warning-main)}.zephr-form-input-textarea.svelte-1f2hwm0{display:block;min-height:calc(var(--zephr-input-height) * 1px);min-width:100%;max-width:100%;background-color:var(--zf-input-bgColor);border:calc(var(--zephr-input-borderWidth) * 1px) solid var(--zephr-input-borderColor);border-radius:calc(var(--zephr-input-borderRadius) * 1px);transition:border-color 0.25s ease, box-shadow 0.25s ease;color:var(--zephr-color-text-main);font-size:var(--zf-input-fontSize);font-weight:300;padding:16px 8px;font-family:var(--zf-root-fontFamily);outline:0}.zephr-form-input-textarea.svelte-1f2hwm0::placeholder{color:var(--zephr-color-background-tinted);font-family:var(--zf-root-fontFamily)}.zephr-form-input-slider-output.svelte-1f2hwm0{margin:13px 0 0 10px}
.zephr-form-link.svelte-1mdtotm{margin:10px 0;color:var(--zf-link-color);text-decoration:underline;cursor:pointer;font-family:var(--zf-root-fontFamily)}.zephr-form-link-disabled.svelte-1mdtotm{color:var(--zephr-color-text-main);cursor:not-allowed;text-decoration:none}.zephr-form-link-no-underline.svelte-1mdtotm{text-decoration:none}
.zephr-form-reset-link-container.svelte-11qigta{min-height:2.5em}.zephr-form-link-message.svelte-11qigta{margin:10px 0 10px 20px;font-family:var(--zf-root-fontFamily)}
.zephr-form-reset-link-container.svelte-11qigta{min-height:2.5em}.zephr-form-link-message.svelte-11qigta{margin:10px 0 10px 20px;font-family:var(--zf-root-fontFamily)}
.zephr-form-google-icon.svelte-155mfls{width:20px}
.zephr-form-social-sign-in.svelte-18a7qws{align-items:center}.zephr-form-social-sign-in-button.svelte-18a7qws{width:100%;min-height:55px;padding:15px;color:#000;background-color:#fff;box-shadow:0 0 5px rgba(0, 0, 0, 0.3);border-radius:10px;font-size:17px;display:flex;align-items:center;cursor:pointer;margin-top:20px;font-family:var(--zf-root-fontFamily)}.zephr-form-social-sign-in-button.svelte-18a7qws:hover{background-color:#fafafa}.zephr-form-social-sign-in-icon.svelte-18a7qws{display:flex;justify-content:center;margin-right:30px;width:25px}
.zephr-form-promo-input-container.svelte-3s0tux{flex:0.6}.zephr-form-promo-activate-line.svelte-3s0tux{display:flex;cursor:pointer;min-height:calc(var(--zephr-input-height) * 1px);margin:1em 1.2em;font-size:var(--zf-payment-summary-fontSize);line-height:calc(var(--zephr-input-height) * 1px);color:var(--zf-link-color)}.zephr-form-promo-line.svelte-3s0tux{display:flex;min-height:calc(var(--zephr-input-height) * 1px);margin:1em 1.2em}.zephr-form-addon-line.svelte-3s0tux{display:flex;padding-top:1em;padding-bottom:1em;margin-left:1.2em}.zephr-form-summary-prorate-disclaimer.svelte-3s0tux{padding-top:0.25em;padding-left:1em;color:var(--zephr-color-text-tinted)}.zephr-form-summary-charge-description.svelte-3s0tux{color:var(--zephr-color-text-tinted)}.zephr-form-charge-line.svelte-3s0tux{display:flex;padding-top:1em;margin-left:1.2em;padding-left:1em}.zephr-form-summary-line-right.svelte-3s0tux{margin-left:auto;margin-right:1.5em;text-align:right}.zephr-form-summary-line-left.svelte-3s0tux{margin-left:10px}.zephr-form-summary-promo-middle.svelte-3s0tux{position:relative;top:calc(var(--zephr-input-height) * 0.5px)}.zephr-form-summary.svelte-3s0tux{border:var(--zf-payment-summary-border);border-radius:var(--zf-payment-summary-borderRadius);padding-top:1em;padding-bottom:1em;font-size:var(--zf-payment-summary-fontSize);margin-top:1.5em;margin-bottom:1.5em;color:var(--zf-payment-summary-color);background-color:var(--zf-payment-summary-bgColor)}.zephr-form-summary.svelte-3s0tux:first-child{margin-top:0}.zephr-form-summary-title.svelte-3s0tux{margin-bottom:1em;margin-left:1.2em}.zephr-form-summary-price-line.svelte-3s0tux{font-weight:bold;padding-left:1em;padding-top:1em}.zephr-form-summary-line.svelte-3s0tux{display:flex}.zephr-form-summary-price-line-upper.svelte-3s0tux{border-top:var(--zf-payment-summary-border);margin-top:1em}.zephr-form-summary-line-title.svelte-3s0tux{flex:0 0 65%;margin-left:1.2em}.zephr-form-summary-line-price.svelte-3s0tux{flex:1;text-align:right;margin-right:1.5em}.zephr-form-discount-line.svelte-3s0tux{display:flex;justify-content:space-between;margin:0.5em 0;margin-left:1.2em}
.zephr-form-divider-container.svelte-svq2r5{display:flex;align-items:center;justify-content:center;margin:1.5em 0}.zephr-form-divider-line.svelte-svq2r5{height:1px;width:50%;margin:0 5px;background-color:var(--zephr-color-text-tinted)}.zephr-form-divider-line-complete.svelte-svq2r5{height:1px;width:100%;margin:0 5px;background-color:var(--zephr-color-text-tinted)}.zephr-form-divider-text.svelte-svq2r5{margin:0 12px;color:var(--zephr-color-text-main);font-size:var(--zf-info-fontSize);font-family:var(--zf-root-fontFamily);white-space:nowrap}
.zephr-form-login-link.svelte-1bpa3mq.svelte-1bpa3mq{margin-top:1em;margin-bottom:1em;text-align:center}.zephr-form-login-link.svelte-1bpa3mq>a.svelte-1bpa3mq{color:var(--zf-link-color);margin-left:0.25em}
.zephr-form-account-code-container.svelte-ctt9he{margin-top:1.5em}
.zephr-form-invitation-container.svelte-yy7ok3{border:1px solid;margin:1.5em 0;padding:20px;color:var(--zephr-color-text-main)}.zephr-form-invitation-title.svelte-yy7ok3{margin-bottom:20px;font-weight:bold;font-family:var(--zf-root-fontFamily)}.zephr-form-invitation-email.svelte-yy7ok3{display:flex;align-items:center}.zephr-form-invitation-input-container.svelte-yy7ok3{flex-grow:1}.zephr-form-invitation-success-message.svelte-yy7ok3{margin-top:0.5em}
.subscription-option-product-label{margin-bottom:5px;margin-top:0}.subscription-option-wrapper.svelte-1ecrab7{display:flex;flex:1 0 28%;width:100%;max-width:400px}.subscription-option-wrapper.svelte-1ecrab7:only-child{max-width:325px}.subscription-option-box{display:flex;flex-direction:column;flex:1 1 0;width:0}.info-row.svelte-1ecrab7{margin-top:7px;margin-bottom:7px}.info-label.svelte-1ecrab7{display:inline;margin-right:10px}.info.svelte-1ecrab7{display:inline}hr.svelte-1ecrab7{border-width:1px 0px 0px;margin:5px 5px;border-color:var(--zephr-color-background-tinted)}.inner-box.svelte-1ecrab7{border:var(--zf-payment-options-border);border-radius:var(--zf-payment-options-borderRadius);background-color:var(--zf-payment-options-bgColor);height:100%;display:flex;flex-direction:column;flex-grow:1;padding:20px 20px;margin:0 10px;overflow:hidden}.change-disabled-label.svelte-1ecrab7{margin-top:15px}
.subscription-options-container.svelte-1nzbr4y{flex-wrap:wrap;font-size:var(--zf-payment-options-fontSize);width:100%;color:var(--zf-payment-options-color);line-height:18px;padding:31px 0 20px;display:grid;justify-content:space-evenly;justify-items:center;grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));gap:13px}@media(max-width: 340px){.subscription-options-container.svelte-1nzbr4y{grid-template-columns:repeat(auto-fit, minmax(280px, 1fr))}}
.subscription-list-item.svelte-1wg9q7{font-family:var(--zephr-typography-body-font), var(--zephr-typography-body-fallbackFont);color:var(--zephr-color-text-main)}hr.svelte-1wg9q7{border-width:1px 0px 0px;margin:20px 0px;border-color:var(--zephr-color-background-tinted)}.inactive.svelte-1wg9q7{text-decoration:line-through}h3.svelte-1wg9q7{margin:0 0 20px}.inner-box.svelte-1wg9q7{display:flex;flex-direction:column;flex-grow:1;padding:30px 20px;margin:0 10px;overflow:hidden;min-width:300px}
.zephr-form-tablink.svelte-ky9lgg{display:flex;align-items:center;cursor:pointer;justify-content:space-between;text-decoration:none;color:var(--zephr-color-text-main);font-weight:590;padding:var(--zf-list-subscriptions-section-padding);border-bottom:1px solid var(--zephr-color-background-tinted)}.zephr-form-tablink.svelte-ky9lgg:hover{text-decoration:underline}.zephr-form-tablink.svelte-ky9lgg:last-child{border-bottom:none
}
.zephr-subscription-list-box-item.svelte-h57nmp.svelte-h57nmp{font-family:var(--zephr-typography-body-font), var(--zephr-typography-body-fallbackFont);color:var(--zephr-color-text-main);max-width:var(--zf-list-subscriptions-container-maxWidth);border-radius:var(--zf-list-subscriptions-container-borderRadius);border:var(--zf-list-subscriptions-container-border);padding:var(--zf-list-subscriptions-container-padding)}.zephr-inner-box.svelte-h57nmp.svelte-h57nmp{display:flex;flex-direction:column;flex-grow:1}.zephr-box-item-information.svelte-h57nmp.svelte-h57nmp{font-size:var(--zf-list-subscriptions-info-fontSize);color:var(--zephr-color-text-tinted);margin-top:8px}.zephr-section.svelte-h57nmp.svelte-h57nmp{padding:var(--zf-list-subscriptions-section-padding);border-bottom:1px solid var(--zephr-color-background-tinted);gap:8px}.zephr-section.svelte-h57nmp.svelte-h57nmp:first-child{padding-top:0;border-bottom:none
}.zephr-section.svelte-h57nmp.svelte-h57nmp:last-child{border-bottom:none
}.zephr-section.svelte-h57nmp span.svelte-h57nmp{font-weight:590}.zephr-section.svelte-h57nmp h2.svelte-h57nmp{margin:0}
.subscriptions-list-container.svelte-2hm0a{margin-top:40px;display:flex;flex-direction:column;gap:40px}
.past-subscriptions-link-wrapper.svelte-1gacumx{margin:10px 0}
.event-link-wrapper{margin-top:10px}.float-right.svelte-12vtv9v{float:right;margin-top:calc(var(--zephr-input-height) * -1px + 5px)}
.bold-label.svelte-121zkre label{font-weight:bold}.read-only-input.svelte-121zkre{border:none;background:none;color:#333;cursor:default;outline:none;flex-grow:1;margin-right:10px;margin-top:15px}.zephr-form-relative-container.svelte-121zkre{display:flex;align-items:center;justify-content:space-between;width:100%}.update-link{white-space:nowrap;text-decoration:none;font-size:0.75em}
.bold-label.svelte-121zkre label{font-weight:bold}.read-only-input.svelte-121zkre{border:none;background:none;color:#333;cursor:default;outline:none;flex-grow:1;margin-right:10px;margin-top:15px}.zephr-form-relative-container.svelte-121zkre{display:flex;align-items:center;justify-content:space-between;width:100%}.update-link{white-space:nowrap;text-decoration:none;font-size:0.75em}
.zephr-form-ro-attribute{display:flex;align-items:center;height:50px;justify-content:flex-start}.zephr-form-ro-attribute-label{margin-right:10px;&:after {
content: ": ";
}}
hr.svelte-4jb3ht{border-width:1px 0px 0px;margin:20px 0px;border-color:var(--zephr-color-background-tinted)}.session-container.svelte-4jb3ht{padding:15px;display:flex;flex-direction:column}.device-title.svelte-4jb3ht{font-weight:bold;font-size:1.2em;margin-bottom:10px}.current-device.svelte-4jb3ht{color:#777;font-size:0.9em;margin-left:10px}.login-time.svelte-4jb3ht,.browser.svelte-4jb3ht,.country.svelte-4jb3ht{margin-bottom:10px;font-size:0.9em}
.sign-out-all.svelte-1gdzu2p{color:#0073e6;cursor:pointer;font-size:1em;margin:20px 0;text-align:center}.sign-out-all.svelte-1gdzu2p:hover{text-decoration:underline}
.table.svelte-15e6uru.svelte-15e6uru{display:grid;grid-template-columns:0.7fr 1.4fr 1fr 0.6fr}.table-head.svelte-15e6uru.svelte-15e6uru{display:contents}.table-row.svelte-15e6uru.svelte-15e6uru{display:contents}.table-head.svelte-15e6uru>div.svelte-15e6uru{font-size:13px;padding:13px 10px 10px;border-bottom:1px solid var(--zephr-color-background-tinted)}.table-row.svelte-15e6uru>div.svelte-15e6uru{font-size:var(--zf-info-fontSize);height:60px;padding:0 10px;border-bottom:1px solid var(--zephr-color-background-tinted);display:flex;align-items:center}.table-head.svelte-15e6uru>div.svelte-15e6uru:first-child,.table-row.svelte-15e6uru>div.svelte-15e6uru:first-child{padding-left:0}.table-head.svelte-15e6uru>div.svelte-15e6uru:last-child,.table-row.svelte-15e6uru>div.svelte-15e6uru:last-child{padding-right:0}.taxes.svelte-15e6uru.svelte-15e6uru{color:var(--zephr-color-background-tinted);white-space:pre;font-size:small}
.zephr-form-button-group.svelte-s116f2{display:flex;flex-direction:row;gap:12px;margin-top:20px}.zephr-form-back-button.svelte-s116f2{padding:0 20px;border-radius:calc(var(--zephr-button-borderRadius) * 1px);border-style:solid;border-width:calc(var(--zephr-button-borderWidth) * 1px);border-color:var(--zephr-color-action-main);display:flex;justify-content:center;align-items:center;width:100%;background-color:var(--zephr-color-action-main);color:var(--zf-button-color);cursor:pointer}.zephr-form-continue-button.svelte-s116f2{padding:0 20px;border-radius:calc(var(--zephr-button-borderRadius) * 1px);border-style:solid;border-width:calc(var(--zephr-button-borderWidth) * 1px);border-color:var(--zephr-color-action-main);display:flex;justify-content:center;align-items:center;width:100%;background-color:var(--zf-button-color);color:var(--zephr-color-action-main);cursor:pointer}.zephr-form-back-button.svelte-s116f2:hover{background-color:var(--zephr-color-action-tinted);border-color:var(--zephr-color-action-tinted)}.zephr-form-continue-button.svelte-s116f2:hover{background-color:var(--zephr-color-action-tinted);border-color:var(--zephr-color-action-tinted);color:var(--zf-button-color)}.zephr-form-back-button.svelte-s116f2:not(inputHeight){height:calc(var(--zephr-button-height) * 1px)}.zephr-form-continue-button.svelte-s116f2:not(inputHeight){height:calc(var(--zephr-button-height) * 1px)}
.zephr-form-button.svelte-16hrghb{padding:0 20px;text-decoration:none;text-transform:capitalize;border-radius:calc(var(--zephr-button-borderRadius) * 1px);font-size:var(--zf-button-fontSize);font-weight:normal;cursor:pointer;border-style:solid;border-width:calc(var(--zephr-button-borderWidth) * 1px);border-color:var(--zephr-color-action-tinted);transition:backdrop-filter 0.2s, background-color 0.2s;display:flex;justify-content:center;align-items:center;width:100%;background-color:var(--zephr-color-action-main);color:var(--zf-button-color);position:relative;overflow:hidden;font-family:var(--zf-root-fontFamily);height:calc(var(--zephr-button-height) * 1px)}.zephr-form-button.svelte-16hrghb:hover{background-color:var(--zephr-color-action-tinted);border-color:var(--zephr-color-action-tinted);color:var(--zf-button-color)}.zephr-form-button-top-margin.svelte-16hrghb{margin-top:20px}
.recipient-name-section.svelte-wt5yoy{margin-top:1rem;margin-bottom:1rem}.field.svelte-wt5yoy{margin-bottom:0.5rem}label.svelte-wt5yoy{display:block;margin-bottom:0.5rem;color:var(--zephr-color-text-tinted);font-family:var(--zf-root-fontFamily)}input.svelte-wt5yoy{width:100%;padding:0.5rem;border:calc(var(--zephr-input-borderWidth) * 1px) solid var(--zephr-input-borderColor);border-radius:calc(var(--zephr-input-borderRadius) * 1px);background-color:var(--zf-input-bgColor);color:var(--zephr-color-text-main);font-family:var(--zf-root-fontFamily)}input.svelte-wt5yoy::placeholder{color:var(--zephr-color-background-tinted);font-family:var(--zf-root-fontFamily)}input.svelte-wt5yoy:focus{outline:none;border-color:var(--zephr-color-action-main)}.error.svelte-wt5yoy{border-color:var(--zephr-color-warning-main) !important}.error-text.svelte-wt5yoy{color:var(--zephr-color-warning-main);font-size:0.875em;margin-top:0.25rem;font-family:var(--zf-root-fontFamily)}
.recipient-email-section.svelte-17rjebp{margin-bottom:1rem}.field.svelte-17rjebp{margin-bottom:0.5rem}label.svelte-17rjebp{display:block;margin-bottom:0.5rem;color:var(--zephr-color-text-tinted);font-family:var(--zf-root-fontFamily)}input.svelte-17rjebp{width:100%;padding:0.5rem;border:calc(var(--zephr-input-borderWidth) * 1px) solid var(--zephr-input-borderColor);border-radius:calc(var(--zephr-input-borderRadius) * 1px);background-color:var(--zf-input-bgColor);color:var(--zephr-color-text-main);font-family:var(--zf-root-fontFamily)}input.svelte-17rjebp::placeholder{color:var(--zephr-color-background-tinted);font-family:var(--zf-root-fontFamily)}input.svelte-17rjebp:focus{outline:none;border-color:var(--zephr-color-action-main)}.error.svelte-17rjebp{border-color:var(--zephr-color-warning-main) !important}.error-text.svelte-17rjebp{color:var(--zephr-color-warning-main);font-size:0.875em;margin-top:0.25rem;font-family:var(--zf-root-fontFamily)}
.recipient-address-section.svelte-hqngij{margin-bottom:1rem}.address-main-label.svelte-hqngij{display:block;margin-bottom:0.75rem;color:var(--zephr-color-text-tinted);font-family:var(--zf-root-fontFamily);font-weight:600}.address-fields.svelte-hqngij{display:grid;grid-template-columns:repeat(2, 1fr);gap:1rem}.full-width.svelte-hqngij{grid-column:1 / -1}.field.svelte-hqngij{margin-bottom:0.5rem}label.svelte-hqngij{display:block;margin-bottom:0.5rem;color:var(--zephr-color-text-tinted);font-family:var(--zf-root-fontFamily)}input.svelte-hqngij{width:100%;padding:0.5rem;border:calc(var(--zephr-input-borderWidth) * 1px) solid var(--zephr-input-borderColor);border-radius:calc(var(--zephr-input-borderRadius) * 1px);background-color:var(--zf-input-bgColor);color:var(--zephr-color-text-main);font-family:var(--zf-root-fontFamily)}input.svelte-hqngij::placeholder{color:var(--zephr-color-background-tinted);font-family:var(--zf-root-fontFamily)}input.svelte-hqngij:focus{outline:none;border-color:var(--zephr-color-action-main)}.error-text.svelte-hqngij{color:var(--zephr-color-warning-main);font-size:0.875em;margin-top:0.25rem;font-family:var(--zf-root-fontFamily)}@media(max-width: 640px){.address-fields.svelte-hqngij{grid-template-columns:1fr}}
.recipient-message-section.svelte-90amkz{margin-top:1rem;margin-bottom:1rem}.field.svelte-90amkz{margin-bottom:0.5rem}label.svelte-90amkz{display:block;margin-bottom:0.5rem;color:var(--zephr-color-text-tinted);font-family:var(--zf-root-fontFamily)}textarea.svelte-90amkz{width:100%;min-height:100px;resize:vertical;padding:0.5rem;border:calc(var(--zephr-input-borderWidth) * 1px) solid var(--zephr-input-borderColor);border-radius:calc(var(--zephr-input-borderRadius) * 1px);background-color:var(--zf-input-bgColor);color:var(--zephr-color-text-main);font-family:var(--zf-root-fontFamily)}textarea.svelte-90amkz::placeholder{color:var(--zephr-color-background-tinted);font-family:var(--zf-root-fontFamily)}textarea.svelte-90amkz:focus{outline:none;border-color:var(--zephr-color-action-main)}
.zephr-form-input-wrapper.svelte-1wfl3xs{display:flex;flex-direction:column;margin-bottom:16px;width:100%}label.svelte-1wfl3xs{margin-bottom:8px;font-weight:500}input.svelte-1wfl3xs{padding:12px;border-radius:var(--input-border-radius, 4px);border:var(--input-border-width, 1px) solid var(--input-border-color, #ccc);font-size:16px;height:var(--input-height, 50px);box-sizing:border-box}input.svelte-1wfl3xs:focus{outline:none;border-color:var(--color-action-main, #006EDB)}input.error.svelte-1wfl3xs{border-color:var(--color-warning-main, #D90B00)}.error-message.svelte-1wfl3xs{color:var(--color-warning-main, #D90B00);font-size:14px;margin-top:4px}.required.svelte-1wfl3xs{color:var(--color-warning-main, #D90B00)}
.zephr-form-max-width{max-width:var(--zf-container-maxWidth);margin:auto}.zephr-form-content.svelte-cde0t0{padding:var(--zf-container-padding);background-color:var(--zf-container-bgColor);border:var(--zf-container-border);border-radius:var(--zf-container-borderRadius)}.zephr-payment-options-content.svelte-cde0t0{background-color:transparent;border:none;border-radius:0}.close-button-container.svelte-cde0t0{text-align:right;width:100%;margin-bottom:15px}.close-button.svelte-cde0t0{cursor:pointer;display:inline;padding:7px;min-width:32px;min-height:32px;border-radius:16px;margin:1px}.loading-placeholder.svelte-cde0t0{display:flex;justify-content:center;align-items:center;min-height:200px}
.zephr-form{--zf-root-fontSize:16px;--zf-root-fontFamily:var(--zephr-typography-body-font), var(--zephr-typography-body-fallbackFont);--zf-container-maxWidth:440px;--zf-container-padding:20px;--zf-container-margin:20px auto;--zf-container-border:none;--zf-container-borderRadius:calc(var(--zephr-input-borderRadius) * 1px);--zf-container-color:var(--zephr-color-text-main);--zf-container-bgColor:var(--zephr-color-background-main, transparent);--zf-info-fontSize:14px;--zf-subtext-fontSize:12px;--zf-link-color:#6ba5e9;--zf-input-fontSize:var(--zf-root-fontSize);--zf-input-bgColor:var(--zephr-color-background-main, transparent);--zf-button-fontSize:calc(var(--zephr-button-fontSize, 16) * 1px);--zf-button-color:#fff;--zf-password-valid-color:#7bcb7f;--zf-password-invalid-color:#c4c4c4;--zf-payment-options-fontSize:var(--zf-subtext-fontSize);--zf-payment-options-color:var(--zephr-color-text-main);--zf-payment-options-bgColor:var(--zf-container-bgColor);--zf-payment-options-border:calc(var(--zephr-input-borderWidth) * 1px) solid var(--zephr-input-borderColor);--zf-payment-options-borderRadius:calc(var(--zephr-input-borderRadius) * 1px);--zf-payment-options-highlighted-color:var(--zephr-color-text-main);--zf-payment-options-highlighted-bgColor:var(--zephr-color-accent-main);--zf-payment-summary-fontSize:var(--zf-subtext-fontSize);--zf-payment-summary-color:var(--zephr-color-text-main);--zf-payment-summary-bgColor:var(--zf-input-bgColor);--zf-payment-summary-border:calc(var(--zephr-input-borderWidth) * 1px) solid var(--zephr-input-borderColor);--zf-payment-summary-borderRadius:calc(var(--zephr-input-borderRadius) * 1px);--zf-list-subscriptions-container-maxWidth:630px;--zf-list-subscriptions-container-padding:24px;--zf-list-subscriptions-section-padding:16px 0px;--zf-list-subscriptions-container-border:calc(var(--zephr-input-borderWidth) * 1px) solid var(--zephr-input-borderColor);--zf-list-subscriptions-container-borderRadius:calc(var(--zephr-input-borderRadius) * 1px);--zf-list-subscriptions-info-fontSize:var(--zf-info-fontSize)}.zephr-form.svelte-jjl1p8{color:var(--zf-container-color);margin:var(--zf-container-margin);font-size:var(--zf-root-fontSize);font-family:var(--zf-root-fontFamily)}.zephr-form *{box-sizing:border-box}:where(.zephr-form) button{text-transform:unset;overflow:visible;font-family:var(--zf-root-fontFamily, unset);font-size:var(--zf-root-fontSize, unset);line-height:unset;margin:unset;padding:unset;border:unset;background:unset;&:hover, &:focus-visible {
border: unset;
background: unset;
}}.zephr-form-disabled-div{pointer-events:none;opacity:0.8}.zephr-form-relative-container{position:relative}.zephr-form-flex-container{display:flex}.zephr-form-input-inner-button{cursor:pointer;position:absolute;top:50%;transform:translateY(-50%);right:5px;padding:10px 5px}.zephr-form-input-inner-text{color:var(--zephr-color-text-main);font-size:var(--zf-subtext-fontSize);font-weight:bold;font-family:var(--zf-root-fontFamily)}
</style>
<script data-cmp-ab="2">!function(){"use strict";function e(){}function t(e,t){for(const r in t)e[r]=t[r];return e}function r(e){return e()}function n(){return Object.create(null)}function o(e){e.forEach(r)}function i(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s;function c(e,t){return e===t||(s||(s=document.createElement("a")),s.href=t,e===s.href)}function l(e,t,r,n){if(e){const o=u(e,t,r,n);return e[0](o)}}function u(e,r,n,o){return e[1]&&o?t(n.ctx.slice(),e[1](o(r))):n.ctx}function d(e,t,r,n){if(e[2]&&n){const o=e[2](n(r));if(void 0===t.dirty)return o;if("object"==typeof o){const e=[],r=Math.max(t.dirty.length,o.length);for(let n=0;n<r;n+=1)e[n]=t.dirty[n]|o[n];return e}return t.dirty|o}return t.dirty}function p(e,t,r,n,o,i){if(o){const a=u(t,r,n,i);e.p(a,o)}}function m(e){if(e.ctx.length>32){const t=[],r=e.ctx.length/32;for(let e=0;e<r;e++)t[e]=-1;return t}return-1}function f(e){return null==e?"":e}function h(e,t){e.appendChild(t)}function y(e,t,r){e.insertBefore(t,r||null)}function g(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function P(e){return document.createElement(e)}function E(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function A(e){return document.createTextNode(e)}function S(){return A(" ")}function C(){return A("")}function v(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function T(e){return function(t){return t.preventDefault(),e.call(this,t)}}function _(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}const O=["width","height"];function I(e,t){const r=Object.getOwnPropertyDescriptors(e.__proto__);for(const n in t)null==t[n]?e.removeAttribute(n):"style"===n?e.style.cssText=t[n]:"__value"===n?e.value=e[n]=t[n]:r[n]&&r[n].set&&-1===O.indexOf(n)?e[n]=t[n]:_(e,n,t[n])}function w(e,t){t=""+t,e.data!==t&&(e.data=t)}function R(e,t){e.value=null==t?"":t}function M(e,t,r,n){null==r?e.style.removeProperty(t):e.style.setProperty(t,r,n?"important":"")}function N(e,t,r){for(let r=0;r<e.options.length;r+=1){const n=e.options[r];if(n.__value===t)return void(n.selected=!0)}r&&void 0===t||(e.selectedIndex=-1)}function $(e,t,r){e.classList.toggle(t,!!r)}function L(e,t){return new e(t)}let x;function F(e){x=e}function z(){if(!x)throw new Error("Function called outside component initialization");return x}function k(e){z().$$.on_mount.push(e)}function D(){const e=z();return(t,r,{cancelable:n=!1}={})=>{const o=e.$$.callbacks[t];if(o){const i=function(e,t,{bubbles:r=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:t,bubbles:r,cancelable:n})}(t,r,{cancelable:n});return o.slice().forEach((t=>{t.call(e,i)})),!i.defaultPrevented}return!0}}const B=[],U=[];let G=[];const V=[],q=Promise.resolve();let j=!1;function H(e){G.push(e)}const K=new Set;let Y=0;function W(){if(0!==Y)return;const e=x;do{try{for(;Y<B.length;){const e=B[Y];Y++,F(e),J(e.$$)}}catch(e){throw B.length=0,Y=0,e}for(F(null),B.length=0,Y=0;U.length;)U.pop()();for(let e=0;e<G.length;e+=1){const t=G[e];K.has(t)||(K.add(t),t())}G.length=0}while(B.length);for(;V.length;)V.pop()();j=!1,K.clear(),F(e)}function J(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(H)}}const Q=new Set;let Z;function X(){Z={r:0,c:[],p:Z}}function ee(){Z.r||o(Z.c),Z=Z.p}function te(e,t){e&&e.i&&(Q.delete(e),e.i(t))}function re(e,t,r,n){if(e&&e.o){if(Q.has(e))return;Q.add(e),Z.c.push((()=>{Q.delete(e),n&&(r&&e.d(1),n())})),e.o(t)}else n&&n()}function ne(e){return void 0!==e?.length?e:Array.from(e)}function oe(e,t){const r={},n={},o={$$scope:1};let i=e.length;for(;i--;){const a=e[i],s=t[i];if(s){for(const e in a)e in s||(n[e]=1);for(const e in s)o[e]||(r[e]=s[e],o[e]=1);e[i]=s}else for(const e in a)o[e]=1}for(const e in n)e in r||(r[e]=void 0);return r}function ie(e){return"object"==typeof e&&null!==e?e:{}}function ae(e){e&&e.c()}function se(e,t,n){const{fragment:a,after_update:s}=e.$$;a&&a.m(t,n),H((()=>{const t=e.$$.on_mount.map(r).filter(i);e.$$.on_destroy?e.$$.on_destroy.push(...t):o(t),e.$$.on_mount=[]})),s.forEach(H)}function ce(e,t){const r=e.$$;null!==r.fragment&&(!function(e){const t=[],r=[];G.forEach((n=>-1===e.indexOf(n)?t.push(n):r.push(n))),r.forEach((e=>e())),G=t}(r.after_update),o(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function le(e,t){-1===e.$$.dirty[0]&&(B.push(e),j||(j=!0,q.then(W)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ue(t,r,i,a,s,c,l=null,u=[-1]){const d=x;F(t);const p=t.$$={fragment:null,ctx:[],props:c,update:e,not_equal:s,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(r.context||(d?d.$$.context:[])),callbacks:n(),dirty:u,skip_bound:!1,root:r.target||d.$$.root};l&&l(p.root);let m=!1;if(p.ctx=i?i(t,r.props||{},((e,r,...n)=>{const o=n.length?n[0]:r;return p.ctx&&s(p.ctx[e],p.ctx[e]=o)&&(!p.skip_bound&&p.bound[e]&&p.bound[e](o),m&&le(t,e)),r})):[],p.update(),m=!0,o(p.before_update),p.fragment=!!a&&a(p.ctx),r.target){if(r.hydrate){const e=function(e){return Array.from(e.childNodes)}(r.target);p.fragment&&p.fragment.l(e),e.forEach(g)}else p.fragment&&p.fragment.c();r.intro&&te(t.$$.fragment),se(t,r.target,r.anchor),W()}F(d)}class de{$$=void 0;$$set=void 0;$destroy(){ce(this,1),this.$destroy=e}$on(t,r){if(!i(r))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const e=n.indexOf(r);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");const pe="700px",me="10000px",fe="0px",he=500;function ye(e,t){let r=t;e.style.maxHeight=t?me:fe,e.style.overflow=t?"unset":"hidden";const n=window.matchMedia("(prefers-reduced-motion: reduce)").matches;return n&&(e.style.display=t?"unset":"none"),{update(t){if(n)return void(e.style.display=t?"unset":"none");if(t===r)return;r=t;const o=t?pe:fe,i=t?fe:pe;e.animate([{maxHeight:i,overflow:"hidden"},{maxHeight:o,overflow:"hidden"}],{duration:he,fill:"both"}).addEventListener("finish",(()=>{t&&e.animate([{maxHeight:o,overflow:"hidden"},{maxHeight:me,overflow:"hidden"}],{duration:100,fill:"both"})}))}}}const ge="progress_bar",be="payment_option_selection",Pe="password",Ee="otp_code",Ae="button",Se="payment",Ce="payment-pre-loader",ve="email_address",Te="success_message",_e="text",Oe="user_attribute",Ie="link",we="resend_login_link",Re="social_sign_in",Me="payment_summary",Ne="divider",$e="show_login_link",Le="account_code",xe="mobile_payment",Fe="invitation",ze="template_component",ke="subscription_select",De="event_link",Be="subscriptions_list",Ue="past_subscriptions_link",Ge="billing_history",Ve="change_payment_method_button",qe="read_only_email_address",je="read_only_password",He="read_only_user_attribute",Ke="change_payment_method",Ye="devices_list",We="sign_out_of_devices_button",Je="button_group",Qe="link_button",Ze="recipient_name",Xe="recipient_email",et="recipient_address",tt="recipient_message",rt="gift_code";var nt;!function(e){e.FORM_START="FORM_START",e.LOGIN_REGISTRATION_COMPLETE="LOGIN_REGISTRATION_COMPLETE",e.SECTION_EMAIL_COMPLETE="SECTION_EMAIL_COMPLETE",e.SECTION_PASSWORD_RESET_COMPLETE="SECTION_PASSWORD_RESET_COMPLETE",e.SECTION_FORGOT_PASSWORD_COMPLETE="SECTION_FORGOT_PASSWORD_COMPLETE",e.PART_PLAN_SELECT_COMPLETE="PART_PLAN_SELECT_COMPLETE",e.PART_ACCOUNT_VERIFICATION_COMPLETE="PART_ACCOUNT_VERIFICATION_COMPLETE",e.PART_GIFT_RECIPIENT_COMPLETE="PART_GIFT_RECIPIENT_COMPLETE",e.PART_PAYMENT_COMPLETE="PART_PAYMENT_COMPLETE",e.PART_SUCCESS_COMPLETE="PART_SUCCESS_COMPLETE",e.PART_CONTACT_VERIFICATION_COMPLETE="PART_CONTACT_VERIFICATION_COMPLETE",e.PART_PROFILE_UPDATE_COMPLETE="PART_PROFILE_UPDATE_COMPLETE",e.PART_EMAIL_UPDATE_COMPLETE="PART_EMAIL_UPDATE_COMPLETE",e.PART_EMAIL_UPDATE_OTP_COMPLETE="PART_EMAIL_UPDATE_OTP_COMPLETE",e.PART_PASSWORD_UPDATE_COMPLETE="PART_PASSWORD_UPDATE_COMPLETE",e.PART_PASSWORD_UPDATE_OTP_COMPLETE="PART_PASSWORD_UPDATE_OTP_COMPLETE",e.PART_ATTRIBUTES_UPDATE_COMPLETE="PART_ATTRIBUTES_UPDATE_COMPLETE",e.REGISTRATION_CUSTOM_COMPLETE="REGISTRATION_CUSTOM_COMPLETE",e.SELECT_SUBSCRIPTION_COMPLETE="SELECT_SUBSCRIPTION_COMPLETE",e.UPDATE="UPDATE",e.GO_BACK="GO_BACK",e.VERIFY_EMAIL_UPDATE_OTP="VERIFY_EMAIL_UPDATE_OTP",e.VERIFY_PASSWORD_UPDATE_OTP="VERIFY_PASSWORD_UPDATE_OTP",e.PART_CHANGE_PAYMENT_COMPLETE="PART_CHANGE_PAYMENT_COMPLETE",e.LIST_DEVICES_SESSIONS="LIST_DEVICES_SESSIONS",e.SIGN_OUT_ALL_DEVICES="SIGN_OUT_ALL_DEVICES",e.SIGN_OUT_SINGLE_DEVICE="SIGN_OUT_SINGLE_DEVICE",e.GIFT_REDEMPTION_COMPLETE="GIFT_REDEMPTION_COMPLETE"}(nt||(nt={}));const ot={PLAN_SELECT:{type:"plan-select",order:0,completionEvent:nt.PART_PLAN_SELECT_COMPLETE},ACCOUNT_VERIFICATION:{type:"account-verification",order:1,completionEvent:nt.PART_ACCOUNT_VERIFICATION_COMPLETE},GIFT_RECIPIENT:{type:"gift-recipient",order:1,completionEvent:nt.PART_GIFT_RECIPIENT_COMPLETE},PAYMENT:{type:"payment",order:2,completionEvent:nt.PART_PAYMENT_COMPLETE},SUCCESS:{type:"success",order:3,completionEvent:nt.PART_SUCCESS_COMPLETE},CONTACT_VERIFICATION:{type:"contact-verification",order:1,completionEvent:nt.PART_CONTACT_VERIFICATION_COMPLETE},PROFILE_UPDATE:{type:"profile-update",order:0,completionEvent:nt.PART_PROFILE_UPDATE_COMPLETE},SELECT_SUBSCRIPTION:{type:"select-subscription",order:0,completionEvent:nt.SELECT_SUBSCRIPTION_COMPLETE},EMAIL_UPDATE:{type:"email-update",order:0,completionEvent:nt.PART_EMAIL_UPDATE_COMPLETE},EMAIL_UPDATE_OTP:{type:"email-update-otp",order:0,completionEvent:nt.PART_EMAIL_UPDATE_OTP_COMPLETE},PASSWORD_UPDATE:{type:"password-update",order:0,completionEvent:nt.PART_PASSWORD_UPDATE_COMPLETE},PASSWORD_UPDATE_OTP:{type:"password-update-otp",order:0,completionEvent:nt.PART_PASSWORD_UPDATE_OTP_COMPLETE},ATTRIBUTES_UPDATE:{type:"attributes-update",order:0,completionEvent:nt.PART_ATTRIBUTES_UPDATE_COMPLETE},LIST_SUBSCRIPTIONS:{type:"list-subscriptions",order:0},BILLING_HISTORY:{type:"billing-history",order:0},PAST_SUBSCRIPTIONS:{type:"past-subscriptions",order:0},CHANGE_PAYMENT:{type:"change-payment",order:2,completionEvent:nt.PART_CHANGE_PAYMENT_COMPLETE},DEVICES_SESSIONS:{type:"devices-sessions",order:0,completionEvent:nt.LIST_DEVICES_SESSIONS},CANCEL_SUCCESS:{type:"cancel-success",order:3},GIFT_REDEMPTION:{type:"gift_redemption",order:4}},it=e=>Object.values(ot).find((t=>t.type==e))||(()=>{throw`No part ${e} found`})();var at;!function(e){e[e.USER_DOES_NOT_EXIST=0]="USER_DOES_NOT_EXIST",e[e.USER_ALREADY_EXISTS=1]="USER_ALREADY_EXISTS",e[e.PASSWORD_NOT_STRONG_ENOUGH=2]="PASSWORD_NOT_STRONG_ENOUGH",e[e.EMAIL_VERIFICATION_REQUIRED=3]="EMAIL_VERIFICATION_REQUIRED",e[e.VERIFICATION_CODE_OR_PASSWORD_INCORRECT=4]="VERIFICATION_CODE_OR_PASSWORD_INCORRECT",e[e.VERIFICATION_CODE_INCORRECT=5]="VERIFICATION_CODE_INCORRECT",e[e.LOGIN_FAILED=6]="LOGIN_FAILED",e[e.UNKNOWN_LOGIN_REGISTER_ERROR=7]="UNKNOWN_LOGIN_REGISTER_ERROR",e[e.NO_COOKIE_FROM_LOGIN_REGISTER_ERROR=8]="NO_COOKIE_FROM_LOGIN_REGISTER_ERROR",e[e.NO_ACCOUNT_ACCESS=9]="NO_ACCOUNT_ACCESS",e[e.ACCOUNT_NOT_FOUND=10]="ACCOUNT_NOT_FOUND",e[e.PAYMENT_PROCESSING_ERROR=11]="PAYMENT_PROCESSING_ERROR",e[e.MOBILE_PAYMENT_PROCESSING_ERROR=12]="MOBILE_PAYMENT_PROCESSING_ERROR",e[e.PASSWORD_RESET_LINK_SEND_ERROR=13]="PASSWORD_RESET_LINK_SEND_ERROR",e[e.PASSWORD_RESET_ERROR=14]="PASSWORD_RESET_ERROR",e[e.VERIFICATION_CODE_SEND_ERROR=15]="VERIFICATION_CODE_SEND_ERROR",e[e.SOCIAL_SIGNIN_REGISTRATION_LOGIN_ERROR=16]="SOCIAL_SIGNIN_REGISTRATION_LOGIN_ERROR",e[e.PROMO_CODE_EXPIRED_ERROR=17]="PROMO_CODE_EXPIRED_ERROR",e[e.PROMO_CODE_INVALID_ERROR=18]="PROMO_CODE_INVALID_ERROR",e[e.PROMO_CODE_NOT_VALID_FOR_PLAN_ERROR=19]="PROMO_CODE_NOT_VALID_FOR_PLAN_ERROR",e[e.INVITATION_FAILED_LIMIT_REACHED=20]="INVITATION_FAILED_LIMIT_REACHED",e[e.INVITATION_FAILED_DUPLICATE_EMAIL=21]="INVITATION_FAILED_DUPLICATE_EMAIL",e[e.INVITATION_FAILED_INVALID_EMAIL=22]="INVITATION_FAILED_INVALID_EMAIL",e[e.INVITATION_FAILED_NO_PRODUCT_ACCESS=23]="INVITATION_FAILED_NO_PRODUCT_ACCESS",e[e.INVITATION_FAILED_UNKNOWN=24]="INVITATION_FAILED_UNKNOWN",e[e.TOO_MANY_SESSIONS=25]="TOO_MANY_SESSIONS",e[e.INVALID_USER_ATTRIBUTES=26]="INVALID_USER_ATTRIBUTES",e[e.CONTACT_CREATION_NOT_ENABLED=27]="CONTACT_CREATION_NOT_ENABLED",e[e.NO_AUTHENTICATED_SESSION=28]="NO_AUTHENTICATED_SESSION",e[e.BLOCKED_EMAIL_DOMAIN=29]="BLOCKED_EMAIL_DOMAIN",e[e.UNKNOWN=30]="UNKNOWN",e[e.GIFT_CODE_INVALID=31]="GIFT_CODE_INVALID",e[e.GIFT_CODE_ALREADY_REDEEMED=32]="GIFT_CODE_ALREADY_REDEEMED",e[e.GIFT_CODE_SERVER_ERROR=33]="GIFT_CODE_SERVER_ERROR"}(at||(at={}));const st={[at.USER_DOES_NOT_EXIST]:{languagePackKey:"forms.errors.user-not-found",fallbackMessage:"User not found.",jumpToPart:ot.ACCOUNT_VERIFICATION.type,displayOnElements:[ve]},[at.USER_ALREADY_EXISTS]:{languagePackKey:"forms.errors.email-taken",fallbackMessage:"This email address is already registered. Please log in to continue.",jumpToPart:ot.ACCOUNT_VERIFICATION.type,displayOnElements:[ve]},[at.EMAIL_VERIFICATION_REQUIRED]:{languagePackKey:"forms.errors.email-verification-required",fallbackMessage:"Email verification is required",jumpToPart:ot.ACCOUNT_VERIFICATION.type,displayOnElements:[ve]},[at.VERIFICATION_CODE_OR_PASSWORD_INCORRECT]:{languagePackKey:"forms.errors.otp-or-password-incorrect",fallbackMessage:"The password or code you entered is incorrect.",displayOnElements:[Ee,Pe]},[at.VERIFICATION_CODE_INCORRECT]:{languagePackKey:"forms.errors.otp-incorrect",fallbackMessage:"The code you entered is incorrect.",displayOnElements:[Ee]},[at.LOGIN_FAILED]:{languagePackKey:"forms.errors.login-failed",fallbackMessage:"The email address or password you entered is incorrect.",displayOnElements:[Pe,Ee]},[at.PASSWORD_NOT_STRONG_ENOUGH]:{languagePackKey:"n/a",fallbackMessage:"",useDymamicMessage:!0,displayOnElements:[Pe]},[at.UNKNOWN_LOGIN_REGISTER_ERROR]:{languagePackKey:"forms.errors.unknown-error",fallbackMessage:"Something went wrong. Please try again later",displayOnElements:[Pe,Ee]},[at.NO_COOKIE_FROM_LOGIN_REGISTER_ERROR]:{languagePackKey:"forms.errors.unknown-error",fallbackMessage:"Something went wrong. Please try again later",displayOnElements:[Pe,Ee]},[at.NO_ACCOUNT_ACCESS]:{languagePackKey:"forms.errors.too-many-requests",fallbackMessage:"To gain login access, please contact your administrator.",displayOnElements:[Pe]},[at.ACCOUNT_NOT_FOUND]:{languagePackKey:"forms.errors.company-account-not-found",fallbackMessage:"Account not found.",jumpToPart:ot.ACCOUNT_VERIFICATION.type,displayOnElements:[Le]},[at.PAYMENT_PROCESSING_ERROR]:{languagePackKey:"forms.errors.unknown-payment-error",fallbackMessage:"Something went wrong when processing your payment. Please try again later.",displayOnElements:[Se]},[at.MOBILE_PAYMENT_PROCESSING_ERROR]:{languagePackKey:"forms.errors.unknown-payment-error",fallbackMessage:"Something went wrong when processing your payment. Please try again later.",displayOnElements:[xe]},[at.PASSWORD_RESET_LINK_SEND_ERROR]:{languagePackKey:"forms.errors.password-reset-link-send-failed",fallbackMessage:"Unable to send a password reset link. Please try again later",displayOnElements:[Ie]},[at.VERIFICATION_CODE_SEND_ERROR]:{languagePackKey:"forms.errors.otp-send-failed",fallbackMessage:"Unable to send a verification code. Please try again later",displayOnElements:[Ee]},[at.PASSWORD_RESET_ERROR]:{languagePackKey:"forms.errors.password-reset-failed",fallbackMessage:"Unable to reset your password. Please try again later",displayOnElements:[Pe]},[at.SOCIAL_SIGNIN_REGISTRATION_LOGIN_ERROR]:{languagePackKey:"forms.errors.unknown-error",fallbackMessage:"Something went wrong. Please try again later",displayOnElements:[Re]},[at.PROMO_CODE_EXPIRED_ERROR]:{languagePackKey:"forms.errors.promo-code-expired",fallbackMessage:"Promo code expired",displayOnElements:[Me]},[at.PROMO_CODE_INVALID_ERROR]:{languagePackKey:"forms.errors.promo-code-invalid",fallbackMessage:"Invalid promo code",displayOnElements:[Me]},[at.PROMO_CODE_NOT_VALID_FOR_PLAN_ERROR]:{languagePackKey:"forms.errors.promo-code-invalid-for-payment-option",fallbackMessage:"Promo code cannot be applied to selected option",displayOnElements:[Me]},[at.INVITATION_FAILED_LIMIT_REACHED]:{languagePackKey:"forms.errors.invitation-failed-limit-reached",fallbackMessage:"You have reached the sharing limit for this product",displayOnElements:[Fe]},[at.INVITATION_FAILED_DUPLICATE_EMAIL]:{languagePackKey:"forms.errors.invitation-failed-duplicate-email",fallbackMessage:"An invite has already been created for this email",displayOnElements:[Fe]},[at.INVITATION_FAILED_INVALID_EMAIL]:{languagePackKey:"forms.errors.invitation-failed-invalid-email",fallbackMessage:"Invalid email address",displayOnElements:[Fe]},[at.INVITATION_FAILED_NO_PRODUCT_ACCESS]:{languagePackKey:"forms.errors.invitation-failed-no-product-access",fallbackMessage:"You do not currently have access to this product",displayOnElements:[Fe]},[at.INVITATION_FAILED_UNKNOWN]:{languagePackKey:"forms.errors.unknown-error",fallbackMessage:"Something went wrong. Please try again later",displayOnElements:[Fe]},[at.TOO_MANY_SESSIONS]:{languagePackKey:"forms.errors.session-limit-reached",fallbackMessage:"You have reached the session limit. Please log out from another device to access this content.",displayOnElements:[ve]},[at.INVALID_USER_ATTRIBUTES]:{languagePackKey:"forms.errors.user-attribute-invalid",fallbackMessage:"Invalid User Attribute",displayOnElements:[Oe]},[at.CONTACT_CREATION_NOT_ENABLED]:{languagePackKey:"forms.errors.contact-creation-disabled",fallbackMessage:"This operation is not possible at the moment, please try again later.",jumpToPart:ot.ACCOUNT_VERIFICATION.type,displayOnElements:[ve]},[at.NO_AUTHENTICATED_SESSION]:{languagePackKey:"forms.errors.no-authenticated-session",fallbackMessage:"Please login to update your profile"},[at.BLOCKED_EMAIL_DOMAIN]:{languagePackKey:"forms.errors.email-domain-blocked",fallbackMessage:"Please use a different email address, this domain is not supported.",jumpToPart:ot.ACCOUNT_VERIFICATION.type,displayOnElements:[ve]},[at.UNKNOWN]:{languagePackKey:"forms.errors.unknown-error",fallbackMessage:"Something went wrong. Please try again later"},[at.GIFT_CODE_INVALID]:{languagePackKey:"forms.errors.gift-code-invalid",fallbackMessage:"Invalid gift code",displayOnElements:[rt]},[at.GIFT_CODE_ALREADY_REDEEMED]:{languagePackKey:"forms.errors.gift-code-already-redeemed",fallbackMessage:"Gift code already redeemed",displayOnElements:[rt]},[at.GIFT_CODE_SERVER_ERROR]:{languagePackKey:"forms.errors.gift-code-server-error",fallbackMessage:"Something went wrong with the gift code. Please try again later",displayOnElements:[rt]}},ct=(e,t)=>t.serverErrors.find((t=>st[t].displayOnElements?.includes(e)))??void 0,lt={PLAN_SELECT:{type:"plan_select",defaultLabel:"Plan Select",fullWidth:!0},EMAIL:{type:"email",defaultLabel:"Account Verification",completionEvent:nt.SECTION_EMAIL_COMPLETE},RECIPIENT_DETAILS:{type:"recipient_details",defaultLabel:"Recipient"},PASSWORD_SETUP:{type:"password_setup",defaultLabel:"Password Setup"},PASSWORDLESS_VIA_LOGIN_LINK:{type:"passwordless_login_via_link",defaultLabel:"Passwordless Login via Login Link"},VERIFICATION_CODE_LOGIN:{type:"verification_code_login",defaultLabel:""},VERIFICATION_CODE_REGISTRATION:{type:"verification_code_registration",defaultLabel:""},LOGIN_PASSWORD:{type:"login_password",defaultLabel:"Login"},REGISTRATION_CUSTOM:{type:"registration_custom",defaultLabel:""},FORGOT_PASSWORD:{type:"forgot_password",defaultLabel:"",completionEvent:nt.SECTION_FORGOT_PASSWORD_COMPLETE},PASSWORD_RESET:{type:"reset_password",defaultLabel:"",completionEvent:nt.SECTION_PASSWORD_RESET_COMPLETE},SUCCESS:{type:"success",defaultLabel:""},EMAIL_VERIFIED:{type:"email_verified",defaultLabel:""},READ_ONLY_PROFILE:{type:"read_only_profile",defaultLabel:"Read Only Profile"},UPDATE_EMAIL:{type:"update_email",defaultLabel:"Update Email"},UPDATE_PASSWORD:{type:"update_password",defaultLabel:"Update Password"},UPDATE_ATTRIBUTES:{type:"update_attributes",defaultLabel:"Update Attributes"},CHANGE_PAYMENT:{type:"change-payment",completionEvent:nt.PART_CHANGE_PAYMENT_COMPLETE,defaultLabel:""},SELECT:{type:"select",defaultLabel:"",fullWidth:!0},LIST:{type:"list",defaultLabel:"",fullWidth:!0},PAST_SUBSCRIPTIONS:{type:"past-subscriptions",defaultLabel:"",fullWidth:!0},GIFT_REDEMPTION:{type:"gift_redemption",defaultLabel:"Gift Code Redemption",completionEvent:nt.GIFT_REDEMPTION_COMPLETE},GIFT_REDEEMED:{type:"gift_redeemed",defaultLabel:"Gift Redeemed"}},ut=e=>Object.values(lt).find((t=>t.type==e));function dt(e,t,r){const n={event:t,formType:e.formType,formId:e.formId,ruleId:e.ruleId,outcomeId:e.outcomeId,...r};if(window.postMessage({"zephr-form-datalayer-event":n},window.origin),!e.organisationConfiguration.trackFormDataLayerEvents)return;const o=e.organisationConfiguration.dataLayerName||"dataLayer";window[o]=window[o]||[],window[o].push(n)}const pt=(e,t,r)=>{const n=((e,t)=>t.parts.flatMap((e=>e.sections.map((t=>({part:e,section:t}))))).find((t=>t.section.type===e)))(e,t);if(!n)throw`Cannot find section ${e}`;const o=r.getFormState();return Et({form:t,formActions:r,part:n.part,section:n.section,previousPart:o.currentPart,previousSection:o.currentSection}),Promise.resolve()},mt=(e,t,r)=>{if(t.environment.previewMode)return;const n=t.parts.find((t=>t.type==e)),o=r.getFormState();return Et({form:t,formActions:r,part:n,section:n.sections[0],previousPart:o.currentPart,previousSection:o.currentSection}),Promise.resolve()},ft=(e,t,r)=>{const n=t.sections.findIndex((t=>t.order==e.order));return t.sections.length>n+1?{section:t.sections[n+1],part:t}:((e,t)=>{const r=it(e.type);if(r){const n=t.parts.find((e=>it(e.type).order===r.order+1))??t.parts[t.parts.indexOf(e)+1];if(n)return{section:n.sections[0],part:n}}return null})(t,r)},ht=e=>e?.startsWith("custom_")?"registration_custom":e,yt=(e,t,r)=>t.sectionFlow.sectionVisibilities.find((t=>t.type===ht(e.type)))?.isVisible(t,r)??!0,gt=(e,t,r)=>{const n=t.sectionFlow.sectionVisibilities.find((t=>t.type===ht(e.type)));return(n?.isDisplayedInProgressBar&&yt(e,t,r))??!0},bt=(e,t,r)=>{if(e.environment.previewMode)return;let n=0,o={part:t.currentPart,section:t.currentSection};do{if(n++,n>50)throw new Error(`Cannot move from ${t.currentPart.type}:${t.currentSection.type}. \n Exceeded max loop size after ${o?.part?.type}:${o?.section?.type}\n `);const r=ft(o?.section,o?.part,e);if(r?.part.type===o?.part?.type&&r?.section.type===o?.section?.type&&r?.section.order===o?.section?.order)throw new Error(`Cannot move from ${t.currentPart.type}:${t.currentSection.type}. \n Infinte loop found at next section ${r?.part?.type}:${r?.section?.type}\n `);o=r}while(o&&!yt(o.section,e,t));if(!o||o.part!==t.currentPart){const n=it(t.currentPart.type),o=n?.completionEvent&&e.sectionFlow.eventHandlers[n.completionEvent];if(o)return o(e,t,r)}if(!o)throw"No next section";return Et({form:e,formActions:r,part:o.part,section:o.section,previousPart:t.currentPart,previousSection:t.currentSection}),Promise.resolve()},Pt=(e,t,r)=>{if(e.environment.previewMode)return;const n=ut(t.currentSection.type);return((n&&e.sectionFlow.eventHandlers[n.completionEvent])??bt)(e,t,r)},Et=({form:e,formActions:t,part:r,section:n,previousSection:o,previousPart:i})=>{t.updateFormState({currentPart:r,currentSection:n}),dt(e,"zephr_form_section_change",{sectionId:n.type,previousSectionId:o.type,partId:r.type,previousPartId:i.type}),(e=>{try{const t=document.getElementById(e);if(!t)return;const{top:r}=t.getBoundingClientRect();r<0&&t.scrollIntoView({block:"start",inline:"nearest"})}catch(e){console.error(e)}})(e.formId)};function At(e,t,r){const n=e.slice();n[7]=t[r];const o=!n[0]&&!n[7].isDisabled&&n[7].order<n[2].order;return n[8]=o,n}function St(e){let t,r,n,o=ne(e[3]),i=[];for(let t=0;t<o.length;t+=1)i[t]=Tt(At(e,o,t));return{c(){t=P("div");for(let e=0;e<i.length;e+=1)i[e].c();r=S(),n=P("progress"),_(t,"class","zephr-form-flex-container"),$(t,"zephr-payment-form-flex-container",e[1]),_(n,"class","zephr-form-progress-bar svelte-d78fa2"),_(n,"id","progress-bar"),_(n,"max","100"),n.value=e[4],$(n,"zephr-payment-form-progress-bar",e[1])},m(e,o){y(e,t,o);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);y(e,r,o),y(e,n,o)},p(e,r){if(15&r){let n;for(o=ne(e[3]),n=0;n<o.length;n+=1){const a=At(e,o,n);i[n]?i[n].p(a,r):(i[n]=Tt(a),i[n].c(),i[n].m(t,null))}for(;n<i.length;n+=1)i[n].d(1);i.length=o.length}2&r&&$(t,"zephr-payment-form-flex-container",e[1]),16&r&&(n.value=e[4]),2&r&&$(n,"zephr-payment-form-progress-bar",e[1])},d(e){e&&(g(t),g(r),g(n)),b(i,e)}}}function Ct(e){let t,r,n,o=e[7].label+"";return{c(){t=P("div"),r=A(o),n=S(),_(t,"class","zephr-progress-bar-step disabled svelte-d78fa2"),$(t,"zephr-payment-progress-bar-step",e[1])},m(e,o){y(e,t,o),h(t,r),h(t,n)},p(e,n){8&n&&o!==(o=e[7].label+"")&&w(r,o),2&n&&$(t,"zephr-payment-progress-bar-step",e[1])},d(e){e&&g(t)}}}function vt(e){let t,r,n,o,i,a=e[7].label+"";function s(){return e[6](e[7])}return{c(){t=P("button"),r=A(a),n=S(),_(t,"type","button"),_(t,"class","zephr-progress-bar-step svelte-d78fa2"),$(t,"zephr-payment-progress-bar-step",e[1])},m(e,a){y(e,t,a),h(t,r),h(t,n),o||(i=v(t,"click",T(s)),o=!0)},p(n,o){e=n,8&o&&a!==(a=e[7].label+"")&&w(r,a),2&o&&$(t,"zephr-payment-progress-bar-step",e[1])},d(e){e&&g(t),o=!1,i()}}}function Tt(e){let t;function r(e,t){return e[8]?vt:Ct}let n=r(e),o=n(e);return{c(){o.c(),t=C()},m(e,r){o.m(e,r),y(e,t,r)},p(e,i){n===(n=r(e))&&o?o.p(e,i):(o.d(1),o=n(e),o&&(o.c(),o.m(t.parentNode,t)))},d(e){e&&g(t),o.d(e)}}}function _t(t){let r,n=!isNaN(t[4]),o=n&&St(t);return{c(){o&&o.c(),r=C()},m(e,t){o&&o.m(e,t),y(e,r,t)},p(e,[t]){16&t&&(n=!isNaN(e[4])),n?o?o.p(e,t):(o=St(e),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},i:e,o:e,d(e){e&&g(r),o&&o.d(e)}}}function Ot(e,t,r){let n,o,i,{disabled:a}=t,{items:s}=t,{isPaymentForm:c=!1}=t;return e.$$set=e=>{"disabled"in e&&r(0,a=e.disabled),"items"in e&&r(5,s=e.items),"isPaymentForm"in e&&r(1,c=e.isPaymentForm)},e.$$.update=()=>{32&e.$$.dirty&&r(2,n=s.find((e=>e.isCurrent))),32&e.$$.dirty&&r(3,o=s.filter((e=>e.isVisible))),12&e.$$.dirty&&r(4,i=Math.floor(100/(o.length-1)*(n.isVisible?n.visibleOrder:Math.max.apply(Math,o.filter((e=>e.order<n.order)).map((e=>e.visibleOrder))))))},[a,c,n,o,i,s,e=>{e.onSelect()}]}class It extends de{constructor(e){super(),ue(this,e,Ot,_t,a,{disabled:0,items:5,isPaymentForm:1})}}var wt;!function(e){e.EMPTY="EMPTY",e.PAYMENT="PAYMENT",e.CHANGE_SUBSCRIPTION="CHANGE_SUBSCRIPTION",e.REGISTRATION="REGISTRATION",e.CONTACT="CONTACT",e.DATA_CAPTURE="DATA_CAPTURE",e.COMPLETE_REGISTRATION="COMPLETE_REGISTRATION",e.UPDATE_PROFILE="UPDATE_PROFILE",e.CANCEL_SUBSCRIPTION="CANCEL_SUBSCRIPTION",e.LIST_SUBSCRIPTIONS="LIST_SUBSCRIPTIONS",e.DEVICES="DEVICES",e.GIFT_SUBSCRIPTION="GIFT_SUBSCRIPTION",e.GIFT_REDEMPTION="GIFT_REDEMPTION"}(wt||(wt={}));const Rt=(e,t,r)=>{let n=0,o=0;return e.parts.flatMap((e=>e.sections.map((t=>({part:e,section:t}))))).map((({part:i,section:a})=>({type:a.type,isVisible:gt(a,e,t),label:a.label??i.label??ut(a.type)?.defaultLabel,isCurrent:t.currentSection==a,isDisabled:t.loginRegistrationComplete&&![ot.PLAN_SELECT.type].includes(i.type),order:n++,visibleOrder:gt(a,e,t)?o++:null,onSelect:()=>Et({form:e,formActions:r,part:i,section:a,previousSection:t.currentSection,previousPart:t.currentPart})})))},Mt={matches:e=>e.type===ge,create:(e,t,r)=>({component:It,props:{disabled:t.isBusy,items:Rt(e,t,r),isPaymentForm:e.formType===wt.PAYMENT}})},Nt=e=>e.typeConfiguration;function $t(t){let r,n,o,i,a,s,l,u,d,p,m,f;return{c(){r=P("script"),r.innerHTML="",o=P("script"),o.innerHTML="",a=P("script"),a.innerHTML="",l=P("script"),l.innerHTML="",d=S(),p=P("div"),m=S(),f=P("div"),f.innerHTML="",c(r.src,n="https://js.braintreegateway.com/web/3.85.3/js/google-payment.min.js")||_(r,"src","https://js.braintreegateway.com/web/3.85.3/js/google-payment.min.js"),c(o.src,i="https://pay.google.com/gp/p/js/pay.js")||_(o,"src","https://pay.google.com/gp/p/js/pay.js"),_(o,"onload","window.googlePayLoadBraintreeCallback()"),c(a.src,s="https://js.braintreegateway.com/web/3.85.3/js/client.min.js")||_(a,"src","https://js.braintreegateway.com/web/3.85.3/js/client.min.js"),_(a,"onload","window.braintreeLoadCallback()"),c(l.src,u="https://js.braintreegateway.com/web/3.85.3/js/apple-pay.min.js")||_(l,"src","https://js.braintreegateway.com/web/3.85.3/js/apple-pay.min.js"),_(l,"onload","window.applePayLoadBraintreeCallback()"),_(p,"id","google-pay-button"),_(p,"class","svelte-1acsmhs"),$(p,"zephr-form-disabled-div",t[0]),$(p,"zephr-payment-form-disabled-div",t[0]),_(f,"id","apple_pay_button")},m(e,t){h(document.head,r),h(document.head,o),h(document.head,a),h(document.head,l),y(e,d,t),y(e,p,t),y(e,m,t),y(e,f,t)},p(e,[t]){1&t&&$(p,"zephr-form-disabled-div",e[0]),1&t&&$(p,"zephr-payment-form-disabled-div",e[0])},i:e,o:e,d(e){e&&(g(d),g(p),g(m),g(f)),g(r),g(o),g(a),g(l)}}}function Lt(e,t,r){let{onMountCallback:n}=t,{isDisabled:o}=t,{disableCoreDependencyHeader:i}=t;return k(n),e.$$set=e=>{"onMountCallback"in e&&r(1,n=e.onMountCallback),"isDisabled"in e&&r(0,o=e.isDisabled),"disableCoreDependencyHeader"in e&&r(2,i=e.disableCoreDependencyHeader)},[o,n,i]}function xt(t){let r,n,o;return{c(){r=P("div"),n=P("div"),o=A(t[0]),_(n,"class","zephr-form-error-message svelte-719cfr"),_(n,"aria-live","assertive"),$(n,"zephr-payment-form-error-message",!t[1]),_(r,"class","zephr-form-error-message-min-height svelte-719cfr"),$(r,"zephr-payment-form-error-message-min-height",!t[1])},m(e,t){y(e,r,t),h(r,n),h(n,o)},p(e,[t]){1&t&&w(o,e[0]),2&t&&$(n,"zephr-payment-form-error-message",!e[1]),2&t&&$(r,"zephr-payment-form-error-message-min-height",!e[1])},i:e,o:e,d(e){e&&g(r)}}}function Ft(e,t,r){let{error:n}=t,{isPaymentForm:o=!1}=t;return e.$$set=e=>{"error"in e&&r(0,n=e.error),"isPaymentForm"in e&&r(1,o=e.isPaymentForm)},[n,o]}class zt extends de{constructor(e){super(),ue(this,e,Ft,xt,a,{error:0,isPaymentForm:1})}}function kt(e){let t,r,n,o,i,a,s;return a=new zt({props:{error:e[0]?.message??e[2]??"",isPaymentForm:!0}}),{c(){t=P("script"),t.innerHTML="",n=S(),o=P("div"),i=S(),ae(a.$$.fragment),c(t.src,r="https://js.braintreegateway.com/web/dropin/1.33.2/js/dropin.min.js")||_(t,"src","https://js.braintreegateway.com/web/dropin/1.33.2/js/dropin.min.js"),_(t,"onload","window.braintreeLoadCallback()"),_(o,"id","braintree-dropin-container"),_(o,"class","svelte-z7jd27"),$(o,"zephr-form-disabled-div",e[1]),$(o,"zephr-payment-form-disabled-div",e[1])},m(e,r){h(document.head,t),y(e,n,r),y(e,o,r),y(e,i,r),se(a,e,r),s=!0},p(e,[t]){(!s||2&t)&&$(o,"zephr-form-disabled-div",e[1]),(!s||2&t)&&$(o,"zephr-payment-form-disabled-div",e[1]);const r={};5&t&&(r.error=e[0]?.message??e[2]??""),a.$set(r)},i(e){s||(te(a.$$.fragment,e),s=!0)},o(e){re(a.$$.fragment,e),s=!1},d(e){e&&(g(n),g(o),g(i)),g(t),ce(a,e)}}}function Dt(e,t,r){let{onMountCallback:n}=t,{providerError:o}=t,{isDisabled:i}=t,{isLoaded:a}=t,{error:s=null}=t;return k(n),e.$$set=e=>{"onMountCallback"in e&&r(3,n=e.onMountCallback),"providerError"in e&&r(0,o=e.providerError),"isDisabled"in e&&r(1,i=e.isDisabled),"isLoaded"in e&&r(4,a=e.isLoaded),"error"in e&&r(2,s=e.error)},[o,i,s,n,a]}function Bt(e){let t,r,n,o,i,a,s;return a=new zt({props:{error:e[0]?.message??(e[2]?e[3]:"")??"",isPaymentForm:!0}}),{c(){t=P("script"),t.innerHTML="",n=S(),o=P("div"),i=S(),ae(a.$$.fragment),c(t.src,r="https://js.stripe.com/v3/")||_(t,"src","https://js.stripe.com/v3/"),_(t,"onload","window.stripeLoadCallback()"),_(o,"id","stripe-element"),_(o,"class","svelte-1lhuc6b"),$(o,"zephr-form-disabled-div",e[1]),$(o,"zephr-payment-form-disabled-div",e[1])},m(e,r){h(document.head,t),y(e,n,r),y(e,o,r),y(e,i,r),se(a,e,r),s=!0},p(e,[t]){(!s||2&t)&&$(o,"zephr-form-disabled-div",e[1]),(!s||2&t)&&$(o,"zephr-payment-form-disabled-div",e[1]);const r={};13&t&&(r.error=e[0]?.message??(e[2]?e[3]:"")??""),a.$set(r)},i(e){s||(te(a.$$.fragment,e),s=!0)},o(e){re(a.$$.fragment,e),s=!1},d(e){e&&(g(n),g(o),g(i)),g(t),ce(a,e)}}}function Ut(e,t,r){let{onMountCallback:n}=t,{providerError:o}=t,{isDisabled:i}=t,{isComplete:a}=t,{isLoaded:s}=t,{error:c=null}=t;return k(n),e.$$set=e=>{"onMountCallback"in e&&r(4,n=e.onMountCallback),"providerError"in e&&r(0,o=e.providerError),"isDisabled"in e&&r(1,i=e.isDisabled),"isComplete"in e&&r(2,a=e.isComplete),"isLoaded"in e&&r(5,s=e.isLoaded),"error"in e&&r(3,c=e.error)},[o,i,a,c,n,s]}function Gt(e){let t,r;return{c(){t=P("script"),t.innerHTML="",c(t.src,r="https://js.stripe.com/v3/")||_(t,"src","https://js.stripe.com/v3/"),_(t,"onload","window.stripeLoadCallback()")},m(e,r){y(e,t,r)},d(e){e&&g(t)}}}function Vt(t){let r,n,o,i,a,s=!t[1]&&Gt();return{c(){r=P("script"),r.innerHTML="",s&&s.c(),o=C(),i=S(),a=P("div"),c(r.src,n="https://pay.google.com/gp/p/js/pay.js")||_(r,"src","https://pay.google.com/gp/p/js/pay.js"),_(r,"onload","window.googlePayLoadStripeCallback()"),_(a,"id","stripe-mobile-pay-button"),_(a,"class","svelte-1t95nqv"),$(a,"zephr-form-disabled-div",t[0]),$(a,"zephr-payment-form-disabled-div",t[0])},m(e,t){h(document.head,r),s&&s.m(document.head,null),h(document.head,o),y(e,i,t),y(e,a,t)},p(e,[t]){e[1]?s&&(s.d(1),s=null):s||(s=Gt(),s.c(),s.m(o.parentNode,o)),1&t&&$(a,"zephr-form-disabled-div",e[0]),1&t&&$(a,"zephr-payment-form-disabled-div",e[0])},i:e,o:e,d(e){e&&(g(i),g(a)),g(r),s&&s.d(e),g(o)}}}function qt(e,t,r){let{onMountCallback:n}=t,{isDisabled:o}=t,{disableCoreDependencyHeader:i}=t;return k(n),e.$$set=e=>{"onMountCallback"in e&&r(2,n=e.onMountCallback),"isDisabled"in e&&r(0,o=e.isDisabled),"disableCoreDependencyHeader"in e&&r(1,i=e.disableCoreDependencyHeader)},[o,i,n]}var jt={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},Ht={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"]},Kt={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},Yt={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]};function Wt(e){let t,r,n,o,i,a,s;function c(e,t){return"string"==typeof e[16][4]?Qt:Jt}let l=c(e),u=l(e);return{c(){t=E("svg"),r=E("g"),n=E("g"),u.c(),_(n,"transform",e[15]),_(r,"transform",o="translate("+e[16][0]/2+" "+e[16][1]/2+")"),_(r,"transform-origin",i=e[16][0]/4+" 0"),_(t,"id",e[1]),_(t,"class",a="svelte-fa svelte-fa-base "+e[0]+" svelte-bvo74f"),_(t,"style",e[2]),_(t,"viewBox",s="0 0 "+e[16][0]+" "+e[16][1]),_(t,"aria-hidden","true"),_(t,"role","img"),_(t,"xmlns","http://www.w3.org/2000/svg"),$(t,"pulse",e[8]),$(t,"svelte-fa-size-lg","lg"===e[3]),$(t,"svelte-fa-size-sm","sm"===e[3]),$(t,"svelte-fa-size-xs","xs"===e[3]),$(t,"svelte-fa-fw",e[5]),$(t,"svelte-fa-pull-left","left"===e[6]),$(t,"svelte-fa-pull-right","right"===e[6]),$(t,"spin",e[7])},m(o,i){y(o,t,i),h(t,r),h(r,n),u.m(n,null),e[23](t)},p(e,d){l===(l=c(e))&&u?u.p(e,d):(u.d(1),u=l(e),u&&(u.c(),u.m(n,null))),32768&d&&_(n,"transform",e[15]),65536&d&&o!==(o="translate("+e[16][0]/2+" "+e[16][1]/2+")")&&_(r,"transform",o),65536&d&&i!==(i=e[16][0]/4+" 0")&&_(r,"transform-origin",i),2&d&&_(t,"id",e[1]),1&d&&a!==(a="svelte-fa svelte-fa-base "+e[0]+" svelte-bvo74f")&&_(t,"class",a),4&d&&_(t,"style",e[2]),65536&d&&s!==(s="0 0 "+e[16][0]+" "+e[16][1])&&_(t,"viewBox",s),257&d&&$(t,"pulse",e[8]),9&d&&$(t,"svelte-fa-size-lg","lg"===e[3]),9&d&&$(t,"svelte-fa-size-sm","sm"===e[3]),9&d&&$(t,"svelte-fa-size-xs","xs"===e[3]),33&d&&$(t,"svelte-fa-fw",e[5]),65&d&&$(t,"svelte-fa-pull-left","left"===e[6]),65&d&&$(t,"svelte-fa-pull-right","right"===e[6]),129&d&&$(t,"spin",e[7])},d(r){r&&g(t),u.d(),e[23](null)}}}function Jt(e){let t,r,n,o,i,a,s,c,l,u;return{c(){t=E("path"),a=E("path"),_(t,"d",r=e[16][4][0]),_(t,"fill",n=e[10]||e[4]||"currentColor"),_(t,"fill-opacity",o=0!=e[13]?e[11]:e[12]),_(t,"transform",i="translate("+e[16][0]/-2+" "+e[16][1]/-2+")"),_(a,"d",s=e[16][4][1]),_(a,"fill",c=e[9]||e[4]||"currentColor"),_(a,"fill-opacity",l=0!=e[13]?e[12]:e[11]),_(a,"transform",u="translate("+e[16][0]/-2+" "+e[16][1]/-2+")")},m(e,r){y(e,t,r),y(e,a,r)},p(e,d){65536&d&&r!==(r=e[16][4][0])&&_(t,"d",r),1040&d&&n!==(n=e[10]||e[4]||"currentColor")&&_(t,"fill",n),14336&d&&o!==(o=0!=e[13]?e[11]:e[12])&&_(t,"fill-opacity",o),65536&d&&i!==(i="translate("+e[16][0]/-2+" "+e[16][1]/-2+")")&&_(t,"transform",i),65536&d&&s!==(s=e[16][4][1])&&_(a,"d",s),528&d&&c!==(c=e[9]||e[4]||"currentColor")&&_(a,"fill",c),14336&d&&l!==(l=0!=e[13]?e[12]:e[11])&&_(a,"fill-opacity",l),65536&d&&u!==(u="translate("+e[16][0]/-2+" "+e[16][1]/-2+")")&&_(a,"transform",u)},d(e){e&&(g(t),g(a))}}}function Qt(e){let t,r,n,o;return{c(){t=E("path"),_(t,"d",r=e[16][4]),_(t,"fill",n=e[4]||e[9]||"currentColor"),_(t,"transform",o="translate("+e[16][0]/-2+" "+e[16][1]/-2+")")},m(e,r){y(e,t,r)},p(e,i){65536&i&&r!==(r=e[16][4])&&_(t,"d",r),528&i&&n!==(n=e[4]||e[9]||"currentColor")&&_(t,"fill",n),65536&i&&o!==(o="translate("+e[16][0]/-2+" "+e[16][1]/-2+")")&&_(t,"transform",o)},d(e){e&&g(t)}}}function Zt(t){let r,n=t[16][4]&&Wt(t);return{c(){n&&n.c(),r=C()},m(e,t){n&&n.m(e,t),y(e,r,t)},p(e,[t]){e[16][4]?n?n.p(e,t):(n=Wt(e),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i:e,o:e,d(e){e&&g(r),n&&n.d(e)}}}function Xt(e,t,r){let n,o,i,{class:a}=t,{id:s}=t,{style:c}=t,{icon:l}=t,{size:u}=t,{color:d}=t,{fw:p=!1}=t,{pull:m}=t,{scale:f=1}=t,{translateX:h=0}=t,{translateY:y=0}=t,{rotate:g}=t,{flip:b}=t,{spin:P=!1}=t,{pulse:E=!1}=t,{primaryColor:A=""}=t,{secondaryColor:S=""}=t,{primaryOpacity:C=1}=t,{secondaryOpacity:v=.4}=t,{swapOpacity:T=!1}=t;return e.$$set=e=>{"class"in e&&r(0,a=e.class),"id"in e&&r(1,s=e.id),"style"in e&&r(2,c=e.style),"icon"in e&&r(17,l=e.icon),"size"in e&&r(3,u=e.size),"color"in e&&r(4,d=e.color),"fw"in e&&r(5,p=e.fw),"pull"in e&&r(6,m=e.pull),"scale"in e&&r(18,f=e.scale),"translateX"in e&&r(19,h=e.translateX),"translateY"in e&&r(20,y=e.translateY),"rotate"in e&&r(21,g=e.rotate),"flip"in e&&r(22,b=e.flip),"spin"in e&&r(7,P=e.spin),"pulse"in e&&r(8,E=e.pulse),"primaryColor"in e&&r(9,A=e.primaryColor),"secondaryColor"in e&&r(10,S=e.secondaryColor),"primaryOpacity"in e&&r(11,C=e.primaryOpacity),"secondaryOpacity"in e&&r(12,v=e.secondaryOpacity),"swapOpacity"in e&&r(13,T=e.swapOpacity)},e.$$.update=()=>{16392&e.$$.dirty&&i&&u&&function(e,t){e.style.fontSize=t&&"lg"!==t&&"sm"!==t&&"xs"!==t?t.replace("x","em"):""}(i,u),131072&e.$$.dirty&&r(16,n=l&&l.icon||[0,0,"",[],""]),8126464&e.$$.dirty&&r(15,o=function(e,t,r,n,o,i=1,a="",s=""){let c=1,l=1;o&&("horizontal"==o?c=-1:"vertical"==o?l=-1:c=l=-1),"string"==typeof e&&(e=parseFloat(e)),"string"==typeof t&&(t=parseFloat(t)),"string"==typeof r&&(r=parseFloat(r));let u=`translate(${t*i}${a},${r*i}${a}) scale(${c*e},${l*e})`;return n&&(u+=` rotate(${n}${s})`),u}(f,h,y,g,b,512))},[a,s,c,u,d,p,m,P,E,A,S,C,v,T,i,o,n,l,f,h,y,g,b,function(e){U[e?"unshift":"push"]((()=>{i=e,r(14,i)}))}]}class er extends de{constructor(e){super(),ue(this,e,Xt,Zt,a,{class:0,id:1,style:2,icon:17,size:3,color:4,fw:5,pull:6,scale:18,translateX:19,translateY:20,rotate:21,flip:22,spin:7,pulse:8,primaryColor:9,secondaryColor:10,primaryOpacity:11,secondaryOpacity:12,swapOpacity:13})}}function tr(t){let r,n,o;return n=new er({props:{size:"2x",icon:Ht,spin:!0}}),{c(){r=P("div"),ae(n.$$.fragment),_(r,"class","spinner-container svelte-1isq5k3")},m(e,t){y(e,r,t),se(n,r,null),o=!0},p:e,i(e){o||(te(n.$$.fragment,e),o=!0)},o(e){re(n.$$.fragment,e),o=!1},d(e){e&&g(r),ce(n)}}}class rr extends de{constructor(e){super(),ue(this,e,null,tr,a,{})}}function nr(e){let t,r;return t=new rr({}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function or(e){let t,r,n;return r=new rr({}),{c(){t=P("div"),ae(r.$$.fragment),_(t,"class","spinner-overlay svelte-1a5rslt")},m(e,o){y(e,t,o),se(r,t,null),n=!0},i(e){n||(te(r.$$.fragment,e),n=!0)},o(e){re(r.$$.fragment,e),n=!1},d(e){e&&g(t),ce(r)}}}function ir(e){let t,r,n,o,i,a,s,c,l,u,d,p=!e[2]&&nr(),m=e[3]&&or();return u=new zt({props:{error:e[1]?.message??e[4]??"",isPaymentForm:!0}}),{c(){p&&p.c(),t=S(),r=P("div"),m&&m.c(),n=S(),o=P("div"),s=S(),c=P("div"),l=S(),ae(u.$$.fragment),_(o,"id","zuora_payment"),_(o,"class",i=f(e[0]?"zuora-disabled-iframe-container zuora-dynamic-form-disabled":"")+" svelte-1a5rslt"),_(r,"class",a=f(e[3]?"zuora-dynamic-form-disabled form-wrapper":"form-wrapper")+" svelte-1a5rslt"),_(c,"id","core-style")},m(e,i){p&&p.m(e,i),y(e,t,i),y(e,r,i),m&&m.m(r,null),h(r,n),h(r,o),y(e,s,i),y(e,c,i),y(e,l,i),se(u,e,i),d=!0},p(e,[s]){e[2]?p&&(X(),re(p,1,1,(()=>{p=null})),ee()):p?4&s&&te(p,1):(p=nr(),p.c(),te(p,1),p.m(t.parentNode,t)),e[3]?m?8&s&&te(m,1):(m=or(),m.c(),te(m,1),m.m(r,n)):m&&(X(),re(m,1,1,(()=>{m=null})),ee()),(!d||1&s&&i!==(i=f(e[0]?"zuora-disabled-iframe-container zuora-dynamic-form-disabled":"")+" svelte-1a5rslt"))&&_(o,"class",i),(!d||8&s&&a!==(a=f(e[3]?"zuora-dynamic-form-disabled form-wrapper":"form-wrapper")+" svelte-1a5rslt"))&&_(r,"class",a);const c={};18&s&&(c.error=e[1]?.message??e[4]??""),u.$set(c)},i(e){d||(te(p),te(m),te(u.$$.fragment,e),d=!0)},o(e){re(p),re(m),re(u.$$.fragment,e),d=!1},d(e){e&&(g(t),g(r),g(s),g(c),g(l)),p&&p.d(e),m&&m.d(),ce(u,e)}}}function ar(e,t,r){let{onMountCallback:n}=t,{isDisabled:o}=t,{providerError:i}=t,{isLoaded:a}=t,{isBusy:s}=t,{error:c=null}=t;return k(n),e.$$set=e=>{"onMountCallback"in e&&r(5,n=e.onMountCallback),"isDisabled"in e&&r(0,o=e.isDisabled),"providerError"in e&&r(1,i=e.providerError),"isLoaded"in e&&r(2,a=e.isLoaded),"isBusy"in e&&r(3,s=e.isBusy),"error"in e&&r(4,c=e.error)},[o,i,a,s,c,n]}function sr(t){let r,n;return{c(){r=P("script"),r.innerHTML="",_(r,"type","text/javascript"),c(r.src,n="https://static.zuora.com/Resources/libs/hosted/1.3.1/zuora-min.js")||_(r,"src","https://static.zuora.com/Resources/libs/hosted/1.3.1/zuora-min.js"),_(r,"onload","window.zuoraLoadCallback()")},m(e,t){h(document.head,r)},p:e,i:e,o:e,d(e){g(r)}}}function cr(e,t,r){let{onMountCallback:n}=t;return k(n),e.$$set=e=>{"onMountCallback"in e&&r(0,n=e.onMountCallback)},[n]}class lr extends de{constructor(e){super(),ue(this,e,cr,sr,a,{onMountCallback:0})}}const ur="braintree",dr="stripe",pr="zuora-billing",mr=new Headers;mr.append("Content-Type","application/json"),mr.append("Accept","application/json");const fr=async(e,t,r,n=null,o=!1)=>{o||r.updateFormState({serverErrors:[]}),r.incrementRequestCount(n);try{return await fetch(`${r.apiUrlBase}/${e}`,{method:t.method,body:null==t.bodyObject?void 0:JSON.stringify(t.bodyObject),headers:mr,credentials:"include"})}finally{r.decrementRequestCount(n)}},hr=e=>"ONE_OFF"===e.type,yr=(e,t,r,n)=>{if(t.paymentOption.pricePointId)return{url:`blaize/payment/${r}/buy`,body:{product_id:t.paymentOption.productId,price_point_id:t.paymentOption.slug,discount_code:t.promoCodeValid?t.promoCode:void 0,...n}};let o,i,a={};if(Nt(e).changeSubscriptionMode){o=`subscriptions/${t.validChangeFromPlans.find((e=>t.paymentOption.slug===e.planSlug&&t.paymentOption.productId===e.productId)).changesFromSubscription.externalId}`,i="PATCH",a={navigated_from:`ChangeForm ${window.location.href}`}}else hr(t.paymentOption)?(o="payment/buy",i="POST"):(o="subscribe",i="POST");return{url:`zephr/${o}`,method:i,body:{product_id:t.paymentOption.productId,plan_id:t.paymentOption.slug,discount_code:t.promoCodeValid?t.promoCode:void 0,...a,vendor_fields:n??{}}}};let gr;const br=new Promise((function(e){window.braintreeLoadCallback=e})),Pr=e=>({flow:"ONE_OFF"===e.paymentOption.type?"checkout":"vault",singleUse:!0,buttonStyle:{shape:"rect",size:"medium"},commit:!1,currency:e.paymentOption.currencyCode.toLowerCase(),amount:e.paymentOptionPrices.totalPrice}),Er=(e,t)=>fr("blaize/payment/braintree/token",{method:"GET"},t,null,!0).then((e=>e.json())).then((e=>e.token));var Ar;!function(e){e.GOOGLE_PAY="GOOGLE_PAY",e.APPLE_PAY="APPLE_PAY"}(Ar||(Ar={}));const Sr=new Promise((function(e){window.googlePayLoadBraintreeCallback=e})),Cr=new Promise((function(e){window.applePayLoadBraintreeCallback=e})),vr=(e,t,r)=>{const n=JSON.parse(e.organisationConfiguration?.braintreeMobilePaymentConfig??"{}");let o;return Sr.then((()=>{const i=document.getElementById("google-pay-button");for(;i.firstChild;)i.removeChild(i.lastChild);if(!n?.google)return i.style.display="none",void console.error("Braintree Mobile payments are not configured in the console");t=r.getFormState(),o=new window.google.payments.api.PaymentsClient({environment:e.organisationConfiguration.braintreeSandboxEnv?"TEST":"PRODUCTION"}),br.then((()=>Er(0,r))).then((a=>{window.braintree.client.create({authorization:a},((a,s)=>{for(;i.firstChild;)i.removeChild(i.lastChild);if(a)return console.error("Error creating braintree client",a),void(i.style.display="none");window.braintree.googlePayment.create({client:s,googlePayVersion:2,googleMerchantId:n.google.googleMerchantId},((n,a)=>{if(n)return console.error("Error creating braintree client",n),void(i.style.display="none");o.isReadyToPay({apiVersion:2,apiVersionMinor:0,allowedPaymentMethods:a.createPaymentDataRequest().allowedPaymentMethods,existingPaymentMethodRequired:!0}).then((n=>{n.result&&n.paymentMethodPresent||(i.style.display="none",console.error(n.paymentMethodPresent?"Google Pay support not found":"No payment method"),r.updateFormState({serverErrors:[at.MOBILE_PAYMENT_PROCESSING_ERROR]}),dt(e,"zephr_form_error",{error:at[at.MOBILE_PAYMENT_PROCESSING_ERROR]})),i.appendChild(o.createButton({buttonColor:"default",buttonType:"plain",buttonSizeMode:"fill",onClick:()=>{Tr(e,t,r,a,o)}}))}))}))}))}))}))},Tr=(e,t,r,n,o)=>{r.updateFormState({mobilePaymentService:Ar.GOOGLE_PAY,serverErrors:[]});const i=n.createPaymentDataRequest({transactionInfo:{currencyCode:t.paymentOption.currencyCode,totalPriceStatus:"FINAL",totalPrice:t.paymentOptionPrices.totalPrice.toFixed(2)},emailRequired:!1,shippingAddressRequired:!1});o.loadPaymentData(i).then((function(t){n.parseResponse(t,((t,n)=>{if(t||!n.nonce)return r.updateFormState({serverErrors:[at.MOBILE_PAYMENT_PROCESSING_ERROR],mobilePaymentService:null}),console.error("Error requesting payment data",t,n),void dt(e,"zephr_form_error",{error:at[at.MOBILE_PAYMENT_PROCESSING_ERROR]});r.updateFormState({mobilePaymentMethodId:n.nonce}),r.completeSection()}))})).catch((function(t){console.warn("Error requesting payment data",t),r.updateFormState({mobilePaymentService:null,serverErrors:[at.MOBILE_PAYMENT_PROCESSING_ERROR]}),dt(e,"zephr_form_error",{error:at[at.MOBILE_PAYMENT_PROCESSING_ERROR]})}))},_r=(e,t,r)=>{const n=document.getElementById("apple_pay_button");for(;n.firstChild;)n.removeChild(n.lastChild);return Cr.then((()=>window.ApplePaySession&&window.ApplePaySession.supportsVersion(3)&&window.ApplePaySession.canMakePayments()?br.then((()=>Er(0,r))).then((o=>{window.braintree.client.create({authorization:o},((o,i)=>{if(o)return n.style.display="none",void console.error("Error creating braintree client:",o);window.braintree.applePay.create({client:i},(function(o,i){for(;n.firstChild;)n.removeChild(n.lastChild);if(o)return n.style.display="none",void console.error("Error creating applePayInstance:",o);const a=i.createPaymentRequest({total:{label:t.paymentOption.label,amount:t.paymentOptionPrices.totalPrice.toFixed(2)}}),s=document.createElement("div");s.classList.add("apple-pay-button"),s.classList.add("apple-pay-button-black"),n.appendChild(s),s.addEventListener("click",(function(){Or(e,t,r,a,i)}))}))}))})):(n.style.display="none",void console.log("Cannot make payments with Apple Pay"))))},Or=(e,t,r,n,o)=>{r.updateFormState({mobilePaymentService:Ar.APPLE_PAY,serverErrors:[]});const i=new ApplePaySession(3,n);i.onvalidatemerchant=function(n){o.performValidation({validationURL:n.validationURL,displayName:t.paymentOption.label},(function(t,n){if(t)return r.updateFormState({serverErrors:[at.MOBILE_PAYMENT_PROCESSING_ERROR],mobilePaymentService:null}),console.log("err in onvalidatemerchant in apple pay configuration: ",t),void dt(e,"zephr_form_error",{error:at[at.MOBILE_PAYMENT_PROCESSING_ERROR]});i.completeMerchantValidation(n)}))},i.onpaymentauthorized=function(t){o.tokenize({token:t.payment.token},(function(t,n){if(t)return r.updateFormState({serverErrors:[at.MOBILE_PAYMENT_PROCESSING_ERROR],mobilePaymentService:null}),console.error("Error tokenizing Apple Pay:",t),dt(e,"zephr_form_error",{error:at[at.MOBILE_PAYMENT_PROCESSING_ERROR]}),void i.completePayment(ApplePaySession.STATUS_FAILURE);r.updateFormState({mobilePaymentMethodId:n.nonce}),r.completeSection(),i.completePayment(ApplePaySession.STATUS_SUCCESS)}))},i.begin()},Ir=["BIF","CLP","DJF","GNF","JPY","KMF","KRW","MGA","PYG","RWF","UGX","VND","VUV","XAF","XOF","XPF"],wr=e=>Ir.includes(e),Rr=e=>{const t=JSON.parse(e??"{}");return{variables:{color:t?.color?.text?.main??"#32325d",fontFamily:`${t?.typography?.body?.font}, ${t?.typography?.body?.fallbackFont}, "Helvetica Neue", Helvetica, sans-serif`,fontSmooth:"always",fontSizeBase:"16px",colorWarningText:t?.color?.warning?.main??"#fa755a",colorIconCardError:t?.color?.warning?.main??"#fa755a",borderRadius:`${t?.input?.borderRadius??"4"}px`},rules:{".Input::placeholder":{color:"#aab7c4"}}}},Mr={base:{color:"#32325d",fontFamily:'"Helvetica Neue", Helvetica, sans-serif',fontSmoothing:"antialiased",fontSize:"16px","::placeholder":{color:"#aab7c4"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}},Nr=(e,t,r)=>t.organisationConfiguration.stripeAutomaticTaxEnabled&&t.formType!==wt.LIST_SUBSCRIPTIONS||Nt(t).paymentProviderFormConfig?.usePaymentElement?((e,t,r)=>{const n=r.getFormState(),o=wr(n.paymentOption.currencyCode.toUpperCase())?1:100;return e.elements({mode:"payment",currency:n.paymentOption.currencyCode.toLowerCase(),amount:parseFloat((n.paymentOptionPrices.totalPrice*o).toFixed(2)),setup_future_usage:"off_session",appearance:Rr(t.organisationConfiguration.siteStyles),paymentMethodTypes:["card"]}).create("payment",{terms:{card:"never"},wallets:{applePay:"never",googlePay:"never"}})})(e,t,r):(e=>e.elements().create("card",{style:Mr}))(e);
/*!
* mustache.js - Logic-less {{mustache}} templates with JavaScript
* http://github.com/janl/mustache.js
*/
var $r=Object.prototype.toString,Lr=Array.isArray||function(e){return"[object Array]"===$r.call(e)};function xr(e){return"function"==typeof e}function Fr(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function zr(e,t){return null!=e&&"object"==typeof e&&t in e}var kr=RegExp.prototype.test;var Dr=/\S/;function Br(e){return!function(e,t){return kr.call(e,t)}(Dr,e)}var Ur={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};var Gr=/\s*/,Vr=/\s+/,qr=/\s*=/,jr=/\s*\}/,Hr=/#|\^|\/|>|\{|&|=|!/;function Kr(e){this.string=e,this.tail=e,this.pos=0}function Yr(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function Wr(){this.templateCache={_cache:{},set:function(e,t){this._cache[e]=t},get:function(e){return this._cache[e]},clear:function(){this._cache={}}}}Kr.prototype.eos=function(){return""===this.tail},Kr.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var r=t[0];return this.tail=this.tail.substring(r.length),this.pos+=r.length,r},Kr.prototype.scanUntil=function(e){var t,r=this.tail.search(e);switch(r){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=t.length,t},Yr.prototype.push=function(e){return new Yr(e,this)},Yr.prototype.lookup=function(e){var t,r,n,o=this.cache;if(o.hasOwnProperty(e))t=o[e];else{for(var i,a,s,c=this,l=!1;c;){if(e.indexOf(".")>0)for(i=c.view,a=e.split("."),s=0;null!=i&&s<a.length;)s===a.length-1&&(l=zr(i,a[s])||(r=i,n=a[s],null!=r&&"object"!=typeof r&&r.hasOwnProperty&&r.hasOwnProperty(n))),i=i[a[s++]];else i=c.view[e],l=zr(c.view,e);if(l){t=i;break}c=c.parent}o[e]=t}return xr(t)&&(t=t.call(this.view)),t},Wr.prototype.clearCache=function(){void 0!==this.templateCache&&this.templateCache.clear()},Wr.prototype.parse=function(e,t){var r=this.templateCache,n=e+":"+(t||Jr.tags).join(":"),o=void 0!==r,i=o?r.get(n):void 0;return null==i&&(i=function(e,t){if(!e)return[];var r,n,o,i=!1,a=[],s=[],c=[],l=!1,u=!1,d="",p=0;function m(){if(l&&!u)for(;c.length;)delete s[c.pop()];else c=[];l=!1,u=!1}function f(e){if("string"==typeof e&&(e=e.split(Vr,2)),!Lr(e)||2!==e.length)throw new Error("Invalid tags: "+e);r=new RegExp(Fr(e[0])+"\\s*"),n=new RegExp("\\s*"+Fr(e[1])),o=new RegExp("\\s*"+Fr("}"+e[1]))}f(t||Jr.tags);for(var h,y,g,b,P,E,A=new Kr(e);!A.eos();){if(h=A.pos,g=A.scanUntil(r))for(var S=0,C=g.length;S<C;++S)Br(b=g.charAt(S))?(c.push(s.length),d+=b):(u=!0,i=!0,d+=" "),s.push(["text",b,h,h+1]),h+=1,"\n"===b&&(m(),d="",p=0,i=!1);if(!A.scan(r))break;if(l=!0,y=A.scan(Hr)||"name",A.scan(Gr),"="===y?(g=A.scanUntil(qr),A.scan(qr),A.scanUntil(n)):"{"===y?(g=A.scanUntil(o),A.scan(jr),A.scanUntil(n),y="&"):g=A.scanUntil(n),!A.scan(n))throw new Error("Unclosed tag at "+A.pos);if(P=">"==y?[y,g,h,A.pos,d,p,i]:[y,g,h,A.pos],p++,s.push(P),"#"===y||"^"===y)a.push(P);else if("/"===y){if(!(E=a.pop()))throw new Error('Unopened section "'+g+'" at '+h);if(E[1]!==g)throw new Error('Unclosed section "'+E[1]+'" at '+h)}else"name"===y||"{"===y||"&"===y?u=!0:"="===y&&f(g)}if(m(),E=a.pop())throw new Error('Unclosed section "'+E[1]+'" at '+A.pos);return function(e){for(var t,r=[],n=r,o=[],i=0,a=e.length;i<a;++i)switch((t=e[i])[0]){case"#":case"^":n.push(t),o.push(t),n=t[4]=[];break;case"/":o.pop()[5]=t[2],n=o.length>0?o[o.length-1][4]:r;break;default:n.push(t)}return r}(function(e){for(var t,r,n=[],o=0,i=e.length;o<i;++o)(t=e[o])&&("text"===t[0]&&r&&"text"===r[0]?(r[1]+=t[1],r[3]=t[3]):(n.push(t),r=t));return n}(s))}(e,t),o&&r.set(n,i)),i},Wr.prototype.render=function(e,t,r,n){var o=this.getConfigTags(n),i=this.parse(e,o),a=t instanceof Yr?t:new Yr(t,void 0);return this.renderTokens(i,a,r,e,n)},Wr.prototype.renderTokens=function(e,t,r,n,o){for(var i,a,s,c="",l=0,u=e.length;l<u;++l)s=void 0,"#"===(a=(i=e[l])[0])?s=this.renderSection(i,t,r,n,o):"^"===a?s=this.renderInverted(i,t,r,n,o):">"===a?s=this.renderPartial(i,t,r,o):"&"===a?s=this.unescapedValue(i,t):"name"===a?s=this.escapedValue(i,t,o):"text"===a&&(s=this.rawValue(i)),void 0!==s&&(c+=s);return c},Wr.prototype.renderSection=function(e,t,r,n,o){var i=this,a="",s=t.lookup(e[1]);if(s){if(Lr(s))for(var c=0,l=s.length;c<l;++c)a+=this.renderTokens(e[4],t.push(s[c]),r,n,o);else if("object"==typeof s||"string"==typeof s||"number"==typeof s)a+=this.renderTokens(e[4],t.push(s),r,n,o);else if(xr(s)){if("string"!=typeof n)throw new Error("Cannot use higher-order sections without the original template");null!=(s=s.call(t.view,n.slice(e[3],e[5]),(function(e){return i.render(e,t,r,o)})))&&(a+=s)}else a+=this.renderTokens(e[4],t,r,n,o);return a}},Wr.prototype.renderInverted=function(e,t,r,n,o){var i=t.lookup(e[1]);if(!i||Lr(i)&&0===i.length)return this.renderTokens(e[4],t,r,n,o)},Wr.prototype.indentPartial=function(e,t,r){for(var n=t.replace(/[^ \t]/g,""),o=e.split("\n"),i=0;i<o.length;i++)o[i].length&&(i>0||!r)&&(o[i]=n+o[i]);return o.join("\n")},Wr.prototype.renderPartial=function(e,t,r,n){if(r){var o=this.getConfigTags(n),i=xr(r)?r(e[1]):r[e[1]];if(null!=i){var a=e[6],s=e[5],c=e[4],l=i;0==s&&c&&(l=this.indentPartial(i,c,a));var u=this.parse(l,o);return this.renderTokens(u,t,r,l,n)}}},Wr.prototype.unescapedValue=function(e,t){var r=t.lookup(e[1]);if(null!=r)return r},Wr.prototype.escapedValue=function(e,t,r){var n=this.getConfigEscape(r)||Jr.escape,o=t.lookup(e[1]);if(null!=o)return"number"==typeof o&&n===Jr.escape?String(o):n(o)},Wr.prototype.rawValue=function(e){return e[1]},Wr.prototype.getConfigTags=function(e){return Lr(e)?e:e&&"object"==typeof e?e.tags:void 0},Wr.prototype.getConfigEscape=function(e){return e&&"object"==typeof e&&!Lr(e)?e.escape:void 0};var Jr={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){Qr.templateCache=e},get templateCache(){return Qr.templateCache}},Qr=new Wr;Jr.clearCache=function(){return Qr.clearCache()},Jr.parse=function(e,t){return Qr.parse(e,t)},Jr.render=function(e,t,r,n){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+((Lr(o=e)?"array":typeof o)+'" was given as the first argument for mustache#render(template, view, partials)'));var o;return Qr.render(e,t,r,n)},Jr.escape=function(e){return String(e).replace(/[&<>"'`=\/]/g,(function(e){return Ur[e]}))},Jr.Scanner=Kr,Jr.Context=Yr,Jr.Writer=Wr;const Zr=(e,t)=>Jr.render(e,t),Xr=async e=>{try{return await fr("blaize/profile",{method:"GET"},e).then((e=>e.json()))}catch(e){return console.error("Failed to fetch user attributes:",e),{}}},en=async e=>{try{const t=await fr("zephr/public/sessions/v1/sessions",{method:"GET"},e,null,!0);return await t.json()}catch(e){return console.error("Failed to fetch sessions:",e),[]}},tn=()=>{const e=new URLSearchParams(window.location.search);return{source:e.get("utm_source"),medium:e.get("utm_medium"),campaign:e.get("utm_campaign"),term:e.get("utm_term"),content:e.get("utm_content")}},rn=async(e,t)=>{try{const[r,n]=await Promise.all([en(t),Xr(t)]),o=r.find((e=>e.requestingSession))||null;return{page:{url:window.location.href,path:window.location.pathname,searchParameters:Object.fromEntries(new URLSearchParams(window.location.search)),utmParameters:tn(),referrer:document.referrer||null},user:{attributes:n,session:o?{id:o.id,tenantId:o.tenantId,userId:o.userId,deviceName:o.deviceName,browser:o.browser,startDate:o.startDate,ipAddress:o.ipAddress??null,requestingSession:o.requestingSession}:null,geoLocation:{city:o?.city??"unknown",country:o?.country??"unknown",state:o?.geoState??"unknown",ipAddress:o?.ipAddress??null}},form:{id:e.id,outcomeId:e.outcomeId,ruleId:e.ruleId}}}catch(e){throw console.error("Failed to initialize subscription scope:",e),e}};let nn,on,an;const sn=e=>nn||(nn=new Promise((function(e){window.stripeLoadCallback=e})).then((()=>(e=>fr("blaize/payment/stripe/publicKey",{method:"GET"},e,null,!0).then((e=>e.text())))(e))).then((e=>(on=window.Stripe(e),on)))),cn=(e,t,r)=>{const n=t.paymentMethodId;return r.incrementRequestCount(),n?un(e,t,r,n):on.createPaymentMethod("card",an,{}).then((async({error:n,paymentMethod:o})=>{if(n||!o)throw r.decrementRequestCount(),`Error requesting payment method ${JSON.stringify(n)}`;await un(e,t,r,o.id)}))},ln=(e,t,r,n)=>fr("zephr/payment/stripe/updateSubscription",{method:"POST",bodyObject:{payment_method_id:n,subscription_id:t.selectedSubscription.externalId}},r),un=async(e,t,r,n)=>{const o=Nt(e).paymentProviderFormConfig?.subscriptionMetadata||{},i={};if(o){const t=await rn(e,r);for(const[e,r]of Object.entries(o))i[e]=Zr(r,t)||""}const a=!!Object.keys(i).length,{url:s,body:c,method:l}=yr(e,t,dr,{payment_method:n,billing_address_provided:!!t.billingAddress.country,...a?{subscription_metadata:JSON.stringify(i)}:{}});return fr(s,{method:l,bodyObject:c},r).then((async e=>{if(!e?.ok)throw JSON.stringify(e);return e.json()})).then((o=>{if(!o.grant_id){if("requires_action"===o.paymentIntentStatus)return on.confirmCardPayment(o.clientSecret??o.client_secret).then((s=>{if(s.error||!s.paymentIntent)throw`Error requesting payment method ${JSON.stringify(s)}`;if(hr(t.paymentOption)&&o.payment_intent_id){const{url:s,body:c,method:l}=yr(e,t,dr,{payment_method:n,billing_address_provided:!!t.billingAddress.country,payment_intent_id:o.payment_intent_id,...a?{subscription_metadata:JSON.stringify(i)}:{}});return fr(s,{method:l,bodyObject:c},r).then((e=>{if(!e?.ok)throw e}))}return fr("blaize/payment/stripe/subscription/confirmation",{method:"POST",bodyObject:{subscriptionId:o.subscriptionId}},r).then((e=>{if(!e?.ok)throw e}))}));throw JSON.stringify(o)}})).catch((e=>{throw console.error(e),e})).finally((()=>{r.decrementRequestCount()}))},dn=new Promise((function(e){window.googlePayLoadStripeCallback=e})),pn=async(e,t,r,n,o,i)=>{if(o.googlePay?t.updateFormState({mobilePaymentService:Ar.GOOGLE_PAY,serverErrors:[]}):o.applePay&&t.updateFormState({mobilePaymentService:Ar.APPLE_PAY,serverErrors:[]}),!n)return n.complete("fail"),t.updateFormState({serverErrors:[at.MOBILE_PAYMENT_PROCESSING_ERROR]}),void dt(i,"zephr_form_error",{error:at[at.MOBILE_PAYMENT_PROCESSING_ERROR]});const a=n.paymentMethod.billing_details.address;if(i.organisationConfiguration.stripeAutomaticTaxEnabled&&(e=await lo(i,t.updateFormState({billingAddress:{country:a.country,postalCode:a.postal_code}}),t)),e=t.updateFormState({paymentMethodId:n.paymentMethod.id}),n.complete("success"),e.paymentOptionPrices.taxPrice||!e.canAttemptSectionCompletion){const t=e.elementValidity.find((e=>!e.isValid&&"payment"!=e.elementType))?.elementId,r=t?document.getElementById(`zephr-form-${t}`):document.getElementsByClassName("zephr-form-button")[0];r?.scrollIntoView({block:"center"})}else t.completeSection()},mn=1e-5,fn=(e,t)=>{try{if(3===t?.length){const r=((e,t)=>new Intl.NumberFormat(void 0,{style:"currency",currency:t,minimumFractionDigits:Math.abs(e)%1<mn?0:void 0,maximumFractionDigits:Math.abs(e)%1<mn?0:2}).format(e))(e,t);if(!r.includes("¤"))return r}}catch(e){console.warn(`Error formatting currency for symbol ${t}`,e)}return((e,t)=>1===t?.length?`${t}${e}`:`${e} ${t}`.trim())(e,t)},hn=async(e,t,r,n=!1)=>{const o=so(e.organisationConfiguration.paymentProvider);return o.hasProductAddons&&(t.loginRegistrationComplete||t.userSession)?fr(o.productAddonPath,{method:"POST",bodyObject:{promoCode:t.promoCodeValid?t.promoCode:null,paymentOptions:Nt(e).paymentOptions}},r,null,!0).then((async n=>{if(!n.ok)return console.log("error loading product addons",n),dt(e,"zephr_form_error",{error:at[at.UNKNOWN]}),r.updateFormState({addons:[],serverErrors:[at.UNKNOWN]});const o=await n.json();try{const e=o.map((e=>({id:e.id,label:e.label,planPrices:e.paymentOptions.map((e=>({planSlug:e.slug,productId:e.productId,addonPrice:e.addonPrice})))})));return r.updateFormState({addons:e})}catch(e){return console.error("Error parsing product addons response",e,o),t}})).then((async t=>(n||await yn(e,t,r),t))):Promise.resolve(t)},yn=async(e,t,r)=>{if(t.currentSection.elements.some((e=>e.type===xe&&!1!==e.config?.enabled))){r.incrementRequestCount();try{await co(e.organisationConfiguration.paymentProvider).loader(e,t,r)}finally{r.decrementRequestCount()}}},gn=e=>e.addons.map((t=>{const r=t.planPrices.find((t=>t.planSlug===e.paymentOption.slug&&t.productId===e.paymentOption.productId));return r&&{label:t.label,addonPrice:r.addonPrice,addonPriceFormattedString:fn(r.addonPrice,e.paymentOption.currencyCode)}})).filter((e=>e)),bn=(e,t,r)=>{const n=gn(t),o=Nt(e).paymentOptions.find((e=>e.productId==t.paymentOption.productId&&e.slug==t.paymentOption.slug)),i=o.price,a=t.discountedPlanPrices.find((e=>e.planSlug===t.paymentOption.slug&&e.productId===t.paymentOption.productId))?.discountPrice;let s=a??i,c=i-s;if("braintree"===e.organisationConfiguration.paymentProvider&&o.discounts&&o.discounts.length>0){const e=o.discounts.reduce(((e,t)=>e+(t.amount||0)),0);s=Math.max(0,s-e),c=i-s}const l=n.reduce(((e,t)=>e+t.addonPrice),s);return Promise.resolve({slug:t.paymentOption.slug,productId:t.paymentOption.productId,promoCode:t.promoCode,addonPrices:n,billingAddress:t.billingAddress,totalPrice:l,totalPriceFormattedString:fn(l,t.paymentOption.currencyCode),netPrice:i,netPriceFormattedString:fn(i,t.paymentOption.currencyCode),discountPrice:c,discountPriceFormattedPrice:fn(c,t.paymentOption.currencyCode),chargeItems:[]})},Pn=(e,t)=>Nt(e).formCurrency??t.paymentOption?.currencyCode,En=async(e,t,r,n)=>{const o=t.paymentOption&&await lo(e,t,r),[i,a]=(navigator.language??"").split("-"),s={locale:i||"en",region:Nt(e).requestCountry||a||"US",currency:Pn(e,t),amount:`${o?.paymentOptionPrices?.totalPrice??"0.00"}`,profile:Nt(e).paymentProviderFormConfig?.paymentFormNumber??void 0,createPaymentSession:()=>(async(e,t)=>{if(t.getFormState().isBusy)console.warn("Form is busy - ignoring payment request");else{t.updateFormState({serverErrors:[],paymentProviderFormBusy:!0}),t.incrementRequestCount();try{const r=await fr("zephr/public/payment/v1/billing/payment-sessions",{method:"POST",bodyObject:{currency:Pn(e,t.getFormState()),amount:t.getFormState().paymentOptionPrices?.totalPrice??.01}},t);if(r.ok)return(await r.json())?.token;console.error("Error occurred while creating payment session.",r),t.updateFormState({serverErrors:[at.PAYMENT_PROCESSING_ERROR],paymentProviderFormBusy:!1}),dt(e,"zephr_form_error",{error:at[at.PAYMENT_PROCESSING_ERROR]})}catch(r){console.error("Error occurred while creating payment session.",r),t.updateFormState({serverErrors:[at.PAYMENT_PROCESSING_ERROR],paymentProviderFormBusy:!1}),dt(e,"zephr_form_error",{error:at[at.PAYMENT_PROCESSING_ERROR]})}}})(e,r),onComplete:t=>((e,t,r)=>{if(!r?.success||!r.paymentMethodId)return t.decrementRequestCount(),console.warn("Non-success payment result",r),t.updateFormState({serverErrors:[at.PAYMENT_PROCESSING_ERROR],paymentProviderFormBusy:!1}),void dt(e,"zephr_form_error",{error:at[at.PAYMENT_PROCESSING_ERROR]});const n=t.getFormState();t.updateFormState({paymentFormComplete:!0,paymentProviderVendorFields:{currency:Pn(e,n),detail:JSON.stringify({refId:r.paymentMethodId,email:n.emailAddress}),...n.dynamicOfferResult?{dynamicOfferResult:JSON.stringify(n.dynamicOfferResult)}:{}}}),t.decrementRequestCount(),t.completeSection()})(e,r,t)},c=window.Zuora(n);(await c.createPaymentForm(s)).mount("#zuora_payment"),r.updateFormState({paymentProviderFormLoaded:!0})};let An;const Sn=()=>null!=An?An:An=new Promise((function(e){window.zuoraLoadCallback=e})),Cn=e=>Nt(e).paymentProviderFormConfig?.useDynamicForm,vn=(e,t)=>Cn(e)?(async(e,t)=>{const r=await fr("zephr/public/payment/v1/billing/publishable-key",{method:"GET"},t);return(await r.json())?.message})(0,t):fr("plugins/public/zuora-billing/payment-form-token",{method:"POST",bodyObject:{hostedPageId:Nt(e).paymentProviderFormConfig.hostedPageId,hostedPageUrl:Nt(e).paymentProviderFormConfig.hostedPageUrl}},t).then((e=>e.json())),Tn=(e,t)=>{const r=e.trim();try{switch(t.toUpperCase()){case"INTEGER":{const e=parseInt(r,10);if(isNaN(e))throw new Error;return e}case"NUMBER":{const e=parseFloat(r);if(isNaN(e))throw new Error;return e}case"BOOLEAN":return"true"===r.toLowerCase();default:return r.toString()}}catch(e){return console.warn(`Error casting custom field value "${r}" to type ${t}`),null}},_n=(e,t,r)=>!Nt(t).changeSubscriptionMode||t.environment.previewMode?e:{...e,products:e.products.map((e=>({...e,paymentPlans:e.paymentPlans.filter((t=>r.validChangeFromPlans.some((r=>r.planSlug===t.planId&&r.productId===e.id))))})))};function On(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function In(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?On(Object(r),!0).forEach((function(t){wn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):On(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wn(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rn(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Mn,Nn={countries:{AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Åland Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Caribbean Netherlands",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos Islands",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cabo Verde",CW:"Curaçao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czechia",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena, Ascension and Tristan da Cunha",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Türkiye",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"United States Minor Outlying Islands",US:"United States of America",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands (UK)",VI:"Virgin Islands (US)",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},timezones:{"Africa/Abidjan":{u:0,c:["CI","BF","GH","GM","GN","IS","ML","MR","SH","SL","SN","TG"]},"Africa/Accra":{a:"Africa/Abidjan",c:["GH"],r:1},"Africa/Addis_Ababa":{a:"Africa/Nairobi",c:["ET"],r:1},"Africa/Algiers":{u:60,c:["DZ"]},"Africa/Asmara":{a:"Africa/Nairobi",c:["ER"],r:1},"Africa/Asmera":{a:"Africa/Nairobi",c:["ER"],r:1},"Africa/Bamako":{a:"Africa/Abidjan",c:["ML"],r:1},"Africa/Bangui":{a:"Africa/Lagos",c:["CF"],r:1},"Africa/Banjul":{a:"Africa/Abidjan",c:["GM"],r:1},"Africa/Bissau":{u:0,c:["GW"]},"Africa/Blantyre":{a:"Africa/Maputo",c:["MW"],r:1},"Africa/Brazzaville":{a:"Africa/Lagos",c:["CG"],r:1},"Africa/Bujumbura":{a:"Africa/Maputo",c:["BI"],r:1},"Africa/Cairo":{u:120,d:180,c:["EG"]},"Africa/Casablanca":{u:60,d:0,c:["MA"]},"Africa/Ceuta":{u:60,d:120,c:["ES"]},"Africa/Conakry":{a:"Africa/Abidjan",c:["GN"],r:1},"Africa/Dakar":{a:"Africa/Abidjan",c:["SN"],r:1},"Africa/Dar_es_Salaam":{a:"Africa/Nairobi",c:["TZ"],r:1},"Africa/Djibouti":{a:"Africa/Nairobi",c:["DJ"],r:1},"Africa/Douala":{a:"Africa/Lagos",c:["CM"],r:1},"Africa/El_Aaiun":{u:60,d:0,c:["EH"]},"Africa/Freetown":{a:"Africa/Abidjan",c:["SL"],r:1},"Africa/Gaborone":{a:"Africa/Maputo",c:["BW"],r:1},"Africa/Harare":{a:"Africa/Maputo",c:["ZW"],r:1},"Africa/Johannesburg":{u:120,c:["ZA","LS","SZ"]},"Africa/Juba":{u:120,c:["SS"]},"Africa/Kampala":{a:"Africa/Nairobi",c:["UG"],r:1},"Africa/Khartoum":{u:120,c:["SD"]},"Africa/Kigali":{a:"Africa/Maputo",c:["RW"],r:1},"Africa/Kinshasa":{a:"Africa/Lagos",c:["CD"],r:1},"Africa/Lagos":{u:60,c:["NG","AO","BJ","CD","CF","CG","CM","GA","GQ","NE"]},"Africa/Libreville":{a:"Africa/Lagos",c:["GA"],r:1},"Africa/Lome":{a:"Africa/Abidjan",c:["TG"],r:1},"Africa/Luanda":{a:"Africa/Lagos",c:["AO"],r:1},"Africa/Lubumbashi":{a:"Africa/Maputo",c:["CD"],r:1},"Africa/Lusaka":{a:"Africa/Maputo",c:["ZM"],r:1},"Africa/Malabo":{a:"Africa/Lagos",c:["GQ"],r:1},"Africa/Maputo":{u:120,c:["MZ","BI","BW","CD","MW","RW","ZM","ZW"]},"Africa/Maseru":{a:"Africa/Johannesburg",c:["LS"],r:1},"Africa/Mbabane":{a:"Africa/Johannesburg",c:["SZ"],r:1},"Africa/Mogadishu":{a:"Africa/Nairobi",c:["SO"],r:1},"Africa/Monrovia":{u:0,c:["LR"]},"Africa/Nairobi":{u:180,c:["KE","DJ","ER","ET","KM","MG","SO","TZ","UG","YT"]},"Africa/Ndjamena":{u:60,c:["TD"]},"Africa/Niamey":{a:"Africa/Lagos",c:["NE"],r:1},"Africa/Nouakchott":{a:"Africa/Abidjan",c:["MR"],r:1},"Africa/Ouagadougou":{a:"Africa/Abidjan",c:["BF"],r:1},"Africa/Porto-Novo":{a:"Africa/Lagos",c:["BJ"],r:1},"Africa/Sao_Tome":{u:0,c:["ST"]},"Africa/Timbuktu":{a:"Africa/Abidjan",c:["ML"],r:1},"Africa/Tripoli":{u:120,c:["LY"]},"Africa/Tunis":{u:60,c:["TN"]},"Africa/Windhoek":{u:120,c:["NA"]},"America/Adak":{u:-600,d:-540,c:["US"]},"America/Anchorage":{u:-540,d:-480,c:["US"]},"America/Anguilla":{a:"America/Puerto_Rico",c:["AI"],r:1},"America/Antigua":{a:"America/Puerto_Rico",c:["AG"],r:1},"America/Araguaina":{u:-180,c:["BR"]},"America/Argentina/Buenos_Aires":{u:-180,c:["AR"]},"America/Argentina/Catamarca":{u:-180,c:["AR"]},"America/Argentina/ComodRivadavia":{a:"America/Argentina/Catamarca",r:1},"America/Argentina/Cordoba":{u:-180,c:["AR"]},"America/Argentina/Jujuy":{u:-180,c:["AR"]},"America/Argentina/La_Rioja":{u:-180,c:["AR"]},"America/Argentina/Mendoza":{u:-180,c:["AR"]},"America/Argentina/Rio_Gallegos":{u:-180,c:["AR"]},"America/Argentina/Salta":{u:-180,c:["AR"]},"America/Argentina/San_Juan":{u:-180,c:["AR"]},"America/Argentina/San_Luis":{u:-180,c:["AR"]},"America/Argentina/Tucuman":{u:-180,c:["AR"]},"America/Argentina/Ushuaia":{u:-180,c:["AR"]},"America/Aruba":{a:"America/Puerto_Rico",c:["AW"],r:1},"America/Asuncion":{u:-240,d:-180,c:["PY"]},"America/Atikokan":{a:"America/Panama",c:["CA"],r:1},"America/Atka":{a:"America/Adak",r:1},"America/Bahia":{u:-180,c:["BR"]},"America/Bahia_Banderas":{u:-360,c:["MX"]},"America/Barbados":{u:-240,c:["BB"]},"America/Belem":{u:-180,c:["BR"]},"America/Belize":{u:-360,c:["BZ"]},"America/Blanc-Sablon":{a:"America/Puerto_Rico",c:["CA"],r:1},"America/Boa_Vista":{u:-240,c:["BR"]},"America/Bogota":{u:-300,c:["CO"]},"America/Boise":{u:-420,d:-360,c:["US"]},"America/Buenos_Aires":{a:"America/Argentina/Buenos_Aires",r:1},"America/Cambridge_Bay":{u:-420,d:-360,c:["CA"]},"America/Campo_Grande":{u:-240,c:["BR"]},"America/Cancun":{u:-300,c:["MX"]},"America/Caracas":{u:-240,c:["VE"]},"America/Catamarca":{a:"America/Argentina/Catamarca",r:1},"America/Cayenne":{u:-180,c:["GF"]},"America/Cayman":{a:"America/Panama",c:["KY"],r:1},"America/Chicago":{u:-360,d:-300,c:["US"]},"America/Chihuahua":{u:-360,c:["MX"]},"America/Ciudad_Juarez":{u:-420,d:-360,c:["MX"]},"America/Coral_Harbour":{a:"America/Panama",c:["CA"],r:1},"America/Cordoba":{a:"America/Argentina/Cordoba",r:1},"America/Costa_Rica":{u:-360,c:["CR"]},"America/Creston":{a:"America/Phoenix",c:["CA"],r:1},"America/Cuiaba":{u:-240,c:["BR"]},"America/Curacao":{a:"America/Puerto_Rico",c:["CW"],r:1},"America/Danmarkshavn":{u:0,c:["GL"]},"America/Dawson":{u:-420,c:["CA"]},"America/Dawson_Creek":{u:-420,c:["CA"]},"America/Denver":{u:-420,d:-360,c:["US"]},"America/Detroit":{u:-300,d:-240,c:["US"]},"America/Dominica":{a:"America/Puerto_Rico",c:["DM"],r:1},"America/Edmonton":{u:-420,d:-360,c:["CA"]},"America/Eirunepe":{u:-300,c:["BR"]},"America/El_Salvador":{u:-360,c:["SV"]},"America/Ensenada":{a:"America/Tijuana",r:1},"America/Fort_Nelson":{u:-420,c:["CA"]},"America/Fort_Wayne":{a:"America/Indiana/Indianapolis",r:1},"America/Fortaleza":{u:-180,c:["BR"]},"America/Glace_Bay":{u:-240,d:-180,c:["CA"]},"America/Godthab":{a:"America/Nuuk",r:1},"America/Goose_Bay":{u:-240,d:-180,c:["CA"]},"America/Grand_Turk":{u:-300,d:-240,c:["TC"]},"America/Grenada":{a:"America/Puerto_Rico",c:["GD"],r:1},"America/Guadeloupe":{a:"America/Puerto_Rico",c:["GP"],r:1},"America/Guatemala":{u:-360,c:["GT"]},"America/Guayaquil":{u:-300,c:["EC"]},"America/Guyana":{u:-240,c:["GY"]},"America/Halifax":{u:-240,d:-180,c:["CA"]},"America/Havana":{u:-300,d:-240,c:["CU"]},"America/Hermosillo":{u:-420,c:["MX"]},"America/Indiana/Indianapolis":{u:-300,d:-240,c:["US"]},"America/Indiana/Knox":{u:-360,d:-300,c:["US"]},"America/Indiana/Marengo":{u:-300,d:-240,c:["US"]},"America/Indiana/Petersburg":{u:-300,d:-240,c:["US"]},"America/Indiana/Tell_City":{u:-360,d:-300,c:["US"]},"America/Indiana/Vevay":{u:-300,d:-240,c:["US"]},"America/Indiana/Vincennes":{u:-300,d:-240,c:["US"]},"America/Indiana/Winamac":{u:-300,d:-240,c:["US"]},"America/Indianapolis":{a:"America/Indiana/Indianapolis",r:1},"America/Inuvik":{u:-420,d:-360,c:["CA"]},"America/Iqaluit":{u:-300,d:-240,c:["CA"]},"America/Jamaica":{u:-300,c:["JM"]},"America/Jujuy":{a:"America/Argentina/Jujuy",r:1},"America/Juneau":{u:-540,d:-480,c:["US"]},"America/Kentucky/Louisville":{u:-300,d:-240,c:["US"]},"America/Kentucky/Monticello":{u:-300,d:-240,c:["US"]},"America/Knox_IN":{a:"America/Indiana/Knox",r:1},"America/Kralendijk":{a:"America/Puerto_Rico",c:["BQ"],r:1},"America/La_Paz":{u:-240,c:["BO"]},"America/Lima":{u:-300,c:["PE"]},"America/Los_Angeles":{u:-480,d:-420,c:["US"]},"America/Louisville":{a:"America/Kentucky/Louisville",r:1},"America/Lower_Princes":{a:"America/Puerto_Rico",c:["SX"],r:1},"America/Maceio":{u:-180,c:["BR"]},"America/Managua":{u:-360,c:["NI"]},"America/Manaus":{u:-240,c:["BR"]},"America/Marigot":{a:"America/Puerto_Rico",c:["MF"],r:1},"America/Martinique":{u:-240,c:["MQ"]},"America/Matamoros":{u:-360,d:-300,c:["MX"]},"America/Mazatlan":{u:-420,c:["MX"]},"America/Mendoza":{a:"America/Argentina/Mendoza",r:1},"America/Menominee":{u:-360,d:-300,c:["US"]},"America/Merida":{u:-360,c:["MX"]},"America/Metlakatla":{u:-540,d:-480,c:["US"]},"America/Mexico_City":{u:-360,c:["MX"]},"America/Miquelon":{u:-180,d:-120,c:["PM"]},"America/Moncton":{u:-240,d:-180,c:["CA"]},"America/Monterrey":{u:-360,c:["MX"]},"America/Montevideo":{u:-180,c:["UY"]},"America/Montreal":{a:"America/Toronto",c:["CA"],r:1},"America/Montserrat":{a:"America/Puerto_Rico",c:["MS"],r:1},"America/Nassau":{a:"America/Toronto",c:["BS"],r:1},"America/New_York":{u:-300,d:-240,c:["US"]},"America/Nipigon":{a:"America/Toronto",c:["CA"],r:1},"America/Nome":{u:-540,d:-480,c:["US"]},"America/Noronha":{u:-120,c:["BR"]},"America/North_Dakota/Beulah":{u:-360,d:-300,c:["US"]},"America/North_Dakota/Center":{u:-360,d:-300,c:["US"]},"America/North_Dakota/New_Salem":{u:-360,d:-300,c:["US"]},"America/Nuuk":{u:-120,d:-60,c:["GL"]},"America/Ojinaga":{u:-360,d:-300,c:["MX"]},"America/Panama":{u:-300,c:["PA","CA","KY"]},"America/Pangnirtung":{a:"America/Iqaluit",r:1},"America/Paramaribo":{u:-180,c:["SR"]},"America/Phoenix":{u:-420,c:["US","CA"]},"America/Port-au-Prince":{u:-300,d:-240,c:["HT"]},"America/Port_of_Spain":{a:"America/Puerto_Rico",c:["TT"],r:1},"America/Porto_Acre":{a:"America/Rio_Branco",r:1},"America/Porto_Velho":{u:-240,c:["BR"]},"America/Puerto_Rico":{u:-240,c:["PR","AG","CA","AI","AW","BL","BQ","CW","DM","GD","GP","KN","LC","MF","MS","SX","TT","VC","VG","VI"]},"America/Punta_Arenas":{u:-180,c:["CL"]},"America/Rainy_River":{a:"America/Winnipeg",r:1},"America/Rankin_Inlet":{u:-360,d:-300,c:["CA"]},"America/Recife":{u:-180,c:["BR"]},"America/Regina":{u:-360,c:["CA"]},"America/Resolute":{u:-360,d:-300,c:["CA"]},"America/Rio_Branco":{u:-300,c:["BR"]},"America/Rosario":{a:"America/Argentina/Cordoba",r:1},"America/Santa_Isabel":{a:"America/Tijuana",r:1},"America/Santarem":{u:-180,c:["BR"]},"America/Santiago":{u:-240,d:-180,c:["CL"]},"America/Santo_Domingo":{u:-240,c:["DO"]},"America/Sao_Paulo":{u:-180,c:["BR"]},"America/Scoresbysund":{u:-60,d:0,c:["GL"]},"America/Shiprock":{a:"America/Denver",r:1},"America/Sitka":{u:-540,d:-480,c:["US"]},"America/St_Barthelemy":{a:"America/Puerto_Rico",c:["BL"],r:1},"America/St_Johns":{u:-210,d:-150,c:["CA"]},"America/St_Kitts":{a:"America/Puerto_Rico",c:["KN"],r:1},"America/St_Lucia":{a:"America/Puerto_Rico",c:["LC"],r:1},"America/St_Thomas":{a:"America/Puerto_Rico",c:["VI"],r:1},"America/St_Vincent":{a:"America/Puerto_Rico",c:["VC"],r:1},"America/Swift_Current":{u:-360,c:["CA"]},"America/Tegucigalpa":{u:-360,c:["HN"]},"America/Thule":{u:-240,d:-180,c:["GL"]},"America/Thunder_Bay":{a:"America/Toronto",c:["CA"],r:1},"America/Tijuana":{u:-480,d:-420,c:["MX"]},"America/Toronto":{u:-300,d:-240,c:["CA","BS"]},"America/Tortola":{a:"America/Puerto_Rico",c:["VG"],r:1},"America/Vancouver":{u:-480,d:-420,c:["CA"]},"America/Virgin":{a:"America/Puerto_Rico",c:["VI"],r:1},"America/Whitehorse":{u:-420,c:["CA"]},"America/Winnipeg":{u:-360,d:-300,c:["CA"]},"America/Yakutat":{u:-540,d:-480,c:["US"]},"America/Yellowknife":{a:"America/Edmonton",r:1},"Antarctica/Casey":{u:660,c:["AQ"]},"Antarctica/Davis":{u:420,c:["AQ"]},"Antarctica/DumontDUrville":{a:"Pacific/Port_Moresby",c:["AQ"],r:1},"Antarctica/Macquarie":{u:600,d:660,c:["AU"]},"Antarctica/Mawson":{u:300,c:["AQ"]},"Antarctica/McMurdo":{a:"Pacific/Auckland",c:["AQ"],r:1},"Antarctica/Palmer":{u:-180,c:["AQ"]},"Antarctica/Rothera":{u:-180,c:["AQ"]},"Antarctica/South_Pole":{a:"Pacific/Auckland",c:["AQ"],r:1},"Antarctica/Syowa":{a:"Asia/Riyadh",c:["AQ"],r:1},"Antarctica/Troll":{u:0,d:120,c:["AQ"]},"Antarctica/Vostok":{a:"Asia/Urumqi",c:["AQ"],r:1},"Arctic/Longyearbyen":{a:"Europe/Berlin",c:["SJ"],r:1},"Asia/Aden":{a:"Asia/Riyadh",c:["YE"],r:1},"Asia/Almaty":{u:360,c:["KZ"]},"Asia/Amman":{u:180,c:["JO"]},"Asia/Anadyr":{u:720,c:["RU"]},"Asia/Aqtau":{u:300,c:["KZ"]},"Asia/Aqtobe":{u:300,c:["KZ"]},"Asia/Ashgabat":{u:300,c:["TM"]},"Asia/Ashkhabad":{a:"Asia/Ashgabat",r:1},"Asia/Atyrau":{u:300,c:["KZ"]},"Asia/Baghdad":{u:180,c:["IQ"]},"Asia/Bahrain":{a:"Asia/Qatar",c:["BH"],r:1},"Asia/Baku":{u:240,c:["AZ"]},"Asia/Bangkok":{u:420,c:["TH","CX","KH","LA","VN"]},"Asia/Barnaul":{u:420,c:["RU"]},"Asia/Beirut":{u:120,d:180,c:["LB"]},"Asia/Bishkek":{u:360,c:["KG"]},"Asia/Brunei":{a:"Asia/Kuching",c:["BN"],r:1},"Asia/Calcutta":{a:"Asia/Kolkata",r:1},"Asia/Chita":{u:540,c:["RU"]},"Asia/Choibalsan":{u:480,c:["MN"]},"Asia/Chongqing":{a:"Asia/Shanghai",r:1},"Asia/Chungking":{a:"Asia/Shanghai",r:1},"Asia/Colombo":{u:330,c:["LK"]},"Asia/Dacca":{a:"Asia/Dhaka",r:1},"Asia/Damascus":{u:180,c:["SY"]},"Asia/Dhaka":{u:360,c:["BD"]},"Asia/Dili":{u:540,c:["TL"]},"Asia/Dubai":{u:240,c:["AE","OM","RE","SC","TF"]},"Asia/Dushanbe":{u:300,c:["TJ"]},"Asia/Famagusta":{u:120,d:180,c:["CY"]},"Asia/Gaza":{u:120,d:180,c:["PS"]},"Asia/Harbin":{a:"Asia/Shanghai",r:1},"Asia/Hebron":{u:120,d:180,c:["PS"]},"Asia/Ho_Chi_Minh":{u:420,c:["VN"]},"Asia/Hong_Kong":{u:480,c:["HK"]},"Asia/Hovd":{u:420,c:["MN"]},"Asia/Irkutsk":{u:480,c:["RU"]},"Asia/Istanbul":{a:"Europe/Istanbul",r:1},"Asia/Jakarta":{u:420,c:["ID"]},"Asia/Jayapura":{u:540,c:["ID"]},"Asia/Jerusalem":{u:120,d:180,c:["IL"]},"Asia/Kabul":{u:270,c:["AF"]},"Asia/Kamchatka":{u:720,c:["RU"]},"Asia/Karachi":{u:300,c:["PK"]},"Asia/Kashgar":{a:"Asia/Urumqi",c:["CN"],r:1},"Asia/Kathmandu":{u:345,c:["NP"]},"Asia/Katmandu":{a:"Asia/Kathmandu",r:1},"Asia/Khandyga":{u:540,c:["RU"]},"Asia/Kolkata":{u:330,c:["IN"]},"Asia/Krasnoyarsk":{u:420,c:["RU"]},"Asia/Kuala_Lumpur":{a:"Asia/Singapore",c:["MY"],r:1},"Asia/Kuching":{u:480,c:["MY","BN"]},"Asia/Kuwait":{a:"Asia/Riyadh",c:["KW"],r:1},"Asia/Macao":{a:"Asia/Macau",r:1},"Asia/Macau":{u:480,c:["MO"]},"Asia/Magadan":{u:660,c:["RU"]},"Asia/Makassar":{u:480,c:["ID"]},"Asia/Manila":{u:480,c:["PH"]},"Asia/Muscat":{a:"Asia/Dubai",c:["OM"],r:1},"Asia/Nicosia":{u:120,d:180,c:["CY"]},"Asia/Novokuznetsk":{u:420,c:["RU"]},"Asia/Novosibirsk":{u:420,c:["RU"]},"Asia/Omsk":{u:360,c:["RU"]},"Asia/Oral":{u:300,c:["KZ"]},"Asia/Phnom_Penh":{a:"Asia/Bangkok",c:["KH"],r:1},"Asia/Pontianak":{u:420,c:["ID"]},"Asia/Pyongyang":{u:540,c:["KP"]},"Asia/Qatar":{u:180,c:["QA","BH"]},"Asia/Qostanay":{u:360,c:["KZ"]},"Asia/Qyzylorda":{u:300,c:["KZ"]},"Asia/Rangoon":{a:"Asia/Yangon",c:["MM"],r:1},"Asia/Riyadh":{u:180,c:["SA","AQ","KW","YE"]},"Asia/Saigon":{a:"Asia/Ho_Chi_Minh",r:1},"Asia/Sakhalin":{u:660,c:["RU"]},"Asia/Samarkand":{u:300,c:["UZ"]},"Asia/Seoul":{u:540,c:["KR"]},"Asia/Shanghai":{u:480,c:["CN"]},"Asia/Singapore":{u:480,c:["SG","MY"]},"Asia/Srednekolymsk":{u:660,c:["RU"]},"Asia/Taipei":{u:480,c:["TW"]},"Asia/Tashkent":{u:300,c:["UZ"]},"Asia/Tbilisi":{u:240,c:["GE"]},"Asia/Tehran":{u:210,c:["IR"]},"Asia/Tel_Aviv":{a:"Asia/Jerusalem",r:1},"Asia/Thimbu":{a:"Asia/Thimphu",r:1},"Asia/Thimphu":{u:360,c:["BT"]},"Asia/Tokyo":{u:540,c:["JP"]},"Asia/Tomsk":{u:420,c:["RU"]},"Asia/Ujung_Pandang":{a:"Asia/Makassar",r:1},"Asia/Ulaanbaatar":{u:480,c:["MN"]},"Asia/Ulan_Bator":{a:"Asia/Ulaanbaatar",r:1},"Asia/Urumqi":{u:360,c:["CN","AQ"]},"Asia/Ust-Nera":{u:600,c:["RU"]},"Asia/Vientiane":{a:"Asia/Bangkok",c:["LA"],r:1},"Asia/Vladivostok":{u:600,c:["RU"]},"Asia/Yakutsk":{u:540,c:["RU"]},"Asia/Yangon":{u:390,c:["MM","CC"]},"Asia/Yekaterinburg":{u:300,c:["RU"]},"Asia/Yerevan":{u:240,c:["AM"]},"Atlantic/Azores":{u:-60,d:0,c:["PT"]},"Atlantic/Bermuda":{u:-240,d:-180,c:["BM"]},"Atlantic/Canary":{u:0,d:60,c:["ES"]},"Atlantic/Cape_Verde":{u:-60,c:["CV"]},"Atlantic/Faeroe":{a:"Atlantic/Faroe",r:1},"Atlantic/Faroe":{u:0,d:60,c:["FO"]},"Atlantic/Jan_Mayen":{a:"Europe/Berlin",c:["SJ"],r:1},"Atlantic/Madeira":{u:0,d:60,c:["PT"]},"Atlantic/Reykjavik":{a:"Africa/Abidjan",c:["IS"],r:1},"Atlantic/South_Georgia":{u:-120,c:["GS"]},"Atlantic/St_Helena":{a:"Africa/Abidjan",c:["SH"],r:1},"Atlantic/Stanley":{u:-180,c:["FK"]},"Australia/ACT":{a:"Australia/Sydney",r:1},"Australia/Adelaide":{u:570,d:630,c:["AU"]},"Australia/Brisbane":{u:600,c:["AU"]},"Australia/Broken_Hill":{u:570,d:630,c:["AU"]},"Australia/Canberra":{a:"Australia/Sydney",r:1},"Australia/Currie":{a:"Australia/Hobart",r:1},"Australia/Darwin":{u:570,c:["AU"]},"Australia/Eucla":{u:525,c:["AU"]},"Australia/Hobart":{u:600,d:660,c:["AU"]},"Australia/LHI":{a:"Australia/Lord_Howe",r:1},"Australia/Lindeman":{u:600,c:["AU"]},"Australia/Lord_Howe":{u:630,d:660,c:["AU"]},"Australia/Melbourne":{u:600,d:660,c:["AU"]},"Australia/NSW":{a:"Australia/Sydney",r:1},"Australia/North":{a:"Australia/Darwin",r:1},"Australia/Perth":{u:480,c:["AU"]},"Australia/Queensland":{a:"Australia/Brisbane",r:1},"Australia/South":{a:"Australia/Adelaide",r:1},"Australia/Sydney":{u:600,d:660,c:["AU"]},"Australia/Tasmania":{a:"Australia/Hobart",r:1},"Australia/Victoria":{a:"Australia/Melbourne",r:1},"Australia/West":{a:"Australia/Perth",r:1},"Australia/Yancowinna":{a:"Australia/Broken_Hill",r:1},"Brazil/Acre":{a:"America/Rio_Branco",r:1},"Brazil/DeNoronha":{a:"America/Noronha",r:1},"Brazil/East":{a:"America/Sao_Paulo",r:1},"Brazil/West":{a:"America/Manaus",r:1},CET:{u:60,d:120},CST6CDT:{u:-360,d:-300},"Canada/Atlantic":{a:"America/Halifax",r:1},"Canada/Central":{a:"America/Winnipeg",r:1},"Canada/Eastern":{a:"America/Toronto",c:["CA"],r:1},"Canada/Mountain":{a:"America/Edmonton",r:1},"Canada/Newfoundland":{a:"America/St_Johns",r:1},"Canada/Pacific":{a:"America/Vancouver",r:1},"Canada/Saskatchewan":{a:"America/Regina",r:1},"Canada/Yukon":{a:"America/Whitehorse",r:1},"Chile/Continental":{a:"America/Santiago",r:1},"Chile/EasterIsland":{a:"Pacific/Easter",r:1},Cuba:{a:"America/Havana",r:1},EET:{u:120,d:180},EST:{u:-300},EST5EDT:{u:-300,d:-240},Egypt:{a:"Africa/Cairo",r:1},Eire:{a:"Europe/Dublin",r:1},"Etc/GMT":{u:0},"Etc/GMT+0":{a:"Etc/GMT",r:1},"Etc/GMT+1":{u:-60},"Etc/GMT+10":{u:-600},"Etc/GMT+11":{u:-660},"Etc/GMT+12":{u:-720},"Etc/GMT+2":{u:-120},"Etc/GMT+3":{u:-180},"Etc/GMT+4":{u:-240},"Etc/GMT+5":{u:-300},"Etc/GMT+6":{u:-360},"Etc/GMT+7":{u:-420},"Etc/GMT+8":{u:-480},"Etc/GMT+9":{u:-540},"Etc/GMT-0":{a:"Etc/GMT",r:1},"Etc/GMT-1":{u:60},"Etc/GMT-10":{u:600},"Etc/GMT-11":{u:660},"Etc/GMT-12":{u:720},"Etc/GMT-13":{u:780},"Etc/GMT-14":{u:840},"Etc/GMT-2":{u:120},"Etc/GMT-3":{u:180},"Etc/GMT-4":{u:240},"Etc/GMT-5":{u:300},"Etc/GMT-6":{u:360},"Etc/GMT-7":{u:420},"Etc/GMT-8":{u:480},"Etc/GMT-9":{u:540},"Etc/GMT0":{a:"Etc/GMT",r:1},"Etc/Greenwich":{a:"Etc/GMT",r:1},"Etc/UCT":{a:"Etc/UTC",r:1},"Etc/UTC":{u:0},"Etc/Universal":{a:"Etc/UTC",r:1},"Etc/Zulu":{a:"Etc/UTC",r:1},"Europe/Amsterdam":{a:"Europe/Brussels",c:["NL"],r:1},"Europe/Andorra":{u:60,d:120,c:["AD"]},"Europe/Astrakhan":{u:240,c:["RU"]},"Europe/Athens":{u:120,d:180,c:["GR"]},"Europe/Belfast":{a:"Europe/London",c:["GB"],r:1},"Europe/Belgrade":{u:60,d:120,c:["RS","BA","HR","ME","MK","SI"]},"Europe/Berlin":{u:60,d:120,c:["DE","DK","NO","SE","SJ"]},"Europe/Bratislava":{a:"Europe/Prague",c:["SK"],r:1},"Europe/Brussels":{u:60,d:120,c:["BE","LU","NL"]},"Europe/Bucharest":{u:120,d:180,c:["RO"]},"Europe/Budapest":{u:60,d:120,c:["HU"]},"Europe/Busingen":{a:"Europe/Zurich",c:["DE"],r:1},"Europe/Chisinau":{u:120,d:180,c:["MD"]},"Europe/Copenhagen":{a:"Europe/Berlin",c:["DK"],r:1},"Europe/Dublin":{u:60,d:0,c:["IE"]},"Europe/Gibraltar":{u:60,d:120,c:["GI"]},"Europe/Guernsey":{a:"Europe/London",c:["GG"],r:1},"Europe/Helsinki":{u:120,d:180,c:["FI","AX"]},"Europe/Isle_of_Man":{a:"Europe/London",c:["IM"],r:1},"Europe/Istanbul":{u:180,c:["TR"]},"Europe/Jersey":{a:"Europe/London",c:["JE"],r:1},"Europe/Kaliningrad":{u:120,c:["RU"]},"Europe/Kiev":{a:"Europe/Kyiv",r:1},"Europe/Kirov":{u:180,c:["RU"]},"Europe/Kyiv":{u:120,d:180,c:["UA"]},"Europe/Lisbon":{u:0,d:60,c:["PT"]},"Europe/Ljubljana":{a:"Europe/Belgrade",c:["SI"],r:1},"Europe/London":{u:0,d:60,c:["GB","GG","IM","JE"]},"Europe/Luxembourg":{a:"Europe/Brussels",c:["LU"],r:1},"Europe/Madrid":{u:60,d:120,c:["ES"]},"Europe/Malta":{u:60,d:120,c:["MT"]},"Europe/Mariehamn":{a:"Europe/Helsinki",c:["AX"],r:1},"Europe/Minsk":{u:180,c:["BY"]},"Europe/Monaco":{a:"Europe/Paris",c:["MC"],r:1},"Europe/Moscow":{u:180,c:["RU"]},"Europe/Nicosia":{a:"Asia/Nicosia",r:1},"Europe/Oslo":{a:"Europe/Berlin",c:["NO"],r:1},"Europe/Paris":{u:60,d:120,c:["FR","MC"]},"Europe/Podgorica":{a:"Europe/Belgrade",c:["ME"],r:1},"Europe/Prague":{u:60,d:120,c:["CZ","SK"]},"Europe/Riga":{u:120,d:180,c:["LV"]},"Europe/Rome":{u:60,d:120,c:["IT","SM","VA"]},"Europe/Samara":{u:240,c:["RU"]},"Europe/San_Marino":{a:"Europe/Rome",c:["SM"],r:1},"Europe/Sarajevo":{a:"Europe/Belgrade",c:["BA"],r:1},"Europe/Saratov":{u:240,c:["RU"]},"Europe/Simferopol":{u:180,c:["RU","UA"]},"Europe/Skopje":{a:"Europe/Belgrade",c:["MK"],r:1},"Europe/Sofia":{u:120,d:180,c:["BG"]},"Europe/Stockholm":{a:"Europe/Berlin",c:["SE"],r:1},"Europe/Tallinn":{u:120,d:180,c:["EE"]},"Europe/Tirane":{u:60,d:120,c:["AL"]},"Europe/Tiraspol":{a:"Europe/Chisinau",r:1},"Europe/Ulyanovsk":{u:240,c:["RU"]},"Europe/Uzhgorod":{a:"Europe/Kyiv",r:1},"Europe/Vaduz":{a:"Europe/Zurich",c:["LI"],r:1},"Europe/Vatican":{a:"Europe/Rome",c:["VA"],r:1},"Europe/Vienna":{u:60,d:120,c:["AT"]},"Europe/Vilnius":{u:120,d:180,c:["LT"]},"Europe/Volgograd":{u:180,c:["RU"]},"Europe/Warsaw":{u:60,d:120,c:["PL"]},"Europe/Zagreb":{a:"Europe/Belgrade",c:["HR"],r:1},"Europe/Zaporozhye":{a:"Europe/Kyiv",r:1},"Europe/Zurich":{u:60,d:120,c:["CH","DE","LI"]},Factory:{u:0},GB:{a:"Europe/London",c:["GB"],r:1},"GB-Eire":{a:"Europe/London",c:["GB"],r:1},GMT:{a:"Etc/GMT",r:1},"GMT+0":{a:"Etc/GMT",r:1},"GMT-0":{a:"Etc/GMT",r:1},GMT0:{a:"Etc/GMT",r:1},Greenwich:{a:"Etc/GMT",r:1},HST:{u:-600},Hongkong:{a:"Asia/Hong_Kong",r:1},Iceland:{a:"Africa/Abidjan",c:["IS"],r:1},"Indian/Antananarivo":{a:"Africa/Nairobi",c:["MG"],r:1},"Indian/Chagos":{u:360,c:["IO"]},"Indian/Christmas":{a:"Asia/Bangkok",c:["CX"],r:1},"Indian/Cocos":{a:"Asia/Yangon",c:["CC"],r:1},"Indian/Comoro":{a:"Africa/Nairobi",c:["KM"],r:1},"Indian/Kerguelen":{a:"Indian/Maldives",c:["TF"],r:1},"Indian/Mahe":{a:"Asia/Dubai",c:["SC"],r:1},"Indian/Maldives":{u:300,c:["MV","TF"]},"Indian/Mauritius":{u:240,c:["MU"]},"Indian/Mayotte":{a:"Africa/Nairobi",c:["YT"],r:1},"Indian/Reunion":{a:"Asia/Dubai",c:["RE"],r:1},Iran:{a:"Asia/Tehran",r:1},Israel:{a:"Asia/Jerusalem",r:1},Jamaica:{a:"America/Jamaica",r:1},Japan:{a:"Asia/Tokyo",r:1},Kwajalein:{a:"Pacific/Kwajalein",r:1},Libya:{a:"Africa/Tripoli",r:1},MET:{u:60,d:120},MST:{u:-420},MST7MDT:{u:-420,d:-360},"Mexico/BajaNorte":{a:"America/Tijuana",r:1},"Mexico/BajaSur":{a:"America/Mazatlan",r:1},"Mexico/General":{a:"America/Mexico_City",r:1},NZ:{a:"Pacific/Auckland",c:["NZ"],r:1},"NZ-CHAT":{a:"Pacific/Chatham",r:1},Navajo:{a:"America/Denver",r:1},PRC:{a:"Asia/Shanghai",r:1},PST8PDT:{u:-480,d:-420},"Pacific/Apia":{u:780,c:["WS"]},"Pacific/Auckland":{u:720,d:780,c:["NZ","AQ"]},"Pacific/Bougainville":{u:660,c:["PG"]},"Pacific/Chatham":{u:765,d:825,c:["NZ"]},"Pacific/Chuuk":{a:"Pacific/Port_Moresby",c:["FM"],r:1},"Pacific/Easter":{u:-360,d:-300,c:["CL"]},"Pacific/Efate":{u:660,c:["VU"]},"Pacific/Enderbury":{a:"Pacific/Kanton",r:1},"Pacific/Fakaofo":{u:780,c:["TK"]},"Pacific/Fiji":{u:720,c:["FJ"]},"Pacific/Funafuti":{a:"Pacific/Tarawa",c:["TV"],r:1},"Pacific/Galapagos":{u:-360,c:["EC"]},"Pacific/Gambier":{u:-540,c:["PF"]},"Pacific/Guadalcanal":{u:660,c:["SB","FM"]},"Pacific/Guam":{u:600,c:["GU","MP"]},"Pacific/Honolulu":{u:-600,c:["US"]},"Pacific/Johnston":{a:"Pacific/Honolulu",r:1},"Pacific/Kanton":{u:780,c:["KI"]},"Pacific/Kiritimati":{u:840,c:["KI"]},"Pacific/Kosrae":{u:660,c:["FM"]},"Pacific/Kwajalein":{u:720,c:["MH"]},"Pacific/Majuro":{a:"Pacific/Tarawa",c:["MH"],r:1},"Pacific/Marquesas":{u:-570,c:["PF"]},"Pacific/Midway":{a:"Pacific/Pago_Pago",c:["UM"],r:1},"Pacific/Nauru":{u:720,c:["NR"]},"Pacific/Niue":{u:-660,c:["NU"]},"Pacific/Norfolk":{u:660,d:720,c:["NF"]},"Pacific/Noumea":{u:660,c:["NC"]},"Pacific/Pago_Pago":{u:-660,c:["AS","UM"]},"Pacific/Palau":{u:540,c:["PW"]},"Pacific/Pitcairn":{u:-480,c:["PN"]},"Pacific/Pohnpei":{a:"Pacific/Guadalcanal",c:["FM"],r:1},"Pacific/Ponape":{a:"Pacific/Guadalcanal",c:["FM"],r:1},"Pacific/Port_Moresby":{u:600,c:["PG","AQ","FM"]},"Pacific/Rarotonga":{u:-600,c:["CK"]},"Pacific/Saipan":{a:"Pacific/Guam",c:["MP"],r:1},"Pacific/Samoa":{a:"Pacific/Pago_Pago",c:["AS"],r:1},"Pacific/Tahiti":{u:-600,c:["PF"]},"Pacific/Tarawa":{u:720,c:["KI","MH","TV","UM","WF"]},"Pacific/Tongatapu":{u:780,c:["TO"]},"Pacific/Truk":{a:"Pacific/Port_Moresby",c:["FM"],r:1},"Pacific/Wake":{a:"Pacific/Tarawa",c:["UM"],r:1},"Pacific/Wallis":{a:"Pacific/Tarawa",c:["WF"],r:1},"Pacific/Yap":{a:"Pacific/Port_Moresby",c:["FM"],r:1},Poland:{a:"Europe/Warsaw",r:1},Portugal:{a:"Europe/Lisbon",r:1},ROC:{a:"Asia/Taipei",r:1},ROK:{a:"Asia/Seoul",r:1},Singapore:{a:"Asia/Singapore",c:["SG"],r:1},Turkey:{a:"Europe/Istanbul",r:1},UCT:{a:"Etc/UTC",r:1},"US/Alaska":{a:"America/Anchorage",r:1},"US/Aleutian":{a:"America/Adak",r:1},"US/Arizona":{a:"America/Phoenix",c:["US"],r:1},"US/Central":{a:"America/Chicago",r:1},"US/East-Indiana":{a:"America/Indiana/Indianapolis",r:1},"US/Eastern":{a:"America/New_York",r:1},"US/Hawaii":{a:"Pacific/Honolulu",r:1},"US/Indiana-Starke":{a:"America/Indiana/Knox",r:1},"US/Michigan":{a:"America/Detroit",r:1},"US/Mountain":{a:"America/Denver",r:1},"US/Pacific":{a:"America/Los_Angeles",r:1},"US/Samoa":{a:"Pacific/Pago_Pago",c:["AS"],r:1},UTC:{a:"Etc/UTC",r:1},Universal:{a:"Etc/UTC",r:1},"W-SU":{a:"Europe/Moscow",r:1},WET:{u:0,d:60},Zulu:{a:"Etc/UTC",r:1}}};function $n(e,t){var r=e.countries[t];if(!r)return null;var n=function(e){Mn||(Mn=function(e){return Object.keys(e.timezones).reduce((function(t,r){var n=e.timezones[r],o=n.c,i=n.a,a=e.timezones[i]||{},s=o||a.c;return s?(s.forEach((function(e){t[e]||Object.assign(t,wn({},e,{current:[],all:[]})),void 0===n.r&&t[e].current.push(r),t[e].all.push(r)})),t):t}),{})}(e));return Mn}(e)[t]||{};return{id:t,name:r,timezones:n.current||[],allTimezones:n.all||[]}}function Ln(e){var t=Math.floor(Math.abs(e)/60),r=e%60;return"".concat(e<0?"-":"+").concat(xn(t),":").concat(xn(r))}function xn(e){var t=Math.abs(e);return"".concat(t<10?"0":"").concat(t)}var Fn=["allTimezones"];Object.keys(Nn.timezones).length;var zn={},kn={};function Dn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return zn[e]||function(e){if(!e)return;zn[e.id]=e}($n(Nn,e)),function(e,t){if(!e)return null;var r=t||{},n=r.deprecated;e.allTimezones;var o=Rn(e,Fn),i=n?e.allTimezones:e.timezones;return In(In({},o),{},{timezones:i})}(zn[e],t)}function Bn(e){return kn[e]||function(e){if(!e)return;kn[e.name]=e,Object.keys(e).length}(function(e,t){var r=e.timezones[t];if(!r)return null;var n=r.a,o=void 0===n?null:n,i=In(In({},o?e.timezones[o]:{}),e.timezones[t]),a=i.c||[],s=i.u,c=Number.isInteger(i.d)?i.d:s,l={name:t,countries:a,utcOffset:s,utcOffsetStr:Ln(s),dstOffset:c,dstOffsetStr:Ln(c),aliasOf:o};return r.r&&(l.deprecated=!0),l}(Nn,e)),kn[e]?In({},kn[e]):null}const Un=()=>{const e=Intl.DateTimeFormat().resolvedOptions().timeZone;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return((Bn(e)||{}).countries||[]).map((function(e){return Dn(e,t)}))}(e)[0]?.id??""},Gn=e=>"unknown"===e?.toLowerCase()?"":e,Vn=(e,t,r)=>{if(e.environment.previewMode)return(e=>{const t=e?.products?e.products[0].paymentPlans[0].charges[0]:{prices:[{price:25}],chargeData:{name:"Monthly Fee"}},r=t.prices[0]?.price,n=t.chargeData?.name;return{success:!0,contractedMrr:r,totalContractedValue:null,amount:r+3,amountWithoutTax:r,taxAmount:3,invoiceTargetDate:"2024-05-20",documentDate:"2024-05-20",invoiceItems:{0:{serviceStartDate:"2024-05-20",serviceEndDate:"2024-06-19",chargeAmount:r,taxAmount:3,chargeDescription:"",chargeName:n,productName:"Product",productRatePlanChargeId:"8ad097b48f533234018f57a8982a5a45",quantity:1,unitOfMeasure:""}}}})(Nt(e).dynamicOfferPreview??{});const n=t.paymentOption.terms,o={account:{city:Gn(Nt(e).requestCity),country:Gn(Nt(e).requestCountry)||Un(),county:"",state:Gn(Nt(e).requestState),zipCode:Gn(Nt(e).requestZipCode)},currency:Pn(e,t),ratePlanIds:[t.paymentOption.slug],...n?{termType:n.initialTerm.termType,..."TERMED"===n.initialTerm.termType?{initialTerm:n.initialTerm.period,initialTermPeriodType:n.initialTerm.periodType}:{}}:{termType:"EVERGREEN"},...t.dynamicOfferResult?{dynamicOfferResult:JSON.stringify(t.dynamicOfferResult),productId:t.paymentOption.productId}:{}};return fr("plugins/public/zuora-billing/preview-subscription",{method:"POST",bodyObject:o},r).then((e=>e.json()))},qn=(e,t="en-UK")=>{if(!e)return"";const r=new Date(e);return Number.isNaN(r.getDate())?"Unknown":r.toLocaleDateString(t,{day:"numeric",month:"short",year:"numeric"})},jn=/^<<<([a-z0-9\-.]+)\|(.*)>>>$/,Hn=(e,t)=>{if(null==t)return"";const r=e.languagePack?.entries??{},n=st[t];return r[n.languagePackKey]??n.fallbackMessage},Kn=(e,t,r)=>{try{return(e.languagePack?.entries??{})[t]??r}catch(e){return console.warn(`error resolving language pack key in string ${t}`,e),r}},Yn=e=>Kn(e,"pages.common.date-time-format-locale","en-US"),Wn=(e,t)=>{try{return null==t?t:"object"==typeof t||Array.isArray(t)?Array.isArray(t)?t.map((t=>Wn(e,t))):Object.entries(t).reduce(((t,[r,n])=>({...t,[r]:Wn(e,n)})),{}):"string"==typeof t||t instanceof String?((e,t)=>{if(!t)return t;try{const r=jn.exec(t);return r&&r[1]?(e?.entries??{})[r[1]]??r[2]:t}catch(e){return console.warn(`error resolving language pack key in string ${t}`,e),t}})(e,t):t}catch(e){return console.warn("error resolving language pack entries",e),t}},Jn=(e,t)=>{try{if(t.isOneOff)return"";const r=Kn(e,"forms.billing.history.every","every"),n=t["transaction-history"]?.[0]??t["next-billing-time"],o=n?.["human-readable-amount"];if(!o)return"";const i=t.currency_code?.toUpperCase()??o.replace(/[0-9,.]/g,""),{discounts_applied:a,pre_discount_price:s,billing_frequency:c,billing_frequency_unit:l}=t??{};if(!a&&s&&c&&l)return 1===c?`${i} ${s}/${l.toLowerCase()}`:`${i} ${s} ${r} ${c} ${l.toLowerCase()}s`;const u=Number(o.replace(/[^\d.-]/g,"")),d=Number.isInteger(u)?u.toFixed(0):u;return 1===n.cycleCount?`${i}${d}/${n.cycle}`:`${i} ${d} ${r} ${n.cycleCount} ${n.cycle}s`}catch{return console.error("Failed to get subscription amount"),""}},Qn=(e,t,r)=>(e?"":"+")+`${(t/100).toFixed(2)} ${r}`+(e?" incl.":""),Zn=(e,t)=>{try{const r=t["default-tax-rates"],n=t["managed-by"].toLowerCase(),o="canceled"===t["subscription-state"].toLowerCase(),i=qn("stripe"===n?t.ended:t.ends),a=Yn(e);let s=t["transaction-history"].reduce(((e,t)=>{const o=qn(t.time,a),i=((e,t,r,n)=>{try{const o=new Date(e),i=(()=>{switch(t){case"day":return o.setDate(o.getDate()+r);case"week":return o.setDate(o.getDate()+7*r);case"month":return o.setMonth(o.getMonth()+r);case"year":return o.setFullYear(o.getFullYear()+r);default:return null}})();return`${qn(e,n)} - ${qn(i,n)}`}catch{return console.error("Failed to get subscription period"),""}})(t.time,t.cycle,t.cycleCount,a),{cents:s,currency:c,taxRate:l}=t;let u,d;if(l){const{displayName:e,taxInclusive:t,taxPercent:r}=l;({taxes:d,total:u}=((e,t,r,n)=>{try{const o=n*(e/100),i=((e+(r?0:o))/100).toFixed(2);return{taxes:`(${Qn(r,o,t)})`,total:i}}catch{return console.error("Failed to get subscription tax"),{taxes:"",total:0}}})(s,e,t,r))}else r?.length?({taxes:d,total:u}=((e,t)=>{try{const r=[];let n=e;t.forEach((t=>{const o=t.taxPercent*(e/100),i=Qn(t.taxInclusive,o,t.displayName);r.push(i),n+=t.taxInclusive?0:o}));const o=(n/100).toFixed(2);return{taxes:`(${r.join(", ")})`,total:o}}catch{return console.error("Failed to get subscription default tax"),{taxes:"",total:0}}})(s,r)):(u=(s/100).toFixed(2),d=null);return[...e,{date:o,period:i,subtotal:"stripe"===n?(t.cents/100).toFixed(2):null,currency:c,taxes:d,total:u}]}),[]);return o&&(s=[{date:i,period:"canceled"},...s]),s}catch{return console.error("Failed to get subscription billing history"),null}},Xn=(e,t,r,n)=>fr(`blaize/payment/${e.organisationConfiguration.paymentProvider}/subscriptions`,{method:"GET"},r,null,!0).then((e=>e.ok?e.json():[])).then((t=>t.filter((e=>!n||"active"===e["subscription-state"]?.toLowerCase())).map((t=>({externalId:t["external-id"],productId:t["blaize-product"].id,productLabel:t["blaize-product"].label??t["blaize-product"].id,planId:t.plan_id,planLabel:t.plan_name,currency:t.currency_code,status:"active"===t["subscription-state"]?.toLowerCase()?"active":"inactive",nextBillingTime:qn(t["next-billing-time"]),amount:Jn(e,t),transactionHistory:Zn(e,t)}))))),eo={draft:"pending","pending activation":"pending","pending acceptance":"pending",active:"active",cancelled:"inactive",expired:"inactive",suspended:"inactive"},to=(e,t)=>fr("zephr/payment/stripe/create-subscription-previews",{method:"POST",bodyObject:{product_id:e.paymentOption.productId,plan_id:e.paymentOption.slug,billing_country:e.billingAddress.country,billing_post_code:e.billingAddress.postalCode,promo_code:e.promoCodeValid?e.promoCode:void 0}},t,null,!0).then((e=>e.json()));function ro(t){let r,n;return{c(){r=P("script"),r.innerHTML="",_(r,"type","text/javascript"),c(r.src,n="https://js.zuora.com/payment/v3/zuora.js")||_(r,"src","https://js.zuora.com/payment/v3/zuora.js"),_(r,"onload","window.zuoraLoadCallback()")},m(e,t){h(document.head,r)},p:e,i:e,o:e,d(e){g(r)}}}function no(e,t,r){let{onMountCallback:n}=t;return k(n),e.$$set=e=>{"onMountCallback"in e&&r(0,n=e.onMountCallback)},[n]}class oo extends de{constructor(e){super(),ue(this,e,no,ro,a,{onMountCallback:0})}}const io={[ur]:{loader:(e,t,r)=>{const n=Nt(e).paymentProviderFormConfig?.enablePaypal;r.incrementRequestCount(),br.then((()=>Er(0,r))).then((e=>{window.braintree.dropin.create({authorization:e,container:"#braintree-dropin-container",...n?{paypal:Pr(t)}:{}},((e,t)=>{if(r.decrementRequestCount(),gr=t,r.updateFormState({paymentProviderFormLoaded:!0}),e)throw e;gr.isPaymentMethodRequestable()&&r.updateFormState({paymentFormComplete:!0}),gr.on("paymentMethodRequestable",(()=>{r.updateFormState({paymentFormComplete:!0})})),gr.on("noPaymentMethodRequestable",(()=>{r.updateFormState({paymentFormComplete:!1})}))}))})).catch((e=>{console.error(e),r.decrementRequestCount()}))},preLoader:null,completer:async(e,t,r)=>{let n,o;r.incrementRequestCount();const i=new Promise(((e,t)=>{n=e,o=t})),a=e=>{console.error(e),r.decrementRequestCount(),o()};return gr.requestPaymentMethod(((o,i)=>{!o&&i||a(`Error requesting payment method ${JSON.stringify(o)}`);const{url:s,body:c,method:l}=yr(e,t,ur,{payment_nonce:i.nonce,..."PayPalAccount"===i.type?{paypal:!0}:{}});return fr(s,{method:l,bodyObject:c},r).then((e=>{if(e?.ok)return r.decrementRequestCount(),void n();a(e)})).catch((e=>{a(e)}))})),i},changePaymentCompleter:async(e,t,r)=>{let n,o;const i=new Promise(((e,t)=>{n=e,o=t}));return gr.requestPaymentMethod(((e,i)=>(!e&&i||console.error(`Error requesting payment method ${JSON.stringify(e)}`),fr(`blaize/payment/braintree/subscriptions/${t.selectedSubscription?.externalId}`,{method:"PATCH",bodyObject:{payment_method_nonce:i?.nonce}},r).then((e=>{console.log(e),e?.ok?n():o(e)})).catch((e=>{o(e)}))))),i},component:class extends de{constructor(e){super(),ue(this,e,Dt,kt,a,{onMountCallback:3,providerError:0,isDisabled:1,isLoaded:4,error:2})}},preLoaderComponent:null,promoCodeCheckPath:"blaize/payment/braintree/promo-code-check",productAddonPath:"blaize/payment/braintree/addons-check",existingSubscriptionLoader:Xn,priceCalculator:bn,hasProductAddons:!0,hasPromoCodes:()=>!0,internalSubmit:()=>!1,noPaymentForm:()=>!1,canAttemptIncompletePaymentFormSubmission:!1},[dr]:{loader:(e,t,r)=>{r.incrementRequestCount(),sn(r).then((()=>{an=Nr(on,e,r),an.mount("#stripe-element"),an.addEventListener("change",(t=>{r.updateFormState({paymentProviderError:t.error,paymentFormComplete:t.complete,serverErrors:[]}),e.organisationConfiguration.stripeAutomaticTaxEnabled&&e.formType!==wt.LIST_SUBSCRIPTIONS&&((e,t,r)=>{e.complete&&(r.incrementRequestCount(),on.createPaymentMethod("card",an,{}).then((({error:e,paymentMethod:t})=>e||!t?(console.error(`Error requesting payment method ${JSON.stringify(e)}`),null):(r.updateFormState({paymentMethodId:t.id}),t?.billing_details?.address))).catch((e=>(console.error(`Error requesting payment method ${JSON.stringify(e)}`),null))).then((e=>lo(t,r.updateFormState({billingAddress:{country:e?.country,postalCode:e?.postal_code}}),r))).catch((e=>{console.error(`Error requesting payment method ${JSON.stringify(e)}`)})).finally((()=>{r.decrementRequestCount()})))})(t,e,r)})),an.addEventListener("ready",(()=>{r.updateFormState({paymentProviderFormLoaded:!0})})),r.decrementRequestCount()})).catch((e=>{console.error(e),r.decrementRequestCount()}))},preLoader:null,completer:cn,changePaymentCompleter:(e,t,r)=>{const n=t.paymentMethodId;return r.incrementRequestCount(),n?ln(e,t,r,n):on.createPaymentMethod("card",an,{}).then((async({error:n,paymentMethod:o})=>{if(n||!o)throw r.decrementRequestCount(),`Error requesting payment method ${JSON.stringify(n)}`;await fr("zephr/payment/stripe/setupIntentSecret",{method:"POST"},r).then((async e=>{const t=(await e.json()).clientSecret;return on.confirmCardSetup(t,{payment_method:{card:an}})})).then((async n=>ln(e,t,r,n.setupIntent.payment_method)))}))},component:class extends de{constructor(e){super(),ue(this,e,Ut,Bt,a,{onMountCallback:4,providerError:0,isDisabled:1,isComplete:2,isLoaded:5,error:3})}},preLoaderComponent:null,promoCodeCheckPath:"zephr/payment/stripe/promo-code-check",existingSubscriptionLoader:Xn,priceCalculator:(e,t,r)=>e.organisationConfiguration.stripeAutomaticTaxEnabled&&null!=t.billingAddress.country?to(t,r).then((r=>{if(!r.total)return bn(e,t);const n=wr(t.paymentOption.currencyCode.toUpperCase())?1:.01,o=e=>fn(e*n,t.paymentOption.currencyCode);return{slug:t.paymentOption.slug,productId:t.paymentOption.productId,promoCode:t.promoCode,billingAddress:t.billingAddress,addonPrices:[],totalPrice:r.total*n,totalPriceFormattedString:o(r.total),netPrice:r.sub_total*n,netPriceFormattedString:o(r.sub_total),taxPrice:r.tax?r.tax*n:null,taxPriceFormattedString:r.tax?o(r.tax):null,discountPrice:r.discount?r.discount*n:null,discountPriceFormattedPrice:r.discount?o(r.discount):null,chargeItems:[]}})).catch((r=>(console.error(`Error calculating stripe tax preview ${JSON.stringify(r)}`),bn(e,t)))):bn(e,t),changeSubscriptionProrateCalculator:(e,t,r)=>{const n=t.validChangeFromPlans.find((e=>t.paymentOption.slug===e.planSlug&&t.paymentOption.productId===e.productId))?.changesFromSubscription;if(n)return fr(`zephr/payment/stripe/subscriptions/${n.externalId}/change-previews`,{method:"POST",bodyObject:{plan_id:t.paymentOption.slug}},r).then((e=>e.json())).then((e=>{const r=wr(t.paymentOption.currencyCode.toUpperCase())?1:.01;return{totalPrice:e.total*r,totalPriceFormattedString:fn(e.total*r,t.paymentOption.currencyCode),subTotalPrice:e.sub_total*r,subTotalPriceFormattedString:fn(e.sub_total*r,t.paymentOption.currencyCode)}}));console.error("No valid change from subscription")},hasProductAddons:!1,hasPromoCodes:()=>!0,internalSubmit:()=>!1,noPaymentForm:()=>!1,canAttemptIncompletePaymentFormSubmission:!0},[pr]:{loader:(e,t,r)=>{Nt(e).changeSubscriptionMode?r.updateFormState({paymentFormComplete:!0}):Sn().then((()=>vn(e,r))).then((n=>{if(!Pn(e,t))return r.updateFormState({serverErrors:[at.PAYMENT_PROCESSING_ERROR]}),console.error("Form currency not set"),void dt(e,"zephr_form_error",{error:at[at.PAYMENT_PROCESSING_ERROR]});if(Cn(e))return En(e,t,r,n);const o={tenantId:n.tenantId,token:n.token,signature:n.signature,key:n.key,id:n.id,url:n.url,style:"inline",submitEnabled:!0},i={email:t.emailAddress};window.Z.setEventHandler("onloadCallback",(()=>{r.updateFormState({paymentProviderFormLoaded:!0})})),window.Z.render(o,i,(n=>{if("true"!==n.success)return console.error("Payment failed",n),r.updateFormState({serverErrors:[at.PAYMENT_PROCESSING_ERROR]}),void dt(e,"zephr_form_error",{error:at[at.PAYMENT_PROCESSING_ERROR]});r.updateFormState({paymentFormComplete:!0,paymentProviderVendorFields:{currency:Pn(e,t),detail:JSON.stringify({creditCardCountry:n.creditCardCountry,creditCardState:n.creditCardState,refId:n.refId,email:n.email}),...t.dynamicOfferResult?{dynamicOfferResult:JSON.stringify(t.dynamicOfferResult)}:{},...t.paymentOption?.terms?{terms:t.paymentOption.terms}:{},...t.paymentOption?.termsAndConditions?{termsAndConditions:t.paymentOption.termsAndConditions}:{}}}),r.completeSection()}))}))},preLoader:Sn,completer:async(e,t,r)=>{r.incrementRequestCount();try{if(!Nt(e).changeSubscriptionMode&&!t.paymentProviderVendorFields)return console.error("Flow error - no Zuora vendor fields found"),r.updateFormState({serverErrors:[at.PAYMENT_PROCESSING_ERROR]}),dt(e,"zephr_form_error",{error:at[at.PAYMENT_PROCESSING_ERROR]}),Promise.resolve();const n=Nt(e).paymentProviderFormConfig?.subscriptionCustomFields||[],o={};if(n?.length){const t=await rn(e,r);for(const e of n){const r=Zr(e.value,t)||"";o[e.name]=Tn(r,e.type)}}const i=!!Object.keys(o).length,a={...t.paymentProviderVendorFields,...i?{subscriptionCustomFields:JSON.stringify(o)}:{}},{url:s,body:c,method:l}=yr(e,t,pr,a);if(e.formType===wt.GIFT_SUBSCRIPTION){const n=Nt(e).requires_address||!1,o={...c,discount_code:t.promoCodeValid?t.promoCode:void 0,vendor_fields:{...c.vendor_fields||{},giftDetails:{recipient_email:t.giftRecipient.email,recipient_name:t.giftRecipient.name,message:t.giftRecipient.customMessage,requires_address:n,recipient_address:{addressLine1:t.giftRecipient.recipientAddress?.addressLine1||"",addressLine2:t.giftRecipient.recipientAddress?.addressLine2||"",city:t.giftRecipient.recipientAddress?.city||"",state:t.giftRecipient.recipientAddress?.state||"",country:t.giftRecipient.recipientAddress?.country||"",postalCode:t.giftRecipient.recipientAddress?.postalCode||""}}}},i=await fr("zephr/public/gifts/v1/purchase",{method:"POST",bodyObject:o},r);return i?.ok?Promise.resolve():(console.error("Error creating gift subscription",i),r.updateFormState({serverErrors:[at.PAYMENT_PROCESSING_ERROR]}),Promise.reject())}{const t=Nt(e).changeSubscriptionMode?c:{...c,plan_id:`zuora-billing_product_rate_plan-${c.plan_id}-unused`};return await fr(s,{method:l,bodyObject:t},r).then((e=>{if(!e?.ok)return console.error("Error when subscribing",e),Promise.reject()}))}}finally{r.decrementRequestCount(),r.updateFormState({paymentProviderFormBusy:!1})}},changePaymentCompleter:(e,t,r)=>{console.log(t.paymentProviderVendorFields);const n=JSON.parse(t.paymentProviderVendorFields?.detail).refId;return fr("plugins/public/zuora-billing/update-account",{method:"POST",bodyObject:{paymentMethodId:n}},r).then((e=>{if(!e?.ok)return console.error("Error when changing default payment method",e),Promise.reject()}))},component:class extends de{constructor(e){super(),ue(this,e,ar,ir,a,{onMountCallback:5,isDisabled:0,providerError:1,isLoaded:2,isBusy:3,error:4})}},preLoaderComponent:e=>e?.useDynamicForm?oo:lr,promoCodeCheckPath:"",promoCodeServiceOverride:async(e,t,r)=>(async(e,t,r)=>{if(e.environment.previewMode)return;const n=Nt(e).dynamicOffer?.id;if(!n)throw Error("Missing Dynamic Offer id");let o;try{o=document.cookie.match(/blaize_session=[0-9a-z-]+/)[0].substring(15)}catch{o=null}const i=(t?.dynamicOfferResult?.products??[]).flatMap((e=>e.paymentPlans.map((t=>({id:e.id,payment_plan:{provider:"zuora-billing",plan_id:t.planId,charges:t.charges.map((e=>({charge_definition_id:e.chargeDefinitionData.productChargeDefinitionId,currency:e.prices[0]?.currency,price:e.prices[0].price})))}}))))),a=await fr("zephr/public/decisions/v1/promo-codes",{method:"POST",bodyObject:{promo_code:t.promoCode,session:o,selected_products:i}},r,"promo-code");if(!a.ok)return dt(e,"zephr_form_error",{error:at[at.PROMO_CODE_INVALID_ERROR]}),Promise.resolve(r.updateFormState({promoCodeValid:!1,serverErrors:[at.PROMO_CODE_INVALID_ERROR],discountedPlanPrices:[]}));const s=await a.json(),c=s?.products?.find((e=>e.id===t.paymentOption.productId&&e.paymentPlans.some((e=>e.planId===t.paymentOption.slug))));if(!c)return dt(e,"zephr_form_error",{error:at[at.PROMO_CODE_INVALID_ERROR]}),Promise.resolve(r.updateFormState({promoCodeValid:!1,serverErrors:[at.PROMO_CODE_INVALID_ERROR],discountedPlanPrices:[]}));const l=r.updateFormState({promoCodeValid:!0,serverErrors:[],discountedPlanPrices:[],originalDynamicOfferResult:t.dynamicOfferResult,dynamicOfferResult:{...t.dynamicOfferResult,...s}});await lo(e,l,r)})(e,t,r),priceCalculator:(e,t,r)=>Sn().then((()=>Vn(e,t,r))).then((r=>({slug:t.paymentOption.slug,productId:t.paymentOption.productId,promoCode:t.promoCode,addonPrices:[],totalPrice:r.amount,totalPriceFormattedString:fn(r.amount,Pn(e,t)),netPrice:r.amountWithoutTax,netPriceFormattedString:fn(r.amountWithoutTax,Pn(e,t)),taxPrice:r.taxAmount||null,taxPriceFormattedString:r.taxAmount?fn(r.taxAmount,Pn(e,t)):null,discountPrice:0,discountPriceFormattedPrice:fn(0,Pn(e,t)),chargeItems:[...Object.values(r.invoiceItems)].filter((e=>e.chargeAmount)).map((r=>({label:r.chargeName,priceFormattedString:fn(r.chargeAmount,Pn(e,t))}))),billingAddress:t.billingAddress}))),existingSubscriptionLoader:(e,t,r,n)=>fr("plugins/public/zuora-billing/subscriptions",{method:"GET"},r,null,!0).then((e=>e.json())).then((e=>[...Object.values(e.subscriptions)])).then((r=>r.filter((e=>!n||"active"===e.status?.toLowerCase())).map((r=>{const n=[...Object.values(r.ratePlans)],o=1===n.length?n:n.filter((e=>"Add"===e.lastChangeType));if(1!==o.length&&console.warn(`Subscription ${r.id} has ${o.length} active rate plans`,n),o[0]&&!Nt(e).dynamicOffer?.id&&Pn(e,t)&&![...Object.values(o[0].ratePlanCharges??{})].every((r=>r?.currency===Pn(e,t))))return console.log(`Subscription ${r.id} is not in the form currency`),null;const i=r.contractedMrr&&r.currency&&r.currentTermPeriodType?`${r.currency} ${r.contractedMrr}`:"";return{externalId:r.id,productId:r.SubscriptionExperienceProductID__c,productLabel:o[0]?.productName,planId:o[0]?.productRatePlanId,planLabel:null,currency:o[0]?.ratePlanCharges[0]?.currency,status:eo[r.status?.toLowerCase()]??"inactive",amount:i}})).filter((e=>e&&null!=e.planId&&null!=e.productId)))),changeSubscriptionProrateCalculator:(e,t,r)=>{const n=t.validChangeFromPlans.find((e=>t.paymentOption.slug===e.planSlug&&t.paymentOption.productId===e.productId))?.changesFromSubscription;if(n)return fr("plugins/public/zuora-billing/subscription-change-preview",{method:"POST",bodyObject:{subscriptionId:n.externalId,newProductRatePlanId:t.paymentOption.slug,currency:Pn(e,t),...t.dynamicOfferResult?{dynamicOfferResult:JSON.stringify(t.dynamicOfferResult),productId:t.paymentOption.productId}:{}}},r).then((e=>e.json())).then((r=>({totalPrice:r.amount,totalPriceFormattedString:fn(r.amount,Pn(e,t)),subTotalPrice:r.amountWithoutTax,subTotalPriceFormattedString:fn(r.amountWithoutTax,Pn(e,t))})));console.error("No valid change from subscription")},hasProductAddons:!1,hasPromoCodes:e=>Nt(e).dynamicOffer&&!Nt(e).changeSubscriptionMode,internalSubmit:e=>!Nt(e).changeSubscriptionMode,noPaymentForm:e=>Nt(e).changeSubscriptionMode,canAttemptIncompletePaymentFormSubmission:!1}},ao={[ur]:{loader:async(e,t,r)=>{await vr(e,t,r),await _r(e,t,r)},completer:(e,t,r)=>{const{url:n,body:o,method:i}=yr(e,t,ur,{payment_nonce:t.mobilePaymentMethodId,vault_payment_method:!0});return fr(n,{method:i,bodyObject:o},r).then((e=>{if(!e?.ok)throw JSON.stringify(e)}))},component:class extends de{constructor(e){super(),ue(this,e,Lt,$t,a,{onMountCallback:1,isDisabled:0,disableCoreDependencyHeader:2})}},previewMode:e=>e.environment.previewMode},[dr]:{loader:async(e,t,r)=>{const n=JSON.parse(e.organisationConfiguration?.stripeMobilePaymentConfig??"{}"),o=document.getElementById("stripe-mobile-pay-button");return n?.google||n?.apple?dn.then((async()=>await sn(r))).then((i=>{t=r.getFormState();const a=wr(t.paymentOption.currencyCode.toUpperCase())?1:100,s={country:n.google?.countryCode??n.apple?.countryCode,currency:t.paymentOption.currencyCode.toLowerCase(),total:{label:t.paymentOption.label,amount:parseFloat((t.paymentOptionPrices.totalPrice*a).toFixed(2))},requestPayerName:!0},c=i.paymentRequest(s),l=i.elements().create("paymentRequestButton",{paymentRequest:c});c.canMakePayment().then((n=>{if(!n||!n.googlePay&&!n.applePay)return console.warn("Cannot make mobile payments on this browser",n),void(o.style.display="none");l.mount("#stripe-mobile-pay-button"),c.on("paymentmethod",(o=>{pn(t,r,i,o,n,e)}))}))})).catch((t=>{console.error(t),r.updateFormState({serverErrors:[at.UNKNOWN]}),dt(e,"zephr_form_error",{error:at[at.UNKNOWN]})})):(o.style.display="none",void console.error("Stripe Mobile payments are not configured in the console"))},completer:cn,component:class extends de{constructor(e){super(),ue(this,e,qt,Vt,a,{onMountCallback:2,isDisabled:0,disableCoreDependencyHeader:1})}},previewMode:e=>e.environment.previewMode}},so=e=>{const t=io[e];if(!t)throw`Payment provider ${e} not configured.`;return t},co=e=>{const t=ao[e];if(!t)throw`Mobile payment provider ${e} not configured.`;return t},lo=async(e,t,r)=>{if(null!=t.paymentOptionPrices&&t.paymentOptionPrices.productId===t.paymentOption.productId&&t.paymentOptionPrices.slug===t.paymentOption.slug&&t.paymentOptionPrices.promoCode===t.promoCode&&t.paymentOptionPrices.addonPrices==gn(t)&&t.paymentOptionPrices.billingAddress.country===t.billingAddress.country&&t.paymentOptionPrices.billingAddress.postalCode===t.billingAddress.postalCode&&0==t.paymentOptionPrices.addonPrices.length&&0==gn(t).length)return t;r.updateFormState({paymentOptionPrices:null});const n=await so(e.organisationConfiguration.paymentProvider).priceCalculator(e,t,r);return r.updateFormState({paymentOptionPrices:n})};function uo(t){let r,n,o,a;return{c(){r=P("button"),n=A(t[1]),_(r,"class","zephr-form-button svelte-1eqnyqe"),_(r,"type","submit"),r.disabled=t[0],$(r,"zephr-payment-form-button",t[5]),$(r,"zephr-form-button-top-margin",!t[2]),$(r,"zephr-payment-form-button-top-margin",t[5]&&!t[2]),$(r,"inputHeight",t[3]),$(r,"aside",t[4])},m(e,s){y(e,r,s),h(r,n),o||(a=v(r,"click",T((function(){i(t[6])&&t[6].apply(this,arguments)}))),o=!0)},p(e,[o]){t=e,2&o&&w(n,t[1]),1&o&&(r.disabled=t[0]),32&o&&$(r,"zephr-payment-form-button",t[5]),4&o&&$(r,"zephr-form-button-top-margin",!t[2]),36&o&&$(r,"zephr-payment-form-button-top-margin",t[5]&&!t[2]),8&o&&$(r,"inputHeight",t[3]),16&o&&$(r,"aside",t[4])},i:e,o:e,d(e){e&&g(r),o=!1,a()}}}function po(e,t,r){let{disabled:n}=t,{text:o}=t,{noMargin:i=!1}=t,{inputHeight:a=!1}=t,{aside:s=!1}=t,{isPaymentForm:c=!1}=t,{onClick:l}=t;return e.$$set=e=>{"disabled"in e&&r(0,n=e.disabled),"text"in e&&r(1,o=e.text),"noMargin"in e&&r(2,i=e.noMargin),"inputHeight"in e&&r(3,a=e.inputHeight),"aside"in e&&r(4,s=e.aside),"isPaymentForm"in e&&r(5,c=e.isPaymentForm),"onClick"in e&&r(6,l=e.onClick)},[n,o,i,a,s,c,l]}class mo extends de{constructor(e){super(),ue(this,e,po,uo,a,{disabled:0,text:1,noMargin:2,inputHeight:3,aside:4,isPaymentForm:5,onClick:6})}}function fo(e){let t,r,n=e[1].highlightedText+"";return{c(){t=P("div"),r=A(n),_(t,"class","box-top-text svelte-wecxzz")},m(e,n){y(e,t,n),h(t,r)},p(e,t){2&t&&n!==(n=e[1].highlightedText+"")&&w(r,n)},d(e){e&&g(t)}}}function ho(e){let t,r,n=e[1].disclaimerMessage+"";return{c(){t=P("span"),r=A(n),_(t,"class","button-sub-text svelte-wecxzz")},m(e,n){y(e,t,n),h(t,r)},p(e,t){2&t&&n!==(n=e[1].disclaimerMessage+"")&&w(r,n)},d(e){e&&g(t)}}}function yo(e){let t,r,n,o,a,s,c,l,u,d,p,m,f,b,E,A,C,O,I,w=(e[1].description??"")+"",R=e[1].highlightedText&&fo(e);f=new mo({props:{disabled:!1,text:e[1].selectButtonText??"Select Plan",onClick:e[0],isPaymentForm:!0}});let N=e[1].disclaimerMessage&&ho(e);return{c(){t=P("div"),r=P("input"),a=S(),s=P("div"),c=P("div"),R&&R.c(),l=S(),u=P("div"),d=P("div"),p=S(),m=P("div"),ae(f.$$.fragment),b=S(),N&&N.c(),_(r,"type","radio"),_(r,"name","boxSelect"),_(r,"id",n="boxSelect-"+e[1].slug+"-"+e[1].productId+"}"),r.value=o=e[1].price,_(r,"class","svelte-wecxzz"),_(c,"class","box-top svelte-wecxzz"),_(d,"class","box-content svelte-wecxzz"),$(d,"styled-box-content",e[2]),_(m,"class","box-bottom svelte-wecxzz"),_(u,"class",E="inner-box "+(e[1].highlightedText||"")+" svelte-wecxzz"),_(s,"class",A="box-container "+(e[1].highlightedText?"highlighted":"")+" svelte-wecxzz"),_(s,"aria-hidden","true"),M(s,"cursor","pointer"),_(t,"class","payment-option-wrapper svelte-wecxzz")},m(n,o){y(n,t,o),h(t,r),h(t,a),h(t,s),h(s,c),R&&R.m(c,null),h(s,l),h(s,u),h(u,d),d.innerHTML=w,h(u,p),h(u,m),se(f,m,null),h(m,b),N&&N.m(m,null),C=!0,O||(I=v(s,"click",T((function(){i(e[0])&&e[0].apply(this,arguments)}))),O=!0)},p(t,[i]){e=t,(!C||2&i&&n!==(n="boxSelect-"+e[1].slug+"-"+e[1].productId+"}"))&&_(r,"id",n),(!C||2&i&&o!==(o=e[1].price))&&(r.value=o),e[1].highlightedText?R?R.p(e,i):(R=fo(e),R.c(),R.m(c,null)):R&&(R.d(1),R=null),(!C||2&i)&&w!==(w=(e[1].description??"")+"")&&(d.innerHTML=w),(!C||4&i)&&$(d,"styled-box-content",e[2]);const a={};2&i&&(a.text=e[1].selectButtonText??"Select Plan"),1&i&&(a.onClick=e[0]),f.$set(a),e[1].disclaimerMessage?N?N.p(e,i):(N=ho(e),N.c(),N.m(m,null)):N&&(N.d(1),N=null),(!C||2&i&&E!==(E="inner-box "+(e[1].highlightedText||"")+" svelte-wecxzz"))&&_(u,"class",E),(!C||2&i&&A!==(A="box-container "+(e[1].highlightedText?"highlighted":"")+" svelte-wecxzz"))&&_(s,"class",A)},i(e){C||(te(f.$$.fragment,e),C=!0)},o(e){re(f.$$.fragment,e),C=!1},d(e){e&&g(t),R&&R.d(),ce(f),N&&N.d(),O=!1,I()}}}function go(e,t,r){let{onSelect:n}=t,{paymentOption:o}=t,{styleDescription:i}=t;return e.$$set=e=>{"onSelect"in e&&r(0,n=e.onSelect),"paymentOption"in e&&r(1,o=e.paymentOption),"styleDescription"in e&&r(2,i=e.styleDescription)},[n,o,i]}class bo extends de{constructor(e){super(),ue(this,e,go,yo,a,{onSelect:0,paymentOption:1,styleDescription:2})}}function Po(e,t,r){const n=e.slice();return n[6]=t[r],n}function Eo(e){let t,r;function n(){return e[5](e[6])}return t=new bo({props:{paymentOption:e[6],styleDescription:e[0].styleDescription,onSelect:n}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(r,o){e=r;const i={};4&o&&(i.paymentOption=e[6]),1&o&&(i.styleDescription=e[0].styleDescription),6&o&&(i.onSelect=n),t.$set(i)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Ao(e){let t,r,n=ne(e[2]),o=[];for(let t=0;t<n.length;t+=1)o[t]=Eo(Po(e,n,t));const i=e=>re(o[e],1,1,(()=>{o[e]=null}));return{c(){t=P("div");for(let e=0;e<o.length;e+=1)o[e].c();_(t,"class","payment-options-container svelte-15oxdku")},m(e,n){y(e,t,n);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,null);r=!0},p(e,[r]){if(7&r){let a;for(n=ne(e[2]),a=0;a<n.length;a+=1){const i=Po(e,n,a);o[a]?(o[a].p(i,r),te(o[a],1)):(o[a]=Eo(i),o[a].c(),te(o[a],1),o[a].m(t,null))}for(X(),a=n.length;a<o.length;a+=1)i(a);ee()}},i(e){if(!r){for(let e=0;e<n.length;e+=1)te(o[e]);r=!0}},o(e){o=o.filter(Boolean);for(let e=0;e<o.length;e+=1)re(o[e]);r=!1},d(e){e&&g(t),b(o,e)}}}function So(e,t,r){let n,{paymentOptions:o}=t,{config:i}=t,{onSelect:a}=t,{logView:s}=t;s();return e.$$set=e=>{"paymentOptions"in e&&r(3,o=e.paymentOptions),"config"in e&&r(0,i=e.config),"onSelect"in e&&r(1,a=e.onSelect),"logView"in e&&r(4,s=e.logView)},e.$$.update=()=>{8&e.$$.dirty&&r(2,n=o.sort(((e,t)=>e.fieldOrder-t.fieldOrder)))},[i,a,n,o,s,e=>a(e)]}class Co extends de{constructor(e){super(),ue(this,e,So,Ao,a,{paymentOptions:3,config:0,onSelect:1,logView:4})}}const vo=(e,t)=>Nt(e).changeSubscriptionMode?Nt(e).paymentOptions.filter((e=>t.validChangeFromPlans.some((t=>t.productId===e.productId&&t.planSlug===e.slug)))):Nt(e).paymentOptions,To={matches:e=>e.type===be,create:(e,t,r,n)=>({component:Co,props:{paymentOptions:vo(e,t),config:n||{},onSelect:async n=>{r.updateFormState({paymentOption:n,serverErrors:[],billingAddress:{country:null,postalCode:null}}),e.organisationConfiguration.trackFormDataLayerEvents&&await lo(e,t,r);const o=r.getFormState().paymentOptionPrices?.totalPrice;dt(e,"zephr_form_payment_option_selected",{productId:n.productId,planId:n.slug,price:o}),dt(e,"select_item",{ecommerce:{items:[{item_id:n.slug,item_name:n.productId,price:o,quantity:1}]}}),dt(e,"add_to_cart",{ecommerce:{currency:Nt(e).formCurrency??n?.currencyCode,value:o,items:[{item_id:n.slug,item_name:n.productId,price:o,quantity:1}]}}),dt(e,"zephr_form_button_press",{sectionId:t.currentSection.type,buttonType:"SUBMIT"}),r.completeSection()},logView:()=>{vo(e,t).forEach((t=>dt(e,"view_item",{ecommerce:{currency:Nt(e).formCurrency??t?.currencyCode,value:t.price,items:[{item_id:t.slug,item_name:t.productId,price:t.price,quantity:1}]}})))}}})};function _o(e){let t,r,n,o,a;return{c(){t=P("button"),r=P("span"),n=A(e[16]),_(r,"class","zephr-form-input-inner-text"),$(r,"zephr-payment-form-input-inner-text",e[7]),_(t,"type","button"),_(t,"class","zephr-form-input-inner-button")},m(s,c){y(s,t,c),h(t,r),h(r,n),e[28](t),o||(a=v(t,"click",T((function(){i(e[17])&&e[17].apply(this,arguments)}))),o=!0)},p(t,o){e=t,65536&o&&w(n,e[16]),128&o&&$(r,"zephr-payment-form-input-inner-text",e[7])},d(r){r&&g(t),e[28](null),o=!1,a()}}}function Oo(e){let t,r;return t=new zt({props:{error:e[6],isPaymentForm:e[7]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};64&r&&(n.error=e[6]),128&r&&(n.isPaymentForm=e[7]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Io(e){let t,r,n,a,s,c,u,b,E,A,T,O,I,w,R,M,N,L,x=e[16]&&_o(e);const F=e[26].default,z=l(F,e,e[25],null);let k=e[6]&&Oo(e);return{c(){t=P("div"),r=P("input"),O=S(),x&&x.c(),I=S(),z&&z.c(),w=S(),k&&k.c(),R=C(),_(r,"id",e[0]),_(r,"name",e[1]),r.required=e[3],r.disabled=e[4],_(r,"type",e[2]),r.value=n=e[8]||null,_(r,"autocomplete",a=e[19]||null),r.checked=s=e[10]||null,_(r,"placeholder",c=e[9]||null),_(r,"pattern",u=e[11]||null),_(r,"min",b=e[12]||null),_(r,"max",E=e[13]||null),_(r,"maxlength",e[15]),_(r,"step",A=e[14]||null),_(r,"class",T=f(`zephr-form-input ${e[2]&&`zephr-form-input-${e[2]}`} ${e[7]&&e[2]&&`zephr-payment-form-input-${e[2]}`}`)+" svelte-127vcsp"),$(r,"disabled",e[4]),$(r,"error",e[5]||e[6]),$(r,"zephr-form-input-full-width",e[18]),$(r,"zephr-payment-form-input",e[7]),$(r,"zephr-payment-form-input-full-width",e[7]&&e[18]),_(t,"class","zephr-form-input-inner-container svelte-127vcsp"),$(t,"zephr-payment-form-input-inner-container",e[7])},m(n,o){y(n,t,o),h(t,r),e[27](r),h(t,O),x&&x.m(t,null),y(n,I,o),z&&z.m(n,o),y(n,w,o),k&&k.m(n,o),y(n,R,o),M=!0,N||(L=[v(r,"focus",(function(){i(e[20])&&e[20].apply(this,arguments)})),v(r,"blur",(function(){i(e[21])&&e[21].apply(this,arguments)})),v(r,"input",e[24]),v(r,"paste",e[24])],N=!0)},p(o,[i]){e=o,(!M||1&i)&&_(r,"id",e[0]),(!M||2&i)&&_(r,"name",e[1]),(!M||8&i)&&(r.required=e[3]),(!M||16&i)&&(r.disabled=e[4]),(!M||4&i)&&_(r,"type",e[2]),(!M||256&i&&n!==(n=e[8]||null)&&r.value!==n)&&(r.value=n),(!M||524288&i&&a!==(a=e[19]||null))&&_(r,"autocomplete",a),(!M||1024&i&&s!==(s=e[10]||null))&&(r.checked=s),(!M||512&i&&c!==(c=e[9]||null))&&_(r,"placeholder",c),(!M||2048&i&&u!==(u=e[11]||null))&&_(r,"pattern",u),(!M||4096&i&&b!==(b=e[12]||null))&&_(r,"min",b),(!M||8192&i&&E!==(E=e[13]||null))&&_(r,"max",E),(!M||32768&i)&&_(r,"maxlength",e[15]),(!M||16384&i&&A!==(A=e[14]||null))&&_(r,"step",A),(!M||132&i&&T!==(T=f(`zephr-form-input ${e[2]&&`zephr-form-input-${e[2]}`} ${e[7]&&e[2]&&`zephr-payment-form-input-${e[2]}`}`)+" svelte-127vcsp"))&&_(r,"class",T),(!M||148&i)&&$(r,"disabled",e[4]),(!M||228&i)&&$(r,"error",e[5]||e[6]),(!M||262276&i)&&$(r,"zephr-form-input-full-width",e[18]),(!M||132&i)&&$(r,"zephr-payment-form-input",e[7]),(!M||262276&i)&&$(r,"zephr-payment-form-input-full-width",e[7]&&e[18]),e[16]?x?x.p(e,i):(x=_o(e),x.c(),x.m(t,null)):x&&(x.d(1),x=null),(!M||128&i)&&$(t,"zephr-payment-form-input-inner-container",e[7]),z&&z.p&&(!M||33554432&i)&&p(z,F,e,e[25],M?d(F,e[25],i,null):m(e[25]),null),e[6]?k?(k.p(e,i),64&i&&te(k,1)):(k=Oo(e),k.c(),te(k,1),k.m(R.parentNode,R)):k&&(X(),re(k,1,1,(()=>{k=null})),ee())},i(e){M||(te(z,e),te(k),M=!0)},o(e){re(z,e),re(k),M=!1},d(r){r&&(g(t),g(I),g(w),g(R)),e[27](null),x&&x.d(),z&&z.d(r),k&&k.d(r),N=!1,o(L)}}}function wo(e,t,r){let{$$slots:n={},$$scope:o}=t;const i=D();let a,s,{id:c}=t,{name:l=c}=t,{type:u="text"}=t,{required:d=!0}=t,{disabled:p=!1}=t,{hasError:m=!1}=t,{errorMessage:f=null}=t,{isPaymentForm:h=!1}=t,{value:y=""}=t,{placeholder:g=""}=t,{checked:b=!1}=t,{pattern:P=""}=t,{min:E=0}=t,{max:A=0}=t,{step:S=0}=t,{maxlength:C=null}=t,{innerText:v=null}=t,{innerTextOnClick:T=null}=t,{fill:_=!1}=t,{autocomplete:O=""}=t,{onFocus:I}=t,{onBlur:w}=t;var R;return R=()=>{v&&s&&a&&r(22,a.style.paddingRight=`${s.offsetWidth+8}px`,a)},z().$$.after_update.push(R),e.$$set=e=>{"id"in e&&r(0,c=e.id),"name"in e&&r(1,l=e.name),"type"in e&&r(2,u=e.type),"required"in e&&r(3,d=e.required),"disabled"in e&&r(4,p=e.disabled),"hasError"in e&&r(5,m=e.hasError),"errorMessage"in e&&r(6,f=e.errorMessage),"isPaymentForm"in e&&r(7,h=e.isPaymentForm),"value"in e&&r(8,y=e.value),"placeholder"in e&&r(9,g=e.placeholder),"checked"in e&&r(10,b=e.checked),"pattern"in e&&r(11,P=e.pattern),"min"in e&&r(12,E=e.min),"max"in e&&r(13,A=e.max),"step"in e&&r(14,S=e.step),"maxlength"in e&&r(15,C=e.maxlength),"innerText"in e&&r(16,v=e.innerText),"innerTextOnClick"in e&&r(17,T=e.innerTextOnClick),"fill"in e&&r(18,_=e.fill),"autocomplete"in e&&r(19,O=e.autocomplete),"onFocus"in e&&r(20,I=e.onFocus),"onBlur"in e&&r(21,w=e.onBlur),"$$scope"in e&&r(25,o=e.$$scope)},[c,l,u,d,p,m,f,h,y,g,b,P,E,A,S,C,v,T,_,O,I,w,a,s,e=>{i("change","checkbox"!==u?e.target.value:e.target.checked)},o,n,function(e){U[e?"unshift":"push"]((()=>{a=e,r(22,a)}))},function(e){U[e?"unshift":"push"]((()=>{s=e,r(23,s)}))}]}class Ro extends de{constructor(e){super(),ue(this,e,wo,Io,a,{id:0,name:1,type:2,required:3,disabled:4,hasError:5,errorMessage:6,isPaymentForm:7,value:8,placeholder:9,checked:10,pattern:11,min:12,max:13,step:14,maxlength:15,innerText:16,innerTextOnClick:17,fill:18,autocomplete:19,onFocus:20,onBlur:21})}}function Mo(e){let t,r;return{c(){t=P("span"),r=A(e[1]),_(t,"class","svelte-vnzoa4")},m(e,n){y(e,t,n),h(t,r)},p(e,t){2&t&&w(r,e[1])},d(e){e&&g(t)}}}function No(e){let t,r,n,o,i,a,s=e[1]&&Mo(e);const c=e[6].default,u=l(c,e,e[5],null);return{c(){t=P("label"),r=P("span"),n=A(e[2]),o=S(),s&&s.c(),i=S(),u&&u.c(),_(r,"class","svelte-vnzoa4"),_(t,"class","zephr-form-input-label svelte-vnzoa4"),_(t,"for",e[0]),_(t,"style",e[3]),$(t,"zephr-payment-form-input-label",e[4])},m(e,c){y(e,t,c),h(t,r),h(r,n),h(t,o),s&&s.m(t,null),h(t,i),u&&u.m(t,null),a=!0},p(e,[r]){(!a||4&r)&&w(n,e[2]),e[1]?s?s.p(e,r):(s=Mo(e),s.c(),s.m(t,i)):s&&(s.d(1),s=null),u&&u.p&&(!a||32&r)&&p(u,c,e,e[5],a?d(c,e[5],r,null):m(e[5]),null),(!a||1&r)&&_(t,"for",e[0]),(!a||8&r)&&_(t,"style",e[3]),(!a||16&r)&&$(t,"zephr-payment-form-input-label",e[4])},i(e){a||(te(u,e),a=!0)},o(e){re(u,e),a=!1},d(e){e&&g(t),s&&s.d(),u&&u.d(e)}}}function $o(e,t,r){let{$$slots:n={},$$scope:o}=t,{forInput:i}=t,{sublabel:a=""}=t,{label:s=""}=t,{style:c=""}=t,{isPaymentForm:l=!1}=t;return e.$$set=e=>{"forInput"in e&&r(0,i=e.forInput),"sublabel"in e&&r(1,a=e.sublabel),"label"in e&&r(2,s=e.label),"style"in e&&r(3,c=e.style),"isPaymentForm"in e&&r(4,l=e.isPaymentForm),"$$scope"in e&&r(5,o=e.$$scope)},[i,a,s,c,l,o,n]}class Lo extends de{constructor(e){super(),ue(this,e,$o,No,a,{forInput:0,sublabel:1,label:2,style:3,isPaymentForm:4})}}function xo(e){let t,r,n,o,i;return t=new Lo({props:{forInput:e[13],label:e[1],isPaymentForm:e[8]}}),o=new Ro({props:{disabled:e[0],required:!0,id:e[13],type:e[14],value:e[11],placeholder:e[2],errorMessage:e[5],autocomplete:e[7],isPaymentForm:e[8],innerTextOnClick:e[16],innerText:e[12]?e[4]:e[3],onFocus:e[9],onBlur:e[10]}}),o.$on("change",e[17]),{c(){ae(t.$$.fragment),r=S(),n=P("div"),ae(o.$$.fragment),_(n,"class","zephr-form-relative-container"),$(n,"zephr-payment-form-relative-container",e[8])},m(e,a){se(t,e,a),y(e,r,a),y(e,n,a),se(o,n,null),i=!0},p(e,[r]){const a={};8192&r&&(a.forInput=e[13]),2&r&&(a.label=e[1]),256&r&&(a.isPaymentForm=e[8]),t.$set(a);const s={};1&r&&(s.disabled=e[0]),8192&r&&(s.id=e[13]),16384&r&&(s.type=e[14]),2048&r&&(s.value=e[11]),4&r&&(s.placeholder=e[2]),32&r&&(s.errorMessage=e[5]),128&r&&(s.autocomplete=e[7]),256&r&&(s.isPaymentForm=e[8]),4096&r&&(s.innerTextOnClick=e[16]),4120&r&&(s.innerText=e[12]?e[4]:e[3]),512&r&&(s.onFocus=e[9]),1024&r&&(s.onBlur=e[10]),o.$set(s),(!i||256&r)&&$(n,"zephr-payment-form-relative-container",e[8])},i(e){i||(te(t.$$.fragment,e),te(o.$$.fragment,e),i=!0)},o(e){re(t.$$.fragment,e),re(o.$$.fragment,e),i=!1},d(e){e&&(g(r),g(n)),ce(t,e),ce(o)}}}function Fo(e,t,r){let n,o,{disabled:i}=t,{label:a}=t,{placeholder:s}=t,{isMainPassword:c}=t,{showLabel:l}=t,{hideLabel:u}=t,{error:d=null}=t,{onChange:p}=t,{autocomplete:m}=t,{isPaymentForm:f=!1}=t,{onFocus:h}=t,{onBlur:y}=t,{password:g}=t,b=!1;return e.$$set=e=>{"disabled"in e&&r(0,i=e.disabled),"label"in e&&r(1,a=e.label),"placeholder"in e&&r(2,s=e.placeholder),"isMainPassword"in e&&r(15,c=e.isMainPassword),"showLabel"in e&&r(3,l=e.showLabel),"hideLabel"in e&&r(4,u=e.hideLabel),"error"in e&&r(5,d=e.error),"onChange"in e&&r(6,p=e.onChange),"autocomplete"in e&&r(7,m=e.autocomplete),"isPaymentForm"in e&&r(8,f=e.isPaymentForm),"onFocus"in e&&r(9,h=e.onFocus),"onBlur"in e&&r(10,y=e.onBlur),"password"in e&&r(11,g=e.password)},e.$$.update=()=>{4096&e.$$.dirty&&r(14,n=b?"text":"password"),32768&e.$$.dirty&&r(13,o="zephr-form-"+(c?"password":"confirm-password"))},[i,a,s,l,u,d,p,m,f,h,y,g,b,o,n,c,()=>r(12,b=!b),({detail:e})=>p(e)]}class zo extends de{constructor(e){super(),ue(this,e,Fo,xo,a,{disabled:0,label:1,placeholder:2,isMainPassword:15,showLabel:3,hideLabel:4,error:5,onChange:6,autocomplete:7,isPaymentForm:8,onFocus:9,onBlur:10,password:11})}}function ko(e){let t,r,n,o,i,a,s,c;return i=new er({props:{icon:jt,color:e[0]&&e[0]===e[1]?Do:Bo}}),{c(){t=P("div"),r=P("ul"),n=P("li"),o=P("div"),ae(i.$$.fragment),a=S(),s=A(e[2]),_(o,"class","zephr-form-password-requirement-icon svelte-11tz5c7"),$(o,"zephr-payment-form-password-requirement-icon",e[3]),_(n,"class","zephr-form-password-requirement svelte-11tz5c7"),$(n,"zephr-payment-form-password-requirement",e[3]),_(r,"class","svelte-11tz5c7"),_(t,"class","zephr-form-flex-container zephr-form-password-match svelte-11tz5c7"),$(t,"zephr-payment-form-flex-container",e[3]),$(t,"zephr-payment-form-password-match",e[3])},m(e,l){y(e,t,l),h(t,r),h(r,n),h(n,o),se(i,o,null),h(n,a),h(n,s),c=!0},p(e,[r]){const a={};3&r&&(a.color=e[0]&&e[0]===e[1]?Do:Bo),i.$set(a),(!c||8&r)&&$(o,"zephr-payment-form-password-requirement-icon",e[3]),(!c||4&r)&&w(s,e[2]),(!c||8&r)&&$(n,"zephr-payment-form-password-requirement",e[3]),(!c||8&r)&&$(t,"zephr-payment-form-flex-container",e[3]),(!c||8&r)&&$(t,"zephr-payment-form-password-match",e[3])},i(e){c||(te(i.$$.fragment,e),c=!0)},o(e){re(i.$$.fragment,e),c=!1},d(e){e&&g(t),ce(i)}}}const Do="var(--zf-password-valid-color)",Bo="var(--zf-password-invalid-color)";function Uo(e,t,r){let{password:n}=t,{confirmPassword:o}=t,{passwordsMatchText:i}=t,{isPaymentForm:a=!1}=t;return e.$$set=e=>{"password"in e&&r(0,n=e.password),"confirmPassword"in e&&r(1,o=e.confirmPassword),"passwordsMatchText"in e&&r(2,i=e.passwordsMatchText),"isPaymentForm"in e&&r(3,a=e.isPaymentForm)},[n,o,i,a]}class Go extends de{constructor(e){super(),ue(this,e,Uo,ko,a,{password:0,confirmPassword:1,passwordsMatchText:2,isPaymentForm:3})}}function Vo(e,t,r){const n=e.slice();return n[12]=t[r],n[14]=r,n}function qo(e){let t;return{c(){t=P("div"),_(t,"class","zephr-form-password-bar svelte-1b6w0g8"),M(t,"background-color",e[3]>e[14]?Jo:Qo),$(t,"zephr-payment-form-password-bar",e[2])},m(e,r){y(e,t,r)},p(e,r){8&r&&M(t,"background-color",e[3]>e[14]?Jo:Qo),4&r&&$(t,"zephr-payment-form-password-bar",e[2])},d(e){e&&g(t)}}}function jo(e){let t,r,n,o,i,a,s=e[1].minLengthValidationText+"";return n=new er({props:{icon:jt,color:e[4]?Jo:Qo}}),{c(){t=P("li"),r=P("div"),ae(n.$$.fragment),o=S(),i=A(s),_(r,"class","zephr-form-password-requirement-icon svelte-1b6w0g8"),$(r,"zephr-payment-form-password-requirement-icon",e[2]),_(t,"class","zephr-form-password-requirement svelte-1b6w0g8"),$(t,"zephr-payment-form-password-requirement",e[2])},m(e,s){y(e,t,s),h(t,r),se(n,r,null),h(t,o),h(t,i),a=!0},p(e,o){const c={};16&o&&(c.color=e[4]?Jo:Qo),n.$set(c),(!a||4&o)&&$(r,"zephr-payment-form-password-requirement-icon",e[2]),(!a||2&o)&&s!==(s=e[1].minLengthValidationText+"")&&w(i,s),(!a||4&o)&&$(t,"zephr-payment-form-password-requirement",e[2])},i(e){a||(te(n.$$.fragment,e),a=!0)},o(e){re(n.$$.fragment,e),a=!1},d(e){e&&g(t),ce(n)}}}function Ho(e){let t,r,n,o,i,a,s=e[1].uppercaseValidationText+"";return n=new er({props:{icon:jt,color:e[7]?Jo:Qo}}),{c(){t=P("li"),r=P("div"),ae(n.$$.fragment),o=S(),i=A(s),_(r,"class","zephr-form-password-requirement-icon svelte-1b6w0g8"),$(r,"zephr-payment-form-password-requirement-icon",e[2]),_(t,"class","zephr-form-password-requirement svelte-1b6w0g8"),$(t,"zephr-payment-form-password-requirement",e[2])},m(e,s){y(e,t,s),h(t,r),se(n,r,null),h(t,o),h(t,i),a=!0},p(e,o){const c={};128&o&&(c.color=e[7]?Jo:Qo),n.$set(c),(!a||4&o)&&$(r,"zephr-payment-form-password-requirement-icon",e[2]),(!a||2&o)&&s!==(s=e[1].uppercaseValidationText+"")&&w(i,s),(!a||4&o)&&$(t,"zephr-payment-form-password-requirement",e[2])},i(e){a||(te(n.$$.fragment,e),a=!0)},o(e){re(n.$$.fragment,e),a=!1},d(e){e&&g(t),ce(n)}}}function Ko(e){let t,r,n,o,i,a,s=e[1].numberValidationText+"";return n=new er({props:{icon:jt,color:e[6]?Jo:Qo}}),{c(){t=P("li"),r=P("div"),ae(n.$$.fragment),o=S(),i=A(s),_(r,"class","zephr-form-password-requirement-icon svelte-1b6w0g8"),$(r,"zephr-payment-form-password-requirement-icon",e[2]),_(t,"class","zephr-form-password-requirement svelte-1b6w0g8"),$(t,"zephr-payment-form-password-requirement",e[2])},m(e,s){y(e,t,s),h(t,r),se(n,r,null),h(t,o),h(t,i),a=!0},p(e,o){const c={};64&o&&(c.color=e[6]?Jo:Qo),n.$set(c),(!a||4&o)&&$(r,"zephr-payment-form-password-requirement-icon",e[2]),(!a||2&o)&&s!==(s=e[1].numberValidationText+"")&&w(i,s),(!a||4&o)&&$(t,"zephr-payment-form-password-requirement",e[2])},i(e){a||(te(n.$$.fragment,e),a=!0)},o(e){re(n.$$.fragment,e),a=!1},d(e){e&&g(t),ce(n)}}}function Yo(e){let t,r,n,o,i,a,s=e[1].symbolValidationText+"";return n=new er({props:{icon:jt,color:e[5]?Jo:Qo}}),{c(){t=P("li"),r=P("div"),ae(n.$$.fragment),o=S(),i=A(s),_(r,"class","zephr-form-password-requirement-icon svelte-1b6w0g8"),$(r,"zephr-payment-form-password-requirement-icon",e[2]),_(t,"class","zephr-form-password-requirement svelte-1b6w0g8"),$(t,"zephr-payment-form-password-requirement",e[2])},m(e,s){y(e,t,s),h(t,r),se(n,r,null),h(t,o),h(t,i),a=!0},p(e,o){const c={};32&o&&(c.color=e[5]?Jo:Qo),n.$set(c),(!a||4&o)&&$(r,"zephr-payment-form-password-requirement-icon",e[2]),(!a||2&o)&&s!==(s=e[1].symbolValidationText+"")&&w(i,s),(!a||4&o)&&$(t,"zephr-payment-form-password-requirement",e[2])},i(e){a||(te(n.$$.fragment,e),a=!0)},o(e){re(n.$$.fragment,e),a=!1},d(e){e&&g(t),ce(n)}}}function Wo(e){let t,r,n,o,i,a,s,c,l=ne(Array(e[8])),u=[];for(let t=0;t<l.length;t+=1)u[t]=qo(Vo(e,l,t));let d=e[0].minLength&&jo(e),p=e[0].requireUppercase&&Ho(e),m=e[0].requireNumbers&&Ko(e),f=e[0].requireSpecialCharacters&&Yo(e);return{c(){t=P("div");for(let e=0;e<u.length;e+=1)u[e].c();r=S(),n=P("div"),o=P("ul"),d&&d.c(),i=S(),p&&p.c(),a=S(),m&&m.c(),s=S(),f&&f.c(),_(t,"class","zephr-form-password-progress svelte-1b6w0g8"),$(t,"zephr-payment-form-password-progress",e[2]),_(o,"class","svelte-1b6w0g8"),_(n,"class","zephr-form-flex-container zephr-form-password-requirements svelte-1b6w0g8"),$(n,"zephr-payment-form-flex-container",e[2]),$(n,"zephr-payment-form-password-requirements",e[2])},m(e,l){y(e,t,l);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(t,null);y(e,r,l),y(e,n,l),h(n,o),d&&d.m(o,null),h(o,i),p&&p.m(o,null),h(o,a),m&&m.m(o,null),h(o,s),f&&f.m(o,null),c=!0},p(e,[r]){if(12&r){let n;for(l=ne(Array(e[8])),n=0;n<l.length;n+=1){const o=Vo(e,l,n);u[n]?u[n].p(o,r):(u[n]=qo(o),u[n].c(),u[n].m(t,null))}for(;n<u.length;n+=1)u[n].d(1);u.length=l.length}(!c||4&r)&&$(t,"zephr-payment-form-password-progress",e[2]),e[0].minLength?d?(d.p(e,r),1&r&&te(d,1)):(d=jo(e),d.c(),te(d,1),d.m(o,i)):d&&(X(),re(d,1,1,(()=>{d=null})),ee()),e[0].requireUppercase?p?(p.p(e,r),1&r&&te(p,1)):(p=Ho(e),p.c(),te(p,1),p.m(o,a)):p&&(X(),re(p,1,1,(()=>{p=null})),ee()),e[0].requireNumbers?m?(m.p(e,r),1&r&&te(m,1)):(m=Ko(e),m.c(),te(m,1),m.m(o,s)):m&&(X(),re(m,1,1,(()=>{m=null})),ee()),e[0].requireSpecialCharacters?f?(f.p(e,r),1&r&&te(f,1)):(f=Yo(e),f.c(),te(f,1),f.m(o,null)):f&&(X(),re(f,1,1,(()=>{f=null})),ee()),(!c||4&r)&&$(n,"zephr-payment-form-flex-container",e[2]),(!c||4&r)&&$(n,"zephr-payment-form-password-requirements",e[2])},i(e){c||(te(d),te(p),te(m),te(f),c=!0)},o(e){re(d),re(p),re(m),re(f),c=!1},d(e){e&&(g(t),g(r),g(n)),b(u,e),d&&d.d(),p&&p.d(),m&&m.d(),f&&f.d()}}}const Jo="var(--zf-password-valid-color)",Qo="var(--zf-password-invalid-color)";function Zo(e,t,r){let n,o,i,a,{passwordRequirements:s}=t,{passwordValidationTexts:c}=t,{isPaymentForm:l=!1}=t,{onChange:u}=t,{password:d}=t,{passwordIsValid:p}=t,m=0,f=Object.values(s).reduce(((e,t)=>e+(t?1:0)),0);return e.$$set=e=>{"passwordRequirements"in e&&r(0,s=e.passwordRequirements),"passwordValidationTexts"in e&&r(1,c=e.passwordValidationTexts),"isPaymentForm"in e&&r(2,l=e.isPaymentForm),"onChange"in e&&r(9,u=e.onChange),"password"in e&&r(10,d=e.password),"passwordIsValid"in e&&r(11,p=e.passwordIsValid)},e.$$.update=()=>{1024&e.$$.dirty&&r(7,n=/[A-Z]+/.test(d)),1024&e.$$.dirty&&r(6,o=/[0-9]+/.test(d)),1024&e.$$.dirty&&r(5,i=/[^a-z0-9A-Z]+/.test(d)),1025&e.$$.dirty&&r(4,a=d?.length>=s.minLength),3593&e.$$.dirty&&(r(3,m=0),/[A-Z]+/.test(d)&&s.requireUppercase&&r(3,m+=1),/[0-9]+/.test(d)&&s.requireNumbers&&r(3,m+=1),/[^a-z0-9A-Z]+/.test(d)&&s.requireSpecialCharacters&&r(3,m+=1),d?.length>=s.minLength&&s.minLength&&r(3,m+=1),m>=f!==p&&u(m>=f))},[s,c,l,m,a,i,o,n,f,u,d,p]}class Xo extends de{constructor(e){super(),ue(this,e,Zo,Wo,a,{passwordRequirements:0,passwordValidationTexts:1,isPaymentForm:2,onChange:9,password:10,passwordIsValid:11})}}function ei(e){let t,r;return t=new Xo({props:{password:e[12],passwordIsValid:e[14],passwordRequirements:e[1],passwordValidationTexts:e[16],isPaymentForm:e[3],onChange:e[10]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};4096&r&&(n.password=e[12]),16384&r&&(n.passwordIsValid=e[14]),2&r&&(n.passwordRequirements=e[1]),8&r&&(n.isPaymentForm=e[3]),1024&r&&(n.onChange=e[10]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function ti(e){let t,r;return t=new zo({props:{disabled:e[11],password:e[13],isMainPassword:!1,label:e[0].confirm,hideLabel:e[0].hide,showLabel:e[0].show,placeholder:e[0].confirmPlaceholder,isPaymentForm:e[3],autocomplete:"new-password",onChange:e[7],onFocus:e[8],onBlur:e[9]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};2048&r&&(n.disabled=e[11]),8192&r&&(n.password=e[13]),1&r&&(n.label=e[0].confirm),1&r&&(n.hideLabel=e[0].hide),1&r&&(n.showLabel=e[0].show),1&r&&(n.placeholder=e[0].confirmPlaceholder),8&r&&(n.isPaymentForm=e[3]),128&r&&(n.onChange=e[7]),256&r&&(n.onFocus=e[8]),512&r&&(n.onBlur=e[9]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function ri(e){let t,r;return t=new Go({props:{password:e[12],confirmPassword:e[13],passwordsMatchText:e[16].passwordsMatchText,isPaymentForm:e[3]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};4096&r&&(n.password=e[12]),8192&r&&(n.confirmPassword=e[13]),8&r&&(n.isPaymentForm=e[3]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function ni(e){let t,r;return t=new zt({props:{error:e[15]??"",isPaymentForm:e[3]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};32768&r&&(n.error=e[15]??""),8&r&&(n.isPaymentForm=e[3]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function oi(e){let t,r,n,o,i,a,s;t=new zo({props:{disabled:e[11],password:e[12],isMainPassword:!0,label:e[0].password,hideLabel:e[0].hide,showLabel:e[0].show,placeholder:e[0].placeholder,isPaymentForm:e[3],autocomplete:e[2]?"current-password":"new-password",onChange:e[4],onFocus:e[5],onBlur:e[6]}});let c=e[0].passValidatorEnabled&&ei(e),l=!e[2]&&ti(e),u=e[0].passwordsMatchIndicatorEnabled&&ri(e),d=e[15]&&ni(e);return{c(){ae(t.$$.fragment),r=S(),c&&c.c(),n=S(),l&&l.c(),o=S(),u&&u.c(),i=S(),d&&d.c(),a=C()},m(e,p){se(t,e,p),y(e,r,p),c&&c.m(e,p),y(e,n,p),l&&l.m(e,p),y(e,o,p),u&&u.m(e,p),y(e,i,p),d&&d.m(e,p),y(e,a,p),s=!0},p(e,[r]){const s={};2048&r&&(s.disabled=e[11]),4096&r&&(s.password=e[12]),1&r&&(s.label=e[0].password),1&r&&(s.hideLabel=e[0].hide),1&r&&(s.showLabel=e[0].show),1&r&&(s.placeholder=e[0].placeholder),8&r&&(s.isPaymentForm=e[3]),4&r&&(s.autocomplete=e[2]?"current-password":"new-password"),16&r&&(s.onChange=e[4]),32&r&&(s.onFocus=e[5]),64&r&&(s.onBlur=e[6]),t.$set(s),e[0].passValidatorEnabled?c?(c.p(e,r),1&r&&te(c,1)):(c=ei(e),c.c(),te(c,1),c.m(n.parentNode,n)):c&&(X(),re(c,1,1,(()=>{c=null})),ee()),e[2]?l&&(X(),re(l,1,1,(()=>{l=null})),ee()):l?(l.p(e,r),4&r&&te(l,1)):(l=ti(e),l.c(),te(l,1),l.m(o.parentNode,o)),e[0].passwordsMatchIndicatorEnabled?u?(u.p(e,r),1&r&&te(u,1)):(u=ri(e),u.c(),te(u,1),u.m(i.parentNode,i)):u&&(X(),re(u,1,1,(()=>{u=null})),ee()),e[15]?d?(d.p(e,r),32768&r&&te(d,1)):(d=ni(e),d.c(),te(d,1),d.m(a.parentNode,a)):d&&(X(),re(d,1,1,(()=>{d=null})),ee())},i(e){s||(te(t.$$.fragment,e),te(c),te(l),te(u),te(d),s=!0)},o(e){re(t.$$.fragment,e),re(c),re(l),re(u),re(d),s=!1},d(e){e&&(g(r),g(n),g(o),g(i),g(a)),ce(t,e),c&&c.d(e),l&&l.d(e),u&&u.d(e),d&&d.d(e)}}}function ii(e,t,r){let{config:n}=t,{passwordRequirements:o}=t,{hideConfirmPassword:i}=t,{isPaymentForm:a=!1}=t,{onPasswordChange:s}=t,{onPasswordFocus:c}=t,{onPasswordBlur:l}=t,{onConfirmPasswordChange:u}=t,{onConfirmPasswordFocus:d}=t,{onConfirmPasswordBlur:p}=t,{onPasswordIsValidChange:m}=t,{disabled:f}=t,{password:h}=t,{confirmPassword:y}=t,{passwordIsValid:g}=t,{error:b=null}=t,P={minLengthValidationText:n.minLengthValidation||`Must include at least ${o.minLength} characters`,uppercaseValidationText:n.uppercaseValidation||"Must include an uppercase letter",numberValidationText:n.numberValidation||"Must include a number character",symbolValidationText:n.symbolValidation||"Must include a supported symbol",passwordsMatchText:n.passwordsMatchText||"Passwords match"};return e.$$set=e=>{"config"in e&&r(0,n=e.config),"passwordRequirements"in e&&r(1,o=e.passwordRequirements),"hideConfirmPassword"in e&&r(2,i=e.hideConfirmPassword),"isPaymentForm"in e&&r(3,a=e.isPaymentForm),"onPasswordChange"in e&&r(4,s=e.onPasswordChange),"onPasswordFocus"in e&&r(5,c=e.onPasswordFocus),"onPasswordBlur"in e&&r(6,l=e.onPasswordBlur),"onConfirmPasswordChange"in e&&r(7,u=e.onConfirmPasswordChange),"onConfirmPasswordFocus"in e&&r(8,d=e.onConfirmPasswordFocus),"onConfirmPasswordBlur"in e&&r(9,p=e.onConfirmPasswordBlur),"onPasswordIsValidChange"in e&&r(10,m=e.onPasswordIsValidChange),"disabled"in e&&r(11,f=e.disabled),"password"in e&&r(12,h=e.password),"confirmPassword"in e&&r(13,y=e.confirmPassword),"passwordIsValid"in e&&r(14,g=e.passwordIsValid),"error"in e&&r(15,b=e.error)},[n,o,i,a,s,c,l,u,d,p,m,f,h,y,g,b,P]}class ai extends de{constructor(e){super(),ue(this,e,ii,oi,a,{config:0,passwordRequirements:1,hideConfirmPassword:2,isPaymentForm:3,onPasswordChange:4,onPasswordFocus:5,onPasswordBlur:6,onConfirmPasswordChange:7,onConfirmPasswordFocus:8,onConfirmPasswordBlur:9,onPasswordIsValidChange:10,disabled:11,password:12,confirmPassword:13,passwordIsValid:14,error:15})}}const si={matches:e=>e.type===Pe&&null!=e.config?.confirm,create:(e,t,r,n)=>({component:ai,props:{disabled:t.isBusy,config:n,passwordRequirements:e.organisationConfiguration.passwordStrengthRequirements,hideConfirmPassword:e.organisationConfiguration.hideConfirmPasswordOnRegForm,isPaymentForm:e.formType===wt.PAYMENT,onPasswordChange:n=>{r.updateFormState({createPassword:n}),dt(e,"zephr_form_input_change",{inputName:"zephr-form-password",sectionId:t.currentSection.type,field:"create-password"})},onPasswordFocus:()=>dt(e,"zephr_form_input_focus",{inputName:"zephr-form-password",sectionId:t.currentSection.type,field:"create-password"}),onPasswordBlur:()=>dt(e,"zephr_form_input_blur",{inputName:"zephr-form-password",sectionId:t.currentSection.type,field:"create-password"}),onConfirmPasswordChange:n=>{r.updateFormState({confirmCreatePassword:n}),dt(e,"zephr_form_input_change",{inputName:"zephr-form-confirm-password",sectionId:t.currentSection.type,field:"confirm-password"})},onConfirmPasswordFocus:()=>dt(e,"zephr_form_input_focus",{inputName:"zephr-form-confirm-password",sectionId:t.currentSection.type,field:"confirm-password"}),onConfirmPasswordBlur:()=>dt(e,"zephr_form_input_blur",{inputName:"zephr-form-confirm-password",sectionId:t.currentSection.type,field:"confirm-password"}),onPasswordIsValidChange:e=>r.updateFormState({passwordIsValid:e}),password:t.createPassword,confirmPassword:t.confirmCreatePassword,passwordIsValid:t.passwordIsValid},isValid:null!=t.password&&(!n.passValidatorEnabled||t.passwordIsValid)&&(e.organisationConfiguration.hideConfirmPasswordOnRegForm||t.createPassword===t.confirmCreatePassword)})},ci={matches:e=>e.type===Pe&&null==e.config?.confirm,create:(e,t,r,n)=>{const o=n.isUpdatePasswordCurrentPassword?"currentPassword":"password";return{component:zo,props:{disabled:t.isBusy,label:n.password,placeholder:n.placeholder,isMainPassword:!0,showLabel:n.showLabel,hideLabel:n.hideLabel,password:t[o],autocomplete:"password",onChange:n=>{r.updateFormState({[o]:n}),dt(e,"zephr_form_input_change",{inputName:"zephr-form-password",sectionId:t.currentSection.type,field:"password"})},onFocus:()=>dt(e,"zephr_form_input_focus",{inputName:"zephr-form-password",sectionId:t.currentSection.type,field:"password"}),onBlur:()=>dt(e,"zephr_form_input_blur",{inputName:"zephr-form-password",sectionId:t.currentSection.type,field:"password"})},isValid:(i=t[o],null!=i&&i.length>2)};var i}},li={matches:e=>e.type===Ae&&!e.config.isLogin&&!e.config.isCancel,create:(e,t,r,n)=>({component:mo,props:{disabled:t.isBusy||!t.canAttemptSectionCompletion,text:n.text,onClick:()=>{dt(e,"zephr_form_button_press",{sectionId:t.currentSection.type,buttonType:"SUBMIT"}),r.attemptCompleteSection()},isPaymentForm:e.formType===wt.PAYMENT}})};function ui(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var di={exports:{}};!function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();
/**
* @author Leandro Silva
* @copyright 2012, 2017 Leandro Silva (http://grafluxe.com)
* @license MIT
*
* @classdesc
* Validate email address patterns that others don't. This project aims to support all common addresses along
* with many rare ones that are considered valid under RFC standards. It can be used in both client and server
* side environments.
*
* <p>
* <b>Valid email addresses that are supported:</b>
* <ul>
* <li>niceandsimple@example.com</li>
* <li>very.common@example.com</li>
* <li>a.little.lengthy.but.fine@dept.example.com</li>
* <li>disposable.style.email.with+symbol@example.com</li>
* <li>other.email-with-dash@example.com</li>
* <li>"much.more unusual"@example.com</li>
* <li>"very.unusual.@.unusual.com"@example.com</li>
* <li>#!$%&\'*+-/=?^_\`{}|~@example.org</li>
* <li>" "@example.org</li>
* <li>üñîçøðé@üñîçøðé.com</li>
* <li>admin@mailserver1</li>
* <li>user@tt</li>
* <li>"hi"@example.com</li>
* <li>jsmith@[192.168.2.1]</li>
* <li>jsmith@[IPv6:2001:db8::1]</li>
* <li>email@123.123.123.123</li>
* <li>"()<>[]:,;@\\\"!#$%&\'*+-/=?^_\`{}| ~.a"@example.org</li>
* <li>abc."defghi".xyz@example.com</li>
* <li>_______@example.com</li>
* <li>very.unusual."@".unusual.com@example.com</li>
* <li>john.smith(comment)@example.com</li>
* <li>(comment)john.smith@example.com</li>
* <li>"()<>[]:,;@\\\"!#$%&\'*+-/=?^_\`{}| ~.a"(comment)@example.org</li>
* </ul>
*
* <b>Valid (but rare) email addresses that are not supported:</b>
* <ul>
* <li>"very.(),:;<>[]\".VERY.\"very@\\ \"very\".unusual"@strange.example.com</li>
* <li>"()<>[]:,;@\"!#$%&\'*+-/=?^_\`{}| ~.a"@example.org</li>
* <li>abc."d\"efghi".xyz@example.com</li>
* <li>much."more\ unusual"@example.com</li>
* </ul>
* </p>
*/
var n=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"isValidAddress",value:function(e){return this._whitelist(e)&&!this._blacklist(e)&&!this._tooLong(e)}},{key:"getParts",value:function(e){var t=e.match(/[^@]*$/);return{local:e.substr(0,t.index-1)||"",domain:t[0]||""}}},{key:"_whitelist",value:function(e){return/^(?=\s)|^(?:(?!.+\.{2,})(?!\.)(?:[\w.!#$%&'*+\-\/=?\^`{|} ~]|[^\x00-\x7F])+[^\."]@|^"(?:[\w.!#$%&'*+\-\/=?\^`{|} ~(),:;<>@\[\]]|[^\x00-\x7F])+"@|(?:[\w.!#$%&'*+\-\/=?\^`{|} ~]|[^\x00-\x7F])+\."(?:[\w.!#$%&'*+\-\/=?\^`{|} ~"(),:;<>\\@\[\]]|[^\x00-\x7F])+"\.(?:[\w.!#$%&'*+\-\/=?\^`{|} ~]|[^\x00-\x7F])+@)(?!-)(?!.*-\.)(?:[a-zA-Z0-9-.]|[^\x00-\x7F])+$|^".+"@.+|.+@\[(?:\w+\.|\w+:){3}.+\]|^\(.+\)|\(.+\)@/.test(e)}},{key:"_blacklist",value:function(e){return/^@|^\s|@\[?(?=\d).*\d{4,}|"(?!.+\\").+".+"|.\(.+\)@(?=.+@)/.test(e)}},{key:"_tooLong",value:function(e){var t=this.getParts(e);return t.domain.length>=253||t.local.length>=64||e.length>=254}}]),e}();"object"===t(e)&&e.exports&&(e.exports=n)}(di);const pi=new(ui(di.exports)),mi=e=>!!e&&(!!e.match(/^[^@]@[a-zA-Z0-9].+$/)||pi.isValidAddress(e));function fi(e){let t,r,n,o,i;return t=new Lo({props:{forInput:e[11],label:e[2],isPaymentForm:e[6]}}),o=new Ro({props:{id:e[11],autocomplete:"email",type:"email",name:"email",disabled:e[1],value:e[0],placeholder:e[3],errorMessage:e[5],innerTextOnClick:e[7],innerText:e[7]&&(e[4]||"Edit"),isPaymentForm:e[6],onFocus:e[9],onBlur:e[10]}}),o.$on("change",e[13]),{c(){ae(t.$$.fragment),r=S(),n=P("div"),ae(o.$$.fragment),_(n,"class","zephr-form-relative-container"),$(n,"zephr-payment-form-relative-container",e[6])},m(e,a){se(t,e,a),y(e,r,a),y(e,n,a),se(o,n,null),i=!0},p(e,[r]){const a={};4&r&&(a.label=e[2]),64&r&&(a.isPaymentForm=e[6]),t.$set(a);const s={};2&r&&(s.disabled=e[1]),1&r&&(s.value=e[0]),8&r&&(s.placeholder=e[3]),32&r&&(s.errorMessage=e[5]),128&r&&(s.innerTextOnClick=e[7]),144&r&&(s.innerText=e[7]&&(e[4]||"Edit")),64&r&&(s.isPaymentForm=e[6]),512&r&&(s.onFocus=e[9]),1024&r&&(s.onBlur=e[10]),o.$set(s),(!i||64&r)&&$(n,"zephr-payment-form-relative-container",e[6])},i(e){i||(te(t.$$.fragment,e),te(o.$$.fragment,e),i=!0)},o(e){re(t.$$.fragment,e),re(o.$$.fragment,e),i=!1},d(e){e&&(g(r),g(n)),ce(t,e),ce(o)}}}function hi(e,t,r){let{formKey:n}=t,{emailAddress:o}=t,{disabled:i}=t,{label:a}=t,{placeholder:s}=t,{editText:c}=t,{error:l=null}=t,{isPaymentForm:u=!1}=t,{onEdit:d}=t,{onChange:p}=t,{onFocus:m}=t,{onBlur:f}=t;const h=`zephr-form-identifier-${n}`;return e.$$set=e=>{"formKey"in e&&r(12,n=e.formKey),"emailAddress"in e&&r(0,o=e.emailAddress),"disabled"in e&&r(1,i=e.disabled),"label"in e&&r(2,a=e.label),"placeholder"in e&&r(3,s=e.placeholder),"editText"in e&&r(4,c=e.editText),"error"in e&&r(5,l=e.error),"isPaymentForm"in e&&r(6,u=e.isPaymentForm),"onEdit"in e&&r(7,d=e.onEdit),"onChange"in e&&r(8,p=e.onChange),"onFocus"in e&&r(9,m=e.onFocus),"onBlur"in e&&r(10,f=e.onBlur)},[o,i,a,s,c,l,u,d,p,m,f,h,n,({detail:e})=>p(e)]}class yi extends de{constructor(e){super(),ue(this,e,hi,fi,a,{formKey:12,emailAddress:0,disabled:1,label:2,placeholder:3,editText:4,error:5,isPaymentForm:6,onEdit:7,onChange:8,onFocus:9,onBlur:10})}}const gi={matches:e=>e.type===ve,create:(e,t,r,n)=>{const o=n.disabled||t.isBusy;return{component:yi,props:{formKey:e.uniqueKey,disabled:o,emailAddress:t.emailAddress,label:n.label,placeholder:n.placeholder,editText:n.editText,onChange:n=>{!o&&r.updateFormState({userExists:void 0,emailIsContact:void 0,emailAddress:n,verificationCode:"",verificationCodeValid:void 0,serverErrors:[]}),dt(e,"zephr_form_input_change",{inputName:`zephr-form-identifier-${e.uniqueKey}`,sectionId:t.currentSection.type,field:"email"})},onFocus:()=>dt(e,"zephr_form_input_focus",{inputName:`zephr-form-identifier-${e.uniqueKey}`,sectionId:t.currentSection.type,field:"email"}),onBlur:()=>dt(e,"zephr_form_input_blur",{inputName:`zephr-form-identifier-${e.uniqueKey}`,sectionId:t.currentSection.type,field:"email"}),onEdit:n.disabled&&(()=>{r.jumpToPartStart(ot.ACCOUNT_VERIFICATION.type)}),isPaymentForm:e.formType===wt.PAYMENT},isValid:mi(t.emailAddress)}}};function bi(e){let t,r;return t=new zt({props:{error:e[0]?.message??e[1]??"",isPaymentForm:!0}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,[r]){const n={};3&r&&(n.error=e[0]?.message??e[1]??""),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Pi(e,t,r){let{providerError:n}=t,{error:o=null}=t;return e.$$set=e=>{"providerError"in e&&r(0,n=e.providerError),"error"in e&&r(1,o=e.error)},[n,o]}class Ei extends de{constructor(e){super(),ue(this,e,Pi,bi,a,{providerError:0,error:1})}}const Ai={matches:e=>e.type===Se||e.type===Ke,create:(e,t,r)=>{const n=so(e.organisationConfiguration.paymentProvider);return n.noPaymentForm(e)?{component:Ei,props:{providerError:t.paymentProviderError},isValid:!0}:{component:n.component,props:{isLoaded:t.paymentProviderFormLoaded,isBusy:t.paymentProviderFormBusy,providerError:t.paymentProviderError,isComplete:t.paymentFormComplete,isDisabled:n.internalSubmit(e)?!t.canAttemptSectionCompletion:t.isBusy||null!=t.mobilePaymentService,onMountCallback:()=>{r.updateFormState({paymentProviderFormLoaded:!1}),n.loader(e,t,r)}},isValid:n.internalSubmit(e)?void 0:t.paymentFormComplete&&!t.paymentProviderError}}},Si=e=>e.parts.flatMap((e=>e.sections)).flatMap((e=>e.elements)).some((e=>e.type===Se&&!1!==e.config?.enabled)),Ci={matches:e=>e.type===xe,create:(e,t,r)=>{const n=co(e.organisationConfiguration.paymentProvider);return e.environment.previewMode?null:{component:n.component,props:{isDisabled:t.isBusy||null!=t.mobilePaymentService,onMountCallback:()=>n.loader(e,t,r),disableCoreDependencyHeader:Si(e)}}}};function vi(t){let r,n,o,i,a,s;return{c(){r=P("div"),n=P("img"),i=S(),a=P("div"),s=A(t[0]),_(n,"class","check-image svelte-12ljnq4"),c(n.src,o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGEAAABiCAYAAABAkr0NAAAJa0lEQVR4Xu2dT28TRxTA39oGUsHBiC/giKT/LiRHpBYIUPWQEmfVD9BwrQoJpZW4JbkhtRUO9E74AO3GQTkVCLSVOGIurVRCky/QkgNIodjezoxjsrZ3Zt7Mzu7OOraEkOLZ9Zv3m3lv/rx540BWPtc2S1Cvl6DplJjITb/1f/CTc7bAgW1w/G0oFLbg+vBWFqrnWCfkwmYRXtbH4HVuDPJwwp24MBNFRu9BtUbAERjOIzjUrMH3ow+jvC+OZ+2AQFv5q+Y0gF92z0+diaOiwXd691YJCKcKh3MrNvSW9CDQFv9Pk7TyZBTPA8t6iuMswVD+YVpAkofwzbMzUPdn3InpL+Ju8arv99bvLsNQbjFpGMlBoMp/7cwnYW5Uld9dnpmrQ/5iUv4jfgjfbo7BTuOGKeUzBeWpow35NPwi+WsRcn7RPVseiwwjoZ4RHwRq87fr8+5EeU5HGS1lw1PIE1t9AGpaJoI2gCaUoEFGWw3ntG5D8NarFRgqLGnJgKh8PBCI6XE/Lq8jfr+jiLe+ugQFfwWOFGqwMLyt+jyqfASfROS7CJWRZdTvKBQyC0Gj9Sdtfzt0c3VzGhpvplUGCaxXFAuLJhuJOQhkrO+enNzENgBSmUVSmYrJymB/u6fctT9LsJNfUILxeG3YlHkyA+HqxrR7asrDKMEq5XcLrAjD+3XVhR9GVjD1FpWJDuHy83n33IUFmSDM7Bx+cxGufxA+spG9IMnvFWB49+8uwM3ji1HEiwYBC8BQi4lSUa1nv96YcU9P3ZY9GxWEPgQEANb6j+VdK+y+TJO875G9IgoIPQgoAHevwK3jFd26W/fc3DPiuMvzIrl0QahDwAD4rTqR1JQ/UViI+Y8OCDUIlzdn3XOTwtbtPf6JDN0y4Hx16RHz5J78XDgU9+79TKzA+2grgIdAlgDcjyafCLtjvwNoVx4D4ve1cfhuuIZhjYOAmIj1fQ8ImVNIewRyQoeDcGljXbT4te8AIHsEGx3eGpmQ9QY5BIkj9hS6nUyYTH4vMdMY/yCGIDFD3r0+G4bqtgLJpM6TmCUxhNlnT3ibI2wNqDIqXa7QrVfmnpt7XiGRIbNhcsvMEh+CjG75D7kpy5wmIwhMl/Ff1Nf5jZa/F8FVpFv90OeJtG8dsYyRzD88WTsatoQTDkHgjAdmSEJCsLzB010vBJkzHpghMQViltzxyRdcKxLSG3ohCHxBXHussl6eue/Jtql7ajJ0kyusN/RAEPqCQS/AtwfBBNfr0mMnhEEvwCtZVlKw4ur9QrZFf9zbFu2EoEBPJsPge6IBjj675w17EAQOeeALNJvUpedz7vkLN0IncAEHvQdB9MB+8AU0PH+IHDAxGXQmGCkFHfQehNm/yRLFZz3xmyxSuXL8omZbsP+xrgmWzs6YsJKc5YygSWpBEJmift2qpPXmzHCNml+Rg941SS0IolFRv5oiwRKDd9+rws33yMkhMx/esL8NuwVh7q/lsBDAvjVFsjUewxBk+m1B4PqDeKKQzbQvzbdg9spNb1RJLI0DIg/ebxv3GADrayT8fXhZE3H4Y4LAAI/4BQdEjqOf/EFaAHaxcP0CGfg4wJkfyHaDjLaUuF+WMgBWvcsbK+65qXJ3VekWsQO8cSw9NVMZ0TrqFLdOld5vAwA2+Anf/qSnkxwRoczHktoCgELgWRwyEiPmKDymyMv6JM0mABTCV2SP4ZPePQbvwUrNETmMzAb12gaAQviShJF+Gh5GyocQ1/A0EFTMUhq8U3BNnf1ivsJGAFQuwTA1WQicSYssOArtiG0FYBUEzjCNyhgZhM0AsgIhEgjbAVgFAXPSBRlO/tZEZQGAVRDYpAVx9gsLIisAtCGYXkkMelcTILIEgNZdYAUc7jJ2V1gGeoSCLRgFRNYACCDQNbp0ly10QGQRgHTZIu0FPBUQWQUgXcATLCyZ3GcVWikMCJKaQZbExItjQwZrXmXluIFgdCnblk0dBAhRPa0GQAQXb+rYtL2pCcJ2AMKQIra9KaIUU7qxqKYp+Lz1AKiwvDUzsowNS++O2xnyguwRmQDAnLI4pMje4C8JiMwAQFiaFgSRX0hzh40DIksAhAOf3T2bQFQ2Z5sz7Q3/LhCZAiAyRbv+gBbZgyA6dcg5+ikbGhv7np4R3iGZf02HrhsTkP8i7tA0kA1hD4LIJA3SJ+jhEoU/BraPUcel+ioQTE+dWk/xe0Fn9pdOCJywDCpB5kNgtNQY4SGFQ5joI7SD3qAGROUocu9hcpGDzmp+UzX9RS+t0As6R0ftn9ZICxBd6v56g2pylvAEIxpJMvpLjRFqo5GcJRyCrDfEuf8cof6pP6qZnEUr6RQLXzxamDB65jd1DUYXQGiGBCvS4uxdojQL9DKHyuiV6KL3yRtEZog22qXRcV5NxRAkSVi9+6szcHPkTp+oUb8akszJskxpYghULEG6BTaJ2+/+QXYcF5GwUQ6BgZAlpzV3tYl+c0zhSZkjNpacltYNkxsaG7qYgq5i+UmDqatxPYHWAhPzs19AYAAomGk8BIR/YD6i30FgACgu/atBoFpGbML37YorJrQf4Yi7zaM6BCwIA7cuxWLLdV+KucBDAwAVRw8CFkRCF4jq6hX1HLs3uuHJ7u2MkrRXHwISBPMTaQSRoTQsKYS8xC8KgGg9oS0/wke0QKRz4bQWC3ZdfeO2rPW36hU9e360ntCuoSAjbrcSrIZBTc+/TXJ5k/wGRQbA0CaXGQhUIsSELgjEKhiKym8Nxc3domUOApWMXQXcJJfChV/mEGYaGIy8XzVxkaiy6dG4sp7dGV3ML5hcxjcLoa0F5J2Voaaq0LwTW04N2kheklvK6w65g3kq9NYPEci45j/xQNg1T7BzcE6lV3SYK3Y9vP8I8k4Ncvkt7J1lHUqkDvZNg1wND2fIvxMYRxveW823/uDvxAeh/SvIC0QxpoTt6DUdem38NoETfn18wy/pKrunZ9KGMJS/otUAMBXaLRM/hLYwGvZXoR5GiyZ9ZX1yEGLoGUY1T0c8dJAQp0/iCJw8hCCM/w4QW+3P8m5kMq3kUHtPTQ44VTiWWzY54lGRPT0IQSmp33h1kKRF9sum7LlwlNNW/OHcitGEVyqaD5S1A0K38Mx/5EgGe/805IijPVvuyWavUl9mZhrwFA41a3CkUEurxfNkthNCmLR0uFmvl8AvFMFvFKHpl3qK5Zwt9recvwWFwpYNrRzTWP4HK7laSxb9gaIAAAAASUVORK5CYII=")||_(n,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGEAAABiCAYAAABAkr0NAAAJa0lEQVR4Xu2dT28TRxTA39oGUsHBiC/giKT/LiRHpBYIUPWQEmfVD9BwrQoJpZW4JbkhtRUO9E74AO3GQTkVCLSVOGIurVRCky/QkgNIodjezoxjsrZ3Zt7Mzu7OOraEkOLZ9Zv3m3lv/rx540BWPtc2S1Cvl6DplJjITb/1f/CTc7bAgW1w/G0oFLbg+vBWFqrnWCfkwmYRXtbH4HVuDPJwwp24MBNFRu9BtUbAERjOIzjUrMH3ow+jvC+OZ+2AQFv5q+Y0gF92z0+diaOiwXd691YJCKcKh3MrNvSW9CDQFv9Pk7TyZBTPA8t6iuMswVD+YVpAkofwzbMzUPdn3InpL+Ju8arv99bvLsNQbjFpGMlBoMp/7cwnYW5Uld9dnpmrQ/5iUv4jfgjfbo7BTuOGKeUzBeWpow35NPwi+WsRcn7RPVseiwwjoZ4RHwRq87fr8+5EeU5HGS1lw1PIE1t9AGpaJoI2gCaUoEFGWw3ntG5D8NarFRgqLGnJgKh8PBCI6XE/Lq8jfr+jiLe+ugQFfwWOFGqwMLyt+jyqfASfROS7CJWRZdTvKBQyC0Gj9Sdtfzt0c3VzGhpvplUGCaxXFAuLJhuJOQhkrO+enNzENgBSmUVSmYrJymB/u6fctT9LsJNfUILxeG3YlHkyA+HqxrR7asrDKMEq5XcLrAjD+3XVhR9GVjD1FpWJDuHy83n33IUFmSDM7Bx+cxGufxA+spG9IMnvFWB49+8uwM3ji1HEiwYBC8BQi4lSUa1nv96YcU9P3ZY9GxWEPgQEANb6j+VdK+y+TJO875G9IgoIPQgoAHevwK3jFd26W/fc3DPiuMvzIrl0QahDwAD4rTqR1JQ/UViI+Y8OCDUIlzdn3XOTwtbtPf6JDN0y4Hx16RHz5J78XDgU9+79TKzA+2grgIdAlgDcjyafCLtjvwNoVx4D4ve1cfhuuIZhjYOAmIj1fQ8ImVNIewRyQoeDcGljXbT4te8AIHsEGx3eGpmQ9QY5BIkj9hS6nUyYTH4vMdMY/yCGIDFD3r0+G4bqtgLJpM6TmCUxhNlnT3ibI2wNqDIqXa7QrVfmnpt7XiGRIbNhcsvMEh+CjG75D7kpy5wmIwhMl/Ff1Nf5jZa/F8FVpFv90OeJtG8dsYyRzD88WTsatoQTDkHgjAdmSEJCsLzB010vBJkzHpghMQViltzxyRdcKxLSG3ohCHxBXHussl6eue/Jtql7ajJ0kyusN/RAEPqCQS/AtwfBBNfr0mMnhEEvwCtZVlKw4ur9QrZFf9zbFu2EoEBPJsPge6IBjj675w17EAQOeeALNJvUpedz7vkLN0IncAEHvQdB9MB+8AU0PH+IHDAxGXQmGCkFHfQehNm/yRLFZz3xmyxSuXL8omZbsP+xrgmWzs6YsJKc5YygSWpBEJmift2qpPXmzHCNml+Rg941SS0IolFRv5oiwRKDd9+rws33yMkhMx/esL8NuwVh7q/lsBDAvjVFsjUewxBk+m1B4PqDeKKQzbQvzbdg9spNb1RJLI0DIg/ebxv3GADrayT8fXhZE3H4Y4LAAI/4BQdEjqOf/EFaAHaxcP0CGfg4wJkfyHaDjLaUuF+WMgBWvcsbK+65qXJ3VekWsQO8cSw9NVMZ0TrqFLdOld5vAwA2+Anf/qSnkxwRoczHktoCgELgWRwyEiPmKDymyMv6JM0mABTCV2SP4ZPePQbvwUrNETmMzAb12gaAQviShJF+Gh5GyocQ1/A0EFTMUhq8U3BNnf1ivsJGAFQuwTA1WQicSYssOArtiG0FYBUEzjCNyhgZhM0AsgIhEgjbAVgFAXPSBRlO/tZEZQGAVRDYpAVx9gsLIisAtCGYXkkMelcTILIEgNZdYAUc7jJ2V1gGeoSCLRgFRNYACCDQNbp0ly10QGQRgHTZIu0FPBUQWQUgXcATLCyZ3GcVWikMCJKaQZbExItjQwZrXmXluIFgdCnblk0dBAhRPa0GQAQXb+rYtL2pCcJ2AMKQIra9KaIUU7qxqKYp+Lz1AKiwvDUzsowNS++O2xnyguwRmQDAnLI4pMje4C8JiMwAQFiaFgSRX0hzh40DIksAhAOf3T2bQFQ2Z5sz7Q3/LhCZAiAyRbv+gBbZgyA6dcg5+ikbGhv7np4R3iGZf02HrhsTkP8i7tA0kA1hD4LIJA3SJ+jhEoU/BraPUcel+ioQTE+dWk/xe0Fn9pdOCJywDCpB5kNgtNQY4SGFQ5joI7SD3qAGROUocu9hcpGDzmp+UzX9RS+t0As6R0ftn9ZICxBd6v56g2pylvAEIxpJMvpLjRFqo5GcJRyCrDfEuf8cof6pP6qZnEUr6RQLXzxamDB65jd1DUYXQGiGBCvS4uxdojQL9DKHyuiV6KL3yRtEZog22qXRcV5NxRAkSVi9+6szcHPkTp+oUb8akszJskxpYghULEG6BTaJ2+/+QXYcF5GwUQ6BgZAlpzV3tYl+c0zhSZkjNpacltYNkxsaG7qYgq5i+UmDqatxPYHWAhPzs19AYAAomGk8BIR/YD6i30FgACgu/atBoFpGbML37YorJrQf4Yi7zaM6BCwIA7cuxWLLdV+KucBDAwAVRw8CFkRCF4jq6hX1HLs3uuHJ7u2MkrRXHwISBPMTaQSRoTQsKYS8xC8KgGg9oS0/wke0QKRz4bQWC3ZdfeO2rPW36hU9e360ntCuoSAjbrcSrIZBTc+/TXJ5k/wGRQbA0CaXGQhUIsSELgjEKhiKym8Nxc3domUOApWMXQXcJJfChV/mEGYaGIy8XzVxkaiy6dG4sp7dGV3ML5hcxjcLoa0F5J2Voaaq0LwTW04N2kheklvK6w65g3kq9NYPEci45j/xQNg1T7BzcE6lV3SYK3Y9vP8I8k4Ncvkt7J1lHUqkDvZNg1wND2fIvxMYRxveW823/uDvxAeh/SvIC0QxpoTt6DUdem38NoETfn18wy/pKrunZ9KGMJS/otUAMBXaLRM/hLYwGvZXoR5GiyZ9ZX1yEGLoGUY1T0c8dJAQp0/iCJw8hCCM/w4QW+3P8m5kMq3kUHtPTQ44VTiWWzY54lGRPT0IQSmp33h1kKRF9sum7LlwlNNW/OHcitGEVyqaD5S1A0K38Mx/5EgGe/805IijPVvuyWavUl9mZhrwFA41a3CkUEurxfNkthNCmLR0uFmvl8AvFMFvFKHpl3qK5Zwt9recvwWFwpYNrRzTWP4HK7laSxb9gaIAAAAASUVORK5CYII="),_(n,"alt","Success indicator"),_(a,"class","zephr-form-success-message svelte-12ljnq4"),$(a,"zephr-payment-form-success-message",t[1])},m(e,t){y(e,r,t),h(r,n),h(r,i),h(r,a),h(a,s)},p(e,[t]){1&t&&w(s,e[0]),2&t&&$(a,"zephr-payment-form-success-message",e[1])},i:e,o:e,d(e){e&&g(r)}}}function Ti(e,t,r){let{text:n}=t,{isPaymentForm:o=!1}=t;return e.$$set=e=>{"text"in e&&r(0,n=e.text),"isPaymentForm"in e&&r(1,o=e.isPaymentForm)},[n,o]}class _i extends de{constructor(e){super(),ue(this,e,Ti,vi,a,{text:0,isPaymentForm:1})}}const Oi={matches:e=>e.type===Te,create:(e,t,r,n)=>({component:_i,props:{text:n?.text,isPaymentForm:e.formType===wt.PAYMENT}})},Ii=(e,t)=>({identifiers:{email_address:t},delivery:{method:"email",destination:t,action:e,redirect:window.location.href.replace(window.location.origin,"")}}),wi=async(e,t,r,n)=>{try{(await fr("blaize/token-exchange",{method:"POST",bodyObject:Ii(t,r)},n)).ok||(n.updateFormState({serverErrors:[at.UNKNOWN]}),dt(e,"zephr_form_error",{error:at[at.UNKNOWN]}))}catch(t){n.updateFormState({serverErrors:[at.UNKNOWN]}),dt(e,"zephr_form_error",{error:at[at.UNKNOWN]})}},Ri=e=>e.formType===wt.REGISTRATION&&!1===Nt(e).usePassword&&!0===e.organisationConfiguration.requireEmailVerfication&&!1===Nt(e).useVerificationCodes,Mi=async(e,t,r)=>Li(t,r).then((async n=>{if(!n.redirected){const o=200===n.status,i=e.parts.flatMap((e=>e.sections)).some((e=>e.type===lt.VERIFICATION_CODE_REGISTRATION.type)),a=!!o&&((await n.json()).contact&&i),s=o&&!a;r.updateFormState({userExists:s,emailIsContact:a});return Ri(e)?s?(wi(e,"login",t.emailAddress,r),pt(lt.PASSWORDLESS_VIA_LOGIN_LINK.type,e,r)):bt(e,t,r):a||Nt(e).useVerificationCodes||e.organisationConfiguration.twoFactorEmailAuthenticationEnabled?($i(e,t,r),pt(s?lt.VERIFICATION_CODE_LOGIN.type:lt.VERIFICATION_CODE_REGISTRATION.type,e,r)):pt(s?lt.LOGIN_PASSWORD.type:lt.PASSWORD_SETUP.type,e,r)}window.location.replace(n.url)})),Ni=e=>({identifiers:{email_address:e.emailAddress},delivery:{method:"email",destination:e.emailAddress,action:e.userExists?"login":"register",redirect:window.location.href.replace(window.location.origin,"")}}),$i=async(e,t,r)=>{r.updateFormState({verificationCode:"",verificationCodeValid:void 0});const n=await fr("blaize/two-factor-authentication",{method:"POST",bodyObject:Ni(t)},r);return n.ok||(r.updateFormState({serverErrors:[at.VERIFICATION_CODE_SEND_ERROR]}),dt(e,"zephr_form_error",{error:at[at.MOBILE_PAYMENT_PROCESSING_ERROR]})),n.ok},Li=async(e,t)=>(t.updateFormState({password:"",verificationCode:void 0,verificationCodeValid:void 0,forgotPassword:!1}),await fr("zephr/media/user/info",{method:"POST",bodyObject:{identifiers:{email_address:e.emailAddress}}},t)),xi=async e=>await new Promise((t=>setTimeout(t,e.environment.reduceDelays?1:1500))),Fi=async(e,t,r)=>{r.incrementRequestCount(),r.updateFormState({verificationCodeValid:void 0});const n=await fr(`zephr/users/reset/${t.verificationCode}`,{method:"POST",bodyObject:{identifiers:{email_address:t.emailAddress}}},r);return dt(e,"zephr_form_password_reset_code_validate",{success:n?.ok}),n.ok?xi(e).then((()=>{r.decrementRequestCount(),r.jumpToSection(lt.PASSWORD_RESET.type)})):(r.updateFormState({serverErrors:[at.VERIFICATION_CODE_INCORRECT]}),dt(e,"zephr_form_error",{error:at[at.VERIFICATION_CODE_INCORRECT]}),r.decrementRequestCount(),Promise.resolve())},zi=async(e,t,r)=>{r.updateFormState({createPassword:"",confirmCreatePassword:"",forgotPassword:!0,verificationCode:""}),r.incrementRequestCount();const n=await fr("zephr/users/reset",{method:"POST",bodyObject:{identifiers:{email_address:t.emailAddress}}},r);return dt(e,"zephr_form_password_reset_code_sent",{success:n?.ok}),n.ok?xi(e).then((()=>{r.decrementRequestCount(),r.jumpToSection(lt.FORGOT_PASSWORD.type)})):(r.updateFormState({serverErrors:[at.PASSWORD_RESET_LINK_SEND_ERROR]}),r.decrementRequestCount(),dt(e,"zephr_form_error",{error:at[at.PASSWORD_RESET_LINK_SEND_ERROR]}),Promise.resolve())},ki=async(e,t,r)=>{const n=await fr(`zephr/users/reset/${t.verificationCode}`,{method:"POST",bodyObject:{identifiers:{email_address:t.emailAddress},validators:{password:t.createPassword}}},r);return dt(e,"zephr_form_password_reset",{success:n?.ok}),n.ok?(r.updateFormState({verificationCode:"",forgotPassword:!1}),r.jumpToPartStart(ot.ACCOUNT_VERIFICATION.type)):(r.updateFormState({serverErrors:[at.PASSWORD_RESET_ERROR]}),dt(e,"zephr_form_error",{error:at[at.MOBILE_PAYMENT_PROCESSING_ERROR]}),Promise.resolve())};function Di(e){let t;function r(e,t){return e[14]&&!e[5]?Ui:Bi}let n=r(e),o=n(e);return{c(){o.c(),t=C()},m(e,r){o.m(e,r),y(e,t,r)},p(e,i){n===(n=r(e))&&o?o.p(e,i):(o.d(1),o=n(e),o&&(o.c(),o.m(t.parentNode,t)))},d(e){e&&g(t),o.d(e)}}}function Bi(e){let t,r,n,o;return{c(){t=P("button"),r=A(e[3]),_(t,"class","zephr-form-verification-resend-link svelte-b6r3ph"),$(t,"zephr-payment-form-verification-resend-link",e[9])},m(i,a){y(i,t,a),h(t,r),n||(o=v(t,"click",e[15]),n=!0)},p(e,n){8&n&&w(r,e[3]),512&n&&$(t,"zephr-payment-form-verification-resend-link",e[9])},d(e){e&&g(t),n=!1,o()}}}function Ui(e){let t,r;return{c(){t=P("div"),r=A(e[2]),_(t,"class","zephr-form-verification-resend-text svelte-b6r3ph"),$(t,"zephr-payment-form-verification-resend-text",e[9])},m(e,n){y(e,t,n),h(t,r)},p(e,n){4&n&&w(r,e[2]),512&n&&$(t,"zephr-payment-form-verification-resend-text",e[9])},d(e){e&&g(t)}}}function Gi(e){let t,r=e[3]&&Di(e);return{c(){r&&r.c(),t=C()},m(e,n){r&&r.m(e,n),y(e,t,n)},p(e,n){e[3]?r?r.p(e,n):(r=Di(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){e&&g(t),r&&r.d(e)}}}function Vi(e){let t,r;return t=new er({props:{icon:Kt}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function qi(e){let t,r;return t=new er({props:{icon:Ht,spin:!0}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function ji(e){let t,r,n,o,i,a,s,c;t=new Lo({props:{forInput:"zephr-form-verification-code",label:e[0],isPaymentForm:e[9]}}),o=new Ro({props:{id:"zephr-form-verification-code",value:e[8],placeholder:e[1],maxlength:6,hasError:null!=e[5],errorMessage:e[5],isPaymentForm:e[9],onFocus:e[12],onBlur:e[13],$$slots:{default:[Gi]},$$scope:{ctx:e}}}),o.$on("change",e[16]);let l=e[6]&&Vi(),u=e[8]&&!e[6]&&e[7]&&qi();return{c(){ae(t.$$.fragment),r=S(),n=P("div"),ae(o.$$.fragment),i=S(),a=P("div"),l&&l.c(),s=S(),u&&u.c(),_(a,"class","zephr-form-input-inner-text"),$(a,"zephr-payment-form-input-inner-text",e[9]),_(n,"class","zephr-form-relative-container zephr-form-verification-resend-link-container svelte-b6r3ph"),$(n,"zephr-payment-form-relative-container",e[9]),$(n,"zephr-payment-form-verification-resend-link-container",e[9])},m(e,d){se(t,e,d),y(e,r,d),y(e,n,d),se(o,n,null),h(n,i),h(n,a),l&&l.m(a,null),h(a,s),u&&u.m(a,null),c=!0},p(e,[r]){const i={};1&r&&(i.label=e[0]),512&r&&(i.isPaymentForm=e[9]),t.$set(i);const d={};256&r&&(d.value=e[8]),2&r&&(d.placeholder=e[1]),32&r&&(d.hasError=null!=e[5]),32&r&&(d.errorMessage=e[5]),512&r&&(d.isPaymentForm=e[9]),4096&r&&(d.onFocus=e[12]),8192&r&&(d.onBlur=e[13]),150060&r&&(d.$$scope={dirty:r,ctx:e}),o.$set(d),e[6]?l?64&r&&te(l,1):(l=Vi(),l.c(),te(l,1),l.m(a,s)):l&&(X(),re(l,1,1,(()=>{l=null})),ee()),e[8]&&!e[6]&&e[7]?u?448&r&&te(u,1):(u=qi(),u.c(),te(u,1),u.m(a,null)):u&&(X(),re(u,1,1,(()=>{u=null})),ee()),(!c||512&r)&&$(a,"zephr-payment-form-input-inner-text",e[9]),(!c||512&r)&&$(n,"zephr-payment-form-relative-container",e[9]),(!c||512&r)&&$(n,"zephr-payment-form-verification-resend-link-container",e[9])},i(e){c||(te(t.$$.fragment,e),te(o.$$.fragment,e),te(l),te(u),c=!0)},o(e){re(t.$$.fragment,e),re(o.$$.fragment,e),re(l),re(u),c=!1},d(e){e&&(g(r),g(n)),ce(t,e),ce(o),l&&l.d(),u&&u.d()}}}function Hi(e,t,r){let{label:n}=t,{placeholder:o}=t,{resendMessage:i=null}=t,{resendText:a=null}=t,{disabled:s}=t,{error:c=null}=t,{codeValid:l}=t,{formBusy:u}=t,{code:d}=t,{isPaymentForm:p=!1}=t,{onChange:m}=t,{onResendVerificationCode:f}=t,{onFocus:h}=t,{onBlur:y}=t,g=!1;return e.$$set=e=>{"label"in e&&r(0,n=e.label),"placeholder"in e&&r(1,o=e.placeholder),"resendMessage"in e&&r(2,i=e.resendMessage),"resendText"in e&&r(3,a=e.resendText),"disabled"in e&&r(4,s=e.disabled),"error"in e&&r(5,c=e.error),"codeValid"in e&&r(6,l=e.codeValid),"formBusy"in e&&r(7,u=e.formBusy),"code"in e&&r(8,d=e.code),"isPaymentForm"in e&&r(9,p=e.isPaymentForm),"onChange"in e&&r(10,m=e.onChange),"onResendVerificationCode"in e&&r(11,f=e.onResendVerificationCode),"onFocus"in e&&r(12,h=e.onFocus),"onBlur"in e&&r(13,y=e.onBlur)},[n,o,i,a,s,c,l,u,d,p,m,f,h,y,g,()=>{i&&(r(14,g=!0),setTimeout((()=>r(14,g=!1)),2e3)),f()},({detail:e})=>!s&&m(e)]}class Ki extends de{constructor(e){super(),ue(this,e,Hi,ji,a,{label:0,placeholder:1,resendMessage:2,resendText:3,disabled:4,error:5,codeValid:6,formBusy:7,code:8,isPaymentForm:9,onChange:10,onResendVerificationCode:11,onFocus:12,onBlur:13})}}const Yi=e=>6===e?.length,Wi={matches:e=>e.type===Ee,create:(e,t,r,n)=>({component:Ki,props:{code:t.verificationCode,label:n.label,placeholder:n.placeholder,resendMessage:n.message,resendText:n.resendText,disabled:t.isBusy||t.verificationCodeValid,codeValid:t.verificationCodeValid,formBusy:t.isBusy,isPaymentForm:e.formType===wt.PAYMENT,onResendVerificationCode:()=>{(t.currentSection.type===lt.FORGOT_PASSWORD.type?zi:$i)(e,t,r)},onChange:o=>{const i=r.updateFormState({verificationCodeValid:void 0,verificationCode:o,serverErrors:[]}),a=(e=>!e.elementValidity.filter((t=>t.partType===e.currentPart.type&&t.sectionType===e.currentSection.type&&t.sectionOrder===e.currentSection.order&&"user_attribute"===t.elementType)).some((e=>!e.isValid)))(t);if(r.updateFormState({showFieldErrors:!a}),Yi(o)){if(n.verificationEvent)return void r.onEvent(n.verificationEvent);t.currentSection.type===lt.FORGOT_PASSWORD.type?r.completeSection():a&&(async(e,t,r)=>{if(!(await fr("zephr/media/user/otp-check",{method:"POST",bodyObject:{code:t.verificationCode,email:t.emailAddress}},r)).ok)return r.updateFormState({verificationCodeValid:!1,serverErrors:[at.VERIFICATION_CODE_INCORRECT]}),void dt(e,"zephr_form_error",{error:at[at.VERIFICATION_CODE_INCORRECT]});r.updateFormState({verificationCodeValid:!1,serverErrors:[]}),r.completeSection()})(e,i,r)}dt(e,"zephr_form_input_change",{inputName:"zephr-form-verification-code",sectionId:t.currentSection.type,field:"verification-code"})},onFocus:()=>dt(e,"zephr_form_input_focus",{inputName:"zephr-form-verification-code",sectionId:t.currentSection.type,field:"verification-code"}),onBlur:()=>dt(e,"zephr_form_input_blur",{inputName:"zephr-form-verification-code",sectionId:t.currentSection.type,field:"verification-code"})},isValid:Yi(t.verificationCode)})};function Ji(t){let r;return{c(){r=P("div"),_(r,"class","zephr-form-custom-text svelte-12fdogm"),M(r,"text-align",t[1]?"center":"initial"),$(r,"zephr-payment-form-custom-text",t[2])},m(e,n){y(e,r,n),r.innerHTML=t[0]},p(e,[t]){1&t&&(r.innerHTML=e[0]),2&t&&M(r,"text-align",e[1]?"center":"initial"),4&t&&$(r,"zephr-payment-form-custom-text",e[2])},i:e,o:e,d(e){e&&g(r)}}}function Qi(e,t,r){let{text:n}=t,{centerText:o=!1}=t,{isPaymentForm:i=!1}=t;return e.$$set=e=>{"text"in e&&r(0,n=e.text),"centerText"in e&&r(1,o=e.centerText),"isPaymentForm"in e&&r(2,i=e.isPaymentForm)},[n,o,i]}class Zi extends de{constructor(e){super(),ue(this,e,Qi,Ji,a,{text:0,centerText:1,isPaymentForm:2})}}const Xi={matches:e=>e.type===_e,create:(e,t,r,n)=>({component:Zi,props:{text:n.text,centerText:n.centerText,isPaymentForm:e.formType===wt.PAYMENT}})};function ea(r){let n,o,i,a,s,c,l,u,d=[{id:r[0]},{name:r[1]},{required:r[2]},{disabled:r[3]},r[8],{type:"checkbox"},{class:"zephr-form-checkbox"}],p={};for(let e=0;e<d.length;e+=1)p=t(p,d[e]);return{c(){n=P("input"),o=S(),i=P("label"),a=P("div"),s=S(),c=A(r[6]),I(n,p),$(n,"disabled",r[3]),$(n,"error",r[4]),$(n,"zephr-payment-form-checkbox",r[5]),$(n,"svelte-eyzg32",!0),_(a,"class","zephr-form-checkmark svelte-eyzg32"),$(a,"zephr-payment-form-checkmark",r[5]),$(a,"disabled",r[3]),$(a,"checked",r[7]),$(a,"error",r[4]),_(i,"for",r[0]),_(i,"class","zephr-form-checkbox-label svelte-eyzg32"),$(i,"zephr-payment-form-checkbox-label",r[5])},m(e,t){y(e,n,t),n.autofocus&&n.focus(),y(e,o,t),y(e,i,t),h(i,a),h(i,s),h(i,c),l||(u=v(n,"input",r[9]),l=!0)},p(e,[t]){I(n,p=oe(d,[1&t&&{id:e[0]},2&t&&{name:e[1]},4&t&&{required:e[2]},8&t&&{disabled:e[3]},256&t&&e[8],{type:"checkbox"},{class:"zephr-form-checkbox"}])),$(n,"disabled",e[3]),$(n,"error",e[4]),$(n,"zephr-payment-form-checkbox",e[5]),$(n,"svelte-eyzg32",!0),32&t&&$(a,"zephr-payment-form-checkmark",e[5]),8&t&&$(a,"disabled",e[3]),128&t&&$(a,"checked",e[7]),16&t&&$(a,"error",e[4]),64&t&&w(c,e[6]),1&t&&_(i,"for",e[0]),32&t&&$(i,"zephr-payment-form-checkbox-label",e[5])},i:e,o:e,d(e){e&&(g(n),g(o),g(i)),l=!1,u()}}}function ta(e,t,r){const n=D();let{id:o}=t,{name:i=o}=t,{required:a=!0}=t,{disabled:s=!1}=t,{hasError:c=!1}=t,{isPaymentForm:l=!1}=t,{label:u=""}=t,{value:d}=t,{placeholder:p=""}=t,{checked:m=!1}=t,{pattern:f=""}=t,h={};m&&(h.checked=m),p&&(h.placeholder=p),f&&(h.pattern=f),d&&(h.value=d);return e.$$set=e=>{"id"in e&&r(0,o=e.id),"name"in e&&r(1,i=e.name),"required"in e&&r(2,a=e.required),"disabled"in e&&r(3,s=e.disabled),"hasError"in e&&r(4,c=e.hasError),"isPaymentForm"in e&&r(5,l=e.isPaymentForm),"label"in e&&r(6,u=e.label),"value"in e&&r(10,d=e.value),"placeholder"in e&&r(11,p=e.placeholder),"checked"in e&&r(7,m=e.checked),"pattern"in e&&r(12,f=e.pattern)},[o,i,a,s,c,l,u,m,h,e=>{n("change",e.target.checked)},d,p,f]}class ra extends de{constructor(e){super(),ue(this,e,ta,ea,a,{id:0,name:1,required:2,disabled:3,hasError:4,isPaymentForm:5,label:6,value:10,placeholder:11,checked:7,pattern:12})}}function na(r){let n,o,i,a,s,c,l,u,d=[{id:r[0]},{name:r[1]},{required:r[2]},{disabled:r[3]},r[8],{type:"radio"},{class:"zephr-form-input-radio"}],p={};for(let e=0;e<d.length;e+=1)p=t(p,d[e]);return{c(){n=P("input"),o=S(),i=P("label"),a=P("span"),s=S(),c=A(r[6]),I(n,p),$(n,"zephr-payment-form-input-radio",r[5]),$(n,"disabled",r[3]),$(n,"error",r[4]),$(n,"svelte-17rnpjv",!0),_(a,"class","zephr-form-radio-dot svelte-17rnpjv"),$(a,"zephr-payment-form-radio-dot",r[5]),$(a,"disabled",r[3]),$(a,"checked",r[7]),$(a,"error",r[4]),_(i,"for",r[0]),_(i,"class","zephr-form-radio-label svelte-17rnpjv"),$(i,"zephr-payment-form-radio-label",r[5])},m(e,t){y(e,n,t),n.autofocus&&n.focus(),y(e,o,t),y(e,i,t),h(i,a),h(i,s),h(i,c),l||(u=v(n,"input",r[9]),l=!0)},p(e,[t]){I(n,p=oe(d,[1&t&&{id:e[0]},2&t&&{name:e[1]},4&t&&{required:e[2]},8&t&&{disabled:e[3]},256&t&&e[8],{type:"radio"},{class:"zephr-form-input-radio"}])),$(n,"zephr-payment-form-input-radio",e[5]),$(n,"disabled",e[3]),$(n,"error",e[4]),$(n,"svelte-17rnpjv",!0),32&t&&$(a,"zephr-payment-form-radio-dot",e[5]),8&t&&$(a,"disabled",e[3]),128&t&&$(a,"checked",e[7]),16&t&&$(a,"error",e[4]),64&t&&w(c,e[6]),1&t&&_(i,"for",e[0]),32&t&&$(i,"zephr-payment-form-radio-label",e[5])},i:e,o:e,d(e){e&&(g(n),g(o),g(i)),l=!1,u()}}}function oa(e,t,r){const n=D();let{id:o}=t,{name:i=o}=t,{required:a=!0}=t,{disabled:s=!1}=t,{hasError:c=!1}=t,{isPaymentForm:l=!1}=t,{label:u=""}=t,{value:d}=t,{placeholder:p=""}=t,{checked:m=!1}=t,{pattern:f=""}=t,h={};m&&(h.checked=m),p&&(h.placeholder=p),f&&(h.pattern=f),d&&(h.value=d);return e.$$set=e=>{"id"in e&&r(0,o=e.id),"name"in e&&r(1,i=e.name),"required"in e&&r(2,a=e.required),"disabled"in e&&r(3,s=e.disabled),"hasError"in e&&r(4,c=e.hasError),"isPaymentForm"in e&&r(5,l=e.isPaymentForm),"label"in e&&r(6,u=e.label),"value"in e&&r(10,d=e.value),"placeholder"in e&&r(11,p=e.placeholder),"checked"in e&&r(7,m=e.checked),"pattern"in e&&r(12,f=e.pattern)},[o,i,a,s,c,l,u,m,h,e=>{n("change",e.target.value)},d,p,f]}class ia extends de{constructor(e){super(),ue(this,e,oa,na,a,{id:0,name:1,required:2,disabled:3,hasError:4,isPaymentForm:5,label:6,value:10,placeholder:11,checked:7,pattern:12})}}function aa(e,t,r){const n=e.slice();return n[19]=t[r],n}function sa(e,t,r){const n=e.slice();return n[19]=t[r],n}function ca(e){let t,r;return t=new Ro({props:{id:e[10],name:e[0].slug,required:e[0].required||e[1]?.required,type:e[1]?.["input-type"],value:e[2],checked:"checkbox"===e[1]?.["input-type"]&&e[2],pattern:e[1]?.["validation-expression"],placeholder:e[0].placeholder,hasError:e[8],isPaymentForm:e[3],onFocus:e[5],onBlur:e[6]}}),t.$on("change",e[18]),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};1&r&&(n.name=e[0].slug),3&r&&(n.required=e[0].required||e[1]?.required),2&r&&(n.type=e[1]?.["input-type"]),4&r&&(n.value=e[2]),6&r&&(n.checked="checkbox"===e[1]?.["input-type"]&&e[2]),2&r&&(n.pattern=e[1]?.["validation-expression"]),1&r&&(n.placeholder=e[0].placeholder),256&r&&(n.hasError=e[8]),8&r&&(n.isPaymentForm=e[3]),32&r&&(n.onFocus=e[5]),64&r&&(n.onBlur=e[6]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function la(e){let t,r,n,o;r=new Ro({props:{id:e[10],required:e[0].required||e[1]?.required,type:e[1]["input-type"],value:e[2],min:e[1]["range-start"],max:e[1]["range-end"],step:e[1]["range-start"],isPaymentForm:e[3],onFocus:e[5],onBlur:e[6]}}),r.$on("change",e[17]);let i="range"===e[1]["input-type"]&&null!=e[2]&&fa(e);return{c(){t=P("div"),ae(r.$$.fragment),n=S(),i&&i.c(),_(t,"class","zephr-form-flex-container"),$(t,"zephr-payment-form-flex-container",e[3])},m(e,a){y(e,t,a),se(r,t,null),h(t,n),i&&i.m(t,null),o=!0},p(e,n){const a={};3&n&&(a.required=e[0].required||e[1]?.required),2&n&&(a.type=e[1]["input-type"]),4&n&&(a.value=e[2]),2&n&&(a.min=e[1]["range-start"]),2&n&&(a.max=e[1]["range-end"]),2&n&&(a.step=e[1]["range-start"]),8&n&&(a.isPaymentForm=e[3]),32&n&&(a.onFocus=e[5]),64&n&&(a.onBlur=e[6]),r.$set(a),"range"===e[1]["input-type"]&&null!=e[2]?i?i.p(e,n):(i=fa(e),i.c(),i.m(t,null)):i&&(i.d(1),i=null),(!o||8&n)&&$(t,"zephr-payment-form-flex-container",e[3])},i(e){o||(te(r.$$.fragment,e),o=!0)},o(e){re(r.$$.fragment,e),o=!1},d(e){e&&g(t),ce(r),i&&i.d()}}}function ua(t){let r,n,o,i,a;return{c(){r=P("textarea"),_(r,"id",t[10]),_(r,"class","zephr-form-input zephr-form-input-textarea svelte-1f2hwm0"),r.required=n=t[0].required||t[1]?.required,_(r,"placeholder",o=t[0].placeholder),$(r,"zephr-payment-form-input",t[3]),$(r,"zephr-payment-form-input-textarea",t[3])},m(e,n){y(e,r,n),R(r,t[7]),i||(a=v(r,"input",t[16]),i=!0)},p(e,t){3&t&&n!==(n=e[0].required||e[1]?.required)&&(r.required=n),1&t&&o!==(o=e[0].placeholder)&&_(r,"placeholder",o),128&t&&R(r,e[7]),8&t&&$(r,"zephr-payment-form-input",e[3]),8&t&&$(r,"zephr-payment-form-input-textarea",e[3])},i:e,o:e,d(e){e&&g(r),i=!1,a()}}}function da(t){let r,n,o,i,a,s,c,l,u=(t[0].placeholder??"")+"",d=ne(t[1]?.["select-options"]),p=[];for(let e=0;e<d.length;e+=1)p[e]=ha(aa(t,d,e));return{c(){r=P("select"),n=P("option"),o=A(u);for(let e=0;e<p.length;e+=1)p[e].c();n.disabled=!0,n.__value="",R(n,n.__value),_(r,"id",t[10]),_(r,"name",i=t[0].slug),_(r,"class","zephr-form-input zephr-form-input-select svelte-1f2hwm0"),r.required=a=t[0].required||t[1]?.required,$(r,"zephr-payment-form-input",t[3]),$(r,"zephr-payment-form-input-select",t[3]),$(r,"unselected",!t[2]),$(r,"error",t[8])},m(e,i){y(e,r,i),h(r,n),h(n,o);for(let e=0;e<p.length;e+=1)p[e]&&p[e].m(r,null);N(r,t[2]??""),c||(l=v(r,"change",t[15]),c=!0)},p(e,t){if(1&t&&u!==(u=(e[0].placeholder??"")+"")&&w(o,u),6&t){let n;for(d=ne(e[1]?.["select-options"]),n=0;n<d.length;n+=1){const o=aa(e,d,n);p[n]?p[n].p(o,t):(p[n]=ha(o),p[n].c(),p[n].m(r,null))}for(;n<p.length;n+=1)p[n].d(1);p.length=d.length}1&t&&i!==(i=e[0].slug)&&_(r,"name",i),3&t&&a!==(a=e[0].required||e[1]?.required)&&(r.required=a),6&t&&s!==(s=e[2]??"")&&N(r,e[2]??""),8&t&&$(r,"zephr-payment-form-input",e[3]),8&t&&$(r,"zephr-payment-form-input-select",e[3]),4&t&&$(r,"unselected",!e[2]),256&t&&$(r,"error",e[8])},i:e,o:e,d(e){e&&g(r),b(p,e),c=!1,l()}}}function pa(e){let t,r;return t=new ra({props:{id:e[10],name:e[0].slug,label:`${e[0].label}${e[0].required||e[1]?.required?"*":""}`,required:e[0].required||e[1]?.required,value:e[2],checked:e[2],pattern:e[1]?.["validation-expression"],placeholder:e[0].placeholder,hasError:e[8],isPaymentForm:e[3]}}),t.$on("change",e[14]),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};1&r&&(n.name=e[0].slug),3&r&&(n.label=`${e[0].label}${e[0].required||e[1]?.required?"*":""}`),3&r&&(n.required=e[0].required||e[1]?.required),4&r&&(n.value=e[2]),4&r&&(n.checked=e[2]),2&r&&(n.pattern=e[1]?.["validation-expression"]),1&r&&(n.placeholder=e[0].placeholder),256&r&&(n.hasError=e[8]),8&r&&(n.isPaymentForm=e[3]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function ma(e){let t,r,n=ne(e[1]?.["select-options"]),o=[];for(let t=0;t<n.length;t+=1)o[t]=ya(sa(e,n,t));const i=e=>re(o[e],1,1,(()=>{o[e]=null}));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();t=C()},m(e,n){for(let t=0;t<o.length;t+=1)o[t]&&o[t].m(e,n);y(e,t,n),r=!0},p(e,r){if(1311&r){let a;for(n=ne(e[1]?.["select-options"]),a=0;a<n.length;a+=1){const i=sa(e,n,a);o[a]?(o[a].p(i,r),te(o[a],1)):(o[a]=ya(i),o[a].c(),te(o[a],1),o[a].m(t.parentNode,t))}for(X(),a=n.length;a<o.length;a+=1)i(a);ee()}},i(e){if(!r){for(let e=0;e<n.length;e+=1)te(o[e]);r=!0}},o(e){o=o.filter(Boolean);for(let e=0;e<o.length;e+=1)re(o[e]);r=!1},d(e){e&&g(t),b(o,e)}}}function fa(e){let t,r;return{c(){t=P("output"),r=A(e[2]),_(t,"class","zephr-form-input-slider-output svelte-1f2hwm0"),$(t,"zephr-payment-form-input-slider-output",e[3])},m(e,n){y(e,t,n),h(t,r)},p(e,n){4&n&&w(r,e[2]),8&n&&$(t,"zephr-payment-form-input-slider-output",e[3])},d(e){e&&g(t)}}}function ha(e){let t,r,n,o,i,a=e[19].label+"";return{c(){t=P("option"),r=A(a),n=S(),t.__value=o=e[19].value,R(t,t.__value),t.selected=i=e[2]===e[19].value},m(e,o){y(e,t,o),h(t,r),h(t,n)},p(e,n){2&n&&a!==(a=e[19].label+"")&&w(r,a),2&n&&o!==(o=e[19].value)&&(t.__value=o,R(t,t.__value)),6&n&&i!==(i=e[2]===e[19].value)&&(t.selected=i)},d(e){e&&g(t)}}}function ya(e){let t,r;return t=new ia({props:{id:e[10]+"-"+e[19].value,name:e[0].slug,label:e[19].label,required:e[0].required||e[1]?.required,value:e[19].value,checked:e[2]===e[19].value,hasError:e[8],isPaymentForm:e[3]}}),t.$on("change",e[13]),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};2&r&&(n.id=e[10]+"-"+e[19].value),1&r&&(n.name=e[0].slug),2&r&&(n.label=e[19].label),3&r&&(n.required=e[0].required||e[1]?.required),2&r&&(n.value=e[19].value),6&r&&(n.checked=e[2]===e[19].value),256&r&&(n.hasError=e[8]),8&r&&(n.isPaymentForm=e[3]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function ga(e){let t,r,n,o;const i=[ma,pa,da,ua,la,ca],a=[];function s(e,t){return"radio"===e[1]?.["input-type"]?0:"checkbox"===e[1]?.["input-type"]?1:"select"===e[1]?.["input-type"]?2:"textarea"===e[1]?.["input-type"]?3:"range"===e[1]?.["input-type"]?4:5}return t=s(e),r=a[t]=i[t](e),{c(){r.c(),n=C()},m(e,r){a[t].m(e,r),y(e,n,r),o=!0},p(e,o){let c=t;t=s(e),t===c?a[t].p(e,o):(X(),re(a[c],1,1,(()=>{a[c]=null})),ee(),r=a[t],r?r.p(e,o):(r=a[t]=i[t](e),r.c()),te(r,1),r.m(n.parentNode,n))},i(e){o||(te(r),o=!0)},o(e){re(r),o=!1},d(e){e&&g(n),a[t].d(e)}}}function ba(e){let t;return{c(){t=P("div"),t.textContent="Mandatory information must be entered",_(t,"class","zephr-form-input-error-text svelte-1f2hwm0"),$(t,"zephr-payment-form-input-error-text",e[3])},m(e,r){y(e,t,r)},p(e,r){8&r&&$(t,"zephr-payment-form-input-error-text",e[3])},d(e){e&&g(t)}}}function Pa(e){let t,r,n,o;t=new Lo({props:{forInput:e[10],sublabel:e[1]["public-description"],label:/(hidden|checkbox)/.test(e[1]?.["input-type"]||"")?"":`${e[0].label}${e[0].required||e[1]?.required?"*":""}`,isPaymentForm:e[3],$$slots:{default:[ga]},$$scope:{ctx:e}}});let i=e[8]&&ba(e);return{c(){ae(t.$$.fragment),r=S(),i&&i.c(),n=C()},m(e,a){se(t,e,a),y(e,r,a),i&&i.m(e,a),y(e,n,a),o=!0},p(e,[r]){const o={};2&r&&(o.sublabel=e[1]["public-description"]),3&r&&(o.label=/(hidden|checkbox)/.test(e[1]?.["input-type"]||"")?"":`${e[0].label}${e[0].required||e[1]?.required?"*":""}`),8&r&&(o.isPaymentForm=e[3]),16777727&r&&(o.$$scope={dirty:r,ctx:e}),t.$set(o),e[8]?i?i.p(e,r):(i=ba(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i(e){o||(te(t.$$.fragment,e),o=!0)},o(e){re(t.$$.fragment,e),o=!1},d(e){e&&(g(r),g(n)),ce(t,e),i&&i.d(e)}}}function Ea(e,t,r){let n,{formKey:o}=t,{config:i}=t,{attributeSchema:a}=t,{value:s}=t,{error:c}=t,{isPaymentForm:l=!1}=t,{onChange:u}=t,{onFocus:d}=t,{onBlur:p}=t,m=s;const f=e=>e,h=`zephr-form-${i.slug}-${o}`;return e.$$set=e=>{"formKey"in e&&r(11,o=e.formKey),"config"in e&&r(0,i=e.config),"attributeSchema"in e&&r(1,a=e.attributeSchema),"value"in e&&r(2,s=e.value),"error"in e&&r(12,c=e.error),"isPaymentForm"in e&&r(3,l=e.isPaymentForm),"onChange"in e&&r(4,u=e.onChange),"onFocus"in e&&r(5,d=e.onFocus),"onBlur"in e&&r(6,p=e.onBlur)},e.$$.update=()=>{4096&e.$$.dirty&&r(8,n=!!c),150&e.$$.dirty&&"textarea"===a?.["input-type"]&&m!==s&&u(m)},[i,a,s,l,u,d,p,m,n,f,h,o,c,({detail:e})=>u(e),({detail:e})=>u(e),e=>u(e.target.value),function(){m=this.value,r(7,m)},({detail:e})=>u(e),({detail:e})=>u(e)]}class Aa extends de{constructor(e){super(),ue(this,e,Ea,Pa,a,{formKey:11,config:0,attributeSchema:1,value:2,error:12,isPaymentForm:3,onChange:4,onFocus:5,onBlur:6})}}const Sa=e=>null==e||""===e,Ca={matches:e=>e.type===Oe,create:(e,t,r,n)=>{const o=e.organisationConfiguration.schemaFields.find((e=>e.slug===n.slug)),i=t.hideIfSetAttributes?.includes(n.slug);if(null==o||i)return;const a=o.required||n.required,s=t.userAttributes[n.slug]??(t.readOnlyAttributeValues??{})[n.slug];return{component:Aa,props:{formKey:e.uniqueKey,config:n,value:s,attributeSchema:o,isPaymentForm:e.formType===wt.PAYMENT,onChange:o=>{r.updateFormState({userAttributes:{...t.userAttributes,[n.slug]:o}}),dt(e,"zephr_form_input_change",{inputName:`zephr-form-${n.slug}-${e.uniqueKey}`,sectionId:t.currentSection.type,field:n.slug})},onFocus:()=>dt(e,"zephr_form_input_focus",{inputName:`zephr-form-${n.slug}-${e.uniqueKey}`,sectionId:t.currentSection.type,field:n.slug}),onBlur:()=>dt(e,"zephr_form_input_blur",{inputName:`zephr-form-${n.slug}-${e.uniqueKey}`,sectionId:t.currentSection.type,field:n.slug})},isValid:!(a&&Sa(s)||a&&"checkbox"===o["input-type"]&&!s||"email"===o["input-type"]&&!Sa(s)&&!mi(s))}}};function va(t){let r,n,o,i;return{c(){r=P("button"),n=A(t[0]),_(r,"type","button"),_(r,"class","zephr-form-link svelte-1mdtotm"),$(r,"zephr-form-link-disabled",t[1]),$(r,"zephr-form-link-no-underline",t[3])},m(e,a){y(e,r,a),h(r,n),o||(i=v(r,"click",t[5]),o=!0)},p(e,[t]){1&t&&w(n,e[0]),2&t&&$(r,"zephr-form-link-disabled",e[1]),8&t&&$(r,"zephr-form-link-no-underline",e[3])},i:e,o:e,d(e){e&&g(r),o=!1,i()}}}function Ta(e,t,r){let{text:n}=t,{disabled:o=!1}=t,{onClick:i=(()=>{})}=t,{noUnderline:a=!1}=t;const s=D();return e.$$set=e=>{"text"in e&&r(0,n=e.text),"disabled"in e&&r(1,o=e.disabled),"onClick"in e&&r(2,i=e.onClick),"noUnderline"in e&&r(3,a=e.noUnderline)},[n,o,i,a,s,()=>{i(),s("linkClick",null)}]}class _a extends de{constructor(e){super(),ue(this,e,Ta,va,a,{text:0,disabled:1,onClick:2,noUnderline:3})}}function Oa(e){let t,r;return t=new _a({props:{text:e[0],onClick:e[2]}}),t.$on("linkClick",e[7]),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};1&r&&(n.text=e[0]),4&r&&(n.onClick=e[2]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Ia(t){let r,n;return{c(){r=P("div"),n=A(t[1]),_(r,"class","zephr-form-link-message svelte-11qigta")},m(e,t){y(e,r,t),h(r,n)},p(e,t){2&t&&w(n,e[1])},i:e,o:e,d(e){e&&g(r)}}}function wa(e){let t,r;return t=new zt({props:{error:e[3],isPaymentForm:e[5]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};8&r&&(n.error=e[3]),32&r&&(n.isPaymentForm=e[5]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Ra(e){let t,r,n,o,i;const a=[Ia,Oa],s=[];function c(e,t){return e[6]&&!e[3]?0:1}r=c(e),n=s[r]=a[r](e);let l=e[3]&&wa(e);return{c(){t=P("div"),n.c(),o=S(),l&&l.c(),_(t,"class","zephr-form-flex-container zephr-form-reset-link-container svelte-11qigta"),$(t,"zephr-payment-form-flex-container",e[5])},m(e,n){y(e,t,n),s[r].m(t,null),h(t,o),l&&l.m(t,null),i=!0},p(e,[u]){let d=r;r=c(e),r===d?s[r].p(e,u):(X(),re(s[d],1,1,(()=>{s[d]=null})),ee(),n=s[r],n?n.p(e,u):(n=s[r]=a[r](e),n.c()),te(n,1),n.m(t,o)),e[3]?l?(l.p(e,u),8&u&&te(l,1)):(l=wa(e),l.c(),te(l,1),l.m(t,null)):l&&(X(),re(l,1,1,(()=>{l=null})),ee()),(!i||32&u)&&$(t,"zephr-payment-form-flex-container",e[5])},i(e){i||(te(n),te(l),i=!0)},o(e){re(n),re(l),i=!1},d(e){e&&g(t),s[r].d(),l&&l.d()}}}function Ma(e,t,r){let{text:n}=t,{message:o}=t,{onClick:i}=t,{error:a=null}=t,{delayMs:s}=t,{isPaymentForm:c=!1}=t,l=!1;return e.$$set=e=>{"text"in e&&r(0,n=e.text),"message"in e&&r(1,o=e.message),"onClick"in e&&r(2,i=e.onClick),"error"in e&&r(3,a=e.error),"delayMs"in e&&r(4,s=e.delayMs),"isPaymentForm"in e&&r(5,c=e.isPaymentForm)},[n,o,i,a,s,c,l,()=>{o&&(r(6,l=!0),setTimeout((()=>r(6,l=!1)),s))}]}class Na extends de{constructor(e){super(),ue(this,e,Ma,Ra,a,{text:0,message:1,onClick:2,error:3,delayMs:4,isPaymentForm:5})}}const $a={matches:e=>e.type===Ie,create:(e,t,r,n)=>({component:Na,props:{text:n.text,message:n.message,delayMs:e.environment.reduceDelays?1:3e3,isPaymentForm:e.formType===wt.PAYMENT,onClick:()=>zi(e,t,r)}})};function La(e){let t,r;return t=new _a({props:{text:e[0],onClick:e[2]}}),t.$on("linkClick",e[7]),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};1&r&&(n.text=e[0]),4&r&&(n.onClick=e[2]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function xa(t){let r,n;return{c(){r=P("div"),n=A(t[1]),_(r,"class","zephr-form-link-message svelte-11qigta")},m(e,t){y(e,r,t),h(r,n)},p(e,t){2&t&&w(n,e[1])},i:e,o:e,d(e){e&&g(r)}}}function Fa(e){let t,r;return t=new zt({props:{error:e[3],isPaymentForm:e[5]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};8&r&&(n.error=e[3]),32&r&&(n.isPaymentForm=e[5]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function za(e){let t,r,n,o,i;const a=[xa,La],s=[];function c(e,t){return e[6]&&!e[3]?0:1}r=c(e),n=s[r]=a[r](e);let l=e[3]&&Fa(e);return{c(){t=P("div"),n.c(),o=S(),l&&l.c(),_(t,"class","zephr-form-flex-container zephr-form-reset-link-container svelte-11qigta"),$(t,"zephr-payment-form-flex-container",e[5])},m(e,n){y(e,t,n),s[r].m(t,null),h(t,o),l&&l.m(t,null),i=!0},p(e,[u]){let d=r;r=c(e),r===d?s[r].p(e,u):(X(),re(s[d],1,1,(()=>{s[d]=null})),ee(),n=s[r],n?n.p(e,u):(n=s[r]=a[r](e),n.c()),te(n,1),n.m(t,o)),e[3]?l?(l.p(e,u),8&u&&te(l,1)):(l=Fa(e),l.c(),te(l,1),l.m(t,null)):l&&(X(),re(l,1,1,(()=>{l=null})),ee()),(!i||32&u)&&$(t,"zephr-payment-form-flex-container",e[5])},i(e){i||(te(n),te(l),i=!0)},o(e){re(n),re(l),i=!1},d(e){e&&g(t),s[r].d(),l&&l.d()}}}function ka(e,t,r){let{text:n}=t,{message:o}=t,{onClick:i}=t,{error:a=null}=t,{delayMs:s}=t,{isPaymentForm:c=!1}=t,l=!1;return e.$$set=e=>{"text"in e&&r(0,n=e.text),"message"in e&&r(1,o=e.message),"onClick"in e&&r(2,i=e.onClick),"error"in e&&r(3,a=e.error),"delayMs"in e&&r(4,s=e.delayMs),"isPaymentForm"in e&&r(5,c=e.isPaymentForm)},[n,o,i,a,s,c,l,()=>{o&&(r(6,l=!0),setTimeout((()=>r(6,l=!1)),s))}]}class Da extends de{constructor(e){super(),ue(this,e,ka,za,a,{text:0,message:1,onClick:2,error:3,delayMs:4,isPaymentForm:5})}}const Ba={matches:e=>e.type===we,create:(e,t,r,n)=>({component:Da,props:{text:n.text,message:n.message,delayMs:e.environment.reduceDelays?1:3e3,isPaymentForm:e.formType===wt.PAYMENT,onClick:async()=>{await wi(e,"login",t.emailAddress,r)}}})},Ua=(e,t)=>r=>{if(r?.data?.fromZephr)if(window.removeEventListener("message",window.zephrOAuthListener),e.environment.debugLogging&&console.log("Social signin message:",r),"register"===r.data.action){const n=t.updateFormState({emailAddress:r.data.identifier,socialSigninToken:r.data.stateKey,userAttributes:r.data.userAttributes??{},socialSignin:!0,userExists:!1,emailIsContact:void 0});Nt(e).useVerificationCodes&&$i(e,n,t),bt(e,n,t)}else"otp"==r.data.action?(t.updateFormState({emailAddress:r.data.identifier,socialSigninToken:r.data.stateKey,userAttributes:r.data.userAttributes??{},socialSignin:!0,userExists:!0,emailIsContact:!1}),t.jumpToSection(lt.VERIFICATION_CODE_LOGIN.type)):"login"===r.data.action?(document.cookie=r.data.cookie,t.updateFormState({socialSignin:!0,userExists:!0,loginRegistrationComplete:!0,emailIsContact:!1}),t.onEvent(nt.LOGIN_REGISTRATION_COMPLETE)):t.updateFormState({socialSigninError:r.data.message??"Something went wrong. Please try again later!"})};var Ga={prefix:"fab",iconName:"microsoft",icon:[448,512,[],"f3ca","M0 32h214.6v214.6H0V32zm233.4 0H448v214.6H233.4V32zM0 265.4h214.6V480H0V265.4zm233.4 0H448V480H233.4V265.4z"]},Va={prefix:"fab",iconName:"apple",icon:[384,512,[],"f179","M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"]},qa={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},ja={prefix:"fab",iconName:"facebook",icon:[512,512,[62e3],"f09a","M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z"]},Ha={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]};function Ka(t){let r,n,o,i,a;return{c(){r=E("svg"),n=E("path"),o=E("path"),i=E("path"),a=E("path"),_(n,"d","M533.5 278.4c0-18.5-1.5-37.1-4.7-55.3H272.1v104.8h147c-6.1 33.8-25.7 63.7-54.4 82.7v68h87.7c51.5-47.4 81.1-117.4 81.1-200.2z"),_(n,"fill","#4285f4"),_(o,"d","M272.1 544.3c73.4 0 135.3-24.1 180.4-65.7l-87.7-68c-24.4 16.6-55.9 26-92.6 26-71 0-131.2-47.9-152.8-112.3H28.9v70.1c46.2 91.9 140.3 149.9 243.2 149.9z"),_(o,"fill","#34a853"),_(i,"d","M119.3 324.3c-11.4-33.8-11.4-70.4 0-104.2V150H28.9c-38.6 76.9-38.6 167.5 0 244.4l90.4-70.1z"),_(i,"fill","#fbbc04"),_(a,"d","M272.1 107.7c38.8-.6 76.3 14 104.4 40.8l77.7-77.7C405 24.6 339.7-.8 272.1 0 169.2 0 75.1 58 28.9 150l90.4 70.1c21.5-64.5 81.8-112.4 152.8-112.4z"),_(a,"fill","#ea4335"),_(r,"class","zephr-form-social-sign-in-icon zephr-form-google-icon svelte-155mfls"),_(r,"viewBox","0 0 533.5 544.3"),_(r,"xmlns","http://www.w3.org/2000/svg")},m(e,t){y(e,r,t),h(r,n),h(r,o),h(r,i),h(r,a)},p:e,i:e,o:e,d(e){e&&g(r)}}}class Ya extends de{constructor(e){super(),ue(this,e,null,Ka,a,{})}}function Wa(e,t,r){const n=e.slice();return n[8]=t[r],n}function Ja(e){let t,r,n,o,i,a,s,c,l,u,d,p,m=e[8]+"";const f=[Za,Qa],b=[];function E(e,t){return"Google"===e[8]?0:1}function C(){return e[6](e[8])}return o=E(e),i=b[o]=f[o](e),{c(){t=P("button"),r=P("span"),n=P("span"),i.c(),a=S(),s=A(e[4]),c=S(),l=A(m),_(n,"class","zephr-form-social-sign-in-icon svelte-18a7qws"),$(n,"zephr-payment-form-social-sign-in-icon",e[3]),_(r,"class","zephr-form-flex-container zephr-form-social-sign-in svelte-18a7qws"),$(r,"zephr-payment-form-flex-container",e[3]),$(r,"zephr-payment-form-social-sign-in",e[3]),_(t,"type","button"),_(t,"class","zephr-form-button zephr-form-social-sign-in-button svelte-18a7qws"),$(t,"zephr-payment-form-button",e[3]),$(t,"zephr-payment-form-social-sign-in-button",e[3])},m(e,i){y(e,t,i),h(t,r),h(r,n),b[o].m(n,null),h(r,a),h(r,s),h(r,c),h(r,l),u=!0,d||(p=v(t,"click",T(C)),d=!0)},p(a,s){let c=o;o=E(e=a),o===c?b[o].p(e,s):(X(),re(b[c],1,1,(()=>{b[c]=null})),ee(),i=b[o],i?i.p(e,s):(i=b[o]=f[o](e),i.c()),te(i,1),i.m(n,null)),(!u||8&s)&&$(n,"zephr-payment-form-social-sign-in-icon",e[3]),(!u||1&s)&&m!==(m=e[8]+"")&&w(l,m),(!u||8&s)&&$(r,"zephr-payment-form-flex-container",e[3]),(!u||8&s)&&$(r,"zephr-payment-form-social-sign-in",e[3]),(!u||8&s)&&$(t,"zephr-payment-form-button",e[3]),(!u||8&s)&&$(t,"zephr-payment-form-social-sign-in-button",e[3])},i(e){u||(te(i),u=!0)},o(e){re(i),u=!1},d(e){e&&g(t),b[o].d(),d=!1,p()}}}function Qa(e){let r,n;const o=[e[5](e[8])];let i={};for(let e=0;e<o.length;e+=1)i=t(i,o[e]);return r=new er({props:i}),{c(){ae(r.$$.fragment)},m(e,t){se(r,e,t),n=!0},p(e,t){const n=33&t?oe(o,[ie(e[5](e[8]))]):{};r.$set(n)},i(e){n||(te(r.$$.fragment,e),n=!0)},o(e){re(r.$$.fragment,e),n=!1},d(e){ce(r,e)}}}function Za(t){let r,n;return r=new Ya({}),{c(){ae(r.$$.fragment)},m(e,t){se(r,e,t),n=!0},p:e,i(e){n||(te(r.$$.fragment,e),n=!0)},o(e){re(r.$$.fragment,e),n=!1},d(e){ce(r,e)}}}function Xa(e){let t,r,n=!0===e[0][e[8]]&&"labelText"!==e[8]&&"allowEmptyLabel"!==e[8]&&Ja(e);return{c(){n&&n.c(),t=C()},m(e,o){n&&n.m(e,o),y(e,t,o),r=!0},p(e,r){!0===e[0][e[8]]&&"labelText"!==e[8]&&"allowEmptyLabel"!==e[8]?n?(n.p(e,r),1&r&&te(n,1)):(n=Ja(e),n.c(),te(n,1),n.m(t.parentNode,t)):n&&(X(),re(n,1,1,(()=>{n=null})),ee())},i(e){r||(te(n),r=!0)},o(e){re(n),r=!1},d(e){e&&g(t),n&&n.d(e)}}}function es(e){let t,r;return t=new zt({props:{error:e[2],isPaymentForm:e[3]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};4&r&&(n.error=e[2]),8&r&&(n.isPaymentForm=e[3]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function ts(e){let t,r,n,o=ne(Object.keys(e[0])),i=[];for(let t=0;t<o.length;t+=1)i[t]=Xa(Wa(e,o,t));const a=e=>re(i[e],1,1,(()=>{i[e]=null}));let s=e[2]&&es(e);return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=S(),s&&s.c(),r=C()},m(e,o){for(let t=0;t<i.length;t+=1)i[t]&&i[t].m(e,o);y(e,t,o),s&&s.m(e,o),y(e,r,o),n=!0},p(e,[n]){if(59&n){let r;for(o=ne(Object.keys(e[0])),r=0;r<o.length;r+=1){const a=Wa(e,o,r);i[r]?(i[r].p(a,n),te(i[r],1)):(i[r]=Xa(a),i[r].c(),te(i[r],1),i[r].m(t.parentNode,t))}for(X(),r=o.length;r<i.length;r+=1)a(r);ee()}e[2]?s?(s.p(e,n),4&n&&te(s,1)):(s=es(e),s.c(),te(s,1),s.m(r.parentNode,r)):s&&(X(),re(s,1,1,(()=>{s=null})),ee())},i(e){if(!n){for(let e=0;e<o.length;e+=1)te(i[e]);te(s),n=!0}},o(e){i=i.filter(Boolean);for(let e=0;e<i.length;e+=1)re(i[e]);re(s),n=!1},d(e){e&&(g(t),g(r)),b(i,e),s&&s.d(e)}}}function rs(e,t,r){let{config:n}=t,{onSelectProvider:o}=t,{error:i=null}=t,{isPaymentForm:a=!1}=t;const s=n.allowEmptyLabel?"":"Continue with",c=n.labelText?n.labelText:s;return e.$$set=e=>{"config"in e&&r(0,n=e.config),"onSelectProvider"in e&&r(1,o=e.onSelectProvider),"error"in e&&r(2,i=e.error),"isPaymentForm"in e&&r(3,a=e.isPaymentForm)},[n,o,i,a,c,e=>{switch(e){case"Facebook":default:return{icon:ja,color:"#1877f2",size:"lg"};case"LinkedIn":return{icon:qa,color:"#0a66c2",size:"lg"};case"Apple":return{icon:Va,color:"#000",size:"lg"};case"Microsoft":return{icon:Ga,color:"#00a4ef",size:"lg"};case"Twitter":return{icon:Ha,color:"#08a0e9",size:"lg"}}},e=>o(e.toLowerCase())]}class ns extends de{constructor(e){super(),ue(this,e,rs,ts,a,{config:0,onSelectProvider:1,error:2,isPaymentForm:3})}}const os={matches:e=>e.type===Re,create:(e,t,r,n)=>{const{enabled:o,hide:i,show:a,...s}=n??{};return{component:ns,props:{config:s,isPaymentForm:e.formType===wt.PAYMENT,onSelectProvider:t=>((e,t,r)=>{r.updateFormState({socialSigninError:void 0}),window.open(`${t.environment.apiUrlBase??""}/blaize/oauth/${e}`,e+" sign-in","menubar=no,location=yes,resizable=no,scrollbars=no,status=no,width=500,height=600");const n=Ua(t,r);window.zephrOAuthListener=n,window.addEventListener("message",n)})(t,e,r)}}}},is="promo-code",as=async(e,t,r)=>{const n=await hn(e,t,r,!0),o=await lo(e,n,r);if(t.currentSection.elements.some((e=>e.type===xe&&!1!==e.config?.enabled))){r.incrementRequestCount();try{await co(e.organisationConfiguration.paymentProvider).loader(e,o,r)}finally{r.decrementRequestCount()}}},ss=async(e,t,r)=>{const n=so(e.organisationConfiguration.paymentProvider);return n.hasPromoCodes(e)?n?.promoCodeServiceOverride?n.promoCodeServiceOverride(e,t,r):(async(e,t,r)=>{r.updateFormState({promoCodeValid:void 0,serverErrors:[],discountedPlanPrices:[]});const n=so(e.organisationConfiguration.paymentProvider),o=await fr(n.promoCodeCheckPath,{method:"POST",bodyObject:{promoCode:t.promoCode,paymentOptions:Nt(e).paymentOptions}},r,is);if(!o.ok){let t;if(403===o.status){const e=await o.json();t=2===e?.code||3===e?.code?at.PROMO_CODE_EXPIRED_ERROR:at.PROMO_CODE_INVALID_ERROR}else t=at.PROMO_CODE_INVALID_ERROR,console.error("Unknown error evaluating promo code",o);return dt(e,"zephr_form_error",{error:at[t]}),Promise.resolve(r.updateFormState({promoCodeValid:!1,serverErrors:[t],discountedPlanPrices:[]}))}const i=(await o.json()).paymentOptions.map((e=>({planSlug:e.slug,productId:e.productId,discountPrice:e.discountPrice})));return i.find((e=>e.planSlug===t.paymentOption.slug&&e.productId===t.paymentOption.productId))?Promise.resolve(r.updateFormState({promoCodeValid:!0,serverErrors:[],discountedPlanPrices:i})):(dt(e,"zephr_form_error",{error:at[at.PROMO_CODE_NOT_VALID_FOR_PLAN_ERROR]}),Promise.resolve(r.updateFormState({promoCodeValid:!1,serverErrors:[at.PROMO_CODE_NOT_VALID_FOR_PLAN_ERROR],discountedPlanPrices:i})))})(e,t,r).then((t=>as(e,t,r))):t};function cs(e,t,r){const n=e.slice();return n[36]=t[r],n}function ls(e,t,r){const n=e.slice();return n[39]=t[r],n}function us(e,t,r){const n=e.slice();return n[42]=t[r],n}function ds(e){let t,r,n,o,i,a,s,c=e[42].label+"",l=e[42].priceFormattedString+"";return{c(){t=P("div"),r=P("span"),n=A(c),o=S(),i=P("div"),a=P("span"),s=A(l),_(r,"class","zephr-form-summary-charge-description zephr-payment-form-summary-charge-description svelte-3s0tux"),_(i,"class","zephr-form-summary-line-right zephr-payment-form-summary-line-right svelte-3s0tux"),_(t,"class","zephr-form-charge-line zephr-payment-form-charge-line svelte-3s0tux")},m(e,c){y(e,t,c),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a),h(a,s)},p(e,t){524288&t[0]&&c!==(c=e[42].label+"")&&w(n,c),524288&t[0]&&l!==(l=e[42].priceFormattedString+"")&&w(s,l)},d(e){e&&g(t)}}}function ps(e){let t,r=ne(e[23]),n=[];for(let t=0;t<r.length;t+=1)n[t]=ms(ls(e,r,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=C()},m(e,r){for(let t=0;t<n.length;t+=1)n[t]&&n[t].m(e,r);y(e,t,r)},p(e,o){if(8388608&o[0]){let i;for(r=ne(e[23]),i=0;i<r.length;i+=1){const a=ls(e,r,i);n[i]?n[i].p(a,o):(n[i]=ms(a),n[i].c(),n[i].m(t.parentNode,t))}for(;i<n.length;i+=1)n[i].d(1);n.length=r.length}},d(e){e&&g(t),b(n,e)}}}function ms(e){let t,r,n,o,i,a,s,c=e[39].description+"",l=e[39].formattedAmount+"";return{c(){t=P("div"),r=P("div"),n=A(c),o=S(),i=P("div"),a=A(l),s=S(),_(r,"class","zephr-payment-form-summary-discount-description"),_(i,"class","zephr-form-summary-line-right zephr-payment-form-summary-line-right discount-value svelte-3s0tux"),_(t,"class","zephr-form-discount-line zephr-payment-form-discount-line svelte-3s0tux")},m(e,c){y(e,t,c),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a),h(t,s)},p(e,t){8388608&t[0]&&c!==(c=e[39].description+"")&&w(n,c),8388608&t[0]&&l!==(l=e[39].formattedAmount+"")&&w(a,l)},d(e){e&&g(t)}}}function fs(e){let t,r,n,o,i,a;return{c(){t=P("div"),r=P("div"),n=A(e[22]),o=S(),i=P("div"),a=A(e[21]),_(r,"class","zephr-form-summary-charge-description zephr-payment-form-summary-charge-description svelte-3s0tux"),_(i,"class","zephr-form-summary-line-right zephr-payment-form-summary-line-right svelte-3s0tux"),_(t,"class","zephr-form-charge-line zephr-payment-form-charge-line svelte-3s0tux")},m(e,s){y(e,t,s),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a)},p(e,t){4194304&t[0]&&w(n,e[22]),2097152&t[0]&&w(a,e[21])},d(e){e&&g(t)}}}function hs(e){let t,r,n,o,i,a,s,c=e[36].label+"",l=e[36].addonPrice+"";return{c(){t=P("div"),r=P("span"),n=A(c),o=S(),i=P("div"),a=P("span"),s=A(l),_(i,"class","zephr-form-summary-line-right zephr-payment-form-summary-line-right svelte-3s0tux"),_(t,"class","zephr-form-addon-line zephr-payment-form-addon-line svelte-3s0tux")},m(e,c){y(e,t,c),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a),h(a,s)},p(e,t){262144&t[0]&&c!==(c=e[36].label+"")&&w(n,c),262144&t[0]&&l!==(l=e[36].addonPrice+"")&&w(s,l)},d(e){e&&g(t)}}}function ys(e){let t,r,n,o=!e[17]&&!(e[29]||e[11])&&gs(e),i=(e[29]||e[11])&&bs(e);return{c(){o&&o.c(),t=S(),i&&i.c(),r=C()},m(e,a){o&&o.m(e,a),y(e,t,a),i&&i.m(e,a),y(e,r,a),n=!0},p(e,n){e[17]||e[29]||e[11]?o&&(o.d(1),o=null):o?o.p(e,n):(o=gs(e),o.c(),o.m(t.parentNode,t)),e[29]||e[11]?i?(i.p(e,n),536872960&n[0]&&te(i,1)):(i=bs(e),i.c(),te(i,1),i.m(r.parentNode,r)):i&&(X(),re(i,1,1,(()=>{i=null})),ee())},i(e){n||(te(i),n=!0)},o(e){re(i),n=!1},d(e){e&&(g(t),g(r)),o&&o.d(e),i&&i.d(e)}}}function gs(e){let t,r,n,o,i;return{c(){t=P("button"),r=P("span"),n=A(e[4]),_(t,"type","button"),_(t,"class","zephr-form-promo-activate-line zephr-payment-form-promo-activate-line svelte-3s0tux")},m(a,s){y(a,t,s),h(t,r),h(r,n),o||(i=v(t,"click",e[34]),o=!0)},p(e,t){16&t[0]&&w(n,e[4])},d(e){e&&g(t),o=!1,i()}}}function bs(e){let t,r,n,o,i,a,s,c,l,u,d,p;const m=[Es,Ps],b=[];function E(e,t){return e[17]&&e[11]?0:e[17]?-1:1}~(n=E(e))&&(o=b[n]=m[n](e));const A=[Ts,vs],v=[];function T(e,t){return e[12]?0:e[17]?-1:1}~(s=T(e))&&(c=v[s]=A[s](e));let O=e[14]&&Os(e);return{c(){t=P("div"),r=P("div"),o&&o.c(),i=S(),a=P("div"),c&&c.c(),u=S(),O&&O.c(),d=C(),_(r,"class","zephr-form-promo-input-container zephr-payment-form-promo-input-container svelte-3s0tux"),_(a,"class",l=f(e[12]?"zephr-form-summary-line-right zephr-payment-form-summary-line-right":"zephr-form-summary-line-left zephr-payment-form-summary-line-left")+" svelte-3s0tux"),_(t,"class","zephr-form-promo-line zephr-payment-form-promo-line svelte-3s0tux")},m(e,o){y(e,t,o),h(t,r),~n&&b[n].m(r,null),h(t,i),h(t,a),~s&&v[s].m(a,null),y(e,u,o),O&&O.m(e,o),y(e,d,o),p=!0},p(e,t){let i=n;n=E(e),n===i?~n&&b[n].p(e,t):(o&&(X(),re(b[i],1,1,(()=>{b[i]=null})),ee()),~n?(o=b[n],o?o.p(e,t):(o=b[n]=m[n](e),o.c()),te(o,1),o.m(r,null)):o=null);let u=s;s=T(e),s===u?~s&&v[s].p(e,t):(c&&(X(),re(v[u],1,1,(()=>{v[u]=null})),ee()),~s?(c=v[s],c?c.p(e,t):(c=v[s]=A[s](e),c.c()),te(c,1),c.m(a,null)):c=null),(!p||4096&t[0]&&l!==(l=f(e[12]?"zephr-form-summary-line-right zephr-payment-form-summary-line-right":"zephr-form-summary-line-left zephr-payment-form-summary-line-left")+" svelte-3s0tux"))&&_(a,"class",l),e[14]?O?(O.p(e,t),16384&t[0]&&te(O,1)):(O=Os(e),O.c(),te(O,1),O.m(d.parentNode,d)):O&&(X(),re(O,1,1,(()=>{O=null})),ee())},i(e){p||(te(o),te(c),te(O),p=!0)},o(e){re(o),re(c),re(O),p=!1},d(e){e&&(g(t),g(u),g(d)),~n&&b[n].d(),~s&&v[s].d(),O&&O.d(e)}}}function Ps(e){let t,r,n;return r=new Ro({props:{id:"zephr-form-promo-code",value:e[11],placeholder:e[5],maxlength:50,hasError:null!=e[14],fill:!0,isPaymentForm:!0,onFocus:e[27],onBlur:e[28],$$slots:{default:[Cs]},$$scope:{ctx:e}}}),r.$on("change",e[35]),{c(){t=P("div"),ae(r.$$.fragment),_(t,"class","zephr-form-relative-container zephr-form-promo-input zephr-form-relative-container zephr-payment-form-promo-input")},m(e,o){y(e,t,o),se(r,t,null),n=!0},p(e,t){const n={};2048&t[0]&&(n.value=e[11]),32&t[0]&&(n.placeholder=e[5]),16384&t[0]&&(n.hasError=null!=e[14]),134217728&t[0]&&(n.onFocus=e[27]),268435456&t[0]&&(n.onBlur=e[28]),53248&t[0]|16384&t[1]&&(n.$$scope={dirty:t,ctx:e}),r.$set(n)},i(e){n||(te(r.$$.fragment,e),n=!0)},o(e){re(r.$$.fragment,e),n=!1},d(e){e&&g(t),ce(r)}}}function Es(t){let r,n;return{c(){r=P("span"),n=A(t[11]),_(r,"class","zephr-form-summary-promo-middle zephr-payment-form-summary-promo-middle svelte-3s0tux")},m(e,t){y(e,r,t),h(r,n)},p(e,t){2048&t[0]&&w(n,e[11])},i:e,o:e,d(e){e&&g(r)}}}function As(e){let t,r;return t=new er({props:{icon:Ht,spin:!0}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Ss(e){let t,r;return t=new er({props:{icon:Kt}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Cs(e){let t,r,n,o;const i=[Ss,As],a=[];function s(e,t){return e[12]?0:e[15]&&!e[14]?1:-1}return~(r=s(e))&&(n=a[r]=i[r](e)),{c(){t=P("div"),n&&n.c(),_(t,"class","zephr-form-input-inner-text zephr-payment-form-input-inner-text zephr-form-input-inner-button")},m(e,n){y(e,t,n),~r&&a[r].m(t,null),o=!0},p(e,o){let c=r;r=s(e),r!==c&&(n&&(X(),re(a[c],1,1,(()=>{a[c]=null})),ee()),~r?(n=a[r],n||(n=a[r]=i[r](e),n.c()),te(n,1),n.m(t,null)):n=null)},i(e){o||(te(n),o=!0)},o(e){re(n),o=!1},d(e){e&&g(t),~r&&a[r].d()}}}function vs(e){let t,r;return t=new mo({props:{disabled:e[16],text:e[6],onClick:e[26],noMargin:!0,inputHeight:!0,isPaymentForm:!0}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};65536&r[0]&&(n.disabled=e[16]),64&r[0]&&(n.text=e[6]),67108864&r[0]&&(n.onClick=e[26]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Ts(t){let r,n=t[0]&&_s(t);return{c(){r=P("span"),n&&n.c(),_(r,"class","zephr-form-summary-promo-middle zephr-payment-form-summary-promo-middle svelte-3s0tux")},m(e,t){y(e,r,t),n&&n.m(r,null)},p(e,t){e[0]?n?n.p(e,t):(n=_s(e),n.c(),n.m(r,null)):n&&(n.d(1),n=null)},i:e,o:e,d(e){e&&g(r),n&&n.d()}}}function _s(e){let t,r;return{c(){t=A("- "),r=A(e[13])},m(e,n){y(e,t,n),y(e,r,n)},p(e,t){8192&t[0]&&w(r,e[13])},d(e){e&&(g(t),g(r))}}}function Os(e){let t,r;return t=new zt({props:{error:e[14],isPaymentForm:!0}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};16384&r[0]&&(n.error=e[14]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Is(e){let t,r;return{c(){t=P("div"),r=A(e[10]),_(t,"class","zephr-form-summary-prorate-disclaimer zephr-payment-form-summary-prorate-disclaimer svelte-3s0tux")},m(e,n){y(e,t,n),h(t,r)},p(e,t){1024&t[0]&&w(r,e[10])},d(e){e&&g(t)}}}function ws(e){let t,r,n,o,i,a,s=(e[9]??"DUE TODAY")+"",c=e[20].totalPriceFormattedString+"";return{c(){t=P("div"),r=P("div"),n=A(s),o=S(),i=P("div"),a=A(c),_(r,"class","zephr-form-summary-line-total-title zephr-payment-form-summary-line-total-title"),_(i,"class","zephr-form-summary-line-price zephr-payment-form-summary-line-price svelte-3s0tux"),_(t,"class","zephr-form-summary-line zephr-form-summary-price-line zephr-payment-form-summary-line zephr-payment-form-summary-price-line svelte-3s0tux")},m(e,s){y(e,t,s),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a)},p(e,t){512&t[0]&&s!==(s=(e[9]??"DUE TODAY")+"")&&w(n,s),1048576&t[0]&&c!==(c=e[20].totalPriceFormattedString+"")&&w(a,c)},d(e){e&&g(t)}}}function Rs(e){let t,r,n,o,i,a,s,c,l,u,d,p,m,f,E,C,v,T,O,I,R,M,N,$,L,x=ne(e[19]),F=[];for(let t=0;t<x.length;t+=1)F[t]=ds(us(e,x,t));let z="braintree"===e[24]&&e[23].length>0&&ps(e),k=e[21]&&fs(e),D=ne(e[18]),B=[];for(let t=0;t<D.length;t+=1)B[t]=hs(cs(e,D,t));let U=e[3]&&ys(e),G=e[10]&&Is(e),V=e[20]&&ws(e);return{c(){t=P("div"),r=P("div"),n=A(e[7]),o=S(),i=P("div"),a=P("div"),s=A(e[1]),c=S(),l=P("div"),u=A(e[30]),d=S();for(let e=0;e<F.length;e+=1)F[e].c();p=S(),z&&z.c(),m=S(),k&&k.c(),f=S();for(let e=0;e<B.length;e+=1)B[e].c();E=S(),U&&U.c(),C=S(),v=P("div"),T=P("div"),O=A(e[8]),I=S(),R=P("div"),M=A(e[2]),N=S(),G&&G.c(),$=S(),V&&V.c(),_(r,"class","zephr-form-summary-title zephr-payment-form-summary-title svelte-3s0tux"),_(a,"class","zephr-form-summary-line-title zephr-payment-form-summary-line-title svelte-3s0tux"),_(l,"class","zephr-form-summary-line-price zephr-payment-form-summary-line-price svelte-3s0tux"),_(i,"class","zephr-form-summary-line zephr-payment-form-summary-line svelte-3s0tux"),_(T,"class","zephr-form-summary-line-total-title zephr-payment-form-summary-line-total-title"),_(R,"class","zephr-form-summary-line-price zephr-payment-form-summary-line-price svelte-3s0tux"),_(v,"class","zephr-form-summary-line zephr-form-summary-price-line zephr-form-summary-price-line-upper zephr-payment-form-summary-line zephr-payment-form-summary-price-line zephr-payment-form-summary-price-line-upper svelte-3s0tux"),_(t,"class","zephr-form-summary zephr-payment-form-summary svelte-3s0tux")},m(e,g){y(e,t,g),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a),h(a,s),h(i,c),h(i,l),h(l,u),h(t,d);for(let e=0;e<F.length;e+=1)F[e]&&F[e].m(t,null);h(t,p),z&&z.m(t,null),h(t,m),k&&k.m(t,null),h(t,f);for(let e=0;e<B.length;e+=1)B[e]&&B[e].m(t,null);h(t,E),U&&U.m(t,null),h(t,C),h(t,v),h(v,T),h(T,O),h(v,I),h(v,R),h(R,M),h(t,N),G&&G.m(t,null),h(t,$),V&&V.m(t,null),L=!0},p(e,r){if((!L||128&r[0])&&w(n,e[7]),(!L||2&r[0])&&w(s,e[1]),(!L||1073741824&r[0])&&w(u,e[30]),524288&r[0]){let n;for(x=ne(e[19]),n=0;n<x.length;n+=1){const o=us(e,x,n);F[n]?F[n].p(o,r):(F[n]=ds(o),F[n].c(),F[n].m(t,p))}for(;n<F.length;n+=1)F[n].d(1);F.length=x.length}if("braintree"===e[24]&&e[23].length>0?z?z.p(e,r):(z=ps(e),z.c(),z.m(t,m)):z&&(z.d(1),z=null),e[21]?k?k.p(e,r):(k=fs(e),k.c(),k.m(t,f)):k&&(k.d(1),k=null),262144&r[0]){let n;for(D=ne(e[18]),n=0;n<D.length;n+=1){const o=cs(e,D,n);B[n]?B[n].p(o,r):(B[n]=hs(o),B[n].c(),B[n].m(t,E))}for(;n<B.length;n+=1)B[n].d(1);B.length=D.length}e[3]?U?(U.p(e,r),8&r[0]&&te(U,1)):(U=ys(e),U.c(),te(U,1),U.m(t,C)):U&&(X(),re(U,1,1,(()=>{U=null})),ee()),(!L||256&r[0])&&w(O,e[8]),(!L||4&r[0])&&w(M,e[2]),e[10]?G?G.p(e,r):(G=Is(e),G.c(),G.m(t,$)):G&&(G.d(1),G=null),e[20]?V?V.p(e,r):(V=ws(e),V.c(),V.m(t,null)):V&&(V.d(1),V=null)},i(e){L||(te(U),L=!0)},o(e){re(U),L=!1},d(e){e&&g(t),b(F,e),z&&z.d(),k&&k.d(),b(B,e),U&&U.d(),G&&G.d(),V&&V.d()}}}function Ms(e,t,r){let n,{showPromoCodeDiscountAmount:o=!0}=t,{planTitle:i}=t,{price:a}=t,{totalPrice:s}=t,{allowPromoCodes:c}=t,{promoCodeLinkText:l}=t,{promoCodePlaceholder:u}=t,{promoCodeButtonText:d}=t,{title:p}=t,{totalLabel:m}=t,{prorateLabel:f}=t,{prorateDisclaimer:h}=t,{promoCode:y}=t,{promoCodeValid:g}=t,{discountAmount:b}=t,{error:P=null}=t,{busy:E}=t,{promoCodeDisabled:A}=t,{paymentProcessed:S}=t,{addons:C}=t,{chargeItems:v}=t,{changeSubscriptionProrate:T}=t,{tax:_}=t,{taxLabel:O}=t,{subTotal:I}=t,{discounts:w=[]}=t,{paymentProvider:R=""}=t,{onChangePromoCode:M}=t,{verifyPromoCode:N}=t,{onFocus:$}=t,{onBlur:L}=t,{logBeginCheckout:x}=t,F=!1;x();return e.$$set=e=>{"showPromoCodeDiscountAmount"in e&&r(0,o=e.showPromoCodeDiscountAmount),"planTitle"in e&&r(1,i=e.planTitle),"price"in e&&r(31,a=e.price),"totalPrice"in e&&r(2,s=e.totalPrice),"allowPromoCodes"in e&&r(3,c=e.allowPromoCodes),"promoCodeLinkText"in e&&r(4,l=e.promoCodeLinkText),"promoCodePlaceholder"in e&&r(5,u=e.promoCodePlaceholder),"promoCodeButtonText"in e&&r(6,d=e.promoCodeButtonText),"title"in e&&r(7,p=e.title),"totalLabel"in e&&r(8,m=e.totalLabel),"prorateLabel"in e&&r(9,f=e.prorateLabel),"prorateDisclaimer"in e&&r(10,h=e.prorateDisclaimer),"promoCode"in e&&r(11,y=e.promoCode),"promoCodeValid"in e&&r(12,g=e.promoCodeValid),"discountAmount"in e&&r(13,b=e.discountAmount),"error"in e&&r(14,P=e.error),"busy"in e&&r(15,E=e.busy),"promoCodeDisabled"in e&&r(16,A=e.promoCodeDisabled),"paymentProcessed"in e&&r(17,S=e.paymentProcessed),"addons"in e&&r(18,C=e.addons),"chargeItems"in e&&r(19,v=e.chargeItems),"changeSubscriptionProrate"in e&&r(20,T=e.changeSubscriptionProrate),"tax"in e&&r(21,_=e.tax),"taxLabel"in e&&r(22,O=e.taxLabel),"subTotal"in e&&r(32,I=e.subTotal),"discounts"in e&&r(23,w=e.discounts),"paymentProvider"in e&&r(24,R=e.paymentProvider),"onChangePromoCode"in e&&r(25,M=e.onChangePromoCode),"verifyPromoCode"in e&&r(26,N=e.verifyPromoCode),"onFocus"in e&&r(27,$=e.onFocus),"onBlur"in e&&r(28,L=e.onBlur),"logBeginCheckout"in e&&r(33,x=e.logBeginCheckout)},e.$$.update=()=>{524288&e.$$.dirty[0]|3&e.$$.dirty[1]&&r(30,n=v.length?"":I||a)},[o,i,s,c,l,u,d,p,m,f,h,y,g,b,P,E,A,S,C,v,T,_,O,w,R,M,N,$,L,F,n,a,I,x,()=>r(29,F=!0),({detail:e})=>M(e)]}class Ns extends de{constructor(e){super(),ue(this,e,Ms,Rs,a,{showPromoCodeDiscountAmount:0,planTitle:1,price:31,totalPrice:2,allowPromoCodes:3,promoCodeLinkText:4,promoCodePlaceholder:5,promoCodeButtonText:6,title:7,totalLabel:8,prorateLabel:9,prorateDisclaimer:10,promoCode:11,promoCodeValid:12,discountAmount:13,error:14,busy:15,promoCodeDisabled:16,paymentProcessed:17,addons:18,chargeItems:19,changeSubscriptionProrate:20,tax:21,taxLabel:22,subTotal:32,discounts:23,paymentProvider:24,onChangePromoCode:25,verifyPromoCode:26,onFocus:27,onBlur:28,logBeginCheckout:33},null,[-1,-1])}}const $s={matches:e=>e.type===Me,create:(e,t,r,n)=>{const o=so(e.organisationConfiguration.paymentProvider);return{component:Ns,props:{showPromoCodeDiscountAmount:!Nt(e).dynamicOffer,price:t.paymentOptionPrices?.netPriceFormattedString??"-",totalPrice:t.paymentOptionPrices?.totalPriceFormattedString??"-",tax:t.paymentOptionPrices?.taxPriceFormattedString,taxLabel:n.taxLabel??"Tax",subTotal:t.paymentOptionPrices?.netPriceFormattedString,planTitle:t.paymentOption.label,paymentProvider:e.organisationConfiguration.paymentProvider,discounts:"braintree"===e.organisationConfiguration.paymentProvider?(Nt(e).paymentOptions.find((e=>e.productId===t.paymentOption.productId&&e.slug===t.paymentOption.slug))?.discounts||[]).map((e=>({description:e.description||e.name,formattedAmount:`- ${fn(e.amount||0,t.paymentOption.currencyCode)}`}))):[],allowPromoCodes:(Nt(e).promoCodeConfig?.promoCodeAllowed||Nt(e).dynamicOffer)&&o.hasPromoCodes(e),promoCodeLinkText:Nt(e).promoCodeConfig?.promoCodeText,promoCodePlaceholder:Nt(e).promoCodeConfig?.promoCodePlaceholder,promoCodeButtonText:Nt(e).promoCodeConfig?.promoCodeButtonText,totalLabel:n.total,prorateLabel:n.prorateLabel,prorateDisclaimer:!Nt(e).changeSubscriptionMode||o.changeSubscriptionProrateCalculator?null:n.prorateDisclaimer,title:n.title,promoCode:t.promoCode,busy:t.isBusyByKey[is],promoCodeDisabled:t.isBusy||0===t.promoCode?.length,paymentProcessed:t.paymentProcessed,discountAmount:t.paymentOptionPrices?.discountPriceFormattedPrice??"-",addons:gn(t).map((e=>({label:e.label,addonPrice:fn(e.addonPrice,t.paymentOption.currencyCode)}))),chargeItems:t.paymentOptionPrices?.chargeItems??[],promoCodeValid:t.promoCodeValid,changeSubscriptionProrate:t.changeSubscriptionProrate,onChangePromoCode:n=>{let o=r.updateFormState({promoCode:n,promoCodeValid:void 0,discountedPlanPrices:[]});t.promoCodeValid&&(t.originalDynamicOfferResult&&(o=r.updateFormState({dynamicOfferResult:t.originalDynamicOfferResult})),as(e,o,r)),dt(e,"zephr_form_input_change",{inputName:"zephr-form-promo-code",sectionId:t.currentSection.type,field:"promo-code"})},onFocus:()=>dt(e,"zephr_form_input_focus",{inputName:"zephr-form-promo-code",sectionId:t.currentSection.type,field:"promo-code"}),onBlur:()=>dt(e,"zephr_form_input_blur",{inputName:"zephr-form-promo-code",sectionId:t.currentSection.type,field:"promo-code"}),verifyPromoCode:()=>{ss(e,t,r)},logBeginCheckout:async()=>{t.currentPart.type===ot.PAYMENT.type&&(e.organisationConfiguration.trackFormDataLayerEvents&&await lo(e,t,r),dt(e,"begin_checkout",{ecommerce:{currency:Pn(e,t),value:r.getFormState().paymentOptionPrices?.totalPrice,items:[{item_id:t.paymentOption.slug,item_name:t.paymentOption.productId,price:r.getFormState().paymentOptionPrices?.totalPrice,quantity:1}]}}))}}}}};function Ls(e){let t,r,n,o=e[1]&&xs(e),i=e[0]&&ks(e),a=e[1]&&e[0]&&Ds(e);return{c(){t=P("div"),o&&o.c(),r=S(),i&&i.c(),n=S(),a&&a.c(),_(t,"class","zephr-form-divider-container svelte-svq2r5"),$(t,"zephr-payment-form-divider-container",e[3])},m(e,s){y(e,t,s),o&&o.m(t,null),h(t,r),i&&i.m(t,null),h(t,n),a&&a.m(t,null)},p(e,s){e[1]?o?o.p(e,s):(o=xs(e),o.c(),o.m(t,r)):o&&(o.d(1),o=null),e[0]?i?i.p(e,s):(i=ks(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),e[1]&&e[0]?a?a.p(e,s):(a=Ds(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null),8&s&&$(t,"zephr-payment-form-divider-container",e[3])},d(e){e&&g(t),o&&o.d(),i&&i.d(),a&&a.d()}}}function xs(e){let t;function r(e,t){return e[0]?zs:Fs}let n=r(e),o=n(e);return{c(){o.c(),t=C()},m(e,r){o.m(e,r),y(e,t,r)},p(e,i){n===(n=r(e))&&o?o.p(e,i):(o.d(1),o=n(e),o&&(o.c(),o.m(t.parentNode,t)))},d(e){e&&g(t),o.d(e)}}}function Fs(t){let r;return{c(){r=P("div"),_(r,"class","zephr-form-divider-line-complete svelte-svq2r5")},m(e,t){y(e,r,t)},p:e,d(e){e&&g(r)}}}function zs(e){let t;return{c(){t=P("div"),_(t,"class","zephr-form-divider-line svelte-svq2r5"),$(t,"zephr-payment-form-divider-line",e[3])},m(e,r){y(e,t,r)},p(e,r){8&r&&$(t,"zephr-payment-form-divider-line",e[3])},d(e){e&&g(t)}}}function ks(e){let t,r;return{c(){t=P("span"),r=A(e[0]),_(t,"class","zephr-form-divider-text svelte-svq2r5"),$(t,"zephr-payment-form-divider-text",e[3])},m(e,n){y(e,t,n),h(t,r)},p(e,n){1&n&&w(r,e[0]),8&n&&$(t,"zephr-payment-form-divider-text",e[3])},d(e){e&&g(t)}}}function Ds(e){let t;return{c(){t=P("div"),_(t,"class","zephr-form-divider-line svelte-svq2r5"),$(t,"zephr-payment-form-divider-line",e[3])},m(e,r){y(e,t,r)},p(e,r){8&r&&$(t,"zephr-payment-form-divider-line",e[3])},d(e){e&&g(t)}}}function Bs(t){let r,n=t[2]&&Ls(t);return{c(){n&&n.c(),r=C()},m(e,t){n&&n.m(e,t),y(e,r,t)},p(e,[t]){e[2]?n?n.p(e,t):(n=Ls(e),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i:e,o:e,d(e){e&&g(r),n&&n.d(e)}}}function Us(e,t,r){let{text:n}=t,{showLine:o}=t,{show:i}=t,{isPaymentForm:a=!1}=t;return e.$$set=e=>{"text"in e&&r(0,n=e.text),"showLine"in e&&r(1,o=e.showLine),"show"in e&&r(2,i=e.show),"isPaymentForm"in e&&r(3,a=e.isPaymentForm)},[n,o,i,a]}class Gs extends de{constructor(e){super(),ue(this,e,Us,Bs,a,{text:0,showLine:1,show:2,isPaymentForm:3})}}const Vs={matches:e=>e.type===Ne,create:(e,t,r,n)=>({component:Gs,props:{text:n.text,showLine:n.showLine,show:n.show,isPaymentForm:e.formType===wt.PAYMENT}})};function qs(t){let r,n,o,i,a;return{c(){r=P("div"),n=A(t[0]),o=S(),i=P("a"),a=A(t[1]),_(i,"href",t[2]),_(i,"class","svelte-1bpa3mq"),_(r,"class","zephr-form-login-link svelte-1bpa3mq"),$(r,"zephr-payment-login-link",t[3])},m(e,t){y(e,r,t),h(r,n),h(r,o),h(r,i),h(i,a)},p(e,[t]){1&t&&w(n,e[0]),2&t&&w(a,e[1]),4&t&&_(i,"href",e[2]),8&t&&$(r,"zephr-payment-login-link",e[3])},i:e,o:e,d(e){e&&g(r)}}}function js(e,t,r){let{text:n}=t,{linkText:o}=t,{url:i}=t,{isPaymentForm:a=!1}=t;return e.$$set=e=>{"text"in e&&r(0,n=e.text),"linkText"in e&&r(1,o=e.linkText),"url"in e&&r(2,i=e.url),"isPaymentForm"in e&&r(3,a=e.isPaymentForm)},[n,o,i,a]}class Hs extends de{constructor(e){super(),ue(this,e,js,qs,a,{text:0,linkText:1,url:2,isPaymentForm:3})}}const Ks={matches:e=>e.type===$e,create:(e,t,r,n)=>({component:Hs,props:{text:n.alreadyRegText,linkText:n.loginText,url:n.url,isPaymentForm:e.formType===wt.PAYMENT}})},Ys={matches:e=>e.type===Ae&&e.config.isLogin,create:(e,t,r,n)=>({component:mo,props:{disabled:t.isBusy,text:n.text,onClick:()=>{dt(e,"zephr_form_button_press",{sectionId:t.currentSection.type,buttonType:"SUBMIT"}),r.updateFormState({forgotPassword:!1}),r.jumpToPartStart(ot.ACCOUNT_VERIFICATION.type)},isPaymentForm:e.formType===wt.PAYMENT}})},Ws={matches:e=>e.type===Ae&&e.config.isCancel,create:(e,t,r,n)=>({component:mo,props:{text:n.text,onClick:()=>{dt(e,"zephr_form_button_press",{sectionId:t.currentSection.type,buttonType:"SUBMIT"}),r.updateFormState({confirmCancel:!0}),r.completeSection()}}})};function Js(e){let t,r;return t=new _a({props:{text:e[0]}}),t.$on("linkClick",e[10]),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};1&r&&(n.text=e[0]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Qs(e){let t,r,n,o;return t=new Lo({props:{forInput:e[8],label:e[0]}}),n=new Ro({props:{id:e[8],value:e[2],errorMessage:e[3],placeholder:e[1],onFocus:e[5],onBlur:e[6]}}),n.$on("change",e[11]),{c(){ae(t.$$.fragment),r=S(),ae(n.$$.fragment)},m(e,i){se(t,e,i),y(e,r,i),se(n,e,i),o=!0},p(e,r){const o={};1&r&&(o.label=e[0]),t.$set(o);const i={};4&r&&(i.value=e[2]),8&r&&(i.errorMessage=e[3]),2&r&&(i.placeholder=e[1]),32&r&&(i.onFocus=e[5]),64&r&&(i.onBlur=e[6]),n.$set(i)},i(e){o||(te(t.$$.fragment,e),te(n.$$.fragment,e),o=!0)},o(e){re(t.$$.fragment,e),re(n.$$.fragment,e),o=!1},d(e){e&&g(r),ce(t,e),ce(n,e)}}}function Zs(e){let t,r,n,o=!e[7]&&Js(e),i=(e[2]||e[7])&&Qs(e);return{c(){t=P("div"),o&&o.c(),r=S(),i&&i.c(),_(t,"class","zephr-form-account-code-container svelte-ctt9he")},m(e,a){y(e,t,a),o&&o.m(t,null),h(t,r),i&&i.m(t,null),n=!0},p(e,[n]){e[7]?o&&(X(),re(o,1,1,(()=>{o=null})),ee()):o?(o.p(e,n),128&n&&te(o,1)):(o=Js(e),o.c(),te(o,1),o.m(t,r)),e[2]||e[7]?i?(i.p(e,n),132&n&&te(i,1)):(i=Qs(e),i.c(),te(i,1),i.m(t,null)):i&&(X(),re(i,1,1,(()=>{i=null})),ee())},i(e){n||(te(o),te(i),n=!0)},o(e){re(o),re(i),n=!1},d(e){e&&g(t),o&&o.d(),i&&i.d()}}}function Xs(e,t,r){let{formKey:n}=t,{label:o}=t,{placeholder:i}=t,{accountMembershipCode:a}=t,{error:s=null}=t,{onChange:c}=t,{onFocus:l}=t,{onBlur:u}=t,d=!1;const p=`zephr-form-account-code-${n}`;return e.$$set=e=>{"formKey"in e&&r(9,n=e.formKey),"label"in e&&r(0,o=e.label),"placeholder"in e&&r(1,i=e.placeholder),"accountMembershipCode"in e&&r(2,a=e.accountMembershipCode),"error"in e&&r(3,s=e.error),"onChange"in e&&r(4,c=e.onChange),"onFocus"in e&&r(5,l=e.onFocus),"onBlur"in e&&r(6,u=e.onBlur)},[o,i,a,s,c,l,u,d,p,n,()=>r(7,d=!0),e=>c(e.detail)]}class ec extends de{constructor(e){super(),ue(this,e,Xs,Zs,a,{formKey:9,label:0,placeholder:1,accountMembershipCode:2,error:3,onChange:4,onFocus:5,onBlur:6})}}const tc={matches:e=>e.type===Le,create:(e,t,r,n)=>({component:ec,props:{formKey:e.uniqueKey,label:n.label,placeholder:n.placeholder,accountMembershipCode:t.accountMembershipCode,onChange:n=>{r.updateFormState({accountMembershipCode:n,serverErrors:[]}),dt(e,"zephr_form_input_change",{inputName:`zephr-form-account-code-${e.uniqueKey}`,sectionId:t.currentSection.type,field:"account-code"})},onFocus:()=>dt(e,"zephr_form_input_focus",{inputName:`zephr-form-account-code-${e.uniqueKey}`,sectionId:t.currentSection.type,field:"account-code"}),onBlur:()=>dt(e,"zephr_form_input_blur",{inputName:`zephr-form-account-code-${e.uniqueKey}`,sectionId:t.currentSection.type,field:"account-code"})}})};function rc(e){let t,r,n;return r=new _i({props:{text:e[4]}}),{c(){t=P("div"),ae(r.$$.fragment),_(t,"class","zephr-form-invitation-success-message svelte-yy7ok3")},m(e,o){y(e,t,o),se(r,t,null),n=!0},p(e,t){const n={};16&t&&(n.text=e[4]),r.$set(n)},i(e){n||(te(r.$$.fragment,e),n=!0)},o(e){re(r.$$.fragment,e),n=!1},d(e){e&&g(t),ce(r)}}}function nc(e){let t,r,n,o,i,a,s,c,l,u,d,p,m,f,b,E;c=new Lo({props:{forInput:e[14],label:e[2],isPaymentForm:e[11]}}),p=new Ro({props:{disabled:e[10],required:!0,id:e[14],value:e[7]??"",errorMessage:e[9],isPaymentForm:e[11],onFocus:e[12],onBlur:e[13]}}),p.$on("change",e[16]),f=new mo({props:{disabled:!mi(e[7])||e[10],text:e[3],onClick:e[5],noMargin:!0,inputHeight:!0,aside:!0,isPaymentForm:e[11]}});let C=e[8]&&rc(e);return{c(){t=P("div"),r=P("div"),n=A(e[0]),o=S(),i=P("div"),a=A(e[1]),s=S(),ae(c.$$.fragment),l=S(),u=P("div"),d=P("div"),ae(p.$$.fragment),m=S(),ae(f.$$.fragment),b=S(),C&&C.c(),_(r,"class","zephr-form-invitation-title svelte-yy7ok3"),_(i,"class","zephr-form-invitation-description"),_(d,"class","zephr-form-invitation-input-container svelte-yy7ok3"),_(u,"class","zephr-form-relative-container zephr-form-invitation-email svelte-yy7ok3"),$(u,"zephr-payment-form-relative-container",e[11]),_(t,"class","zephr-form-invitation-container svelte-yy7ok3")},m(e,g){y(e,t,g),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a),h(t,s),se(c,t,null),h(t,l),h(t,u),h(u,d),se(p,d,null),h(u,m),se(f,u,null),h(t,b),C&&C.m(t,null),E=!0},p(e,[r]){(!E||1&r)&&w(n,e[0]),(!E||2&r)&&w(a,e[1]);const o={};4&r&&(o.label=e[2]),2048&r&&(o.isPaymentForm=e[11]),c.$set(o);const i={};1024&r&&(i.disabled=e[10]),128&r&&(i.value=e[7]??""),512&r&&(i.errorMessage=e[9]),2048&r&&(i.isPaymentForm=e[11]),4096&r&&(i.onFocus=e[12]),8192&r&&(i.onBlur=e[13]),p.$set(i);const s={};1152&r&&(s.disabled=!mi(e[7])||e[10]),8&r&&(s.text=e[3]),32&r&&(s.onClick=e[5]),2048&r&&(s.isPaymentForm=e[11]),f.$set(s),(!E||2048&r)&&$(u,"zephr-payment-form-relative-container",e[11]),e[8]?C?(C.p(e,r),256&r&&te(C,1)):(C=rc(e),C.c(),te(C,1),C.m(t,null)):C&&(X(),re(C,1,1,(()=>{C=null})),ee())},i(e){E||(te(c.$$.fragment,e),te(p.$$.fragment,e),te(f.$$.fragment,e),te(C),E=!0)},o(e){re(c.$$.fragment,e),re(p.$$.fragment,e),re(f.$$.fragment,e),re(C),E=!1},d(e){e&&g(t),ce(c),ce(p),ce(f),C&&C.d()}}}function oc(e,t,r){let{formKey:n}=t,{title:o}=t,{description:i}=t,{label:a}=t,{btnText:s}=t,{linkSentText:c}=t,{onSendInviteClick:l}=t,{onChange:u}=t,{invitationEmail:d}=t,{invitationSent:p}=t,{error:m=null}=t,{isBusy:f}=t,{isPaymentForm:h=!1}=t,{onFocus:y}=t,{onBlur:g}=t;const b=`zephr-form-invitation-email-${n}`;return e.$$set=e=>{"formKey"in e&&r(15,n=e.formKey),"title"in e&&r(0,o=e.title),"description"in e&&r(1,i=e.description),"label"in e&&r(2,a=e.label),"btnText"in e&&r(3,s=e.btnText),"linkSentText"in e&&r(4,c=e.linkSentText),"onSendInviteClick"in e&&r(5,l=e.onSendInviteClick),"onChange"in e&&r(6,u=e.onChange),"invitationEmail"in e&&r(7,d=e.invitationEmail),"invitationSent"in e&&r(8,p=e.invitationSent),"error"in e&&r(9,m=e.error),"isBusy"in e&&r(10,f=e.isBusy),"isPaymentForm"in e&&r(11,h=e.isPaymentForm),"onFocus"in e&&r(12,y=e.onFocus),"onBlur"in e&&r(13,g=e.onBlur)},[o,i,a,s,c,l,u,d,p,m,f,h,y,g,b,n,({detail:e})=>u(e)]}class ic extends de{constructor(e){super(),ue(this,e,oc,nc,a,{formKey:15,title:0,description:1,label:2,btnText:3,linkSentText:4,onSendInviteClick:5,onChange:6,invitationEmail:7,invitationSent:8,error:9,isBusy:10,isPaymentForm:11,onFocus:12,onBlur:13})}}const ac=async(e,t,r)=>{let n;n=t.userExists?await(e=>fr("blaize/profile",{method:"GET"},e).then((e=>e.json())))(r):t.userAttributes;const o=((e,t)=>(e??[]).reduce(((e,r)=>{const n=t[r.attrSlug];return{...e,[r.fieldName]:n}}),{}))(Nt(e).invitationMetadata.mapping,n),i=await fr("zephr/public/products/v1/shares/invitations/emails",{method:"POST",bodyObject:{product_id:t.paymentOption.productId,email_address:t.invitationEmail,base_url:Nt(e).invitationMetadata.url,meta_data:o}},r),a=await i.json();if(i.ok)r.updateFormState({invitationSent:!0,invitationEmail:""}),setTimeout((()=>{r.updateFormState({invitationSent:!1})}),3e3);else{const t=(s=a,403===s?.status&&s?.message?.includes("you do not have access to")?at.INVITATION_FAILED_NO_PRODUCT_ACCESS:400===s?.status&&s?.message?.includes("Invalid recipient email")?at.INVITATION_FAILED_INVALID_EMAIL:400===s?.status&&s?.message?.includes("reached the configured limit")?at.INVITATION_FAILED_LIMIT_REACHED:409===s?.status?at.INVITATION_FAILED_DUPLICATE_EMAIL:at.INVITATION_FAILED_UNKNOWN);dt(e,"zephr_form_error",{error:at[t]}),r.updateFormState({invitationSent:!1,serverErrors:[t]})}var s},sc={matches:e=>e.type===Fe,create:(e,t,r,n)=>t.paymentOption?.product_sharing_limit>0?{component:ic,props:{formKey:e.uniqueKey,title:n.title,description:n.description,label:n.label,btnText:n.btnText,linkSentText:n.linkSentText,onSendInviteClick:()=>{dt(e,"zephr_form_button_press",{sectionId:t.currentSection.type,buttonType:"SUBMIT"}),ac(e,t,r)},onChange:n=>{r.updateFormState({invitationEmail:n,serverErrors:[]}),dt(e,"zephr_form_input_change",{inputName:`zephr-form-invitation-email-${e.uniqueKey}`,sectionId:t.currentSection.type,field:"invitation-email"})},onFocus:()=>dt(e,"zephr_form_input_focus",{inputName:`zephr-form-invitation-email-${e.uniqueKey}`,sectionId:t.currentSection.type,field:"invitation-email"}),onBlur:()=>dt(e,"zephr_form_input_blur",{inputName:`zephr-form-invitation-email-${e.uniqueKey}`,sectionId:t.currentSection.type,field:"invitation-email"}),invitationEmail:t.invitationEmail,invitationSent:t.invitationSent,isBusy:t.isBusy,isPaymentForm:e.formType===wt.PAYMENT}}:{component:null,props:{}}};class cc extends de{constructor(e){super(),ue(this,e,null,null,a,{})}}const lc={matches:e=>e.type===Ce,create:(e,t,r)=>{const n=so(e.organisationConfiguration.paymentProvider);if(null==n.preLoaderComponent)return{component:cc,props:{}};return{component:n.preLoaderComponent(Nt(e).paymentProviderFormConfig),props:{onMountCallback:()=>n.preLoader()}}}};function uc(t){let r;return{c(){r=P("div")},m(e,n){y(e,r,n),r.innerHTML=t[0]},p(e,[t]){1&t&&(r.innerHTML=e[0])},i:e,o:e,d(e){e&&g(r)}}}function dc(e,t,r){let{html:n}=t;return e.$$set=e=>{"html"in e&&r(0,n=e.html)},[n]}class pc extends de{constructor(e){super(),ue(this,e,dc,uc,a,{html:0})}}const mc=()=>(Math.random()+1).toString(36).substring(7),fc=mc(),hc=e=>e.dynamicOfferResult?Object.entries({tagline:e.dynamicOfferResult.tagline,...e.dynamicOfferResult.custom??{}}).reduce(((e,[t,r])=>(t&&null!=r&&(e[t]=r),e)),{}):{},yc=(e,t)=>(e.templateVariables??[]).reduce(((e,r)=>null==r.defaultValue||r.paymentOptionLevel!=t?e:{...e,[r.key]:r.defaultValue}),{}),gc=e=>{window.Zephr||(window.Zephr={}),window.Zephr.forms||(window.Zephr.forms={}),window.Zephr.forms[e.formInstanceId]=e},bc=(e,t,r,n,o,i)=>{if(!o)return{scope:{},actions:{}};try{const a=new Function("state","form","scope",o),s=(t.customComponentState??{})[r.id??"_"];return a(t.dynamicOfferResult?{...s??{},dynamicOfferResult:_n(t.dynamicOfferResult,e,t)}:s,n,i)}catch(e){return console.error("Error evaluating pre-render script",e),{scope:{error:e},actions:{}}}},Pc=(e,t,r)=>n=>{t.updateFormState({customComponentState:{...e.customComponentState??{},[r]:{...(e.customComponentState??{})[r]??{},...n??{}}}})},Ec=(e,t,r,n)=>async(o,i)=>{let a;if(n){const e=r.dynamicOfferResult.products.find((e=>e.id===o)),t=e?.paymentPlans.find((e=>e.planId===i));a={slug:t.planId,productId:e.id,label:e.label,currencyCode:t.charges[0].prices[0].currency}}else a=Nt(e).paymentOptions?.find((e=>e.productId===o&&e.slug===i));if(a){if(t.updateFormState({paymentOption:a,serverErrors:[],billingAddress:{country:null,postalCode:null}}),e.organisationConfiguration.trackFormDataLayerEvents){await lo(e,t.getFormState(),t);const n=t.getFormState().paymentOptionPrices?.totalPrice;dt(e,"zephr_form_payment_option_selected",{productId:a.productId,planId:a.slug,price:n}),dt(e,"select_item",{ecommerce:{items:[{item_id:a.slug,item_name:a.productId,price:n,quantity:1}]}}),dt(e,"add_to_cart",{ecommerce:{currency:Nt(e).formCurrency??a?.currencyCode,value:n,items:[{item_id:a.slug,item_name:a.productId,price:n,quantity:1}]}}),dt(e,"zephr_form_button_press",{sectionId:r.currentSection.type,buttonType:"SUBMIT"})}t.completeSection()}else console.warn(`No payment option exists for ${o} ${i}.`)},Ac=(e,t,r,n,o)=>{const i=!!Nt(e).dynamicOffer?.id,a=(Nt(e).paymentOptions??[]).map(((e,t)=>({slug:e.slug,productId:e.productId,label:e.label,price:e.price,currencyCode:e.currencyCode,formattedPrice:fn(e.price,e.currencyCode),index:t,...yc(o,!0),...e.templateValues??{}})));return{formId:e.id,formInstanceId:fc,paymentOptions:a,ref:`window.Zephr.forms['${fc}']`,setState:Pc(t,r,n.id??"_"),getState:()=>r.getFormState(),selectPaymentOption:Ec(e,r,t,i)}},Sc={matches:e=>e.type===ze,create:(e,t,r,n)=>{const o=((e,t,r,n)=>{const o=(e.resolvedComponentTemplates??[]).find((e=>e.id===n.templateId));if(!o)return console.warn(`No component template found for id '${n.templateId}'`),"";const i=Ac(e,t,r,n,o),a={...yc(o,!1),...n.templateValues??{},...hc(t),zephrForm:i,zephrOutcomeId:e.outcomeId,zephrRuleId:e.ruleId},s=bc(e,t,n,i,o.preRenderScript,a),c={...a,...s.scope??{}};i.actions=s.actions??{},gc(i);try{return Jr.render(`\n ${o.css?`<style>${o.css}</style>`:""}\n ${o.html??""}\n `,c)}catch(e){return console.error("Error rendering mustache template",e),""}})(e,t,r,n);return{component:pc,props:{html:o}}}};function Cc(e){let t,r,n,o=e[0].planLabel+"";return{c(){t=P("div"),r=P("h3"),n=A(o),_(t,"class","plan-label")},m(e,o){y(e,t,o),h(t,r),h(r,n)},p(e,t){1&t&&o!==(o=e[0].planLabel+"")&&w(n,o)},d(e){e&&g(t)}}}function vc(e){let t,r,n,o,i,a,s,c,l=e[0].amount+"";return{c(){t=P("hr"),r=S(),n=P("div"),o=P("div"),i=A(e[2]),a=S(),s=P("div"),c=A(l),_(t,"class","svelte-1ecrab7"),_(o,"class","info-label svelte-1ecrab7"),_(s,"class","info svelte-1ecrab7"),_(n,"class","info-row svelte-1ecrab7")},m(e,l){y(e,t,l),y(e,r,l),y(e,n,l),h(n,o),h(o,i),h(n,a),h(n,s),h(s,c)},p(e,t){4&t&&w(i,e[2]),1&t&&l!==(l=e[0].amount+"")&&w(c,l)},d(e){e&&(g(t),g(r),g(n))}}}function Tc(e){let t,r,n,o,i,a,s,c,l=e[0].nextBillingTime+"";return{c(){t=P("hr"),r=S(),n=P("div"),o=P("div"),i=A(e[3]),a=S(),s=P("div"),c=A(l),_(t,"class","svelte-1ecrab7"),_(o,"class","info-label svelte-1ecrab7"),_(s,"class","info svelte-1ecrab7"),_(n,"class","info-row svelte-1ecrab7")},m(e,l){y(e,t,l),y(e,r,l),y(e,n,l),h(n,o),h(o,i),h(n,a),h(n,s),h(s,c)},p(e,t){8&t&&w(i,e[3]),1&t&&l!==(l=e[0].nextBillingTime+"")&&w(c,l)},d(e){e&&(g(t),g(r),g(n))}}}function _c(e){let t;return{c(){t=P("div"),_(t,"class","change-disabled-label svelte-1ecrab7")},m(r,n){y(r,t,n),t.innerHTML=e[4]},p(e,r){16&r&&(t.innerHTML=e[4])},d(e){e&&g(t)}}}function Oc(e){let t,r,n,o,a,s,c,l,u,d,p,m,f,b,E,C,O=e[0].productLabel+"",I=e[0].planLabel&&Cc(e),R=e[0].amount&&e[2]&&vc(e),M=e[0].nextBillingTime&&e[3]&&Tc(e);p=new mo({props:{disabled:e[0].cannotBeChanged,text:e[1]??"Select",onClick:e[5]}});let N=e[0].cannotBeChanged&&_c(e);return{c(){t=P("div"),r=P("div"),n=P("div"),o=P("div"),a=P("h2"),s=A(O),c=S(),I&&I.c(),l=S(),R&&R.c(),u=S(),M&&M.c(),d=S(),ae(p.$$.fragment),m=S(),N&&N.c(),_(o,"class","subscription-option-product-label"),_(n,"class","inner-box svelte-1ecrab7"),_(r,"class","subscription-option-box"),_(r,"aria-hidden","true"),_(r,"style",f=e[0].cannotBeChanged?"":"cursor: pointer;"),_(t,"class","subscription-option-wrapper svelte-1ecrab7")},m(f,g){var P;y(f,t,g),h(t,r),h(r,n),h(n,o),h(o,a),h(a,s),h(n,c),I&&I.m(n,null),h(n,l),R&&R.m(n,null),h(n,u),M&&M.m(n,null),h(n,d),se(p,n,null),h(n,m),N&&N.m(n,null),b=!0,E||(C=v(r,"click",(P=T((function(){i(e[5])&&e[5].apply(this,arguments)})),function(e){e.target===this&&P.call(this,e)})),E=!0)},p(t,[o]){e=t,(!b||1&o)&&O!==(O=e[0].productLabel+"")&&w(s,O),e[0].planLabel?I?I.p(e,o):(I=Cc(e),I.c(),I.m(n,l)):I&&(I.d(1),I=null),e[0].amount&&e[2]?R?R.p(e,o):(R=vc(e),R.c(),R.m(n,u)):R&&(R.d(1),R=null),e[0].nextBillingTime&&e[3]?M?M.p(e,o):(M=Tc(e),M.c(),M.m(n,d)):M&&(M.d(1),M=null);const i={};1&o&&(i.disabled=e[0].cannotBeChanged),2&o&&(i.text=e[1]??"Select"),32&o&&(i.onClick=e[5]),p.$set(i),e[0].cannotBeChanged?N?N.p(e,o):(N=_c(e),N.c(),N.m(n,null)):N&&(N.d(1),N=null),(!b||1&o&&f!==(f=e[0].cannotBeChanged?"":"cursor: pointer;"))&&_(r,"style",f)},i(e){b||(te(p.$$.fragment,e),b=!0)},o(e){re(p.$$.fragment,e),b=!1},d(e){e&&g(t),I&&I.d(),R&&R.d(),M&&M.d(),ce(p),N&&N.d(),E=!1,C()}}}function Ic(e,t,r){let{subscription:n}=t,{selectButtonText:o}=t,{amountLabel:i}=t,{nextBillingDateLabel:a}=t,{noChangePlanMappingMessage:s}=t,{onSelect:c}=t;return e.$$set=e=>{"subscription"in e&&r(0,n=e.subscription),"selectButtonText"in e&&r(1,o=e.selectButtonText),"amountLabel"in e&&r(2,i=e.amountLabel),"nextBillingDateLabel"in e&&r(3,a=e.nextBillingDateLabel),"noChangePlanMappingMessage"in e&&r(4,s=e.noChangePlanMappingMessage),"onSelect"in e&&r(5,c=e.onSelect)},[n,o,i,a,s,c]}class wc extends de{constructor(e){super(),ue(this,e,Ic,Oc,a,{subscription:0,selectButtonText:1,amountLabel:2,nextBillingDateLabel:3,noChangePlanMappingMessage:4,onSelect:5})}}function Rc(e,t,r){const n=e.slice();return n[8]=t[r],n}function Mc(e){let t,r;return t=new rr({}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Nc(e){let t;return{c(){t=P("div")},m(r,n){y(r,t,n),t.innerHTML=e[0]},p(e,r){1&r&&(t.innerHTML=e[0])},d(e){e&&g(t)}}}function $c(e){let t,r;function n(){return e[7](e[8])}return t=new wc({props:{subscription:e[8],selectButtonText:e[5],noChangePlanMappingMessage:e[1],amountLabel:e[3],nextBillingDateLabel:e[4],onSelect:n}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(r,o){e=r;const i={};4&o&&(i.subscription=e[8]),32&o&&(i.selectButtonText=e[5]),2&o&&(i.noChangePlanMappingMessage=e[1]),8&o&&(i.amountLabel=e[3]),16&o&&(i.nextBillingDateLabel=e[4]),68&o&&(i.onSelect=n),t.$set(i)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Lc(e){let t,r,n,o,i=null==e[2]&&Mc(),a=null!=e[2]&&!e[2].length&&Nc(e),s=ne(e[2]??[]),c=[];for(let t=0;t<s.length;t+=1)c[t]=$c(Rc(e,s,t));const l=e=>re(c[e],1,1,(()=>{c[e]=null}));return{c(){t=P("div"),i&&i.c(),r=S(),a&&a.c(),n=S();for(let e=0;e<c.length;e+=1)c[e].c();_(t,"class","subscription-options-container svelte-1nzbr4y")},m(e,s){y(e,t,s),i&&i.m(t,null),h(t,r),a&&a.m(t,null),h(t,n);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(t,null);o=!0},p(e,[o]){if(null==e[2]?i?4&o&&te(i,1):(i=Mc(),i.c(),te(i,1),i.m(t,r)):i&&(X(),re(i,1,1,(()=>{i=null})),ee()),null==e[2]||e[2].length?a&&(a.d(1),a=null):a?a.p(e,o):(a=Nc(e),a.c(),a.m(t,n)),126&o){let r;for(s=ne(e[2]??[]),r=0;r<s.length;r+=1){const n=Rc(e,s,r);c[r]?(c[r].p(n,o),te(c[r],1)):(c[r]=$c(n),c[r].c(),te(c[r],1),c[r].m(t,null))}for(X(),r=s.length;r<c.length;r+=1)l(r);ee()}},i(e){if(!o){te(i);for(let e=0;e<s.length;e+=1)te(c[e]);o=!0}},o(e){re(i),c=c.filter(Boolean);for(let e=0;e<c.length;e+=1)re(c[e]);o=!1},d(e){e&&g(t),i&&i.d(),a&&a.d(),b(c,e)}}}function xc(e,t,r){let{noSubscriptionsMessage:n}=t,{noChangePlanMappingMessage:o}=t,{subscriptions:i}=t,{amountLabel:a}=t,{nextBillingDateLabel:s}=t,{selectButtonText:c}=t,{onSelect:l}=t;return e.$$set=e=>{"noSubscriptionsMessage"in e&&r(0,n=e.noSubscriptionsMessage),"noChangePlanMappingMessage"in e&&r(1,o=e.noChangePlanMappingMessage),"subscriptions"in e&&r(2,i=e.subscriptions),"amountLabel"in e&&r(3,a=e.amountLabel),"nextBillingDateLabel"in e&&r(4,s=e.nextBillingDateLabel),"selectButtonText"in e&&r(5,c=e.selectButtonText),"onSelect"in e&&r(6,l=e.onSelect)},[n,o,i,a,s,c,l,e=>l(e)]}class Fc extends de{constructor(e){super(),ue(this,e,xc,Lc,a,{noSubscriptionsMessage:0,noChangePlanMappingMessage:1,subscriptions:2,amountLabel:3,nextBillingDateLabel:4,selectButtonText:5,onSelect:6})}}const zc={matches:e=>e.type===ke,create:(e,t,r,n)=>({component:Fc,props:{noSubscriptionsMessage:n.noSubscriptionsMessage,selectButtonText:n.selectButtonText,noChangePlanMappingMessage:n.noChangePlanMappingMessage,amountLabel:n.amountLabel,nextBillingDateLabel:n.nextBillingDateLabel,subscriptions:t.existingSubscriptions?t.existingSubscriptions.filter((e=>"inactive"!==e.status)):null,onSelect:n=>{r.updateFormState({selectedSubscription:n}),dt(e,"zephr_form_button_press",{sectionId:t.currentSection.type,buttonType:"SUBMIT"}),r.completeSection()}}})};function kc(e){let t,r,n,o,i,a,s,c=e[4]&&Dc(e);return{c(){t=P("div"),r=P("div"),n=A(e[3]),o=S(),c&&c.c(),i=S(),a=P("hr"),_(r,"class","information"),_(t,"class","section"),_(a,"class","svelte-1wg9q7")},m(e,l){y(e,t,l),h(t,r),h(r,n),h(r,o),c&&c.m(r,null),y(e,i,l),y(e,a,l),s=!0},p(e,t){(!s||8&t)&&w(n,e[3]),e[4]?c?(c.p(e,t),16&t&&te(c,1)):(c=Dc(e),c.c(),te(c,1),c.m(r,null)):c&&(X(),re(c,1,1,(()=>{c=null})),ee())},i(e){s||(te(c),s=!0)},o(e){re(c),s=!1},d(e){e&&(g(t),g(i),g(a)),c&&c.d()}}}function Dc(e){let t,r;return t=new _a({props:{text:e[4]}}),t.$on("linkClick",e[7]),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};16&r&&(n.text=e[4]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Bc(e){let t,r,n,o,i,a,s,c,l=e[0].nextBillingTime+"";return{c(){t=P("div"),r=P("h3"),n=A(e[1]),o=S(),i=P("div"),a=A(l),s=S(),c=P("hr"),_(r,"class","svelte-1wg9q7"),_(i,"class","information"),_(t,"class","section"),_(c,"class","svelte-1wg9q7")},m(e,l){y(e,t,l),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a),y(e,s,l),y(e,c,l)},p(e,t){2&t&&w(n,e[1]),1&t&&l!==(l=e[0].nextBillingTime+"")&&w(a,l)},d(e){e&&(g(t),g(s),g(c))}}}function Uc(e){let t,r,n,o,i,a,s,c,l=e[0].amount+"";return{c(){t=P("div"),r=P("h3"),n=A(e[2]),o=S(),i=P("div"),a=A(l),s=S(),c=P("hr"),_(r,"class","svelte-1wg9q7"),_(i,"class","information"),_(t,"class","section"),_(c,"class","svelte-1wg9q7")},m(e,l){y(e,t,l),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a),y(e,s,l),y(e,c,l)},p(e,t){4&t&&w(n,e[2]),1&t&&l!==(l=e[0].amount+"")&&w(a,l)},d(e){e&&(g(t),g(s),g(c))}}}function Gc(e){let t,r,n,o,i,a,s,c,l,u,d,p,m=e[0].productLabel+"",b=e[6]&&kc(e),E="active"===e[0].status&&e[0].nextBillingTime&&Bc(e),C=e[0].amount&&Uc(e);return{c(){t=P("div"),r=P("div"),n=P("div"),o=P("h2"),i=A(m),s=S(),c=P("hr"),l=S(),b&&b.c(),u=S(),E&&E.c(),d=S(),C&&C.c(),_(o,"class",a=f("inactive"===e[0].status?"inactive":"")+" svelte-1wg9q7"),_(n,"class","section"),_(c,"class","svelte-1wg9q7"),_(r,"class","inner-box svelte-1wg9q7"),_(t,"class","subscription-list-item svelte-1wg9q7")},m(e,a){y(e,t,a),h(t,r),h(r,n),h(n,o),h(o,i),h(r,s),h(r,c),h(r,l),b&&b.m(r,null),h(r,u),E&&E.m(r,null),h(r,d),C&&C.m(r,null),p=!0},p(e,[t]){(!p||1&t)&&m!==(m=e[0].productLabel+"")&&w(i,m),(!p||1&t&&a!==(a=f("inactive"===e[0].status?"inactive":"")+" svelte-1wg9q7"))&&_(o,"class",a),e[6]?b?(b.p(e,t),64&t&&te(b,1)):(b=kc(e),b.c(),te(b,1),b.m(r,u)):b&&(X(),re(b,1,1,(()=>{b=null})),ee()),"active"===e[0].status&&e[0].nextBillingTime?E?E.p(e,t):(E=Bc(e),E.c(),E.m(r,d)):E&&(E.d(1),E=null),e[0].amount?C?C.p(e,t):(C=Uc(e),C.c(),C.m(r,null)):C&&(C.d(1),C=null)},i(e){p||(te(b),p=!0)},o(e){re(b),p=!1},d(e){e&&g(t),b&&b.d(),E&&E.d(),C&&C.d()}}}function Vc(e,t,r){let{subscription:n}=t,{nextPaymentDateText:o}=t,{subscriptionRateText:i}=t,{billingHistoryText:a}=t,{billingHistoryLink:s}=t,{onViewHistory:c}=t,{showBillingHistory:l}=t;return e.$$set=e=>{"subscription"in e&&r(0,n=e.subscription),"nextPaymentDateText"in e&&r(1,o=e.nextPaymentDateText),"subscriptionRateText"in e&&r(2,i=e.subscriptionRateText),"billingHistoryText"in e&&r(3,a=e.billingHistoryText),"billingHistoryLink"in e&&r(4,s=e.billingHistoryLink),"onViewHistory"in e&&r(5,c=e.onViewHistory),"showBillingHistory"in e&&r(6,l=e.showBillingHistory)},[n,o,i,a,s,c,l,()=>c(n)]}class qc extends de{constructor(e){super(),ue(this,e,Vc,Gc,a,{subscription:0,nextPaymentDateText:1,subscriptionRateText:2,billingHistoryText:3,billingHistoryLink:4,onViewHistory:5,showBillingHistory:6})}}function jc(t){let r,n,o,i,a,s,c,l,u;return{c(){r=P("a"),n=P("span"),o=A(t[0]),i=S(),a=E("svg"),s=E("path"),_(s,"fill","currentColor"),_(s,"d","M305 239c9.4 9.4 9.4 24.6 0 33.9L113 465c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l175-175L79 81c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L305 239z"),_(a,"aria-hidden","true"),_(a,"focusable","false"),_(a,"data-prefix","far"),_(a,"data-icon","chevron-right"),_(a,"class","svg-inline--fa fa-chevron-right sc-egTsrv kzAurc"),_(a,"role","img"),_(a,"xmlns","http://www.w3.org/2000/svg"),_(a,"viewBox","0 0 320 512"),_(a,"width","16"),_(a,"height","16"),_(r,"class","zephr-form-tablink svelte-ky9lgg"),_(r,"href",c=!t[1]||window.Zephr&&window.Zephr.isCustomPage&&t[1].startsWith(window.Zephr.customPagePath)?"javascript: void(0)":t[1])},m(e,c){y(e,r,c),h(r,n),h(n,o),h(r,i),h(r,a),h(a,s),l||(u=v(r,"click",t[4]),l=!0)},p(e,[t]){1&t&&w(o,e[0]),2&t&&c!==(c=!e[1]||window.Zephr&&window.Zephr.isCustomPage&&e[1].startsWith(window.Zephr.customPagePath)?"javascript: void(0)":e[1])&&_(r,"href",c)},i:e,o:e,d(e){e&&g(r),l=!1,u()}}}function Hc(e,t,r){let{text:n}=t,{path:o=""}=t,{onClick:i=(()=>{})}=t,{logDlEvent:a=(()=>{})}=t;return e.$$set=e=>{"text"in e&&r(0,n=e.text),"path"in e&&r(1,o=e.path),"onClick"in e&&r(2,i=e.onClick),"logDlEvent"in e&&r(3,a=e.logDlEvent)},[n,o,i,a,()=>{a?.(),window.Zephr&&window.Zephr.isCustomPage&&o.startsWith(window.Zephr.customPagePath)?window.history.pushState({},"",o):i()}]}class Kc extends de{constructor(e){super(),ue(this,e,Hc,jc,a,{text:0,path:1,onClick:2,logDlEvent:3})}}function Yc(e,t,r){const n=e.slice();return n[20]=t[r],n[22]=r,n}function Wc(e){let t,r,n=ne(e[13]),o=[];for(let t=0;t<n.length;t+=1)o[t]=cl(Yc(e,n,t));const i=e=>re(o[e],1,1,(()=>{o[e]=null}));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();t=C()},m(e,n){for(let t=0;t<o.length;t+=1)o[t]&&o[t].m(e,n);y(e,t,n),r=!0},p(e,r){if(32767&r){let a;for(n=ne(e[13]),a=0;a<n.length;a+=1){const i=Yc(e,n,a);o[a]?(o[a].p(i,r),te(o[a],1)):(o[a]=cl(i),o[a].c(),te(o[a],1),o[a].m(t.parentNode,t))}for(X(),a=n.length;a<o.length;a+=1)i(a);ee()}},i(e){if(!r){for(let e=0;e<n.length;e+=1)te(o[e]);r=!0}},o(e){o=o.filter(Boolean);for(let e=0;e<o.length;e+=1)re(o[e]);r=!1},d(e){e&&g(t),b(o,e)}}}function Jc(t){let r,n=t[0].amount&&ll(t);return{c(){n&&n.c(),r=C()},m(e,t){n&&n.m(e,t),y(e,r,t)},p(e,t){e[0].amount?n?n.p(e,t):(n=ll(e),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i:e,o:e,d(e){e&&g(r),n&&n.d(e)}}}function Qc(e){let t,r,n=e[0].amount&&Zc(e),o="active"===e[0].status&&e[0].nextBillingTime&&Xc(e);return{c(){n&&n.c(),t=S(),o&&o.c(),r=C()},m(e,i){n&&n.m(e,i),y(e,t,i),o&&o.m(e,i),y(e,r,i)},p(e,i){e[0].amount?n?n.p(e,i):(n=Zc(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),"active"===e[0].status&&e[0].nextBillingTime?o?o.p(e,i):(o=Xc(e),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(e){e&&(g(t),g(r)),n&&n.d(e),o&&o.d(e)}}}function Zc(e){let t,r,n,o,i,a,s=e[0].amount+"";return{c(){t=P("div"),r=P("span"),n=A(e[2]),o=S(),i=P("div"),a=A(s),_(r,"class","svelte-h57nmp"),_(i,"class","zephr-box-item-information svelte-h57nmp"),_(t,"class","zephr-section svelte-h57nmp")},m(e,s){y(e,t,s),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a)},p(e,t){4&t&&w(n,e[2]),1&t&&s!==(s=e[0].amount+"")&&w(a,s)},d(e){e&&g(t)}}}function Xc(e){let t,r,n,o,i,a,s=e[0].nextBillingTime+"";return{c(){t=P("div"),r=P("span"),n=A(e[1]),o=S(),i=P("div"),a=A(s),_(r,"class","svelte-h57nmp"),_(i,"class","zephr-box-item-information svelte-h57nmp"),_(t,"class","zephr-section svelte-h57nmp")},m(e,s){y(e,t,s),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a)},p(e,t){2&t&&w(n,e[1]),1&t&&s!==(s=e[0].nextBillingTime+"")&&w(a,s)},d(e){e&&g(t)}}}function el(e){let t,r,n=e[3]&&tl(e);return{c(){n&&n.c(),t=C()},m(e,o){n&&n.m(e,o),y(e,t,o),r=!0},p(e,r){e[3]?n?(n.p(e,r),8&r&&te(n,1)):(n=tl(e),n.c(),te(n,1),n.m(t.parentNode,t)):n&&(X(),re(n,1,1,(()=>{n=null})),ee())},i(e){r||(te(n),r=!0)},o(e){re(n),r=!1},d(e){e&&g(t),n&&n.d(e)}}}function tl(e){let t,r;return t=new Kc({props:{text:e[3],onClick:e[16]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};8&r&&(n.text=e[3]),17&r&&(n.onClick=e[16]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function rl(e){let t,r,n=e[8]&&nl(e);return{c(){n&&n.c(),t=C()},m(e,o){n&&n.m(e,o),y(e,t,o),r=!0},p(e,r){e[8]?n?(n.p(e,r),256&r&&te(n,1)):(n=nl(e),n.c(),te(n,1),n.m(t.parentNode,t)):n&&(X(),re(n,1,1,(()=>{n=null})),ee())},i(e){r||(te(n),r=!0)},o(e){re(n),r=!1},d(e){e&&g(t),n&&n.d(e)}}}function nl(e){let t,r;return t=new Kc({props:{text:e[8],onClick:e[17]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};256&r&&(n.text=e[8]),33&r&&(n.onClick=e[17]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function ol(e){let t,r,n=e[9]&&il(e);return{c(){n&&n.c(),t=C()},m(e,o){n&&n.m(e,o),y(e,t,o),r=!0},p(e,r){e[9]?n?(n.p(e,r),512&r&&te(n,1)):(n=il(e),n.c(),te(n,1),n.m(t.parentNode,t)):n&&(X(),re(n,1,1,(()=>{n=null})),ee())},i(e){r||(te(n),r=!0)},o(e){re(n),r=!1},d(e){e&&g(t),n&&n.d(e)}}}function il(e){let t,r;return t=new Kc({props:{text:e[9],path:`${e[11]}?subscription=${e[0].externalId}`,logDlEvent:e[18]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};512&r&&(n.text=e[9]),2049&r&&(n.path=`${e[11]}?subscription=${e[0].externalId}`),65&r&&(n.logDlEvent=e[18]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function al(e){let t,r,n=e[10]&&sl(e);return{c(){n&&n.c(),t=C()},m(e,o){n&&n.m(e,o),y(e,t,o),r=!0},p(e,r){e[10]?n?(n.p(e,r),1024&r&&te(n,1)):(n=sl(e),n.c(),te(n,1),n.m(t.parentNode,t)):n&&(X(),re(n,1,1,(()=>{n=null})),ee())},i(e){r||(te(n),r=!0)},o(e){re(n),r=!1},d(e){e&&g(t),n&&n.d(e)}}}function sl(e){let t,r;return t=new Kc({props:{text:e[10],path:`${e[12]}?subscription=${e[0].externalId}`,logDlEvent:e[19]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};1024&r&&(n.text=e[10]),4097&r&&(n.path=`${e[12]}?subscription=${e[0].externalId}`),129&r&&(n.logDlEvent=e[19]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function cl(e){let t,r,n,o,i,a,s="subscription_information"===e[20]&&!e[14].subscriptionInformation&&Qc(e),c="billing_history"===e[20]&&!e[14].billingHistory&&el(e),l="change_payment"===e[20]&&!e[14].changePayment&&rl(e),u="change_subscription"===e[20]&&!e[14].changeSubscription&&ol(e),d="cancel_subscription"===e[20]&&!e[14].cancelSubscription&&al(e);return{c(){s&&s.c(),t=S(),c&&c.c(),r=S(),l&&l.c(),n=S(),u&&u.c(),o=S(),d&&d.c(),i=C()},m(e,p){s&&s.m(e,p),y(e,t,p),c&&c.m(e,p),y(e,r,p),l&&l.m(e,p),y(e,n,p),u&&u.m(e,p),y(e,o,p),d&&d.m(e,p),y(e,i,p),a=!0},p(e,a){"subscription_information"!==e[20]||e[14].subscriptionInformation?s&&(s.d(1),s=null):s?s.p(e,a):(s=Qc(e),s.c(),s.m(t.parentNode,t)),"billing_history"!==e[20]||e[14].billingHistory?c&&(X(),re(c,1,1,(()=>{c=null})),ee()):c?(c.p(e,a),24576&a&&te(c,1)):(c=el(e),c.c(),te(c,1),c.m(r.parentNode,r)),"change_payment"!==e[20]||e[14].changePayment?l&&(X(),re(l,1,1,(()=>{l=null})),ee()):l?(l.p(e,a),24576&a&&te(l,1)):(l=rl(e),l.c(),te(l,1),l.m(n.parentNode,n)),"change_subscription"!==e[20]||e[14].changeSubscription?u&&(X(),re(u,1,1,(()=>{u=null})),ee()):u?(u.p(e,a),24576&a&&te(u,1)):(u=ol(e),u.c(),te(u,1),u.m(o.parentNode,o)),"cancel_subscription"!==e[20]||e[14].cancelSubscription?d&&(X(),re(d,1,1,(()=>{d=null})),ee()):d?(d.p(e,a),24576&a&&te(d,1)):(d=al(e),d.c(),te(d,1),d.m(i.parentNode,i))},i(e){a||(te(c),te(l),te(u),te(d),a=!0)},o(e){re(c),re(l),re(u),re(d),a=!1},d(e){e&&(g(t),g(r),g(n),g(o),g(i)),s&&s.d(e),c&&c.d(e),l&&l.d(e),u&&u.d(e),d&&d.d(e)}}}function ll(e){let t,r,n,o,i,a,s=e[0].amount+"";return{c(){t=P("div"),r=P("span"),n=A(e[2]),o=S(),i=P("div"),a=A(s),_(r,"class","svelte-h57nmp"),_(i,"class","zephr-box-item-information svelte-h57nmp"),_(t,"class","zephr-section svelte-h57nmp")},m(e,s){y(e,t,s),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a)},p(e,t){4&t&&w(n,e[2]),1&t&&s!==(s=e[0].amount+"")&&w(a,s)},d(e){e&&g(t)}}}function ul(e){let t,r,n,o,i,a,s,c,l,u=e[0].productLabel+"";const d=[Jc,Wc],p=[];function m(e,t){return e[15]?0:1}return s=m(e),c=p[s]=d[s](e),{c(){t=P("div"),r=P("div"),n=P("div"),o=P("h2"),i=A(u),a=S(),c.c(),_(o,"class","svelte-h57nmp"),_(n,"class","zephr-section svelte-h57nmp"),_(r,"class","zephr-inner-box svelte-h57nmp"),_(t,"class","zephr-subscription-list-box-item svelte-h57nmp")},m(e,c){y(e,t,c),h(t,r),h(r,n),h(n,o),h(o,i),h(r,a),p[s].m(r,null),l=!0},p(e,[t]){(!l||1&t)&&u!==(u=e[0].productLabel+"")&&w(i,u);let n=s;s=m(e),s===n?p[s].p(e,t):(X(),re(p[n],1,1,(()=>{p[n]=null})),ee(),c=p[s],c?c.p(e,t):(c=p[s]=d[s](e),c.c()),te(c,1),c.m(r,null))},i(e){l||(te(c),l=!0)},o(e){re(c),l=!1},d(e){e&&g(t),p[s].d()}}}function dl(e,t,r){let{subscription:n}=t,{nextPaymentDateText:o}=t,{subscriptionRateText:i}=t,{billingHistoryLink:a}=t,{onViewHistory:s}=t,{onChangePayment:c}=t,{logChangeSubscription:l}=t,{logCancelSubscription:u}=t,{changePaymentMethodText:d}=t,{changeSubscriptionText:p}=t,{cancelSubscriptionText:m}=t,{changeSubscriptionPath:f}=t,{cancelSubscriptionPath:h}=t,{elementsOrder:y}=t,{elementsHide:g}=t,{isInactive:b=!1}=t;return e.$$set=e=>{"subscription"in e&&r(0,n=e.subscription),"nextPaymentDateText"in e&&r(1,o=e.nextPaymentDateText),"subscriptionRateText"in e&&r(2,i=e.subscriptionRateText),"billingHistoryLink"in e&&r(3,a=e.billingHistoryLink),"onViewHistory"in e&&r(4,s=e.onViewHistory),"onChangePayment"in e&&r(5,c=e.onChangePayment),"logChangeSubscription"in e&&r(6,l=e.logChangeSubscription),"logCancelSubscription"in e&&r(7,u=e.logCancelSubscription),"changePaymentMethodText"in e&&r(8,d=e.changePaymentMethodText),"changeSubscriptionText"in e&&r(9,p=e.changeSubscriptionText),"cancelSubscriptionText"in e&&r(10,m=e.cancelSubscriptionText),"changeSubscriptionPath"in e&&r(11,f=e.changeSubscriptionPath),"cancelSubscriptionPath"in e&&r(12,h=e.cancelSubscriptionPath),"elementsOrder"in e&&r(13,y=e.elementsOrder),"elementsHide"in e&&r(14,g=e.elementsHide),"isInactive"in e&&r(15,b=e.isInactive)},[n,o,i,a,s,c,l,u,d,p,m,f,h,y,g,b,()=>s(n),()=>c(n),()=>l(n),()=>u(n)]}class pl extends de{constructor(e){super(),ue(this,e,dl,ul,a,{subscription:0,nextPaymentDateText:1,subscriptionRateText:2,billingHistoryLink:3,onViewHistory:4,onChangePayment:5,logChangeSubscription:6,logCancelSubscription:7,changePaymentMethodText:8,changeSubscriptionText:9,cancelSubscriptionText:10,changeSubscriptionPath:11,cancelSubscriptionPath:12,elementsOrder:13,elementsHide:14,isInactive:15})}}function ml(e,t,r){const n=e.slice();return n[22]=t[r],n}function fl(e,t,r){const n=e.slice();return n[22]=t[r],n}function hl(e){let t,r;return t=new rr({}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function yl(e){let t,r,n,o=!e[10]&&!e[6].length&&gl(e),i=ne(e[6]),a=[];for(let t=0;t<i.length;t+=1)a[t]=Al(fl(e,i,t));const s=e=>re(a[e],1,1,(()=>{a[e]=null}));return{c(){o&&o.c(),t=S();for(let e=0;e<a.length;e+=1)a[e].c();r=C()},m(e,i){o&&o.m(e,i),y(e,t,i);for(let t=0;t<a.length;t+=1)a[t]&&a[t].m(e,i);y(e,r,i),n=!0},p(e,n){if(e[10]||e[6].length?o&&(o.d(1),o=null):o?o.p(e,n):(o=gl(e),o.c(),o.m(t.parentNode,t)),2095996&n){let t;for(i=ne(e[6]),t=0;t<i.length;t+=1){const o=fl(e,i,t);a[t]?(a[t].p(o,n),te(a[t],1)):(a[t]=Al(o),a[t].c(),te(a[t],1),a[t].m(r.parentNode,r))}for(X(),t=i.length;t<a.length;t+=1)s(t);ee()}},i(e){if(!n){for(let e=0;e<i.length;e+=1)te(a[e]);n=!0}},o(e){a=a.filter(Boolean);for(let e=0;e<a.length;e+=1)re(a[e]);n=!1},d(e){e&&(g(t),g(r)),o&&o.d(e),b(a,e)}}}function gl(e){let t;return{c(){t=P("div")},m(r,n){y(r,t,n),t.innerHTML=e[1]},p(e,r){2&r&&(t.innerHTML=e[1])},d(e){e&&g(t)}}}function bl(e){let t,r,n,o;t=new qc({props:{subscription:e[22],nextPaymentDateText:e[4],subscriptionRateText:e[5],billingHistoryText:e[2],billingHistoryLink:e[3],onViewHistory:e[14],showBillingHistory:"zuora-billing"!==e[8]}});let i="zuora-billing"!==e[8]&&"active"===e[22].status&&El(e);return{c(){ae(t.$$.fragment),r=S(),i&&i.c(),n=C()},m(e,a){se(t,e,a),y(e,r,a),i&&i.m(e,a),y(e,n,a),o=!0},p(e,r){const o={};64&r&&(o.subscription=e[22]),16&r&&(o.nextPaymentDateText=e[4]),32&r&&(o.subscriptionRateText=e[5]),4&r&&(o.billingHistoryText=e[2]),8&r&&(o.billingHistoryLink=e[3]),16384&r&&(o.onViewHistory=e[14]),256&r&&(o.showBillingHistory="zuora-billing"!==e[8]),t.$set(o),"zuora-billing"!==e[8]&&"active"===e[22].status?i?(i.p(e,r),320&r&&te(i,1)):(i=El(e),i.c(),te(i,1),i.m(n.parentNode,n)):i&&(X(),re(i,1,1,(()=>{i=null})),ee())},i(e){o||(te(t.$$.fragment,e),te(i),o=!0)},o(e){re(t.$$.fragment,e),re(i),o=!1},d(e){e&&(g(r),g(n)),ce(t,e),i&&i.d(e)}}}function Pl(e){let t,r;return t=new pl({props:{subscription:e[22],nextPaymentDateText:e[4],subscriptionRateText:e[5],billingHistoryLink:e[3],onViewHistory:e[14],onChangePayment:e[11],logChangeSubscription:e[12],logCancelSubscription:e[13],changePaymentMethodText:e[9],changeSubscriptionText:e[15],cancelSubscriptionText:e[16],changeSubscriptionPath:e[17],cancelSubscriptionPath:e[18],elementsOrder:e[19],elementsHide:e[20]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};64&r&&(n.subscription=e[22]),16&r&&(n.nextPaymentDateText=e[4]),32&r&&(n.subscriptionRateText=e[5]),8&r&&(n.billingHistoryLink=e[3]),16384&r&&(n.onViewHistory=e[14]),2048&r&&(n.onChangePayment=e[11]),4096&r&&(n.logChangeSubscription=e[12]),8192&r&&(n.logCancelSubscription=e[13]),512&r&&(n.changePaymentMethodText=e[9]),32768&r&&(n.changeSubscriptionText=e[15]),65536&r&&(n.cancelSubscriptionText=e[16]),131072&r&&(n.changeSubscriptionPath=e[17]),262144&r&&(n.cancelSubscriptionPath=e[18]),524288&r&&(n.elementsOrder=e[19]),1048576&r&&(n.elementsHide=e[20]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function El(e){let t,r;function n(){return e[21](e[22])}return t=new mo({props:{disabled:!1,text:e[9],onClick:n,noMargin:!0}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(r,o){e=r;const i={};512&o&&(i.text=e[9]),2112&o&&(i.onClick=n),t.$set(i)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Al(e){let t,r,n,o;const i=[Pl,bl],a=[];function s(e,t){return e[19]?0:1}return t=s(e),r=a[t]=i[t](e),{c(){r.c(),n=C()},m(e,r){a[t].m(e,r),y(e,n,r),o=!0},p(e,o){let c=t;t=s(e),t===c?a[t].p(e,o):(X(),re(a[c],1,1,(()=>{a[c]=null})),ee(),r=a[t],r?r.p(e,o):(r=a[t]=i[t](e),r.c()),te(r,1),r.m(n.parentNode,n))},i(e){o||(te(r),o=!0)},o(e){re(r),o=!1},d(e){e&&g(n),a[t].d(e)}}}function Sl(e){let t,r,n,o=!e[10]&&!e[7].length&&Cl(e),i=ne(e[7]),a=[];for(let t=0;t<i.length;t+=1)a[t]=vl(ml(e,i,t));const s=e=>re(a[e],1,1,(()=>{a[e]=null}));return{c(){o&&o.c(),t=S();for(let e=0;e<a.length;e+=1)a[e].c();r=C()},m(e,i){o&&o.m(e,i),y(e,t,i);for(let t=0;t<a.length;t+=1)a[t]&&a[t].m(e,i);y(e,r,i),n=!0},p(e,n){if(e[10]||e[7].length?o&&(o.d(1),o=null):o?o.p(e,n):(o=Cl(e),o.c(),o.m(t.parentNode,t)),160&n){let t;for(i=ne(e[7]),t=0;t<i.length;t+=1){const o=ml(e,i,t);a[t]?(a[t].p(o,n),te(a[t],1)):(a[t]=vl(o),a[t].c(),te(a[t],1),a[t].m(r.parentNode,r))}for(X(),t=i.length;t<a.length;t+=1)s(t);ee()}},i(e){if(!n){for(let e=0;e<i.length;e+=1)te(a[e]);n=!0}},o(e){a=a.filter(Boolean);for(let e=0;e<a.length;e+=1)re(a[e]);n=!1},d(e){e&&(g(t),g(r)),o&&o.d(e),b(a,e)}}}function Cl(e){let t;return{c(){t=P("div")},m(r,n){y(r,t,n),t.innerHTML=e[1]},p(e,r){2&r&&(t.innerHTML=e[1])},d(e){e&&g(t)}}}function vl(e){let t,r;return t=new pl({props:{subscription:e[22],isInactive:!0,subscriptionRateText:e[5]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};128&r&&(n.subscription=e[22]),32&r&&(n.subscriptionRateText=e[5]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Tl(e){let t,r,n,o,i=e[10]&&hl(),a=!e[0]&&yl(e),s=e[0]&&Sl(e);return{c(){t=P("div"),i&&i.c(),r=S(),a&&a.c(),n=S(),s&&s.c(),_(t,"class","subscriptions-list-container svelte-2hm0a")},m(e,c){y(e,t,c),i&&i.m(t,null),h(t,r),a&&a.m(t,null),h(t,n),s&&s.m(t,null),o=!0},p(e,[o]){e[10]?i?1024&o&&te(i,1):(i=hl(),i.c(),te(i,1),i.m(t,r)):i&&(X(),re(i,1,1,(()=>{i=null})),ee()),e[0]?a&&(X(),re(a,1,1,(()=>{a=null})),ee()):a?(a.p(e,o),1&o&&te(a,1)):(a=yl(e),a.c(),te(a,1),a.m(t,n)),e[0]?s?(s.p(e,o),1&o&&te(s,1)):(s=Sl(e),s.c(),te(s,1),s.m(t,null)):s&&(X(),re(s,1,1,(()=>{s=null})),ee())},i(e){o||(te(i),te(a),te(s),o=!0)},o(e){re(i),re(a),re(s),o=!1},d(e){e&&g(t),i&&i.d(),a&&a.d(),s&&s.d()}}}function _l(e,t,r){let{isPastSubscriptions:n}=t,{noSubscriptionsMessage:o}=t,{billingHistoryText:i}=t,{billingHistoryLink:a}=t,{nextPaymentDateText:s}=t,{subscriptionRateText:c}=t,{subscriptions:l}=t,{inactiveSubscriptions:u}=t,{paymentProvider:d}=t,{changePaymentMethodText:p}=t,{loading:m}=t,{onChangePayment:f}=t,{logChangeSubscription:h}=t,{logCancelSubscription:y}=t,{onViewHistory:g}=t,{changeSubscriptionText:b}=t,{cancelSubscriptionText:P}=t,{changeSubscriptionPath:E}=t,{cancelSubscriptionPath:A}=t,{elementsOrder:S}=t,{elementsHide:C}=t;return e.$$set=e=>{"isPastSubscriptions"in e&&r(0,n=e.isPastSubscriptions),"noSubscriptionsMessage"in e&&r(1,o=e.noSubscriptionsMessage),"billingHistoryText"in e&&r(2,i=e.billingHistoryText),"billingHistoryLink"in e&&r(3,a=e.billingHistoryLink),"nextPaymentDateText"in e&&r(4,s=e.nextPaymentDateText),"subscriptionRateText"in e&&r(5,c=e.subscriptionRateText),"subscriptions"in e&&r(6,l=e.subscriptions),"inactiveSubscriptions"in e&&r(7,u=e.inactiveSubscriptions),"paymentProvider"in e&&r(8,d=e.paymentProvider),"changePaymentMethodText"in e&&r(9,p=e.changePaymentMethodText),"loading"in e&&r(10,m=e.loading),"onChangePayment"in e&&r(11,f=e.onChangePayment),"logChangeSubscription"in e&&r(12,h=e.logChangeSubscription),"logCancelSubscription"in e&&r(13,y=e.logCancelSubscription),"onViewHistory"in e&&r(14,g=e.onViewHistory),"changeSubscriptionText"in e&&r(15,b=e.changeSubscriptionText),"cancelSubscriptionText"in e&&r(16,P=e.cancelSubscriptionText),"changeSubscriptionPath"in e&&r(17,E=e.changeSubscriptionPath),"cancelSubscriptionPath"in e&&r(18,A=e.cancelSubscriptionPath),"elementsOrder"in e&&r(19,S=e.elementsOrder),"elementsHide"in e&&r(20,C=e.elementsHide)},[n,o,i,a,s,c,l,u,d,p,m,f,h,y,g,b,P,E,A,S,C,e=>f(e)]}class Ol extends de{constructor(e){super(),ue(this,e,_l,Tl,a,{isPastSubscriptions:0,noSubscriptionsMessage:1,billingHistoryText:2,billingHistoryLink:3,nextPaymentDateText:4,subscriptionRateText:5,subscriptions:6,inactiveSubscriptions:7,paymentProvider:8,changePaymentMethodText:9,loading:10,onChangePayment:11,logChangeSubscription:12,logCancelSubscription:13,onViewHistory:14,changeSubscriptionText:15,cancelSubscriptionText:16,changeSubscriptionPath:17,cancelSubscriptionPath:18,elementsOrder:19,elementsHide:20})}}const Il={matches:e=>e.type===Be,create:(e,t,r,n)=>({component:Ol,props:{isPastSubscriptions:n.isPastSubscriptions,subscriptionTitle:n.subscriptionTitle,billingHistoryText:n.billingHistoryText,billingHistoryLink:n.billingHistoryLink,noSubscriptionsMessage:n.noSubscriptionsMessage,nextPaymentDateText:n.nextPaymentDateText,subscriptionRateText:n.subscriptionRateText,loading:!t.existingSubscriptions,subscriptions:t.existingSubscriptions?t.existingSubscriptions.filter((e=>"active"===e.status)):[],inactiveSubscriptions:t.existingSubscriptions?t.existingSubscriptions.filter((e=>"active"!==e.status)):[],paymentProvider:e.organisationConfiguration.paymentProvider,changePaymentMethodText:n.changePaymentMethodText,onChangePayment:n=>{r.updateFormState({selectedSubscription:n}),dt(e,"zephr_form_button_press",{sectionId:t.currentSection.type,buttonType:"SUBMIT"}),r.completeSection()},onViewHistory:t=>{r.updateFormState({selectedSubscription:t}),r.jumpToPartStart("billing-history"),dt(e,"zephr_form_billing_history_view",null)},logChangeSubscription:t=>{dt(e,"zephr_form_subscription_change_clicked",{productId:t.productId,planId:t.externalId})},logCancelSubscription:t=>{dt(e,"zephr_form_cancel_subscription_clicked",{productId:t.productId,planId:t.externalId})},changeSubscriptionText:n.changeSubscriptionText,cancelSubscriptionText:n.cancelSubscriptionText,changeSubscriptionPath:n.changeSubscriptionPath,cancelSubscriptionPath:n.cancelSubscriptionPath,elementsOrder:n.elementsOrder,elementsHide:{subscriptionInformation:n?.hideSubscriptionInformation,changePayment:n?.hideChangePayment,changeSubscription:n?.hideChangeSubscription,cancelSubscription:n?.hideCancelSubscription,billingHistory:n?.hideBillingHistory}}})};function wl(e){let t,r,n;return r=new _a({props:{text:e[2]}}),r.$on("linkClick",(function(){i(e[3])&&e[3].apply(this,arguments)})),{c(){t=P("div"),ae(r.$$.fragment),_(t,"class","past-subscriptions-link-wrapper svelte-1gacumx")},m(e,o){y(e,t,o),se(r,t,null),n=!0},p(t,n){e=t;const o={};4&n&&(o.text=e[2]),r.$set(o)},i(e){n||(te(r.$$.fragment,e),n=!0)},o(e){re(r.$$.fragment,e),n=!1},d(e){e&&g(t),ce(r)}}}function Rl(e){let t,r,n=e[1]&&!e[0]&&wl(e);return{c(){n&&n.c(),t=C()},m(e,o){n&&n.m(e,o),y(e,t,o),r=!0},p(e,[r]){e[1]&&!e[0]?n?(n.p(e,r),3&r&&te(n,1)):(n=wl(e),n.c(),te(n,1),n.m(t.parentNode,t)):n&&(X(),re(n,1,1,(()=>{n=null})),ee())},i(e){r||(te(n),r=!0)},o(e){re(n),r=!1},d(e){e&&g(t),n&&n.d(e)}}}function Ml(e,t,r){let{loading:n}=t,{show:o}=t,{linkText:i}=t,{onClick:a}=t;return e.$$set=e=>{"loading"in e&&r(0,n=e.loading),"show"in e&&r(1,o=e.show),"linkText"in e&&r(2,i=e.linkText),"onClick"in e&&r(3,a=e.onClick)},[n,o,i,a]}class Nl extends de{constructor(e){super(),ue(this,e,Ml,Rl,a,{loading:0,show:1,linkText:2,onClick:3})}}const $l={matches:e=>e.type===Ue,create:(e,t,r,n)=>({component:Nl,props:{loading:!t.existingSubscriptions,show:n.show,linkText:n.linkText,onClick:()=>{r.jumpToPartStart("past-subscriptions")}}})};function Ll(e){let t,r,n;return r=new mo({props:{disabled:!1,text:e[0],onClick:e[2]}}),{c(){t=P("div"),ae(r.$$.fragment),_(t,"class","change-payment-method-button-container")},m(e,o){y(e,t,o),se(r,t,null),n=!0},p(e,[t]){const n={};1&t&&(n.text=e[0]),2&t&&(n.onClick=e[2]),r.$set(n)},i(e){n||(te(r.$$.fragment,e),n=!0)},o(e){re(r.$$.fragment,e),n=!1},d(e){e&&g(t),ce(r)}}}function xl(e,t,r){let{text:n}=t,{onChangePayment:o}=t;return e.$$set=e=>{"text"in e&&r(0,n=e.text),"onChangePayment"in e&&r(1,o=e.onChangePayment)},[n,o,()=>o()]}class Fl extends de{constructor(e){super(),ue(this,e,xl,Ll,a,{text:0,onChangePayment:1})}}const zl={matches:e=>e.type===Ve,create:(e,t,r,n)=>({component:Fl,props:{text:n.text,onChangePayment:()=>{dt(e,"zephr_form_button_press",{sectionId:t.currentSection.type,buttonType:"SUBMIT"}),r.completeSection()}}})};function kl(e){let t,r,n,o;return r=new _a({props:{text:e[0],onClick:e[2]}}),r.$on("linkClick",(function(){i(e[2])&&e[2].apply(this,arguments)})),{c(){t=P("div"),ae(r.$$.fragment),_(t,"class",n=f("event-link-wrapper "+(e[1]?"float-right":""))+" svelte-12vtv9v")},m(e,n){y(e,t,n),se(r,t,null),o=!0},p(i,[a]){e=i;const s={};1&a&&(s.text=e[0]),4&a&&(s.onClick=e[2]),r.$set(s),(!o||2&a&&n!==(n=f("event-link-wrapper "+(e[1]?"float-right":""))+" svelte-12vtv9v"))&&_(t,"class",n)},i(e){o||(te(r.$$.fragment,e),o=!0)},o(e){re(r.$$.fragment,e),o=!1},d(e){e&&g(t),ce(r)}}}function Dl(e,t,r){let{text:n}=t,{floatRight:o}=t,{onClick:i}=t;return e.$$set=e=>{"text"in e&&r(0,n=e.text),"floatRight"in e&&r(1,o=e.floatRight),"onClick"in e&&r(2,i=e.onClick)},[n,o,i]}class Bl extends de{constructor(e){super(),ue(this,e,Dl,kl,a,{text:0,floatRight:1,onClick:2})}}const Ul={matches:e=>e.type===De,create:(e,t,r,n)=>({component:Bl,props:{text:n.text,floatRight:n.floatRight,onClick:()=>{r.onEvent(n.event)}}})};function Gl(e){let t,r;return t=new _a({props:{text:e[2]}}),t.$on("linkClick",(function(){i(e[4])&&e[4].apply(this,arguments)})),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(r,n){e=r;const o={};4&n&&(o.text=e[2]),t.$set(o)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Vl(e){let t,r,n,o,i,a,s;r=new Lo({props:{forInput:e[5],label:e[0]}});let c=e[3]&&Gl(e);return{c(){t=P("div"),ae(r.$$.fragment),n=S(),o=P("div"),i=P("input"),a=S(),c&&c.c(),_(t,"class","bold-label svelte-121zkre"),_(i,"id",e[5]),_(i,"type","email"),_(i,"name","email"),i.value=e[1],i.readOnly=!0,_(i,"class","read-only-input svelte-121zkre"),_(o,"class","zephr-form-relative-container svelte-121zkre")},m(e,l){y(e,t,l),se(r,t,null),y(e,n,l),y(e,o,l),h(o,i),h(o,a),c&&c.m(o,null),s=!0},p(e,[t]){const n={};1&t&&(n.label=e[0]),r.$set(n),(!s||2&t&&i.value!==e[1])&&(i.value=e[1]),e[3]?c?(c.p(e,t),8&t&&te(c,1)):(c=Gl(e),c.c(),te(c,1),c.m(o,null)):c&&(X(),re(c,1,1,(()=>{c=null})),ee())},i(e){s||(te(r.$$.fragment,e),te(c),s=!0)},o(e){re(r.$$.fragment,e),re(c),s=!1},d(e){e&&(g(t),g(n),g(o)),ce(r),c&&c.d()}}}function ql(e,t,r){let{formKey:n}=t,{label:o}=t,{emailAddress:i}=t,{updateLabel:a}=t,{updateEnabled:s}=t,{onUpdate:c}=t;const l=`zephr-form-read-only-email-address-${n}`;return e.$$set=e=>{"formKey"in e&&r(6,n=e.formKey),"label"in e&&r(0,o=e.label),"emailAddress"in e&&r(1,i=e.emailAddress),"updateLabel"in e&&r(2,a=e.updateLabel),"updateEnabled"in e&&r(3,s=e.updateEnabled),"onUpdate"in e&&r(4,c=e.onUpdate)},[o,i,a,s,c,l,n]}class jl extends de{constructor(e){super(),ue(this,e,ql,Vl,a,{formKey:6,label:0,emailAddress:1,updateLabel:2,updateEnabled:3,onUpdate:4})}}const Hl={matches:e=>e.type===qe,create:(e,t,r,n)=>({component:jl,props:{formKey:e.uniqueKey,emailAddress:t.readOnlyEmail??"",label:n.label,updateLabel:n.updateLinkLabel,updateEnabled:n.updateLinkEnabled,onUpdate:()=>r.jumpToPartStart("email-update")}})};function Kl(e){let t,r;return t=new _a({props:{text:e[1]}}),t.$on("linkClick",(function(){i(e[3])&&e[3].apply(this,arguments)})),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(r,n){e=r;const o={};2&n&&(o.text=e[1]),t.$set(o)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function Yl(e){let t,r,n,o,i,a,s;r=new Lo({props:{forInput:e[4],label:e[0]}});let c=e[2]&&Kl(e);return{c(){t=P("div"),ae(r.$$.fragment),n=S(),o=P("div"),i=P("input"),a=S(),c&&c.c(),_(t,"class","bold-label svelte-121zkre"),_(i,"id",e[4]),_(i,"type","password"),i.value="••••••••••••••••",i.readOnly=!0,_(i,"class","read-only-input svelte-121zkre"),_(o,"class","zephr-form-relative-container svelte-121zkre")},m(e,l){y(e,t,l),se(r,t,null),y(e,n,l),y(e,o,l),h(o,i),h(o,a),c&&c.m(o,null),s=!0},p(e,[t]){const n={};1&t&&(n.label=e[0]),r.$set(n),e[2]?c?(c.p(e,t),4&t&&te(c,1)):(c=Kl(e),c.c(),te(c,1),c.m(o,null)):c&&(X(),re(c,1,1,(()=>{c=null})),ee())},i(e){s||(te(r.$$.fragment,e),te(c),s=!0)},o(e){re(r.$$.fragment,e),re(c),s=!1},d(e){e&&(g(t),g(n),g(o)),ce(r),c&&c.d()}}}function Wl(e,t,r){let{formKey:n}=t,{label:o}=t,{updateLabel:i}=t,{updateEnabled:a}=t,{onUpdate:s}=t;const c=`zephr-form-read-only-password-${n}`;return e.$$set=e=>{"formKey"in e&&r(5,n=e.formKey),"label"in e&&r(0,o=e.label),"updateLabel"in e&&r(1,i=e.updateLabel),"updateEnabled"in e&&r(2,a=e.updateEnabled),"onUpdate"in e&&r(3,s=e.onUpdate)},[o,i,a,s,c,n]}class Jl extends de{constructor(e){super(),ue(this,e,Wl,Yl,a,{formKey:5,label:0,updateLabel:1,updateEnabled:2,onUpdate:3})}}const Ql={matches:e=>e.type===je,create:(e,t,r,n)=>({component:Jl,props:{formKey:e.uniqueKey,label:n.label,updateLabel:n.updateLinkLabel,updateEnabled:n.updateLinkEnabled,onUpdate:()=>r.jumpToPartStart("password-update")}})};function Zl(t){let r,n,o,i,a,s;return{c(){r=P("div"),n=P("div"),o=A(t[3]),i=S(),a=P("div"),s=A(t[2]),_(n,"class","zephr-form-ro-attribute-label"),_(a,"class","zephr-form-ro-attribute-value"),_(r,"class","zephr-form-ro-attribute")},m(e,t){y(e,r,t),h(r,n),h(n,o),h(r,i),h(r,a),h(a,s)},p(e,t){8&t&&w(o,e[3]),4&t&&w(s,e[2])},i:e,o:e,d(e){e&&g(r)}}}function Xl(e){let t,r,n;return r=new ra({props:{id:`zephr-form-ro-checkbox-${e[1]}`,name:e[1],label:e[3],required:!1,value:e[2],checked:e[2],disabled:!0}}),{c(){t=P("div"),ae(r.$$.fragment),_(t,"class","zephr-form-ro-attribute")},m(e,o){y(e,t,o),se(r,t,null),n=!0},p(e,t){const n={};2&t&&(n.id=`zephr-form-ro-checkbox-${e[1]}`),2&t&&(n.name=e[1]),8&t&&(n.label=e[3]),4&t&&(n.value=e[2]),4&t&&(n.checked=e[2]),r.$set(n)},i(e){n||(te(r.$$.fragment,e),n=!0)},o(e){re(r.$$.fragment,e),n=!1},d(e){e&&g(t),ce(r)}}}function eu(e){let t,r,n,o;const i=[Xl,Zl],a=[];function s(e,t){return e[0]?0:1}return t=s(e),r=a[t]=i[t](e),{c(){r.c(),n=C()},m(e,r){a[t].m(e,r),y(e,n,r),o=!0},p(e,[o]){let c=t;t=s(e),t===c?a[t].p(e,o):(X(),re(a[c],1,1,(()=>{a[c]=null})),ee(),r=a[t],r?r.p(e,o):(r=a[t]=i[t](e),r.c()),te(r,1),r.m(n.parentNode,n))},i(e){o||(te(r),o=!0)},o(e){re(r),o=!1},d(e){e&&g(n),a[t].d(e)}}}function tu(e,t,r){let{isCheckbox:n}=t,{slug:o}=t,{value:i}=t,{label:a}=t;return e.$$set=e=>{"isCheckbox"in e&&r(0,n=e.isCheckbox),"slug"in e&&r(1,o=e.slug),"value"in e&&r(2,i=e.value),"label"in e&&r(3,a=e.label)},[n,o,i,a]}class ru extends de{constructor(e){super(),ue(this,e,tu,eu,a,{isCheckbox:0,slug:1,value:2,label:3})}}const nu=["radio","select"],ou={matches:e=>e.type===He,create:(e,t,r,n)=>{const o=e.organisationConfiguration.schemaFields.find((e=>e.slug===n.slug));let i=(t.readOnlyAttributeValues??{})[n.slug]??"";i&&nu.includes(o?.["input-type"])&&(i=(o?.["select-options"]??[]).find((e=>e.value===i))?.label??i);const a="checkbox"===o?.["input-type"];return{component:ru,props:{value:i,slug:n.slug,label:n.label,isCheckbox:a}}}};function iu(e){let t,r;return{c(){t=P("span"),r=A(e[2]),_(t,"class","current-device svelte-4jb3ht")},m(e,n){y(e,t,n),h(t,r)},p(e,t){4&t&&w(r,e[2])},d(e){e&&g(t)}}}function au(e){let t,r;return t=new mo({props:{disabled:!1,text:e[4],onClick:e[5]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};16&r&&(n.text=e[4]),3&r&&(n.onClick=e[5]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function su(e){let t,r,n,o,i,a,s,c,l,u,d,p,m,f,b,E,C,v,T,O=e[0].deviceName+"",I=e[0].startDate+"",R=e[0].browser+"",M=e[0].country+"",N=e[0].requestingSession&&iu(e),$=!e[0].requestingSession&&au(e);return{c(){t=P("div"),r=P("div"),n=A(O),o=S(),N&&N.c(),i=S(),a=P("div"),s=A(e[3]),c=A(": "),l=A(I),u=S(),d=P("div"),p=A(R),m=S(),f=P("div"),b=A(M),E=S(),$&&$.c(),C=S(),v=P("hr"),_(r,"class","device-title svelte-4jb3ht"),_(a,"class","login-time svelte-4jb3ht"),_(d,"class","browser svelte-4jb3ht"),_(f,"class","country svelte-4jb3ht"),_(v,"class","svelte-4jb3ht"),_(t,"class","session-container svelte-4jb3ht")},m(e,g){y(e,t,g),h(t,r),h(r,n),h(r,o),N&&N.m(r,null),h(t,i),h(t,a),h(a,s),h(a,c),h(a,l),h(t,u),h(t,d),h(d,p),h(t,m),h(t,f),h(f,b),h(t,E),$&&$.m(t,null),h(t,C),h(t,v),T=!0},p(e,[o]){(!T||1&o)&&O!==(O=e[0].deviceName+"")&&w(n,O),e[0].requestingSession?N?N.p(e,o):(N=iu(e),N.c(),N.m(r,null)):N&&(N.d(1),N=null),(!T||8&o)&&w(s,e[3]),(!T||1&o)&&I!==(I=e[0].startDate+"")&&w(l,I),(!T||1&o)&&R!==(R=e[0].browser+"")&&w(p,R),(!T||1&o)&&M!==(M=e[0].country+"")&&w(b,M),e[0].requestingSession?$&&(X(),re($,1,1,(()=>{$=null})),ee()):$?($.p(e,o),1&o&&te($,1)):($=au(e),$.c(),te($,1),$.m(t,C))},i(e){T||(te($),T=!0)},o(e){re($),T=!1},d(e){e&&g(t),N&&N.d(),$&&$.d()}}}function cu(e,t,r){let{deviceSession:n}=t,{onDeviceSignOut:o}=t,{currentDeviceLabel:i}=t,{loginTimeLabel:a}=t,{signOutLabel:s}=t;return e.$$set=e=>{"deviceSession"in e&&r(0,n=e.deviceSession),"onDeviceSignOut"in e&&r(1,o=e.onDeviceSignOut),"currentDeviceLabel"in e&&r(2,i=e.currentDeviceLabel),"loginTimeLabel"in e&&r(3,a=e.loginTimeLabel),"signOutLabel"in e&&r(4,s=e.signOutLabel)},[n,o,i,a,s,()=>o(n.id)]}class lu extends de{constructor(e){super(),ue(this,e,cu,su,a,{deviceSession:0,onDeviceSignOut:1,currentDeviceLabel:2,loginTimeLabel:3,signOutLabel:4})}}function uu(e,t,r){const n=e.slice();return n[7]=t[r],n}function du(e){let t,r;return t=new er({props:{icon:Ht,spin:!0,size:"lg"}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function pu(e){let t;return{c(){t=P("div")},m(r,n){y(r,t,n),t.innerHTML=e[1]},p(e,r){2&r&&(t.innerHTML=e[1])},d(e){e&&g(t)}}}function mu(e){let t,r;return t=new lu({props:{deviceSession:e[7],currentDeviceLabel:e[3],loginTimeLabel:e[4],signOutLabel:e[5],onDeviceSignOut:e[6]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};1&r&&(n.deviceSession=e[7]),8&r&&(n.currentDeviceLabel=e[3]),16&r&&(n.loginTimeLabel=e[4]),32&r&&(n.signOutLabel=e[5]),64&r&&(n.onDeviceSignOut=e[6]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function fu(e){let t,r,n,o,i,a,s,c,l=null==e[0]&&du(),u=null!=e[0]&&!e[0].length&&pu(e),d=ne(e[0]??[]),p=[];for(let t=0;t<d.length;t+=1)p[t]=mu(uu(e,d,t));const m=e=>re(p[e],1,1,(()=>{p[e]=null}));return{c(){t=P("div"),r=P("div"),n=P("h1"),o=A(e[2]),i=S(),l&&l.c(),a=S(),u&&u.c(),s=S();for(let e=0;e<p.length;e+=1)p[e].c();_(n,"class","current-device"),_(r,"class","your-devices"),_(t,"class","devices-sessions-container")},m(e,d){y(e,t,d),h(t,r),h(r,n),h(n,o),h(t,i),l&&l.m(t,null),h(t,a),u&&u.m(t,null),h(t,s);for(let e=0;e<p.length;e+=1)p[e]&&p[e].m(t,null);c=!0},p(e,[r]){if((!c||4&r)&&w(o,e[2]),null==e[0]?l?1&r&&te(l,1):(l=du(),l.c(),te(l,1),l.m(t,a)):l&&(X(),re(l,1,1,(()=>{l=null})),ee()),null==e[0]||e[0].length?u&&(u.d(1),u=null):u?u.p(e,r):(u=pu(e),u.c(),u.m(t,s)),121&r){let n;for(d=ne(e[0]??[]),n=0;n<d.length;n+=1){const o=uu(e,d,n);p[n]?(p[n].p(o,r),te(p[n],1)):(p[n]=mu(o),p[n].c(),te(p[n],1),p[n].m(t,null))}for(X(),n=d.length;n<p.length;n+=1)m(n);ee()}},i(e){if(!c){te(l);for(let e=0;e<d.length;e+=1)te(p[e]);c=!0}},o(e){re(l),p=p.filter(Boolean);for(let e=0;e<p.length;e+=1)re(p[e]);c=!1},d(e){e&&g(t),l&&l.d(),u&&u.d(),b(p,e)}}}function hu(e,t,r){let{devicesSessions:n}=t,{noDeviceSessionsMessage:o}=t,{yourDevicesLabel:i}=t,{currentDeviceLabel:a}=t,{loginTimeLabel:s}=t,{signOutLabel:c}=t,{onDeviceSignOut:l}=t;return e.$$set=e=>{"devicesSessions"in e&&r(0,n=e.devicesSessions),"noDeviceSessionsMessage"in e&&r(1,o=e.noDeviceSessionsMessage),"yourDevicesLabel"in e&&r(2,i=e.yourDevicesLabel),"currentDeviceLabel"in e&&r(3,a=e.currentDeviceLabel),"loginTimeLabel"in e&&r(4,s=e.loginTimeLabel),"signOutLabel"in e&&r(5,c=e.signOutLabel),"onDeviceSignOut"in e&&r(6,l=e.onDeviceSignOut)},[n,o,i,a,s,c,l]}class yu extends de{constructor(e){super(),ue(this,e,hu,fu,a,{devicesSessions:0,noDeviceSessionsMessage:1,yourDevicesLabel:2,currentDeviceLabel:3,loginTimeLabel:4,signOutLabel:5,onDeviceSignOut:6})}}const gu=async(e,t,r)=>{const n=await bu(e,t,r);return r.updateFormState({availableDeviceSessions:n}),n},bu=(e,t,r)=>fr("zephr/public/sessions/v1/sessions",{method:"GET"},r,null,!0).then((e=>e.ok?e.json():[])).then((t=>t.map((t=>({tenantId:t.tenantId,userId:t.userId,id:t.id,startDate:new Date(t.startDate).toLocaleString(Yn(e),{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}),deviceName:t.deviceName,browser:t.browser,requestingSession:t.requestingSession,city:t.city??null,country:t.country??null,geoState:t.geoState??null,ipAddress:t.ipAddress??null}))))),Pu=async(e,t,r,n)=>{try{return 200===(await fr(`zephr/public/sessions/v1/sessions/${n}`,{method:"DELETE"},r,null,!0)).status}catch(e){return console.error("Error occurred while signing out device:",e),!1}},Eu={matches:e=>e.type===Ye,create:(e,t,r,n)=>({component:yu,props:{yourDevicesLabel:n.yourDevicesLabel,noDeviceSessionsMessage:n.noDeviceSessionsMessage,devicesSessions:t.availableDeviceSessions,currentDeviceLabel:n.currentDeviceLabel,loginTimeLabel:n.loginTimeLabel,signOutLabel:n.signOutLabel,onDeviceSignOut:n=>{dt(e,"zephr_form_button_press",{sectionId:t.currentSection.type,buttonType:"SUBMIT"}),dt(e,"zephr_form_device_logout",{deviceId:n}),(async(e,t,r,n)=>{if(await Pu(e,t,r,n))return console.log("Successfully signed out device."),gu(e,t,r);console.error("Failed to sign out device.")})(e,t,r,n)}}})};function Au(e){let t,r,n,o;return{c(){t=P("div"),r=A(e[2]),_(t,"class","sign-out-all svelte-1gdzu2p")},m(a,s){y(a,t,s),h(t,r),n||(o=v(t,"click",(function(){i(e[0])&&e[0].apply(this,arguments)})),n=!0)},p(t,n){e=t,4&n&&w(r,e[2])},d(e){e&&g(t),n=!1,o()}}}function Su(t){let r,n=!t[1]&&Au(t);return{c(){n&&n.c(),r=C()},m(e,t){n&&n.m(e,t),y(e,r,t)},p(e,[t]){e[1]?n&&(n.d(1),n=null):n?n.p(e,t):(n=Au(e),n.c(),n.m(r.parentNode,r))},i:e,o:e,d(e){e&&g(r),n&&n.d(e)}}}function Cu(e,t,r){let{onSignOutAllDevices:n}=t,{hidden:o}=t,{text:i}=t;return e.$$set=e=>{"onSignOutAllDevices"in e&&r(0,n=e.onSignOutAllDevices),"hidden"in e&&r(1,o=e.hidden),"text"in e&&r(2,i=e.text)},[n,o,i]}class vu extends de{constructor(e){super(),ue(this,e,Cu,Su,a,{onSignOutAllDevices:0,hidden:1,text:2})}}const Tu=async(e,t,r)=>{try{return 200===(await fr("zephr/public/sessions/v1/sessions?except-current",{method:"DELETE"},r,null,!0)).status}catch(e){return console.error("Error occurred while signing out devices:",e),!1}},_u={matches:e=>e.type===We,create:(e,t,r,n)=>({component:vu,props:{hidden:t.availableDeviceSessions?.length<=1,text:n.text,onSignOutAllDevices:()=>{dt(e,"zephr_form_sign_out_all_devices",null),(async(e,t,r)=>{if(await Tu(e,t,r))return console.log("Successfully signed out of all devices."),gu(e,t,r);console.error("Failed to sign out of all devices.")})(e,t,r)}}})};function Ou(e,t,r){const n=e.slice();return n[5]=t[r],n}function Iu(e){let t,r,n,o,i,a=e[5].currency+"",s=e[5].subtotal+"",c=e[5].taxes&&wu(e);return{c(){t=A(a),r=S(),n=A(s),o=S(),c&&c.c(),i=C()},m(e,a){y(e,t,a),y(e,r,a),y(e,n,a),y(e,o,a),c&&c.m(e,a),y(e,i,a)},p(e,r){1&r&&a!==(a=e[5].currency+"")&&w(t,a),1&r&&s!==(s=e[5].subtotal+"")&&w(n,s),e[5].taxes?c?c.p(e,r):(c=wu(e),c.c(),c.m(i.parentNode,i)):c&&(c.d(1),c=null)},d(e){e&&(g(t),g(r),g(n),g(o),g(i)),c&&c.d(e)}}}function wu(e){let t,r,n=` ${e[5].taxes}`;return{c(){t=P("span"),r=A(n),_(t,"class","taxes svelte-15e6uru")},m(e,n){y(e,t,n),h(t,r)},p(e,t){1&t&&n!==(n=` ${e[5].taxes}`)&&w(r,n)},d(e){e&&g(t)}}}function Ru(e){let t,r,n,o=e[5].currency+"",i=e[5].total+"";return{c(){t=A(o),r=S(),n=A(i)},m(e,o){y(e,t,o),y(e,r,o),y(e,n,o)},p(e,r){1&r&&o!==(o=e[5].currency+"")&&w(t,o),1&r&&i!==(i=e[5].total+"")&&w(n,i)},d(e){e&&(g(t),g(r),g(n))}}}function Mu(e){let t,r,n,o,i,a,s,c,l,u,d,p=e[5].date+"",m=e[5].period+"",f=e[5].subtotal&&Iu(e),b=e[5].total&&Ru(e);return{c(){t=P("div"),r=P("div"),n=A(p),o=S(),i=P("div"),a=A(m),s=S(),c=P("div"),f&&f.c(),l=S(),u=P("div"),b&&b.c(),d=S(),_(r,"class","svelte-15e6uru"),_(i,"class","svelte-15e6uru"),_(c,"class","svelte-15e6uru"),_(u,"class","svelte-15e6uru"),_(t,"class","table-row svelte-15e6uru")},m(e,p){y(e,t,p),h(t,r),h(r,n),h(t,o),h(t,i),h(i,a),h(t,s),h(t,c),f&&f.m(c,null),h(t,l),h(t,u),b&&b.m(u,null),h(t,d)},p(e,t){1&t&&p!==(p=e[5].date+"")&&w(n,p),1&t&&m!==(m=e[5].period+"")&&w(a,m),e[5].subtotal?f?f.p(e,t):(f=Iu(e),f.c(),f.m(c,null)):f&&(f.d(1),f=null),e[5].total?b?b.p(e,t):(b=Ru(e),b.c(),b.m(u,null)):b&&(b.d(1),b=null)},d(e){e&&g(t),f&&f.d(),b&&b.d()}}}function Nu(t){let r,n,o,i,a,s,c,l,u,d,p,m,f,E,C,v=ne(t[0]??[]),T=[];for(let e=0;e<v.length;e+=1)T[e]=Mu(Ou(t,v,e));return{c(){r=P("div"),n=P("div"),o=P("div"),i=P("div"),a=A(t[1]),s=S(),c=P("div"),l=A(t[2]),u=S(),d=P("div"),p=A(t[3]),m=S(),f=P("div"),E=A(t[4]),C=S();for(let e=0;e<T.length;e+=1)T[e].c();_(i,"class","svelte-15e6uru"),_(c,"class","svelte-15e6uru"),_(d,"class","svelte-15e6uru"),_(f,"class","svelte-15e6uru"),_(o,"class","table-head svelte-15e6uru"),_(n,"class","table svelte-15e6uru"),_(r,"class","billing-history-container")},m(e,t){y(e,r,t),h(r,n),h(n,o),h(o,i),h(i,a),h(o,s),h(o,c),h(c,l),h(o,u),h(o,d),h(d,p),h(o,m),h(o,f),h(f,E),h(n,C);for(let e=0;e<T.length;e+=1)T[e]&&T[e].m(n,null)},p(e,[t]){if(2&t&&w(a,e[1]),4&t&&w(l,e[2]),8&t&&w(p,e[3]),16&t&&w(E,e[4]),1&t){let r;for(v=ne(e[0]??[]),r=0;r<v.length;r+=1){const o=Ou(e,v,r);T[r]?T[r].p(o,t):(T[r]=Mu(o),T[r].c(),T[r].m(n,null))}for(;r<T.length;r+=1)T[r].d(1);T.length=v.length}},i:e,o:e,d(e){e&&g(r),b(T,e)}}}function $u(e,t,r){let{historyItems:n}=t,{dateLabel:o}=t,{periodLabel:i}=t,{subtotalLabel:a}=t,{totalLabel:s}=t;return e.$$set=e=>{"historyItems"in e&&r(0,n=e.historyItems),"dateLabel"in e&&r(1,o=e.dateLabel),"periodLabel"in e&&r(2,i=e.periodLabel),"subtotalLabel"in e&&r(3,a=e.subtotalLabel),"totalLabel"in e&&r(4,s=e.totalLabel)},[n,o,i,a,s]}class Lu extends de{constructor(e){super(),ue(this,e,$u,Nu,a,{historyItems:0,dateLabel:1,periodLabel:2,subtotalLabel:3,totalLabel:4})}}const xu={matches:e=>e.type===Ge,create:(e,t,r)=>({component:Lu,props:{historyItems:t.selectedSubscription?.transactionHistory,dateLabel:Kn(e,"forms.billing.history.date","Date"),periodLabel:Kn(e,"forms.billing.history.period","Period"),subtotalLabel:Kn(e,"forms.billing.history.subtotal","Subtotal"),totalLabel:Kn(e,"forms.billing.history.total","Total")}})};function Fu(e){let t,r,n,o;return{c(){t=P("button"),r=A(e[1]),_(t,"class","zephr-form-back-button svelte-s116f2"),_(t,"type","submit")},m(a,s){y(a,t,s),h(t,r),n||(o=v(t,"click",T((function(){i(e[3])&&e[3].apply(this,arguments)}))),n=!0)},p(t,n){e=t,2&n&&w(r,e[1])},d(e){e&&g(t),n=!1,o()}}}function zu(t){let r,n,o,a,s,c,l=t[2]&&Fu(t);return{c(){r=P("div"),l&&l.c(),n=S(),o=P("button"),a=A(t[0]),_(o,"class","zephr-form-continue-button svelte-s116f2"),_(o,"type","submit"),_(r,"class","zephr-form-button-group zephr-form-max-width svelte-s116f2")},m(e,u){y(e,r,u),l&&l.m(r,null),h(r,n),h(r,o),h(o,a),s||(c=v(o,"click",T((function(){i(t[4])&&t[4].apply(this,arguments)}))),s=!0)},p(e,[o]){(t=e)[2]?l?l.p(t,o):(l=Fu(t),l.c(),l.m(r,n)):l&&(l.d(1),l=null),1&o&&w(a,t[0])},i:e,o:e,d(e){e&&g(r),l&&l.d(),s=!1,c()}}}function ku(e,t,r){let{continueText:n}=t,{backText:o}=t,{backEnabled:i}=t,{onBack:a}=t,{onClick:s}=t;return e.$$set=e=>{"continueText"in e&&r(0,n=e.continueText),"backText"in e&&r(1,o=e.backText),"backEnabled"in e&&r(2,i=e.backEnabled),"onBack"in e&&r(3,a=e.onBack),"onClick"in e&&r(4,s=e.onClick)},[n,o,i,a,s]}class Du extends de{constructor(e){super(),ue(this,e,ku,zu,a,{continueText:0,backText:1,backEnabled:2,onBack:3,onClick:4})}}const Bu={matches:e=>e.type===Je,create:(e,t,r,n)=>({component:Du,props:{continueText:n.continueText,backText:n.backText,backEnabled:n.backEnabled,onClick:()=>{n.isCancel&&r.updateFormState({confirmCancel:!0}),r.updateFormState({isExternalReferrer:!1}),r.attemptCompleteSection()},onBack:()=>{n.backToURL?window.location.pathname=n.backURL:t.isExternalReferrer?window.history.back():r.onEvent(n.event)}}})};function Uu(t){let r,n;return{c(){r=P("a"),n=A(t[0]),_(r,"class","zephr-form-button zephr-form-button-top-margin svelte-16hrghb"),_(r,"href",t[1])},m(e,t){y(e,r,t),h(r,n)},p(e,[t]){1&t&&w(n,e[0]),2&t&&_(r,"href",e[1])},i:e,o:e,d(e){e&&g(r)}}}function Gu(e,t,r){let{text:n}=t,{href:o}=t;return e.$$set=e=>{"text"in e&&r(0,n=e.text),"href"in e&&r(1,o=e.href)},[n,o]}class Vu extends de{constructor(e){super(),ue(this,e,Gu,Uu,a,{text:0,href:1})}}const qu={matches:e=>e.type===Qe,create:(e,t,r,n)=>({component:Vu,props:{text:n.text,href:n.href}})};function ju(e){let t,r;return{c(){t=P("div"),r=A(e[2]),_(t,"class","error-text svelte-wt5yoy")},m(e,n){y(e,t,n),h(t,r)},p(e,t){4&t&&w(r,e[2])},d(e){e&&g(t)}}}function Hu(t){let r,n,i,a,s,c,l,u,d,p,m=t[0].nameLabel+"",f=t[2]&&ju(t);return{c(){r=P("div"),n=P("div"),i=P("label"),a=A(m),s=S(),c=P("input"),u=S(),f&&f.c(),_(i,"for","recipientName"),_(i,"class","svelte-wt5yoy"),_(c,"id","recipientName"),_(c,"type","text"),c.required=!0,_(c,"placeholder",l=t[0].namePlaceholder),_(c,"class","svelte-wt5yoy"),$(c,"error",!!t[2]),_(n,"class","field svelte-wt5yoy"),_(r,"class","recipient-name-section svelte-wt5yoy")},m(e,o){y(e,r,o),h(r,n),h(n,i),h(i,a),h(n,s),h(n,c),R(c,t[1]),h(n,u),f&&f.m(n,null),d||(p=[v(c,"input",t[6]),v(c,"input",t[3])],d=!0)},p(e,[t]){1&t&&m!==(m=e[0].nameLabel+"")&&w(a,m),1&t&&l!==(l=e[0].namePlaceholder)&&_(c,"placeholder",l),2&t&&c.value!==e[1]&&R(c,e[1]),4&t&&$(c,"error",!!e[2]),e[2]?f?f.p(e,t):(f=ju(e),f.c(),f.m(n,null)):f&&(f.d(1),f=null)},i:e,o:e,d(e){e&&g(r),f&&f.d(),d=!1,o(p)}}}function Ku(e,t,r){let{formState:n}=t,{formActions:o}=t,{config:i}=t;const a=D();let s=n.giftRecipient?.name||"",c="";const l=()=>{const e=!!s.trim();r(2,c=e?"":"Recipient name is required"),a("validity",{isValid:e})};return e.$$set=e=>{"formState"in e&&r(4,n=e.formState),"formActions"in e&&r(5,o=e.formActions),"config"in e&&r(0,i=e.config)},[i,s,c,()=>{const e={...n.giftRecipient||{},name:s};o.updateFormState({giftRecipient:e}),l()},n,o,function(){s=this.value,r(1,s)}]}class Yu extends de{constructor(e){super(),ue(this,e,Ku,Hu,a,{formState:4,formActions:5,config:0})}}const Wu={matches:e=>e.type===Ze,create:(e,t,r,n)=>{const o={nameLabel:Kn(e,"forms.gift.recipient-name",n.nameLabel),namePlaceholder:Kn(e,"forms.gift.name-placeholder",n.namePlaceholder)},i=!!(t.giftRecipient||{}).name.trim();return{component:Yu,props:{config:o,form:e,formState:t,formActions:r},isValid:i}}};function Ju(e){let t,r;return{c(){t=P("div"),r=A(e[2]),_(t,"class","error-text svelte-17rjebp")},m(e,n){y(e,t,n),h(t,r)},p(e,t){4&t&&w(r,e[2])},d(e){e&&g(t)}}}function Qu(t){let r,n,i,a,s,c,l,u,d,p,m=t[0].emailLabel+"",f=t[2]&&Ju(t);return{c(){r=P("div"),n=P("div"),i=P("label"),a=A(m),s=S(),c=P("input"),u=S(),f&&f.c(),_(i,"for","recipientEmail"),_(i,"class","svelte-17rjebp"),_(c,"id","recipientEmail"),_(c,"type","email"),c.required=!0,_(c,"placeholder",l=t[0].emailPlaceholder),_(c,"class","svelte-17rjebp"),$(c,"error",!!t[2]),_(n,"class","field svelte-17rjebp"),_(r,"class","recipient-email-section svelte-17rjebp")},m(e,o){y(e,r,o),h(r,n),h(n,i),h(i,a),h(n,s),h(n,c),R(c,t[1]),h(n,u),f&&f.m(n,null),d||(p=[v(c,"input",t[7]),v(c,"input",t[3])],d=!0)},p(e,[t]){1&t&&m!==(m=e[0].emailLabel+"")&&w(a,m),1&t&&l!==(l=e[0].emailPlaceholder)&&_(c,"placeholder",l),2&t&&c.value!==e[1]&&R(c,e[1]),4&t&&$(c,"error",!!e[2]),e[2]?f?f.p(e,t):(f=Ju(e),f.c(),f.m(n,null)):f&&(f.d(1),f=null)},i:e,o:e,d(e){e&&g(r),f&&f.d(),d=!1,o(p)}}}function Zu(e,t,r){let{formState:n}=t,{formActions:o}=t,{config:i}=t,{form:a}=t;const s=D();let c=n.giftRecipient?.email||"",l="";const u=()=>{const e=mi(c);r(2,l=c&&!e?Kn(a,"forms.errors.email-invalid","Please enter a valid email address"):c?"":"Recipient email is required"),s("validity",{isValid:e})};return e.$$set=e=>{"formState"in e&&r(4,n=e.formState),"formActions"in e&&r(5,o=e.formActions),"config"in e&&r(0,i=e.config),"form"in e&&r(6,a=e.form)},[i,c,l,()=>{const e={...n.giftRecipient||{},email:c};o.updateFormState({giftRecipient:e}),u()},n,o,a,function(){c=this.value,r(1,c)}]}class Xu extends de{constructor(e){super(),ue(this,e,Zu,Qu,a,{formState:4,formActions:5,config:0,form:6})}}const ed={matches:e=>e.type===Xe,create:(e,t,r,n)=>{const o={emailLabel:Kn(e,"forms.gift.recipient-email",n.emailLabel),emailPlaceholder:Kn(e,"forms.gift.email-placeholder",n.emailPlaceholder)},i=t.giftRecipient||{},a=mi(i.email);return{component:Xu,props:{config:o,form:e,formState:t,formActions:r},isValid:a}}};function td(e){let t,r,n,i,a,s,c,l,u,d,p,m,f,b,E,C,T,O,I,M,N,$,L,x,F,z,k,D,B,U,G,V,q,j,H,K,Y,W,J,Q,Z,X,ee,te,re,ne,oe,ie,ae,se=e[0].label+"",ce=e[0].addressLine1Label+"",le=e[0].addressLine2Label+"",ue=e[0].cityLabel+"",de=e[0].stateLabel+"",pe=e[0].countryLabel+"",me=e[0].postalCodeLabel+"",fe=e[1]&&rd(e);return{c(){t=P("div"),r=P("label"),n=A(se),i=S(),a=P("div"),s=P("div"),c=P("label"),l=A(ce),u=S(),d=P("input"),m=S(),f=P("div"),b=P("label"),E=A(le),C=S(),T=P("input"),I=S(),M=P("div"),N=P("label"),$=A(ue),L=S(),x=P("input"),z=S(),k=P("div"),D=P("label"),B=A(de),U=S(),G=P("input"),q=S(),j=P("div"),H=P("label"),K=A(pe),Y=S(),W=P("input"),Q=S(),Z=P("div"),X=P("label"),ee=A(me),te=S(),re=P("input"),oe=S(),fe&&fe.c(),_(r,"class","address-main-label svelte-hqngij"),_(c,"for","addressLine1"),_(c,"class","svelte-hqngij"),_(d,"id","addressLine1"),_(d,"type","text"),d.required=e[3],_(d,"placeholder",p=e[0].addressLine1Placeholder),_(d,"class","svelte-hqngij"),_(s,"class","field full-width svelte-hqngij"),_(b,"for","addressLine2"),_(b,"class","svelte-hqngij"),_(T,"id","addressLine2"),_(T,"type","text"),_(T,"placeholder",O=e[0].addressLine2Placeholder),_(T,"class","svelte-hqngij"),_(f,"class","field full-width svelte-hqngij"),_(N,"for","city"),_(N,"class","svelte-hqngij"),_(x,"id","city"),_(x,"type","text"),x.required=e[3],_(x,"placeholder",F=e[0].cityPlaceholder),_(x,"class","svelte-hqngij"),_(M,"class","field svelte-hqngij"),_(D,"for","state"),_(D,"class","svelte-hqngij"),_(G,"id","state"),_(G,"type","text"),_(G,"placeholder",V=e[0].statePlaceholder),_(G,"class","svelte-hqngij"),_(k,"class","field svelte-hqngij"),_(H,"for","country"),_(H,"class","svelte-hqngij"),_(W,"id","country"),_(W,"type","text"),W.required=e[3],_(W,"placeholder",J=e[0].countryPlaceholder),_(W,"class","svelte-hqngij"),_(j,"class","field svelte-hqngij"),_(X,"for","postalCode"),_(X,"class","svelte-hqngij"),_(re,"id","postalCode"),_(re,"type","text"),re.required=e[3],_(re,"placeholder",ne=e[0].postalCodePlaceholder),_(re,"class","svelte-hqngij"),_(Z,"class","field svelte-hqngij"),_(a,"class","address-fields svelte-hqngij"),_(t,"class","recipient-address-section svelte-hqngij")},m(o,p){y(o,t,p),h(t,r),h(r,n),h(t,i),h(t,a),h(a,s),h(s,c),h(c,l),h(s,u),h(s,d),R(d,e[2].addressLine1),h(a,m),h(a,f),h(f,b),h(b,E),h(f,C),h(f,T),R(T,e[2].addressLine2),h(a,I),h(a,M),h(M,N),h(N,$),h(M,L),h(M,x),R(x,e[2].city),h(a,z),h(a,k),h(k,D),h(D,B),h(k,U),h(k,G),R(G,e[2].state),h(a,q),h(a,j),h(j,H),h(H,K),h(j,Y),h(j,W),R(W,e[2].country),h(a,Q),h(a,Z),h(Z,X),h(X,ee),h(Z,te),h(Z,re),R(re,e[2].postalCode),h(t,oe),fe&&fe.m(t,null),ie||(ae=[v(d,"input",e[8]),v(d,"input",e[4]),v(T,"input",e[9]),v(T,"input",e[4]),v(x,"input",e[10]),v(x,"input",e[4]),v(G,"input",e[11]),v(G,"input",e[4]),v(W,"input",e[12]),v(W,"input",e[4]),v(re,"input",e[13]),v(re,"input",e[4])],ie=!0)},p(e,r){1&r&&se!==(se=e[0].label+"")&&w(n,se),1&r&&ce!==(ce=e[0].addressLine1Label+"")&&w(l,ce),8&r&&(d.required=e[3]),1&r&&p!==(p=e[0].addressLine1Placeholder)&&_(d,"placeholder",p),4&r&&d.value!==e[2].addressLine1&&R(d,e[2].addressLine1),1&r&&le!==(le=e[0].addressLine2Label+"")&&w(E,le),1&r&&O!==(O=e[0].addressLine2Placeholder)&&_(T,"placeholder",O),4&r&&T.value!==e[2].addressLine2&&R(T,e[2].addressLine2),1&r&&ue!==(ue=e[0].cityLabel+"")&&w($,ue),8&r&&(x.required=e[3]),1&r&&F!==(F=e[0].cityPlaceholder)&&_(x,"placeholder",F),4&r&&x.value!==e[2].city&&R(x,e[2].city),1&r&&de!==(de=e[0].stateLabel+"")&&w(B,de),1&r&&V!==(V=e[0].statePlaceholder)&&_(G,"placeholder",V),4&r&&G.value!==e[2].state&&R(G,e[2].state),1&r&&pe!==(pe=e[0].countryLabel+"")&&w(K,pe),8&r&&(W.required=e[3]),1&r&&J!==(J=e[0].countryPlaceholder)&&_(W,"placeholder",J),4&r&&W.value!==e[2].country&&R(W,e[2].country),1&r&&me!==(me=e[0].postalCodeLabel+"")&&w(ee,me),8&r&&(re.required=e[3]),1&r&&ne!==(ne=e[0].postalCodePlaceholder)&&_(re,"placeholder",ne),4&r&&re.value!==e[2].postalCode&&R(re,e[2].postalCode),e[1]?fe?fe.p(e,r):(fe=rd(e),fe.c(),fe.m(t,null)):fe&&(fe.d(1),fe=null)},d(e){e&&g(t),fe&&fe.d(),ie=!1,o(ae)}}}function rd(e){let t,r;return{c(){t=P("div"),r=A(e[1]),_(t,"class","error-text svelte-hqngij")},m(e,n){y(e,t,n),h(t,r)},p(e,t){2&t&&w(r,e[1])},d(e){e&&g(t)}}}function nd(t){let r,n=t[3]&&td(t);return{c(){n&&n.c(),r=C()},m(e,t){n&&n.m(e,t),y(e,r,t)},p(e,[t]){e[3]?n?n.p(e,t):(n=td(e),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i:e,o:e,d(e){e&&g(r),n&&n.d(e)}}}function od(e,t,r){let{formState:n}=t,{formActions:o}=t,{config:i}=t,{form:a}=t;const s=D();let c="",l={addressLine1:n.giftRecipient?.recipientAddress?.addressLine1||"",addressLine2:n.giftRecipient?.recipientAddress?.addressLine2||"",city:n.giftRecipient?.recipientAddress?.city||"",state:n.giftRecipient?.recipientAddress?.state||"",country:n.giftRecipient?.recipientAddress?.country||"",postalCode:n.giftRecipient?.recipientAddress?.postalCode||""},u=!1;a?.typeConfiguration?.requires_address&&(u=!0);const d=()=>{if(!u)return s("validity",{isValid:!0}),void r(1,c="");const e=!!(l.addressLine1.trim()&&l.city.trim()&&l.country.trim()&&l.postalCode.trim());r(1,c=e?"":i.addressRequiredError),s("validity",{isValid:e})};return e.$$set=e=>{"formState"in e&&r(5,n=e.formState),"formActions"in e&&r(6,o=e.formActions),"config"in e&&r(0,i=e.config),"form"in e&&r(7,a=e.form)},[i,c,l,u,()=>{const e={...n.giftRecipient||{},recipientAddress:l};o.updateFormState({giftRecipient:e}),d()},n,o,a,function(){l.addressLine1=this.value,r(2,l)},function(){l.addressLine2=this.value,r(2,l)},function(){l.city=this.value,r(2,l)},function(){l.state=this.value,r(2,l)},function(){l.country=this.value,r(2,l)},function(){l.postalCode=this.value,r(2,l)}]}class id extends de{constructor(e){super(),ue(this,e,od,nd,a,{formState:5,formActions:6,config:0,form:7})}}const ad={matches:e=>e.type===et,create:(e,t,r,n)=>{const o=Nt(e).requires_address;if(!1===o)return{component:null,props:{},isValid:!0};const i={label:Kn(e,"forms.gift.recipient-address",n.label),addressLine1Label:Kn(e,"forms.gift.address-line1",n.addressLine1Label),addressLine2Label:Kn(e,"forms.gift.address-line2",n.addressLine2Label),cityLabel:Kn(e,"forms.gift.city",n.cityLabel),stateLabel:Kn(e,"forms.gift.state",n.stateLabel),countryLabel:Kn(e,"forms.gift.country",n.countryLabel),postalCodeLabel:Kn(e,"forms.gift.postal-code",n.postalCodeLabel),addressRequiredError:Kn(e,"forms.gift.address-required",n.addressRequiredError),addressLine1Placeholder:Kn(e,"forms.gift.address-line1-placeholder",n.addressLine1Placeholder),addressLine2Placeholder:Kn(e,"forms.gift.address-line2-placeholder",n.addressLine2Placeholder),cityPlaceholder:Kn(e,"forms.gift.city-placeholder",n.cityPlaceholder),statePlaceholder:Kn(e,"forms.gift.state-placeholder",n.statePlaceholder),countryPlaceholder:Kn(e,"forms.gift.country-placeholder",n.countryPlaceholder),postalCodePlaceholder:Kn(e,"forms.gift.postal-code-placeholder",n.postalCodePlaceholder)},a=(t.giftRecipient||{}).recipientAddress||{},s=!o||!!a.addressLine1.trim()&&!!a.city.trim()&&!!a.country.trim()&&!!a.postalCode.trim();return{component:id,props:{config:i,form:e,formState:t,formActions:r},isValid:s}}};function sd(t){let r,n,i,a,s,c,l,u,d,p=t[0].messageLabel+"";return{c(){r=P("div"),n=P("div"),i=P("label"),a=A(p),s=S(),c=P("textarea"),_(i,"for","customMessage"),_(i,"class","svelte-90amkz"),_(c,"id","customMessage"),_(c,"placeholder",l=t[0].messagePlaceholder),_(c,"class","svelte-90amkz"),_(n,"class","field svelte-90amkz"),_(r,"class","recipient-message-section svelte-90amkz")},m(e,o){y(e,r,o),h(r,n),h(n,i),h(i,a),h(n,s),h(n,c),R(c,t[1]),u||(d=[v(c,"input",t[5]),v(c,"input",t[2])],u=!0)},p(e,[t]){1&t&&p!==(p=e[0].messageLabel+"")&&w(a,p),1&t&&l!==(l=e[0].messagePlaceholder)&&_(c,"placeholder",l),2&t&&R(c,e[1])},i:e,o:e,d(e){e&&g(r),u=!1,o(d)}}}function cd(e,t,r){let{formState:n}=t,{formActions:o}=t,{config:i}=t;const a=D();let s=n.giftRecipient?.customMessage||"";return k((()=>{a("validity",{isValid:!0})})),e.$$set=e=>{"formState"in e&&r(3,n=e.formState),"formActions"in e&&r(4,o=e.formActions),"config"in e&&r(0,i=e.config)},[i,s,()=>{const e={...n.giftRecipient||{},customMessage:s};o.updateFormState({giftRecipient:e})},n,o,function(){s=this.value,r(1,s)}]}class ld extends de{constructor(e){super(),ue(this,e,cd,sd,a,{formState:3,formActions:4,config:0})}}const ud={matches:e=>e.type===tt,create:(e,t,r,n)=>{const o={messageLabel:Kn(e,"forms.gift.custom-message",n.messageLabel),messagePlaceholder:Kn(e,"forms.gift.message-placeholder",n.messagePlaceholder)};return{component:ld,props:{config:o,form:e,formState:t,formActions:r},isValid:!0}}};function dd(e){let t,r,n,o=e[3]&&pd();return{c(){t=P("label"),r=A(e[1]),n=S(),o&&o.c(),_(t,"for","zephr-form-gift-code"),_(t,"class","svelte-1wfl3xs")},m(e,i){y(e,t,i),h(t,r),h(t,n),o&&o.m(t,null)},p(e,n){2&n&&w(r,e[1]),e[3]?o||(o=pd(),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(e){e&&g(t),o&&o.d()}}}function pd(e){let t;return{c(){t=P("span"),t.textContent="*",_(t,"class","required svelte-1wfl3xs")},m(e,r){y(e,t,r)},d(e){e&&g(t)}}}function md(e){let t,r;return{c(){t=P("div"),r=A(e[7]),_(t,"class","error-message svelte-1wfl3xs")},m(e,n){y(e,t,n),h(t,r)},p(e,t){128&t&&w(r,e[7])},d(e){e&&g(t)}}}function fd(t){let r,n,a,s,c,l,u=t[1]&&dd(t),d=t[7]&&md(t);return{c(){r=P("div"),u&&u.c(),n=S(),a=P("input"),s=S(),d&&d.c(),_(a,"id","zephr-form-gift-code"),_(a,"type","text"),_(a,"placeholder",t[2]),a.disabled=t[4],a.required=t[3],a.value=t[0],_(a,"maxlength","16"),_(a,"class","svelte-1wfl3xs"),$(a,"error",!!t[7]),_(r,"class","zephr-form-input-wrapper svelte-1wfl3xs")},m(e,o){y(e,r,o),u&&u.m(r,null),h(r,n),h(r,a),h(r,s),d&&d.m(r,null),c||(l=[v(a,"input",t[8]),v(a,"focus",(function(){i(t[5])&&t[5].apply(this,arguments)})),v(a,"blur",(function(){i(t[6])&&t[6].apply(this,arguments)}))],c=!0)},p(e,[o]){(t=e)[1]?u?u.p(t,o):(u=dd(t),u.c(),u.m(r,n)):u&&(u.d(1),u=null),4&o&&_(a,"placeholder",t[2]),16&o&&(a.disabled=t[4]),8&o&&(a.required=t[3]),1&o&&a.value!==t[0]&&(a.value=t[0]),128&o&&$(a,"error",!!t[7]),t[7]?d?d.p(t,o):(d=md(t),d.c(),d.m(r,null)):d&&(d.d(1),d=null)},i:e,o:e,d(e){e&&g(r),u&&u.d(),d&&d.d(),c=!1,o(l)}}}function hd(e,t,r){let n,{value:o=""}=t,{label:i=""}=t,{placeholder:a=""}=t,{required:s=!1}=t,{disabled:c=!1}=t,{hasError:l=!1}=t,{error:u=!1}=t,{onChange:d=(e=>{})}=t,{onFocus:p=(()=>{})}=t,{onBlur:m=(()=>{})}=t;return e.$$set=e=>{"value"in e&&r(0,o=e.value),"label"in e&&r(1,i=e.label),"placeholder"in e&&r(2,a=e.placeholder),"required"in e&&r(3,s=e.required),"disabled"in e&&r(4,c=e.disabled),"hasError"in e&&r(9,l=e.hasError),"error"in e&&r(10,u=e.error),"onChange"in e&&r(11,d=e.onChange),"onFocus"in e&&r(5,p=e.onFocus),"onBlur"in e&&r(6,m=e.onBlur)},e.$$.update=()=>{1536&e.$$.dirty&&r(7,n=l||u)},[o,i,a,s,c,p,m,n,e=>{const t=e.target.value;d(t)},l,u,d]}class yd extends de{constructor(e){super(),ue(this,e,hd,fd,a,{value:0,label:1,placeholder:2,required:3,disabled:4,hasError:9,error:10,onChange:11,onFocus:5,onBlur:6})}}const gd={matches:e=>e.type===rt,create:(e,t,r,n)=>{const{disabled:o,label:i,placeholder:a,required:s}=n,c=ct(rt,t),l=t.giftCode||"",u=!(s&&!l||16!==l.length),d=c?Hn(e,c):t.giftCodeError;return{component:yd,props:{hasError:d,label:i,placeholder:a,required:s,disabled:o,onChange:n=>{r.updateFormState({giftCode:n,giftCodeError:void 0}),dt(e,"zephr_form_input_change",{field:"gift-code",inputName:`zephr-form-gift-code-${e.uniqueKey}`,sectionId:t.currentSection.type})},onFocus:()=>dt(e,"zephr_form_input_focus",{field:"gift-code",inputName:`zephr-form-gift-code-${e.uniqueKey}`,sectionId:t.currentSection.type}),onBlur:()=>dt(e,"zephr_form_input_blur",{field:"gift-code",inputName:`zephr-form-gift-code-${e.uniqueKey}`,sectionId:t.currentSection.type}),value:t.giftCode||""},isValid:u}}},bd=[Mt,To,si,ci,li,gi,Ai,Ci,Oi,Wi,Xi,Ca,$a,Ba,os,$s,Vs,Ks,Ys,Ws,tc,sc,lc,Sc,zc,Il,$l,zl,Ul,Hl,Ql,ou,Eu,_u,xu,Bu,qu,Wu,ed,ad,ud,gd];function Pd(e){let r,n,o,i;const a=[e[4](e[2].props,e[0],e[1])];var s=e[2].component;function c(e,r){let n={};for(let e=0;e<a.length;e+=1)n=t(n,a[e]);return void 0!==r&&23&r&&(n=t(n,oe(a,[ie(e[4](e[2].props,e[0],e[1]))]))),{props:n}}s&&(r=L(s,c(e)));let l=!1===e[2].isValid&&e[0].showFieldErrors&&Ed(e);return{c(){r&&ae(r.$$.fragment),n=S(),l&&l.c(),o=C()},m(e,t){r&&se(r,e,t),y(e,n,t),l&&l.m(e,t),y(e,o,t),i=!0},p(e,t){if(4&t&&s!==(s=e[2].component)){if(r){X();const e=r;re(e.$$.fragment,1,0,(()=>{ce(e,1)})),ee()}s?(r=L(s,c(e,t)),ae(r.$$.fragment),te(r.$$.fragment,1),se(r,n.parentNode,n)):r=null}else if(s){const n=23&t?oe(a,[ie(e[4](e[2].props,e[0],e[1]))]):{};r.$set(n)}!1===e[2].isValid&&e[0].showFieldErrors?l?(l.p(e,t),5&t&&te(l,1)):(l=Ed(e),l.c(),te(l,1),l.m(o.parentNode,o)):l&&(X(),re(l,1,1,(()=>{l=null})),ee())},i(e){i||(r&&te(r.$$.fragment,e),te(l),i=!0)},o(e){r&&re(r.$$.fragment,e),re(l),i=!1},d(e){e&&(g(n),g(o)),r&&ce(r,e),l&&l.d(e)}}}function Ed(t){let r,n;return r=new zt({props:{error:"Field is invalid",isPaymentForm:t[3]}}),{c(){ae(r.$$.fragment)},m(e,t){se(r,e,t),n=!0},p:e,i(e){n||(te(r.$$.fragment,e),n=!0)},o(e){re(r.$$.fragment,e),n=!1},d(e){ce(r,e)}}}function Ad(e){let t,r,n=e[2]&&Pd(e);return{c(){n&&n.c(),t=C()},m(e,o){n&&n.m(e,o),y(e,t,o),r=!0},p(e,[r]){e[2]?n?(n.p(e,r),4&r&&te(n,1)):(n=Pd(e),n.c(),te(n,1),n.m(t.parentNode,t)):n&&(X(),re(n,1,1,(()=>{n=null})),ee())},i(e){r||(te(n),r=!0)},o(e){re(n),r=!1},d(e){e&&g(t),n&&n.d(e)}}}function Sd(e,t,r){let n,{form:o}=t,{formActions:i}=t,a="PAYMENT"===o.formType,{formState:s}=t,{sectionElement:c}=t;return e.$$set=e=>{"form"in e&&r(5,o=e.form),"formActions"in e&&r(6,i=e.formActions),"formState"in e&&r(0,s=e.formState),"sectionElement"in e&&r(1,c=e.sectionElement)},e.$$.update=()=>{3&e.$$.dirty&&r(2,n=((e,t)=>{if(!1===t.config?.enabled||!0===t.hidden)return null;const r=bd.find((r=>r.matches(t,o,e.currentPart,e.currentSection)));if(!r)throw`Unknown element ${JSON.stringify(t)}`;const n=r.create(o,e,i,t.config);return((e,t,r,n)=>{if(void 0!==e?.isValid){const o={partType:t.currentPart.type,sectionType:t.currentSection.type,sectionOrder:t.currentSection.order,elementType:r.type,elementOrder:r.order,isValid:e.isValid,elementId:r.config?.slug},i=t.elementValidity.find((e=>e.partType===o.partType&&e.sectionType===o.sectionType&&e.sectionOrder===o.sectionOrder&&e.elementType===o.elementType&&e.elementOrder===o.elementOrder));i?.isValid!==o.isValid&&n.updateFormState({elementValidity:[...t.elementValidity.filter((e=>e!=i)),o]})}})(n,e,t,i),n})(s,c))},[s,c,n,a,(e,t,r)=>{const i=ct(r.type,t),a=st[i];if(a){const e={error:at[i],errorMessage:Hn(o,i),success:!1,formSlug:o.id},t=JSON.stringify(e);window?.webkit?.messageHandlers?.messageHandler?.postMessage(t),window?.AndroidFormEventListener?.processFormEvent(t)}return a?{...n.props,error:n.props.error??(a.useDymamicMessage?t.dynamicServerErrorMessage:Hn(o,i))}:e},o,i]}class Cd extends de{constructor(e){super(),ue(this,e,Sd,Ad,a,{form:5,formActions:6,formState:0,sectionElement:1})}}const vd=e=>e.parts.flatMap((e=>e.sections)).flatMap((e=>e.elements)).filter((e=>e.type===Oe)).map((e=>e.config)).reduce(((t,r)=>{const n=e.organisationConfiguration.schemaFields.find((e=>e.slug===r.slug));return n?{...t,[r.slug]:(r.defaultValue||n["select-options"]?.find((e=>e.default))?.value)??void 0}:{...t}}),{}),Td=()=>{window.Blaize||(window.Blaize={formPreProcessors:{},formPostProcessors:{},registerFormPreProcessor:function(e,t){window.Blaize.formPreProcessors[e]||(window.Blaize.formPreProcessors[e]=[]),"function"==typeof t&&window.Blaize.formPreProcessors[e].push(t)},registerFormPostProcessor:function(e,t){window.Blaize.formPostProcessors[e]||(window.Blaize.formPostProcessors[e]=[]),"function"==typeof t&&window.Blaize.formPostProcessors[e].push(t)},preProcessFormData:function(e,t){if(window.Blaize.formPreProcessors[e]||window.Blaize.formPreProcessors["*"]){const r=[];window.Blaize.formPreProcessors["*"]&&window.Blaize.formPreProcessors["*"].forEach((function(e){r.push(e)})),window.Blaize.formPreProcessors[e]&&window.Blaize.formPreProcessors[e].forEach((function(e){r.push(e)})),r.forEach((function(e){const r=e(t);null!=r&&(t=r)}))}return t},postProcessFormData:function(e,t,r){if(window.Blaize.formPostProcessors[e]||window.Blaize.formPostProcessors["*"]){const n=[];window.Blaize.formPostProcessors["*"]&&window.Blaize.formPostProcessors["*"].forEach((function(e){n.push(e)})),window.Blaize.formPostProcessors[e]&&window.Blaize.formPostProcessors[e].forEach((function(e){n.push(e)})),n.forEach((function(e){e(t,r)}))}}})};function _d(e){let t,r;const n=e[3].default,o=l(n,e,e[2],null);return{c(){t=P("div"),o&&o.c()},m(n,i){y(n,t,i),o&&o.m(t,null),e[4](t),r=!0},p(e,[t]){o&&o.p&&(!r||4&t)&&p(o,n,e,e[2],r?d(n,e[2],t,null):m(e[2]),null)},i(e){r||(te(o,e),r=!0)},o(e){re(o,e),r=!1},d(r){r&&g(t),o&&o.d(r),e[4](null)}}}function Od(e,t,r){let n,o,{$$slots:i={},$$scope:a}=t,{form:s}=t,c=!1;const l=D();return k((()=>("undefined"!=typeof IntersectionObserver&&(o=new IntersectionObserver((e=>{const t=e[0];c=t?.isIntersecting,l("observe",t),c&&s&&(dt(s,"zephr_form_view",null),o.unobserve(n))}),{threshold:.75}),n&&o.observe(n)),()=>{o&&o.disconnect()}))),e.$$set=e=>{"form"in e&&r(1,s=e.form),"$$scope"in e&&r(2,a=e.$$scope)},[n,s,a,i,function(e){U[e?"unshift":"push"]((()=>{n=e,r(0,n)}))}]}class Id extends de{constructor(e){super(),ue(this,e,Od,_d,a,{form:1})}}const wd=async e=>{if(!document.cookie?.includes("blaize_session"))return e.updateFormState({userSession:!1}),!1;let t;try{t=await fr("blaize/account",{method:"GET"},e)}catch(e){console.error(e)}if(t?.ok){const r=await t.json();e.updateFormState({userExists:!0,emailIsContact:!1,emailAddress:r.identifiers?.email_address,userSession:!0,loginRegistrationComplete:!0})}else e.updateFormState({userSession:!1});return t?.ok};function Rd(e,t,r){const n=e.slice();return n[21]=t[r],n}function Md(e){let t,r,n,o;t=new Id({props:{form:e[5],$$slots:{default:[xd]},$$scope:{ctx:e}}});let i=e[3]&&Fd(e);return{c(){ae(t.$$.fragment),r=S(),i&&i.c(),n=C()},m(e,a){se(t,e,a),y(e,r,a),i&&i.m(e,a),y(e,n,a),o=!0},p(e,r){const o={};16777221&r&&(o.$$scope={dirty:r,ctx:e}),t.$set(o),e[3]?i?(i.p(e,r),8&r&&te(i,1)):(i=Fd(e),i.c(),te(i,1),i.m(n.parentNode,n)):i&&(X(),re(i,1,1,(()=>{i=null})),ee())},i(e){o||(te(t.$$.fragment,e),te(i),o=!0)},o(e){re(t.$$.fragment,e),re(i),o=!1},d(e){e&&(g(r),g(n)),ce(t,e),i&&i.d(e)}}}function Nd(t){let r,n,o;return n=new rr({}),{c(){r=P("div"),ae(n.$$.fragment),_(r,"class","loading-placeholder svelte-cde0t0")},m(e,t){y(e,r,t),se(n,r,null),o=!0},p:e,i(e){o||(te(n.$$.fragment,e),o=!0)},o(e){re(n.$$.fragment,e),o=!1},d(e){e&&g(r),ce(n)}}}function $d(t){let r;return{c(){r=P("div"),r.textContent=`${Hn(t[5],at.UNKNOWN)}`},m(e,t){y(e,r,t)},p:e,i:e,o:e,d(e){e&&g(r)}}}function Ld(e){let t,r;return t=new Cd({props:{form:e[5],formState:e[0],formActions:e[7],sectionElement:e[21]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};1&r&&(n.formState=e[0]),1&r&&(n.sectionElement=e[21]),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function xd(e){let t,r,n,o,i=ne(e[5].sectionFlow.extraElements.concat(e[0].currentSection.elements||[])),a=[];for(let t=0;t<i.length;t+=1)a[t]=Ld(Rd(e,i,t));const s=e=>re(a[e],1,1,(()=>{a[e]=null}));return{c(){t=P("form");for(let e=0;e<a.length;e+=1)a[e].c();_(t,"class","zephr-form-content svelte-cde0t0"),$(t,"zephr-payment-options-content",e[2])},m(e,i){y(e,t,i);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,null);r=!0,n||(o=v(t,"submit",kd),n=!0)},p(e,n){if(161&n){let r;for(i=ne(e[5].sectionFlow.extraElements.concat(e[0].currentSection.elements||[])),r=0;r<i.length;r+=1){const o=Rd(e,i,r);a[r]?(a[r].p(o,n),te(a[r],1)):(a[r]=Ld(o),a[r].c(),te(a[r],1),a[r].m(t,null))}for(X(),r=i.length;r<a.length;r+=1)s(r);ee()}(!r||4&n)&&$(t,"zephr-payment-options-content",e[2])},i(e){if(!r){for(let e=0;e<i.length;e+=1)te(a[e]);r=!0}},o(e){a=a.filter(Boolean);for(let e=0;e<a.length;e+=1)re(a[e]);r=!1},d(e){e&&g(t),b(a,e),n=!1,o()}}}function Fd(e){let t,r;return t=new zt({props:{error:Hn(e[5],e[3]),isPaymentForm:e[6]}}),{c(){ae(t.$$.fragment)},m(e,n){se(t,e,n),r=!0},p(e,r){const n={};8&r&&(n.error=Hn(e[5],e[3])),t.$set(n)},i(e){r||(te(t.$$.fragment,e),r=!0)},o(e){re(t.$$.fragment,e),r=!1},d(e){ce(t,e)}}}function zd(t){let r,n,o,a,s,c,l,u,d=t[9]&&function(t){let r,n,o,i,a,s;return o=new er({props:{icon:Yt}}),{c(){r=P("div"),n=P("button"),ae(o.$$.fragment),_(n,"type","button"),_(n,"class","close-button svelte-cde0t0"),_(r,"class","close-button-container svelte-cde0t0")},m(e,c){y(e,r,c),h(r,n),se(o,n,null),i=!0,a||(s=v(n,"click",t[8]),a=!0)},p:e,i(e){i||(te(o.$$.fragment,e),i=!0)},o(e){re(o.$$.fragment,e),i=!1},d(e){e&&g(r),ce(o),a=!1,s()}}}(t);const p=[$d,Nd,Md],m=[];function f(e,t){return"GIFT_REDEMPTION"!==e[5].formType||e[1]?2:1}return o=f(t),a=m[o]=p[o](t),{c(){r=P("div"),d&&d.c(),n=S(),a.c(),$(r,"zephr-form-max-width",!t[2]),$(r,"zephr-payment-form-max-width",!t[2])},m(a,p){var f;y(a,r,p),d&&d.m(r,null),h(r,n),m[o].m(r,null),c=!0,l||(f=s=ye.call(null,r,t[4]),u=f&&i(f.destroy)?f.destroy:e,l=!0)},p(e,[t]){e[9]&&d.p(e,t);let n=o;o=f(e),o===n?m[o].p(e,t):(X(),re(m[n],1,1,(()=>{m[n]=null})),ee(),a=m[o],a?a.p(e,t):(a=m[o]=p[o](e),a.c()),te(a,1),a.m(r,null)),s&&i(s.update)&&16&t&&s.update.call(null,e[4]),(!c||4&t)&&$(r,"zephr-form-max-width",!e[2]),(!c||4&t)&&$(r,"zephr-payment-form-max-width",!e[2])},i(e){c||(te(d),te(a),c=!0)},o(e){re(d),re(a),c=!1},d(e){e&&g(r),d&&d.d(),m[o].d(),l=!1,u()}}}const kd=e=>e?.preventDefault();function Dd(e,t,r){let n,o,i;k(Td);let{formConfiguration:a}=t,s=(e=>({...e,parts:e.parts.sort(((e,t)=>it(e.type).order-it(t.type).order)).map((e=>({...e,sections:e.sections.sort(((e,t)=>e.order-t.order)).map((e=>({...e,elements:e.elements.sort(((e,t)=>e.order-t.order))})))})))}))(a);s.environment.debugLogging&&console.log(s);let c="PAYMENT"===s.formType,l={},u=!1;const d=s.environment.previewMode&&s.environment.previewInitialState?((e,t)=>{const[r,n]=e.includes(":")?e.split(":"):[null,e];return t.parts.flatMap((e=>e.sections.map((t=>({part:e,section:t}))))).find((e=>e.section.type===n&&(!r||e.part.type===r)))})(s.environment.previewInitialState,s):null;let p=Object.freeze({currentPart:d?.part??s.parts[0],currentSection:d?.section??s.parts[0].sections[0],paymentOption:null,paymentOptionPrices:null,emailAddress:"",createPassword:"",password:"",confirmCreatePassword:"",accountMembershipCode:"",passwordIsValid:!1,elementValidity:[],canAttemptSectionCompletion:!0,showFieldErrors:!1,loginRegistrationComplete:!1,serverErrors:[],isBusy:!1,isBusyByKey:[],formCannotBeActioned:!1,forgotPassword:!1,promoCode:"",addons:[],discountedPlanPrices:[],paymentProviderFormLoaded:!1,paymentProviderError:null,paymentFormComplete:!1,paymentProviderVendorFields:null,verificationCode:"",userAttributes:vd(s),socialSignin:!1,paymentProcessed:!1,invitationEmail:"",invitationSent:!1,validChangeFromPlans:[],taxCalculations:{},billingAddress:{country:null,postalCode:null},formPrerequisiteLoaded:!s.sectionFlow.formRequiresPrerequisiteLoading(s),dynamicOfferResult:null,originalDynamicOfferResult:null,giftCode:new URLSearchParams(window.location.search).get("giftCode")||""});const m=e=>(r(0,p=Object.freeze({...p,...e})),s.environment.debugLogging&&console.log(p),s.environment.onStateChanged(e,p),p),f=(e,t)=>{const r=t??"default";if(void 0===l[r]&&(l[r]=0),l[r]+=e,l[r]<0)throw"Negative request count";const n=Object.values(l).some((e=>e>0));n!==p.isBusy&&m({isBusy:n});const o=l[r]>0;o!==p.isBusyByKey[r]&&m({isBusyByKey:{...p.isBusyByKey,[r]:o}})},h={updateFormState:m,attemptCompleteSection:()=>{((e,t,r)=>{if(r.getFormState().canAttemptSectionCompletion){const t=r.updateFormState({showFieldErrors:!1});return Pt(e,t,r)}r.updateFormState({showFieldErrors:!0}),Promise.resolve()})(s,0,h)},completeSection:()=>{Pt(s,p,h)},jumpToPartStart:e=>{mt(e,s,h)},jumpToSection:e=>{pt(e,s,h)},onEvent:e=>{s.environment.previewMode||s.sectionFlow.eventHandlers[e]?.(s,p,h)},incrementRequestCount:(e=null)=>f(1,e),decrementRequestCount:(e=null)=>f(-1,e),getFormState:()=>p,apiUrlBase:s.environment.apiUrlBase};s.environment.previewMode&&s.environment.previewBundle?.setupPreviewMode(s,h),k((async()=>{"GIFT_REDEMPTION"===s.formType&&(await wd(h),r(1,u=!0)),h.onEvent(nt.FORM_START),dt(s,"zephr_form_render",null)}));let y=!1;const g=s.sectionFlow.canDismissFormManually(s);return e.$$set=e=>{"formConfiguration"in e&&r(10,a=e.formConfiguration)},e.$$.update=()=>{if(1&e.$$.dirty){const e=s.sectionFlow.canAttemptSectionCompletion(s,p);e!=p.canAttemptSectionCompletion&&m({canAttemptSectionCompletion:e})}2049&e.$$.dirty&&r(4,n=!y&&p.formPrerequisiteLoaded&&!p.formCannotBeActioned),1&e.$$.dirty&&r(3,o=p.serverErrors[0]&&0===(p.currentSection.elements||[]).filter((e=>ct(e.type,p))).length?p.serverErrors[0]:null),1&e.$$.dirty&&r(2,i=[...Object.values(lt)].find((e=>e.type===p.currentSection.type))?.fullWidth)},[p,u,i,o,n,s,c,h,()=>r(11,y=!0),g,a,y]}class Bd extends de{constructor(e){super(),ue(this,e,Dd,zd,a,{formConfiguration:10})}}const Ud={"--zephr-button-borderRadius":"9","--zephr-button-borderWidth":"0","--zephr-button-fontSize":"16","--zephr-button-fontWeight":"normal","--zephr-button-height":"50","--zephr-color-accent-main":"#dcf1fb","--zephr-color-accent-tinted":"#81cdf1","--zephr-color-action-main":"#006edb","--zephr-color-action-tinted":"#0f87ff","--zephr-color-background-main":"#fff","--zephr-color-background-tinted":"#ccc","--zephr-color-text-main":"#000","--zephr-color-text-tinted":"#333","--zephr-color-warning-main":"#d90b00","--zephr-color-warning-tinted":"#ff190d","--zephr-input-borderColor":"#333","--zephr-input-borderRadius":"5","--zephr-input-borderWidth":"1","--zephr-input-height":"50","--zephr-typography-title-fallbackFont":"sans-serif","--zephr-typography-title-font":"Roboto","--zephr-typography-body-fallbackFont":"sans-serif","--zephr-typography-body-font":"Roboto"};function Gd(e){switch(e){case wt.CHANGE_SUBSCRIPTION:case wt.PAYMENT:case wt.GIFT_SUBSCRIPTION:return"zephr-payment-form";case wt.REGISTRATION:case wt.COMPLETE_REGISTRATION:case wt.GIFT_REDEMPTION:return"zephr-registration-form";case wt.CONTACT:return"zephr-contact-form";case wt.DATA_CAPTURE:return"zephr-data-capture-form";default:return""}}const Vd=(e,t,r)=>t.parts.find((t=>t.type===e)).sections.flatMap((e=>e.elements)).filter((e=>e.type===Oe)).map((e=>e.config)).reduce(((e,t)=>r.userAttributes?{...e,[t.slug]:r.userAttributes[t.slug]}:{...e}),{}),qd=(e,t,r)=>401===e?t.indexOf("verification is required")>-1?at.EMAIL_VERIFICATION_REQUIRED:t.indexOf("session must be authenticated")>-1?at.NO_AUTHENTICATED_SESSION:r.verificationCode?at.VERIFICATION_CODE_OR_PASSWORD_INCORRECT:at.LOGIN_FAILED:402===e&&t?.includes("this domain is not supported.")?at.BLOCKED_EMAIL_DOMAIN:409===e?at.USER_ALREADY_EXISTS:400===e&&t?.includes("The provided password is not strong enough")?at.PASSWORD_NOT_STRONG_ENOUGH:404===e&&t?.includes("account")?at.ACCOUNT_NOT_FOUND:404===e?at.USER_DOES_NOT_EXIST:429===e&&t?.includes("sessions limit reached")?at.TOO_MANY_SESSIONS:429===e?at.NO_ACCOUNT_ACCESS:r.socialSignin?at.SOCIAL_SIGNIN_REGISTRATION_LOGIN_ERROR:403===e&&t?.includes("Contact creation not enabled")?at.CONTACT_CREATION_NOT_ENABLED:at.UNKNOWN_LOGIN_REGISTER_ERROR,jd=(e,t,r)=>{t.organisationConfiguration.ruleAnalyticsEnabled&&fr("zephr/public/rule-outcomes/v1/conversions",{method:"POST",bodyObject:{conversion:e,ruleId:t.ruleId,outcomeId:t.outcomeId}},r)},Hd="sharing_id",Kd=e=>{try{const t=new URL(e);return t.searchParams.has(Hd)?(t.searchParams.delete(Hd),t.href):e}catch{return e}},Yd=(e,t)=>t,Wd=(e,t)=>{const r=Nt(e).autoApplyAttributes??{},n=window.Blaize?.preProcessFormData??Yd,o={...Vd(ot.ACCOUNT_VERIFICATION.type,e,t),...r},i=(()=>{try{const e=new URLSearchParams(window.location.search).get(Hd);return e?{product_sharing_id:e}:null}catch{return null}})();return n(e.id,{identifiers:{email_address:t.emailAddress},validators:{password:t.createPassword||void 0,email_otp:t.verificationCode||void 0,token_exchange:t.socialSigninToken||void 0},attributes:Object.keys(o).length?o:void 0,account_membership_code:t.accountMembershipCode||void 0,...i??{}})},Jd=async(e,t,r)=>{const n=Wd(e,t),o=await fr("blaize/register",{method:"POST",bodyObject:n},r);return Zd(n,o,e,t,r)},Qd=async(e,t,r)=>{const n=(e=>({identifiers:{email_address:e.emailAddress},validators:{password:e.password||void 0,email_otp:e.verificationCode||void 0,token_exchange:e.socialSigninToken||void 0}}))(t),o=await fr("blaize/login",{method:"POST",bodyObject:n},r);return Zd(null,o,e,t,r)},Zd=async(e,t,r,n,o)=>{if(dt(r,e?"zephr_form_register":"zephr_form_login",{success:t?.ok}),!t?.ok){n.verificationCode&&o.updateFormState({verificationCodeValid:!1});const e=(await t.json())?.message,i=qd(t.status,e,n);return dt(r,"zephr_form_error",{error:at[i]}),i===at.PASSWORD_NOT_STRONG_ENOUGH&&o.updateFormState({dynamicServerErrorMessage:e}),o.updateFormState({serverErrors:[i]}),st[i].jumpToPart&&o.jumpToPartStart(st[i].jumpToPart),Promise.resolve()}return n.userExists||((e,t)=>{jd("REGISTERED",e,t)})(r,o),t.json().then((async t=>{const i=t.cookie?.includes("blaize_session");if(i)document.cookie=t.cookie;else if(!r.sectionFlow.canPartiallyRegister)return console.warn("No cookie returned from login/register endpoint - most likely incorrect form configuration."),o.updateFormState({serverErrors:[at.NO_COOKIE_FROM_LOGIN_REGISTER_ERROR]}),Promise.resolve();return e&&window.Blaize?.postProcessFormData&&window.Blaize.postProcessFormData(r.id,e,t),n.verificationCode&&n.currentSection.elements.some((e=>e.type===Ee))&&(o.updateFormState({verificationCodeValid:!0}),await xi(r)),o.updateFormState({loginRegistrationComplete:!0}),o.onEvent(nt.LOGIN_REGISTRATION_COMPLETE)}))},Xd=async(e,t,r,n)=>{const o=Vd(e,t,r);if(0===Object.keys(o).length)return Promise.resolve();const i=await fr("blaize/profile",{method:"PATCH",bodyObject:o},n);if(!i.ok)throw n.updateFormState({serverErrors:[at.INVALID_USER_ATTRIBUTES]}),dt(t,"zephr_form_error",{error:at[at.INVALID_USER_ATTRIBUTES]}),`Error submitting user attributes ${JSON.stringify(i)}`;return Promise.resolve()};let ep;const tp=new Uint8Array(16);function rp(){if(!ep&&(ep="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ep))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ep(tp)}const np=[];for(let e=0;e<256;++e)np.push((e+256).toString(16).slice(1));var op={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ip(e,t,r){if(op.randomUUID&&!t&&!e)return op.randomUUID();const n=(e=e||{}).random||(e.rng||rp)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=n[e];return t}return function(e,t=0){return np[e[t+0]]+np[e[t+1]]+np[e[t+2]]+np[e[t+3]]+"-"+np[e[t+4]]+np[e[t+5]]+"-"+np[e[t+6]]+np[e[t+7]]+"-"+np[e[t+8]]+np[e[t+9]]+"-"+np[e[t+10]]+np[e[t+11]]+np[e[t+12]]+np[e[t+13]]+np[e[t+14]]+np[e[t+15]]}(n)}const ap=(e,t,r)=>Xd(ot.PAYMENT.type,e,t,r).then((()=>(null==t.mobilePaymentService?so(e.organisationConfiguration.paymentProvider).completer:co(e.organisationConfiguration.paymentProvider).completer)(e,t,r).then((()=>{const n={error:null,errorMessage:"",success:!0,formSlug:e.id},o=JSON.stringify(n);if(window?.webkit?.messageHandlers?.messageHandler?.postMessage(o),window?.AndroidFormEventListener?.processFormEvent(o),((e,t)=>{jd(Nt(e).changeSubscriptionMode?Nt(e).changeSubscriptionConversionName??"CHANGE_SUBSCRIPTION":"CUSTOMER",e,t)})(e,r),r.updateFormState({paymentProcessed:!0}),dt(e,"zephr_form_purchase",{productId:t.paymentOption.productId,planId:t.paymentOption.slug,price:t.paymentOptionPrices?.totalPrice}),dt(e,"purchase",{ecommerce:{transaction_id:ip(),value:t.paymentOptionPrices?.totalPrice,tax:t.paymentOptionPrices?.taxPrice,currency:Pn(e,t),coupon:t.promoCode,items:[{item_id:t.paymentOption.slug,item_name:t.paymentOption.productId,price:t.paymentOptionPrices?.totalPrice,quantity:1}]}}),t.convertCancelSubscriptionToAcceptOffer&&dt(e,"zephr_form_subscription_cancel_accept_offer",{canceledProductId:t.selectedSubscription.productId,acceptedProductId:t.paymentOption.productId,productLabel:t.paymentOption.label,currency:t.paymentOption.currencyCode,amount:t.paymentOptionPrices?.totalPrice}),r.jumpToPartStart(ot.SUCCESS.type),Nt(e).changeSubscriptionMode){const r=t.validChangeFromPlans.find((e=>t.paymentOption.slug===e.planSlug&&t.paymentOption.productId===e.productId)).changesFromSubscription;dt(e,"zephr_form_subscription_change",{fromProductId:r.productId,fromProductAmount:r.amount,toProductId:t.paymentOption.productId,toProductAmount:t.paymentOptionPrices.netPriceFormattedString})}})).catch((n=>{const o=null==t.mobilePaymentService?at.PAYMENT_PROCESSING_ERROR:at.MOBILE_PAYMENT_PROCESSING_ERROR;console.error("Error completing payment",n),dt(e,"zephr_form_payment_failure",{reason:n}),r.updateFormState({mobilePaymentService:null,serverErrors:[o]}),dt(e,"zephr_form_error",{error:at[o]})})))),sp=async(e,t,r)=>{if(!Nt(e).changeSubscriptionMode)return;r.updateFormState({changeSubscriptionProrate:null});const n=so(e.organisationConfiguration.paymentProvider).changeSubscriptionProrateCalculator;if(!n)return;const o=await n(e,t,r);r.updateFormState({changeSubscriptionProrate:o})},cp=e=>new URL(e).searchParams.get("subscription"),lp=(e,t)=>0===e.length?[]:Nt(t).paymentOptions.map((r=>{const n=(Nt(t).changeSubscriptionPlanMappings??[]).find((e=>e.toPlan.planSlug===r.slug&&e.toPlan.productId===r.productId));if(!n)return;const o=e.filter((e=>!(e.planId===r.slug&&e.productId===r.productId)&&(n.fromAnyPlan||n.fromPlans.some((t=>t.planSlug===e.planId&&t.productId===e.productId)))));return 0!==o.length?(o.length>1&&console.log("Found multiple valid subscriptions to move to payment option, selecting the first",r),{planSlug:r.slug,productId:r.productId,changesFromSubscription:e[0]}):void 0})).filter(Boolean),up=async(e,t,r,n,o)=>{const i=so(e.organisationConfiguration.paymentProvider).existingSubscriptionLoader;if(!i)return console.error(`Existing subscription loader not configured for ${e.organisationConfiguration.paymentProvider}`),void r.updateFormState({formCannotBeActioned:!0});let a;try{a=await i(e,t,r,!0)}catch(e){return console.error("Unable to load subscriptions",e),void r.updateFormState({formCannotBeActioned:!0})}const s=cp(window.location.href);if(s){const t=a.filter((e=>e.externalId===s));t.length&&lp(t,e).length&&(a=t)}if(n)return void dp(a,t,r);const c=lp(a,e),l=Nt(e).subscriptionSelectionMode;return 0===a.length?console.warn("Not showing form as user has no active subscriptions"):0===c.length&&!l&&o&&console.warn("Not showing form as no payment options can be actioned with the user's current subscriptions"),l&&(a=a.map((t=>(Nt(e).changeSubscriptionPlanMappings.some((e=>e.fromAnyPlan||e.fromPlans.some((e=>e.planSlug===t.planId&&e.productId===t.productId))))?t.cannotBeChanged=!1:t.cannotBeChanged=!0,t)))),r.updateFormState({existingSubscriptions:a,formCannotBeActioned:0===c.length&&!l&&o,validChangeFromPlans:c,formPrerequisiteLoaded:!0}),a},dp=(e,t,r)=>{if(0===e.length)return console.log("No subscriptions available."),void r.updateFormState({existingSubscriptions:[],formCannotBeActioned:!0,validChangeFromPlans:[],formPrerequisiteLoaded:!0});const n=t.dynamicOfferResult;n||console.log("No dynamic offer result available.");const o=n?.products?.flatMap((t=>t.paymentPlans.filter((r=>{const n=e.some((e=>e.planId===r.planId&&e.productId===t.id)),o=e.every((e=>r.charges.every((t=>t.prices?.some((t=>t.currency===e.currency))))));return!n&&o})).map((r=>({planSlug:r.planId,productId:t.id,changesFromSubscription:e.find((e=>r.charges.every((t=>t.prices?.some((t=>t.currency===e.currency))))))}))).filter((e=>!!e.changesFromSubscription))))??[];r.updateFormState({existingSubscriptions:e,formCannotBeActioned:0===o.length,validChangeFromPlans:o,formPrerequisiteLoaded:!0})};let pp;const mp=new Promise((function(e){pp=e})),fp={[nt.FORM_START]:async(e,t,r)=>{const n=!!Nt(e).dynamicOffer?.id||!!Nt(e).dynamicOfferPreview;return n&&await(async(e,t)=>{const r=Nt(e).dynamicOffer?.id,n=Nt(e).dynamicOfferPreview;if(e.environment.previewMode)return void t.updateFormState({dynamicOfferResult:n});let o;try{o=document.cookie.match(/blaize_session=[0-9a-z-]+/)[0].substring(15)}catch{o=null}if(!r)throw Error("Missing Dynamic Offer id");const i=await fr("zephr/public/decisions/v2/dynamic-offers",{method:"POST",bodyObject:{dynamic_offer:{slug:r},session:o}},t),a=await i.json();t.updateFormState({dynamicOfferResult:a})})(e,r).catch((e=>{console.error("Error loading Dynamic Offer",e)})),wd(r).then((async t=>{if(pp(pp),Nt(e).changeSubscriptionMode){r.updateFormState({formCannotBeActioned:!t}),await up(e,r.getFormState(),r,n,!0);cp(window.location.href)&&1===r.getFormState().existingSubscriptions.length&&r.jumpToPartStart(ot.PLAN_SELECT.type)}}))},[nt.LOGIN_REGISTRATION_COMPLETE]:(e,t,r)=>hn(e,r.getFormState(),r).then((()=>lo(e,r.getFormState(),r))).then((()=>r.jumpToPartStart(ot.PAYMENT.type))),[nt.SECTION_EMAIL_COMPLETE]:Mi,[nt.SECTION_PASSWORD_RESET_COMPLETE]:ki,[nt.SECTION_FORGOT_PASSWORD_COMPLETE]:Fi,[nt.PART_PLAN_SELECT_COMPLETE]:(e,t,r)=>mp.then((async()=>{const n=r.getFormState();if(n.userSession||n.loginRegistrationComplete){const t=await hn(e,n,r);lo(e,t,r),sp(e,t,r),r.jumpToPartStart(ot.PAYMENT.type)}else lo(e,t,r),sp(e,t,r),r.jumpToPartStart(ot.ACCOUNT_VERIFICATION.type)})),[nt.PART_ACCOUNT_VERIFICATION_COMPLETE]:(e,t,r)=>(t.userExists?Qd:Jd)(e,t,r),[nt.PART_PAYMENT_COMPLETE]:ap,[nt.PART_SUCCESS_COMPLETE]:(e,t,r)=>Xd(ot.SUCCESS.type,e,t,r).then((()=>{window.location.reload()})),[nt.SELECT_SUBSCRIPTION_COMPLETE]:(e,t,r)=>{const n=lp([t.selectedSubscription],e);r.updateFormState({existingSubscriptions:[t.selectedSubscription],formCannotBeActioned:0===n.length,validChangeFromPlans:n,formPrerequisiteLoaded:!0}),r.jumpToPartStart(ot.PLAN_SELECT.type)}},hp=[{type:lt.EMAIL.type,isDisplayedInProgressBar:!0,isVisible:e=>!Nt(e).changeSubscriptionMode},{type:lt.LOGIN_PASSWORD.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>Nt(e).usePassword&&t.userExists&&!t.socialSignin},{type:lt.PASSWORD_SETUP.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>Nt(e).usePassword&&!t.userExists&&!t.socialSignin},{type:lt.SUCCESS.type,isDisplayedInProgressBar:!1,isVisible:()=>!0},{type:lt.PASSWORD_RESET.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>Nt(e).usePassword&&t.forgotPassword},{type:lt.FORGOT_PASSWORD.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>Nt(e).usePassword&&t.forgotPassword},{type:lt.VERIFICATION_CODE_LOGIN.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>(t.userExists&&(Nt(e).useVerificationCodes||t.socialSignin))??!1},{type:lt.VERIFICATION_CODE_REGISTRATION.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>(!t.userExists&&(Nt(e).useVerificationCodes||t.emailIsContact))??!1},{type:lt.REGISTRATION_CUSTOM.type,isDisplayedInProgressBar:!0,isVisible:(e,t)=>!t.userExists}],yp={extraElements:[{type:Ce,order:-1}],sectionVisibilities:hp,eventHandlers:fp,canAttemptSectionCompletion:(e,t)=>{const r=so(e.organisationConfiguration.paymentProvider);return!t.elementValidity.filter((e=>e.partType===t.currentPart.type&&e.sectionType===t.currentSection.type&&e.sectionOrder===t.currentSection.order)).filter((e=>!(e.elementType===Se&&r.canAttemptIncompletePaymentFormSubmission&&t.paymentProviderFormLoaded))).some((e=>!e.isValid))},canDismissFormManually:e=>Nt(e).changeSubscriptionMode,formRequiresPrerequisiteLoading:e=>Nt(e).changeSubscriptionMode},gp={extraElements:[],eventHandlers:{[nt.LOGIN_REGISTRATION_COMPLETE]:async(e,t,r)=>{const n=Nt(e),o=Ri(e);return t.userExists||!o&&(!e.organisationConfiguration.requireEmailVerfication||n.useVerificationCodes||t.socialSignin)?(n.showSuccessOnFormCompletion&&!t.userExists?await pt(lt.SUCCESS.type,e,r):(window.location.href=Kd(window.location.href),window.flowpoint&&window.flowpoint.track("Registration/Login Form Submitted")),Promise.resolve()):(await wi(e,"register",t.emailAddress,r),await pt(lt.EMAIL_VERIFIED.type,e,r),Promise.resolve())},[nt.SECTION_EMAIL_COMPLETE]:Mi,[nt.SECTION_PASSWORD_RESET_COMPLETE]:ki,[nt.SECTION_FORGOT_PASSWORD_COMPLETE]:Fi,[nt.PART_ACCOUNT_VERIFICATION_COMPLETE]:(e,t,r)=>(t.userExists?Qd:Jd)(e,t,r),[nt.PART_SUCCESS_COMPLETE]:()=>(window.location.href=Kd(window.location.href),window.flowpoint&&window.flowpoint.track("Registration/Login Form Submitted"),Promise.resolve())},sectionVisibilities:[{type:lt.EMAIL.type,isDisplayedInProgressBar:!0,isVisible:()=>!0},{type:lt.LOGIN_PASSWORD.type,isDisplayedInProgressBar:!0,isVisible:(e,t)=>Nt(e).usePassword&&t.userExists&&!t.socialSignin},{type:lt.PASSWORD_SETUP.type,isDisplayedInProgressBar:!0,isVisible:(e,t)=>Nt(e).usePassword&&!t.userExists&&!t.socialSignin},{type:lt.PASSWORD_RESET.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>Nt(e).usePassword&&t.forgotPassword},{type:lt.FORGOT_PASSWORD.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>Nt(e).usePassword&&t.forgotPassword},{type:lt.VERIFICATION_CODE_LOGIN.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>(t.userExists&&(Nt(e).useVerificationCodes||t.socialSignin))??!1},{type:lt.VERIFICATION_CODE_REGISTRATION.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>(!t.userExists&&(Nt(e).useVerificationCodes||t.emailIsContact))??!1},{type:lt.REGISTRATION_CUSTOM.type,isDisplayedInProgressBar:!0,isVisible:(e,t)=>!t.userExists},{type:lt.SUCCESS.type,isDisplayedInProgressBar:!1,isVisible:()=>!0},{type:lt.EMAIL_VERIFIED.type,isDisplayedInProgressBar:!1,isVisible:e=>e.organisationConfiguration.requireEmailVerfication&&!Nt(e).useVerificationCodes},{type:lt.PASSWORDLESS_VIA_LOGIN_LINK.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>t.userExists&&Ri(e)}],canAttemptSectionCompletion:(e,t)=>!t.elementValidity.filter((e=>e.partType===t.currentPart.type&&e.sectionType===t.currentSection.type&&e.sectionOrder===t.currentSection.order)).some((e=>!e.isValid)),canDismissFormManually:()=>!1,formRequiresPrerequisiteLoading:()=>!1,canPartiallyRegister:!0},bp=(e,t)=>t,Pp=async(e,t,r)=>{const n=((e,t)=>{const r=Nt(e).autoApplyAttributes??{},n=window.Blaize?.preProcessFormData??bp,o={...Vd(ot.CONTACT_VERIFICATION.type,e,t),...r};return n(e.id,{identifiers:{email_address:t.emailAddress},attributes:Object.keys(o).length?o:void 0})})(e,t);return(async(e,t,r,n,o)=>{const i=await t.json();if(t?.ok)return jd("CONTACT",r,o),window.Blaize?.postProcessFormData&&window.Blaize.postProcessFormData(r.id,e,i),Promise.resolve(!0);const a=qd(t.status,i?.message,n);return o.updateFormState({serverErrors:[a]}),dt(r,"zephr_form_error",{error:at[a]}),st[a].jumpToPart&&o.jumpToPartStart(st[a].jumpToPart),Promise.resolve(!1)})(n,await fr("zephr/createContact",{method:"POST",bodyObject:n},r),e,t,r)},Ep={extraElements:[],eventHandlers:{[nt.FORM_START]:async(e,t,r)=>{await wd(r)},[nt.PART_CONTACT_VERIFICATION_COMPLETE]:async(e,t,r)=>{const n=Nt(e);try{await Pp(e,t,r),n.showSuccessOnFormCompletion?await mt(ot.SUCCESS.type,e,r):window.location.reload()}catch(t){console.error(t),await pt(lt.EMAIL.type,e,r)}}},sectionVisibilities:[{type:lt.EMAIL.type,isDisplayedInProgressBar:!1,isVisible:()=>!0},{type:lt.REGISTRATION_CUSTOM.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>!t.userExists}],canAttemptSectionCompletion:(e,t)=>!t.elementValidity.filter((e=>e.partType===t.currentPart.type&&e.sectionType===t.currentSection.type&&e.sectionOrder===t.currentSection.order)).some((e=>!e.isValid)),canDismissFormManually:()=>!1,formRequiresPrerequisiteLoading:()=>!1},Ap=(e,t)=>t,Sp=async(e,t,r,n)=>{const o=((e,t,r)=>{const n=window.Blaize?.preProcessFormData??Ap,o=Vd(r,e,t),i=Nt(e).autoApplyAttributes??{};return n(e.id,{...o,...i,...t.createPassword&&{"blaize-validator":t.createPassword}})})(e,t,n);t.fireCancelationReasonEvent&&r.updateFormState({cancelationReasonAttributes:o});return(async(e,t,r,n,o,i)=>{if(t?.ok){n.formType==wt.UPDATE_PROFILE&&dt(n,"zephr_form_profile_update",{success:t?.ok,...Object.entries(r).reduce(((e,[t,r])=>({...e,[`attr_${t}`]:r})),{})}),n.formType==wt.DATA_CAPTURE&&(jd("Data Captured",n,i),dt(n,"zephr_form_data_capture",{success:t?.ok,...Object.entries(r).reduce(((e,[t,r])=>({...e,[`attr_${t}`]:r})),{})})),n.formType==wt.COMPLETE_REGISTRATION&&(jd("Completed Registration",n,i),dt(n,"zephr_form_complete_registration",{success:t?.ok,...Object.entries(r).reduce(((e,[t,r])=>({...e,[`attr_${t}`]:r})),{})}));const o=await t.json();return e&&window.Blaize?.postProcessFormData&&window.Blaize.postProcessFormData(n.id,e,o),Promise.resolve(!0)}const a=(await t.json())?.message,s=qd(t.status,a,o);return i.updateFormState({serverErrors:[s]}),dt(n,"zephr_form_error",{error:at[s]}),Promise.resolve(!1)})(o,await fr("blaize/profile",{method:"PATCH",bodyObject:o},r),Vd(n,e,t),e,t,r)},Cp={extraElements:[],eventHandlers:{[nt.FORM_START]:async(e,t,r)=>{const n=e.parts.map((e=>e.sections)).reduce(((e,t)=>{const r=t.map((e=>e.elements.filter((e=>"user_attribute"==e.type&&e.config.hideIfSet)).map((e=>e.config.slug))));return e.concat(r)}),[]).flat(),o=[];try{const i=await fr("blaize/profile",{method:"GET"},r);if(i?.ok){const a=await i.json();Nt(e).autoApplyAttributes&&Object.keys(Nt(e).autoApplyAttributes).forEach((e=>{Object.prototype.hasOwnProperty.call(a,e)&&delete a[e]})),n.forEach((e=>{Object.prototype.hasOwnProperty.call(a,e)&&o.push(e)})),o.length==Object.keys(t.userAttributes).length&&e.formType!=wt.COMPLETE_REGISTRATION?console.warn("Not showing form as user has no attributes to update"):r.updateFormState({formPrerequisiteLoaded:!0,hideIfSetAttributes:o,userAttributes:{...a}})}}catch(e){console.error(e)}},[nt.PART_PROFILE_UPDATE_COMPLETE]:async(e,t,r)=>{const n=Nt(e);try{await Sp(e,t,r,ot.PROFILE_UPDATE.type).then((async t=>{t&&n.showSuccessOnFormCompletion?await mt(ot.SUCCESS.type,e,r):t&&window.location.reload()}))}catch(e){console.error(e)}}},sectionVisibilities:[],canAttemptSectionCompletion:(e,t)=>!t.elementValidity.filter((e=>e.partType===t.currentPart.type&&e.sectionType===t.currentSection.type&&e.sectionOrder===t.currentSection.order)).some((e=>!e.isValid)),canDismissFormManually:()=>!1,formRequiresPrerequisiteLoading:()=>!0},vp=async(e,t,r)=>{r.incrementRequestCount();try{await Promise.all([_p(r),Op(r)])}finally{r.decrementRequestCount()}},Tp=async(e,t,r,n)=>{r.updateFormState({emailAddress:null,password:null,createPassword:null,passwordIsValid:null,verificationCode:null,currentPassword:null,serverErrors:[]}),n?await vp(0,0,r):vp(0,0,r),await mt(ot.PROFILE_UPDATE.type,e,r)},_p=async e=>{try{const t=await fr("blaize/profile",{method:"GET"},e),r=await t.json();e.updateFormState({readOnlyAttributeValues:r})}catch(e){console.error("Unable to load user profile",e)}},Op=async e=>{try{const t=await fr("blaize/account",{method:"GET"},e),r=(await t.json())?.identifiers.email_address;e.updateFormState({readOnlyEmail:r})}catch(e){console.error("Unable to load user email",e)}},Ip={extraElements:[],eventHandlers:{[nt.FORM_START]:vp,[nt.GO_BACK]:async(e,t,r)=>Tp(e,t,r,!1),[nt.UPDATE]:async(e,t,r)=>{await mt(ot.ATTRIBUTES_UPDATE.type,e,r)},[nt.PART_EMAIL_UPDATE_COMPLETE]:async(e,t,r)=>{const n=await(async(e,t,r)=>{try{const n=!t.password,o={current_identifiers:{email_address:t.readOnlyEmail},new_identifiers:{email_address:t.emailAddress},...n?{}:{validators:{password:t.password}}},i=await fr(n?"blaize/users/update-email":"zephr/users/update-email",{method:"POST",bodyObject:o},r);return dt(e,"zephr_form_email_update_code_sent",{success:i?.ok}),!!i.ok||(r.updateFormState({serverErrors:[at.UNKNOWN]}),dt(e,"zephr_form_error",{error:at[at.UNKNOWN]}),!1)}catch(t){return r.updateFormState({serverErrors:[at.UNKNOWN]}),dt(e,"zephr_form_error",{error:at[at.UNKNOWN]}),!1}})(e,t,r);n&&await mt(ot.EMAIL_UPDATE_OTP.type,e,r)},[nt.VERIFY_EMAIL_UPDATE_OTP]:async(e,t,r)=>{const n=await(async(e,t,r)=>{r.incrementRequestCount(),r.updateFormState({verificationCodeValid:void 0});const n=await fr(`zephr/users/update-email/${t.verificationCode}`,{method:"POST",bodyObject:{current_identifiers:{email_address:t.readOnlyEmail}}},r);return dt(e,"zephr_form_password_reset_code_validate",{success:n?.ok}),n.ok?(await xi(e),r.decrementRequestCount(),!0):(r.updateFormState({serverErrors:[at.VERIFICATION_CODE_INCORRECT]}),dt(e,"zephr_form_error",{error:at[at.VERIFICATION_CODE_INCORRECT]}),r.decrementRequestCount(),!1)})(e,t,r);n&&await Tp(e,t,r,!0)},[nt.PART_PASSWORD_UPDATE_COMPLETE]:async(e,t,r)=>{const n=await(async(e,t,r)=>{try{const n={current_validators:{password:t.currentPassword},new_validators:{password:t.createPassword}},o=await fr("zephr/users/change-password",{method:"POST",bodyObject:n},r);return dt(e,"zephr_form_password_update_code_sent",{success:o?.ok}),!!o.ok||(r.updateFormState({serverErrors:[at.UNKNOWN]}),!1)}catch(e){return r.updateFormState({serverErrors:[at.UNKNOWN]}),!1}})(e,t,r);n&&await mt(ot.PASSWORD_UPDATE_OTP.type,e,r)},[nt.VERIFY_PASSWORD_UPDATE_OTP]:async(e,t,r)=>{const n=await(async(e,t,r)=>{r.incrementRequestCount(),r.updateFormState({verificationCodeValid:void 0});const n=await fr(`zephr/users/change-password/${t.verificationCode}`,{method:"GET"},r);return dt(e,"zephr_form_password_update_code_validate",{success:n?.ok}),n.ok?(await xi(e),r.decrementRequestCount(),!0):(r.updateFormState({serverErrors:[at.VERIFICATION_CODE_INCORRECT]}),dt(e,"zephr_form_error",{error:at[at.VERIFICATION_CODE_INCORRECT]}),r.decrementRequestCount(),!1)})(e,t,r);n&&await Tp(e,t,r,!0)},[nt.PART_ATTRIBUTES_UPDATE_COMPLETE]:async(e,t,r)=>{await Sp(e,t,r,ot.ATTRIBUTES_UPDATE.type)&&await Tp(e,t,r,!0)}},sectionVisibilities:[],canAttemptSectionCompletion:(e,t)=>!t.elementValidity.filter((e=>e.partType===t.currentPart.type&&e.sectionType===t.currentSection.type&&e.sectionOrder===t.currentSection.order)).some((e=>!e.isValid)),canDismissFormManually:()=>!1,formRequiresPrerequisiteLoading:()=>!1},wp=async(e,t,r,n)=>{const o=so(e.organisationConfiguration.paymentProvider)?.existingSubscriptionLoader;o||console.error(`Existing subscription loader not configured for ${e.organisationConfiguration.paymentProvider}`);const i=o?await o(e,t,r,n):[];return r.updateFormState({existingSubscriptions:i}),i},Rp=async(e,t)=>{const r=t.getFormState();try{(await fr(`zephr/subscriptions/${r.selectedSubscription.externalId}`,{method:"DELETE"},t)).ok?(r.fireCancelationReasonEvent&&dt(e,"zephr_form_subscription_cancel_reason",{productId:r.selectedSubscription.productId,...Object.entries(r.cancelationReasonAttributes).reduce(((e,[t,r])=>({...e,[`attr_${t}`]:r})),{})}),dt(e,"zephr_form_subscription_cancel",{productId:r.selectedSubscription.productId,productLabel:r.selectedSubscription.productLabel,currency:r.selectedSubscription.currency,amount:r.selectedSubscription.amount}),e.parts.some((e=>e.type==ot.CANCEL_SUCCESS.type))?t.jumpToPartStart(ot.CANCEL_SUCCESS.type):t.jumpToPartStart(ot.SUCCESS.type)):(t.updateFormState({serverErrors:[at.UNKNOWN]}),dt(e,"zephr_form_error",{error:at[at.UNKNOWN]}))}catch(r){console.error("Error occurred while cancelling subscription.",r),t.updateFormState({serverErrors:[at.UNKNOWN]}),dt(e,"zephr_form_error",{error:at[at.UNKNOWN]})}},Mp={extraElements:[],eventHandlers:{[nt.FORM_START]:async(e,t,r)=>{const n=Nt(e).hasSaveOffer?await up(e,t,r,!1,!1):await wp(e,t,r,!0),o=cp(window.location.href);if(!o)return;const i=n.find((e=>e.externalId===o));i&&(r.updateFormState({selectedSubscription:i,isExternalReferrer:!0}),r.completeSection())},[nt.SELECT_SUBSCRIPTION_COMPLETE]:async(e,t,r)=>{Nt(e).hasCancelReason?(r.updateFormState({fireCancelationReasonEvent:!0,cancelFlowSubscriptionSelectedId:t.selectedSubscription.externalId}),r.jumpToPartStart(ot.ATTRIBUTES_UPDATE.type)):0===t.validChangeFromPlans.length?await Rp(e,r):Nt(e).hasSaveOffer?(r.updateFormState({cancelFlowSubscriptionSelectedId:t.selectedSubscription.externalId}),r.jumpToPartStart(ot.PLAN_SELECT.type)):await Rp(e,r)},[nt.GO_BACK]:async(e,t,r)=>(r.jumpToPartStart(ot.SELECT_SUBSCRIPTION.type),Promise.resolve()),[nt.PART_PLAN_SELECT_COMPLETE]:async(e,t,r)=>{if(t.confirmCancel)await Rp(e,r);else{const t=r.getFormState(),n=await hn(e,t,r);lo(e,n,r),sp(e,n,r),r.updateFormState({convertCancelSubscriptionToAcceptOffer:!0}),r.jumpToPartStart(ot.PAYMENT.type)}},[nt.PART_PAYMENT_COMPLETE]:ap,[nt.PART_ATTRIBUTES_UPDATE_COMPLETE]:async(e,t,r)=>{await Sp(e,t,r,ot.ATTRIBUTES_UPDATE.type)&&(0===t.validChangeFromPlans.length?await Rp(e,r):Nt(e).hasSaveOffer?r.jumpToPartStart(ot.PLAN_SELECT.type):await Rp(e,r))}},sectionVisibilities:[],canAttemptSectionCompletion:()=>!0,canDismissFormManually:()=>!1,formRequiresPrerequisiteLoading:()=>!1},Np={[nt.FORM_START]:async(e,t,r)=>{await wp(e,t,r,!1)},[nt.GO_BACK]:async(e,t,r)=>(r.jumpToPartStart(ot.LIST_SUBSCRIPTIONS.type),Promise.resolve()),[nt.PART_CHANGE_PAYMENT_COMPLETE]:async(e,t,r)=>{const n=so(e.organisationConfiguration.paymentProvider).changePaymentCompleter;await n(e,t,r).then((()=>{r.updateFormState({paymentProviderFormBusy:!1}),r.jumpToPartStart(ot.SUCCESS.type),dt(e,"zephr_form_payment_method_changed",null)})).catch((n=>{const o=null==t.mobilePaymentService?at.PAYMENT_PROCESSING_ERROR:at.MOBILE_PAYMENT_PROCESSING_ERROR;console.error("Error completing payment change",n),r.updateFormState({mobilePaymentService:null,paymentProviderFormBusy:!1,serverErrors:[o]}),dt(e,"zephr_form_error",{error:at[o]})}))}},$p={extraElements:[{type:Ce,order:-1}],eventHandlers:Np,sectionVisibilities:[],canAttemptSectionCompletion:(e,t)=>!t.elementValidity.filter((e=>e.partType===t.currentPart.type&&e.sectionType===t.currentSection.type&&e.sectionOrder===t.currentSection.order)).some((e=>!e.isValid)),canDismissFormManually:()=>!1,formRequiresPrerequisiteLoading:()=>!1},Lp={extraElements:[],eventHandlers:{[nt.FORM_START]:async(e,t,r)=>{await gu(e,t,r)}},sectionVisibilities:[],canAttemptSectionCompletion:(e,t)=>!t.elementValidity.filter((e=>e.partType===t.currentPart.type&&e.sectionType===t.currentSection.type&&e.sectionOrder===t.currentSection.order)).some((e=>!e.isValid)),canDismissFormManually:()=>!1,formRequiresPrerequisiteLoading:()=>!1},xp={...yp.eventHandlers,[nt.FORM_START]:async(e,t,r)=>{await yp.eventHandlers[nt.FORM_START](e,t,r),r.updateFormState({giftRecipient:{name:"",email:"",recipientAddress:{addressLine1:"",addressLine2:"",city:"",state:"",country:"",postalCode:""},customMessage:""}})},[nt.PART_PLAN_SELECT_COMPLETE]:async(e,t,r)=>(await yp.eventHandlers[nt.PART_PLAN_SELECT_COMPLETE](e,t,r),await pt("recipient_details",e,r),null),[nt.PART_GIFT_RECIPIENT_COMPLETE]:async(e,t,r)=>{await pt("email",e,r)},[nt.PART_PAYMENT_COMPLETE]:async(e,t,r)=>{try{if(!t.giftRecipient)throw new Error("Gift recipient information is missing");return await ap(e,t,r)}catch(t){console.error("Error in gift subscription payment:",t);const n=Kn(e,"forms.errors.unknown-payment-error","Payment failed");throw r.updateFormState({dynamicServerErrorMessage:n}),t}}},Fp=[...yp.sectionVisibilities,{type:lt.RECIPIENT_DETAILS.type,isDisplayedInProgressBar:!0,isVisible:()=>!0}],zp={extraElements:yp.extraElements,sectionVisibilities:Fp,eventHandlers:xp,canAttemptSectionCompletion:(e,t)=>!t.elementValidity.filter((e=>e.partType===t.currentPart.type&&e.sectionType===t.currentSection.type&&e.sectionOrder===t.currentSection.order)).some((e=>!e.isValid)),canDismissFormManually:yp.canDismissFormManually,formRequiresPrerequisiteLoading:yp.formRequiresPrerequisiteLoading,canPartiallyRegister:!0},kp={...gp.eventHandlers,[nt.FORM_START]:async(e,t,r)=>{if(t.userSession){const t=e.parts.find((e=>"gift_redemption"===e.type));return void(t&&r.updateFormState({currentPart:t,currentSection:t.sections[0],userSession:!0,loginRegistrationComplete:!0}))}if(await wd(r)){const t=e.parts.find((e=>"gift_redemption"===e.type));t&&r.updateFormState({currentPart:t,currentSection:t.sections[0],userSession:!0,loginRegistrationComplete:!0})}},[nt.GIFT_REDEMPTION_COMPLETE]:async(e,t,r)=>{await(async(e,t,r)=>{const n=t.giftCode;try{if(!n||16!==n.length)return r.updateFormState({giftCodeError:Kn(e,"forms.errors.gift-code-invalid-length","Gift code must be 16 characters long")}),!1;r.incrementRequestCount();const t=await fr("zephr/public/gifts/v1/redeem",{method:"POST",bodyObject:{code:n}},r);return dt(e,"zephr_form_gift_redeem",{success:t.ok}),t.ok?(r.decrementRequestCount(),await pt(lt.GIFT_REDEEMED.type,e,r),!0):(r.updateFormState({serverErrors:[at.GIFT_CODE_INVALID],giftCodeError:Kn(e,"forms.errors.gift-code-invalid","The gift code you entered is invalid")}),r.decrementRequestCount(),!1)}catch(t){return r.updateFormState({serverErrors:[at.GIFT_CODE_SERVER_ERROR],giftCodeError:Kn(e,"forms.errors.gift-code-server-error","An error occurred processing your gift code")}),r.decrementRequestCount(),!1}})(e,t,r)},[nt.LOGIN_REGISTRATION_COMPLETE]:async(e,t,r)=>(await mt("gift_redemption",e,r),Promise.resolve())},Dp=[{type:lt.EMAIL.type,isDisplayedInProgressBar:!0,isVisible:(e,t)=>!t.userSession},{type:lt.LOGIN_PASSWORD.type,isDisplayedInProgressBar:!0,isVisible:(e,t)=>!t.userSession&&Nt(e).usePassword&&t.userExists&&!t.socialSignin},{type:lt.PASSWORD_SETUP.type,isDisplayedInProgressBar:!0,isVisible:(e,t)=>!t.userSession&&Nt(e).usePassword&&!t.userExists&&!t.socialSignin},{type:lt.PASSWORD_RESET.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>!t.userSession&&Nt(e).usePassword&&t.forgotPassword},{type:lt.FORGOT_PASSWORD.type,isDisplayedInProgressBar:!1,isVisible:(e,t)=>!t.userSession&&Nt(e).usePassword&&t.forgotPassword},{type:lt.GIFT_REDEMPTION.type,isDisplayedInProgressBar:!0,isVisible:(e,t)=>t.loginRegistrationComplete||t.userSession},{type:lt.GIFT_REDEEMED.type,isDisplayedInProgressBar:!1,isVisible:()=>!0}],Bp={...gp,eventHandlers:kp,sectionVisibilities:Dp,canAttemptSectionCompletion:(e,t)=>{if(t.currentSection.type===lt.GIFT_REDEMPTION.type){const e=t.elementValidity.find((e=>e.elementType===rt&&e.sectionType===t.currentSection.type));if(e&&!e.isValid)return!1;if(16!==t.giftCode?.length)return!1}return gp.canAttemptSectionCompletion(e,t)},canDismissFormManually:()=>!1,formRequiresPrerequisiteLoading:()=>!1,canPartiallyRegister:!0},Up={[wt.PAYMENT]:yp,[wt.CHANGE_SUBSCRIPTION]:yp,[wt.REGISTRATION]:gp,[wt.CONTACT]:Ep,[wt.DATA_CAPTURE]:Cp,[wt.COMPLETE_REGISTRATION]:Cp,[wt.UPDATE_PROFILE]:Ip,[wt.CANCEL_SUBSCRIPTION]:Mp,[wt.LIST_SUBSCRIPTIONS]:$p,[wt.DEVICES]:Lp,[wt.GIFT_SUBSCRIPTION]:zp,[wt.GIFT_REDEMPTION]:Bp,[wt.EMPTY]:{extraElements:[],sectionVisibilities:[],eventHandlers:{},canAttemptSectionCompletion:()=>!0,canDismissFormManually:()=>!1,formRequiresPrerequisiteLoading:()=>!1}},Gp=Date.parse("2024-04-19T00:00:00Z"),Vp={"--zf-container-color":"unset","--zf-container-bgColor":"#fff","--zf-container-borderRadius":"0","--zf-input-bgColor":"#fff","--zf-payment-options-border":"1px solid #000","--zf-payment-options-color":"#000","--zf-payment-options-bgColor":"#fff","--zf-payment-summary-border":"1px solid #000","--zf-payment-summary-borderRadius":"0","--zf-payment-summary-color":"unset","--zf-payment-summary-bgColor":"transparent"},qp=(e,t)=>(t||0)<Gp?((e,t)=>`${e};\n${Object.entries(t).map((([e,t])=>`${e}: ${t}`)).join(";\n")}`)(e,Vp):e;function jp(e){let t,r,n,o;return r=new Bd({props:{formConfiguration:e[2]}}),{c(){t=P("div"),ae(r.$$.fragment),_(t,"id",e[2].formId),_(t,"class",n=f(`zephr-form ${Gd(e[0])}`)+" svelte-jjl1p8"),_(t,"style",e[1])},m(e,n){y(e,t,n),se(r,t,null),o=!0},p(e,[r]){(!o||1&r&&n!==(n=f(`zephr-form ${Gd(e[0])}`)+" svelte-jjl1p8"))&&_(t,"class",n)},i(e){o||(te(r.$$.fragment,e),o=!0)},o(e){re(r.$$.fragment,e),o=!1},d(e){e&&g(t),ce(r)}}}function Hp(e,t,r){let{formType:n}=t,{formConfig:o}=t,{formTypeConfig:i}=t,{organisationConfig:a}=t,{environment:s={}}=t;const c={apiUrlBase:"",onStateChanged:()=>{},debugLogging:!1,reduceDelays:!1,previewMode:!1,...s,...o?._spikeApiUrl?{apiUrlBase:o._spikeApiUrl}:{}},l=JSON.parse(a.siteStyles??"{}"),u=qp((e=>{const t={},r=(e,n)=>{null!==e&&"object"==typeof e?Object.entries(e).forEach((([e,t])=>{r(t,n.concat(`${n?"-":""}${e}`))})):t[`--zephr-${n}`]=e};return r(e,""),Object.entries({...Ud,...t}).map((([e,t])=>`${e}: ${t}`)).join(";\n")})(l),o.timestamp),d=(e=>{const t=Up[e];if(!t)throw`No flow for form type ${e}`;return t})(n),p=Wn(o.languagePack,o),m=Wn(o.languagePack,i),f=Wn(o.languagePack,a),h=mc(),y=n===wt.PAYMENT,g={environment:c,formType:n,...p,organisationConfiguration:f,typeConfiguration:m,sectionFlow:d,uniqueKey:h,formId:y?"zephr-payment-form-root":`zephr-form-root-${h}`};return e.$$set=e=>{"formType"in e&&r(0,n=e.formType),"formConfig"in e&&r(3,o=e.formConfig),"formTypeConfig"in e&&r(4,i=e.formTypeConfig),"organisationConfig"in e&&r(5,a=e.organisationConfig),"environment"in e&&r(6,s=e.environment)},[n,u,g,o,i,a,s]}class Kp extends de{constructor(e){super(),ue(this,e,Hp,jp,a,{formType:0,formConfig:3,formTypeConfig:4,organisationConfig:5,environment:6})}}null==window.Zephr&&(window.Zephr={}),window.Zephr.renderForm=(e,t)=>{const r="string"==typeof e||e instanceof String?document.getElementById(e):e;return new Kp({target:r,props:t})},window.Zephr.translateFormProps=(e,t)=>{if("main:1"===e)return t;throw`Unknown props version ${e}`}}();
</script>
<style>.zephr-form
{
--zf-subtext-fontSize: 20px;
--zf-root-fontFamily: var(--wp--preset--font-family--base);
}
.zephr-form-button:disabled {
background-color: #fff;
border: 1px solid #ff326f;
color: #ff326f;
}
.zephr-form .consent-notice
{
font-size: 0.8em;
text-align: left;
line-height: 1em;
}
.zephr-form .consent-notice a
{
color: #ff326f;
text-decoration: underline;
}</style>
<div id="zephr-form-rlU8IT" class="zephr-form-container">
</div>
<script data-cmp-ab="2">
var element = document.currentScript;
while(!(element.classList && element.classList.contains('zephr-form-container'))){
element = element.previousSibling;
}
window.Zephr.renderForm(element, window.Zephr.translateFormProps("main:1", {"formType":"CONTACT","formConfig":{"parts":[{"type":"contact-verification","sections":[{"type":"email","order":0,"elements":[{"type":"email_address","id":"6cc6eef6-c695-4e88-9092-d974f280a665","config":{"label":"Your email","placeholder":"<<<forms.common.email-placeholder|Your email address>>>"}},{"type":"button","id":"f6cd805b-29d2-49ea-aaf1-a327061ce192","config":{"text":"Next...","isSubmit":false}}]},{"type":"custom_58882aea-2857-4fb4-b748-7cebfe082a84","label":"<<<forms.common.additional-section|Additional Section>>>","order":1,"elements":[{"type":"text","order":0,"id":"9e83a29b-5b58-4d89-91bf-adb1a1c40902","config":{"text":"<h2>Do you want to receive conference &amp; meet-up updates?</h2>\n<p>We'll email you from time to time with news of in-person events.</p>","centerText":true},"hidden":false},{"type":"user_attribute","order":1,"id":"e39a190d-e7a1-4230-b22a-f624a3aa984f","config":{"slug":"preferences_leaddev_new_york","label":"In person events on the US East Coast","hasCondition":false},"hidden":false},{"type":"user_attribute","order":2,"id":"5c09a012-09e7-4eb4-ab4d-e19174d0f4e0","config":{"slug":"preferences_leaddev_san_francisco","label":"In person events on the US West Coast","hasCondition":false},"hidden":false},{"type":"user_attribute","order":3,"id":"393096b8-62a6-4590-a62f-dce8806c9368","config":{"slug":"preferences_leaddev_london","label":"In person events in London","hasCondition":false},"hidden":false},{"type":"user_attribute","order":4,"id":"851cf076-84f5-47e9-be2c-bed2536872be","config":{"slug":"preferences_leaddev_berlin","label":"In person events in Berlin","hasCondition":false},"hidden":false},{"type":"button","id":"854bd01c-d9f4-460b-a995-03ccdba7efc0","config":{"text":"Next...","isSubmit":false},"order":5,"hidden":false}]},{"type":"custom_55a41fa6-697a-4f9f-825a-1ed3b96ab684","label":"<<<forms.common.additional-section|Additional Section>>>","order":2,"elements":[{"type":"text","order":0,"id":"e254e4c3-9df7-4fd8-81f1-9d2850da143f","config":{"text":"<h2>Also subscribe to these additional newsletters?</h2>","centerText":true},"hidden":false},{"type":"user_attribute","order":1,"id":"e2a1bcb6-a95f-4a75-94db-51ddfe65a55d","config":{"slug":"preferences_staffplus_originals_weekly_original_news_insights_and_updates","label":"StaffPlus: Articles and content for very senior IC","hasCondition":false},"hidden":false},{"type":"user_attribute","order":2,"id":"65e0072f-e3cf-49a3-869f-9e314f08b443","config":{"slug":"preferences_leadingeng_originals_weekly_original_news_insights_and_updates","label":"DirectorPlus: Articles and content for Directors and above","hasCondition":false},"hidden":false},{"type":"text","order":3,"id":"1907bd40-707a-4483-bd15-c0327eea7697","config":{"text":"<p class=\"consent-notice\">By submitting this form you consent to receiving weekly emails containing articles and free online events, as well as any emails selected above, in accordande with the <a href=\"/data-promise\" target=\"_blank\" rel=\"noopener\">LeadDev Privacy Policy</a>. You may unsubscribe at any time using the links in the footer of the emails.</p>","centerText":true},"hidden":false},{"type":"button","id":"473ad2dc-4bc1-4f3d-bab9-3e86c959aa5b","config":{"text":"Subscribe","isSubmit":true},"order":4,"hidden":false}]}]},{"type":"success","sections":[{"type":"success","order":0,"elements":[{"type":"text","id":"78e0f7a3-14a2-48f6-8715-3441bb119db5","order":0,"config":{"text":"<p>That's it! Check your inbox for a welcome email!&nbsp;</p>"}}]}]}],"timestamp":1781952717339,"id":"U-e4chF4","outcomeId":"","ruleId":"H-_article_2024-135","resolvedComponentTemplates":[],"languagePack":{"entries":{"forms.billing.history.date":"Date","forms.billing.history.every":"every","forms.billing.history.period":"Period","forms.billing.history.subtotal":"Subtotal","forms.billing.history.total":"Total","forms.buttons.back-button":"Back","forms.common.account-code.label":"Have an account registration code? Enter it here","forms.common.account-code.placeholder":"e.g. ACCOUNT001","forms.common.additional-section":"Additional Section","forms.common.continue":"Continue","forms.common.current-password":"Current Password","forms.common.divider-text":"or use","forms.common.email":"Email","forms.common.email-edit":"Edit","forms.common.email-placeholder":"Your email address","forms.common.otp.code-sent-to":"A message with a code has been sent to","forms.common.otp.enter-code":"Enter the code in the box below.","forms.common.otp.forgot-password":"Forgot Password?","forms.common.otp.forgot-password-code-sent":"Code sent!","forms.common.otp.label":"Code","forms.common.otp.placeholder":"e.g. 350271","forms.common.otp.resend":"Didn't get a code?","forms.common.otp.resent":"Resent!","forms.common.password":"Password","forms.common.password-confirm":"Confirm Password","forms.common.password-confirm-placeholder":"confirm password...","forms.common.password-hide":"Hide","forms.common.password-placeholder":"password...","forms.common.password-show":"Show","forms.common.password-validator.length":"Must include at least 8 characters","forms.common.password-validator.match":"Passwords match","forms.common.password-validator.number":"Must include a number character","forms.common.password-validator.symbol":"Must include a supported symbol","forms.common.password-validator.uppercase":"Must include an uppercase letter","forms.common.social-sign-in-label":"Continue with","forms.common.submit":"Submit","forms.common.update":"Update","forms.complete-registration-form.default-intro-text":"Set up your password","forms.complete-registration-form.default-success-message":"Thank you for updating your profile.","forms.contact-form.default-intro-text-1":"Stay in touch","forms.contact-form.default-intro-text-2":"Subscribe to our newsletter today","forms.contact-form.default-success-message":"Thank you for submitting your contact information.","forms.data-capture-form.default-intro-text":"Tell us more about you!","forms.data-capture-form.default-success-message":"Thank you for updating your profile.","forms.devices.current-device-label":"Current Device","forms.devices.login-time-label":"Login Time","forms.devices.no-session-message":"No Device sessions recorded","forms.devices.sign-out-button":"Sign Out","forms.devices.sign-out-of-other-devices-button":"Sign Out of Other Devices","forms.devices.your-devices-label":"Your Devices","forms.errors.company-account-not-found":"Account not found","forms.errors.contact-creation-disabled":"This operation is not possible at the moment, please try again later","forms.errors.email-domain-blocked":"Please use a different email address, this domain is not supported","forms.errors.email-taken":"This email address is already registered. Please log in to continue","forms.errors.email-verification-required":"Email verification is required","forms.errors.future-delivery-date-invalid":"Please select a valid future date","forms.errors.future-delivery-date-required":"Please select a future delivery date","forms.errors.future-delivery-date-too-early":"Delivery date must be at least 24 hours in the future","forms.errors.invitation-failed-duplicate-email":"An invite has already been created for this email","forms.errors.invitation-failed-invalid-email":"Invalid email address","forms.errors.invitation-failed-limit-reached":"You have reached the sharing limit for this product","forms.errors.invitation-failed-no-product-access":"You do not currently have access to this product","forms.errors.login-failed":"The email address or password you entered is incorrect","forms.errors.no-authenticated-session":"Please login to update your profile","forms.errors.otp-incorrect":"The code you entered is incorrect","forms.errors.otp-or-password-incorrect":"The password or code you entered is incorrect","forms.errors.otp-send-failed":"Unable to send a verification code. Please try again later","forms.errors.password-reset-failed":"Unable to reset your password. Please try again later","forms.errors.password-reset-link-send-failed":"Unable to send a password reset link. Please try again later","forms.errors.promo-code-expired":"Promo code expired","forms.errors.promo-code-invalid":"Invalid promo code","forms.errors.promo-code-invalid-for-payment-option":"Promo code cannot be applied to selected option","forms.errors.session-limit-reached":"You have reached the session limit. Please log out from another device to access this content","forms.errors.too-many-requests":"To gain login access, please contact your administrator","forms.errors.unknown-error":"Something went wrong. Please try again later","forms.errors.unknown-payment-error":"Something went wrong when processing your payment. Please try again later","forms.errors.user-attribute-invalid":"Invalid user attribute","forms.errors.user-not-found":"User not found","forms.gift-subscription.enable-future-delivery-toggle-description":"Schedule this gift subscription to start on a specific date","forms.gift-subscription.enable-future-delivery-toggle-label":"Schedule for future date","forms.gift-subscription.future-delivery-date-description":"Choose when the gift subscription should start","forms.gift-subscription.future-delivery-date-label":"Start date","forms.gift-subscription.future-delivery-date-placeholder":"Select start date","forms.list-subscriptions.billing-history-link":"Billing history","forms.list-subscriptions.billing-history-text":"To see previous invoices visit","forms.list-subscriptions.cancel-subscription-text":"Cancel subscription","forms.list-subscriptions.change-default-payment-method-button":"Change Default Payment Method","forms.list-subscriptions.change-payment-method-button":"Change Payment Method","forms.list-subscriptions.change-payment-success-text":"Payment successfully changed","forms.list-subscriptions.change-subscription-text":"Change subscription","forms.list-subscriptions.custom-fields-section-description":"Update your subscription information below","forms.list-subscriptions.custom-fields-section-title":"Update Subscription Details","forms.list-subscriptions.custom-fields-submit-button-text":"Update Details","forms.list-subscriptions.delivery-address-line-1-label":"Delivery Address Line 1","forms.list-subscriptions.delivery-address-line-1-placeholder":"Enter delivery address line 1","forms.list-subscriptions.delivery-address-line-2-label":"Delivery Address Line 2","forms.list-subscriptions.delivery-address-line-2-placeholder":"Enter delivery address line 2","forms.list-subscriptions.delivery-city-label":"Delivery City","forms.list-subscriptions.delivery-city-placeholder":"Enter delivery city","forms.list-subscriptions.delivery-country-label":"Delivery Country","forms.list-subscriptions.delivery-country-placeholder":"Enter delivery country","forms.list-subscriptions.delivery-information-description":"Manage your delivery address and preferences","forms.list-subscriptions.delivery-information-title":"Delivery Information","forms.list-subscriptions.delivery-postcode-label":"Delivery Postcode","forms.list-subscriptions.delivery-postcode-placeholder":"Enter delivery postcode","forms.list-subscriptions.next-payment-date":"Next payment date","forms.list-subscriptions.no-subscriptions-message":"You don't have any subscriptions","forms.list-subscriptions.subscription-rate-label":"Subscription rate","forms.list-subscriptions.suspend-resume-subscription-text":"Suspend/Resume subscription","forms.list-subscriptions.view-past-subscriptions-link":"View past subscriptions","forms.payment.account-verification-section":"Account Verification","forms.payment.invitation-button":"Send Invite","forms.payment.invitation-description":"You can invite people by entering their email","forms.payment.invitation-label":"Email Address","forms.payment.invitation-link-sent":"Invite sent!","forms.payment.invitation-title":"Invite people to your sharable plan","forms.payment.login":"Login","forms.payment.login-link":"Login","forms.payment.login-link-message":"Already a registered user?","forms.payment.password-setup-text":"Create an account","forms.payment.payment-button":"Confirm and process payment","forms.payment.payment-option-select-button":"Select Plan","forms.payment.payment-section":"Payment Details","forms.payment.payment-summary-disclaimer":"Today's payment may vary","forms.payment.payment-summary-prorate":"DUE TODAY","forms.payment.payment-summary-tax":"Tax","forms.payment.payment-summary-title":"Subscription","forms.payment.payment-summary-total":"TOTAL","forms.payment.plan-select-section":"Plan Select","forms.payment.promo-code-button":"Verify","forms.payment.promo-code-placeholder":"Promo code","forms.payment.promo-code-text":"Have a promo code?","forms.payment.reset-password-text":"Reset your password","forms.payment.success-button":"Continue Reading","forms.payment.success-message":"Payment processed successfully","forms.registration.account-verification-section":"Account Verification","forms.registration.default-intro-text":"You've reached the limit of free articles","forms.registration.email-verification-required-message":"A link has been sent to you. Please check your Email.","forms.registration.login":"Login","forms.registration.login-link-text":"A login link has been sent to","forms.registration.password-setup-section":"Password Setup","forms.registration.password-setup-text":"Create an account","forms.registration.resend-login-link":"Didn't get a link?","forms.registration.resend-login-link-resent":"Resent!","forms.registration.reset":"Reset!","forms.registration.reset-password-text":"Reset your password","forms.registration.success-button":"Continue Reading","forms.registration.success-message":"You have signed up successfully!","forms.subscription-cancel.back-button":"Back","forms.subscription-cancel.back-cancellation-button":"Back","forms.subscription-cancel.cancel-button":"Cancel Subscription","forms.subscription-cancel.confirm-text":"Are you sure you want to cancel?","forms.subscription-cancel.continue-cancel-button":"Continue Cancellation","forms.subscription-cancel.intro-text":"Select a subscription to cancel","forms.subscription-cancel.offer-text":"<h2>We are sorry to see you go</h2>Here is a special offer just for you.","forms.subscription-cancel.payment-option-select-button":"Accept Offer","forms.subscription-cancel.reason-text":"<h2>We would like to hear your feedback</h2>We'd appreciate it if you could to take a moment to let us know why you are cancelling.","forms.subscription-cancel.success-text":"Your subscription has been cancelled","forms.subscription-select.amount-label":"Amount:","forms.subscription-select.intro-text":"Select a subscription to upgrade","forms.subscription-select.next-billing-date-label":"Next billing date:","forms.subscription-select.no-change-plan-mapping-message":"No upgrade options are available for this subscription","forms.subscription-select.no-subscriptions-message":"No subscriptions available","forms.subscription-select.select-button":"Select","forms.suspend-resume-subscription.back-button":"Back to Home","forms.suspend-resume-subscription.intro-text":"Select a subscription to suspend or resume","forms.suspend-resume-subscription.resume-date-label":"Resume date:","forms.suspend-resume-subscription.success-text":"Your subscription has been suspended","forms.suspend-resume-subscription.suspension-date-label":"Suspension date:","forms.update-profile.update-email-title":"<h2>Update Email Address</h2>","forms.update-profile.update-password-title":"<h2>Update Password</h2>","forms.update-profile.your-profile":"Your Profile","forms.update-profile.your-profile-title":"<h2>Your Profile</h2>","hidden.example-key":"Hello world","hidden.form-preview.locale":"en-US","hidden.forms-preview.example-payment-option-description":"Example Payment Option","hidden.forms-preview.example-payment-option-label":"Example Offer","interstitial-page.password-reset.new-password":"New password:","interstitial-page.password-reset.password-mismatch-error":"You did not enter the same password twice","interstitial-page.password-reset.repeat-password":"Repeat password:","interstitial-page.password-reset.reset-button":"Reset","interstitial-page.password-reset.return-home-link":"Go back to the site","interstitial-page.password-reset.success-message":"Your password has been reset successfully!","interstitial-page.password-reset.title":"Change your password","interstitial-page.password-reset.unknown-error":"Something went wrong! Please try again later.","interstitial-page.passwordless-login.title":"Welcome","interstitial-page.update-email.enter-password":"Please enter your current password to complete the email update request.","interstitial-page.update-email.incorrect-password-error":"Incorrect password.","interstitial-page.update-email.password":"Password:","interstitial-page.update-email.return-home-link":"Go back to the site","interstitial-page.update-email.submit-button":"Update","interstitial-page.update-email.title":"Changing your email","interstitial-page.update-email.unknown-error":"Something went wrong! Please try again later.","interstitial-page.update-email-passwordless.message":"Please check the inbox of your new email for further instructions.","interstitial-page.update-email-passwordless.title":"Changing your email","interstitial-page.update-email-passwordless-success.message":"You have successfully changed your email address.","interstitial-page.update-email-passwordless-success.title":"Changing your email","interstitial-page.update-email-success.message":"Your email has been updated successfully!","pages.account-management.account-select-dropdown":"Select account","pages.account-management.delete-link":"Delete","pages.account-management.delete-modal-body":"Are you sure you want to delete this user?","pages.account-management.delete-modal-button":"Yes Delete","pages.account-management.delete-modal-title":"You are about to delete user","pages.account-management.delete-success-modal-body":"has been successfully deleted.","pages.account-management.delete-success-modal-title":"User Deleted","pages.account-management.errors.already-exists":"already exists","pages.account-management.errors.delete-fail":"Failed to delete","pages.account-management.errors.invite-fail":"Could not invite user","pages.account-management.invite-button-text":"Invite a User","pages.account-management.invite-modal-cancel-button":"Cancel","pages.account-management.invite-modal-confirm-button":"Invite User","pages.account-management.invite-modal-email-label":"Email Address","pages.account-management.invite-modal-email-placeholder":"Enter Email Address","pages.account-management.invite-modal-title":"Invite User","pages.account-management.invite-success-modal-body":"An invite has been sent to","pages.account-management.no-users":"No users found","pages.account-management.owner":"Owner","pages.account-management.search-button-text":"Search","pages.account-management.search-placeholder-text":"Search for a user","pages.account-management.success-modal-button":"Close","pages.account-management.title":"Manage Your Users","pages.cancel.back-to-subscriptions":"Back to Subscriptions","pages.cancel.cancel-subscription":"Cancel Subscription","pages.cancel.cancelled":"Cancelled","pages.cancel.continue-subscription":"Continue Subscription","pages.cancel.days-left":"DAYS LEFT:","pages.cancel.plan-frequency":"Frequency","pages.cancel.plan-name":"Name","pages.cancel.plan-next-billing":"Next Billing","pages.cancel.plan-period":"Period","pages.cancel.plan-price":"Price","pages.cancel.plan-type":"Type","pages.cancel.select-plans":"Select the plans you wish to cancel","pages.cancel.status-active":"Active","pages.cancel.status-cancelled":"Cancelled","pages.cancel.status-draft":"Draft","pages.cancel.status-expired":"Expired","pages.cancel.status-pending-acceptance":"Pending Acceptance","pages.cancel.status-pending-activation":"Pending Activation","pages.cancel.status-suspended":"Suspended","pages.cancel.status-unknown":"Unknown","pages.cancel.subscription-ends-on":"Subscription ends on","pages.cancel.subscription-will-end-on":"Your subscription will end on","pages.cancel.success":"You've cancelled your subscription","pages.cancel.until-cancelled":"Until Cancelled","pages.common.collapsible-content-text":"See details","pages.common.confirmation-modal-cancel-button":"Cancel","pages.common.confirmation-modal-confirm-button":"Confirm","pages.common.confirmation-primary-error-message":"Something went wrong!","pages.common.confirmation-secondary-error-message":"Try again later.","pages.common.date-time-format-locale":"en-US","pages.common.input-errors-invalid-email":"Please enter a valid email","pages.common.input-errors-invalid-url":"Please enter a valid URL","pages.common.input-errors-missing-value":"Please enter a value","pages.common.loading":"Loading...","pages.common.no-access-back-link":"Go Back","pages.common.no-access-body":"Sorry, you are not allowed to access this page. Click the button to go back.","pages.common.no-access-title":"No access.","pages.common.password-hide":"Hide","pages.common.password-show":"Show","pages.login-reg.already-registered-sign-in":"Already registered? Sign in","pages.login-reg.cancel":"Cancel","pages.login-reg.complete-registration-button":"Complete Registration","pages.login-reg.continue-with-apple":"Continue with Apple","pages.login-reg.continue-with-facebook":"Continue with Facebook","pages.login-reg.continue-with-google":"Continue with Google","pages.login-reg.continue-with-linkedin":"Continue with Linkedin","pages.login-reg.continue-with-microsoft":"Continue with Microsoft","pages.login-reg.continue-with-open-id-connect":"Continue with Open ID Connect","pages.login-reg.continue-with-twitter":"Continue with X","pages.login-reg.create-account":"Create an account","pages.login-reg.email-me-login-link":"Email me login link","pages.login-reg.email-me-reset-code":"Email me reset code","pages.login-reg.email-placeholder":"Email Address","pages.login-reg.enter-account-reg-code-here":"Enter an account registration code here","pages.login-reg.errors.contact-admin":"Please contact the administrator","pages.login-reg.errors.email-already-taken":"Email already taken","pages.login-reg.errors.email-verification-required":"Email verification is required","pages.login-reg.errors.password-incorrect":"The password you entered is incorrect","pages.login-reg.errors.password-not-strong-enough":"Password is not strong enough","pages.login-reg.errors.seat-capacity":"Your registration request couldn't be completed due to account seat capacity issue.","pages.login-reg.errors.something-went-wrong":"Something went wrong!","pages.login-reg.errors.to-gain-access-contact-admin":"To gain login access, please contact your administrator","pages.login-reg.errors.try-again-later":"Please try again later.","pages.login-reg.errors.user-not-found":"User not found","pages.login-reg.errors.username-already-taken":"Username already taken","pages.login-reg.forgotten-password":"Forgotten Password?","pages.login-reg.logging-in":"Logging in...","pages.login-reg.login-button":"Login","pages.login-reg.login-to-account":"Login to your account","pages.login-reg.or":"Or","pages.login-reg.password-placeholder":"Password","pages.login-reg.password-requirement":"Password must be a minimum of 8 characters and contain uppercase and lowercase, numbers and at least 1 special character.","pages.login-reg.register-button":"Register","pages.login-reg.register-for-account":"Register for an account","pages.login-reg.reset-your-password":"Reset your password","pages.login-reg.wait":"Please wait...","pages.pref-center.devices.current-device":"Current Device","pages.pref-center.devices.error-loading":"There was an error getting the device list","pages.pref-center.devices.sign-in-time":"Login date and time:","pages.pref-center.devices.sign-out":"Sign out","pages.pref-center.devices.sign-out-all":"Sign out of all other devices","pages.pref-center.devices.sign-out-all-success":"All other devices are now signed out","pages.pref-center.devices.sign-out-fail":"Signing out failed","pages.pref-center.devices.sign-out-success":"is now signed out.","pages.pref-center.devices.title":"Your Devices","pages.pref-center.devices.unknown-device":"Unknown","pages.pref-center.email-update-passwordless-message":"A link has been sent to your current email. Please check your inbox.","pages.pref-center.email-update-passwordless-title":"Check Your Inbox","pages.pref-center.general-error":"Something went wrong - please try again later","pages.pref-center.profile.attributes-select-list-placeholder":"Select One","pages.pref-center.profile.attributes-update-save":"Save","pages.pref-center.profile.attributes-update-title":"Your profile","pages.pref-center.profile.email":"Email Address","pages.pref-center.profile.email-update-email-label":"New Email","pages.pref-center.profile.email-update-email-placeholder":"Enter Email","pages.pref-center.profile.email-update-password-label":"Your Password","pages.pref-center.profile.email-update-password-placeholder":"Enter password","pages.pref-center.profile.email-update-save":"Save","pages.pref-center.profile.email-update-step-2-title":"Update Email Address","pages.pref-center.profile.email-update-title":"Update Email Address","pages.pref-center.profile.errors.change-email-error":"Sorry but your email address has not been changed. Please try again.","pages.pref-center.profile.errors.change-password-error":"Sorry but we were unable to reset your password. Please try again.","pages.pref-center.profile.errors.email-already-taken-error":"This email address is already taken.","pages.pref-center.profile.errors.incorrect-code":"Entered code is incorrect","pages.pref-center.profile.errors.incorrect-password":"The password you entered is incorrect","pages.pref-center.profile.errors.password-validation-error":"Password is not strong enough","pages.pref-center.profile.errors.unsuccessful":"Unsuccessful","pages.pref-center.profile.errors.update-profile-error":"Sorry but we were unable to update your profile. Please try again.","pages.pref-center.profile.password":"Password","pages.pref-center.profile.password-update-current-password-label":"Current Password","pages.pref-center.profile.password-update-current-password-placeholder":"Enter your password","pages.pref-center.profile.password-update-new-password-label":"New Password","pages.pref-center.profile.password-update-new-password-placeholder":"Enter a password","pages.pref-center.profile.password-update-save":"Continue","pages.pref-center.profile.password-update-step-2-title":"Reset your password","pages.pref-center.profile.password-update-title":"Update Password","pages.pref-center.profile.title":"Your Profile","pages.pref-center.profile.update":"Update","pages.pref-center.profile.update-email-successful":"Your email address has been changed.","pages.pref-center.profile.update-password-successful":"Your password has been reset.","pages.pref-center.profile.update-profile-successful":"Your profile has been updated.","pages.pref-center.profile.update-return-text":"Return to Personal Information","pages.pref-center.profile.update-step-2-code-label":"Code","pages.pref-center.profile.update-step-2-code-placeholder":"e.g. 350271","pages.pref-center.profile.update-step-2-enter-code":"Enter the code in the box below.","pages.pref-center.profile.update-step-2-message-sent":"A message with a code has been sent to email address:","pages.pref-center.profile.update-step-2-new-code-modal-body":"Would you like to send a new verification code to","pages.pref-center.profile.update-step-2-new-code-modal-button":"Resend Code","pages.pref-center.profile.update-step-2-new-code-modal-title":"Get a new verification code","pages.pref-center.profile.update-step-2-resend-code-link-text":"Didn't get a code?","pages.pref-center.profile.update-step-2-save":"Submit","pages.pref-center.profile.update-successful":"Success","pages.pref-center.share-product.modal-body":"You can invite people by entering their email. Available seats:","pages.pref-center.share-product.modal-email-label":"Email Address","pages.pref-center.share-product.modal-email-placeholder":"Enter Email Address","pages.pref-center.share-product.modal-send-button-text":"Send Invite","pages.pref-center.share-product.modal-title":"Invite people to your sharable subscription","pages.pref-center.shared-members.done-button":"Done","pages.pref-center.shared-members.invite-button-text":"Invite new members","pages.pref-center.shared-members.manage-shared-members-title":"Manage shared members","pages.pref-center.shared-members.no-members":"This product is not currently shared with anyone.","pages.pref-center.shared-members.seats-used":"seats used","pages.pref-center.shared-members.status-active":"Active","pages.pref-center.shared-members.status-inactive":"Inactive","pages.pref-center.shared-members.status-pending":"Pending","pages.pref-center.shared-members.table-header-date":"Date Shared","pages.pref-center.shared-members.table-header-email":"Email Address","pages.pref-center.shared-members.table-header-status":"Status","pages.pref-center.shared-members.table-remove-member":"Remove member","pages.pref-center.shared-members.title":"Shared Members","pages.pref-center.shared-products.errors.existing-invite-error":"An invite has already been created for this email","pages.pref-center.shared-products.errors.invalid-email-error":"Invalid email address","pages.pref-center.shared-products.errors.limit-reached-error":"You have reached the sharing limit for this product","pages.pref-center.shared-products.errors.no-access-error":"You do not currently have access to this product","pages.pref-center.shared-products.leave-product-body":"Are you sure you want to leave this shared product?","pages.pref-center.shared-products.leave-product-title":"Leave Product","pages.pref-center.shared-products.no-subscriptions":"You do not currently have any products shared with you.","pages.pref-center.shared-products.remove-invite-body":"Are you sure you want to remove this pending invite from your subscription?","pages.pref-center.shared-products.remove-invite-title":"Remove Invite","pages.pref-center.shared-products.remove-member-body":"Are you sure you want to remove this user from your subscription?","pages.pref-center.shared-products.remove-member-title":"Remove Member","pages.pref-center.shared-products.remove-subscription":"Leave shared subscription","pages.pref-center.shared-products.shared-by":"Shared by","pages.pref-center.subscriptions.billing-history-link":"Billing History.","pages.pref-center.subscriptions.billing-history-table-canceled":"Subscription canceled","pages.pref-center.subscriptions.billing-history-table-header-date":"Date","pages.pref-center.subscriptions.billing-history-table-header-period":"Subscription Period","pages.pref-center.subscriptions.billing-history-table-header-subtotal":"Subtotal","pages.pref-center.subscriptions.billing-history-table-header-total":"Total","pages.pref-center.subscriptions.billing-history-title":"Billing History","pages.pref-center.subscriptions.cancel-subscription-confirm-modal-body":"Your subscription has been canceled.","pages.pref-center.subscriptions.cancel-subscription-confirm-modal-button":"Close","pages.pref-center.subscriptions.cancel-subscription-confirm-modal-title":"Subscription canceled","pages.pref-center.subscriptions.cancel-subscription-modal-body":"Are you sure you want to cancel the subscription","pages.pref-center.subscriptions.cancel-subscription-modal-button":"Cancel Subscription","pages.pref-center.subscriptions.cancel-subscription-modal-title":"Cancel your subscription","pages.pref-center.subscriptions.cancel-subscription-title":"Cancel your subscription","pages.pref-center.subscriptions.canceled-date":"Canceled on","pages.pref-center.subscriptions.change-multi-subscription-screen-active-subscription":"active","pages.pref-center.subscriptions.change-multi-subscription-screen-best-value":"best value","pages.pref-center.subscriptions.change-multi-subscription-screen-cancel-subscriptions-confirm-modal-body":"Your subscriptions have been canceled.","pages.pref-center.subscriptions.change-multi-subscription-screen-cancel-subscriptions-confirm-modal-title":"Subscriptions canceled","pages.pref-center.subscriptions.change-multi-subscription-screen-cancel-subscriptions-modal-title":"Cancel your subscriptions","pages.pref-center.subscriptions.change-multi-subscription-screen-cancel-subscriptions-text":"Cancel Subscriptions","pages.pref-center.subscriptions.change-multi-subscription-screen-current-subscription":"current subscription","pages.pref-center.subscriptions.change-multi-subscription-screen-current-subscriptions-title":"Current Subscriptions","pages.pref-center.subscriptions.change-multi-subscription-screen-edit-subscription-text":"Edit","pages.pref-center.subscriptions.change-multi-subscription-screen-new-subscriptions-title":"New Subscriptions","pages.pref-center.subscriptions.change-multi-subscription-screen-review-button":"Review Changes","pages.pref-center.subscriptions.change-multi-subscription-screen-title":"Manage Subscriptions","pages.pref-center.subscriptions.change-payment-method-description":"Adjust how you pay for the product.","pages.pref-center.subscriptions.change-payment-method-screen-description":"This credit card will be used as the payment method for the following subscription:","pages.pref-center.subscriptions.change-payment-method-screen-save-button":"Save","pages.pref-center.subscriptions.change-payment-method-screen-title":"Enter Payment Detail","pages.pref-center.subscriptions.change-payment-method-title":"Change payment method","pages.pref-center.subscriptions.change-single-subscription-screen-add-new":"Add a new card","pages.pref-center.subscriptions.change-single-subscription-screen-best-value":"Best Value","pages.pref-center.subscriptions.change-single-subscription-screen-confirm-button":"CONFIRM & PROCESS PAYMENT","pages.pref-center.subscriptions.change-single-subscription-screen-current-subscription-title":"Current Subscription","pages.pref-center.subscriptions.change-single-subscription-screen-existing-payment":"Use existing payment method","pages.pref-center.subscriptions.change-single-subscription-screen-new-subscription-description":"Change your current subscription for another.","pages.pref-center.subscriptions.change-single-subscription-screen-new-subscription-title":"Change Subscription","pages.pref-center.subscriptions.change-single-subscription-screen-payment-method-selection":"Payment Method","pages.pref-center.subscriptions.change-single-subscription-screen-review-button":"Review Changes","pages.pref-center.subscriptions.change-single-subscription-screen-select-plan":"Select Plan","pages.pref-center.subscriptions.change-single-subscription-screen-selected-plan":"Selected Plan","pages.pref-center.subscriptions.change-single-subscription-screen-title":"Manage Subscription","pages.pref-center.subscriptions.change-single-subscription-title":"Change your subscription","pages.pref-center.subscriptions.change-subscription-description":"Adjust what products you have access to.","pages.pref-center.subscriptions.change-subscriptions-title":"Change your subscriptions","pages.pref-center.subscriptions.invoices-text":"To see previous invoices visit","pages.pref-center.subscriptions.manage-single-subscription-title":"Manage Subscription","pages.pref-center.subscriptions.manage-subscriptions-title":"Manage Subscriptions","pages.pref-center.subscriptions.next-payment-title":"Next payment date","pages.pref-center.subscriptions.no-subscriptions":"You don't have any subscriptions.","pages.pref-center.subscriptions.one-off-expiry-date":"Expiry Date","pages.pref-center.subscriptions.one-off-price-title":"Price","pages.pref-center.subscriptions.payment-information-title":"Payment Information","pages.pref-center.subscriptions.payment-processing-text":"(payment processing)","pages.pref-center.subscriptions.product-canceled":"Product canceled","pages.pref-center.subscriptions.return-to-subscription-text":"Return to Subscription","pages.pref-center.subscriptions.return-to-subscriptions-text":"Return to Subscriptions","pages.pref-center.subscriptions.subscription-rate-title":"Subscription rate","pages.pref-center.subscriptions.update-success":"Update success"}}},"formTypeConfig":{"showSuccessOnFormCompletion":true,"autoApplyAttributes":{"user-actions-json":"[{\"type\":\"Registration\",\"action\":\"DATAWALL-NEWSLETTER-ONLY\",\"date_time\":\"Wed, 02 Oct 2024 00:00:00 GMT\"}]","preferences-last-saved":"2020-10-01T00:00:00+00:00","preferences_leaddev_broadcasts_events_webinars_and_call_for_proposals_cfp":"true","preferences_leaddev_originals_weekly_original_news_insights_and_updates":"true"},"requestCountry":"US","requestState":"California","requestCity":"Los Angeles","requestZipCode":"90014"},"organisationConfig":{"schemaFields":[{"slug":"business-email","visibility":"PUBLIC","label":"Business Email","required":false,"public-description":"","validation-expression":null,"input-type":"email","select-options":null,"range-start":null,"range-end":null,"range-step":null},{"slug":"challenges","visibility":"PUBLIC","label":"Challenges","required":false,"public-description":"Top challenges","validation-expression":null,"input-type":"textarea","select-options":null,"range-start":null,"range-end":null,"range-step":null},{"slug":"city","visibility":"PUBLIC","label":"City","required":false,"public-description":"","validation-expression":null,"input-type":"text","select-options":null,"range-start":null,"range-end":null,"range-step":null},{"slug":"company","visibility":"PUBLIC","label":"Company","required":false,"public-description":"","validation-expression":null,"input-type":"text","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"company-size","visibility":"PUBLIC","label":"Company size","required":false,"public-description":"","validation-expression":null,"input-type":"select","select-options":[{"label":"1-99","value":"1-99 employees","default":false},{"label":"100-249","value":"100-249 employees","default":false},{"label":"250-499","value":"250-499 employees","default":false},{"label":"500-999","value":"500-999 employees","default":false},{"label":"1000+","value":"1000 or more employees","default":false}],"range-start":0,"range-end":100,"range-step":5},{"slug":"consent","visibility":"PUBLIC","label":"Send me LeadDev Originals, a weekly email with the latest articles and events on LeadDev.com","required":false,"public-description":"","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"country","visibility":"PUBLIC","label":"Country","required":false,"public-description":"","validation-expression":null,"input-type":"select","select-options":[{"label":"Afghanistan","value":"Afghanistan","default":false},{"label":"Åland Islands","value":"Åland Islands","default":false},{"label":"Albania","value":"Albania","default":false},{"label":"Algeria","value":"Algeria","default":false},{"label":"American Samoa","value":"American Samoa","default":false},{"label":"Andorra","value":"Andorra","default":false},{"label":"Angola","value":"Angola","default":false},{"label":"Anguilla","value":"Anguilla","default":false},{"label":"Antarctica","value":"Antarctica","default":false},{"label":"Antigua & Barbuda","value":"Antigua & Barbuda","default":false},{"label":"Argentina","value":"Argentina","default":false},{"label":"Armenia","value":"Armenia","default":false},{"label":"Aruba","value":"Aruba","default":false},{"label":"Ascension Island","value":"Ascension Island","default":false},{"label":"Australia","value":"Australia","default":false},{"label":"Austria","value":"Austria","default":false},{"label":"Azerbaijan","value":"Azerbaijan","default":false},{"label":"Bahamas","value":"Bahamas","default":false},{"label":"Bahrain","value":"Bahrain","default":false},{"label":"Bangladesh","value":"Bangladesh","default":false},{"label":"Barbados","value":"Barbados","default":false},{"label":"Belarus","value":"Belarus","default":false},{"label":"Belgium","value":"Belgium","default":false},{"label":"Belize","value":"Belize","default":false},{"label":"Benin","value":"Benin","default":false},{"label":"Bermuda","value":"Bermuda","default":false},{"label":"Bhutan","value":"Bhutan","default":false},{"label":"Bolivia","value":"Bolivia","default":false},{"label":"Bosnia & Herzegovina","value":"Bosnia & Herzegovina","default":false},{"label":"Botswana","value":"Botswana","default":false},{"label":"Brazil","value":"Brazil","default":false},{"label":"British Indian Ocean Territory","value":"British Indian Ocean Territory","default":false},{"label":"British Virgin Islands","value":"British Virgin Islands","default":false},{"label":"Brunei","value":"Brunei","default":false},{"label":"Bulgaria","value":"Bulgaria","default":false},{"label":"Burkina Faso","value":"Burkina Faso","default":false},{"label":"Burundi","value":"Burundi","default":false},{"label":"Cambodia","value":"Cambodia","default":false},{"label":"Cameroon","value":"Cameroon","default":false},{"label":"Canada","value":"Canada","default":false},{"label":"Canary Islands","value":"Canary Islands","default":false},{"label":"Cape Verde","value":"Cape Verde","default":false},{"label":"Caribbean Netherlands","value":"Caribbean Netherlands","default":false},{"label":"Cayman Islands","value":"Cayman Islands","default":false},{"label":"Central African Republic","value":"Central African Republic","default":false},{"label":"Ceuta & Melilla","value":"Ceuta & Melilla","default":false},{"label":"Chad","value":"Chad","default":false},{"label":"Chile","value":"Chile","default":false},{"label":"China","value":"China","default":false},{"label":"Christmas Island","value":"Christmas Island","default":false},{"label":"Cocos (Keeling) Islands","value":"Cocos (Keeling) Islands","default":false},{"label":"Colombia","value":"Colombia","default":false},{"label":"Comoros","value":"Comoros","default":false},{"label":"Congo - Brazzaville","value":"Congo - Brazzaville","default":false},{"label":"Congo - Kinshasa","value":"Congo - Kinshasa","default":false},{"label":"Cook Islands","value":"Cook Islands","default":false},{"label":"Costa Rica","value":"Costa Rica","default":false},{"label":"Côte d’Ivoire","value":"Côte d’Ivoire","default":false},{"label":"Croatia","value":"Croatia","default":false},{"label":"Cuba","value":"Cuba","default":false},{"label":"Curaçao","value":"Curaçao","default":false},{"label":"Cyprus","value":"Cyprus","default":false},{"label":"Czechia","value":"Czechia","default":false},{"label":"Denmark","value":"Denmark","default":false},{"label":"Diego Garcia","value":"Diego Garcia","default":false},{"label":"Djibouti","value":"Djibouti","default":false},{"label":"Dominica","value":"Dominica","default":false},{"label":"Dominican Republic","value":"Dominican Republic","default":false},{"label":"Ecuador","value":"Ecuador","default":false},{"label":"Egypt","value":"Egypt","default":false},{"label":"El Salvador","value":"El Salvador","default":false},{"label":"Equatorial Guinea","value":"Equatorial Guinea","default":false},{"label":"Eritrea","value":"Eritrea","default":false},{"label":"Estonia","value":"Estonia","default":false},{"label":"Ethiopia","value":"Ethiopia","default":false},{"label":"Falkland Islands","value":"Falkland Islands","default":false},{"label":"Faroe Islands","value":"Faroe Islands","default":false},{"label":"Fiji","value":"Fiji","default":false},{"label":"Finland","value":"Finland","default":false},{"label":"France","value":"France","default":false},{"label":"French Guiana","value":"French Guiana","default":false},{"label":"French Polynesia","value":"French Polynesia","default":false},{"label":"French Southern Territories","value":"French Southern Territories","default":false},{"label":"Gabon","value":"Gabon","default":false},{"label":"Gambia","value":"Gambia","default":false},{"label":"Georgia","value":"Georgia","default":false},{"label":"Germany","value":"Germany","default":false},{"label":"Ghana","value":"Ghana","default":false},{"label":"Gibraltar","value":"Gibraltar","default":false},{"label":"Greece","value":"Greece","default":false},{"label":"Greenland","value":"Greenland","default":false},{"label":"Grenada","value":"Grenada","default":false},{"label":"Guadeloupe","value":"Guadeloupe","default":false},{"label":"Guam","value":"Guam","default":false},{"label":"Guatemala","value":"Guatemala","default":false},{"label":"Guernsey","value":"Guernsey","default":false},{"label":"Guinea","value":"Guinea","default":false},{"label":"Guinea-Bissau","value":"Guinea-Bissau","default":false},{"label":"Guyana","value":"Guyana","default":false},{"label":"Haiti","value":"Haiti","default":false},{"label":"Honduras","value":"Honduras","default":false},{"label":"Hong Kong","value":"Hong Kong","default":false},{"label":"Hungary","value":"Hungary","default":false},{"label":"Iceland","value":"Iceland","default":false},{"label":"India","value":"India","default":false},{"label":"Indonesia","value":"Indonesia","default":false},{"label":"Iran","value":"Iran","default":false},{"label":"Iraq","value":"Iraq","default":false},{"label":"Ireland","value":"Ireland","default":false},{"label":"Isle of Man","value":"Isle of Man","default":false},{"label":"Israel","value":"Israel","default":false},{"label":"Italy","value":"Italy","default":false},{"label":"Jamaica","value":"Jamaica","default":false},{"label":"Japan","value":"Japan","default":false},{"label":"Jersey","value":"Jersey","default":false},{"label":"Jordan","value":"Jordan","default":false},{"label":"Kazakhstan","value":"Kazakhstan","default":false},{"label":"Kenya","value":"Kenya","default":false},{"label":"Kiribati","value":"Kiribati","default":false},{"label":"Kosovo","value":"Kosovo","default":false},{"label":"Kuwait","value":"Kuwait","default":false},{"label":"Kyrgyzstan","value":"Kyrgyzstan","default":false},{"label":"Laos","value":"Laos","default":false},{"label":"Latvia","value":"Latvia","default":false},{"label":"Lebanon","value":"Lebanon","default":false},{"label":"Lesotho","value":"Lesotho","default":false},{"label":"Liberia","value":"Liberia","default":false},{"label":"Libya","value":"Libya","default":false},{"label":"Liechtenstein","value":"Liechtenstein","default":false},{"label":"Lithuania","value":"Lithuania","default":false},{"label":"Luxembourg","value":"Luxembourg","default":false},{"label":"Macau","value":"Macau","default":false},{"label":"Macedonia","value":"Macedonia","default":false},{"label":"Madagascar","value":"Madagascar","default":false},{"label":"Malawi","value":"Malawi","default":false},{"label":"Malaysia","value":"Malaysia","default":false},{"label":"Maldives","value":"Maldives","default":false},{"label":"Mali","value":"Mali","default":false},{"label":"Malta","value":"Malta","default":false},{"label":"Marshall Islands","value":"Marshall Islands","default":false},{"label":"Martinique","value":"Martinique","default":false},{"label":"Mauritania","value":"Mauritania","default":false},{"label":"Mauritius","value":"Mauritius","default":false},{"label":"Mayotte","value":"Mayotte","default":false},{"label":"Mexico","value":"Mexico","default":false},{"label":"Micronesia","value":"Micronesia","default":false},{"label":"Moldova","value":"Moldova","default":false},{"label":"Monaco","value":"Monaco","default":false},{"label":"Mongolia","value":"Mongolia","default":false},{"label":"Montenegro","value":"Montenegro","default":false},{"label":"Montserrat","value":"Montserrat","default":false},{"label":"Morocco","value":"Morocco","default":false},{"label":"Mozambique","value":"Mozambique","default":false},{"label":"Myanmar (Burma)","value":"Myanmar (Burma)","default":false},{"label":"Namibia","value":"Namibia","default":false},{"label":"Nauru","value":"Nauru","default":false},{"label":"Nepal","value":"Nepal","default":false},{"label":"Netherlands","value":"Netherlands","default":false},{"label":"New Caledonia","value":"New Caledonia","default":false},{"label":"New Zealand","value":"New Zealand","default":false},{"label":"Nicaragua","value":"Nicaragua","default":false},{"label":"Niger","value":"Niger","default":false},{"label":"Nigeria","value":"Nigeria","default":false},{"label":"Niue","value":"Niue","default":false},{"label":"Norfolk Island","value":"Norfolk Island","default":false},{"label":"North Korea","value":"North Korea","default":false},{"label":"Northern Mariana Islands","value":"Northern Mariana Islands","default":false},{"label":"Norway","value":"Norway","default":false},{"label":"Oman","value":"Oman","default":false},{"label":"Pakistan","value":"Pakistan","default":false},{"label":"Palau","value":"Palau","default":false},{"label":"Palestinian Territories","value":"Palestinian Territories","default":false},{"label":"Panama","value":"Panama","default":false},{"label":"Papua New Guinea","value":"Papua New Guinea","default":false},{"label":"Paraguay","value":"Paraguay","default":false},{"label":"Peru","value":"Peru","default":false},{"label":"Philippines","value":"Philippines","default":false},{"label":"Pitcairn Islands","value":"Pitcairn Islands","default":false},{"label":"Poland","value":"Poland","default":false},{"label":"Portugal","value":"Portugal","default":false},{"label":"Puerto Rico","value":"Puerto Rico","default":false},{"label":"Qatar","value":"Qatar","default":false},{"label":"Réunion","value":"Réunion","default":false},{"label":"Romania","value":"Romania","default":false},{"label":"Russia","value":"Russia","default":false},{"label":"Rwanda","value":"Rwanda","default":false},{"label":"Samoa","value":"Samoa","default":false},{"label":"San Marino","value":"San Marino","default":false},{"label":"São Tomé & Príncipe","value":"São Tomé & Príncipe","default":false},{"label":"Saudi Arabia","value":"Saudi Arabia","default":false},{"label":"Senegal","value":"Senegal","default":false},{"label":"Serbia","value":"Serbia","default":false},{"label":"Seychelles","value":"Seychelles","default":false},{"label":"Sierra Leone","value":"Sierra Leone","default":false},{"label":"Singapore","value":"Singapore","default":false},{"label":"Sint Maarten","value":"Sint Maarten","default":false},{"label":"Slovakia","value":"Slovakia","default":false},{"label":"Slovenia","value":"Slovenia","default":false},{"label":"Solomon Islands","value":"Solomon Islands","default":false},{"label":"Somalia","value":"Somalia","default":false},{"label":"South Africa","value":"South Africa","default":false},{"label":"South Georgia & South Sandwich Islands","value":"South Georgia & South Sandwich Islands","default":false},{"label":"South Korea","value":"South Korea","default":false},{"label":"South Sudan","value":"South Sudan","default":false},{"label":"Spain","value":"Spain","default":false},{"label":"Sri Lanka","value":"Sri Lanka","default":false},{"label":"St. Barthélemy","value":"St. Barthélemy","default":false},{"label":"St. Helena","value":"St. Helena","default":false},{"label":"St. Kitts & Nevis","value":"St. Kitts & Nevis","default":false},{"label":"St. Lucia","value":"St. Lucia","default":false},{"label":"St. Martin","value":"St. Martin","default":false},{"label":"St. Pierre & Miquelon","value":"St. Pierre & Miquelon","default":false},{"label":"St. Vincent & Grenadines","value":"St. Vincent & Grenadines","default":false},{"label":"Sudan","value":"Sudan","default":false},{"label":"Suriname","value":"Suriname","default":false},{"label":"Svalbard & Jan Mayen","value":"Svalbard & Jan Mayen","default":false},{"label":"Swaziland","value":"Swaziland","default":false},{"label":"Sweden","value":"Sweden","default":false},{"label":"Switzerland","value":"Switzerland","default":false},{"label":"Syria","value":"Syria","default":false},{"label":"Taiwan","value":"Taiwan","default":false},{"label":"Tajikistan","value":"Tajikistan","default":false},{"label":"Tanzania","value":"Tanzania","default":false},{"label":"Thailand","value":"Thailand","default":false},{"label":"Timor-Leste","value":"Timor-Leste","default":false},{"label":"Togo","value":"Togo","default":false},{"label":"Tokelau","value":"Tokelau","default":false},{"label":"Tonga","value":"Tonga","default":false},{"label":"Trinidad & Tobago","value":"Trinidad & Tobago","default":false},{"label":"Tristan da Cunha","value":"Tristan da Cunha","default":false},{"label":"Tunisia","value":"Tunisia","default":false},{"label":"Turkey","value":"Turkey","default":false},{"label":"Turkmenistan","value":"Turkmenistan","default":false},{"label":"Turks & Caicos Islands","value":"Turks & Caicos Islands","default":false},{"label":"Tuvalu","value":"Tuvalu","default":false},{"label":"U.S. Outlying Islands","value":"U.S. Outlying Islands","default":false},{"label":"U.S. Virgin Islands","value":"U.S. Virgin Islands","default":false},{"label":"Uganda","value":"Uganda","default":false},{"label":"Ukraine","value":"Ukraine","default":false},{"label":"United Arab Emirates","value":"United Arab Emirates","default":false},{"label":"United Kingdom","value":"United Kingdom","default":false},{"label":"United Nations","value":"United Nations","default":false},{"label":"United States","value":"United States","default":false},{"label":"Uruguay","value":"Uruguay","default":false},{"label":"Uzbekistan","value":"Uzbekistan","default":false},{"label":"Vanuatu","value":"Vanuatu","default":false},{"label":"Vatican City","value":"Vatican City","default":false},{"label":"Venezuela","value":"Venezuela","default":false},{"label":"Vietnam","value":"Vietnam","default":false},{"label":"Wallis & Futuna","value":"Wallis & Futuna","default":false},{"label":"Western Sahara","value":"Western Sahara","default":false},{"label":"Yemen","value":"Yemen","default":false},{"label":"Zambia","value":"Zambia","default":false},{"label":"Zimbabwe","value":"Zimbabwe","default":false}],"range-start":null,"range-end":null,"range-step":null},{"slug":"engineering-management-interest","visibility":"PUBLIC","label":"Engineering management interest","required":false,"public-description":"I am interested in engineering management","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":null,"range-end":null,"range-step":null},{"slug":"first-name","visibility":"PUBLIC","label":"First name","required":false,"public-description":"","validation-expression":null,"input-type":"text","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"industry","visibility":"PUBLIC","label":"Industry","required":false,"public-description":"","validation-expression":null,"input-type":"select","select-options":[{"label":"Advertising and PR","value":"Advertising and PR","default":false},{"label":"Aerospace and Defence","value":"Aerospace and Defence","default":false},{"label":"Agriculture","value":"Agriculture","default":false},{"label":"Automotive","value":"Automotive","default":false},{"label":"Aviation","value":"Aviation","default":false},{"label":"Banking","value":"Banking","default":false},{"label":"Charities and Unions","value":"Charities and Unions","default":false},{"label":"Construction and Architecture","value":"Construction and Architecture","default":false},{"label":"Consultancy","value":"Consultancy","default":false},{"label":"Consumer Goods","value":"Consumer Goods","default":false},{"label":"E-Commerce","value":"E-Commerce","default":false},{"label":"Education and E-Learning","value":"Education and E-Learning","default":false},{"label":"Healthcare","value":"Healthcare","default":false},{"label":"Hospitality and Leisure","value":"Hospitality and Leisure","default":false},{"label":"Insurance","value":"Insurance","default":false},{"label":"Internet Business","value":"Internet Business","default":false},{"label":"Law Firms","value":"Law Firms","default":false},{"label":"Logistics","value":"Logistics","default":false},{"label":"Manufacturing and Production","value":"Manufacturing and Production","default":false},{"label":"Marketing","value":"Marketing","default":false},{"label":"Media and Entertainment","value":"Media and Entertainment","default":false},{"label":"Mining and Natural Resources","value":"Mining and Natural Resources","default":false},{"label":"Nautical","value":"Nautical","default":false},{"label":"Other Financial Services","value":"Other Financial Services","default":false},{"label":"Pharma and Medical Supplies","value":"Pharma and Medical Supplies","default":false},{"label":"Public Sector","value":"Public Sector","default":false},{"label":"Real Estate","value":"Real Estate","default":false},{"label":"Religious Organisations","value":"Religious Organisations","default":false},{"label":"Retail","value":"Retail","default":false},{"label":"Road and Rail","value":"Road and Rail","default":false},{"label":"Software","value":"Software","default":false},{"label":"Telecomms","value":"Telecomms","default":false},{"label":"Transport","value":"Transport","default":false},{"label":"Utilities","value":"Utilities","default":false},{"label":"Venture Capital","value":"Venture Capital","default":false},{"label":"Other","value":"Other","default":false}],"range-start":0,"range-end":100,"range-step":5},{"slug":"involvement-in-decision-making","visibility":"PUBLIC","label":"How involved are you in the decision making process for procuring new tools and platforms?","required":false,"public-description":"","validation-expression":null,"input-type":"select","select-options":[{"label":"Not involved at all","value":"Not involved at all","default":false},{"label":"Somewhat involved","value":"Somewhat involved","default":false},{"label":"Influencer","value":"Influencer","default":false},{"label":"Key influencer","value":"Key influencer","default":false},{"label":"Decision-maker","value":"Decision-maker","default":false}],"range-start":0,"range-end":100,"range-step":5},{"slug":"last-name","visibility":"PUBLIC","label":"Last Name","required":false,"public-description":"","validation-expression":null,"input-type":"text","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"manager-of-manager-interest","visibility":"PUBLIC","label":"Manager of manager interest","required":false,"public-description":"I am interested in content for VPs and Directors of Engineering","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":null,"range-end":null,"range-step":null},{"slug":"people-management-responsibilities","visibility":"PUBLIC","label":"People management responsibilities","required":false,"public-description":"","validation-expression":null,"input-type":"select","select-options":[{"label":"I'm a manager","value":"I'm a manager ","default":false},{"label":"I'm a manager of managers","value":"I'm a manager of managers","default":false},{"label":"I'm on a track to become a manager","value":"I'm on a track to become a manager","default":false},{"label":"I don't have people management responsibilities","value":"I don't have people management responsibilities","default":false},{"label":"Other","value":"Other","default":false}],"range-start":null,"range-end":null,"range-step":null},{"slug":"preferences_advertising_and_marketing_solutions_from_leaddev","visibility":"PUBLIC","label":"Marketing and Advertising Solutions","required":false,"public-description":"Weekly updates on how you can connect your brand, products and services with our audience of enginee","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_leaddev_berlin","visibility":"PUBLIC","label":" LeadDev Berlin","required":false,"public-description":"","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_leaddev_broadcasts_events_webinars_and_call_for_proposals_cfp","visibility":"PUBLIC","label":"LeadDev Broadcasts","required":false,"public-description":"","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_leaddev_courses_and_training","visibility":"PUBLIC","label":"Updates on our LeadDev Together group learning courses, as well as virtual and in-person workshops.","required":false,"public-description":"","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_leaddev_london","visibility":"PUBLIC","label":" LeadDev London","required":false,"public-description":"","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_leaddev_new_york","visibility":"PUBLIC","label":" LeadDev New York","required":false,"public-description":"","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_leaddev_originals_weekly_original_news_insights_and_updates","visibility":"PUBLIC","label":"LeadDev Originals","required":false,"public-description":"","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_leaddev_san_francisco","visibility":"PUBLIC","label":" LeadDev San Francisco","required":false,"public-description":"","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_leadingeng_events","visibility":"PUBLIC","label":" LeadingEng Events","required":false,"public-description":"Weekly updates on in-person events, free webinars, digital access passes, panel discussions, roundta","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_leadingeng_originals_weekly_original_news_insights_and_updates","visibility":"PUBLIC","label":"LeadingEng Originals","required":false,"public-description":"","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_staffplus_events","visibility":"PUBLIC","label":" StaffPlus Events","required":false,"public-description":"Weekly updates on in-person events, free webinars, digital access passes, panel discussions, roundta","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_staffplus_originals_weekly_original_news_insights_and_updates","visibility":"PUBLIC","label":"StaffPlus Originals","required":false,"public-description":"","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences_unsubscribe_all","visibility":"PUBLIC","label":"Unsubscribe from all LeadDev email communications","required":false,"public-description":"","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"preferences-last-saved","visibility":"PUBLIC","label":"Preferences last saved","required":false,"public-description":"","validation-expression":null,"input-type":"hidden","select-options":null,"range-start":null,"range-end":null,"range-step":null},{"slug":"profile-last-updated","visibility":"PUBLIC","label":"Profile last updated","required":false,"public-description":"","validation-expression":null,"input-type":"date","select-options":null,"range-start":null,"range-end":null,"range-step":null},{"slug":"staffplus-interest","visibility":"PUBLIC","label":"StaffPlus Interest","required":false,"public-description":"I am interested in senior ICs","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":null,"range-end":null,"range-step":null},{"slug":"state","visibility":"PUBLIC","label":"State","required":false,"public-description":"","validation-expression":null,"input-type":"text","select-options":null,"range-start":null,"range-end":null,"range-step":null},{"slug":"subscriptions-updated","visibility":"PUBLIC","label":"Subscriptions Updated","required":false,"public-description":"","validation-expression":null,"input-type":"hidden","select-options":null,"range-start":null,"range-end":null,"range-step":null},{"slug":"tech-stack","visibility":"PUBLIC","label":"What tools and platforms are you currently using to support your tech or team? (e.g. cloud solutions","required":false,"public-description":"","validation-expression":null,"input-type":"textarea","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"title","visibility":"PUBLIC","label":"Job title","required":false,"public-description":"","validation-expression":null,"input-type":"text","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"tncaccept","visibility":"PUBLIC","label":"I accept the LeadDev.com terms and conditions of use","required":false,"public-description":"I accept the LeadDev.com terms and conditions of use","validation-expression":null,"input-type":"checkbox","select-options":null,"range-start":0,"range-end":100,"range-step":5},{"slug":"user-actions-json","visibility":"PUBLIC","label":"User actions JSON","required":false,"public-description":"","validation-expression":null,"input-type":"hidden","select-options":null,"range-start":null,"range-end":null,"range-step":null}],"siteStyles":"{\"color\":{\"text\":{\"main\":\"#0a0a46\",\"tinted\":\"#101073\"},\"background\":{\"main\":\"#FFFFFF\",\"tinted\":\"#cccccc\"},\"accent\":{\"main\":\"#ff326f\",\"tinted\":\"#cb003d\"},\"action\":{\"main\":\"#ff326f\",\"tinted\":\"#ff6593\"},\"warning\":{\"main\":\"#D90B00\",\"tinted\":\"#ff190d\"}},\"typography\":{\"title\":{\"font\":\"Raleway\",\"fallbackFont\":\"sans-serif\"},\"body\":{\"font\":\"Raleway\",\"fallbackFont\":\"sans-serif\"}},\"button\":{\"fontWeight\":\"bold\",\"fontSize\":\"16\",\"borderWidth\":\"0\",\"borderRadius\":\"0\",\"height\":\"40\"},\"input\":{\"borderColor\":\"#101073\",\"borderWidth\":\"1\",\"borderRadius\":\"0\",\"height\":\"40\"}}","twoFactorEmailAuthenticationEnabled":false,"requireEmailVerfication":true,"hideConfirmPasswordOnRegForm":false,"passwordStrengthRequirements":{"minLength":8,"requireUppercase":false,"requireNumbers":true,"requireSpecialCharacters":false},"ruleAnalyticsEnabled":false,"paymentProvider":"stripe","braintreeSandboxEnv":true,"braintreeMobilePaymentConfig":null,"stripeMobilePaymentConfig":null,"stripeAutomaticTaxEnabled":false,"dataLayerName":"dataLayer","trackFormDataLayerEvents":false,"recaptchaV2Enabled":false,"recaptchaV2SiteKey":null}}));
</script></div></dialog>
<script type="text/javascript" onload="dialogPolyfill.registerDialog(document.querySelector('#zephr-zone-popup'));">(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define==="function"&&define.amd?define(factory):(global=global||self,global.dialogPolyfill=factory())})(this,function(){"use strict";var supportCustomEvent=window.CustomEvent;if(!supportCustomEvent||typeof supportCustomEvent==="object"){supportCustomEvent=function CustomEvent(event,x){x=x||{};var ev=document.createEvent("CustomEvent");ev.initCustomEvent(event,!!x.bubbles,!!x.cancelable,x.detail||null);return ev};supportCustomEvent.prototype=window.Event.prototype}function safeDispatchEvent(target,event){var check="on"+event.type.toLowerCase();if(typeof target[check]==="function"){target[check](event)}return target.dispatchEvent(event)}function createsStackingContext(el){while(el&&el!==document.body){var s=window.getComputedStyle(el);var invalid=function(k,ok){return!(s[k]===undefined||s[k]===ok)};if(s.opacity<1||invalid("zIndex","auto")||invalid("transform","none")||invalid("mixBlendMode","normal")||invalid("filter","none")||invalid("perspective","none")||s["isolation"]==="isolate"||s.position==="fixed"||s.webkitOverflowScrolling==="touch"){return true}el=el.parentElement}return false}function findNearestDialog(el){while(el){if(el.localName==="dialog"){return el}if(el.parentElement){el=el.parentElement}else if(el.parentNode){el=el.parentNode.host}else{el=null}}return null}function safeBlur(el){while(el&&el.shadowRoot&&el.shadowRoot.activeElement){el=el.shadowRoot.activeElement}if(el&&el.blur&&el!==document.body){el.blur()}}function inNodeList(nodeList,node){for(var i=0;i<nodeList.length;++i){if(nodeList[i]===node){return true}}return false}function isFormMethodDialog(el){if(!el||!el.hasAttribute("method")){return false}return el.getAttribute("method").toLowerCase()==="dialog"}function findFocusableElementWithin(hostElement){var opts=["button","input","keygen","select","textarea"];var query=opts.map(function(el){return el+":not([disabled])"});query.push('[tabindex]:not([disabled]):not([tabindex=""])');var target=hostElement.querySelector(query.join(", "));if(!target&&"attachShadow"in Element.prototype){var elems=hostElement.querySelectorAll("*");for(var i=0;i<elems.length;i++){if(elems[i].tagName&&elems[i].shadowRoot){target=findFocusableElementWithin(elems[i].shadowRoot);if(target){break}}}}return target}function isConnected(element){return element.isConnected||document.body.contains(element)}function findFormSubmitter(event){if(event.submitter){return event.submitter}var form=event.target;if(!(form instanceof HTMLFormElement)){return null}var submitter=dialogPolyfill.formSubmitter;if(!submitter){var target=event.target;var root="getRootNode"in target&&target.getRootNode()||document;submitter=root.activeElement}if(!submitter||submitter.form!==form){return null}return submitter}function maybeHandleSubmit(event){if(event.defaultPrevented){return}var form=event.target;var value=dialogPolyfill.imagemapUseValue;var submitter=findFormSubmitter(event);if(value===null&&submitter){value=submitter.value}var dialog=findNearestDialog(form);if(!dialog){return}var formmethod=submitter&&submitter.getAttribute("formmethod")||form.getAttribute("method");if(formmethod!=="dialog"){return}event.preventDefault();if(value!=null){dialog.close(value)}else{dialog.close()}}function dialogPolyfillInfo(dialog){this.dialog_=dialog;this.replacedStyleTop_=false;this.openAsModal_=false;if(!dialog.hasAttribute("role")){dialog.setAttribute("role","dialog")}dialog.show=this.show.bind(this);dialog.showModal=this.showModal.bind(this);dialog.close=this.close.bind(this);dialog.addEventListener("submit",maybeHandleSubmit,false);if(!("returnValue"in dialog)){dialog.returnValue=""}if("MutationObserver"in window){var mo=new MutationObserver(this.maybeHideModal.bind(this));mo.observe(dialog,{attributes:true,attributeFilter:["open"]})}else{var removed=false;var cb=function(){removed?this.downgradeModal():this.maybeHideModal();removed=false}.bind(this);var timeout;var delayModel=function(ev){if(ev.target!==dialog){return}var cand="DOMNodeRemoved";removed|=ev.type.substr(0,cand.length)===cand;window.clearTimeout(timeout);timeout=window.setTimeout(cb,0)};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach(function(name){dialog.addEventListener(name,delayModel)})}Object.defineProperty(dialog,"open",{set:this.setOpen.bind(this),get:dialog.hasAttribute.bind(dialog,"open")});this.backdrop_=document.createElement("div");this.backdrop_.className="backdrop";this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this));this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this));this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}dialogPolyfillInfo.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){if(this.dialog_.hasAttribute("open")&&isConnected(this.dialog_)){return}this.downgradeModal()},downgradeModal:function(){if(!this.openAsModal_){return}this.openAsModal_=false;this.dialog_.style.zIndex="";if(this.replacedStyleTop_){this.dialog_.style.top="";this.replacedStyleTop_=false}this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_);dialogPolyfill.dm.removeDialog(this)},setOpen:function(value){if(value){this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open","")}else{this.dialog_.removeAttribute("open");this.maybeHideModal()}},backdropMouseEvent_:function(e){if(!this.dialog_.hasAttribute("tabindex")){var fake=document.createElement("div");this.dialog_.insertBefore(fake,this.dialog_.firstChild);fake.tabIndex=-1;fake.focus();this.dialog_.removeChild(fake)}else{this.dialog_.focus()}var redirectedEvent=document.createEvent("MouseEvents");redirectedEvent.initMouseEvent(e.type,e.bubbles,e.cancelable,window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget);this.dialog_.dispatchEvent(redirectedEvent);e.stopPropagation()},focus_:function(){var target=this.dialog_.querySelector("[autofocus]:not([disabled])");if(!target&&this.dialog_.tabIndex>=0){target=this.dialog_}if(!target){target=findFocusableElementWithin(this.dialog_)}safeBlur(document.activeElement);target&&target.focus()},updateZIndex:function(dialogZ,backdropZ){if(dialogZ<backdropZ){throw new Error("dialogZ should never be < backdropZ")}this.dialog_.style.zIndex=dialogZ;this.backdrop_.style.zIndex=backdropZ},show:function(){if(!this.dialog_.open){this.setOpen(true);this.focus_()}},showModal:function(){if(this.dialog_.hasAttribute("open")){throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.")}if(!isConnected(this.dialog_)){throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.")}if(!dialogPolyfill.dm.pushDialog(this)){throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.")}if(createsStackingContext(this.dialog_.parentElement)){console.warn("A dialog is being shown inside a stacking context. "+"This may cause it to be unusable. For more information, see this link: "+"https://github.com/GoogleChrome/dialog-polyfill/#stacking-context")}this.setOpen(true);this.openAsModal_=true;if(dialogPolyfill.needsCentering(this.dialog_)){dialogPolyfill.reposition(this.dialog_);this.replacedStyleTop_=true}else{this.replacedStyleTop_=false}this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling);this.focus_()},close:function(opt_returnValue){if(!this.dialog_.hasAttribute("open")){throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.")}this.setOpen(false);if(opt_returnValue!==undefined){this.dialog_.returnValue=opt_returnValue}var closeEvent=new supportCustomEvent("close",{bubbles:false,cancelable:false});safeDispatchEvent(this.dialog_,closeEvent)}};var dialogPolyfill={};dialogPolyfill.reposition=function(element){var scrollTop=document.body.scrollTop||document.documentElement.scrollTop;var topValue=scrollTop+(window.innerHeight-element.offsetHeight)/2;element.style.top=Math.max(scrollTop,topValue)+"px"};dialogPolyfill.isInlinePositionSetByStylesheet=function(element){for(var i=0;i<document.styleSheets.length;++i){var styleSheet=document.styleSheets[i];var cssRules=null;try{cssRules=styleSheet.cssRules}catch(e){}if(!cssRules){continue}for(var j=0;j<cssRules.length;++j){var rule=cssRules[j];var selectedNodes=null;try{selectedNodes=document.querySelectorAll(rule.selectorText)}catch(e){}if(!selectedNodes||!inNodeList(selectedNodes,element)){continue}var cssTop=rule.style.getPropertyValue("top");var cssBottom=rule.style.getPropertyValue("bottom");if(cssTop&&cssTop!=="auto"||cssBottom&&cssBottom!=="auto"){return true}}}return false};dialogPolyfill.needsCentering=function(dialog){var computedStyle=window.getComputedStyle(dialog);if(computedStyle.position!=="absolute"){return false}if(dialog.style.top!=="auto"&&dialog.style.top!==""||dialog.style.bottom!=="auto"&&dialog.style.bottom!==""){return false}return!dialogPolyfill.isInlinePositionSetByStylesheet(dialog)};dialogPolyfill.forceRegisterDialog=function(element){if(window.HTMLDialogElement||element.showModal){console.warn("This browser already supports <dialog>, the polyfill "+"may not work correctly",element)}if(element.localName!=="dialog"){throw new Error("Failed to register dialog: The element is not a dialog.")}new dialogPolyfillInfo(element)};dialogPolyfill.registerDialog=function(element){if(!element.showModal){dialogPolyfill.forceRegisterDialog(element)}};dialogPolyfill.DialogManager=function(){this.pendingDialogStack=[];var checkDOM=this.checkDOM_.bind(this);this.overlay=document.createElement("div");this.overlay.className="_dialog_overlay";this.overlay.addEventListener("click",function(e){this.forwardTab_=undefined;e.stopPropagation();checkDOM([])}.bind(this));this.handleKey_=this.handleKey_.bind(this);this.handleFocus_=this.handleFocus_.bind(this);this.zIndexLow_=1e5;this.zIndexHigh_=1e5+150;this.forwardTab_=undefined;if("MutationObserver"in window){this.mo_=new MutationObserver(function(records){var removed=[];records.forEach(function(rec){for(var i=0,c;c=rec.removedNodes[i];++i){if(!(c instanceof Element)){continue}else if(c.localName==="dialog"){removed.push(c)}removed=removed.concat(c.querySelectorAll("dialog"))}});removed.length&&checkDOM(removed)})}};dialogPolyfill.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,true);document.addEventListener("keydown",this.handleKey_);this.mo_&&this.mo_.observe(document,{childList:true,subtree:true})};dialogPolyfill.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,true);document.removeEventListener("keydown",this.handleKey_);this.mo_&&this.mo_.disconnect()};dialogPolyfill.DialogManager.prototype.updateStacking=function(){var zIndex=this.zIndexHigh_;for(var i=0,dpi;dpi=this.pendingDialogStack[i];++i){dpi.updateZIndex(--zIndex,--zIndex);if(i===0){this.overlay.style.zIndex=--zIndex}}var last=this.pendingDialogStack[0];if(last){var p=last.dialog.parentNode||document.body;p.appendChild(this.overlay)}else if(this.overlay.parentNode){this.overlay.parentNode.removeChild(this.overlay)}};dialogPolyfill.DialogManager.prototype.containedByTopDialog_=function(candidate){while(candidate=findNearestDialog(candidate)){for(var i=0,dpi;dpi=this.pendingDialogStack[i];++i){if(dpi.dialog===candidate){return i===0}}candidate=candidate.parentElement}return false};dialogPolyfill.DialogManager.prototype.handleFocus_=function(event){var target=event.composedPath?event.composedPath()[0]:event.target;if(this.containedByTopDialog_(target)){return}if(document.activeElement===document.documentElement){return}event.preventDefault();event.stopPropagation();safeBlur(target);if(this.forwardTab_===undefined){return}var dpi=this.pendingDialogStack[0];var dialog=dpi.dialog;var position=dialog.compareDocumentPosition(target);if(position&Node.DOCUMENT_POSITION_PRECEDING){if(this.forwardTab_){dpi.focus_()}else if(target!==document.documentElement){document.documentElement.focus()}}return false};dialogPolyfill.DialogManager.prototype.handleKey_=function(event){this.forwardTab_=undefined;if(event.keyCode===27){event.preventDefault();event.stopPropagation();var cancelEvent=new supportCustomEvent("cancel",{bubbles:false,cancelable:true});var dpi=this.pendingDialogStack[0];if(dpi&&safeDispatchEvent(dpi.dialog,cancelEvent)){dpi.dialog.close()}}else if(event.keyCode===9){this.forwardTab_=!event.shiftKey}};dialogPolyfill.DialogManager.prototype.checkDOM_=function(removed){var clone=this.pendingDialogStack.slice();clone.forEach(function(dpi){if(removed.indexOf(dpi.dialog)!==-1){dpi.downgradeModal()}else{dpi.maybeHideModal()}})};dialogPolyfill.DialogManager.prototype.pushDialog=function(dpi){var allowed=(this.zIndexHigh_-this.zIndexLow_)/2-1;if(this.pendingDialogStack.length>=allowed){return false}if(this.pendingDialogStack.unshift(dpi)===1){this.blockDocument()}this.updateStacking();return true};dialogPolyfill.DialogManager.prototype.removeDialog=function(dpi){var index=this.pendingDialogStack.indexOf(dpi);if(index===-1){return}this.pendingDialogStack.splice(index,1);if(this.pendingDialogStack.length===0){this.unblockDocument()}this.updateStacking()};dialogPolyfill.dm=new dialogPolyfill.DialogManager;dialogPolyfill.formSubmitter=null;dialogPolyfill.imagemapUseValue=null;if(window.HTMLDialogElement===undefined){var testForm=document.createElement("form");testForm.setAttribute("method","dialog");if(testForm.method!=="dialog"){var methodDescriptor=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(methodDescriptor){var realGet=methodDescriptor.get;methodDescriptor.get=function(){if(isFormMethodDialog(this)){return"dialog"}return realGet.call(this)};var realSet=methodDescriptor.set;methodDescriptor.set=function(v){if(typeof v==="string"&&v.toLowerCase()==="dialog"){return this.setAttribute("method",v)}return realSet.call(this,v)};Object.defineProperty(HTMLFormElement.prototype,"method",methodDescriptor)}}document.addEventListener("click",function(ev){dialogPolyfill.formSubmitter=null;dialogPolyfill.imagemapUseValue=null;if(ev.defaultPrevented){return}var target=ev.target;if("composedPath"in ev){var path=ev.composedPath();target=path.shift()||target}if(!target||!isFormMethodDialog(target.form)){return}var valid=target.type==="submit"&&["button","input"].indexOf(target.localName)>-1;if(!valid){if(!(target.localName==="input"&&target.type==="image")){return}dialogPolyfill.imagemapUseValue=ev.offsetX+","+ev.offsetY}var dialog=findNearestDialog(target);if(!dialog){return}dialogPolyfill.formSubmitter=target},false);document.addEventListener("submit",function(ev){var form=ev.target;var dialog=findNearestDialog(form);if(dialog){return}var submitter=findFormSubmitter(ev);var formmethod=submitter&&submitter.getAttribute("formmethod")||form.getAttribute("method");if(formmethod==="dialog"){ev.preventDefault()}});var nativeFormSubmit=HTMLFormElement.prototype.submit;var replacementFormSubmit=function(){if(!isFormMethodDialog(this)){return nativeFormSubmit.call(this)}var dialog=findNearestDialog(this);dialog&&dialog.close()};HTMLFormElement.prototype.submit=replacementFormSubmit}return dialogPolyfill});</script>
<script type="text/javascript">
(function() {
const zoneCloseButtons = document.getElementsByClassName("zephr-zone-close");
const zonePopup = document.getElementById('zephr-zone-popup');
const zoneFooter = document.getElementById('zephr-zone-footer');
const overlay = document.getElementById('zephr-overlay');
let datalayer;
let scrollPosition = 0;
let isScrollLocked = false;
function moveToBody(e) {
if(!e){
return;
}
// Only move if not already in body
if (e.parentNode !== document.body) {
try {
document.body.appendChild(e)
} catch (err) {
console.log(err);
}
}
}
moveToBody(zonePopup);
moveToBody(zoneFooter);
moveToBody(overlay);
window.Zephr = window.Zephr || {};
// Safari detection function
function isSafari() {
return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
}
function lockScroll() {
const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
scrollPosition = window.scrollY;
// Skip overflow:hidden for Safari to prevent click event issues
if (!isSafari()) {
document.body.style.overflow = 'hidden';
if (scrollbarWidth > 0) {
document.body.style.paddingRight = `${scrollbarWidth}px`;
}
}
document.body.style.position = 'fixed';
document.body.style.top = `-${scrollPosition}px`;
document.body.style.width = '100%';
isScrollLocked = true;
}
function unlockScroll() {
if (!isScrollLocked) {
return;
}
// Only remove overflow if it was set (not Safari)
if (!isSafari()) {
document.body.style.removeProperty('overflow');
document.body.style.removeProperty('padding-right');
}
document.body.style.removeProperty('position');
document.body.style.removeProperty('top');
document.body.style.removeProperty('width');
window.scrollTo({
left: window.scrollX,
top: scrollPosition,
behavior: 'instant'
});
isScrollLocked = false;
}
function onCloseZone(e, button){
e.stopImmediatePropagation();
const id = button.id.split('-')[1];
const event = new CustomEvent(`zephr.${id}.closed`,{
bubbles:true,
cancelable:true
});
document.dispatchEvent(event);
if(id === "popup"){
zonePopup.close();
} else{
button.parentNode.style.display = 'none';
}
unlockScroll();
if(overlay){
overlay.style.display = 'none';
}
if (datalayer && window[datalayer]) {
window[datalayer].push({
'event': `zephr.${id}.closed`
});
}
}
for (let i = 0; i < zoneCloseButtons.length; i++) {
let button = zoneCloseButtons[i];
// Only add event listener if not already attached
if (!button.dataset.zephrListenerAttached) {
button.addEventListener('click', e => onCloseZone(e, button));
button.dataset.zephrListenerAttached = 'true';
}
}
function onOpenModal(){
zonePopup.showModal();
lockScroll();
datalayer = zonePopup.dataset.datalayer;
window[`${datalayer}`] = window[`${datalayer}`] || [];
window[`${datalayer}`].push({
'event': 'zephr.popup.shown'
})
}
function onCloseModal(){
const closeButton = document.getElementById('zephr-popup-close');
if(closeButton){
closeButton.dispatchEvent(new Event('click'))
}
}
function showOnScrollDown(onOpenZone){
if (window.innerHeight >= document.body.clientHeight) {
onOpenZone();
} else {
// Only add scroll listener if not already attached
if (!window.Zephr.scrollHandlerAttached) {
function scrollHandler(ev) {
if ((window.innerHeight + Math.round(window.scrollY)) >= document.body.offsetHeight/2) {
onOpenZone();
window.removeEventListener('scroll', scrollHandler);
window.Zephr.scrollHandlerAttached = false;
}
}
window.addEventListener('scroll', scrollHandler);
window.Zephr.scrollHandlerAttached = true;
}
}
}
function onOpenAfter(zone, onOpenZone) {
const openAfter = zone.dataset.openAfter;
if(openAfter === 'scrollDown'){
if(document.readyState === 'complete'){
showOnScrollDown(onOpenZone)
} else {
// Only add load listener if not already attached
if (!window.Zephr.loadHandlerAttached) {
function loadHandler() {
showOnScrollDown(onOpenZone);
window.removeEventListener('load', loadHandler);
window.Zephr.loadHandlerAttached = false;
}
window.addEventListener('load', loadHandler);
window.Zephr.loadHandlerAttached = true;
}
}
} else if(openAfter == 0){
onOpenZone()
} else if(openAfter > -1){
setTimeout(onOpenZone,openAfter * 1000)
}
}
if(zonePopup){
window.Zephr.openModal = onOpenModal;
window.Zephr.closeModal = onCloseModal;
// Only add event listeners if not already attached
if (!zonePopup.dataset.zephrListenersAttached) {
zonePopup.addEventListener('click', e => {
if (e.target.tagName === 'DIALOG'){
onCloseModal();
}
});
zonePopup.addEventListener('cancel',e=>{
e.preventDefault();
onCloseModal();
});
zonePopup.dataset.zephrListenersAttached = 'true';
}
onOpenAfter(zonePopup,onOpenModal);
}
function onOpenFooter(){
zoneFooter.style.display = 'block';
const scrollable = zoneFooter.dataset.scrollable;
if(scrollable === 'false'){
lockScroll();
overlay.style.display = 'block';
}
datalayer = zoneFooter.dataset.datalayer;
window[`${datalayer}`] = window[`${datalayer}`] || [];
window[`${datalayer}`].push({
'event': 'zephr.footer.shown'
})
}
if(zoneFooter){
window.Zephr.openFooter = onOpenFooter;
onOpenAfter(zoneFooter,onOpenFooter);
}
})();
</script><style>
.zephr-zone-footer {
display: none;
width: 100%;
bottom: 0;
position: fixed;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
}
.zephr-overlay {
position: fixed;
display: none;
width: 100%;
height: 100%;
inset: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 2;
}
.zephr-zone-popup::backdrop {
background: rgba(0, 0, 0, 0.5);
}
.zephr-zone-popup + .backdrop {
background: rgba(0, 0, 0, 0.5);
}
.zephr-zone-popup {
padding: 0;
}
.zephr-zone-close {
margin: auto;
padding:10px;
position:absolute;
right: 0;
cursor: pointer;
color: white;
background-color: transparent;
border: none;
top:0;
}
.zephr-svg-close{
height: 15px;
}
.zephr-zone-close:hover {
background-color: transparent;
}
/*polyfill css*/
dialog {
position: absolute;
left: 0; right: 0;
width: -moz-fit-content;
width: -webkit-fit-content;
width: fit-content;
height: -moz-fit-content;
height: -webkit-fit-content;
height: fit-content;
margin: auto;
border: solid;
padding: 1em;
background: white;
color: black;
display: block;
}
dialog:not([open]) {
display: none;
}
dialog + .backdrop {
position: fixed;
top: 0; right: 0; bottom: 0; left: 0;
background: rgba(0,0,0,0.1);
}
._dialog_overlay {
position: fixed;
top: 0; right: 0; bottom: 0; left: 0;
}
dialog.fixed {
position: fixed;
top: 0;
bottom: 0;
}
</style>
<div class="zephr-zone-footer" id="zephr-zone-footer" data-open-after="0" data-scrollable="true" data-datalayer="dataLayer">
<button class="zephr-zone-close" id="zephr-footer-close">
<svg class="zephr-svg-close" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"></path></svg>
</button>
<style>@media screen and (min-width: 768px) {
.wp-elements-9295e4c4fde6c5268fd9ba2135406a7e {
font-size: var(--wp--preset--font-size--medium) !important;
}
}
#zephr-zone-footer {
background-color: none;
}
#zephr-footer-close {
color: #0a0a46;
z-index: 1;
right: 5px;
}</style><div class="wp-block-cover is-light" style="margin:10px;padding-top:0;padding-right:var(--wp--preset--spacing--30);padding-bottom:0;padding-left:var(--wp--preset--spacing--60);box-shadow:var(--wp--preset--shadow--natural);min-height:68px;aspect-ratio:unset;"><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-100 has-background-dim"></span><div class="wp-block-cover__inner-container has-global-padding is-layout-constrained wp-container-core-cover-is-layout-1 wp-block-cover-is-layout-constrained">
<div class="wp-block-columns is-not-stacked-on-mobile is-layout-flex wp-container-core-columns-is-layout-3 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:70%">
<p class="plausible-event-name=Sticky+Footer+Display+NYC26 has-text-align-left has-dark-blue-indigo-color has-text-color has-link-color has-small-font-size wp-elements-9295e4c4fde6c5268fd9ba2135406a7e">
<strong>
🚨 Your last chance to be at LDX3 New York!
</strong>
</p>
</div>
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:30%">
<div class="wp-block-buttons is-content-justification-right is-layout-flex wp-container-core-buttons-is-layout-1 wp-block-buttons-is-layout-flex">
<div class="wp-block-button has-custom-font-size is-style-fill has-small-font-size">
<a href="https://leaddev.com/leaddev-new-york/buy-tickets/?utm_campaign&#61;articledatawall#conferences" class="wp-block-button__link wp-element-button plausible-event-name=Sticky+Footer+Button+Click" style="padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
Tickets
</a>
</div>
</div>
</div>
</div>
</div></div>
</div>
<div class="zephr-overlay" id="zephr-overlay"></div>
<script type="text/javascript">
(function() {
const zoneCloseButtons = document.getElementsByClassName("zephr-zone-close");
const zonePopup = document.getElementById('zephr-zone-popup');
const zoneFooter = document.getElementById('zephr-zone-footer');
const overlay = document.getElementById('zephr-overlay');
let datalayer;
let scrollPosition = 0;
let isScrollLocked = false;
function moveToBody(e) {
if(!e){
return;
}
// Only move if not already in body
if (e.parentNode !== document.body) {
try {
document.body.appendChild(e)
} catch (err) {
console.log(err);
}
}
}
moveToBody(zonePopup);
moveToBody(zoneFooter);
moveToBody(overlay);
window.Zephr = window.Zephr || {};
// Safari detection function
function isSafari() {
return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
}
function lockScroll() {
const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
scrollPosition = window.scrollY;
// Skip overflow:hidden for Safari to prevent click event issues
if (!isSafari()) {
document.body.style.overflow = 'hidden';
if (scrollbarWidth > 0) {
document.body.style.paddingRight = `${scrollbarWidth}px`;
}
}
document.body.style.position = 'fixed';
document.body.style.top = `-${scrollPosition}px`;
document.body.style.width = '100%';
isScrollLocked = true;
}
function unlockScroll() {
if (!isScrollLocked) {
return;
}
// Only remove overflow if it was set (not Safari)
if (!isSafari()) {
document.body.style.removeProperty('overflow');
document.body.style.removeProperty('padding-right');
}
document.body.style.removeProperty('position');
document.body.style.removeProperty('top');
document.body.style.removeProperty('width');
window.scrollTo({
left: window.scrollX,
top: scrollPosition,
behavior: 'instant'
});
isScrollLocked = false;
}
function onCloseZone(e, button){
e.stopImmediatePropagation();
const id = button.id.split('-')[1];
const event = new CustomEvent(`zephr.${id}.closed`,{
bubbles:true,
cancelable:true
});
document.dispatchEvent(event);
if(id === "popup"){
zonePopup.close();
} else{
button.parentNode.style.display = 'none';
}
unlockScroll();
if(overlay){
overlay.style.display = 'none';
}
if (datalayer && window[datalayer]) {
window[datalayer].push({
'event': `zephr.${id}.closed`
});
}
}
for (let i = 0; i < zoneCloseButtons.length; i++) {
let button = zoneCloseButtons[i];
// Only add event listener if not already attached
if (!button.dataset.zephrListenerAttached) {
button.addEventListener('click', e => onCloseZone(e, button));
button.dataset.zephrListenerAttached = 'true';
}
}
function onOpenModal(){
zonePopup.showModal();
lockScroll();
datalayer = zonePopup.dataset.datalayer;
window[`${datalayer}`] = window[`${datalayer}`] || [];
window[`${datalayer}`].push({
'event': 'zephr.popup.shown'
})
}
function onCloseModal(){
const closeButton = document.getElementById('zephr-popup-close');
if(closeButton){
closeButton.dispatchEvent(new Event('click'))
}
}
function showOnScrollDown(onOpenZone){
if (window.innerHeight >= document.body.clientHeight) {
onOpenZone();
} else {
// Only add scroll listener if not already attached
if (!window.Zephr.scrollHandlerAttached) {
function scrollHandler(ev) {
if ((window.innerHeight + Math.round(window.scrollY)) >= document.body.offsetHeight/2) {
onOpenZone();
window.removeEventListener('scroll', scrollHandler);
window.Zephr.scrollHandlerAttached = false;
}
}
window.addEventListener('scroll', scrollHandler);
window.Zephr.scrollHandlerAttached = true;
}
}
}
function onOpenAfter(zone, onOpenZone) {
const openAfter = zone.dataset.openAfter;
if(openAfter === 'scrollDown'){
if(document.readyState === 'complete'){
showOnScrollDown(onOpenZone)
} else {
// Only add load listener if not already attached
if (!window.Zephr.loadHandlerAttached) {
function loadHandler() {
showOnScrollDown(onOpenZone);
window.removeEventListener('load', loadHandler);
window.Zephr.loadHandlerAttached = false;
}
window.addEventListener('load', loadHandler);
window.Zephr.loadHandlerAttached = true;
}
}
} else if(openAfter == 0){
onOpenZone()
} else if(openAfter > -1){
setTimeout(onOpenZone,openAfter * 1000)
}
}
if(zonePopup){
window.Zephr.openModal = onOpenModal;
window.Zephr.closeModal = onCloseModal;
// Only add event listeners if not already attached
if (!zonePopup.dataset.zephrListenersAttached) {
zonePopup.addEventListener('click', e => {
if (e.target.tagName === 'DIALOG'){
onCloseModal();
}
});
zonePopup.addEventListener('cancel',e=>{
e.preventDefault();
onCloseModal();
});
zonePopup.dataset.zephrListenersAttached = 'true';
}
onOpenAfter(zonePopup,onOpenModal);
}
function onOpenFooter(){
zoneFooter.style.display = 'block';
const scrollable = zoneFooter.dataset.scrollable;
if(scrollable === 'false'){
lockScroll();
overlay.style.display = 'block';
}
datalayer = zoneFooter.dataset.datalayer;
window[`${datalayer}`] = window[`${datalayer}`] || [];
window[`${datalayer}`].push({
'event': 'zephr.footer.shown'
})
}
if(zoneFooter){
window.Zephr.openFooter = onOpenFooter;
onOpenAfter(zoneFooter,onOpenFooter);
}
})();
</script>
</div>
<div
id="container-ARTICLE_POST_ARTICLE-2"
class="advert advert--size-class-in_content"
data-ad="1"data-sizes="[[300,100],[300,250],[300,50]]"data-sizemap="in_content"data-ad-unit="ARTICLE_POST_ARTICLE"data-collapse="BEFORE_FETCH"
>
<div id="ARTICLE_POST_ARTICLE"></div>
</div> </div>
<div style="" class="article__body__col article__body__col--separator"></div>
<div style="" class="article__body__col article__body__col--separator2"></div>
<div class="article__body__col article__body__col--share article__body__col--aside">
<div class="article__publish-date article__publish-date--desktop">May 06, 2026</div>
<div class="article__share">
<div class="share-icons">
<h5 class="share-icons__label">Share:</h5>
<ul class="share-icons__list">
<li class="share-icons__list-item">
<a href="https://x.com/intent/tweet?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&text=DORA+metrics+were+fine.+Then+AI+showed+up.&via=theleaddev" target="_blank" data-url="https://x.com/intent/tweet?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&text=DORA+metrics+were+fine.+Then+AI+showed+up.&via=theleaddev" class="js-open-modal" rel="noopener noreferrer" title="Share To X">
<svg xmlns="http://www.w3.org/2000/svg" width="18.591" height="19" viewBox="0 0 18.591 19">
<path data-name="Path 790" d="M8.818,10.657h0L8.083,9.6,2.231,1.235H4.75L9.473,7.989l.735,1.052,6.138,8.78H13.827ZM16.345,0l-6.01,6.986L5.536,0H0L7.258,10.563,0,19H1.64l6.346-7.377L13.055,19h5.536L11.064,8.045h0L17.986,0Z" fill="#7864ff"/>
</svg>
</a>
</li>
<li class="share-icons__list-item">
<a href="https://www.linkedin.com/sharing/share-offsite?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&summary=DORA+metrics+were+fine.+Then+AI+showed+up.&title=DORA+metrics+are+lying+to+you+and+AI+is+making+it+worse+-+LeadDev" target="_blank" data-url="https://www.linkedin.com/sharing/share-offsite?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&summary=DORA+metrics+were+fine.+Then+AI+showed+up.&title=DORA+metrics+are+lying+to+you+and+AI+is+making+it+worse+-+LeadDev" class="js-open-modal" rel="noopener noreferrer" title="Share To Linkedin">
<svg data-name="Group 684" xmlns="http://www.w3.org/2000/svg" width="18.672" height="18.671" viewBox="0 0 18.672 18.671">
<g data-name="Group 70" transform="translate(0 0)">
<g data-name="Group 69" transform="translate(0 0)">
<path data-name="Path 190" d="M17.29,0H1.378A1.363,1.363,0,0,0,0,1.346V17.325a1.364,1.364,0,0,0,1.378,1.347H17.29a1.366,1.366,0,0,0,1.382-1.347V1.346A1.365,1.365,0,0,0,17.29,0ZM5.538,15.911H2.768V7h2.77ZM4.154,5.783a1.606,1.606,0,1,1,1.6-1.606A1.606,1.606,0,0,1,4.154,5.783ZM15.911,15.911H13.143V11.578c0-1.033-.019-2.362-1.439-2.362-1.441,0-1.662,1.126-1.662,2.288v4.408H7.275V7H9.931V8.218h.037a2.91,2.91,0,0,1,2.62-1.439c2.8,0,3.322,1.846,3.322,4.245Z" transform="translate(0 -0.001)" fill="#7864ff"/>
</g>
</g>
</svg>
</a>
</li>
<li class="share-icons__list-item">
<a href="https://www.reddit.com/submit?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&title=DORA+metrics+were+fine.+Then+AI+showed+up." target="_blank" data-url="https://www.reddit.com/submit?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&title=DORA+metrics+were+fine.+Then+AI+showed+up." class="js-open-modal" rel="noopener noreferrer" title="Share To Reddit">
<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20.7256 10.3354C20.7256 15.8133 16.2847 20.2542 10.8069 20.2542C5.3297 20.2542 0.888672 15.8133 0.888672 10.3354C0.888672 4.85827 5.3297 0.417236 10.8069 0.417236C16.2847 0.417236 20.7256 4.85827 20.7256 10.3354Z" fill="#7864FF"/>
<path d="M17.4192 10.3354C17.4185 9.75581 17.0719 9.23245 16.5388 9.00579C16.0048 8.77931 15.3875 8.89283 14.97 9.29495C13.8279 8.51763 12.483 8.09108 11.1015 8.06791L11.7603 4.96833L13.9135 5.4265C13.9373 5.94627 14.3442 6.36654 14.8627 6.40784C15.3818 6.44933 15.8498 6.09929 15.9565 5.58993C16.063 5.08058 15.774 4.57123 15.283 4.4015C14.7911 4.2316 14.2496 4.45413 14.0186 4.92056L11.6137 4.40923C11.4742 4.37959 11.3366 4.46814 11.3072 4.60769L10.5719 8.06647C9.17078 8.07905 7.8049 8.5056 6.64593 9.2928C6.33791 8.99466 5.91477 8.84864 5.48893 8.89354C5.06309 8.93773 4.67928 9.16869 4.44005 9.52359C4.20082 9.87866 4.1315 10.3207 4.25003 10.7318C4.36785 11.1436 4.66258 11.4811 5.05393 11.6542C5.03148 11.7988 5.02106 11.9455 5.02178 12.0921C5.02178 14.3175 7.60985 16.1213 10.807 16.1213C14.0039 16.1213 16.5929 14.3175 16.5929 12.0921C16.5929 11.9461 16.5815 11.8009 16.5591 11.6571C17.0817 11.4256 17.4192 10.9078 17.4192 10.3354ZM7.50102 11.3688C7.50102 10.9505 7.753 10.5739 8.13879 10.4139C8.52475 10.2546 8.96944 10.3424 9.26489 10.6384C9.56016 10.9338 9.64852 11.3778 9.48868 11.7645C9.32865 12.1503 8.95202 12.4021 8.53445 12.4021C7.96349 12.4021 7.50102 11.9391 7.50102 11.3688ZM13.2618 14.0986C12.5566 14.8016 11.2053 14.8576 10.8082 14.8576C10.4113 14.8576 9.05925 14.803 8.35485 14.0986C8.10304 13.8461 8.48183 13.4678 8.73453 13.7204C9.1785 14.1645 10.1291 14.3224 10.8082 14.3224C11.4875 14.3224 12.4381 14.1645 12.8835 13.7196C12.9873 13.6103 13.1614 13.6074 13.2681 13.7148C13.3747 13.8215 13.3719 13.9955 13.2618 14.0986ZM13.08 12.4021C12.6626 12.4021 12.2858 12.1503 12.1258 11.7645C11.9659 11.3778 12.0543 10.9338 12.3496 10.6384C12.645 10.3424 13.0892 10.2546 13.4757 10.4139C13.8615 10.5739 14.1134 10.9505 14.1134 11.3688C14.1134 11.9391 13.6504 12.4021 13.08 12.4021Z" fill="white"/>
</svg>
</a>
</li>
<li class="share-icons__list-item">
<a href="https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&t=DORA+metrics+were+fine.+Then+AI+showed+up." target="_blank" data-url="https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&t=DORA+metrics+were+fine.+Then+AI+showed+up." class="js-open-modal" rel="noopener noreferrer" title="Share To Hacker news">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.538086" y="0.835693" width="19" height="19" fill="#7864FF"/>
<path d="M9.40426 11.6022L6.11133 5.45923H7.63133L9.53133 9.32276C9.53133 9.38629 9.59486 9.44923 9.6578 9.51276C9.72074 9.57629 9.72133 9.63923 9.78427 9.76629L9.8478 9.82982V9.89335C9.91133 10.0198 9.91133 10.0834 9.97426 10.2098C10.0378 10.2734 10.0378 10.3998 10.1007 10.4634C10.1643 10.2734 10.2907 10.1469 10.3543 9.89335C10.4178 9.70335 10.5443 9.51335 10.6707 9.32335L12.5707 5.45982H13.9643L10.6713 11.6657V15.5922H9.40486L9.40426 11.6022Z" fill="white"/>
</svg>
</a>
</li>
<li class="share-icons__list-item">
<a href="https://mastodonshare.com/?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&text=DORA+metrics+were+fine.+Then+AI+showed+up." target="_blank" data-url="https://mastodonshare.com/?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&text=DORA+metrics+were+fine.+Then+AI+showed+up." class="js-open-modal" rel="noopener noreferrer" title="Share To Mastodon">
<svg width="19" height="21" viewBox="0 0 19 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.6985 5.13486C18.415 3.04839 16.5765 1.40405 14.3974 1.08564C14.0299 1.03162 12.6368 0.835693 9.41009 0.835693H9.38594C6.15801 0.835693 5.46567 1.03162 5.09772 1.08564C2.97938 1.39534 1.04477 2.87288 0.575241 4.984C0.349689 6.02363 0.325541 7.17628 0.367614 8.23358C0.427363 9.74971 0.438566 11.2633 0.578228 12.7735C0.674075 13.7765 0.842367 14.7716 1.08037 15.7512C1.52649 17.5606 3.33264 19.0663 5.10245 19.6807C6.99698 20.3212 9.03442 20.4276 10.9867 19.9876C11.2016 19.9384 11.4137 19.8808 11.624 19.8156C12.0978 19.6665 12.6537 19.4997 13.0625 19.2067C13.068 19.2025 13.0727 19.1972 13.0759 19.191C13.0792 19.185 13.0806 19.1783 13.0811 19.1713V17.708C13.0811 17.7015 13.0797 17.6953 13.0764 17.6896C13.0734 17.6836 13.0694 17.6786 13.0642 17.6746C13.0592 17.6706 13.053 17.6679 13.047 17.6664C13.0403 17.6652 13.0341 17.6652 13.0276 17.6664C11.7766 17.9622 10.4953 18.1103 9.20893 18.1078C6.99599 18.1078 6.40099 17.0689 6.23021 16.6365C6.09353 16.2628 6.0064 15.873 5.9713 15.4769C5.97105 15.4701 5.97254 15.4637 5.97528 15.4575C5.97777 15.4515 5.98175 15.446 5.98698 15.4418C5.99221 15.4375 5.99868 15.4345 6.00516 15.4333C6.01188 15.4318 6.0186 15.4321 6.02482 15.4336C7.25515 15.7271 8.51585 15.8752 9.78127 15.8749C10.0855 15.8749 10.389 15.8749 10.6932 15.867C11.9658 15.8316 13.3067 15.7672 14.5589 15.5254C14.5903 15.5192 14.6214 15.514 14.6481 15.506C16.623 15.1308 18.5021 13.9535 18.6933 10.9721C18.7003 10.8548 18.7184 9.74273 18.7184 9.621C18.7192 9.20699 18.8531 6.6846 18.6985 5.13486ZM15.6593 12.5741H13.5828V7.54348C13.5828 6.48419 13.1367 5.94421 12.229 5.94421C11.2314 5.94421 10.7315 6.58327 10.7315 7.84522V10.5989H8.66746V7.84522C8.66746 6.58327 8.16657 5.94421 7.16901 5.94421C6.2668 5.94421 5.81645 6.48419 5.8152 7.54348V12.5741H3.74068V7.39063C3.74068 6.33158 4.01378 5.49012 4.56048 4.86649C5.12486 4.24436 5.86425 3.9247 6.78288 3.9247C7.84566 3.9247 8.64879 4.329 9.18404 5.13661L9.70086 5.9945L10.2184 5.13661C10.7537 4.329 11.5568 3.9247 12.6181 3.9247C13.5355 3.9247 14.2749 4.24436 14.841 4.86649C15.3877 5.48962 15.661 6.33108 15.661 7.39063L15.6593 12.5741Z" fill="#7864FF"/>
</svg>
</a>
</li>
<li class="share-icons__list-item">
<a href="https://bsky.app/intent/compose?text=DORA+metrics+were+fine.+Then+AI+showed+up. https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse" target="_blank" data-url="https://bsky.app/intent/compose?text=DORA+metrics+were+fine.+Then+AI+showed+up. https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse" class="js-open-modal" rel="noopener noreferrer" title="Share To Bluesky">
<svg xmlns="http://www.w3.org/2000/svg" width="19px" height="21px" viewBox="0 0 19 21">
<path fill="#7864FF" d="M 4.292969 2.394531 C 6.398438 4.128906 8.667969 7.648438 9.5 9.535156 C 10.332031 7.648438 12.601562 4.128906 14.707031 2.394531 C 16.230469 1.140625 18.691406 0.171875 18.691406 3.257812 C 18.691406 3.871094 18.371094 8.425781 18.183594 9.164062 C 17.527344 11.738281 15.136719 12.394531 13.007812 12 C 16.726562 12.691406 17.671875 14.988281 15.628906 17.289062 C 11.75 21.652344 10.050781 16.191406 9.617188 14.792969 C 9.539062 14.539062 9.5 14.417969 9.5 14.519531 C 9.5 14.417969 9.460938 14.539062 9.382812 14.792969 C 8.949219 16.191406 7.25 21.652344 3.371094 17.289062 C 1.328125 14.988281 2.273438 12.691406 5.992188 12 C 3.863281 12.394531 1.472656 11.738281 0.816406 9.164062 C 0.628906 8.425781 0.308594 3.871094 0.308594 3.257812 C 0.308594 0.171875 2.769531 1.140625 4.292969 2.394531 Z M 4.292969 2.394531 "/>
</svg>
</a>
</li>
</ul>
</div> </div>
<div class="article-sidebar-ad">
<div
id="container-SIDEBAR-3"
class="advert advert--size-class-sidebar"
data-ad="1"data-sizes="[[160,600]]"data-sizemap="sidebar"data-ad-unit="SIDEBAR"data-collapse="BEFORE_FETCH"
>
<div id="SIDEBAR"></div>
</div> </div>
</div>
<div class="article__body__col article__body__col--recommended">
</div>
</div>
</div>
<div class="wrap wrap--horizontal-mobile-padding alignfull">
<div class="article-meta">
<div class="article-meta__container">
<div class="article-meta__contributors">
<div class="article-contributors">
<h3 class="article-contributors__label">About the author</h3>
<ul class="article-contributors__list">
<li class="article-contributors__list-item">
<div class="article-meta__contributor article-contributor">
<div class="article-contributor__headshot">
<img
src="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_lfill,h_300,w_300,g_faces/next/2026/05/PJL_2-Paul-LaPosta-2-300x300.png"
decoding="async"
width="300"
height="300"
alt="PJL_2 &#8211; Paul LaPosta (2)"
srcset="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_lfill,h_300,w_300/next/2026/05/PJL_2-Paul-LaPosta-2.png 300w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_lfill,h_150,w_150/next/2026/05/PJL_2-Paul-LaPosta-2.png 150w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_768/next/2026/05/PJL_2-Paul-LaPosta-2.png 768w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_1024,w_1024/next/2026/05/PJL_2-Paul-LaPosta-2.png 1024w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_580/next/2026/05/PJL_2-Paul-LaPosta-2.png 580w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_275/next/2026/05/PJL_2-Paul-LaPosta-2.png 275w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_1536,w_1536/next/2026/05/PJL_2-Paul-LaPosta-2.png 1536w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_2048,w_2048/next/2026/05/PJL_2-Paul-LaPosta-2.png 2048w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_100,w_100/next/2026/05/PJL_2-Paul-LaPosta-2.png 100w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_lfill,h_400,w_400/next/2026/05/PJL_2-Paul-LaPosta-2.png 400w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_lfill,h_600,w_600/next/2026/05/PJL_2-Paul-LaPosta-2.png 600w"
sizes="(max-width: 300px) 100vw, 300px"
loading="lazy"
class="clip-right-corner img-border-bottom"
/>
</div>
<div class="article-contributor__content">
<h6 class="article-contributor__name"><a href="https://leaddev.com/community/paul-laposta" class="article-contributor__name-link">Paul LaPosta</a></h6>
<div class="article-contributor__bio">
<p>Paul LaPosta is a DevOps and cloud infrastructure leader.</p>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="article-meta__social">
<div class="share-icons">
<h5 class="share-icons__label">Share:</h5>
<ul class="share-icons__list">
<li class="share-icons__list-item">
<a href="https://x.com/intent/tweet?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&text=DORA+metrics+were+fine.+Then+AI+showed+up.&via=theleaddev" target="_blank" data-url="https://x.com/intent/tweet?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&text=DORA+metrics+were+fine.+Then+AI+showed+up.&via=theleaddev" class="js-open-modal" rel="noopener noreferrer" title="Share To X">
<svg xmlns="http://www.w3.org/2000/svg" width="18.591" height="19" viewBox="0 0 18.591 19">
<path data-name="Path 790" d="M8.818,10.657h0L8.083,9.6,2.231,1.235H4.75L9.473,7.989l.735,1.052,6.138,8.78H13.827ZM16.345,0l-6.01,6.986L5.536,0H0L7.258,10.563,0,19H1.64l6.346-7.377L13.055,19h5.536L11.064,8.045h0L17.986,0Z" fill="#7864ff"/>
</svg>
</a>
</li>
<li class="share-icons__list-item">
<a href="https://www.linkedin.com/sharing/share-offsite?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&summary=DORA+metrics+were+fine.+Then+AI+showed+up.&title=DORA+metrics+are+lying+to+you+and+AI+is+making+it+worse+-+LeadDev" target="_blank" data-url="https://www.linkedin.com/sharing/share-offsite?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&summary=DORA+metrics+were+fine.+Then+AI+showed+up.&title=DORA+metrics+are+lying+to+you+and+AI+is+making+it+worse+-+LeadDev" class="js-open-modal" rel="noopener noreferrer" title="Share To Linkedin">
<svg data-name="Group 684" xmlns="http://www.w3.org/2000/svg" width="18.672" height="18.671" viewBox="0 0 18.672 18.671">
<g data-name="Group 70" transform="translate(0 0)">
<g data-name="Group 69" transform="translate(0 0)">
<path data-name="Path 190" d="M17.29,0H1.378A1.363,1.363,0,0,0,0,1.346V17.325a1.364,1.364,0,0,0,1.378,1.347H17.29a1.366,1.366,0,0,0,1.382-1.347V1.346A1.365,1.365,0,0,0,17.29,0ZM5.538,15.911H2.768V7h2.77ZM4.154,5.783a1.606,1.606,0,1,1,1.6-1.606A1.606,1.606,0,0,1,4.154,5.783ZM15.911,15.911H13.143V11.578c0-1.033-.019-2.362-1.439-2.362-1.441,0-1.662,1.126-1.662,2.288v4.408H7.275V7H9.931V8.218h.037a2.91,2.91,0,0,1,2.62-1.439c2.8,0,3.322,1.846,3.322,4.245Z" transform="translate(0 -0.001)" fill="#7864ff"/>
</g>
</g>
</svg>
</a>
</li>
<li class="share-icons__list-item">
<a href="https://www.reddit.com/submit?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&title=DORA+metrics+were+fine.+Then+AI+showed+up." target="_blank" data-url="https://www.reddit.com/submit?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&title=DORA+metrics+were+fine.+Then+AI+showed+up." class="js-open-modal" rel="noopener noreferrer" title="Share To Reddit">
<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20.7256 10.3354C20.7256 15.8133 16.2847 20.2542 10.8069 20.2542C5.3297 20.2542 0.888672 15.8133 0.888672 10.3354C0.888672 4.85827 5.3297 0.417236 10.8069 0.417236C16.2847 0.417236 20.7256 4.85827 20.7256 10.3354Z" fill="#7864FF"/>
<path d="M17.4192 10.3354C17.4185 9.75581 17.0719 9.23245 16.5388 9.00579C16.0048 8.77931 15.3875 8.89283 14.97 9.29495C13.8279 8.51763 12.483 8.09108 11.1015 8.06791L11.7603 4.96833L13.9135 5.4265C13.9373 5.94627 14.3442 6.36654 14.8627 6.40784C15.3818 6.44933 15.8498 6.09929 15.9565 5.58993C16.063 5.08058 15.774 4.57123 15.283 4.4015C14.7911 4.2316 14.2496 4.45413 14.0186 4.92056L11.6137 4.40923C11.4742 4.37959 11.3366 4.46814 11.3072 4.60769L10.5719 8.06647C9.17078 8.07905 7.8049 8.5056 6.64593 9.2928C6.33791 8.99466 5.91477 8.84864 5.48893 8.89354C5.06309 8.93773 4.67928 9.16869 4.44005 9.52359C4.20082 9.87866 4.1315 10.3207 4.25003 10.7318C4.36785 11.1436 4.66258 11.4811 5.05393 11.6542C5.03148 11.7988 5.02106 11.9455 5.02178 12.0921C5.02178 14.3175 7.60985 16.1213 10.807 16.1213C14.0039 16.1213 16.5929 14.3175 16.5929 12.0921C16.5929 11.9461 16.5815 11.8009 16.5591 11.6571C17.0817 11.4256 17.4192 10.9078 17.4192 10.3354ZM7.50102 11.3688C7.50102 10.9505 7.753 10.5739 8.13879 10.4139C8.52475 10.2546 8.96944 10.3424 9.26489 10.6384C9.56016 10.9338 9.64852 11.3778 9.48868 11.7645C9.32865 12.1503 8.95202 12.4021 8.53445 12.4021C7.96349 12.4021 7.50102 11.9391 7.50102 11.3688ZM13.2618 14.0986C12.5566 14.8016 11.2053 14.8576 10.8082 14.8576C10.4113 14.8576 9.05925 14.803 8.35485 14.0986C8.10304 13.8461 8.48183 13.4678 8.73453 13.7204C9.1785 14.1645 10.1291 14.3224 10.8082 14.3224C11.4875 14.3224 12.4381 14.1645 12.8835 13.7196C12.9873 13.6103 13.1614 13.6074 13.2681 13.7148C13.3747 13.8215 13.3719 13.9955 13.2618 14.0986ZM13.08 12.4021C12.6626 12.4021 12.2858 12.1503 12.1258 11.7645C11.9659 11.3778 12.0543 10.9338 12.3496 10.6384C12.645 10.3424 13.0892 10.2546 13.4757 10.4139C13.8615 10.5739 14.1134 10.9505 14.1134 11.3688C14.1134 11.9391 13.6504 12.4021 13.08 12.4021Z" fill="white"/>
</svg>
</a>
</li>
<li class="share-icons__list-item">
<a href="https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&t=DORA+metrics+were+fine.+Then+AI+showed+up." target="_blank" data-url="https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&t=DORA+metrics+were+fine.+Then+AI+showed+up." class="js-open-modal" rel="noopener noreferrer" title="Share To Hacker news">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.538086" y="0.835693" width="19" height="19" fill="#7864FF"/>
<path d="M9.40426 11.6022L6.11133 5.45923H7.63133L9.53133 9.32276C9.53133 9.38629 9.59486 9.44923 9.6578 9.51276C9.72074 9.57629 9.72133 9.63923 9.78427 9.76629L9.8478 9.82982V9.89335C9.91133 10.0198 9.91133 10.0834 9.97426 10.2098C10.0378 10.2734 10.0378 10.3998 10.1007 10.4634C10.1643 10.2734 10.2907 10.1469 10.3543 9.89335C10.4178 9.70335 10.5443 9.51335 10.6707 9.32335L12.5707 5.45982H13.9643L10.6713 11.6657V15.5922H9.40486L9.40426 11.6022Z" fill="white"/>
</svg>
</a>
</li>
<li class="share-icons__list-item">
<a href="https://mastodonshare.com/?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&text=DORA+metrics+were+fine.+Then+AI+showed+up." target="_blank" data-url="https://mastodonshare.com/?url=https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse&text=DORA+metrics+were+fine.+Then+AI+showed+up." class="js-open-modal" rel="noopener noreferrer" title="Share To Mastodon">
<svg width="19" height="21" viewBox="0 0 19 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.6985 5.13486C18.415 3.04839 16.5765 1.40405 14.3974 1.08564C14.0299 1.03162 12.6368 0.835693 9.41009 0.835693H9.38594C6.15801 0.835693 5.46567 1.03162 5.09772 1.08564C2.97938 1.39534 1.04477 2.87288 0.575241 4.984C0.349689 6.02363 0.325541 7.17628 0.367614 8.23358C0.427363 9.74971 0.438566 11.2633 0.578228 12.7735C0.674075 13.7765 0.842367 14.7716 1.08037 15.7512C1.52649 17.5606 3.33264 19.0663 5.10245 19.6807C6.99698 20.3212 9.03442 20.4276 10.9867 19.9876C11.2016 19.9384 11.4137 19.8808 11.624 19.8156C12.0978 19.6665 12.6537 19.4997 13.0625 19.2067C13.068 19.2025 13.0727 19.1972 13.0759 19.191C13.0792 19.185 13.0806 19.1783 13.0811 19.1713V17.708C13.0811 17.7015 13.0797 17.6953 13.0764 17.6896C13.0734 17.6836 13.0694 17.6786 13.0642 17.6746C13.0592 17.6706 13.053 17.6679 13.047 17.6664C13.0403 17.6652 13.0341 17.6652 13.0276 17.6664C11.7766 17.9622 10.4953 18.1103 9.20893 18.1078C6.99599 18.1078 6.40099 17.0689 6.23021 16.6365C6.09353 16.2628 6.0064 15.873 5.9713 15.4769C5.97105 15.4701 5.97254 15.4637 5.97528 15.4575C5.97777 15.4515 5.98175 15.446 5.98698 15.4418C5.99221 15.4375 5.99868 15.4345 6.00516 15.4333C6.01188 15.4318 6.0186 15.4321 6.02482 15.4336C7.25515 15.7271 8.51585 15.8752 9.78127 15.8749C10.0855 15.8749 10.389 15.8749 10.6932 15.867C11.9658 15.8316 13.3067 15.7672 14.5589 15.5254C14.5903 15.5192 14.6214 15.514 14.6481 15.506C16.623 15.1308 18.5021 13.9535 18.6933 10.9721C18.7003 10.8548 18.7184 9.74273 18.7184 9.621C18.7192 9.20699 18.8531 6.6846 18.6985 5.13486ZM15.6593 12.5741H13.5828V7.54348C13.5828 6.48419 13.1367 5.94421 12.229 5.94421C11.2314 5.94421 10.7315 6.58327 10.7315 7.84522V10.5989H8.66746V7.84522C8.66746 6.58327 8.16657 5.94421 7.16901 5.94421C6.2668 5.94421 5.81645 6.48419 5.8152 7.54348V12.5741H3.74068V7.39063C3.74068 6.33158 4.01378 5.49012 4.56048 4.86649C5.12486 4.24436 5.86425 3.9247 6.78288 3.9247C7.84566 3.9247 8.64879 4.329 9.18404 5.13661L9.70086 5.9945L10.2184 5.13661C10.7537 4.329 11.5568 3.9247 12.6181 3.9247C13.5355 3.9247 14.2749 4.24436 14.841 4.86649C15.3877 5.48962 15.661 6.33108 15.661 7.39063L15.6593 12.5741Z" fill="#7864FF"/>
</svg>
</a>
</li>
<li class="share-icons__list-item">
<a href="https://bsky.app/intent/compose?text=DORA+metrics+were+fine.+Then+AI+showed+up. https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse" target="_blank" data-url="https://bsky.app/intent/compose?text=DORA+metrics+were+fine.+Then+AI+showed+up. https%3A%2F%2Fleaddev.com%2Freporting%2Fdora-metrics-are-lying-to-you-and-ai-is-making-it-worse" class="js-open-modal" rel="noopener noreferrer" title="Share To Bluesky">
<svg xmlns="http://www.w3.org/2000/svg" width="19px" height="21px" viewBox="0 0 19 21">
<path fill="#7864FF" d="M 4.292969 2.394531 C 6.398438 4.128906 8.667969 7.648438 9.5 9.535156 C 10.332031 7.648438 12.601562 4.128906 14.707031 2.394531 C 16.230469 1.140625 18.691406 0.171875 18.691406 3.257812 C 18.691406 3.871094 18.371094 8.425781 18.183594 9.164062 C 17.527344 11.738281 15.136719 12.394531 13.007812 12 C 16.726562 12.691406 17.671875 14.988281 15.628906 17.289062 C 11.75 21.652344 10.050781 16.191406 9.617188 14.792969 C 9.539062 14.539062 9.5 14.417969 9.5 14.519531 C 9.5 14.417969 9.460938 14.539062 9.382812 14.792969 C 8.949219 16.191406 7.25 21.652344 3.371094 17.289062 C 1.328125 14.988281 2.273438 12.691406 5.992188 12 C 3.863281 12.394531 1.472656 11.738281 0.816406 9.164062 C 0.628906 8.425781 0.308594 3.871094 0.308594 3.257812 C 0.308594 0.171875 2.769531 1.140625 4.292969 2.394531 Z M 4.292969 2.394531 "/>
</svg>
</a>
</li>
</ul>
</div> </div>
</div>
</div> </div>
<div
id="container-GLOBAL_POST_CONTENT-4"
class="advert advert--size-class-banner"
data-ad="1"data-sizes="[[970,250],[970,90],[728,90],[320,250],[320,200],[300,250],[300,200],[320,100],[300,100],[320,50],[300,50]]"data-sizemap="banner"data-ad-unit="GLOBAL_POST_CONTENT"data-collapse="BEFORE_FETCH"
>
<div id="GLOBAL_POST_CONTENT"></div>
</div>
<div class="wrap wrap--horizontal-mobile-padding alignfull">
<div class="related-posts">
<div class="related-posts__container">
<h3 class="related-posts__label heading heading--bordered">More like this</h3>
<div class="related-posts__items">
<div class="ld-card"
style=""
>
<a href="https://leaddev.com/ai/addictive-agentic-coding-has-developers-losing-sleep" class="ld-card__image clip-right-corner" title="‘Addictive’ agentic coding has developers losing sleep Cover Image" > <img
src="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_275/next/2025/11/slot-machine-code.jpg"
decoding="async"
width="275"
height="155"
alt="AI slot machine code"
srcset="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_275/next/2025/11/slot-machine-code.jpg 275w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_300,w_300/next/2025/11/slot-machine-code.jpg 300w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_768/next/2025/11/slot-machine-code.jpg 768w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_1024,w_1024/next/2025/11/slot-machine-code.jpg 1024w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_580/next/2025/11/slot-machine-code.jpg 580w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_1536,w_1536/next/2025/11/slot-machine-code.jpg 1536w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_100,w_100/next/2025/11/slot-machine-code.jpg 100w"
sizes="(max-width: 275px) 100vw, 275px"
loading="lazy"
class="attachment-32457"
/>
</a>
<div class="ld-card__inner">
<h3 class="ld-card__title">
<a href="https://leaddev.com/ai/addictive-agentic-coding-has-developers-losing-sleep" class="ld-card__title-link">‘Addictive’ agentic coding has developers losing sleep</a>
</h3>
<div class="ld-card__excerpt">
<p>Beware the AI vampire.</p>
</div>
<ul class="ld-card__contributors">
<li class="ld-card__contributors-item">
<a href="https://leaddev.com/community/sage-lazzaro" class="ld-card__contributor">
Sage Lazzaro
</a>
</li>
</ul>
</div>
</div>
<div class="ld-card"
style=""
>
<a href="https://leaddev.com/ai/5-ways-to-operationalize-generative-ai-in-legacy-systems" class="ld-card__image clip-right-corner" title="5 ways to operationalize generative AI in legacy systems Cover Image" > <img
src="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_275/next/2025/10/brain-puzzle-1-1.png"
decoding="async"
width="275"
height="155"
alt="brain puzzle 1 (1)"
srcset="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_275/next/2025/10/brain-puzzle-1-1.png 275w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_300,w_300/next/2025/10/brain-puzzle-1-1.png 300w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_768/next/2025/10/brain-puzzle-1-1.png 768w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_1024,w_1024/next/2025/10/brain-puzzle-1-1.png 1024w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_580/next/2025/10/brain-puzzle-1-1.png 580w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_1536,w_1536/next/2025/10/brain-puzzle-1-1.png 1536w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_100,w_100/next/2025/10/brain-puzzle-1-1.png 100w"
sizes="(max-width: 275px) 100vw, 275px"
loading="lazy"
class="attachment-32802"
/>
</a>
<div class="ld-card__inner">
<h3 class="ld-card__title">
<a href="https://leaddev.com/ai/5-ways-to-operationalize-generative-ai-in-legacy-systems" class="ld-card__title-link">5 ways to operationalize generative AI in legacy systems</a>
</h3>
<div class="ld-card__excerpt">
<p>How AI modernized 71,000 legacy files.</p>
</div>
<ul class="ld-card__contributors">
<li class="ld-card__contributors-item">
<a href="https://leaddev.com/community/dippu-kumar-singh" class="ld-card__contributor">
Dippu Kumar Singh
</a>
</li>
</ul>
</div>
</div>
<div class="ld-card"
style=""
>
<a href="https://leaddev.com/ai/how-cloudflare-rebuilt-next-js-in-a-weekend" class="ld-card__image clip-right-corner" title="How Cloudflare rebuilt Next.js in a weekend Cover Image" > <img
src="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_275/next/2025/07/motivating-engineers-07.jpg"
decoding="async"
width="275"
height="155"
alt="motivating engineers-07"
srcset="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_275/next/2025/07/motivating-engineers-07.jpg 275w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_300,w_300/next/2025/07/motivating-engineers-07.jpg 300w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_768/next/2025/07/motivating-engineers-07.jpg 768w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_1024,w_1024/next/2025/07/motivating-engineers-07.jpg 1024w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_580/next/2025/07/motivating-engineers-07.jpg 580w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_1536,w_1536/next/2025/07/motivating-engineers-07.jpg 1536w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_100,w_100/next/2025/07/motivating-engineers-07.jpg 100w"
sizes="(max-width: 275px) 100vw, 275px"
loading="lazy"
class="attachment-32828"
/>
</a>
<div class="ld-card__inner">
<h3 class="ld-card__title">
<a href="https://leaddev.com/ai/how-cloudflare-rebuilt-next-js-in-a-weekend" class="ld-card__title-link">How Cloudflare rebuilt Next.js in a weekend</a>
</h3>
<div class="ld-card__excerpt">
<p>Yep, you guessed it – with agentic AI.</p>
</div>
<ul class="ld-card__contributors">
<li class="ld-card__contributors-item">
<a href="https://leaddev.com/community/bill-doerrfeld" class="ld-card__contributor">
Bill Doerrfeld
</a>
</li>
</ul>
</div>
</div>
<div class="ld-card"
style=""
>
<a href="https://leaddev.com/ai/squarespace-is-redrawing-the-boundaries-of-platform-engineering" class="ld-card__image clip-right-corner" title="Squarespace redraws the boundaries of platform engineering Cover Image" > <img
src="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_275,h_183/next/2024/07/The-Engineering-Management-Report-.png"
decoding="async"
width="1280"
height="853"
alt="The Engineering Management Report"
srcset="https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_275/next/2024/07/The-Engineering-Management-Report-.png 275w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_300,w_300/next/2024/07/The-Engineering-Management-Report-.png 300w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_768/next/2024/07/The-Engineering-Management-Report-.png 768w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_1024,w_1024/next/2024/07/The-Engineering-Management-Report-.png 1024w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,w_580/next/2024/07/The-Engineering-Management-Report-.png 580w, https://res.cloudinary.com/leaddev/image/upload/f_auto/q_auto/dpr_auto/c_limit,h_100,w_100/next/2024/07/The-Engineering-Management-Report-.png 100w"
sizes="(max-width: 275px) 100vw, 275px"
loading="lazy"
class="attachment-32247"
/>
</a>
<div class="ld-card__inner">
<h3 class="ld-card__title">
<a href="https://leaddev.com/ai/squarespace-is-redrawing-the-boundaries-of-platform-engineering" class="ld-card__title-link">Squarespace redraws the boundaries of platform engineering</a>
</h3>
<div class="ld-card__excerpt">
<p>How AI is reshaping the role of platform engineers.</p>
</div>
<ul class="ld-card__contributors">
<li class="ld-card__contributors-item">
<a href="https://leaddev.com/community/bill-doerrfeld" class="ld-card__contributor">
Bill Doerrfeld
</a>
</li>
</ul>
</div>
</div> </div>
</div>
</div>
</div>
</div>
</main>
<div
id="container-GLOBAL_PRE_FOOTER-5"
class="advert advert--size-class-banner"
data-ad="1"data-sizes="[[970,250],[970,90],[728,90],[320,250],[320,200],[300,250],[300,200],[320,100],[300,100],[320,50],[300,50]]"data-sizemap="banner"data-ad-unit="GLOBAL_PRE_FOOTER"data-collapse="BEFORE_FETCH"
>
<div id="GLOBAL_PRE_FOOTER"></div>
</div>
<footer class="footer">
<div class="footer__container">
<div class="footer__column footer__column--logo">
<a href="https://leaddev.com" title="Lead Dev Home Page">
<svg id="leaddev_logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 126 49.439">
<g id="leaddev_logo_text" data-name="Logo text" transform="translate(41.569 17.348)">
<path d="M62.577,24.867V36.523h7.414v2.871H59.057V24.867Z" transform="translate(-59.057 -24.867)" fill="#ff326e"/>
<path d="M170.8,30.989l-2.431,6.66h-.094l-2.433-6.66h-3.522l3.915,10.2h3.916l3.915-10.2Z" transform="translate(-89.635 -26.718)" fill="#ff326e"/>
<path d="M83.023,34.934a1.929,1.929,0,0,0-1.991-1.929,2.064,2.064,0,0,0-2.156,1.929Zm3.151,2.779c-.532,2.32-2.364,3.628-5.05,3.628-3.267,0-5.584-1.974-5.584-5.212a5.364,5.364,0,0,1,5.513-5.534,4.85,4.85,0,0,1,5.19,5.1V36.7H78.831a2.245,2.245,0,0,0,2.409,2.135,2.129,2.129,0,0,0,2.246-1.378Z" transform="translate(-63.938 -26.599)" fill="#ff326e"/>
<path d="M98.352,36.54l-1.692.345c-1.042.207-1.691.459-1.691,1.263,0,.6.463.965,1.182.965a2.2,2.2,0,0,0,2.2-2.364Zm3.289,1.745c0,.527.232.757.648.757a1.925,1.925,0,0,0,.858-.183v1.768a3.506,3.506,0,0,1-2.178.666A2.339,2.339,0,0,1,98.537,39.5a3.611,3.611,0,0,1-3.453,1.792c-2.062,0-3.359-1.034-3.359-2.779,0-1.952,1.482-2.779,3.752-3.215l2.874-.5v-.184a1.364,1.364,0,0,0-1.506-1.538A1.6,1.6,0,0,0,95.2,34.52l-3.1-.23c.347-2.181,1.993-3.7,4.934-3.7,2.688,0,4.61,1.2,4.61,3.974Z" transform="translate(-68.731 -26.598)" fill="#ff326e"/>
<path d="M116.384,34.121a2.365,2.365,0,0,0-2.317-2.664c-1.6,0-2.34,1.125-2.34,2.779,0,1.676.743,2.8,2.34,2.8,1.367,0,2.317-1.033,2.317-2.686Zm0,3.4a3.525,3.525,0,0,1-3.452,2.09c-3.036,0-4.587-2.366-4.587-5.373,0-2.985,1.551-5.373,4.587-5.373a3.506,3.506,0,0,1,3.452,2.112V24.868h3.36V39.333h-3.36Z" transform="translate(-73.652 -24.867)" fill="#ff326e"/>
<path d="M132.676,36.577c2.757,0,4.356-1.652,4.356-4.5,0-2.8-1.6-4.454-4.356-4.454h-1.9v8.954Zm-5.421-11.71h5.653c4.8,0,7.762,2.709,7.762,7.234s-2.966,7.232-7.762,7.232h-5.653Z" transform="translate(-79.251 -24.867)" fill="#ff326e"/>
<path d="M154.85,34.934a1.93,1.93,0,0,0-1.991-1.929,2.064,2.064,0,0,0-2.156,1.929ZM158,37.713c-.532,2.32-2.364,3.628-5.05,3.628-3.267,0-5.584-1.974-5.584-5.212a5.364,5.364,0,0,1,5.513-5.534,4.85,4.85,0,0,1,5.19,5.1V36.7h-7.413a2.245,2.245,0,0,0,2.409,2.135,2.129,2.129,0,0,0,2.246-1.378Z" transform="translate(-85.207 -26.599)" fill="#ff326e"/>
</g>
<g id="symbol">
<path id="footer-logo__bottom" data-name="Path 19" d="M0,23.622V56.581H24.941v-8.24H8.314V23.622Z" transform="translate(0 -7.142)" fill="#ff326e"/>
<path id="footer-logo__top" data-name="Path 20" d="M0,0V8.24H24.941V41.2h8.314V8.24L24.941,0Z" transform="translate(0 0)" fill="#fff"/>
</g>
</svg>
</a>
</div>
<div class="footer__column footer__column--menu1">
<ul class="nav-main" role="menu" aria-label="footer primary navigation links">
<li class="nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-21693">
<a role="menuitem"
class="nav-main-link" href="https://leaddev.com/commercial"
>Sponsorship &amp; advertising opportunities</a>
</li>
<li class="nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-14236">
<a role="menuitem"
class="nav-main-link" href="https://leaddev.com/get-involved"
>Contribute a talk, workshop or article</a>
</li>
<li class="nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-34369">
<a role="menuitem"
class="nav-main-link" href="https://leaddev.com/meetups"
>Find a meetup</a>
</li>
<li class="nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-14237">
<a role="menuitem"
class="nav-main-link" href="https://leaddev.com/supported-tickets"
>Supported tickets</a>
</li>
<li class="nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-14238">
<a role="menuitem"
class="nav-main-link" href="https://leaddev.com/newsletter"
>Newsletter</a>
</li>
<li class="nav-main-item menu-item menu-item-type-custom menu-item-object-custom menu-item-21694">
<a role="menuitem"
class="nav-main-link" href="/feed"
>RSS feed</a>
</li>
</ul>
</div>
<div class="footer__column footer__column--menu2">
<ul class="nav-main" role="menu" aria-label="footer secondary navigation links">
<li class="nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-14241">
<a role="menuitem"
class="nav-main-link" href="https://leaddev.com/about-leaddev"
>About LeadDev</a>
</li>
<li class="nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-14242">
<a role="menuitem"
class="nav-main-link" href="https://leaddev.com/advisory-board"
>Our event advisory boards</a>
</li>
<li class="nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-14244">
<a role="menuitem"
class="nav-main-link" href="https://leaddev.com/careers"
>Careers</a>
</li>
<li class="nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-14246">
<a role="menuitem"
class="nav-main-link" href="https://leaddev.com/code-conduct"
>Code of Conduct</a>
</li>
<li class="nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-14247">
<a role="menuitem"
class="nav-main-link" href="https://leaddev.com/contact-us"
>Contact Us</a>
</li>
</ul>
</div>
<div class="footer__column footer__column--social" role="menu" aria-label="social links">
</div>
<div class="footer__column footer__column--legal">
<span class="footer__copyright">&copy; 2026 LeadDev</span>
<nav class="nav-legal" role="menu" aria-label="legal links">
<ul class="list list--naked list--horizontal list--unpadded">
<li class="nav-legal__item menu-item menu-item-type-post_type menu-item-object-page menu-item-privacy-policy menu-item-14248">
<a role="menuitem"
class="nav-legal-link" href="https://leaddev.com/data-promise"
>Data Promise</a>
</li>
<li class="nav-legal__item menu-item menu-item-type-post_type menu-item-object-page menu-item-14249">
<a role="menuitem"
class="nav-legal-link" href="https://leaddev.com/terms"
>Terms</a>
</li>
</ul>
</nav>
</div>
</div>
</footer>
<script>
// Initialize the data layer for Google Tag Manager (this should mandatorily be done before the Privacy Controls and Cookie Solution is loaded)
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
// Default consent mode is "denied" for both ads and analytics as well as the optional types, but delay for 2 seconds until the Privacy Controls and Cookie Solution is loaded
gtag("consent", "default", {
ad_storage: "denied",
analytics_storage: "denied",
functionality_storage: "denied", // optional
personalization_storage: "denied", // optional
security_storage: "denied", // optional
wait_for_update: 2000 // milliseconds
});
// Improve ad click measurement quality (optional)
//gtag("set", "url_passthrough", true);
// Further redact your ads data (optional)
gtag("set", "ads_data_redaction", true);
</script>
<script type="speculationrules">
{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/pbc/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]}
</script>
<script id="wp-importmap" type="importmap">
{"imports":{"@wordpress/route":"https://leaddev.com/wp-includes/js/dist/script-modules/route/index.min.js?ver=ef851c0f4dda0d1dd359","@wordpress/video-conversion/worker":"https://leaddev.com/wp-includes/js/dist/script-modules/video-conversion/worker.min.js?ver=4d3627c45251ceb4f9a2","@wordpress/vips/worker":"https://leaddev.com/wp-includes/js/dist/script-modules/vips/worker.min.js?ver=685442d334b2d3e70832","@wordpress/interactivity":"https://leaddev.com/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=efaa5193bbad9c60ffd1"}}
</script>
<script data-wp-router-options="{&quot;loadOnClientNavigation&quot;:true}" fetchpriority="low" id="@wordpress/block-library/navigation/view-js-module" src="https://leaddev.com/wp-includes/js/dist/script-modules/block-library/navigation/view.min.js?ver=1bf28ded04f9f188bdcb" type="module"></script>
<link rel="modulepreload" href="https://leaddev.com/wp-includes/js/dist/script-modules/interactivity/index.min.js?ver=efaa5193bbad9c60ffd1" id="@wordpress/interactivity-js-modulepreload" fetchpriority="low">
<script type="text/javascript">
window.zephr_form_data = window.zephr_form_data || {};
window.zephr_form_data = {"44":[]} </script>
<script
id="activte-campaign"
type="text/plain"
class="_iub_cs_activate-inline"
data-iub-purposes="5"
>
(function(e,t,o,n,p,r,i){e.visitorGlobalObjectAlias=n;e[e.visitorGlobalObjectAlias]=e[e.visitorGlobalObjectAlias]||function(){(e[e.visitorGlobalObjectAlias].q=e[e.visitorGlobalObjectAlias].q||[]).push(arguments)};e[e.visitorGlobalObjectAlias].l=(new Date).getTime();r=t.createElement("script");r.src=o;r.async=true;i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i)})(window,document,"https://diffuser-cdn.app-us1.com/diffuser/diffuser.js","vgo");
vgo('setAccount', '1001137578');
vgo('setTrackByDefault', true);
vgo('process');
</script>
<!-- End AC Tag Manager --><script id="iub-autoblocking-js-before">
var _iub = _iub || [];
_iub.csConfiguration = {"askConsentAtCookiePolicyUpdate":true,"cookiePolicyInOtherWindow":true,"countryDetection":true,"enableFadp":true,"enableLgpd":true,"enableUspr":true,"floatingPreferencesButtonCaptionColor":"#ffffff","floatingPreferencesButtonColor":"#0a0a44","floatingPreferencesButtonDisplay":"bottom-left","floatingPreferencesButtonHover":true,"lang":"en","lgpdAppliesGlobally":false,"perPurposeConsent":true,"siteId":"2123075","cookiePolicyId":"82864802","floatingPreferencesButtonCaption":"Privacy settings","enableTcf":true,"banner":{"acceptButtonCaptionColor":"white","acceptButtonColor":"#ff196a","acceptButtonDisplay":true,"backgroundColor":"#0a0a44","backgroundOverlay":true,"brandBackgroundColor":"#0a0a44","brandTextColor":"#ffffff","closeButtonRejects":true,"customizeButtonCaptionColor":"#ffffff","customizeButtonColor":"#7864ff","customizeButtonDisplay":true,"explicitWithdrawal":true,"listPurposes":true,"logo":"https://res.cloudinary.com/leaddev/image/upload/c_lpad,h_56,q_auto,w_161/v1611702739/manual/LD_Logo_Generic_OnNavy_RGB_iqc0xo.png","ownerName":"White October Events Ltd","position":"float-top-center","rejectButtonCaptionColor":"white","rejectButtonColor":"#828485","rejectButtonDisplay":true,"showPurposesToggles":true,"showTotalNumberOfProviders":true,"textColor":"#ffffff"},"callback":{"onPreferenceExpressedOrNotNeeded":function(preference) {
dataLayer.push({
iubenda_ccpa_opted_out: _iub.cs.api.isCcpaOptedOut()
});
if (!preference) {
dataLayer.push({
event: "iubenda_preference_not_needed"
});
} else {
if (preference.consent === true) {
dataLayer.push({
event: "iubenda_consent_given"
});
} else if (preference.consent === false) {
dataLayer.push({
event: "iubenda_consent_rejected"
});
} else if (preference.purposes) {
for (var purposeId in preference.purposes) {
if (preference.purposes[purposeId]) {
dataLayer.push({
event: "iubenda_consent_given_purpose_" + purposeId
});
}
}
}
}
}}}
//# sourceURL=iub-autoblocking-js-before
</script>
<script data-wp-strategy="defer" defer id="iub-autoblocking-js" src="https://cs.iubenda.com/autoblocking/2123075.js"></script>
<script data-wp-strategy="defer" defer id="iub-tcf-stub-v2-js" src="//cdn.iubenda.com/cs/tcf/stub-v2.js"></script>
<script data-wp-strategy="defer" defer id="iub-safe-tcf-v2-js" src="//cdn.iubenda.com/cs/tcf/safe-tcf-v2.js"></script>
<script data-wp-strategy="defer" defer id="iub-cs-gpp-js" src="//cdn.iubenda.com/cs/gpp/stub.js"></script>
<script charset="UTF-8" data-wp-strategy="defer" defer id="iub-cs-js" src="//cdn.iubenda.com/cs/iubenda_cs.js"></script>
<script data-wp-strategy="defer" defer id="site-js" src="https://leaddev.com/wp-content/themes/pbc/build/site.js?ver=46920334b4177d314f6a"></script>
<script id="gam-controller-js-before">
window.gam = window.gam || {};
window.gam.breakpoints = {"desktop":[1000,0],"tablet":[760,0],"mobile":[300,0]}
window.gam.sizemaps = {"header_banner":{"desktop":[[970,90]],"tablet":[[728,90]],"mobile":[[300,50]]},"banner":{"desktop":[[970,250],[970,90]],"tablet":[[728,90]],"mobile":[[300,100],[300,50]]},"sidebar":{"desktop":[[160,600]]},"in_content":{"desktop":[[300,250]],"tablet":[[300,250],[728,90]],"mobile":[[300,250],[300,50],[300,100]]}}
window.gam.targetting = {"userId":"","view-type":"content","post_id":32933,"post_title":"dora-metrics-are-lying-to-you-and-ai-is-making-it-worse","url":"https:\/\/leaddev.com\/reporting\/dora-metrics-are-lying-to-you-and-ai-is-making-it-worse","post_type":"post","post_date":"2026-05-06 07:09:36","content_type":"","category":["ai","reporting"],"tags":[],"contributors":["paul-laposta"],"sponsors":[],"client-campaign-code":[],"network_id":"22794429541","brand_id":"leaddev","ad_path":"LD","Domain":["leaddev.com"]}
//# sourceURL=gam-controller-js-before
</script>
<script data-wp-strategy="defer" defer id="gam-controller-js" src="https://leaddev.com/wp-content/mu-plugins/app/src/Features/Ads/build//Manager.js?ver=458ac96897f3c6fa9a83"></script>
<script id="gform_placeholder-js" defer='defer' src="https://leaddev.com/wp-content/plugins/gravityforms/js/placeholders.jquery.min.js?ver=2.10.5"></script>
<script id="gform_gravityforms_theme_vendors-js" defer='defer' src="https://leaddev.com/wp-content/plugins/gravityforms/assets/js/dist/vendor-theme.min.js?ver=7c651d0ba638ce98b9c65141edddd567"></script>
<script id="gform_gravityforms_theme-js-extra">
var gform_theme_config = {"common":{"form":{"honeypot":{"version_hash":"761673ff590080c8d4a9dd58f50332c2"},"ajax":{"ajaxurl":"https://leaddev.com/wp-admin/admin-ajax.php","ajax_submission_nonce":"04e1d388d2","i18n":{"step_announcement":"Step %1$s of %2$s, %3$s","unknown_error":"There was an unknown error processing your request. Please try again.","error_403":"The request was blocked (403 error) for unknown security reasons. Remove any code-like text (scripts or DB queries) and try again."}},"product_meta":[],"pagination":{"44":""}}},"hmr_dev":"","public_path":"https://leaddev.com/wp-content/plugins/gravityforms/assets/js/dist/","config_nonce":"05f66460ac"};
//# sourceURL=gform_gravityforms_theme-js-extra
</script>
<script id="gform_gravityforms_theme-js" defer='defer' src="https://leaddev.com/wp-content/plugins/gravityforms/assets/js/dist/scripts-theme.min.js?ver=301fdc9aa6144168f3b854c4c2c8f6d3"></script>
<script id="zephr-front-end-holder-js-after">
(()=>{"use strict";var t,e,n,o,r,a={182:(t,e,n)=>{n.r(e),n.d(e,{doLogout:()=>f,getAccount:()=>c,getActions:()=>i,getProfile:()=>a,refreshActions:()=>s});var o=n(986),r=n(390);const a=async()=>d(),i=async()=>l(),c=async()=>u(),s=async()=>await i(),l=async()=>{const t=await a();let e=[];return e=t&&t["user-actions-json"]&&""!==t["user-actions-json"]?(0,r.En)(JSON.parse(t["user-actions-json"])):(0,r.En)([]),e},u=async()=>(0,o.A)("/blaize/account").then((t=>t)),d=()=>(0,o.A)("/blaize/profile").then((t=>t)),f=()=>(0,o.A)("/blaize/logout","POST",{where:"JUST_HERE"})},273:(t,e,n)=>{n.d(e,{N1:()=>i,y6:()=>c});var o=n(513);const r="leaddev",a=()=>Date.now()/1e3,i=()=>{o.remove(r)},c=async t=>{const e=(()=>{var t;const e=o.get(r);return null!==(t=e?.data)&&void 0!==t?t:{}})(),n={};Object.keys(e).filter((e=>t!==e)).forEach((t=>{n[t]=e[t]})),console.log("forget",n);const i={data:{...n},cache:{createdAt:a(),expiresAt:(c=10,a()+60*c)}};var c;o.set(r,i)}},390:(t,e,n)=>{n.d(e,{En:()=>f});var o=n(182),r=n(986),a=n(273);const i={actions:null,actionsDirty:!1,newActions:[]},c=t=>{const e={type:t["action-type"],action:t["action-name"],date_time:(new Date).toUTCString()};return i.newActions.push(e),i.actionsDirty=!0,!0},s=async t=>{if(!i.actionsDirty)return;const e=await(0,o.refreshActions)();i.actions=e.actions,console.log("refreshedActions",i.actions),i.actions=[...i.actions,...i.newActions],i.newActions=[],console.log("newActionsToSave",i.actions);const n={"user-actions-json":JSON.stringify(i.actions)};return i.actionsDirty=!1,(0,a.y6)("actions"),(0,a.y6)("profile"),(0,r.A)("/blaize/profile","PATCH",n)},l=async()=>{if(console.log("getActions",i),null!==i.actions)return i.actions;try{const t=await(0,o.getActions)();i.actions=t.actions}catch(t){i.actions=[],u()}finally{return i.actions}},u=async t=>(i.actions=[],s()),d=async t=>{let{"action-type":e,"action-name":n}=t;e=void 0!==e?e:"",console.time("Action Get"),console.timeLog("Action Get");const o=await l();return console.timeEnd("Action Get"),console.log(o),o.some(((t,o)=>!!t.hasOwnProperty("action")&&t.action===n&&(""===e||t.type===e)))},f=t=>(i.actions=t,{...i,addAction:c,saveActions:s,hasCompletedAction:d,get:l})},513:(t,e,n)=>{var o=n(728),r=n(729),a=n(841),i="localStorage"in n.g&&n.g.localStorage?n.g.localStorage:o;function c(t,e){return 1===arguments.length?s(t):l(t,e)}function s(t){const e=i.getItem(t);return r(e)}function l(t,e){try{return i.setItem(t,JSON.stringify(e)),!0}catch(t){return!1}}c.set=l,c.get=s,c.remove=function(t){return i.removeItem(t)},c.clear=function(){return i.clear()},c.backend=function(t){return t&&(i=t),i},c.on=a.on,c.off=a.off,t.exports=c},530:(t,e,n)=>{n.d(e,{Ay:()=>c});var o=n(182),r=n(390),a=n(273);const i={profile:null,account:null,actions:null},c={logout:()=>{(0,o.doLogout)().then((()=>{(0,a.N1)(),document.dispatchEvent(new Event("zephr_account_logout")),location.reload(!0)}))},getAttr:t=>{var e,n,o;return"email"===t?null!==(o=i?.account?.identifiers?.email_address)&&void 0!==o?o:"":null!==(e=null!==(n=i.profile[t])&&void 0!==n?n:i.account?.[t])&&void 0!==e?e:i.account?.identifiers?.[t]},account:()=>i.account,profile:()=>i.profile,actions:()=>i.actions,init:async()=>{i.profile=(0,o.getProfile)(),i.account=(0,o.getAccount)(),i.profile=await i.profile,i.account=await i.account,i.profile&&i.profile["user-actions-json"]&&""!==i.profile["user-actions-json"]?i.actions=(0,r.En)(JSON.parse(i.profile["user-actions-json"])):i.actions=(0,r.En)([]),document.dispatchEvent(new Event("zephr_account_loaded"))},data:i}},606:(t,e,n)=>{n.a(t,(async(t,e)=>{try{var o=n(530),r=n(182);void 0===window.ld&&(window.ld={}),void 0===window.ld.zephr&&(window.ld.zephr={user:o.Ay,client:r,state:{init:{started:!1,running:!1,finished:!1}}});const t=async()=>{document.dispatchEvent(new Event("zephr_init_start")),a(),console.log("START GET USER"),await o.Ay.init(),console.log("END GET USER"),window.ld.zephr.state.init.started=!0,window.ld.zephr.state.init.running=!1,window.ld.zephr.state.init.finished=!0,document.dispatchEvent(new Event("zephr_init_finished"))},a=()=>{document.addEventListener("click",(t=>{const e=t.target.closest(".js-action-logout");e&&e.contains(t.target)&&o.Ay.logout()}))};await t(),e()}catch(t){e(t)}}),1)},728:t=>{var e={};t.exports={getItem:function(t){return t in e?e[t]:null},setItem:function(t,n){return e[t]=n,!0},removeItem:function(t){return!!(t in e)&&delete e[t]},clear:function(){return e={},!0}}},729:t=>{t.exports=function(t){const e=function(t){try{return JSON.parse(t)}catch(e){return t}}(t);return void 0===e?null:e}},841:(t,e,n)=>{var o=n(729),r={};function a(t){t||(t=n.g.event);var e=r[t.key];e&&e.forEach((function(e){e(o(t.newValue),o(t.oldValue),t.url||t.uri)}))}t.exports={on:function(t,e){r[t]?r[t].push(e):r[t]=[e],n.g.addEventListener?n.g.addEventListener("storage",a,!1):n.g.attachEvent?n.g.attachEvent("onstorage",a):n.g.onstorage=a},off:function(t,e){var n=r[t];n.length>1?n.splice(n.indexOf(e),1):r[t]=[]}}},986:(t,e,n)=>{n.d(e,{A:()=>r});const o={},r=async(t,e="GET",n=null)=>{const r={method:e,mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json",Accept:"application/json"},redirect:"follow",referrerPolicy:"no-referrer"};n&&(r.body=JSON.stringify(n));const a=(t=>{let e=0;for(let n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n);return(e>>>0).toString(36).padStart(7,"0")})(e+"--"+t+"--"+JSON.stringify(n));try{let e;return o[a]?e=o[a]:(e=fetch(t,r).then((t=>{if(!t.ok)throw Error("HTTP Status Code Shows Failure");return t.json()})),o[a]=e),await e}catch(t){throw console.error(t),Error(t)}}}},i={};function c(t){var e=i[t];if(void 0!==e)return e.exports;var n=i[t]={exports:{}};return a[t](n,n.exports,c),n.exports}t="function"==typeof Symbol,e=t?Symbol("webpack queues"):"__webpack_queues__",n=t?Symbol("webpack exports"):"__webpack_exports__",o=t?Symbol("webpack error"):"__webpack_error__",r=t=>{t&&t.d<1&&(t.d=1,t.forEach((t=>t.r--)),t.forEach((t=>t.r--?t.r++:t())))},c.a=(t,a,i)=>{var c;i&&((c=[]).d=-1);var s,l,u,d=new Set,f=t.exports,p=new Promise(((t,e)=>{u=e,l=t}));p[n]=f,p[e]=t=>(c&&t(c),d.forEach(t),p.catch((t=>{}))),t.exports=p,a((t=>{var a;s=(t=>t.map((t=>{if(null!==t&&"object"==typeof t){if(t[e])return t;if(t.then){var a=[];a.d=0,t.then((t=>{i[n]=t,r(a)}),(t=>{i[o]=t,r(a)}));var i={};return i[e]=t=>t(a),i}}var c={};return c[e]=t=>{},c[n]=t,c})))(t);var i=()=>s.map((t=>{if(t[o])throw t[o];return t[n]})),l=new Promise((t=>{(a=()=>t(i)).r=0;var n=t=>t!==c&&!d.has(t)&&(d.add(t),t&&!t.d&&(a.r++,t.push(a)));s.map((t=>t[e](n)))}));return a.r?l:i()}),(t=>(t?u(p[o]=t):l(f),r(c)))),c&&c.d<0&&(c.d=0)},c.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return c.d(e,{a:e}),e},c.d=(t,e)=>{for(var n in e)c.o(e,n)&&!c.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),c.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),c.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},c(606)})();
//# sourceURL=zephr-front-end-holder-js-after
</script>
<script id="frontend-datetime-holder-js-after">
!function(){var t=document.querySelectorAll(".togshowtime_local_datetime");const e=navigator.language;var a;for(e||(e="en-US"),a=0;a<t.length;a++)if(t[a].getAttribute("data-time")){var i=new Date(t[a].getAttribute("data-time")+t[a].getAttribute("data-timezone")),r=t[a].getAttribute("data-year"),n=t[a].getAttribute("data-day"),o=t[a].getAttribute("data-month"),u=t[a].getAttribute("data-hour"),m=t[a].getAttribute("data-minute"),d=t[a].getAttribute("data-timezone-display"),g={};r&&(g.year=r),o&&(g.month=o),n&&(g.day=n),u&&(g.hour=u),m&&(g.minute=m),d&&(g.timeZoneName=d),t[a].innerHTML=new Intl.DateTimeFormat(e,g).format(i)}}();
//# sourceURL=frontend-datetime-holder-js-after
</script>
<script>
gform.initializeOnLoaded( function() { jQuery(document).on('gform_post_render', function(event, formId, currentPage){if(formId == 44) {if(typeof Placeholders != 'undefined'){
Placeholders.enable();
}
var formFooters = document.querySelectorAll(".gform-footer")
formFooters.forEach( (formFooter) => {
if(formFooter.querySelector('input[name="gform_browser_url"]')){
return;
}
var newInput = document.createElement("input")
newInput.setAttribute("type", "hidden")
newInput.setAttribute("name", "gform_browser_url")
newInput.setAttribute("value", window.location.href)
formFooter.append(newInput)
})} } );jQuery(document).on('gform_post_conditional_logic', function(event, formId, fields, isInit){} ) } );
</script>
<script>
gform.initializeOnLoaded( function() {jQuery(document).trigger("gform_pre_post_render", [{ formId: "44", currentPage: "1", abort: function() { this.preventDefault(); } }]); if (event && event.defaultPrevented) { return; } const gformWrapperDiv = document.getElementById( "gform_wrapper_44" ); if ( gformWrapperDiv ) { const visibilitySpan = document.createElement( "span" ); visibilitySpan.id = "gform_visibility_test_44"; gformWrapperDiv.insertAdjacentElement( "afterend", visibilitySpan ); } const visibilityTestDiv = document.getElementById( "gform_visibility_test_44" ); let postRenderFired = false; function triggerPostRender() { if ( postRenderFired ) { return; } postRenderFired = true; gform.core.triggerPostRenderEvents( 44, 1 ); if ( visibilityTestDiv ) { visibilityTestDiv.parentNode.removeChild( visibilityTestDiv ); } } function debounce( func, wait, immediate ) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if ( !immediate ) func.apply( context, args ); }; var callNow = immediate && !timeout; clearTimeout( timeout ); timeout = setTimeout( later, wait ); if ( callNow ) func.apply( context, args ); }; } const debouncedTriggerPostRender = debounce( function() { triggerPostRender(); }, 200 ); if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) { const observer = new MutationObserver( ( mutations ) => { mutations.forEach( ( mutation ) => { if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) { debouncedTriggerPostRender(); observer.disconnect(); } }); }); observer.observe( document.body, { attributes: true, childList: false, subtree: true, attributeFilter: [ 'style', 'class' ], }); } else { triggerPostRender(); } } );
</script>
<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","licenseKey":"NRJS-bf93e8d8c70f90ed4ab","applicationID":"680364193","transactionName":"YVBQbEdWDUECBkZbV1gac1tBXgxcTBZbXF9DWVNK","queueTime":0,"applicationTime":814,"atts":"TRdTGg9MHk8=","errorBeacon":"bam.nr-data.net","agent":""}</script>
<script type="text/javascript">
window.Zephr = window.Zephr || {};
window.Zephr.includeOutcomes = false;
window.Zephr.outcomesAsEvents = false;
window.Zephr.groupFields = false;
(function() {
var xhr = new(XMLHttpRequest || ActiveXObject)('MSXML2.XMLHTTP.3.0');
xhr.open('GET', '/blaize/datalayer', true);
xhr.onreadystatechange = function() {
if (xhr.readyState === 4) {
var response;
try {
response = JSON.parse(xhr.response);
} catch (e) {
response = xhr.response;
}
if (xhr.status === 200) {
for (var dataLayerFieldName in response) {
if (!(dataLayerFieldName in window)) window[dataLayerFieldName] = [];
var pageView = response[dataLayerFieldName];
var events = [];
if (window.Zephr && window.Zephr.includeOutcomes && window.Zephr.outcomes) {
pageView.zephrOutcomes = window.Zephr.outcomes;
if (window.Zephr.outcomesAsEvents) {
Object.keys(window.Zephr.outcomes || []).forEach(function(outcomeKey) {
var outcomeEvent = {
event: "zephr-outcome-" + outcomeKey,
featureId: outcomeKey,
featureLabel: window.Zephr.outcomes[outcomeKey].featureLabel,
outcomeId: window.Zephr.outcomes[outcomeKey].outcomeId,
outcomeLabel: window.Zephr.outcomes[outcomeKey].outcomeLabel,
};
events.push(outcomeEvent);
});
}
}
if (window.Zephr && window.Zephr.accessDetails) {
Object.keys((window.Zephr.accessDetails.trials || {})).forEach(function(trialId){
var trial = window.Zephr.accessDetails.trials[trialId]
if(trial.reportInDataLayer){
var usedCredits = trial.totalCredits - trial.remainingCredits
if (window.Zephr.groupFields && !pageView.zephrTrials) pageView.zephrTrials = {};
var target = window.Zephr.groupFields ? pageView.zephrTrials : pageView
if (trial.dataLayerCreditsUsedKey) {
target[trial.dataLayerCreditsUsedKey] = usedCredits;
}
if (trial.dataLayerCreditsRemainingKey) {
target[trial.dataLayerCreditsRemainingKey] = trial.remainingCredits;
}
}
});
(window.Zephr.accessDetails.trialTrackingDetails || []).forEach(function(details) {
var type = details.entitlementType === 'credits' ? 'credits' : 'meters';
var trial = (window.Zephr.accessDetails[type] || {})[details.entitlementId];
if (!trial) return;
if (window.Zephr.groupFields && !pageView.zephrTrials) pageView.zephrTrials = {};
if (details.creditsRemainingKey) {
if (window.Zephr.groupFields) {
pageView.zephrTrials[details.creditsRemainingKey] = trial.remainingCredits;
} else {
pageView[details.creditsRemainingKey] = trial.remainingCredits;
}
}
if (details.creditsUsedKey) {
if (window.Zephr.groupFields) {
pageView.zephrTrials[details.creditsUsedKey] = trial.totalCredits - trial.remainingCredits;
} else {
pageView[details.creditsUsedKey] = trial.totalCredits - trial.remainingCredits;
}
}
});
try {
(Object.keys(window.Zephr.accessDetails.timeTrials || {})).forEach(function(timeTrialId) {
var timeTrial = window.Zephr.accessDetails.timeTrials[timeTrialId]
if(timeTrial.reportInDataLayer){
if (window.Zephr.groupFields && !pageView.zephrTrials) pageView.zephrTrials = {};
var target = window.Zephr.groupFields ? pageView.zephrTrials : pageView
if (timeTrial.dataLayerTrialDurationKey) {
target[timeTrial.dataLayerTrialDurationKey] = timeTrial.trialDuration;
}
if (timeTrial.dataLayerTrialDurationUnitsKey) {
target[timeTrial.dataLayerTrialDurationUnitsKey] = timeTrial.trialDurationUnits;
}
if (timeTrial.dataLayerTrackerEntryTimeKey) {
target[timeTrial.dataLayerTrackerEntryTimeKey] = timeTrial.entryTime;
}
if (timeTrial.dataLayerTrackerHitsKey) {
target[timeTrial.dataLayerTrackerHitsKey] = timeTrial.trackerHits;
}
if (timeTrial.dataLayerTrialTimeRemainingKey) {
target[timeTrial.dataLayerTrialTimeRemainingKey] = timeTrial.timeRemainingInTrial;
}
}
});
} catch (err) {
console.error("Error aggregating Zephr time trials", err);
}
}
if (Object.keys(pageView).length) {
pageView.event = "zephr-pageview";
events.unshift(pageView);
}
if (!events.length) continue;
events.forEach(function(event) {
window[dataLayerFieldName].push(event);
});
}
var readyEvent = document.createEvent('Event');
readyEvent.initEvent('zephr.dataLayerReady', true, true);
document.dispatchEvent(readyEvent);
}
}
}
xhr.send({});
})();
</script><script type="text/javascript">
if (!window.Zephr) window.Zephr = {};
window.Zephr.accessDetails = {"isAuthenticated":false,"accessDecisions":{},"entitlements":{},"credits":{"44ab7104-88ee-4d87-8682-2111f3ebdd02":{"totalCredits":2,"remainingCredits":2,"usedInDecision":false,"decrementedInDecision":false}},"meters":{"wcczEU":{"totalCredits":1,"remainingCredits":1,"usedInDecision":false,"decrementedInDecision":false},"4092dd39-4802-4dd2-b327-09db7e7d49cb":{"totalCredits":3,"remainingCredits":3,"usedInDecision":false,"decrementedInDecision":false},"d0SvFq":{"totalCredits":1,"remainingCredits":1,"usedInDecision":false,"decrementedInDecision":false}},"trials":{"P2u2Dn":{"totalCredits":2,"remainingCredits":1,"creditsConsumed":1,"trialExpired":false,"tracker":"article-datawall","reportInDataLayer":true,"dataLayerCreditsUsedKey":"trial-P2u2Dn-creditsUsed","dataLayerCreditsRemainingKey":"trial-P2u2Dn-creditsRemaining","usedInDecision":true,"decrementedInDecision":true}},"timeTrials":{},"trialTrackingDetails":[{"creditsRemainingKey":"pagesremaining","entitlementId":"wcczEU","entitlementType":"meter"}],"testGroups":{"02d01d84-91d8-42c1-b346-6305836e3733":"A"},"activeProducts":[]};
</script></body>
</html>
<!-- plugin=object-cache-pro client=phpredis metric#hits=6677 metric#misses=25 metric#hit-ratio=99.6 metric#bytes=2083137 metric#prefetches=8 metric#store-reads=210 metric#store-writes=10 metric#store-hits=405 metric#store-misses=8 metric#sql-queries=23 metric#ms-total=801.61 metric#ms-cache=213.62 metric#ms-cache-avg=0.9754 metric#ms-cache-ratio=26.7 -->