1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[50510],{264170:(e,t,n)=>{n.d(t,{I7:()=>b,tA:()=>c,_U:()=>S,pk:()=>d,I4:()=>T,hb:()=>l,bp:()=>M,$:()=>s,Yo:()=>k,a7:()=>x,hB:()=>u,j6:()=>y,sQ:()=>w,AB:()=>v,fY:()=>A,pO:()=>function e(t,n,r){let i=!1,s=t.map(t=>{if(t.id===n)return i=!0,{...t,content:{...t.content,...r}};let s=t.content;for(let i of o.Wl[t.sectionType]??[]){let t=s[i];if(!Array.isArray(t))continue;let o=e(t,n,r);o!==t&&(s={...s,[i]:o})}return s!==t.content?(i=!0,{...t,content:s}):t});return i?s:t},QR:()=>P}),n(965366);var o=n(266224),r=n(737550);let i=0;function s(e="sec"){i+=1;let t="u">typeof performance&&performance.now?Math.floor(1e3*performance.now()):i;return`${e}_${t.toString(36)}_${i.toString(36)}`}let a=(e,t)=>e.findIndex(e=>e.id===t);function l(e,t,n){let o=[...e];if(!n)return o.push(t),o;let r=a(o,n);return r<0?o.push(t):o.splice(r+1,0,t),o}function c(e,t){return e.filter(e=>e.id!==t).map(e=>{if(!e.layout?.columns)return e;let n=e.layout.columns.map(e=>e.filter(e=>e!==t));return{...e,layout:{...e.layout,columns:n}}})}function u(e,t,n){let o=a(e,t);if(o<0)return e;let r=o+n;if(r<0||r>=e.length)return e;let i=[...e];return[i[o],i[r]]=[i[r],i[o]],i}function p(e,t,n){let o=a(e,t);if(o<0)return e;let r=Math.max(0,Math.min(e.length-1,n));if(r===o)return e;let i=[...e],[s]=i.splice(o,1);return i.splice(r,0,s),i}function d(e,t){let n=a(e,t);if(n<0)return e;let r=function e(t){let n={...structuredClone(t),id:s(t.sectionType)};if(n.behavior?.stickyTop===!0){let e={...n.behavior};delete e.stickyTop,0===Object.keys(e).length?delete n.behavior:n.behavior=e}for(let t of o.Wl[n.sectionType]??[]){let o=n.content?.[t];Array.isArray(o)&&(n.content={...n.content,[t]:o.map(t=>e(t))})}return n}(e[n]),i=[...e];return i.splice(n+1,0,r),i}function f(e){return Array.isArray(e)?e:[]}function m(e,t){return"root"!==t.kind&&e.find(e=>e.id===t.parentId)?.content.compactBar===!0}function h(e,t){if("root"===t.kind)return e;let n=e.find(e=>e.id===t.parentId);return n?f(n.content[t.field]):null}function g(e,t,n){return"root"===t.kind?n:e.map(e=>e.id===t.parentId?{...e,content:{...e.content,[t.field]:n}}:e)}function y(e,t,n,o,i){let s=h(e,n);if(!s)return e;let a=s.findIndex(e=>e.id===t);if(-1===a)return e;if(n.kind===o.kind&&("root"===n.kind||"nested"===o.kind&&n.parentId===o.parentId&&n.field===o.field)){let o=p(s,t,i);return o===s?e:g(e,n,o)}let l=s[a],c=g(e,n,s.filter(e=>e.id!==t)),u=h(c,o);if(!u)return e;let d=Math.max(0,Math.min(u.length,i)),f=[...u],y=m(e,n),w=m(c,o),_=y&&!w?(0,r.wP)(l):w&&!y?(0,r.Pl)(l):l;return f.splice(d,0,_),c=g(c,o,f)}function w(e,t,n){let o=h(e,n);return o&&o.some(e=>e.id===t)?g(e,n,o.filter(e=>e.id!==t)):e}function _(e,t,n,o){return e.map(e=>e.id===t?{...e,content:{...e.content,[n]:o(f(e.content[n]))}}:e)}function T(e,t,n,o,r){return _(e,t,n,e=>l(e,o,r))}function b(e,t,n,o){return _(e,t,n,e=>e.filter(e=>e.id!==o))}function k(e,t,n,o,r){return _(e,t,n,e=>u(e,o,r))}function x(e,t,n,o,r){return _(e,t,n,e=>p(e,o,r))}function S(e,t,n,o){return _(e,t,n,e=>d(e,o))}function v(e,t,n,o){return e.map(e=>e.id===t?{...e,content:{...e.content,[n]:o}}:e)}function A(e,t,n){return e.map(e=>e.id===t?{...e,content:{...e.content,...n}}:e)}function M(e,t){let n=!1,r=e=>e.map(e=>{if(n)return e;if("payment"===e.sectionType)return n=!0,{...e,content:{...e.content,...t.assignAccessStepId?{assignAccessStepId:t.assignAccessStepId}:{},...t.cartName?{cartName:t.cartName}:{},...t.priceOptions?{priceOptions:t.priceOptions}:{},...t.payInFullOption?{payInFullOption:t.payInFullOption}:{},..."boolean"==typeof t.showHeading?{showHeading:t.showHeading}:{},..."boolean"==typeof t.showDescription?{showDescription:t.showDescription}:{},..."boolean"==typeof t.showOrderBreakdown?{showOrderBreakdown:t.showOrderBreakdown}:{},..."boolean"==typeof t.showDiscountCodeField?{showDiscountCodeField:t.showDiscountCodeField}:{}}};let i=e.content;for(let t of o.Wl[e.sectionType]??[]){let e=i[t];if(!Array.isArray(e))continue;let n=r(e);n.some((t,n)=>t!==e[n])&&(i={...i,[t]:n})}return i===e.content?e:{...e,content:i}}),i=r(e.sections);return n?{...e,sections:i}:e}function P(e,t,n){return e.map(e=>{if(e.id!==t)return e;let o={...e};
1return"design"in n&&(n.design?o.design=n.design:delete o.design),"background"in n&&(n.background?o.background=n.background:delete o.background),"theme"in n&&(n.theme?o.theme=n.theme:delete o.theme),"divider"in n&&(n.divider?o.divider=n.divider:delete o.divider),"visible"in n&&"boolean"==typeof n.visible&&(o.visible=n.visible),"layout"in n&&(o.layout=n.layout),o})}},266224:(e,t,n)=>{n.d(t,{B2:()=>a,K3:()=>m,LQ:()=>c,VD:()=>h,Wl:()=>p,_:()=>f,oC:()=>d,u7:()=>s,xl:()=>u});let o=["left","middle","right","fourth"],r=new Set(["two_column","three_column","four_column","composition"]),i={two_column:2,three_column:3,four_column:4,composition:3};function s(e){return r.has(e)}function a(e,t){return Math.min(4,Math.max(1,"number"==typeof t.columnCount?Math.round(t.columnCount):i[e]||2))}function l(e){return e<=1?["left"]:2===e?["left","right"]:3===e?["left","middle","right"]:[...o]}function c(e,t){return l(a(e,t))}function u(e,t,n){let r=c(e,t),i=l(n),s=r.map(e=>Array.isArray(t[e])?t[e]:[]),a=[];i.length>=s.length?a.push(...s,...Array.from({length:i.length-s.length},()=>[])):(a.push(...s.slice(0,Math.max(0,i.length-1))),a.push(s.slice(Math.max(0,i.length-1)).flat()));let u={...t,columnCount:i.length,ratio:Array.from({length:Math.min(4,Math.max(1,i.length))},()=>"1fr").join(" ")};for(let e of o)u[e]=[];return i.forEach((e,t)=>{u[e]=a[t]||[]}),u}let p={group:["elements"],hero:["elements"],two_column:[...o],three_column:[...o],four_column:[...o],composition:["header",...o,"footer"]};function d(e){return p[e]??[]}function f(e,t){if(!s(e))return d(e);let n=c(e,t);return"composition"===e?["header",...n,"footer"]:n}let m=new Set(Object.keys(p)),h=new Set(["group","two_column","three_column","four_column"])},371458:(e,t,n)=>{n.d(t,{Sl:()=>i,Tx:()=>o,sF:()=>a});let o={heading:"",subheading:"",includeEvents:!0,includeWebinars:!0,includePrograms:!0,selectionMode:"all",selectedSourceKeys:[],sortMode:"chronological",layout:"list",clickBehavior:"details",maxItems:6,showAllOccurrences:!0,showDateTime:!0,showLocation:!0,showPrice:!0,showSpotsLeft:!1,showHost:!1};function r(e,t,n){return"string"==typeof e&&t.includes(e)?e:n}function i(e){let t=Array.isArray(e.selectedSourceKeys)?e.selectedSourceKeys.filter(e=>"string"==typeof e):[],n="number"==typeof e.maxItems&&Number.isFinite(e.maxItems)?Math.round(e.maxItems):o.maxItems;return{heading:"string"==typeof e.heading?e.heading:"",subheading:"string"==typeof e.subheading?e.subheading:"",includeEvents:!1!==e.includeEvents,includeWebinars:!1!==e.includeWebinars,includePrograms:!1!==e.includePrograms,selectionMode:r(e.selectionMode,["all","include","exclude"],"all"),selectedSourceKeys:t,sortMode:r(e.sortMode,["chronological","content_type","series"],"chronological"),layout:r(e.layout,["list","cards","grid"],"list"),clickBehavior:r(e.clickBehavior,["details","direct"],"details"),maxItems:Math.max(1,Math.min(24,n)),showAllOccurrences:!1!==e.showAllOccurrences,showDateTime:!1!==e.showDateTime,showLocation:!1!==e.showLocation,showPrice:!1!==e.showPrice,showSpotsLeft:!0===e.showSpotsLeft,showHost:!0===e.showHost}}let s={event:0,webinar:1,program:2};function a(e,t){let n=new Set(t.selectedSourceKeys),o=new Set([...t.includeEvents?["event"]:[],...t.includeWebinars?["webinar"]:[],...t.includePrograms?["program"]:[]]),r=Date.now(),i=e.filter(e=>{if(!o.has(e.kind))return!1;let i=Date.parse(e.endDateTime||e.startDateTime);return!!Number.isFinite(i)&&!(i<r)&&("include"===t.selectionMode?n.has(e.sourceKey):"exclude"!==t.selectionMode||!n.has(e.sourceKey))});if(!t.showAllOccurrences){let e=new Set;i=[...i].sort((e,t)=>Date.parse(e.startDateTime)-Date.parse(t.startDateTime)).filter(t=>!e.has(t.sourceKey)&&(e.add(t.sourceKey),!0))}return i.sort((e,n)=>{let o=Date.parse(e.startDateTime)-Date.parse(n.startDateTime);return"content_type"===t.sortMode?s[e.kind]-s[n.kind]||o:"series"===t.sortMode&&e.title.localeCompare(n.title)||o}),i.slice(0,t.maxItems)}},737550:(e,t,n)=>{n.d(t,{$B:()=>i,Pl:()=>a,QF:()=>c,Qk:()=>o,aC:()=>s,fR:()=>r,wP:()=>l});let o=56,r=[48,56,72],i=24,s="flex min-w-0 items-center [&>section]:!p-0 [&>section>div]:!max-w-none [&>section>div]:!py-0 [&_[data-funnel-v2-functional]]:!p-0 [&_[data-funnel-v2-functional]>div]:!max-w-none [&_[data-freeform-slot-editor]]:!max-w-none";function a(e){switch(e.sectionType){case"countdown":return{...e,content:{...e.content,embedded:!0,variant:"bar",sticky:!1}};case"cta_button":return{...e,content:{...e.content,embedded:!0,size:"lg"===e.content.size?"md":"sm"}};case"text":return{...e,content:{...e.content,compact:!0}};default:return e}}function l(e){let t={...e.content},n=!1;for(let e of["compact","embedded"])void 0!==t[e]&&(delete t[e],n=!0);return"countdown"===e.sectionType&&"bar"===t.variant&&(t.variant="cards",n=!0),"cta_button"===e.sectionType&&"sm"===t.size&&(t.size="md",n=!0),n?{...e,content:t}:e}function c(e){return"number"==typeof e.barHeight&&e.barHeight>0?e.barHeight:o}},965366:(e,t,n)=>{n.d(t,{NB:()=>s});let o=Object.fromEntries([{sectionType:"upsell",requires:[{sectionType:"payment",scope:"this_or_earlier_step",message:"Add a Payment section earlier in the funnel first â upsells charge the saved card."}],maxPerScope:{scope:"funnel",max:2,message:"Max 2 upsells per funnel."}},{sectionType:"downsell",requires:[{sectionType:"upsell",scope:"this_or_earlier_step",message:"Add an Upsell first â a downsell only shows when an upsell is declined."}],maxPerScope:{scope:"funnel",max:2,message:"Max 2 downsells per funnel."}},{sectionType:"booking_confirmation",requires:[{sectionType:"scheduling",scope:"this_or_earlier_step",message:"Booking review needs a Scheduling section earlier in the funnel."}],maxPerScope:{scope:"funnel",max:1,message:"One Booking review step per funnel."}},{sectionType:"event_confirmation",requiresAny:[{sectionType:"scheduling",scope:"this_or_earlier_step",message:"Booking confirmation needs a Scheduling section earlier in the funnel."},{sectionType:"event_registration",scope:"this_or_earlier_step",message:"Booking confirmation needs an Event registration section earlier in the funnel."}]},{sectionType:"payment",softSingleton:{scope:"funnel",message:"This funnel already collects payment â add another only for a separate charge."},pairsWith:{sectionType:"assign_access",message:"Set what this payment grants in Checkout & access."}},{sectionType:"email_capture",addBlockedBy:[{sectionType:"payment",scope:"this_step",message:"Payment already collects a guest email when needed â no separate email capture section is required."}]},{sectionType:"ai_tool_generation",pairsWith:{sectionType:"ai_tool_questionnaire",message:"Add AI tool questions earlier in the funnel so the generated result has real answers."}},{sectionType:"checkpoint",maxPerScope:{scope:"funnel",max:1,message:"Only one access-code gate per funnel."}},{sectionType:"program_start_date",maxPerScope:{scope:"funnel",max:1,message:"Only one program start date picker per funnel."}},{sectionType:"signup",maxPerScope:{scope:"funnel",max:1,message:"One sign-up per funnel."}},{sectionType:"success",maxPerScope:{scope:"funnel",max:1,message:"One success page per funnel."}},{sectionType:"goal_setting",maxPerScope:{scope:"this_step",max:1,message:"This step already contains goal setting."}},{sectionType:"identity",maxPerScope:{scope:"this_step",max:1,message:"This step already contains identity."}}].map(e=>[e.sectionType,e]));function r(e,t,n){let o=n.thisStepTypes.includes(e);return"this_step"===t?o:"this_or_earlier_step"===t?!!o||(void 0===n.earlierStepTypes?null:n.earlierStepTypes.includes(e)):!!o||(void 0===n.funnelTypeCounts?null:(n.funnelTypeCounts[e]??0)>0)}function i(e,t,n){let o=n.thisStepTypes.filter(t=>t===e).length;return"this_step"===t?o:"funnel"===t?void 0===n.funnelTypeCounts?null:n.funnelTypeCounts[e]??0:void 0===n.earlierStepTypes?null:o+n.earlierStepTypes.filter(t=>t===e).length}function s(e,t){let n=o[e];if(!n)return{ok:!0};for(let e of n.requires??[])if(!1===r(e.sectionType,e.scope,t))return{ok:!1,blockedReason:e.message};if(n.requiresAny?.length){let e=!1,o=!1;for(let i of n.requiresAny){let n=r(i.sectionType,i.scope,t);!0===n&&(o=!0),null===n&&(e=!0)}if(!o&&!e)return{ok:!1,blockedReason:n.requiresAny[0].message}}for(let e of n.addBlockedBy??[])if(!0===r(e.sectionType,e.scope,t))return{ok:!1,blockedReason:e.message};if(n.maxPerScope){let o=i(e,n.maxPerScope.scope,t);if(null!==o&&o>=n.maxPerScope.max)return{ok:!1,blockedReason:n.maxPerScope.message}}if(n.softSingleton){let o=i(e,n.softSingleton.scope,t);if(null!==o&&o>=1)return{ok:!0,warning:n.softSingleton.message}}return n.pairsWith&&"assign_access"!==n.pairsWith.sectionType&&!1===r(n.pairsWith.sectionType,"this_or_earlier_step",t)?{ok:!0,warning:n.pairsWith.message}:{ok:!0}
1}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.