Create, Promote, Publish and Manage with EASE


Launch Smarter · PRO Business LAUNCH

 
 
 

LAUNCH
SMARTER.

CREATE · MARKET · GROW
PRO Business LAUNCH
Ten AI-powered tools in one workspace Website pages · banners · ebooks & funnels AI-guided creation — no design skills needed
Start creating now
free access · no cc
Free Worldprofit Associate Membership No credit card required Instant access
Created in MagicBox·More·Feedback

 

 
HercuList MagicBox
 
MagicBox Ultimate Creator
 
MagicBox
Made with HercuList MagicBox
Advertise & promote everything you do — with earning potential baked in.
 
 
 
 
 
 
AI-built by Jack

Build your own pages that convert.

Tell Jack what you're promoting — he builds it in seconds.
Splash & capture pages, banners, emails — earning built in.
Get started freeSee more from this member →
No design skillsPublish in one clickFree to start
Join through this page and its owner may be credited as your referrer — your own pages will do the same for you.

(function () { 'use strict'; var originals = new Map(), busy = false, timer; var theme = document.currentScript && document.currentScript.getAttribute('data-theme'); var turbo = document.currentScript && document.currentScript.getAttribute('data-turbo'); var manualOnly = document.currentScript && document.currentScript.hasAttribute('data-manual-only'); var excluded = '.mbx-pagefoot,#mbx-refbadge,.mbx-ov,[data-mbx-countdown],form,nav,[aria-hidden="true"]'; function set(e, key, value) { var owned=originals.get(e);if(!owned){owned={};originals.set(e,owned);} if(!owned[key])owned[key]={value:e.style.getPropertyValue(key),priority:e.style.getPropertyPriority(key)}; e.style.setProperty(key,value,'important');owned[key].written=e.style.getPropertyValue(key); } function restore() { originals.forEach(function(owned,e){Object.keys(owned).forEach(function(key){ var old=owned[key]; // Other page effects may add gradient fills after our first pass. Restore // only properties we still own, never the whole style attribute. if(e.style.getPropertyValue(key)!==old.written||e.style.getPropertyPriority(key)!=='important')return; if(old.value)e.style.setProperty(key,old.value,old.priority);else e.style.removeProperty(key); });});originals.clear(); } function contentBox(e) { var b=e.getBoundingClientRect(), c=getComputedStyle(e), scale=e.offsetWidth?b.width/e.offsetWidth:1; return {left:b.left+((parseFloat(c.paddingLeft)||0)+(parseFloat(c.borderLeftWidth)||0))*scale, right:b.right-((parseFloat(c.paddingRight)||0)+(parseFloat(c.borderRightWidth)||0))*scale}; } function available(e) { var b={left:8,right:document.documentElement.clientWidth-8}, p=e.parentElement; while(p && p!==document.documentElement) { var c=getComputedStyle(p), r=contentBox(p); if (p===e.parentElement || /hidden|clip|auto|scroll/.test(c.overflowX)) { b.left=Math.max(b.left,r.left); b.right=Math.min(b.right,r.right); } p=p.parentElement; } // Allow a small optical bearing inside the canvas. A deliberate -2px title // margin must not cause ten successive shrink passes on otherwise fitting text. b.left=Math.max(4,b.left-4); b.right=Math.min(document.documentElement.clientWidth-4,b.right+4); return b; } function textBounds(e) { var walker=document.createTreeWalker(e,NodeFilter.SHOW_TEXT), n, left=Infinity,right=-Infinity; while((n=walker.nextNode())) { if(!n.textContent.trim() || n.parentElement.closest(excluded) || !n.parentElement.getClientRects().length) continue; var range=document.createRange(); range.selectNodeContents(n); Array.from(range.getClientRects()).forEach(function(r){if(r.width){left=Math.min(left,r.left);right=Math.max(right,r.right);}}); } return {left:left,right:right,width:Math.max(0,right-left)}; } function groupGildedHeadpiece() { if(manualOnly || theme!=='Gilded Baroque' || !document.body)return; var body=document.body, c=getComputedStyle(body); if(c.display!=='flex' || !/^row/.test(c.flexDirection))return; var mains=Array.from(body.children).filter(function(e){return e.matches('main,[role="main"]');}); if(mains.length!==1)return; var main=mains[0], mc=getComputedStyle(main); if(mc.display!=='block' || mc.textAlign!=='center' || !main.querySelector('h1') || !main.querySelector('a[href],form'))return; // A small, non-interactive SVG headpiece is not a second content column. // Keep its actual drawing; do not regroup photos, side art or corner sets. var pieces=Array.from(body.children).filter(function(e){ if(!e.matches('[aria-hidden="true"]') || !(e.compareDocumentPosition(main)&Node.DOCUMENT_POSITION_FOLLOWING) || e.children.length!==1 || !e.firstElementChild.matches('svg') || e.textContent.trim() || e.querySelector('a,foreignObject,image,use'))return false; var s=getComputedStyle(e), r=e.getBoundingClientRect(); return /^(static|relative)$/.test(s.position) && s.pointerEvents==='none' && r.width>0 && r.width<=360 && r.height>0 && r.height<=120 && r.width>=r.height*2; }); if(pieces.length===1){ main.insertBefore(pieces[0],main.firstChild);pieces[0].setAttribute('data-mbx-grouped-headpiece','1'); // The existing protected footer measures spare vertical room on resize. // Refresh it once after this structural repair, never on every refit. window.dispatchEvent(new Event('resize')); } } function containBackdropOverflow() { if(!document.body || !document.querySelector('.mbx-pagefoot'))return; // Oversized fixed light layers can create an INNER body scrollbar below the // footer even when the root scrollHeight looks correct. Clip only empty, // explicitly decorative background layers in their own viewport-sized box. // Their gradients, transforms and animation remain authored and running. Array.from(document.body.children).forEach(function(e){ if(!e.matches('[aria-hidden="true"]') || e.hasAttribute('data-mbx-backdrop-clip') || e.children.length || e.textContent.trim() || e.matches('svg,img,video,canvas,iframe,object,embed'))return; var c=getComputedStyle(e), z=parseFloat(c.zIndex), r=e.getBoundingClientRect(); if(c.position!=='fixed' || c.pointerEvents!=='none' || (isFinite(z)&&z>0) || c.mixBlendMode!=='normal' || c.backgroundImage==='none' || r.width=-1 && r.top>=-1 && r.right<=innerWidth+1 && r.bottom<=innerHeight+1))return; var props=['position','background-image','background-color','background-size','animation-name','animation-duration','opacity','filter','mix-blend-mode']; var before=props.map(function(k){return c.getPropertyValue(k);}); var clip=document.createElement('div');clip.setAttribute('aria-hidden','true');clip.setAttribute('data-mbx-backdrop-clip','1'); clip.style.cssText='position:fixed!important;top:0!important;left:0!important;width:100vw!important;height:100vh!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;contain:layout paint!important;pointer-events:none!important;z-index:'+(isFinite(z)?z:0)+'!important;'; e.parentNode.insertBefore(clip,e);clip.appendChild(e); var after=getComputedStyle(e); // A direct-child CSS rule may depend on body as parent. Leave that design // intact rather than silently disconnect its background/animation styling. if(props.some(function(k,i){return after.getPropertyValue(k)!==before[i];})){ clip.parentNode.insertBefore(e,clip);clip.remove(); } }); } function recoverActionStyle() { if(manualOnly) return; // A generated .cta rule and an are disconnected. // Reconnect only an unused, complete action rule to ONE related, unpainted // action. Keep the authored material, type, radius, hover rules and link. // Unused decoration CSS and intentional text links are not repair targets. var rules=[]; Array.from(document.styleSheets).forEach(function(sheet){ if(sheet.disabled || !sheet.ownerNode || sheet.ownerNode.tagName!=='STYLE' || /^mbx-/.test(sheet.ownerNode.id))return; try { Array.from(sheet.cssRules).forEach(function(rule){if(rule.type===1)rules.push(rule);}); } catch(e) {} }); function painted(e,pseudo) { var c=getComputedStyle(e,pseudo||null); if(pseudo && (c.content==='none'||c.content==='normal'))return false; return c.backgroundImage!=='none' || !/^(?:transparent|rgba\(0, 0, 0, 0\))$/.test(c.backgroundColor) || c.boxShadow!=='none' || (parseFloat(c.borderTopWidth)>0 && c.borderTopStyle!=='none'); } var actions=Array.from(document.querySelectorAll('a[href],button')).filter(function(e){ return !e.closest(excluded+',footer,dialog,[hidden],[data-mbx-page-offer-image]') && e.textContent.trim() && !e.querySelector('img,video,iframe') && e.getClientRects().length && ![e].concat(Array.from(e.querySelectorAll('*'))).some(function(n){return painted(n)||painted(n,'::before')||painted(n,'::after');}); }), matches=new Map(); rules.forEach(function(rule){ var s=rule.style; if(!/^(?:inline-)?(?:block|flex|grid)$/.test(s.display) || !(s.background||s.backgroundImage||s.backgroundColor) || !(s.padding||s.paddingBlock||s.minHeight))return; rule.selectorText.split(',').forEach(function(selector){ var m=selector.trim().match(/^(a|button)?\.(cta|btn|button)$/);if(!m)return; var cls=m[2];if(document.getElementsByClassName(cls).length)return; var related=actions.filter(function(a){return (!m[1]||a.localName===m[1]) && Array.from(a.classList).some(function(c){return c.indexOf(cls+'-')===0 || c.slice(-cls.length-1)==='-'+cls;});}); if(related.length!==1)return; var a=related[0], names=matches.get(a)||new Set();names.add(cls);matches.set(a,names); }); }); matches.forEach(function(names,a){ if(names.size!==1)return;var cls=Array.from(names)[0];a.classList.add(cls); if(!painted(a)){a.classList.remove(cls);return;} a.setAttribute('data-mbx-action-style-repaired',cls); }); } function fit(e) { if(!e || e.closest(excluded) || !e.getClientRects().length) return; var nodes=[e].concat(Array.from(e.querySelectorAll('span,strong,em,b,i,small'))).filter(function(n){return !n.closest(excluded);}); // Freeze computed sizes as a group only when actual text overflows. This keeps // mixed-scale headline rows in proportion and avoids compounded inheritance. for(var pass=0;pass<10;pass++) { var b=available(e), t=textBounds(e); // A gradient paints glyphs only inside its own background box. Fitting // to an ancestor alone can leave the final letter outside that paint. // Restrict this fit, not available(): narrow-wrapper recovery still needs // the ancestor's full width. Inline fragments use their separate guard. var paint=getComputedStyle(e); if(paint.display!=='inline' && (paint.backgroundClip==='text' || paint.webkitBackgroundClip==='text')) { var own=contentBox(e); b.left=Math.max(b.left,own.left); b.right=Math.min(b.right,own.right); } var width=b.right-b.left; if(width<40 || !t.width || (t.left>=b.left-1 && t.right<=b.right+1)) break; // Size cannot correct a left offset. In particular, a flush-left title at // x=0 must not be halved by ten passes trying to reach the 4px inset. // If the text fits at its current size, move its block only as far as // necessary. Keep transforms, gradients and intentional alignment intact. if(t.width<=width-2) { var shift=t.left(parseFloat(hc.fontSize)||16)*3.5; if(hb.width36)return; var rows=Array.from(h.children).filter(function(n){return n.textContent.trim();}); if(rows.length<2 || rows.length>3 || Array.from(h.childNodes).some(function(n){return n.nodeType===3 && n.textContent.trim();}))return; if(rows.some(function(n){ var c=getComputedStyle(n),range=document.createRange();range.selectNodeContents(n); var rects=Array.from(range.getClientRects()).filter(function(r){return r.width>1;})