Plugin Directory

Changeset 3833747


Ignore:
Timestamp:
11/29/2026 09:12:44 PM (less than one hour ago)
Author:
plugesoft
Message:

Update the plugin preview assets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quicklyfly/assets/blueprints/blueprint.json

    r3833358 r3833747  
    1 {"$schema":"https://playground.wordpress.net/blueprint-schema.json","meta":{"title":"QuicklyFly – Live Demo","description":"Try QuicklyFly Free and Pro on a demo site. Click around, switch features on and off and compare with a normal page load. No admin needed.","author":"plugesoft","categories":["Performance","Demo"]},"landingPage":"/","preferredVersions":{"php":"8.2","wp":"latest"},"login":false,"steps":[{"step":"runPHP","code":"<?php foreach ([\"/wordpress/wp-content/mu-plugins/qfd\"] as $d) { if (!is_dir($d)) { @mkdir($d, 0777, true); } }"},{"step":"writeFile","path":"/wordpress/wp-content/mu-plugins/qfd-demo.php","data":"<?php\n/**\n * Plugin Name: QuicklyFly Live Demo\n * Description: WordPress Playground demo helpers for QuicklyFly: unlocks the Pro features for the demo, adds the on-page demo panel and saves its choices. Demo sites only.\n */\n\ndefined( 'ABSPATH' ) || exit;\n\n$qfd_opts = get_option( 'qfd_demo', array() );\nif ( ! defined( 'QUICKLYFLY_SKIP_FREEMIUS' ) ) {\n\tdefine( 'QUICKLYFLY_SKIP_FREEMIUS', true );\n}\nif ( ( empty( $qfd_opts['plan'] ) || 'pro' === $qfd_opts['plan'] ) && ! defined( 'QUICKLYFLY_DEV_LICENSE' ) ) {\n\tdefine( 'QUICKLYFLY_DEV_LICENSE', true );\n}\nunset( $qfd_opts );\n\n/** Settings the demo starts with (and returns to on Reset). */\nfunction qfd_defaults() {\n\treturn array(\n\t\t'enabled'             => true,\n\t\t'instant_click'       => true,\n\t\t'prefetch_mode'       => 'viewport',\n\t\t'prefetch_delay'      => 0,\n\t\t'cache_ttl'           => 300,\n\t\t'transition'          => 'fade',\n\t\t'progress_bar'        => true,\n\t\t'loader_style'        => 'ring',\n\t\t'loader_delay'        => 100,\n\t\t'loader_overlay'      => true,\n\t\t'scroll_restore'      => true,\n\t\t'sync_head'           => true,\n\t\t'excluded_paths'      => array( '/members' ),\n\t\t'bypass_admins'       => false,\n\t\t'admin_ajax_navigation' => false,\n\t);\n}\n\n/** Keys the demo panel may change. */\nfunction qfd_allowed() {\n\treturn array(\n\t\t'enabled', 'instant_click', 'prefetch_mode', 'prefetch_delay', 'cache_ttl', 'transition', 'progress_bar',\n\t\t'loader_style', 'loader_overlay', 'scroll_restore', 'sync_head',\n\t\t'loader_layout', 'loader_text', 'loader_size', 'predictive_prefetch', 'persistent_selectors', 'analytics',\n\t);\n}\n\n/** Pro-only values go back to their Free equivalents. */\nfunction qfd_downgrade( $s ) {\n\tif ( in_array( $s['transition'], array( 'slide', 'scale' ), true ) ) {\n\t\t$s['transition'] = 'fade';\n\t}\n\tif ( ! in_array( $s['loader_style'], array( 'none', 'ring', 'dots', 'pulse' ), true ) ) {\n\t\t$s['loader_style'] = 'ring';\n\t}\n\t$s['loader_layout']        = 'icon';\n\t$s['loader_text']          = 'Loading…';\n\t$s['loader_size']          = 44;\n\t$s['predictive_prefetch']  = false;\n\t$s['persistent_selectors'] = array();\n\t$s['analytics']            = false;\n\treturn $s;\n}\n\n/** Slow server: makes every page request take a second, so the loader and progress bar can be seen. */\nadd_action(\n\t'init',\n\tfunction () {\n\t\t$o = get_option( 'qfd_demo', array() );\n\t\tif ( empty( $o['slow'] ) || is_admin() || wp_doing_ajax() || wp_doing_cron() || ( defined( 'REST_REQUEST' ) && REST_REQUEST ) ) {\n\t\t\treturn;\n\t\t}\n\t\tif ( isset( $_SERVER['REQUEST_METHOD'] ) && 'GET' === $_SERVER['REQUEST_METHOD'] ) {\n\t\t\tusleep( 1000000 );\n\t\t}\n\t},\n\t1\n);\n\n/** Saves what the panel sent. */\nfunction qfd_save() {\n\t// phpcs:ignore\n\t$in = isset( $_POST['d'] ) ? json_decode( wp_unslash( $_POST['d'] ), true ) : null;\n\tif ( ! is_array( $in ) || ! class_exists( 'QuicklyFly_Settings' ) ) {\n\t\twp_send_json_error();\n\t}\n\t$settings = new QuicklyFly_Settings();\n\n\tif ( ! empty( $in['reset'] ) ) {\n\t\tdelete_option( 'qfd_demo' );\n\t\tupdate_option( 'quicklyfly_settings', $settings->sanitize( qfd_defaults() ) );\n\t\twp_send_json_success();\n\t}\n\n\t$o = get_option( 'qfd_demo', array() );\n\tif ( isset( $in['plan'] ) ) {\n\t\t$o['plan'] = ( 'free' === $in['plan'] || ! class_exists( 'QuicklyFly_Pro' ) ) ? 'free' : 'pro';\n\t}\n\tif ( isset( $in['slow'] ) ) {\n\t\t$o['slow'] = (bool) $in['slow'];\n\t}\n\tupdate_option( 'qfd_demo', $o );\n\n\t$cur = $settings->get_all();\n\tif ( ! empty( $in['s'] ) && is_array( $in['s'] ) ) {\n\t\tforeach ( $in['s'] as $k => $v ) {\n\t\t\tif ( in_array( $k, qfd_allowed(), true ) ) {\n\t\t\t\t$cur[ $k ] = $v;\n\t\t\t}\n\t\t}\n\t}\n\tif ( isset( $o['plan'] ) && 'free' === $o['plan'] ) {\n\t\t$cur = qfd_downgrade( $cur );\n\t}\n\tupdate_option( 'quicklyfly_settings', $cur );\n\twp_send_json_success();\n}\nadd_action( 'wp_ajax_qfd_save', 'qfd_save' );\nadd_action( 'wp_ajax_nopriv_qfd_save', 'qfd_save' );\n\n/** The panel (script, style and the state it starts from). */\nadd_action(\n\t'wp_enqueue_scripts',\n\tfunction () {\n\t\tif ( ! class_exists( 'QuicklyFly_Settings' ) ) {\n\t\t\treturn;\n\t\t}\n\t\t$o     = get_option( 'qfd_demo', array() );\n\t\t$all   = ( new QuicklyFly_Settings() )->get_all();\n\t\t$keep  = array();\n\t\tforeach ( qfd_allowed() as $k ) {\n\t\t\tif ( array_key_exists( $k, $all ) ) {\n\t\t\t\t$keep[ $k ] = $all[ $k ];\n\t\t\t}\n\t\t}\n\t\t$state = array(\n\t\t\t'ajax' => admin_url( 'admin-ajax.php' ),\n\t\t\t'home' => home_url( '/' ),\n\t\t\t'proAvail' => class_exists( 'QuicklyFly_Pro' ) && QuicklyFly_Pro::is_licensed(),\n\t\t\t'plan' => ( isset( $o['plan'] ) && 'free' === $o['plan'] ) || ! class_exists( 'QuicklyFly_Pro' ) ? 'free' : 'pro',\n\t\t\t'slow' => ! empty( $o['slow'] ),\n\t\t\t's'    => $keep,\n\t\t\t'buy'  => 'https://plugesoft.com/quicklyfly',\n\t\t);\n\t\t$base  = content_url( 'mu-plugins/qfd/' );\n\t\t$ver   = (string) filemtime( __DIR__ . '/qfd/panel.js' );\n\t\twp_enqueue_style( 'qfd-panel', $base . 'panel.css', array(), $ver );\n\t\twp_enqueue_script( 'qfd-panel', $base . 'panel.js', array(), $ver, true );\n\t\twp_add_inline_script( 'qfd-panel', 'window.qfdState = ' . wp_json_encode( $state ) . ';', 'before' );\n\t},\n\t30\n);\n\n/** The Plugesoft page frame replaces the theme's templates, so the demo looks the same on any theme. */\nadd_action( 'after_setup_theme', function () { add_theme_support( 'title-tag' ); } );\nadd_filter( 'show_admin_bar', '__return_false' );\nadd_filter( 'template_include', function ( $t ) {\n\treturn ( is_admin() || is_feed() || is_robots() ) ? $t : __DIR__ . '/qfd/template.php';\n}, 99 );\nadd_filter( 'the_content', function ( $c ) {\n\treturn str_replace( '{{u}}', untrailingslashit( home_url() ), $c );\n}, 1 );\nadd_action( 'wp', function () { remove_filter( 'the_content', 'wpautop' ); } );\nadd_action( 'wp_enqueue_scripts', function () {\n\twp_enqueue_style( 'qfd-site', content_url( 'mu-plugins/qfd/site.css' ), array(), (string) filemtime( __DIR__ . '/qfd/site.css' ) );\n}, 20 );\n\n/** Basic SEO tags, so the \"Keep SEO tags in sync\" readout has something to show. */\nadd_action(\n\t'wp_head',\n\tfunction () {\n\t\t$desc = get_bloginfo( 'description' );\n\t\tif ( is_singular() ) {\n\t\t\t$desc = has_excerpt() ? get_the_excerpt() : $desc;\n\t\t}\n\t\techo '<meta name=\"description\" content=\"' . esc_attr( wp_strip_all_tags( $desc ) ) . '\" />' . \"\\n\";\n\t\techo '<meta property=\"og:title\" content=\"' . esc_attr( wp_get_document_title() ) . '\" />' . \"\\n\";\n\t},\n\t4\n);\n"},{"step":"writeFile","path":"/wordpress/wp-content/mu-plugins/qfd/panel.js","data":"/* QuicklyFly live demo panel. Built once, lives on <html>, so it survives every page change. */\n( function () {\n\t'use strict';\n\tvar S = window.qfdState;\n\tvar doc = document;\n\tvar root = doc.documentElement;\n\tif ( ! S || window.qfdBooted ) { return; }\n\twindow.qfdBooted = true;\n\n\tvar proAvail = false !== S.proAvail;\n\tvar isPro = proAvail && 'pro' === S.plan;\n\tvar store = {\n\t\tget: function ( k ) { try { return JSON.parse( window.sessionStorage.getItem( k ) ); } catch ( e ) { return null; } },\n\t\tset: function ( k, v ) { try { window.sessionStorage.setItem( k, JSON.stringify( v ) ); } catch ( e ) {} }\n\t};\n\tfunction $( tag, attrs, kids ) {\n\t\tvar n = doc.createElement( tag );\n\t\tObject.keys( attrs || {} ).forEach( function ( k ) {\n\t\t\tif ( 'text' === k ) { n.textContent = attrs[ k ]; } else if ( 'on' === k.slice( 0, 2 ) ) { n.addEventListener( k.slice( 2 ), attrs[ k ] ); } else { n.setAttribute( k, attrs[ k ] ); }\n\t\t} );\n\t\t( kids || [] ).forEach( function ( c ) { if ( c ) { n.appendChild( 'string' === typeof c ? doc.createTextNode( c ) : c ); } } );\n\t\treturn n;\n\t}\n\tfunction fmt( n ) { return Math.round( n ).toLocaleString( 'en-US' ); }\n\tfunction home( path ) { return ( S.home || '/' ).replace( /\\/$/, '' ) + path; }\n\n\t/* ---------- saving (settings live on the server, so changes apply with one reload) ---------- */\n\tvar queued = { s: {} };\n\tvar timer = 0;\n\tfunction flush() {\n\t\tvar fd = new window.FormData();\n\t\troot.classList.add( 'qfd-busy' );\n\t\tui.classList.add( 'is-busy' );\n\t\tfd.append( 'action', 'qfd_save' );\n\t\tfd.append( 'd', JSON.stringify( queued ) );\n\t\tstore.set( 'qfd_skip', 1 );\n\t\tstore.set( 'qfd_toast', 1 );\n\t\twindow.fetch( S.ajax, { method: 'POST', body: fd, credentials: 'same-origin' } ).then( function () {\n\t\t\twindow.location.reload();\n\t\t}, function () {\n\t\t\twindow.location.reload();\n\t\t} );\n\t}\n\tfunction save( patch ) {\n\t\tObject.keys( patch.s || {} ).forEach( function ( k ) { queued.s[ k ] = patch.s[ k ]; S.s[ k ] = patch.s[ k ]; } );\n\t\t[ 'plan', 'slow', 'reset' ].forEach( function ( k ) { if ( k in patch ) { queued[ k ] = patch[ k ]; } } );\n\t\twindow.clearTimeout( timer );\n\t\ttimer = window.setTimeout( flush, 350 );\n\t\trender();\n\t}\n\tfunction set( key, value ) { var s = {}; s[ key ] = value; save( { s: s } ); }\n\n\t/* ---------- measuring ---------- */\n\tvar M = store.get( 'qfd_m' ) || { full: [], swap: [], cached: 0 };\n\tfunction remember() { store.set( 'qfd_m', M ); }\n\tfunction avg( a ) { return a.length ? a.reduce( function ( x, y ) { return x + y; }, 0 ) / a.length : 0; }\n\tvar started = 0;\n\tvar wasCached = false;\n\tdoc.addEventListener( 'quicklyfly:before-fetch', function ( e ) {\n\t\tstarted = window.performance.now();\n\t\twasCached = !! ( e.detail && e.detail.cached );\n\t} );\n\tdoc.addEventListener( 'quicklyfly:after-swap', function () {\n\t\tif ( started ) {\n\t\t\tM.swap.push( Math.max( 1, window.performance.now() - started ) );\n\t\t\tM.swap = M.swap.slice( -12 );\n\t\t\tif ( wasCached ) { M.cached++; }\n\t\t\tstarted = 0;\n\t\t\tremember();\n\t\t}\n\t\trenderMeter();\n\t\treadPage( true );\n\t\tplayer();\n\t} );\n\twindow.addEventListener( 'load', function () {\n\t\twindow.setTimeout( function () {\n\t\t\tvar nav = window.performance && window.performance.getEntriesByType ? window.performance.getEntriesByType( 'navigation' )[ 0 ] : null;\n\t\t\tif ( store.get( 'qfd_skip' ) ) { store.set( 'qfd_skip', 0 ); } else if ( store.get( 'qfd_seen' ) && nav && nav.loadEventEnd > 0 ) {\n\t\t\t\tM.full.push( nav.loadEventEnd - nav.startTime );\n\t\t\t\tM.full = M.full.slice( -12 );\n\t\t\t\tremember();\n\t\t\t}\n\t\t\tstore.set( 'qfd_seen', 1 );\n\t\t\trenderMeter();\n\t\t}, 0 );\n\t} );\n\n\t/* ---------- controls ---------- */\n\tfunction sw( key, label, help, opts ) {\n\t\tvar on = !! S.s[ key ];\n\t\tvar b = $( 'button', { 'class': 'qfd-sw', role: 'switch', 'aria-checked': String( on ), 'aria-label': label, onclick: function () { if ( opts && opts.fn ) { opts.fn( ! on ); } else { set( key, ! on ); } } } );\n\t\treturn $( 'div', { 'class': 'qfd-row' + ( opts && opts.pro && ! isPro ? ' qfd-lock' : '' ) }, [\n\t\t\t$( 'div', { 'class': 'qfd-line' }, [ $( 'span', { 'class': 'qfd-label' }, [ label, opts && opts.pro ? $( 'span', { 'class': 'qfd-badge', text: 'PRO' } ) : null ] ), b ] ),\n\t\t\thelp ? $( 'p', { 'class': 'qfd-help', text: help } ) : null\n\t\t].concat( opts && opts.extra ? [ opts.extra ] : [] ) );\n\t}\n\tfunction seg( key, label, help, options, pro ) {\n\t\treturn $( 'div', { 'class': 'qfd-row' + ( pro && ! isPro ? ' qfd-lock' : '' ) }, [\n\t\t\t$( 'span', { 'class': 'qfd-label' }, [ label, pro ? $( 'span', { 'class': 'qfd-badge', text: 'PRO' } ) : null ] ),\n\t\t\thelp ? $( 'p', { 'class': 'qfd-help', text: help } ) : null,\n\t\t\t$( 'div', { 'class': 'qfd-seg' }, options.map( function ( o ) {\n\t\t\t\treturn $( 'button', { 'aria-pressed': String( String( S.s[ key ] ) === String( o[ 0 ] ) ), onclick: function () { set( key, o[ 0 ] ); } , text: o[ 1 ] } );\n\t\t\t} ) )\n\t\t] );\n\t}\n\tfunction note( label, help, kids, badge ) {\n\t\treturn $( 'div', { 'class': 'qfd-row' + ( badge && ! isPro ? ' qfd-lock' : '' ) }, [\n\t\t\t$( 'span', { 'class': 'qfd-label' }, [ label, badge ? $( 'span', { 'class': 'qfd-badge', text: 'PRO' } ) : null ] ),\n\t\t\thelp ? $( 'p', { 'class': 'qfd-help', text: help } ) : null\n\t\t].concat( kids || [] ) );\n\t}\n\tfunction link( text, path, solid ) { return $( 'a', { 'class': 'qfd-btn' + ( solid ? ' solid' : '' ), href: home( path ), text: text } ); }\n\tfunction btn( text, fn ) { return $( 'button', { 'class': 'qfd-btn', onclick: fn, text: text } ); }\n\n\tfunction previewLoader() {\n\t\tvar l = window.quicklyflyLifecycle;\n\t\tif ( ! l ) { return; }\n\t\tl.emit( 'before-fetch', { url: window.location.href } );\n\t\twindow.setTimeout( function () { l.emit( 'swapped', {} ); l.emit( 'after-swap', { url: window.location.href } ); }, 2200 );\n\t}\n\n\t/* ---------- live readouts ---------- */\n\tvar infoBox = null;\n\tfunction readPage( flash ) {\n\t\tvar c, d;\n\t\tif ( ! infoBox ) { return; }\n\t\tc = doc.querySelector( 'link[rel=\"canonical\"]' );\n\t\td = doc.querySelector( 'meta[name=\"description\"]' ) || doc.querySelector( 'meta[property=\"og:description\"]' );\n\t\tinfoBox.innerHTML = '';\n\t\tinfoBox.appendChild( $( 'div', {}, [ $( 'b', { text: 'Title  ' } ), doc.title ] ) );\n\t\tinfoBox.appendChild( $( 'div', {}, [ $( 'b', { text: 'Canonical  ' } ), c ? c.href : '—' ] ) );\n\t\tinfoBox.appendChild( $( 'div', {}, [ $( 'b', { text: 'Description  ' } ), d ? ( d.content || '—' ).slice( 0, 90 ) : '—' ] ) );\n\t\tif ( flash ) { infoBox.classList.remove( 'flash' ); void infoBox.offsetWidth; infoBox.classList.add( 'flash' ); }\n\t}\n\tvar meterBox = null;\n\tfunction renderMeter() {\n\t\tvar f = avg( M.full );\n\t\tvar w = avg( M.swap );\n\t\tvar top = Math.max( f, w, 1 );\n\t\tif ( ! meterBox ) { return; }\n\t\tmeterBox.innerHTML = '';\n\t\tif ( ! M.full.length && ! M.swap.length ) {\n\t\t\tmeterBox.appendChild( $( 'p', { 'class': 'qfd-help', text: 'Click a few links on the page. Each page change is timed here, in your browser.' } ) );\n\t\t\treturn;\n\t\t}\n\t\tmeterBox.appendChild( $( 'div', { 'class': 'qfd-bar' }, [ $( 'span', { text: 'Normal load' } ), $( 'span', {}, [ $( 'i', { 'class': 'a', style: 'width:' + ( f ? Math.max( 3, f / top * 55 ) : 0 ) + '%' } ), f ? fmt( f ) + ' ms' : '—' ] ) ] ) );\n\t\tmeterBox.appendChild( $( 'div', { 'class': 'qfd-bar' }, [ $( 'span', { text: 'QuicklyFly' } ), $( 'span', {}, [ $( 'i', { 'class': 'b', style: 'width:' + ( w ? Math.max( 3, w / top * 55 ) : 0 ) + '%' } ), w ? fmt( w ) + ' ms' : '—' ] ) ] ) );\n\t\tif ( f && w && f > w ) { meterBox.appendChild( $( 'div', { 'class': 'qfd-big', text: ( f / w ).toFixed( f / w >= 10 ? 0 : 1 ) + '× faster' } ) ); }\n\t\tmeterBox.appendChild( $( 'p', { 'class': 'qfd-help', text: M.swap.length + ' instant page change' + ( 1 === M.swap.length ? '' : 's' ) + ( M.cached ? ', ' + M.cached + ' already loaded before you clicked' : '' ) + '. ' + ( M.full.length ? M.full.length + ' normal load' + ( 1 === M.full.length ? '' : 's' ) + ' measured.' : 'Turn QuicklyFly off to measure a normal load.' ) } ) );\n\t}\n\tvar logBox = null;\n\tvar events = store.get( 'qfd_ev' ) || [];\n\tfunction renderLog() {\n\t\tif ( ! logBox ) { return; }\n\t\tlogBox.textContent = events.length ? events.slice( -6 ).join( '\\n' ) : ( S.s.analytics ? 'Waiting for the next page change…' : 'Analytics is off.' );\n\t}\n\twindow.dataLayer = window.dataLayer || [];\n\tif ( Array.isArray( window.dataLayer ) ) {\n\t\tvar orig = window.dataLayer.push;\n\t\twindow.dataLayer.push = function ( item ) {\n\t\t\tif ( item && 'quicklyfly_page_view' === item.event ) {\n\t\t\t\tevents.push( 'dataLayer → quicklyfly_page_view  ' + String( item.page_location ).replace( /^https?:\\/\\/[^/]+/, '' ) );\n\t\t\t\tstore.set( 'qfd_ev', events.slice( -12 ) );\n\t\t\t\trenderLog();\n\t\t\t}\n\t\t\treturn orig.apply( this, arguments );\n\t\t};\n\t}\n\n\t/* ---------- the demo music player (shows \"keep playing\" across pages) ---------- */\n\tvar wav = '';\n\tfunction makeWav() {\n\t\tvar sr = 11025, n = sr * 8, buf = new window.ArrayBuffer( 44 + n * 2 ), v = new window.DataView( buf ), i, t, s, k, f;\n\t\tvar notes = [ 220, 261.63, 329.63, 392, 329.63, 261.63, 196, 246.94 ];\n\t\tfunction str( o, x ) { for ( var j = 0; j < x.length; j++ ) { v.setUint8( o + j, x.charCodeAt( j ) ); } }\n\t\tstr( 0, 'RIFF' ); v.setUint32( 4, 36 + n * 2, true ); str( 8, 'WAVEfmt ' ); v.setUint32( 16, 16, true ); v.setUint16( 20, 1, true ); v.setUint16( 22, 1, true );\n\t\tv.setUint32( 24, sr, true ); v.setUint32( 28, sr * 2, true ); v.setUint16( 32, 2, true ); v.setUint16( 34, 16, true ); str( 36, 'data' ); v.setUint32( 40, n * 2, true );\n\t\tfor ( i = 0; i < n; i++ ) {\n\t\t\tt = i / sr; k = Math.floor( t / 1 ); f = notes[ k % notes.length ]; s = ( t % 1 );\n\t\t\tv.setInt16( 44 + i * 2, Math.sin( 2 * Math.PI * f * t ) * Math.exp( -s * 2.6 ) * 6000 + Math.sin( 4 * Math.PI * f * t ) * Math.exp( -s * 4 ) * 1500, true );\n\t\t}\n\t\treturn window.URL.createObjectURL( new window.Blob( [ buf ], { type: 'audio/wav' } ) );\n\t}\n\tfunction player() {\n\t\tvar box = doc.getElementById( 'qfd-player' );\n\t\tvar audio;\n\t\tvar b;\n\t\tvar sub;\n\t\tif ( box && box.getAttribute( 'data-ready' ) ) { return; }\n\t\tif ( ! box ) { box = $( 'div', { id: 'qfd-player' } ); doc.body.appendChild( box ); }\n\t\twav = wav || makeWav();\n\t\taudio = $( 'audio', { loop: '', src: wav, preload: 'none' } );\n\t\tb = $( 'button', { 'aria-label': 'Play demo music', text: '▶', onclick: function () {\n\t\t\tif ( audio.paused ) { audio.play(); } else { audio.pause(); }\n\t\t} } );\n\t\taudio.addEventListener( 'play', function () { b.textContent = '❚❚'; } );\n\t\taudio.addEventListener( 'pause', function () { b.textContent = '▶'; } );\n\t\tsub = S.s.persistent_selectors && S.s.persistent_selectors.length ? 'keeps playing across pages' : ( isPro ? 'stops on page change (Pro can keep it)' : 'stops on page change' );\n\t\tbox.setAttribute( 'data-ready', '1' );\n\t\tbox.appendChild( b );\n\t\tbox.appendChild( $( 'span', {}, [ 'Demo music', $( 'small', { text: sub } ) ] ) );\n\t\tbox.appendChild( audio );\n\t}\n\n\t/* ---------- the panel ---------- */\n\tvar ui = $( 'div', { id: 'qfd' } );\n\tvar launch = $( 'button', { 'class': 'qfd-launch', 'aria-expanded': 'false', onclick: function () { toggle(); } } );\n\tlaunch.innerHTML = '<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M13 2 4 14h6l-1 8 9-12h-6z\"/></svg><span>Try QuicklyFly</span>';\n\tvar panel = $( 'div', { 'class': 'qfd-panel', role: 'dialog', 'aria-label': 'QuicklyFly demo' } );\n\tvar tab = store.get( 'qfd_tab' ) || 'speed';\n\tfunction toggle( force ) {\n\t\tvar open = 'boolean' === typeof force ? force : ! ui.classList.contains( 'is-open' );\n\t\tui.classList.toggle( 'is-open', open );\n\t\troot.classList.toggle( 'qfd-open', open );\n\t\tlaunch.setAttribute( 'aria-expanded', String( open ) );\n\t\tlaunch.querySelector( 'span' ).textContent = open ? 'Close' : 'Try QuicklyFly';\n\t\tstore.set( 'qfd_open', open );\n\t}\n\n\tfunction speedTab() {\n\t\tvar on = !! S.s.enabled;\n\t\tvar m = $( 'div', { 'class': 'qfd-meter' } );\n\t\tmeterBox = m;\n\t\treturn [\n\t\t\t$( 'div', { 'class': 'qfd-tip', text: 'Click any menu item or link on the site. Pages swap without a reload. Turn QuicklyFly off to feel a normal page load, then compare.' } ),\n\t\t\tsw( 'enabled', on ? 'QuicklyFly is ON' : 'QuicklyFly is OFF', 'The master switch. Off means every click is a full page load.' ),\n\t\t\tnote( 'Speed in this browser', null, [ m ] ),\n\t\t\tsw( 'slow', 'Slow server (+1 second)', 'Makes the server answer slowly, so you can see the loader and progress bar.', { fn: function ( v ) { save( { slow: v } ); } } ),\n\t\t\tnote( 'Quick setups', 'Start from a ready-made mix of settings.', [ $( 'div', { 'class': 'qfd-seg' }, [\n\t\t\t\t[ 'Balanced', { prefetch_mode: 'hover', prefetch_delay: 65, instant_click: true, cache_ttl: 60 } ],\n\t\t\t\t[ 'Fastest', { prefetch_mode: 'viewport', prefetch_delay: 0, instant_click: true, cache_ttl: 300 } ],\n\t\t\t\t[ 'Safest', { prefetch_mode: 'off', prefetch_delay: 65, instant_click: true, cache_ttl: 0 } ]\n\t\t\t].map( function ( p ) { return btn( p[ 0 ], function () { save( { s: p[ 1 ] } ); } ); } ) ) ] ),\n\t\t\t$( 'div', { 'class': 'qfd-btns' }, [ btn( 'Reset demo', function () { save( { reset: true } ); } ), $( 'a', { 'class': 'qfd-btn solid', href: S.buy, target: '_blank', rel: 'noopener', text: 'Get QuicklyFly' } ) ] )\n\t\t];\n\t}\n\tfunction freeTab() {\n\t\tinfoBox = $( 'div', { 'class': 'qfd-info' } );\n\t\treturn [\n\t\t\tseg( 'prefetch_mode', 'Preload pages', 'When to start loading the next page: while the pointer rests on a link, or as soon as links appear on screen.', [ [ 'hover', 'On hover' ], [ 'viewport', 'In view' ], [ 'off', 'Off' ] ] ),\n\t\t\tsw( 'instant_click', 'Start on touch / mouse down', 'Loading begins the moment a finger or mouse button goes down, before the click finishes.' ),\n\t\t\tseg( 'cache_ttl', 'Page cache', 'Visited pages are kept for a short time, so going back is immediate.', [ [ 0, 'Off' ], [ 60, '1 minute' ], [ 300, '5 minutes' ] ] ),\n\t\t\tseg( 'transition', 'Page transition', null, [ [ 'none', 'None' ], [ 'fade', 'Fade' ] ] ),\n\t\t\tsw( 'progress_bar', 'Progress bar', 'A thin bar at the top while a page loads.' ),\n\t\t\tseg( 'loader_style', 'Loading indicator', 'Shown only when a page takes longer than a moment.', [ [ 'none', 'None' ], [ 'ring', 'Ring' ], [ 'dots', 'Dots' ], [ 'pulse', 'Pulse' ] ] ),\n\t\t\tsw( 'loader_overlay', 'Soft overlay behind the indicator', null, { extra: $( 'div', { 'class': 'qfd-btns' }, [ btn( '▶ Preview the loader', previewLoader ) ] ) } ),\n\t\t\tsw( 'scroll_restore', 'Restore scroll position on Back', 'Open the long page, scroll down, open a link, then press Back.', { extra: $( 'div', { 'class': 'qfd-btns' }, [ link( 'Open the long page', '/long-page/' ) ] ) } ),\n\t\t\tsw( 'sync_head', 'Keep SEO tags in sync', 'Title, canonical link, description and Open Graph tags are updated after every page change.', { extra: infoBox } ),\n\t\t\tnote( 'Pages that always load normally', 'Carts, logins and member areas can be excluded by path. This page is excluded: /members', [ $( 'div', { 'class': 'qfd-btns' }, [ link( 'Open /members', '/members/' ) ] ) ] ),\n\t\t\tnote( 'Developer API', 'Open a page from your own code with quicklyfly.go( url ).', [ $( 'div', { 'class': 'qfd-btns' }, [ btn( \"quicklyfly.go( '/pricing/' )\", function () { if ( window.quicklyfly ) { window.quicklyfly.go( home( '/pricing/' ) ); } } ) ] ) ] ),\n\t\t\tnote( 'Works with Elementor and WooCommerce', 'Builders and shops are detected and handled for you. Cart, checkout and account pages always load normally.' )\n\t\t];\n\t}\n\n\t/* ---------- animated Pro previews (Free-only demo: pictures of the Pro features, no Pro code) ---------- */\n\tfunction pv( title, text, stage, cap ) {\n\t\tvar d = $( 'div', { 'class': 'qfd-pv' } );\n\t\td.innerHTML = '<h4></h4><p></p><div class=\"pv-stage\">' + stage + '</div>' + ( cap ? '<span class=\"pv-cap\">' + cap + '</span>' : '' );\n\t\td.querySelector( 'h4' ).appendChild( doc.createTextNode( title ) );\n\t\td.querySelector( 'h4' ).appendChild( $( 'span', { 'class': 'qfd-badge', text: 'PRO' } ) );\n\t\td.querySelector( 'p' ).textContent = text;\n\t\treturn d;\n\t}\n\tfunction proPreviews() {\n\t\tvar pg = '<i class=\"pv-pg a\"></i><i class=\"pv-pg b\"></i>';\n\t\treturn [\n\t\t\tpv( 'Slide and scale transitions', 'Pages glide or grow in instead of just fading.', '<div class=\"pv-half pv-slide\">' + pg + '</div><div class=\"pv-half pv-scale\">' + pg + '</div>', 'Slide · Scale' ),\n\t\t\tpv( 'Five more loaders', 'Dual, Bars, Orbit, Grid and Flip, on top of the three free ones. Or use your own image or GIF.', '<div class=\"pv-loaders\"><div><i class=\"pv-l pv-dual\"></i>Dual</div><div><i class=\"pv-l pv-bars\"><i></i><i></i><i></i><i></i></i>Bars</div><div><i class=\"pv-l pv-orbit\"></i>Orbit</div><div><i class=\"pv-l pv-grid\"><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i></i>Grid</div><div><i class=\"pv-l pv-flip\"></i>Flip</div></div>' ),\n\t\t\tpv( 'Loader text, layout and size', 'Show a message beside the loader, stack it, or make it larger.', '<div class=\"pv-lay\"><div><i class=\"pv-ring\"></i>Loading…</div><div class=\"st\"><i class=\"pv-ring\"></i>Please wait</div><div>Loading…</div></div>' ),\n\t\t\tpv( 'Predictive prefetch', 'Learns which page visitors usually open next and loads it before they click.', '<div class=\"pv-flow\"><span class=\"pv-chip\">Home</span>→<span class=\"pv-chip\">Products</span>→<span class=\"pv-chip nx\">Pricing</span></div>' ),\n\t\t\tpv( 'Music keeps playing', 'A player, video or chat widget carries on while visitors move between pages.', '<div class=\"pv-body\"></div><div class=\"pv-player\"><i></i><i></i><i></i><i></i><i></i><i></i><span>▶ keeps playing</span></div>' ),\n\t\t\tpv( 'Page-view events', 'Every page change is reported to Google Analytics, Matomo and the data layer.', '<div class=\"pv-term\"><div>page_view  /products/</div><div>page_view  /pricing/</div><div>quicklyfly_page_view  /about/</div></div>' ),\n\t\t\tpv( 'Per-page “load normally”', 'Opt any page or post out from its editor. It then opens with a normal, full load.', '<div class=\"pv-opt\"><span class=\"pv-chip\">/checkout-help/</span><i class=\"pv-ring\"></i>full reload</div>' ),\n\t\t\tpv( 'Speed report', 'See the time saved across all page changes.', '<div class=\"pv-save\"><i></i><i></i><i></i></div><div class=\"pv-big\">12.4 s saved</div>' )\n\t\t];\n\t}\n\tfunction proTab() {\n\t\tvar kids = [];\n\t\tlogBox = $( 'div', { 'class': 'qfd-log' } );\n\t\tif ( ! proAvail ) {\n\t\t\treturn [ $( 'div', { 'class': 'qfd-tip', text: 'Here is what QuicklyFly Pro adds on top of everything in the Free tab.' } ) ].concat( proPreviews(), [ $( 'div', { 'class': 'qfd-btns' }, [ $( 'a', { 'class': 'qfd-btn solid', href: S.buy, target: '_blank', rel: 'noopener', text: 'Get QuicklyFly Pro' } ) ] ) ] );\n\t\t}\n\t\tif ( ! isPro ) {\n\t\t\tkids.push( $( 'div', { 'class': 'qfd-banner' }, [ 'You are looking at the Free plan. These options are locked.', $( 'div', { 'class': 'qfd-btns' }, [ btn( 'Preview Pro features', function () { save( { plan: 'pro' } ); } ) ] ) ] ) );\n\t\t}\n\t\tkids.push(\n\t\t\tseg( 'transition', 'More transitions', 'Slide or scale pages in. Pick one, then open a page.', [ [ 'fade', 'Fade' ], [ 'slide', 'Slide' ], [ 'scale', 'Scale' ] ], true ),\n\t\t\tseg( 'loader_style', 'Five more loaders', 'Choose one, then turn on Slow server in the Speed tab (or preview it in the Free tab).', [ [ 'dual', 'Dual' ], [ 'bars', 'Bars' ], [ 'orbit', 'Orbit' ], [ 'grid', 'Grid' ], [ 'flip', 'Flip' ] ], true ),\n\t\t\tseg( 'loader_layout', 'Loader layout', 'Add text next to the loader.', [ [ 'icon', 'Icon' ], [ 'icon-text', 'Icon + text' ], [ 'text-icon', 'Text + icon' ], [ 'stack', 'Stacked' ], [ 'text', 'Text only' ] ], true ),\n\t\t\tnote( 'Loader text', null, [ $( 'input', { 'class': 'qfd-text', type: 'text', maxlength: '60', value: S.s.loader_text || 'Loading…', 'aria-label': 'Loader text', onchange: function ( e ) { set( 'loader_text', e.target.value ); } } ) ], true ),\n\t\t\tseg( 'loader_size', 'Loader size', null, [ [ 32, 'Small' ], [ 44, 'Medium' ], [ 72, 'Large' ] ], true ),\n\t\t\tnote( 'Your own loader', 'Use your own image or animated GIF as the loader. Set it in the plugin settings.', null, true ),\n\t\t\tsw( 'predictive_prefetch', 'Predictive prefetch', 'Learns, in the visitor\\'s browser, which page usually comes next and loads it early. Click around a few pages to teach it.', { pro: true } ),\n\t\t\tsw( 'persist', 'Keep the music playing', 'Press play on the demo music (bottom left), switch this on, then change pages. It keeps playing.', { pro: true, fn: function ( v ) { set( 'persistent_selectors', v ? [ '#qfd-player' ] : [] ); } } ),\n\t\t\tsw( 'analytics', 'Page-view events', 'Sends a page view to Google Analytics, Matomo and the data layer after each page change.', { pro: true, extra: logBox } ),\n\t\t\tnote( 'Per-page “load normally”', 'Any page or post can opt out from its editor. This demo page does: it always loads with a full reload in Pro.', [ $( 'div', { 'class': 'qfd-btns' }, [ link( 'Open that page', '/normal-load/' ) ] ) ], true ),\n\t\t\tnote( 'Speed report', 'Pro keeps a report of the time saved. The Speed tab shows a live version of it.', null, true )\n\t\t);\n\t\treturn kids;\n\t}\n\tS.s.persist = !! ( S.s.persistent_selectors && S.s.persistent_selectors.length );\n\n\tfunction render() {\n\t\tvar pane;\n\t\tvar tabs = [ [ 'speed', 'Speed' ], [ 'free', 'Free' ], [ 'pro', 'Pro' ] ];\n\t\tvar body = $( 'div', { 'class': 'qfd-body' } );\n\t\tvar keep = panel.querySelector( '.qfd-body' ) ? panel.querySelector( '.qfd-body' ).scrollTop : 0;\n\t\tpanel.innerHTML = '';\n\t\tpanel.appendChild( $( 'div', { 'class': 'qfd-head' }, [\n\t\t\t$( 'b', { text: 'QuicklyFly live demo' } ),\n\t\t\t! proAvail ? null : $( 'div', { 'class': 'qfd-plan', role: 'group', 'aria-label': 'Plan' }, [ [ 'free', 'Free' ], [ 'pro', 'Pro' ] ].map( function ( p ) {\n\t\t\t\treturn $( 'button', { 'aria-pressed': String( S.plan === p[ 0 ] ), onclick: function () { if ( S.plan !== p[ 0 ] ) { save( { plan: p[ 0 ] } ); } }, text: p[ 1 ] } );\n\t\t\t} ) ),\n\t\t\t$( 'button', { 'class': 'qfd-x', 'aria-label': 'Close', onclick: function () { toggle( false ); }, text: '×' } )\n\t\t] ) );\n\t\tpanel.appendChild( $( 'div', { 'class': 'qfd-tabs', role: 'tablist' }, tabs.map( function ( t ) {\n\t\t\treturn $( 'button', { role: 'tab', 'aria-selected': String( tab === t[ 0 ] ), onclick: function () { tab = t[ 0 ]; store.set( 'qfd_tab', tab ); render(); }, text: t[ 1 ] } );\n\t\t} ) ) );\n\t\tpane = $( 'div', { 'class': 'qfd-sec is-on' }, 'speed' === tab ? speedTab() : ( 'free' === tab ? freeTab() : proTab() ) );\n\t\tbody.appendChild( pane );\n\t\tpanel.appendChild( body );\n\t\tpanel.appendChild( $( 'div', { 'class': 'qfd-busy', text: 'Applying…' } ) );\n\t\tbody.scrollTop = keep;\n\t\trenderMeter();\n\t\treadPage( false );\n\t\trenderLog();\n\t}\n\n\t/* page furniture of the demo site: demo button, mobile menu, monthly/annual switch */\n\tdoc.addEventListener( 'click', function ( e ) {\n\t\tvar t = e.target.closest ? e.target.closest( '[data-qfd-open],[data-ps-menu],[data-ps-bill]' ) : null;\n\t\tif ( ! t ) { return; }\n\t\tif ( t.hasAttribute( 'data-qfd-open' ) ) { toggle( true ); } else if ( t.hasAttribute( 'data-ps-menu' ) ) { root.classList.toggle( 'ps-menu-open' ); } else { root.classList.toggle( 'ps-monthly', 'm' === t.getAttribute( 'data-ps-bill' ) ); }\n\t} );\n\tdoc.addEventListener( 'quicklyfly:after-swap', function () { root.classList.remove( 'ps-menu-open' ); } );\n\n\tui.appendChild( panel );\n\tui.appendChild( launch );\n\tpanel.style.position = 'relative';\n\tfunction mount() {\n\t\tdoc.documentElement.appendChild( ui );\n\t\trender();\n\t\tplayer();\n\t\tif ( store.get( 'qfd_toast' ) ) {\n\t\t\tstore.set( 'qfd_toast', 0 );\n\t\t\tui.appendChild( $( 'div', { 'class': 'qfd-toast', text: '✓ Applied' } ) );\n\t\t}\n\t\tif ( null === store.get( 'qfd_open' ) ) {\n\t\t\tif ( window.innerWidth > 760 ) { toggle( true ); } else { launch.classList.add( 'is-pulse' ); }\n\t\t} else if ( store.get( 'qfd_open' ) ) {\n\t\t\ttoggle( true );\n\t\t}\n\t}\n\tif ( 'loading' === doc.readyState ) { doc.addEventListener( 'DOMContentLoaded', mount ); } else { mount(); }\n}() );\n"},{"step":"writeFile","path":"/wordpress/wp-content/mu-plugins/qfd/panel.css","data":"#qfd{--qb:#0a3df0;--qbd:#0830c0;--qo:#f97316;--ink:#0f172a;--mut:#64748b;--ln:#e2e8f0;--bg:#fff;--soft:#f1f5f9;font:14px/1.45 system-ui,-apple-system,\"Segoe UI\",Roboto,sans-serif;color:var(--ink);position:fixed;right:16px;bottom:16px;z-index:2147482000;display:flex;flex-direction:column;align-items:flex-end;gap:10px;max-width:calc(100vw - 24px)}\n#qfd *{box-sizing:border-box}\n#qfd button{font:inherit;cursor:pointer;margin:0}\n.qfd-launch{display:flex;align-items:center;gap:8px;background:var(--qb);color:#fff;border:0;border-radius:999px;padding:12px 18px 12px 14px;font-weight:600;box-shadow:0 6px 20px rgba(10,61,240,.35)}\n.qfd-launch:hover{background:var(--qbd)}\n.qfd-launch svg{width:20px;height:20px;fill:currentColor}\n.qfd-launch.is-pulse{animation:qfd-pulse 2s ease-out 3}\n@keyframes qfd-pulse{0%{box-shadow:0 0 0 0 rgba(10,61,240,.55)}100%{box-shadow:0 0 0 18px rgba(10,61,240,0)}}\n.qfd-panel{width:380px;max-width:100%;max-height:min(680px,calc(100vh - 90px));max-height:min(680px,calc(100dvh - 90px));background:var(--bg);border:1px solid var(--ln);border-radius:16px;box-shadow:0 18px 50px rgba(15,23,42,.25);display:none;flex-direction:column;overflow:hidden}\n#qfd.is-open .qfd-panel{display:flex}\n.qfd-head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--qb);color:#fff}\n.qfd-head b{font-size:15px;flex:1}\n.qfd-head .qfd-x{background:rgba(255,255,255,.18);border:0;color:#fff;width:30px;height:30px;border-radius:8px;font-size:18px;line-height:1}\n.qfd-plan{display:flex;background:rgba(255,255,255,.18);border-radius:8px;padding:2px}\n.qfd-plan button{background:transparent;border:0;color:#fff;padding:4px 12px;border-radius:6px;font-size:12px;font-weight:600}\n.qfd-plan button[aria-pressed=true]{background:#fff;color:var(--qb)}\n.qfd-tabs{display:flex;border-bottom:1px solid var(--ln);background:#fff}\n.qfd-tabs button{flex:1;background:none;border:0;border-bottom:3px solid transparent;padding:10px 4px;font-weight:600;color:var(--mut)}\n.qfd-tabs button[aria-selected=true]{color:var(--qb);border-bottom-color:var(--qb)}\n.qfd-body{overflow:auto;overscroll-behavior:contain;padding:14px;display:flex;flex-direction:column;gap:14px;-webkit-overflow-scrolling:touch}\n.qfd-sec{display:none}\n.qfd-sec.is-on{display:flex;flex-direction:column;gap:14px}\n.qfd-tip{background:#eff4ff;border:1px solid #cfdcff;color:#1e3a8a;border-radius:10px;padding:10px 12px;font-size:13px}\n.qfd-row{display:flex;flex-direction:column;gap:6px;padding-bottom:14px;border-bottom:1px solid var(--ln)}\n.qfd-row:last-child{border-bottom:0;padding-bottom:0}\n.qfd-line{display:flex;align-items:center;justify-content:space-between;gap:12px}\n.qfd-label{font-weight:600}\n.qfd-help{color:var(--mut);font-size:12.5px;margin:0}\n.qfd-badge{display:inline-block;background:var(--qo);color:#fff;border-radius:5px;font-size:10px;font-weight:700;letter-spacing:.04em;padding:1px 5px;margin-left:6px;vertical-align:1px}\n.qfd-badge.free{background:#16a34a}\n.qfd-sw{flex:none;width:44px;height:26px;border-radius:999px;border:0;background:#cbd5e1;position:relative;transition:background .15s}\n.qfd-sw::after{content:\"\";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .15s;box-shadow:0 1px 3px rgba(0,0,0,.3)}\n.qfd-sw[aria-checked=true]{background:var(--qb)}\n.qfd-sw[aria-checked=true]::after{transform:translateX(18px)}\n.qfd-seg{display:flex;flex-wrap:wrap;gap:6px}\n.qfd-seg button,.qfd-btn,.qfd-chip{background:var(--soft);border:1px solid var(--ln);color:var(--ink);border-radius:8px;padding:7px 11px;font-weight:600;font-size:13px}\n.qfd-seg button[aria-pressed=true],.qfd-chip.is-on{background:var(--qb);border-color:var(--qb);color:#fff}\n.qfd-btn{background:#fff;color:var(--qb);border-color:var(--qb);text-decoration:none;display:inline-block}\n.qfd-btn.solid{background:var(--qb);color:#fff}\n.qfd-btns{display:flex;flex-wrap:wrap;gap:8px}\n.qfd-lock .qfd-seg button,.qfd-lock .qfd-sw,.qfd-lock input{opacity:.45;pointer-events:none}\n.qfd-banner{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:10px;padding:10px 12px;font-size:13px;display:flex;flex-direction:column;gap:8px}\n.qfd-meter{background:var(--soft);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px}\n.qfd-bar{display:grid;grid-template-columns:104px 1fr;align-items:center;gap:8px;font-size:12.5px}\n.qfd-bar i{display:block;height:14px;border-radius:4px;min-width:3px;transition:width .4s}\n.qfd-bar .a{background:#94a3b8}.qfd-bar .b{background:var(--qb)}\n.qfd-bar span{display:flex;align-items:center;gap:8px;white-space:nowrap}\n.qfd-big{font-size:22px;font-weight:800;color:var(--qb)}\n.qfd-info{background:var(--soft);border-radius:10px;padding:10px 12px;font-size:12px;word-break:break-all;display:flex;flex-direction:column;gap:4px}\n.qfd-info b{color:var(--mut);font-weight:600}\n.qfd-info.flash{animation:qfd-flash .9s}\n@keyframes qfd-flash{0%{background:#bbf7d0}100%{background:var(--soft)}}\n.qfd-log{background:#0f172a;color:#a5f3fc;border-radius:10px;padding:10px 12px;font:12px/1.5 ui-monospace,Menlo,Consolas,monospace;max-height:110px;overflow:auto;word-break:break-all}\n.qfd-text{width:100%;border:1px solid var(--ln);border-radius:8px;padding:7px 10px;font:inherit}\n.qfd-toast{position:absolute;right:0;bottom:60px;background:#16a34a;color:#fff;border-radius:8px;padding:6px 12px;font-weight:600;font-size:13px;animation:qfd-fade 2.2s forwards;pointer-events:none}\n@keyframes qfd-fade{0%,80%{opacity:1}100%{opacity:0}}\n.qfd-busy{position:absolute;inset:0;background:rgba(255,255,255,.85);display:none;align-items:center;justify-content:center;font-weight:700;color:var(--qb);z-index:3}\n#qfd.is-busy .qfd-busy{display:flex}\n#qfd-player{position:fixed;left:16px;bottom:16px;z-index:2147481000;display:flex;align-items:center;gap:8px;background:#0f172a;color:#fff;border-radius:999px;padding:6px 14px 6px 6px;font:600 13px system-ui,sans-serif;box-shadow:0 6px 20px rgba(15,23,42,.35)}\n#qfd-player button{width:34px;height:34px;border-radius:50%;border:0;background:var(--qb,#0a3df0);color:#fff;font-size:14px;cursor:pointer;padding:0}\n#qfd-player small{display:block;font-weight:400;opacity:.7;font-size:11px;line-height:1.2}\n@media (max-width:600px){\n#qfd{right:10px;bottom:10px;left:10px;align-items:stretch}\n.qfd-launch{align-self:flex-end;padding:10px 14px 10px 12px}\n.qfd-panel{width:100%;max-height:78vh;max-height:78dvh}\n.qfd-bar{grid-template-columns:90px 1fr}\n#qfd-player{left:10px;bottom:10px;padding-right:6px}\n#qfd-player span{display:none}\nhtml.qfd-open #qfd-player{display:none}\n}\n@media (prefers-reduced-motion:reduce){.qfd-launch.is-pulse,.qfd-info.flash{animation:none}}\n/* Animated Pro previews (Free-only demo): drawn with CSS only */\n.qfd-pv{display:flex;flex-direction:column;gap:8px;padding-bottom:14px;border-bottom:1px solid var(--ln)}\n.qfd-pv h4{margin:0;font-size:14px}\n.qfd-pv p{margin:0;color:var(--mut);font-size:12.5px}\n.pv-stage{height:78px;background:var(--soft);border-radius:10px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:14px}\n.pv-cap{font-size:11px;color:var(--mut);text-align:center;display:block;margin-top:4px}\n.pv-half{flex:1;height:100%;position:relative;overflow:hidden}\n.pv-pg{position:absolute;inset:10px 12px;border-radius:6px;background:#fff;border:1px solid var(--ln)}\n.pv-pg::before{content:\"\";position:absolute;left:8px;right:30%;top:8px;height:6px;border-radius:3px;background:#cbd5e1}\n.pv-pg::after{content:\"\";position:absolute;left:8px;right:8px;top:22px;bottom:8px;border-radius:4px;background:#e2e8f0}\n.pv-pg.b{background:#eff4ff;border-color:#bcd0ff}\n.pv-slide .a{animation:pvOut 3s infinite}.pv-slide .b{animation:pvIn 3s infinite}\n@keyframes pvOut{0%,35%{transform:none}55%,100%{transform:translateX(-120%)}}\n@keyframes pvIn{0%,35%{transform:translateX(120%)}55%,100%{transform:none}}\n.pv-scale .a{animation:pvFade 3s infinite}.pv-scale .b{animation:pvGrow 3s infinite}\n@keyframes pvFade{0%,35%{opacity:1}55%,100%{opacity:0}}\n@keyframes pvGrow{0%,35%{opacity:0;transform:scale(.8)}60%,100%{opacity:1;transform:none}}\n.pv-loaders{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;width:100%;padding:0 8px}\n.pv-loaders>div{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px;color:var(--mut)}\n.pv-l{width:26px;height:26px;position:relative;display:block}\n.pv-dual::before,.pv-dual::after{content:\"\";position:absolute;border-radius:50%;border:3px solid transparent}\n.pv-dual::before{inset:0;border-top-color:var(--qb);animation:pvSpin 1s linear infinite}\n.pv-dual::after{inset:6px;border-bottom-color:var(--qo);animation:pvSpin .8s linear infinite reverse}\n@keyframes pvSpin{to{transform:rotate(360deg)}}\n.pv-bars{display:flex;align-items:center;justify-content:center;gap:3px}\n.pv-bars i{width:4px;height:100%;background:var(--qb);border-radius:2px;animation:pvBar 1s ease-in-out infinite}\n.pv-bars i:nth-child(2){animation-delay:.15s}.pv-bars i:nth-child(3){animation-delay:.3s}.pv-bars i:nth-child(4){animation-delay:.45s}\n@keyframes pvBar{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}\n.pv-orbit{animation:pvSpin 1.1s linear infinite}\n.pv-orbit::before,.pv-orbit::after{content:\"\";position:absolute;width:8px;height:8px;border-radius:50%;background:var(--qb);left:9px}\n.pv-orbit::before{top:0}.pv-orbit::after{bottom:0;background:var(--qo)}\n.pv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}\n.pv-grid i{background:var(--qb);border-radius:2px;animation:pvGrid 1.2s ease-in-out infinite}\n.pv-grid i:nth-child(2),.pv-grid i:nth-child(4){animation-delay:.15s}.pv-grid i:nth-child(3),.pv-grid i:nth-child(5),.pv-grid i:nth-child(7){animation-delay:.3s}.pv-grid i:nth-child(6),.pv-grid i:nth-child(8){animation-delay:.45s}.pv-grid i:nth-child(9){animation-delay:.6s}\n@keyframes pvGrid{0%,100%{opacity:.2}50%{opacity:1}}\n.pv-flip::before{content:\"\";position:absolute;inset:2px;background:var(--qb);border-radius:4px;animation:pvFlip 1.4s ease-in-out infinite}\n@keyframes pvFlip{0%{transform:perspective(60px) rotateX(0) rotateY(0)}50%{transform:perspective(60px) rotateX(-180deg) rotateY(0)}100%{transform:perspective(60px) rotateX(-180deg) rotateY(-180deg)}}\n.pv-lay{display:flex;gap:10px;align-items:center;justify-content:center;width:100%;padding:0 8px}\n.pv-lay>div{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--ln);border-radius:8px;padding:6px 8px;font-size:11px;font-weight:600}\n.pv-lay .st{flex-direction:column;gap:3px}\n.pv-ring{width:14px;height:14px;border-radius:50%;border:2.5px solid #cbd5e1;border-top-color:var(--qb);animation:pvSpin .9s linear infinite;display:inline-block}\n.pv-flow{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600}\n.pv-chip{background:#fff;border:1px solid var(--ln);border-radius:8px;padding:6px 9px;position:relative}\n.pv-chip.nx{animation:pvNext 3s infinite}\n.pv-chip.nx::after{content:\"loaded early\";position:absolute;left:50%;top:-9px;transform:translateX(-50%);background:var(--qo);color:#fff;font-size:9px;border-radius:4px;padding:0 4px;white-space:nowrap;animation:pvTag 3s infinite}\n@keyframes pvNext{0%,25%{border-color:var(--ln)}45%,100%{border-color:var(--qo);box-shadow:0 0 0 3px rgba(249,115,22,.25)}}\n@keyframes pvTag{0%,25%{opacity:0}45%,100%{opacity:1}}\n.pv-player{position:absolute;left:10px;right:10px;bottom:8px;height:22px;border-radius:11px;background:#0f172a;display:flex;align-items:center;gap:3px;padding:0 10px}\n.pv-player i{width:3px;background:#38bdf8;border-radius:2px;animation:pvBar .9s ease-in-out infinite;height:12px}\n.pv-player i:nth-child(2n){animation-delay:.2s}.pv-player i:nth-child(3n){animation-delay:.4s}\n.pv-player span{color:#fff;font-size:10px;margin-left:auto}\n.pv-body{position:absolute;left:10px;right:10px;top:8px;height:34px;border-radius:6px;animation:pvBody 3s infinite}\n@keyframes pvBody{0%,40%{background:#dbe5ff}50%,90%{background:#fde2cc}100%{background:#dbe5ff}}\n.pv-term{position:absolute;inset:8px 10px;font:10.5px/1.5 ui-monospace,Menlo,Consolas,monospace;color:#a5f3fc;background:#0f172a;border-radius:6px;padding:4px 8px;overflow:hidden}\n.pv-term div{opacity:0;animation:pvLine 4s infinite}\n.pv-term div:nth-child(2){animation-delay:.8s}.pv-term div:nth-child(3){animation-delay:1.6s}\n@keyframes pvLine{0%{opacity:0}10%,85%{opacity:1}100%{opacity:0}}\n.pv-save{display:flex;align-items:flex-end;gap:5px;height:44px}\n.pv-save i{width:14px;background:var(--qb);border-radius:3px 3px 0 0;animation:pvGrowY 3s infinite;transform-origin:bottom}\n.pv-save i:nth-child(1){height:16px}.pv-save i:nth-child(2){height:26px;animation-delay:.2s}.pv-save i:nth-child(3){height:38px;animation-delay:.4s}\n@keyframes pvGrowY{0%{transform:scaleY(0)}30%,90%{transform:scaleY(1)}100%{transform:scaleY(0)}}\n.pv-big{font-weight:800;color:var(--qb);font-size:15px}\n.pv-opt{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600}\n.pv-opt .pv-ring{border-top-color:var(--qo);animation-duration:1.4s}\n@media (prefers-reduced-motion:reduce){.pv-stage *,.pv-stage *::before,.pv-stage *::after{animation:none!important}}\n"},{"step":"writeFile","path":"/wordpress/wp-content/mu-plugins/qfd/site.css","data":"body.ps{margin:0!important;background:#fff!important;color:#0f172a;font:16px/1.6 \"Inter\",system-ui,-apple-system,\"Segoe UI\",Roboto,sans-serif}\n.ps *{box-sizing:border-box}.ps img{max-width:100%;height:auto}.ps a{color:inherit;text-decoration:none}\n.ps-in{max-width:1180px;margin:0 auto;padding:0 20px}\n.ps h1,.ps h2,.ps h3{margin:0;line-height:1.15;color:#0b1437}\n.ps-promo{background:#0b1437;color:#fff;font-size:14px;text-align:center;padding:9px 16px;display:flex;gap:14px;justify-content:center;align-items:center;flex-wrap:wrap}\n.ps-promo a{background:#f97316;color:#fff;border-radius:999px;padding:3px 14px;font-weight:700}\n.ps-hd{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #e5e9f2}\n.ps-hd .ps-in{display:flex;align-items:center;justify-content:space-between;height:76px}\n.ps-logo img{display:block;height:56px;width:auto}\n.ps-nav{display:flex;align-items:center;gap:26px;font-weight:600;font-size:15px}\n.ps-nav>a:hover,.ps-dd>a:hover{color:#0a3df0}\n.ps-dd{position:relative;padding:24px 0}\n.ps-sub{display:none;position:absolute;left:-16px;top:100%;min-width:250px;background:#fff;border:1px solid #e5e9f2;border-radius:12px;box-shadow:0 14px 36px rgba(11,20,55,.14);padding:8px}\n.ps-dd:hover .ps-sub{display:block}\n.ps-sub a{display:block;padding:10px 12px;border-radius:8px;font-weight:500}\n.ps-sub a:hover{background:#eff4ff}.ps-sub b{color:#0a3df0}\n.ps-btn{display:inline-block;background:#0a3df0;color:#fff!important;border:2px solid #0a3df0;border-radius:10px;padding:11px 22px;font-family:inherit;font-weight:700;font-size:15px;line-height:1.2;cursor:pointer}\n.ps-btn:hover{background:#0830c0;border-color:#0830c0}\n.ps-btn.ghost{background:#fff;color:#0a3df0!important}.ps-btn.ghost:hover{background:#eff4ff}\n.ps-btn.or{background:#f97316;border-color:#f97316}.ps-btn.or:hover{background:#ea580c;border-color:#ea580c}\n.ps-burger{display:none;background:none;border:0;width:44px;height:44px;cursor:pointer;position:relative}\n.ps-burger span,.ps-burger span::before,.ps-burger span::after{content:\"\";position:absolute;left:11px;width:22px;height:2px;background:#0b1437;border-radius:2px}\n.ps-burger span{top:21px}.ps-burger span::before{left:0;top:-7px}.ps-burger span::after{left:0;top:7px}\n.ps-hero{background:#f3f6ff;padding:64px 0 72px;overflow:hidden}\n.ps-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:stretch}\n.ps-eye{display:inline-block;background:#fff;border:1px solid #cfdcff;color:#0a3df0;font-weight:700;font-size:12px;letter-spacing:.12em;border-radius:999px;padding:5px 14px}\n.ps-hero h1{font-size:clamp(34px,5vw,56px);font-weight:800;margin:18px 0 16px}\n.ps-hl{color:#0a3df0;position:relative;display:inline-block;max-width:100%;overflow-wrap:anywhere}\n.ps-hl svg{position:absolute;left:0;bottom:-10px;width:100%;height:12px}\n.ps-lead{font-size:18px;color:#475569;margin:0 0 20px;max-width:560px}\n.ps-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}\n.ps-tags span{background:#fff;border:1px solid #dbe3f3;border-radius:999px;padding:4px 14px;font-weight:600;font-size:13px;color:#334155}\n.ps-cta{display:flex;flex-wrap:wrap;gap:12px}\n.ps-card{background:#fff;border:1px solid #dbe3f3;border-radius:18px;padding:12px;box-shadow:0 24px 60px rgba(11,20,55,.16)}\n.ps-card img{display:block;width:100%;border-radius:10px}\n.ps-sec{padding:76px 0}.ps-sec.alt{background:#f8fafc}\n.ps-hd2{text-align:center;max-width:720px;margin:0 auto 44px}\n.ps-hd2 span{color:#f97316;font-weight:700;font-size:13px;letter-spacing:.12em}\n.ps-hd2 h2{font-size:clamp(26px,3.4vw,40px);margin:8px 0 10px;font-weight:800}\n.ps-hd2 p{margin:0;color:#64748b;font-size:17px}\n.ps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}\n.ps-grid.two{grid-template-columns:repeat(2,1fr)}\n.ps-fc{background:#fff;border:1px solid #e5e9f2;border-radius:16px;padding:24px}\n.ps-fc i{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#eff4ff;font-style:normal;font-size:22px;margin-bottom:14px}\n.ps-fc h3{font-size:18px;margin-bottom:6px}.ps-fc p{margin:0;color:#64748b;font-size:15px}\n.ps-pro{display:inline-block;background:#f97316;color:#fff;border-radius:5px;font-size:10px;font-weight:800;letter-spacing:.05em;padding:1px 6px;margin-left:6px;vertical-align:2px}\n.ps-steps{counter-reset:s}\n.ps-st{background:#fff;border:1px solid #e5e9f2;border-radius:16px;padding:26px}\n.ps-st b{display:block;color:#0a3df0;font-size:34px;font-weight:800;margin-bottom:6px}\n.ps-st h3{font-size:19px;margin-bottom:6px}.ps-st p{margin:0;color:#64748b}\n.ps-try{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}\n.ps-try ol{margin:18px 0 24px;padding-left:20px;color:#334155}.ps-try li{margin-bottom:8px}\n.ps-try .ps-card{padding:22px}\n.ps-win{border:1px solid #dbe3f3;border-radius:14px;overflow:hidden;background:#fff}\n.ps-win>div{background:#0b1437;padding:10px 14px;display:flex;gap:6px}\n.ps-win>div i{width:10px;height:10px;border-radius:50%;background:#475a99}\n.ps-win p{margin:0;padding:22px;font-weight:700;font-size:18px;color:#0b1437}\n.ps-win p small{display:block;font-weight:500;color:#64748b;font-size:14px;margin-top:4px}\n.ps-cta2{background:#0a3df0;color:#fff;text-align:center;padding:72px 20px}\n.ps-cta2 h2{color:#fff;font-size:clamp(26px,3.4vw,40px);font-weight:800;margin-bottom:12px}.ps-cta2 p{margin:0 auto 26px;max-width:620px;opacity:.9}\n.ps-cta2 .ps-cta{justify-content:center}\n.ps-cta2 .ps-btn{background:#fff;color:#0a3df0!important;border-color:#fff}.ps-cta2 .ps-btn.or{background:#f97316;color:#fff!important;border-color:#f97316}\n.ps-pg{padding:56px 0 72px}.ps-pg h1{font-size:clamp(30px,4vw,44px);font-weight:800;margin-bottom:14px}\n.ps-pg p,.ps-pg li{color:#475569}.ps-pg h2{font-size:24px;margin:30px 0 10px}\n.ps-pg .ps-grid{margin-top:26px}\n.ps-bill{display:inline-flex;background:#eef2ff;border-radius:999px;padding:4px;margin:6px 0 28px}\n.ps-bill button{border:0;background:transparent;border-radius:999px;padding:8px 20px;font-family:inherit;font-weight:700;font-size:14px;cursor:pointer;color:#475569}\nhtml:not(.ps-monthly) .ps-bill button[data-ps-bill=a],html.ps-monthly .ps-bill button[data-ps-bill=m]{background:#0a3df0;color:#fff}\n.ps-plan{background:#fff;border:1px solid #e5e9f2;border-radius:16px;padding:26px;display:flex;flex-direction:column;gap:6px}\n.ps-plan.hot{border:2px solid #0a3df0}\n.ps-plan h3{font-size:20px}.ps-price{font-size:38px;font-weight:800;color:#0b1437}.ps-price small{font-size:15px;color:#64748b;font-weight:500}\n.ps-plan .m{display:none}html.ps-monthly .ps-plan .m{display:inline}html.ps-monthly .ps-plan .a{display:none}\n.ps-plan ul{margin:10px 0 0;padding-left:18px;color:#475569;font-size:14.5px}\n.ps-ft{background:#0b1437;color:#cbd5e1;padding:60px 0 0;font-size:15px}\n.ps-ft a:hover{color:#fff}\n.ps-ft-g{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:32px}\n.ps-ft img{height:40px;width:auto;filter:brightness(0) invert(1);margin-bottom:14px}\n.ps-ft h4{color:#fff;margin:0 0 12px;font-size:15px}\n.ps-ft ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}\n.ps-soc{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.ps-soc a{border:1px solid #33427d;border-radius:8px;padding:4px 10px;font-size:13px}\n.ps-ft-b{border-top:1px solid #1e2b5e;margin-top:40px;padding:18px 0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:14px}\n@media (max-width:900px){\n.ps-hd .ps-in{height:66px}.ps-logo img{height:48px}.ps-burger{display:block}\n.ps-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid #e5e9f2;flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 18px;max-height:calc(100vh - 110px);overflow:auto}\nhtml.ps-menu-open .ps-nav{display:flex}\n.ps-nav>a,.ps-dd>a{padding:12px 0;border-bottom:1px solid #f1f5f9}.ps-dd{padding:0}\n.ps-sub{display:block;position:static;border:0;box-shadow:none;padding:0 0 0 12px;min-width:0}\n.ps-nav .ps-btn{margin-top:12px;text-align:center}\n.ps-hero{padding:40px 0 48px}.ps-hero-grid,.ps-try{grid-template-columns:1fr;gap:30px}\n.ps-grid{grid-template-columns:1fr 1fr}.ps-ft-g{grid-template-columns:1fr 1fr}.ps-ft-g>div:first-child{grid-column:1/-1}\n.ps-sec{padding:52px 0}.ps-ico{width:68px;height:68px;right:0}\n}\n@media (max-width:600px){.ps-grid,.ps-grid.two{grid-template-columns:1fr}.ps-cta .ps-btn{flex:1;text-align:center}.ps-promo{font-size:13px}}\n\n.ps-vis{position:relative;min-height:440px}\n.ps-stage{position:absolute;inset:0;background:#0a3df0;border-radius:24px;overflow:hidden;box-shadow:0 24px 60px rgba(10,61,240,.28)}\n.ps-blob{position:absolute;border-radius:50%}.ps-blob.b1{width:46%;aspect-ratio:1;background:#f97316;right:-8%;top:-10%}.ps-blob.b2{width:38%;aspect-ratio:1;background:#38bdf8;left:-8%;bottom:-8%}\n.ps-sites{position:absolute;inset:0}\n.ps-site{position:absolute;width:60%;background:#fff;border-radius:12px;box-shadow:0 14px 34px rgba(8,20,70,.35);overflow:hidden;display:block;transition:transform .25s}\n.ps-site:hover{transform:translateY(-4px) rotate(0)!important;z-index:5}\n.ps-site.s1{left:5%;top:17%;transform:rotate(-3deg)}.ps-site.s2{right:5%;top:34%;transform:rotate(2deg)}.ps-site.s3{left:12%;bottom:12%;transform:rotate(-1deg)}\n.ps-bar{display:flex;align-items:center;gap:4px;background:#eef2ff;padding:6px 8px}\n.ps-bar i{width:7px;height:7px;border-radius:50%;background:#c3cde8}\n.ps-bar em{font-style:normal;font-size:10px;line-height:1;color:#64748b;margin-left:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n.ps-mk{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:8px}\n.ps-mk b{grid-column:1/-1;height:34px;border-radius:6px;background:#dbe5ff}.ps-mk u{grid-column:1/-1;height:6px;border-radius:3px;background:#e2e8f0;width:70%}.ps-mk u+u{width:45%}.ps-mk s{height:18px;border-radius:5px;background:#f1f5f9}\n.ps-site.s2 .ps-mk b{background:#ffe3cc}.ps-site.s3 .ps-mk b{background:#c8d2ee}\n.ps-site>span{display:block;padding:0 10px 8px;font-weight:800;font-size:13px;color:#0b1437}\n.ps-ico{position:absolute;right:18px;top:16px;width:84px;height:84px;border-radius:20px;border:3px solid rgba(255,255,255,.85);box-shadow:0 10px 26px rgba(0,0,0,.3);z-index:6}\n.ps-glass{position:absolute;z-index:7;display:flex;align-items:center;gap:8px;padding:10px 18px;border-radius:16px;font-weight:700;font-size:14px;line-height:1.2;color:#fff;white-space:nowrap;background:rgba(14,32,132,.4);border:1px solid rgba(255,255,255,.55);-webkit-backdrop-filter:blur(14px) saturate(1.5);backdrop-filter:blur(14px) saturate(1.5);box-shadow:0 8px 28px rgba(5,15,70,.25),inset 0 1px 0 rgba(255,255,255,.65);text-shadow:0 1px 2px rgba(0,0,0,.3);pointer-events:none}\n.ps-glass.g1{left:4%;top:5%;transform:rotate(-7deg)}\n.ps-glass.g2{right:4%;top:60%}\n.ps-glass.g3{left:5%;bottom:4%;transform:rotate(5deg)}\n.ps-glass.g4{right:4%;bottom:4%;font-size:12px;padding:8px 14px}\n.ps-arc{left:50%;top:2%;margin-left:-110px;width:220px;height:84px;padding:0;border-radius:110px 110px 22px 22px;justify-content:center;transform:none}\n.ps-arc svg{width:100%;height:100%;overflow:visible}.ps-arc text{fill:#fff;font-weight:800;font-size:14.5px;letter-spacing:.07em}\n.ps-plan.sp2{grid-column:span 2}\n@media (max-width:900px){\n.ps-vis{min-height:0;height:400px}.ps-hero-grid{gap:30px}.ps-plan.sp2{grid-column:auto}\n}\n@media (max-width:600px){\n.ps-vis{height:360px}.ps-site{width:66%}.ps-glass{font-size:12px;padding:7px 12px;border-radius:13px}.ps-glass.g4{display:none}\n.ps-ico{width:60px;height:60px;right:10px;top:10px;border-radius:15px}\n.ps-arc{width:176px;height:68px;margin-left:-88px;padding:0}.ps-arc text{font-size:14px}.ps-glass.g1{left:3%;top:20%}.ps-glass.g2{top:56%;right:3%}\n.ps-hero h1{font-size:clamp(28px,8.4vw,40px)}\n}\n@media (max-width:360px){.ps-glass{font-size:11px;padding:6px 10px}.ps-glass.g4{display:none}.ps-site{width:70%}}\n"},{"step":"writeFile","path":"/wordpress/wp-content/mu-plugins/qfd/template.php","data":"<?php\n/** Plugesoft demo page frame: header, footer and the page content. */\ndefined( 'ABSPATH' ) || exit;\n\n$u    = untrailingslashit( home_url() );\n$logo = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAB4CAMAAADrAVSlAAABgFBMVEXsXQ8AmODoHBoAYt7slQb0kxHwGzL3nxIDo/UBVuYCY/P2IjL1Yh3zZxjwlAwFs+74XyUAMeIAj++kTgAABxoDwfj1B0IbDRUAAGYAN6UAtLS/gAAAar8A//8AxPVVKwCZMwC/AED9LDXfAEf0EUH//wAAAAADAwMAAAAAAAEBAQEBAQEAAAABAQH5AUYASvr5pwoBV/f6lw4Bl/cAuPcBh/YBePcAaPj7iBMBpfb6dxX6Fzf+AAAAAP/7aBn7ViL8Ryf8Nyn7KDH4CDz6WhwAAICAAAD8ZiIARewCwvkCSfP0AkYAV+30AEqvAAD2hgTrmQYANc3Tlwb5SB0EafUAeeoAi/IBk+wAuPDtADDtAUTxAUjxAknvqA72shAAAEQAQ9UASfIBSfACSPIAVewDZuoAgIABifAAmOsAqOyAgADWACjqpQkAAKoAQL8ARe8AVaoAWc8BVPQAZfABZfUCavEAee0CdfIAiPMAhO0BnPIBpOoAtugAufH2AEX5E0N/JV1yAAAAgHRSTlMfGBgcIapa0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MknkL8AyZS6MEaH1toAAAAASUVORK5CYII=';\n$fav  = 'https://plugesoft.com/wp-content/uploads/2025/02/Plugesoft-fav-icon-300x300.png';\n?><!doctype html>\n<html <?php language_attributes(); ?>>\n<head>\n<meta charset=\"<?php bloginfo( 'charset' ); ?>\">\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<link rel=\"icon\" href=\"<?php echo esc_url( $fav ); ?>\">\n<?php wp_head(); ?>\n</head>\n<body class=\"ps\">\n<?php wp_body_open(); ?>\n<div class=\"ps-promo\"><span>Black Friday Cyber Monday 2026: <b>80% off</b> PlugeTune</span><a href=\"<?php echo esc_url( $u . '/offers/' ); ?>\">Claim offer</a></div>\n<header class=\"ps-hd\"><div class=\"ps-in\">\n<a class=\"ps-logo\" href=\"<?php echo esc_url( $u . '/' ); ?>\"><img src=\"<?php echo $logo; ?>\" alt=\"Plugesoft\" width=\"140\" height=\"42\"></a>\n<button class=\"ps-burger\" data-ps-menu aria-label=\"Menu\"><span></span></button>\n<nav class=\"ps-nav\">\n<div class=\"ps-dd\"><a href=\"<?php echo esc_url( $u . '/products/' ); ?>\">Products ▾</a><div class=\"ps-sub\">\n<a href=\"<?php echo esc_url( $u . '/plugetune/' ); ?>\"><b>PlugeTune</b> FREE + PRO</a>\n<a href=\"<?php echo esc_url( $u . '/quicklyfly/' ); ?>\"><b>QuicklyFly</b> FREE + PRO</a>\n<a href=\"<?php echo esc_url( $u . '/products/' ); ?>\">All products →</a></div></div>\n<a href=\"<?php echo esc_url( $u . '/pricing/' ); ?>\">Pricing</a>\n<div class=\"ps-dd\"><a href=\"<?php echo esc_url( $u . '/plugetune-docs/' ); ?>\">Resources ▾</a><div class=\"ps-sub\">\n<a href=\"<?php echo esc_url( $u . '/plugetune-docs/' ); ?>\">Documentation</a>\n<a href=\"<?php echo esc_url( $u . '/support/' ); ?>\">Support</a>\n<a href=\"<?php echo esc_url( $u . '/terms-and-condition/' ); ?>\">Terms &amp; Conditions</a></div></div>\n<a href=\"<?php echo esc_url( $u . '/offers/' ); ?>\">Offer - 80%</a>\n<a href=\"<?php echo esc_url( $u . '/account/' ); ?>\">Account</a>\n<a class=\"ps-btn\" href=\"<?php echo esc_url( $u . '/pricing/' ); ?>\">Get Started</a>\n</nav></div></header>\n<main id=\"content\">\n<?php\nif ( have_posts() ) {\n\twhile ( have_posts() ) {\n\t\tthe_post();\n\t\tthe_content();\n\t}\n} else {\n\techo '<section class=\"ps-pg\"><div class=\"ps-in\"><h1>Page not found</h1><p><a href=\"' . esc_url( $u . '/' ) . '\">Back to the home page</a></p></div></section>';\n}\n?>\n</main>\n<footer class=\"ps-ft\"><div class=\"ps-in\">\n<div class=\"ps-ft-g\">\n<div><img src=\"<?php echo $logo; ?>\" alt=\"Plugesoft\" width=\"140\" height=\"42\"><p>We build simple, powerful WordPress Plugins that simplify your workflow and save valuable time.</p>\n<div class=\"ps-soc\"><a href=\"#\">Facebook</a><a href=\"#\">LinkedIn</a><a href=\"#\">WordPress.org</a><a href=\"#\">YouTube</a><a href=\"#\">GitHub</a></div></div>\n<div><h4>Product</h4><ul><li><a href=\"<?php echo esc_url( $u . '/plugetune/' ); ?>\">PlugeTune</a></li><li><a href=\"<?php echo esc_url( $u . '/quicklyfly/' ); ?>\">QuicklyFly</a></li><li><a href=\"<?php echo esc_url( $u . '/pricing/' ); ?>\">Pricing</a></li><li><a href=\"<?php echo esc_url( $u . '/products/' ); ?>\">All products</a></li></ul></div>\n<div><h4>Resources</h4><ul><li><a href=\"<?php echo esc_url( $u . '/plugetune-docs/' ); ?>\">Documentation</a></li><li><a href=\"<?php echo esc_url( $u . '/support/' ); ?>\">Support</a></li><li><a href=\"<?php echo esc_url( $u . '/long-page/' ); ?>\">Long page (scroll test)</a></li></ul></div>\n<div><h4>Company</h4><ul><li><a href=\"<?php echo esc_url( $u . '/products/' ); ?>\">About us</a></li><li><a href=\"<?php echo esc_url( $u . '/contact/' ); ?>\">Contact</a></li><li><a href=\"<?php echo esc_url( $u . '/account/' ); ?>\">Account</a></li></ul></div>\n<div><h4>Legal</h4><ul><li><a href=\"<?php echo esc_url( $u . '/terms-and-condition/' ); ?>\">Terms &amp; Conditions</a></li><li><a href=\"<?php echo esc_url( $u . '/members/' ); ?>\">Members area</a></li><li><a href=\"<?php echo esc_url( $u . '/normal-load/' ); ?>\">Always loads normally</a></li></ul></div>\n</div>\n<div class=\"ps-ft-b\"><span>© 2026 Plugesoft. All rights reserved.</span><span>Demo site powered by QuicklyFly</span></div>\n</div></footer>\n<?php wp_footer(); ?>\n</body>\n</html>\n"},{"step":"runPHP","code":"<?php\nrequire '/wordpress/wp-load.php';\n\nfunction qfd_page( $slug, $title, $html, $excerpt, $meta = array() ) {\n\t$id = wp_insert_post( array( 'post_type' => 'page', 'post_status' => 'publish', 'post_name' => $slug, 'post_title' => $title, 'post_content' => $html, 'post_excerpt' => $excerpt ) );\n\tforeach ( $meta as $k => $v ) { update_post_meta( $id, $k, $v ); }\n\treturn $id;\n}\nfunction qfd_wrap( $h1, $body ) { return '<section class=\"ps-pg\"><div class=\"ps-in\"><h1>' . $h1 . '</h1>' . $body . '</div></section>'; }\nfunction qfd_head( $eyebrow, $h2, $p ) { return '<div class=\"ps-hd2\"><span>' . $eyebrow . '</span><h2>' . $h2 . '</h2><p>' . $p . '</p></div>'; }\nfunction qfd_card( $icon, $t, $p, $pro = false ) { return '<div class=\"ps-fc\"><i>' . $icon . '</i><h3>' . $t . ( $pro ? '<span class=\"ps-pro\">PRO</span>' : '' ) . '</h3><p>' . $p . '</p></div>'; }\n\nforeach ( array( 1, 2 ) as $d ) { wp_delete_post( $d, true ); }\nupdate_option( 'blogname', 'Plugesoft' );\nupdate_option( 'blogdescription', 'Innovation Made Easier' );\nupdate_option( 'permalink_structure', '/%postname%/' );\nupdate_option( 'default_comment_status', 'closed' );\n\n$ICON   = 'https://ps.w.org/quicklyfly/assets/icon-256x256.gif';\n$BANNER = 'https://ps.w.org/quicklyfly/assets/banner-772x250.jpg';\n$UL     = '<svg viewBox=\"0 0 200 12\" preserveAspectRatio=\"none\" aria-hidden=\"true\"><path d=\"M2 8 Q100 -2 198 8\" fill=\"none\" stroke=\"#f97316\" stroke-width=\"4\" stroke-linecap=\"round\"/></svg>';\n\n$home = <<<H\n<section class=\"ps-hero\"><div class=\"ps-in ps-hero-grid\">\n<div>\n<span class=\"ps-eye\">NO CODE REQUIRED</span>\n<h1>Make Your WordPress Site Feel <span class=\"ps-hl\">INSTANT{$UL}</span></h1>\n<p class=\"ps-lead\">QuicklyFly opens pages without a full reload and starts loading the next page before the click even finishes. Faster browsing for every visitor.</p>\n<div class=\"ps-tags\"><span>WordPress</span><span>Elementor</span><span>WooCommerce</span><span>Gutenberg</span></div>\n<div class=\"ps-cta\"><a class=\"ps-btn\" href=\"{{u}}/pricing/\">Get QuicklyFly Pro</a><button class=\"ps-btn ghost\" data-qfd-open>⚡ Try the Live Demo</button></div>\n</div>\n<div class=\"ps-vis\"><div class=\"ps-stage\"><span class=\"ps-blob b1\"></span><span class=\"ps-blob b2\"></span><div class=\"ps-sites\"><a class=\"ps-site s1\" href=\"{{u}}/plugetune/\"><div class=\"ps-bar\"><i></i><i></i><i></i><em>plugesoft.com/plugetune</em></div><div class=\"ps-mk\"><b></b><u></u><u></u><s></s><s></s><s></s></div><span>PlugeTune</span></a><a class=\"ps-site s2\" href=\"{{u}}/pricing/\"><div class=\"ps-bar\"><i></i><i></i><i></i><em>plugesoft.com/pricing</em></div><div class=\"ps-mk\"><b></b><u></u><u></u><s></s><s></s><s></s></div><span>Pricing</span></a><a class=\"ps-site s3\" href=\"{{u}}/products/\"><div class=\"ps-bar\"><i></i><i></i><i></i><em>plugesoft.com/products</em></div><div class=\"ps-mk\"><b></b><u></u><u></u><s></s><s></s><s></s></div><span>Products</span></a></div><span class=\"ps-glass g1\">⚡ Faster Browsing</span><span class=\"ps-glass g2\">↩ Back button works</span><span class=\"ps-glass ps-arc\"><svg viewBox=\"0 0 260 90\" aria-label=\"Instant Page Switching\"><path id=\"psarc\" d=\"M16 80 Q130 -8 244 80\" fill=\"none\"/><text><textPath href=\"#psarc\" startOffset=\"50%\" text-anchor=\"middle\">INSTANT PAGE SWITCHING</textPath></text></svg></span><span class=\"ps-glass g3\">Preload on hover</span><span class=\"ps-glass g4\">Tap a site to open it instantly</span><img class=\"ps-ico\" src=\"{$ICON}\" alt=\"QuicklyFly\" width=\"84\" height=\"84\"></div></div></div></section>\nH;\n$home .= '<section class=\"ps-sec\" id=\"features\"><div class=\"ps-in\">' . qfd_head( 'FEATURES', 'Everything you need, in one plugin', 'Instant navigation with the details that make it feel right.' ) . '<div class=\"ps-grid\">'\n . qfd_card( '⚡', 'Instant page switching', 'Pages swap in place. No full reload, no blank screen between pages.' )\n . qfd_card( '🔮', 'Smart preloading', 'Starts loading on hover, when links appear on screen, or the moment a finger touches.' )\n . qfd_card( '🗂️', 'Page cache', 'Visited pages are kept for a short time, so going back is immediate.' )\n . qfd_card( '✨', 'Smooth transitions', 'A soft fade between pages. Slide and scale transitions are in Pro.' )\n . qfd_card( '⏳', 'Loader and progress bar', 'A thin progress bar and three loaders. Five more loaders and your own image in Pro.' )\n . qfd_card( '↩️', 'Back button and scroll', 'The address bar, Back button and scroll position keep working as visitors expect.' )\n . qfd_card( '🔎', 'SEO tags in sync', 'Title, canonical link, description and Open Graph tags update after every page change.' )\n . qfd_card( '🛡️', 'Safe fallbacks', 'Elementor, WooCommerce, logins and carts are detected and always load normally.' )\n . qfd_card( '📈', 'Page-view events', 'Reports every page change to Google Analytics, Matomo and the data layer.', true )\n . '</div></div></section>';\n$home .= '<section class=\"ps-sec alt\"><div class=\"ps-in\">' . qfd_head( 'HOW IT WORKS', 'Live in three simple steps', 'No settings to learn. Install it and your site is faster.' ) . '<div class=\"ps-grid\">'\n . '<div class=\"ps-st\"><b>01</b><h3>Install and activate</h3><p>Add QuicklyFly from WordPress.org. It works with sensible defaults straight away.</p></div>'\n . '<div class=\"ps-st\"><b>02</b><h3>Pick a preset</h3><p>Balanced, Fastest or Safest. Fine-tune preloading, cache and transitions if you like.</p></div>'\n . '<div class=\"ps-st\"><b>03</b><h3>Enjoy instant pages</h3><p>Visitors move around your site without waiting for a reload.</p></div>'\n . '</div></div></section>';\n$home .= '<section class=\"ps-sec\" id=\"demo\"><div class=\"ps-in ps-try\"><div>'\n . '<div class=\"ps-hd2\" style=\"text-align:left;margin:0\"><span>LIVE DEMO</span><h2>You are already using it</h2><p>This whole site runs QuicklyFly. Try it yourself, then switch it off and feel the difference.</p></div>'\n . '<ol><li>Click <a href=\"{{u}}/products/\"><b>Products</b></a>, then <a href=\"{{u}}/pricing/\"><b>Pricing</b></a>. No reload, no white flash.</li><li>Open the demo panel and switch QuicklyFly off. Click the same links again.</li><li>Turn on <b>Slow server</b> to watch the loader and progress bar.</li><li>Open the <b>Free</b> and <b>Pro</b> tabs to try every feature.</li></ol>'\n . '<button class=\"ps-btn or\" data-qfd-open>⚡ Open the demo panel</button></div>'\n . '<div class=\"ps-card\"><div class=\"ps-win\"><div><i></i><i></i><i></i></div><p>Pricing<small>Opened without a reload</small></p></div></div>'\n . '</div></section>';\n$home .= '<section class=\"ps-sec alt\"><div class=\"ps-in\">' . qfd_head( 'OUR PLUGINS', 'Built to save you time', 'Simple, powerful WordPress plugins from Plugesoft.' ) . '<div class=\"ps-grid two\">'\n . '<div class=\"ps-fc\"><i>⚡</i><h3>QuicklyFly <span class=\"ps-pro\" style=\"background:#0a3df0\">FREE + PRO</span></h3><p>Instant page switching for WordPress.</p><p style=\"margin-top:14px\"><a class=\"ps-btn ghost\" href=\"{{u}}/quicklyfly/\">Learn more</a></p></div>'\n . '<div class=\"ps-fc\"><i>▶️</i><h3>PlugeTune <span class=\"ps-pro\" style=\"background:#0a3df0\">FREE + PRO</span></h3><p>Automate your YouTube-to-WordPress workflow.</p><p style=\"margin-top:14px\"><a class=\"ps-btn ghost\" href=\"{{u}}/plugetune/\">Learn more</a></p></div>'\n . '</div></div></section>';\n$home .= '<section class=\"ps-cta2\"><h2>Make Your Site Feel Instant</h2><p>Free on WordPress.org. Upgrade to Pro when you want more transitions, loaders and analytics.</p><div class=\"ps-cta\"><a class=\"ps-btn or\" href=\"https://wordpress.org/plugins/quicklyfly/\" target=\"_blank\" rel=\"noopener\">▶ Download Free version</a><a class=\"ps-btn\" href=\"{{u}}/pricing/\">Get QuicklyFly Pro</a></div></section>';\n$ids['home'] = qfd_page( 'home', 'Plugesoft – Instant page switching for WordPress', $home, 'QuicklyFly by Plugesoft opens WordPress pages instantly, without a full reload.' );\n\n$qf = qfd_wrap( 'QuicklyFly – Instant Page Switching', '<p class=\"ps-lead\">Opens pages without a reload, keeps the Back button, scroll position and address bar working, and falls back to a normal load whenever a page looks risky to swap.</p><div class=\"ps-cta\"><a class=\"ps-btn\" href=\"{{u}}/pricing/\">Get QuicklyFly Pro</a><button class=\"ps-btn ghost\" data-qfd-open>⚡ Try the Live Demo</button></div><h2>Free</h2><ul><li>Instant page switching with preloading on hover, in view or on touch</li><li>Page cache, fade transition, progress bar and three loaders</li><li>Back button, scroll restore and SEO tag sync</li><li>Exclude pages by path</li></ul><h2>Pro</h2><ul><li>Slide and scale transitions, five more loaders and your own loader image</li><li>Loader text, layout and size</li><li>Predictive prefetch, persistent players and page-view events</li><li>Per-page “load normally” and a speed report</li></ul>' );\n$ids['qf'] = qfd_page( 'quicklyfly', 'QuicklyFly', $qf, 'QuicklyFly: instant page switching for WordPress, Free and Pro.' );\n\n$pt = '<section class=\"ps-hero\"><div class=\"ps-in\"><span class=\"ps-eye\">NO CODE REQUIRED</span><h1>Automate Your <span class=\"ps-hl\">YOUTUBE-TO-WORDPRESS' . $UL . '</span> Workflow</h1><p class=\"ps-lead\">Import, organize, and publish YouTube videos on a WordPress site, with PlugeTune handling repetitive tasks.</p><div class=\"ps-tags\"><span>WordPress</span><span>Elementor</span><span>Gutenberg</span><span>Shortcodes</span></div><div class=\"ps-cta\"><a class=\"ps-btn\" href=\"{{u}}/pricing/\">Get PlugeTune Pro</a></div></div></section>'\n . '<section class=\"ps-sec\"><div class=\"ps-in\">' . qfd_head( 'FEATURES', 'Everything you need, in one plugin', 'Import, schedule and display YouTube videos your way.' ) . '<div class=\"ps-grid\">'\n . qfd_card( '🗓️', 'Schedule Import', 'One-time, daily, weekly, or automatic background import.' ) . qfd_card( '🎬', 'All Videos', 'Each video is managed as its own post type.' ) . qfd_card( '🧩', 'Shortcodes', 'Grid and slider shortcodes.' )\n . qfd_card( '🧱', 'Gutenberg', 'A Shortcode block.' ) . qfd_card( '🎨', 'Elementor', 'A Video Grid widget.' ) . qfd_card( '🔲', 'Video Grid', 'Responsive cards with AJAX pagination.' )\n . qfd_card( '↔️', 'Video Slider', 'Arrow-controlled swiping.' ) . qfd_card( '🪟', 'Popup Playback', 'A lightbox player.', true ) . qfd_card( '▶️', 'Thumbnail Play', 'Plays inside the card thumbnail.', true )\n . '</div></div></section><section class=\"ps-sec alt\"><div class=\"ps-in\">' . qfd_head( 'HOW IT WORKS', 'Live in three simple steps', '' ) . '<div class=\"ps-grid\"><div class=\"ps-st\"><b>01</b><h3>Connect your channel</h3><p>Add a YouTube API key and Channel ID once.</p></div><div class=\"ps-st\"><b>02</b><h3>Import or schedule</h3><p>Paste video or playlist links, or enable automatic sync.</p></div><div class=\"ps-st\"><b>03</b><h3>Display anywhere</h3><p>Use a shortcode, Gutenberg block, or Elementor widget.</p></div></div></div></section>'\n . '<section class=\"ps-cta2\"><h2>Make Your YouTube Automation Easy</h2><p>Start free, upgrade when you are ready.</p><div class=\"ps-cta\"><a class=\"ps-btn or\" href=\"{{u}}/pricing/\">Start free trial</a><a class=\"ps-btn\" href=\"{{u}}/pricing/\">See pricing</a></div></section>';\n$ids['pt'] = qfd_page( 'plugetune', 'PlugeTune', $pt, 'PlugeTune imports YouTube videos into WordPress and displays them as grids, sliders and popups.' );\n\n$ids['products'] = qfd_page( 'products', 'Products', qfd_wrap( 'Products', '<p class=\"ps-lead\">Simple, powerful WordPress plugins that simplify your workflow and save valuable time.</p><div class=\"ps-grid two\"><div class=\"ps-fc\"><i>⚡</i><h3>QuicklyFly</h3><p>Instant page switching for WordPress. Free and Pro.</p><p style=\"margin-top:14px\"><a class=\"ps-btn ghost\" href=\"{{u}}/quicklyfly/\">Learn more</a></p></div><div class=\"ps-fc\"><i>▶️</i><h3>PlugeTune</h3><p>Automatic YouTube post importer. Free and Pro.</p><p style=\"margin-top:14px\"><a class=\"ps-btn ghost\" href=\"{{u}}/plugetune/\">Learn more</a></p></div></div><p style=\"margin-top:26px\">More tools coming soon.</p>' ), 'All Plugesoft plugins: QuicklyFly and PlugeTune.' );\n\n$plan = function ( $name, $a, $am, $m, $list, $hot = false ) {\n\treturn '<div class=\"ps-plan' . ( $hot ? ' hot' : '' ) . '\"><h3>' . $name . '</h3><div class=\"ps-price\"><span class=\"a\">$' . $a . '<small>/month</small></span><span class=\"m\">$' . $m . '<small>/month</small></span></div><small class=\"a\" style=\"color:#64748b\">billed $' . $am . ' yearly</small><ul>' . $list . '</ul></div>';\n};\n$pro = '<li>Instant automatic import</li><li>Channel video browsing</li><li>Popup playback and in-thumbnail play</li><li>Modern slider widget</li><li>Daily and weekly scheduling</li><li>SEO-optimized video pages</li><li>Priority support</li>';\n$pr = qfd_wrap( 'Simple pricing that scales with your sites', '<p class=\"ps-lead\">PlugeTune plans. Annual billing saves 80%.</p><div class=\"ps-bill\"><button data-ps-bill=\"m\">Monthly</button><button data-ps-bill=\"a\">Annually</button></div><div class=\"ps-grid\">'\n . '<div class=\"ps-plan\"><h3>Free</h3><div class=\"ps-price\">$0<small> forever</small></div><ul><li>Single video and playlist import</li><li>Auto titles, descriptions and excerpts</li><li>Grid shortcode builder</li><li>Gutenberg and Elementor widgets</li><li>AJAX pagination and single video pages</li><li>Scheduled one-time import</li></ul></div>'\n . $plan( 'Pro: Single Site', '1.99', '23.88', '9.99', $pro, true ) . $plan( 'Pro: 3 Sites', '2.99', '35.88', '14.99', $pro ) . '</div><div class=\"ps-grid\" style=\"margin-top:20px\">' . $plan( 'Pro: 5 Sites', '3.99', '47.88', '19.99', $pro )\n . '<div class=\"ps-plan sp2\"><h3>QuicklyFly</h3><p style=\"margin:0;color:#475569\">Free on WordPress.org. QuicklyFly Pro adds slide and scale transitions, more loaders, predictive prefetch, persistent players and analytics events. Pro pricing is on plugesoft.com.</p><p style=\"margin:10px 0 0\"><a class=\"ps-btn\" href=\"https://wordpress.org/plugins/quicklyfly/\" target=\"_blank\" rel=\"noopener\">Download Free version</a></p></div></div>' );\n$ids['pricing'] = qfd_page( 'pricing', 'Pricing', $pr, 'Free and Pro plans for Plugesoft plugins.' );\n\n$ids['offers'] = qfd_page( 'offers', 'Offers', qfd_wrap( 'Black Friday Cyber Monday 2026', '<p class=\"ps-lead\">80% off PlugeTune Pro. Claim the offer before it ends.</p><p><a class=\"ps-btn or\" href=\"{{u}}/pricing/\">See the plans</a></p>' ), 'Black Friday Cyber Monday 2026: 80% off PlugeTune.' );\n$ids['docs'] = qfd_page( 'plugetune-docs', 'Documentation', qfd_wrap( 'Documentation', '<p class=\"ps-lead\">Guides for every Plugesoft plugin.</p><div class=\"ps-grid two\"><div class=\"ps-fc\"><h3>PlugeTune</h3><p>Connect your channel, import, schedule and display videos.</p></div><div class=\"ps-fc\"><h3>QuicklyFly</h3><p>Presets, preloading, transitions, loaders and exclusions.</p></div></div>' ), 'Documentation for Plugesoft plugins.' );\n$ids['support'] = qfd_page( 'support', 'Support', qfd_wrap( 'Support', '<p class=\"ps-lead\">Questions? We are happy to help.</p><p><a class=\"ps-btn\" href=\"{{u}}/contact/\">Contact us</a></p>' ), 'Get help with Plugesoft plugins.' );\n$ids['account'] = qfd_page( 'account', 'Account', qfd_wrap( 'Account', '<p class=\"ps-lead\">Manage your licences, downloads and billing.</p>' ), 'Manage your Plugesoft account.' );\n$ids['contact'] = qfd_page( 'contact', 'Contact', qfd_wrap( 'Contact', '<p class=\"ps-lead\">Reach the Plugesoft team through plugesoft.com.</p>' ), 'Contact Plugesoft.' );\n$ids['terms'] = qfd_page( 'terms-and-condition', 'Terms & Conditions', qfd_wrap( 'Terms &amp; Conditions', '<p class=\"ps-lead\">The full terms are on plugesoft.com.</p>' ), 'Plugesoft terms and conditions.' );\n\n$long = '<h2 style=\"margin-top:0\">Scroll down, open the link at the bottom, then press Back. QuicklyFly returns you to where you were.</h2>';\nfor ( $i = 1; $i <= 24; $i++ ) { $long .= \"<h3 style=\\\"margin-top:22px\\\">Section $i</h3><p>Fast sites are built from small decisions: fewer round trips, less work on the main thread and pages that are ready before they are asked for. QuicklyFly takes care of the last mile, the moment between a click and the next page.</p>\"; }\n$long .= '<p><a class=\"ps-btn\" href=\"{{u}}/pricing/\">Go to Pricing</a></p>';\n$ids['long'] = qfd_page( 'long-page', 'Long page', qfd_wrap( 'A long page', $long ), 'A long page for testing scroll restore.' );\n$ids['members'] = qfd_page( 'members', 'Members area', qfd_wrap( 'Members area', '<p class=\"ps-lead\">This path is excluded in the QuicklyFly settings, so it always opens with a normal full page load. Useful for logins, carts and member areas.</p>' ), 'Excluded by path: always a normal page load.' );\n$ids['normal'] = qfd_page( 'normal-load', 'Always loads normally', qfd_wrap( 'Always loads normally', '<p class=\"ps-lead\">In QuicklyFly Pro, a page can opt out from its editor. This page did, so it opens with a full reload. In Free, it opens like any other page.</p>' ), 'A page that opts out of instant switching (Pro).', array( '_quicklyfly_off' => '1' ) );\n\nupdate_option( 'show_on_front', 'page' );\nupdate_option( 'page_on_front', $ids['home'] );\nupdate_option( 'page_for_posts', 0 );\n\nif ( class_exists( 'QuicklyFly_Settings' ) ) {\n\tupdate_option( 'quicklyfly_settings', ( new QuicklyFly_Settings() )->sanitize( qfd_defaults() ) );\n} else {\n\tupdate_option( 'quicklyfly_settings', qfd_defaults() );\n}\nflush_rewrite_rules( true );\n"}]}
     1{"$schema":"https://playground.wordpress.net/blueprint-schema.json","meta":{"title":"QuicklyFly – Live Demo","description":"Try QuicklyFly Free and Pro on a demo site. Click around, switch features on and off and compare with a normal page load. No admin needed.","author":"plugesoft","categories":["Performance","Demo"]},"landingPage":"/","preferredVersions":{"php":"8.2","wp":"latest"},"login":false,"steps":[{"step":"runPHP","code":"<?php foreach ([\"/wordpress/wp-content/mu-plugins/qfd\"] as $d) { if (!is_dir($d)) { @mkdir($d, 0777, true); } }"},{"step":"writeFile","path":"/wordpress/wp-content/mu-plugins/qfd-demo.php","data":"<?php\n/**\n* Plugin Name: QuicklyFly Live Demo\n* Description: WordPress Playground demo helpers for QuicklyFly: unlocks the Pro features for the demo, adds the on-page demo panel and saves its choices. Demo sites only.\n*/\n\ndefined( 'ABSPATH' ) || exit;\n\n$qfd_opts = get_option( 'qfd_demo', array() );\nif ( ! defined( 'QUICKLYFLY_SKIP_FREEMIUS' ) ) {\ndefine( 'QUICKLYFLY_SKIP_FREEMIUS', true );\n}\nif ( ( empty( $qfd_opts['plan'] ) || 'pro' === $qfd_opts['plan'] ) && ! defined( 'QUICKLYFLY_DEV_LICENSE' ) ) {\ndefine( 'QUICKLYFLY_DEV_LICENSE', true );\n}\nunset( $qfd_opts );\n\n/** Settings the demo starts with (and returns to on Reset). */\nfunction qfd_defaults() {\nreturn array(\n'enabled'             => true,\n'instant_click'       => true,\n'prefetch_mode'       => 'viewport',\n'prefetch_delay'      => 0,\n'cache_ttl'           => 300,\n'transition'          => 'fade',\n'progress_bar'        => true,\n'loader_style'        => 'ring',\n'loader_delay'        => 100,\n'loader_overlay'      => true,\n'scroll_restore'      => true,\n'sync_head'           => true,\n'excluded_paths'      => array( '/members' ),\n'bypass_admins'       => false,\n'admin_ajax_navigation' => false,\n);\n}\n\n/** Keys the demo panel may change. */\nfunction qfd_allowed() {\nreturn array(\n'enabled', 'instant_click', 'prefetch_mode', 'prefetch_delay', 'cache_ttl', 'transition', 'progress_bar',\n'loader_style', 'loader_overlay', 'scroll_restore', 'sync_head',\n'loader_layout', 'loader_text', 'loader_size', 'predictive_prefetch', 'persistent_selectors', 'analytics',\n);\n}\n\n/** Pro-only values go back to their Free equivalents. */\nfunction qfd_downgrade( $s ) {\nif ( in_array( $s['transition'], array( 'slide', 'scale' ), true ) ) {\n$s['transition'] = 'fade';\n}\nif ( ! in_array( $s['loader_style'], array( 'none', 'ring', 'dots', 'pulse' ), true ) ) {\n$s['loader_style'] = 'ring';\n}\n$s['loader_layout']        = 'icon';\n$s['loader_text']          = 'Loading…';\n$s['loader_size']          = 44;\n$s['predictive_prefetch']  = false;\n$s['persistent_selectors'] = array();\n$s['analytics']            = false;\nreturn $s;\n}\n\n/** Slow server: makes every page request take a second, so the loader and progress bar can be seen. */\nadd_action(\n'init',\nfunction () {\n$o = get_option( 'qfd_demo', array() );\nif ( empty( $o['slow'] ) || is_admin() || wp_doing_ajax() || wp_doing_cron() || ( defined( 'REST_REQUEST' ) && REST_REQUEST ) ) {\nreturn;\n}\nif ( isset( $_SERVER['REQUEST_METHOD'] ) && 'GET' === $_SERVER['REQUEST_METHOD'] ) {\nusleep( 1000000 );\n}\n},\n1\n);\n\n/** Saves what the panel sent. */\nfunction qfd_save() {\n// phpcs:ignore\n$in = isset( $_POST['d'] ) ? json_decode( wp_unslash( $_POST['d'] ), true ) : null;\nif ( ! is_array( $in ) || ! class_exists( 'QuicklyFly_Settings' ) ) {\nwp_send_json_error();\n}\n$settings = new QuicklyFly_Settings();\n\nif ( ! empty( $in['reset'] ) ) {\ndelete_option( 'qfd_demo' );\nupdate_option( 'quicklyfly_settings', $settings->sanitize( qfd_defaults() ) );\nwp_send_json_success();\n}\n\n$o = get_option( 'qfd_demo', array() );\nif ( isset( $in['plan'] ) ) {\n$o['plan'] = ( 'free' === $in['plan'] || ! class_exists( 'QuicklyFly_Pro' ) ) ? 'free' : 'pro';\n}\nif ( isset( $in['slow'] ) ) {\n$o['slow'] = (bool) $in['slow'];\n}\nupdate_option( 'qfd_demo', $o );\n\n$cur = $settings->get_all();\nif ( ! empty( $in['s'] ) && is_array( $in['s'] ) ) {\nforeach ( $in['s'] as $k => $v ) {\nif ( in_array( $k, qfd_allowed(), true ) ) {\n$cur[ $k ] = $v;\n}\n}\n}\nif ( isset( $o['plan'] ) && 'free' === $o['plan'] ) {\n$cur = qfd_downgrade( $cur );\n}\nupdate_option( 'quicklyfly_settings', $cur );\nwp_send_json_success();\n}\nadd_action( 'wp_ajax_qfd_save', 'qfd_save' );\nadd_action( 'wp_ajax_nopriv_qfd_save', 'qfd_save' );\n\n/** The panel (script, style and the state it starts from). */\nadd_action(\n'wp_enqueue_scripts',\nfunction () {\nif ( ! class_exists( 'QuicklyFly_Settings' ) ) {\nreturn;\n}\n$o     = get_option( 'qfd_demo', array() );\n$all   = ( new QuicklyFly_Settings() )->get_all();\n$keep  = array();\nforeach ( qfd_allowed() as $k ) {\nif ( array_key_exists( $k, $all ) ) {\n$keep[ $k ] = $all[ $k ];\n}\n}\n$state = array(\n'ajax' => admin_url( 'admin-ajax.php' ),\n'home' => home_url( '/' ),\n'proAvail' => class_exists( 'QuicklyFly_Pro' ) && QuicklyFly_Pro::is_licensed(),\n'plan' => ( isset( $o['plan'] ) && 'free' === $o['plan'] ) || ! class_exists( 'QuicklyFly_Pro' ) ? 'free' : 'pro',\n'slow' => ! empty( $o['slow'] ),\n's'    => $keep,\n'buy'  => 'https://wordpress.org/plugins/quicklyfly/',\n);\n$base  = content_url( 'mu-plugins/qfd/' );\n$ver   = (string) filemtime( __DIR__ . '/qfd/panel.js' );\nwp_enqueue_style( 'qfd-panel', $base . 'panel.css', array(), $ver );\nwp_enqueue_script( 'qfd-panel', $base . 'panel.js', array(), $ver, true );\nwp_add_inline_script( 'qfd-panel', 'window.qfdState = ' . wp_json_encode( $state ) . ';', 'before' );\n},\n30\n);\n\n/** The Plugesoft page frame replaces the theme's templates, so the demo looks the same on any theme. */\nadd_action( 'after_setup_theme', function () { add_theme_support( 'title-tag' ); } );\nadd_filter( 'show_admin_bar', '__return_false' );\nadd_filter( 'template_include', function ( $t ) {\nreturn ( is_admin() || is_feed() || is_robots() ) ? $t : __DIR__ . '/qfd/template.php';\n}, 99 );\nadd_filter( 'the_content', function ( $c ) {\nreturn str_replace( '{{u}}', untrailingslashit( home_url() ), $c );\n}, 1 );\nadd_action( 'wp', function () { remove_filter( 'the_content', 'wpautop' ); } );\nadd_action( 'wp_enqueue_scripts', function () {\nwp_enqueue_style( 'qfd-site', content_url( 'mu-plugins/qfd/site.css' ), array(), (string) filemtime( __DIR__ . '/qfd/site.css' ) );\n}, 20 );\n\n/** Basic SEO tags, so the \"Keep SEO tags in sync\" readout has something to show. */\nadd_action(\n'wp_head',\nfunction () {\n$desc = get_bloginfo( 'description' );\nif ( is_singular() ) {\n$desc = has_excerpt() ? get_the_excerpt() : $desc;\n}\necho '<meta name=\"description\" content=\"' . esc_attr( wp_strip_all_tags( $desc ) ) . '\" />' . \"\\n\";\necho '<meta property=\"og:title\" content=\"' . esc_attr( wp_get_document_title() ) . '\" />' . \"\\n\";\n},\n4\n);\n"},{"step":"writeFile","path":"/wordpress/wp-content/mu-plugins/qfd/panel.js","data":"\n( function () {\n'use strict';\nvar S = window.qfdState;\nvar doc = document;\nvar root = doc.documentElement;\nif ( ! S || window.qfdBooted ) { return; }\nwindow.qfdBooted = true;\n\nvar proAvail = false !== S.proAvail;\nvar isPro = proAvail && 'pro' === S.plan;\nvar store = {\nget: function ( k ) { try { return JSON.parse( window.sessionStorage.getItem( k ) ); } catch ( e ) { return null; } },\nset: function ( k, v ) { try { window.sessionStorage.setItem( k, JSON.stringify( v ) ); } catch ( e ) {} }\n};\nfunction $( tag, attrs, kids ) {\nvar n = doc.createElement( tag );\nObject.keys( attrs || {} ).forEach( function ( k ) {\nif ( 'text' === k ) { n.textContent = attrs[ k ]; } else if ( 'on' === k.slice( 0, 2 ) ) { n.addEventListener( k.slice( 2 ), attrs[ k ] ); } else { n.setAttribute( k, attrs[ k ] ); }\n} );\n( kids || [] ).forEach( function ( c ) { if ( c ) { n.appendChild( 'string' === typeof c ? doc.createTextNode( c ) : c ); } } );\nreturn n;\n}\nfunction fmt( n ) { return Math.round( n ).toLocaleString( 'en-US' ); }\nfunction home( path ) { return ( S.home || '/' ).replace( /\\/$/, '' ) + path; }\n\nvar queued = { s: {} };\nvar timer = 0;\nfunction flush() {\nvar fd = new window.FormData();\nroot.classList.add( 'qfd-busy' );\nui.classList.add( 'is-busy' );\nfd.append( 'action', 'qfd_save' );\nfd.append( 'd', JSON.stringify( queued ) );\nstore.set( 'qfd_skip', 1 );\nstore.set( 'qfd_toast', 1 );\nwindow.fetch( S.ajax, { method: 'POST', body: fd, credentials: 'same-origin' } ).then( function () {\nwindow.location.reload();\n}, function () {\nwindow.location.reload();\n} );\n}\nfunction save( patch ) {\nObject.keys( patch.s || {} ).forEach( function ( k ) { queued.s[ k ] = patch.s[ k ]; S.s[ k ] = patch.s[ k ]; } );\n[ 'plan', 'slow', 'reset' ].forEach( function ( k ) { if ( k in patch ) { queued[ k ] = patch[ k ]; } } );\nwindow.clearTimeout( timer );\ntimer = window.setTimeout( flush, 350 );\nrender();\n}\nfunction set( key, value ) { var s = {}; s[ key ] = value; save( { s: s } ); }\n\nvar M = store.get( 'qfd_m' ) || { full: [], swap: [], cached: 0 };\nfunction remember() { store.set( 'qfd_m', M ); }\nfunction avg( a ) { return a.length ? a.reduce( function ( x, y ) { return x + y; }, 0 ) / a.length : 0; }\nvar started = 0;\nvar wasCached = false;\ndoc.addEventListener( 'quicklyfly:before-fetch', function ( e ) {\nstarted = window.performance.now();\nwasCached = !! ( e.detail && e.detail.cached );\n} );\ndoc.addEventListener( 'quicklyfly:after-swap', function () {\nif ( started ) {\nM.swap.push( Math.max( 1, window.performance.now() - started ) );\nM.swap = M.swap.slice( -12 );\nif ( wasCached ) { M.cached++; }\nstarted = 0;\nremember();\n}\nrenderMeter();\nreadPage( true );\nplayer();\n} );\nwindow.addEventListener( 'load', function () {\nwindow.setTimeout( function () {\nvar nav = window.performance && window.performance.getEntriesByType ? window.performance.getEntriesByType( 'navigation' )[ 0 ] : null;\nif ( store.get( 'qfd_skip' ) ) { store.set( 'qfd_skip', 0 ); } else if ( store.get( 'qfd_seen' ) && nav && nav.loadEventEnd > 0 ) {\nM.full.push( nav.loadEventEnd - nav.startTime );\nM.full = M.full.slice( -12 );\nremember();\n}\nstore.set( 'qfd_seen', 1 );\nrenderMeter();\n}, 0 );\n} );\n\nfunction sw( key, label, help, opts ) {\nvar on = !! S.s[ key ];\nvar b = $( 'button', { 'class': 'qfd-sw', role: 'switch', 'aria-checked': String( on ), 'aria-label': label, onclick: function () { if ( opts && opts.fn ) { opts.fn( ! on ); } else { set( key, ! on ); } } } );\nreturn $( 'div', { 'class': 'qfd-row' + ( opts && opts.pro && ! isPro ? ' qfd-lock' : '' ) }, [\n$( 'div', { 'class': 'qfd-line' }, [ $( 'span', { 'class': 'qfd-label' }, [ label, opts && opts.pro ? $( 'span', { 'class': 'qfd-badge', text: 'PRO' } ) : null ] ), b ] ),\nhelp ? $( 'p', { 'class': 'qfd-help', text: help } ) : null\n].concat( opts && opts.extra ? [ opts.extra ] : [] ) );\n}\nfunction seg( key, label, help, options, pro ) {\nreturn $( 'div', { 'class': 'qfd-row' + ( pro && ! isPro ? ' qfd-lock' : '' ) }, [\n$( 'span', { 'class': 'qfd-label' }, [ label, pro ? $( 'span', { 'class': 'qfd-badge', text: 'PRO' } ) : null ] ),\nhelp ? $( 'p', { 'class': 'qfd-help', text: help } ) : null,\n$( 'div', { 'class': 'qfd-seg' }, options.map( function ( o ) {\nreturn $( 'button', { 'aria-pressed': String( String( S.s[ key ] ) === String( o[ 0 ] ) ), onclick: function () { set( key, o[ 0 ] ); } , text: o[ 1 ] } );\n} ) )\n] );\n}\nfunction note( label, help, kids, badge ) {\nreturn $( 'div', { 'class': 'qfd-row' + ( badge && ! isPro ? ' qfd-lock' : '' ) }, [\n$( 'span', { 'class': 'qfd-label' }, [ label, badge ? $( 'span', { 'class': 'qfd-badge', text: 'PRO' } ) : null ] ),\nhelp ? $( 'p', { 'class': 'qfd-help', text: help } ) : null\n].concat( kids || [] ) );\n}\nfunction link( text, path, solid ) { return $( 'a', { 'class': 'qfd-btn' + ( solid ? ' solid' : '' ), href: home( path ), text: text } ); }\nfunction btn( text, fn ) { return $( 'button', { 'class': 'qfd-btn', onclick: fn, text: text } ); }\n\nfunction previewLoader() {\nvar l = window.quicklyflyLifecycle;\nif ( ! l ) { return; }\nl.emit( 'before-fetch', { url: window.location.href } );\nwindow.setTimeout( function () { l.emit( 'swapped', {} ); l.emit( 'after-swap', { url: window.location.href } ); }, 2200 );\n}\n\nvar infoBox = null;\nfunction readPage( flash ) {\nvar c, d;\nif ( ! infoBox ) { return; }\nc = doc.querySelector( 'link[rel=\"canonical\"]' );\nd = doc.querySelector( 'meta[name=\"description\"]' ) || doc.querySelector( 'meta[property=\"og:description\"]' );\ninfoBox.innerHTML = '';\ninfoBox.appendChild( $( 'div', {}, [ $( 'b', { text: 'Title  ' } ), doc.title ] ) );\ninfoBox.appendChild( $( 'div', {}, [ $( 'b', { text: 'Canonical  ' } ), c ? c.href : '—' ] ) );\ninfoBox.appendChild( $( 'div', {}, [ $( 'b', { text: 'Description  ' } ), d ? ( d.content || '—' ).slice( 0, 90 ) : '—' ] ) );\nif ( flash ) { infoBox.classList.remove( 'flash' ); void infoBox.offsetWidth; infoBox.classList.add( 'flash' ); }\n}\nvar meterBox = null;\nfunction renderMeter() {\nvar f = avg( M.full );\nvar w = avg( M.swap );\nvar top = Math.max( f, w, 1 );\nif ( ! meterBox ) { return; }\nmeterBox.innerHTML = '';\nif ( ! M.full.length && ! M.swap.length ) {\nmeterBox.appendChild( $( 'p', { 'class': 'qfd-help', text: 'Click a few links on the page. Each page change is timed here, in your browser.' } ) );\nreturn;\n}\nmeterBox.appendChild( $( 'div', { 'class': 'qfd-bar' }, [ $( 'span', { text: 'Normal load' } ), $( 'span', {}, [ $( 'i', { 'class': 'a', style: 'width:' + ( f ? Math.max( 3, f / top * 55 ) : 0 ) + '%' } ), f ? fmt( f ) + ' ms' : '—' ] ) ] ) );\nmeterBox.appendChild( $( 'div', { 'class': 'qfd-bar' }, [ $( 'span', { text: 'QuicklyFly' } ), $( 'span', {}, [ $( 'i', { 'class': 'b', style: 'width:' + ( w ? Math.max( 3, w / top * 55 ) : 0 ) + '%' } ), w ? fmt( w ) + ' ms' : '—' ] ) ] ) );\nif ( f && w && f > w ) { meterBox.appendChild( $( 'div', { 'class': 'qfd-big', text: ( f / w ).toFixed( f / w >= 10 ? 0 : 1 ) + '× faster' } ) ); }\nmeterBox.appendChild( $( 'p', { 'class': 'qfd-help', text: M.swap.length + ' instant page change' + ( 1 === M.swap.length ? '' : 's' ) + ( M.cached ? ', ' + M.cached + ' already loaded before you clicked' : '' ) + '. ' + ( M.full.length ? M.full.length + ' normal load' + ( 1 === M.full.length ? '' : 's' ) + ' measured.' : 'Turn QuicklyFly off to measure a normal load.' ) } ) );\n}\nvar logBox = null;\nvar events = store.get( 'qfd_ev' ) || [];\nfunction renderLog() {\nif ( ! logBox ) { return; }\nlogBox.textContent = events.length ? events.slice( -6 ).join( '\\n' ) : ( S.s.analytics ? 'Waiting for the next page change…' : 'Analytics is off.' );\n}\nwindow.dataLayer = window.dataLayer || [];\nif ( Array.isArray( window.dataLayer ) ) {\nvar orig = window.dataLayer.push;\nwindow.dataLayer.push = function ( item ) {\nif ( item && 'quicklyfly_page_view' === item.event ) {\nevents.push( 'dataLayer → quicklyfly_page_view  ' + String( item.page_location ).replace( /^https?:\\/\\/[^/]+/, '' ) );\nstore.set( 'qfd_ev', events.slice( -12 ) );\nrenderLog();\n}\nreturn orig.apply( this, arguments );\n};\n}\n\nvar wav = '';\nfunction makeWav() {\nvar sr = 11025, n = sr * 8, buf = new window.ArrayBuffer( 44 + n * 2 ), v = new window.DataView( buf ), i, t, s, k, f;\nvar notes = [ 220, 261.63, 329.63, 392, 329.63, 261.63, 196, 246.94 ];\nfunction str( o, x ) { for ( var j = 0; j < x.length; j++ ) { v.setUint8( o + j, x.charCodeAt( j ) ); } }\nstr( 0, 'RIFF' ); v.setUint32( 4, 36 + n * 2, true ); str( 8, 'WAVEfmt ' ); v.setUint32( 16, 16, true ); v.setUint16( 20, 1, true ); v.setUint16( 22, 1, true );\nv.setUint32( 24, sr, true ); v.setUint32( 28, sr * 2, true ); v.setUint16( 32, 2, true ); v.setUint16( 34, 16, true ); str( 36, 'data' ); v.setUint32( 40, n * 2, true );\nfor ( i = 0; i < n; i++ ) {\nt = i / sr; k = Math.floor( t / 1 ); f = notes[ k % notes.length ]; s = ( t % 1 );\nv.setInt16( 44 + i * 2, Math.sin( 2 * Math.PI * f * t ) * Math.exp( -s * 2.6 ) * 6000 + Math.sin( 4 * Math.PI * f * t ) * Math.exp( -s * 4 ) * 1500, true );\n}\nreturn window.URL.createObjectURL( new window.Blob( [ buf ], { type: 'audio/wav' } ) );\n}\nfunction player() {\nvar box = doc.getElementById( 'qfd-player' );\nvar audio;\nvar b;\nvar sub;\nif ( box && box.getAttribute( 'data-ready' ) ) { return; }\nif ( ! box ) { box = $( 'div', { id: 'qfd-player' } ); doc.body.appendChild( box ); }\nwav = wav || makeWav();\naudio = $( 'audio', { loop: '', src: wav, preload: 'none' } );\nb = $( 'button', { 'aria-label': 'Play demo music', text: '▶', onclick: function () {\nif ( audio.paused ) { audio.play(); } else { audio.pause(); }\n} } );\naudio.addEventListener( 'play', function () { b.textContent = '❚❚'; } );\naudio.addEventListener( 'pause', function () { b.textContent = '▶'; } );\nsub = S.s.persistent_selectors && S.s.persistent_selectors.length ? 'keeps playing across pages' : ( isPro ? 'stops on page change (Pro can keep it)' : 'stops on page change' );\nbox.setAttribute( 'data-ready', '1' );\nbox.appendChild( b );\nbox.appendChild( $( 'span', {}, [ 'Demo music', $( 'small', { text: sub } ) ] ) );\nbox.appendChild( audio );\n}\n\nvar ui = $( 'div', { id: 'qfd' } );\nvar launch = $( 'button', { 'class': 'qfd-launch', 'aria-expanded': 'false', onclick: function () { toggle(); } } );\nlaunch.innerHTML = '<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M13 2 4 14h6l-1 8 9-12h-6z\"/></svg><span>Try QuicklyFly</span>';\nvar panel = $( 'div', { 'class': 'qfd-panel', role: 'dialog', 'aria-label': 'QuicklyFly demo' } );\nvar tab = store.get( 'qfd_tab' ) || 'speed';\nfunction toggle( force ) {\nvar open = 'boolean' === typeof force ? force : ! ui.classList.contains( 'is-open' );\nui.classList.toggle( 'is-open', open );\nroot.classList.toggle( 'qfd-open', open );\nlaunch.setAttribute( 'aria-expanded', String( open ) );\nlaunch.querySelector( 'span' ).textContent = open ? 'Close' : 'Try QuicklyFly';\nstore.set( 'qfd_open', open );\n}\n\nfunction speedTab() {\nvar on = !! S.s.enabled;\nvar m = $( 'div', { 'class': 'qfd-meter' } );\nmeterBox = m;\nreturn [\n$( 'div', { 'class': 'qfd-tip', text: 'Click any menu item or link on the site. Pages swap without a reload. Turn QuicklyFly off to feel a normal page load, then compare.' } ),\nsw( 'enabled', on ? 'QuicklyFly is ON' : 'QuicklyFly is OFF', 'The master switch. Off means every click is a full page load.' ),\nnote( 'Speed in this browser', null, [ m ] ),\nsw( 'slow', 'Slow server (+1 second)', 'Makes the server answer slowly, so you can see the loader and progress bar.', { fn: function ( v ) { save( { slow: v } ); } } ),\nnote( 'Quick setups', 'Start from a ready-made mix of settings.', [ $( 'div', { 'class': 'qfd-seg' }, [\n[ 'Balanced', { prefetch_mode: 'hover', prefetch_delay: 65, instant_click: true, cache_ttl: 60 } ],\n[ 'Fastest', { prefetch_mode: 'viewport', prefetch_delay: 0, instant_click: true, cache_ttl: 300 } ],\n[ 'Safest', { prefetch_mode: 'off', prefetch_delay: 65, instant_click: true, cache_ttl: 0 } ]\n].map( function ( p ) { return btn( p[ 0 ], function () { save( { s: p[ 1 ] } ); } ); } ) ) ] ),\n$( 'div', { 'class': 'qfd-btns' }, [ btn( 'Reset demo', function () { save( { reset: true } ); } ), $( 'a', { 'class': 'qfd-btn solid', href: S.buy, target: '_blank', rel: 'noopener', text: 'See more' } ) ] )\n];\n}\nfunction freeTab() {\ninfoBox = $( 'div', { 'class': 'qfd-info' } );\nreturn [\nseg( 'prefetch_mode', 'Preload pages', 'When to start loading the next page: while the pointer rests on a link, or as soon as links appear on screen.', [ [ 'hover', 'On hover' ], [ 'viewport', 'In view' ], [ 'off', 'Off' ] ] ),\nsw( 'instant_click', 'Start on touch / mouse down', 'Loading begins the moment a finger or mouse button goes down, before the click finishes.' ),\nseg( 'cache_ttl', 'Page cache', 'Visited pages are kept for a short time, so going back is immediate.', [ [ 0, 'Off' ], [ 60, '1 minute' ], [ 300, '5 minutes' ] ] ),\nseg( 'transition', 'Page transition', null, [ [ 'none', 'None' ], [ 'fade', 'Fade' ] ] ),\nsw( 'progress_bar', 'Progress bar', 'A thin bar at the top while a page loads.' ),\nseg( 'loader_style', 'Loading indicator', 'Shown only when a page takes longer than a moment.', [ [ 'none', 'None' ], [ 'ring', 'Ring' ], [ 'dots', 'Dots' ], [ 'pulse', 'Pulse' ] ] ),\nsw( 'loader_overlay', 'Soft overlay behind the indicator', null, { extra: $( 'div', { 'class': 'qfd-btns' }, [ btn( '▶ Preview the loader', previewLoader ) ] ) } ),\nsw( 'scroll_restore', 'Restore scroll position on Back', 'Open the long page, scroll down, open a link, then press Back.', { extra: $( 'div', { 'class': 'qfd-btns' }, [ link( 'Open the long page', '/long-page/' ) ] ) } ),\nsw( 'sync_head', 'Keep SEO tags in sync', 'Title, canonical link, description and Open Graph tags are updated after every page change.', { extra: infoBox } ),\nnote( 'Pages that always load normally', 'Carts, logins and member areas can be excluded by path. This page is excluded: /members', [ $( 'div', { 'class': 'qfd-btns' }, [ link( 'Open /members', '/members/' ) ] ) ] ),\nnote( 'Developer API', 'Open a page from your own code with quicklyfly.go( url ).', [ $( 'div', { 'class': 'qfd-btns' }, [ btn( \"quicklyfly.go( '/pricing/' )\", function () { if ( window.quicklyfly ) { window.quicklyfly.go( home( '/pricing/' ) ); } } ) ] ) ] ),\nnote( 'Works with Elementor and WooCommerce', 'Builders and shops are detected and handled for you. Cart, checkout and account pages always load normally.' )\n];\n}\n\nfunction pv( title, text, stage, cap ) {\nvar d = $( 'div', { 'class': 'qfd-pv' } );\nd.innerHTML = '<h4></h4><p></p><div class=\"pv-stage\">' + stage + '</div>' + ( cap ? '<span class=\"pv-cap\">' + cap + '</span>' : '' );\nd.querySelector( 'h4' ).appendChild( doc.createTextNode( title ) );\nd.querySelector( 'h4' ).appendChild( $( 'span', { 'class': 'qfd-badge', text: 'PRO' } ) );\nd.querySelector( 'p' ).textContent = text;\nreturn d;\n}\nfunction proPreviews() {\nvar pg = '<i class=\"pv-pg a\"></i><i class=\"pv-pg b\"></i>';\nreturn [\npv( 'Slide and scale transitions', 'Pages glide or grow in instead of just fading.', '<div class=\"pv-half pv-slide\">' + pg + '</div><div class=\"pv-half pv-scale\">' + pg + '</div>', 'Slide · Scale' ),\npv( 'Five more loaders', 'Dual, Bars, Orbit, Grid and Flip, on top of the three free ones. Or use your own image or GIF.', '<div class=\"pv-loaders\"><div><i class=\"pv-l pv-dual\"></i>Dual</div><div><i class=\"pv-l pv-bars\"><i></i><i></i><i></i><i></i></i>Bars</div><div><i class=\"pv-l pv-orbit\"></i>Orbit</div><div><i class=\"pv-l pv-grid\"><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i></i>Grid</div><div><i class=\"pv-l pv-flip\"></i>Flip</div></div>' ),\npv( 'Loader text, layout and size', 'Show a message beside the loader, stack it, or make it larger.', '<div class=\"pv-lay\"><div><i class=\"pv-ring\"></i>Loading…</div><div class=\"st\"><i class=\"pv-ring\"></i>Please wait</div><div>Loading…</div></div>' ),\npv( 'Predictive prefetch', 'Learns which page visitors usually open next and loads it before they click.', '<div class=\"pv-flow\"><span class=\"pv-chip\">Home</span>→<span class=\"pv-chip\">Products</span>→<span class=\"pv-chip nx\">Pricing</span></div>' ),\npv( 'Music keeps playing', 'A player, video or chat widget carries on while visitors move between pages.', '<div class=\"pv-body\"></div><div class=\"pv-player\"><i></i><i></i><i></i><i></i><i></i><i></i><span>▶ keeps playing</span></div>' ),\npv( 'Page-view events', 'Every page change is reported to Google Analytics, Matomo and the data layer.', '<div class=\"pv-term\"><div>page_view  /products/</div><div>page_view  /pricing/</div><div>quicklyfly_page_view  /about/</div></div>' ),\npv( 'Per-page “load normally”', 'Opt any page or post out from its editor. It then opens with a normal, full load.', '<div class=\"pv-opt\"><span class=\"pv-chip\">/checkout-help/</span><i class=\"pv-ring\"></i>full reload</div>' ),\npv( 'Speed report', 'See the time saved across all page changes.', '<div class=\"pv-save\"><i></i><i></i><i></i></div><div class=\"pv-big\">12.4 s saved</div>' )\n];\n}\nfunction proTab() {\nvar kids = [];\nlogBox = $( 'div', { 'class': 'qfd-log' } );\nif ( ! proAvail ) {\nreturn [ $( 'div', { 'class': 'qfd-tip', text: 'Here is what QuicklyFly Pro adds on top of everything in the Free tab.' } ) ].concat( proPreviews(), [ $( 'div', { 'class': 'qfd-btns' }, [ $( 'a', { 'class': 'qfd-btn solid', href: S.buy, target: '_blank', rel: 'noopener', text: 'See more' } ) ] ) ] );\n}\nif ( ! isPro ) {\nkids.push( $( 'div', { 'class': 'qfd-banner' }, [ 'You are looking at the Free plan. These options are locked.', $( 'div', { 'class': 'qfd-btns' }, [ btn( 'Preview Pro features', function () { save( { plan: 'pro' } ); } ) ] ) ] ) );\n}\nkids.push(\nseg( 'transition', 'More transitions', 'Slide or scale pages in. Pick one, then open a page.', [ [ 'fade', 'Fade' ], [ 'slide', 'Slide' ], [ 'scale', 'Scale' ] ], true ),\nseg( 'loader_style', 'Five more loaders', 'Choose one, then turn on Slow server in the Speed tab (or preview it in the Free tab).', [ [ 'dual', 'Dual' ], [ 'bars', 'Bars' ], [ 'orbit', 'Orbit' ], [ 'grid', 'Grid' ], [ 'flip', 'Flip' ] ], true ),\nseg( 'loader_layout', 'Loader layout', 'Add text next to the loader.', [ [ 'icon', 'Icon' ], [ 'icon-text', 'Icon + text' ], [ 'text-icon', 'Text + icon' ], [ 'stack', 'Stacked' ], [ 'text', 'Text only' ] ], true ),\nnote( 'Loader text', null, [ $( 'input', { 'class': 'qfd-text', type: 'text', maxlength: '60', value: S.s.loader_text || 'Loading…', 'aria-label': 'Loader text', onchange: function ( e ) { set( 'loader_text', e.target.value ); } } ) ], true ),\nseg( 'loader_size', 'Loader size', null, [ [ 32, 'Small' ], [ 44, 'Medium' ], [ 72, 'Large' ] ], true ),\nnote( 'Your own loader', 'Use your own image or animated GIF as the loader. Set it in the plugin settings.', null, true ),\nsw( 'predictive_prefetch', 'Predictive prefetch', 'Learns, in the visitor\\'s browser, which page usually comes next and loads it early. Click around a few pages to teach it.', { pro: true } ),\nsw( 'persist', 'Keep the music playing', 'Press play on the demo music (bottom left), switch this on, then change pages. It keeps playing.', { pro: true, fn: function ( v ) { set( 'persistent_selectors', v ? [ '#qfd-player' ] : [] ); } } ),\nsw( 'analytics', 'Page-view events', 'Sends a page view to Google Analytics, Matomo and the data layer after each page change.', { pro: true, extra: logBox } ),\nnote( 'Per-page “load normally”', 'Any page or post can opt out from its editor. This demo page does: it always loads with a full reload in Pro.', [ $( 'div', { 'class': 'qfd-btns' }, [ link( 'Open that page', '/normal-load/' ) ] ) ], true ),\nnote( 'Speed report', 'Pro keeps a report of the time saved. The Speed tab shows a live version of it.', null, true )\n);\nreturn kids;\n}\nS.s.persist = !! ( S.s.persistent_selectors && S.s.persistent_selectors.length );\n\nfunction render() {\nvar pane;\nvar tabs = [ [ 'speed', 'Speed' ], [ 'free', 'Free' ], [ 'pro', 'Pro' ] ];\nvar body = $( 'div', { 'class': 'qfd-body' } );\nvar keep = panel.querySelector( '.qfd-body' ) ? panel.querySelector( '.qfd-body' ).scrollTop : 0;\npanel.innerHTML = '';\npanel.appendChild( $( 'div', { 'class': 'qfd-head' }, [\n$( 'b', { text: 'QuicklyFly live demo' } ),\n! proAvail ? null : $( 'div', { 'class': 'qfd-plan', role: 'group', 'aria-label': 'Plan' }, [ [ 'free', 'Free' ], [ 'pro', 'Pro' ] ].map( function ( p ) {\nreturn $( 'button', { 'aria-pressed': String( S.plan === p[ 0 ] ), onclick: function () { if ( S.plan !== p[ 0 ] ) { save( { plan: p[ 0 ] } ); } }, text: p[ 1 ] } );\n} ) ),\n$( 'button', { 'class': 'qfd-x', 'aria-label': 'Close', onclick: function () { toggle( false ); }, text: '×' } )\n] ) );\npanel.appendChild( $( 'div', { 'class': 'qfd-tabs', role: 'tablist' }, tabs.map( function ( t ) {\nreturn $( 'button', { role: 'tab', 'aria-selected': String( tab === t[ 0 ] ), onclick: function () { tab = t[ 0 ]; store.set( 'qfd_tab', tab ); render(); }, text: t[ 1 ] } );\n} ) ) );\npane = $( 'div', { 'class': 'qfd-sec is-on' }, 'speed' === tab ? speedTab() : ( 'free' === tab ? freeTab() : proTab() ) );\nbody.appendChild( pane );\npanel.appendChild( body );\npanel.appendChild( $( 'div', { 'class': 'qfd-busy', text: 'Applying…' } ) );\nbody.scrollTop = keep;\nrenderMeter();\nreadPage( false );\nrenderLog();\n}\n\ndoc.addEventListener( 'click', function ( e ) {\nvar t = e.target.closest ? e.target.closest( '[data-yt],[data-qfd-open],[data-ps-menu],[data-ps-bill]' ) : null;\nif ( ! t ) { return; }\nif ( t.hasAttribute( 'data-yt' ) ) { e.preventDefault(); var fr = doc.createElement( 'iframe' ); fr.src = 'https://www.youtube-nocookie.com/embed/' + t.getAttribute( 'data-yt' ) + '?autoplay=1&rel=0'; fr.allow = 'autoplay; encrypted-media; picture-in-picture'; fr.setAttribute( 'allowfullscreen', '' ); t.innerHTML = ''; t.appendChild( fr ); t.removeAttribute( 'data-yt' ); } else if ( t.hasAttribute( 'data-qfd-open' ) ) { toggle( true ); } else if ( t.hasAttribute( 'data-ps-menu' ) ) { root.classList.toggle( 'ps-menu-open' ); } else { root.classList.toggle( 'ps-monthly', 'm' === t.getAttribute( 'data-ps-bill' ) ); }\n} );\ndoc.addEventListener( 'quicklyfly:after-swap', function () { root.classList.remove( 'ps-menu-open' ); } );\n\nui.appendChild( panel );\nui.appendChild( launch );\npanel.style.position = 'relative';\nfunction mount() {\ndoc.documentElement.appendChild( ui );\nrender();\nplayer();\nif ( store.get( 'qfd_toast' ) ) {\nstore.set( 'qfd_toast', 0 );\nui.appendChild( $( 'div', { 'class': 'qfd-toast', text: '✓ Applied' } ) );\n}\nif ( null === store.get( 'qfd_open' ) ) {\ntoggle( true );\n} else if ( store.get( 'qfd_open' ) ) {\ntoggle( true );\n}\n}\nif ( 'loading' === doc.readyState ) { doc.addEventListener( 'DOMContentLoaded', mount ); } else { mount(); }\n}() );\n"},{"step":"writeFile","path":"/wordpress/wp-content/mu-plugins/qfd/panel.css","data":"#qfd{--qb:#0a3df0;--qbd:#0830c0;--qo:#f97316;--ink:#0f172a;--mut:#64748b;--ln:#e2e8f0;--bg:#fff;--soft:#f1f5f9;font:14px/1.45 system-ui,-apple-system,\"Segoe UI\",Roboto,sans-serif;color:var(--ink);position:fixed;right:16px;bottom:16px;z-index:2147482000;display:flex;flex-direction:column;align-items:flex-end;gap:10px;max-width:calc(100vw - 24px)}#qfd *{box-sizing:border-box}#qfd button{font:inherit;cursor:pointer;margin:0}.qfd-launch{display:flex;align-items:center;gap:8px;background:var(--qb);color:#fff;border:0;border-radius:999px;padding:12px 18px 12px 14px;font-weight:600;box-shadow:0 6px 20px rgba(10,61,240,.35)}.qfd-launch:hover{background:var(--qbd)}.qfd-launch svg{width:20px;height:20px;fill:currentColor}.qfd-launch.is-pulse{animation:qfd-pulse 2s ease-out 3}@keyframes qfd-pulse{0%{box-shadow:0 0 0 0 rgba(10,61,240,.55)}100%{box-shadow:0 0 0 18px rgba(10,61,240,0)}}.qfd-panel{width:380px;max-width:100%;max-height:min(680px,calc(100vh - 90px));max-height:min(680px,calc(100dvh - 90px));background:var(--bg);border:1px solid var(--ln);border-radius:16px;box-shadow:0 18px 50px rgba(15,23,42,.25);display:none;flex-direction:column;overflow:hidden}#qfd.is-open .qfd-panel{display:flex}.qfd-head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--qb);color:#fff}.qfd-head b{font-size:15px;flex:1}.qfd-head .qfd-x{background:rgba(255,255,255,.18);border:0;color:#fff;width:30px;height:30px;border-radius:8px;font-size:18px;line-height:1}.qfd-plan{display:flex;background:rgba(255,255,255,.18);border-radius:8px;padding:2px}.qfd-plan button{background:transparent;border:0;color:#fff;padding:4px 12px;border-radius:6px;font-size:12px;font-weight:600}.qfd-plan button[aria-pressed=true]{background:#fff;color:var(--qb)}.qfd-tabs{display:flex;border-bottom:1px solid var(--ln);background:#fff}.qfd-tabs button{flex:1;background:none;border:0;border-bottom:3px solid transparent;padding:10px 4px;font-weight:600;color:var(--mut)}.qfd-tabs button[aria-selected=true]{color:var(--qb);border-bottom-color:var(--qb)}.qfd-body{overflow:auto;overscroll-behavior:contain;padding:14px;display:flex;flex-direction:column;gap:14px;-webkit-overflow-scrolling:touch}.qfd-sec{display:none}.qfd-sec.is-on{display:flex;flex-direction:column;gap:14px}.qfd-tip{background:#eff4ff;border:1px solid #cfdcff;color:#1e3a8a;border-radius:10px;padding:10px 12px;font-size:13px}.qfd-row{display:flex;flex-direction:column;gap:6px;padding-bottom:14px;border-bottom:1px solid var(--ln)}.qfd-row:last-child{border-bottom:0;padding-bottom:0}.qfd-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.qfd-label{font-weight:600}.qfd-help{color:var(--mut);font-size:12.5px;margin:0}.qfd-badge{display:inline-block;background:var(--qo);color:#fff;border-radius:5px;font-size:10px;font-weight:700;letter-spacing:.04em;padding:1px 5px;margin-left:6px;vertical-align:1px}.qfd-badge.free{background:#16a34a}.qfd-sw{flex:none;width:44px;height:26px;border-radius:999px;border:0;background:#cbd5e1;position:relative;transition:background .15s}.qfd-sw::after{content:\"\";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .15s;box-shadow:0 1px 3px rgba(0,0,0,.3)}.qfd-sw[aria-checked=true]{background:var(--qb)}.qfd-sw[aria-checked=true]::after{transform:translateX(18px)}.qfd-seg{display:flex;flex-wrap:wrap;gap:6px}.qfd-seg button,.qfd-btn,.qfd-chip{background:var(--soft);border:1px solid var(--ln);color:var(--ink);border-radius:8px;padding:7px 11px;font-weight:600;font-size:13px}.qfd-seg button[aria-pressed=true],.qfd-chip.is-on{background:var(--qb);border-color:var(--qb);color:#fff}.qfd-btn{background:#fff;color:var(--qb);border-color:var(--qb);text-decoration:none;display:inline-block}.qfd-btn.solid{background:var(--qb);color:#fff}.qfd-btns{display:flex;flex-wrap:wrap;gap:8px}.qfd-lock .qfd-seg button,.qfd-lock .qfd-sw,.qfd-lock input{opacity:.45;pointer-events:none}.qfd-banner{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:10px;padding:10px 12px;font-size:13px;display:flex;flex-direction:column;gap:8px}.qfd-meter{background:var(--soft);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px}.qfd-bar{display:grid;grid-template-columns:104px 1fr;align-items:center;gap:8px;font-size:12.5px}.qfd-bar i{display:block;height:14px;border-radius:4px;min-width:3px;transition:width .4s}.qfd-bar .a{background:#94a3b8}.qfd-bar .b{background:var(--qb)}.qfd-bar span{display:flex;align-items:center;gap:8px;white-space:nowrap}.qfd-big{font-size:22px;font-weight:800;color:var(--qb)}.qfd-info{background:var(--soft);border-radius:10px;padding:10px 12px;font-size:12px;word-break:break-all;display:flex;flex-direction:column;gap:4px}.qfd-info b{color:var(--mut);font-weight:600}.qfd-info.flash{animation:qfd-flash .9s}@keyframes qfd-flash{0%{background:#bbf7d0}100%{background:var(--soft)}}.qfd-log{background:#0f172a;color:#a5f3fc;border-radius:10px;padding:10px 12px;font:12px/1.5 ui-monospace,Menlo,Consolas,monospace;max-height:110px;overflow:auto;word-break:break-all}.qfd-text{width:100%;border:1px solid var(--ln);border-radius:8px;padding:7px 10px;font:inherit}.qfd-toast{position:absolute;right:0;bottom:60px;background:#16a34a;color:#fff;border-radius:8px;padding:6px 12px;font-weight:600;font-size:13px;animation:qfd-fade 2.2s forwards;pointer-events:none}@keyframes qfd-fade{0%,80%{opacity:1}100%{opacity:0}}.qfd-busy{position:absolute;inset:0;background:rgba(255,255,255,.85);display:none;align-items:center;justify-content:center;font-weight:700;color:var(--qb);z-index:3}#qfd.is-busy .qfd-busy{display:flex}#qfd-player{position:fixed;left:16px;bottom:16px;z-index:2147481000;display:flex;align-items:center;gap:8px;background:#0f172a;color:#fff;border-radius:999px;padding:6px 14px 6px 6px;font:600 13px system-ui,sans-serif;box-shadow:0 6px 20px rgba(15,23,42,.35)}#qfd-player button{width:34px;height:34px;border-radius:50%;border:0;background:var(--qb,#0a3df0);color:#fff;font-size:14px;cursor:pointer;padding:0}#qfd-player small{display:block;font-weight:400;opacity:.7;font-size:11px;line-height:1.2}@media (max-width:600px){#qfd{right:10px;bottom:10px;left:10px;align-items:stretch}.qfd-launch{align-self:flex-end;padding:10px 14px 10px 12px}.qfd-panel{width:100%;max-height:78vh;max-height:78dvh}.qfd-bar{grid-template-columns:90px 1fr}#qfd-player{left:10px;bottom:10px;padding-right:6px}#qfd-player span{display:none}html.qfd-open #qfd-player{display:none}}@media (prefers-reduced-motion:reduce){.qfd-launch.is-pulse,.qfd-info.flash{animation:none}}.qfd-pv{display:flex;flex-direction:column;gap:8px;padding-bottom:14px;border-bottom:1px solid var(--ln)}.qfd-pv h4{margin:0;font-size:14px}.qfd-pv p{margin:0;color:var(--mut);font-size:12.5px}.pv-stage{height:78px;background:var(--soft);border-radius:10px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:14px}.pv-cap{font-size:11px;color:var(--mut);text-align:center;display:block;margin-top:4px}.pv-half{flex:1;height:100%;position:relative;overflow:hidden}.pv-pg{position:absolute;inset:10px 12px;border-radius:6px;background:#fff;border:1px solid var(--ln)}.pv-pg::before{content:\"\";position:absolute;left:8px;right:30%;top:8px;height:6px;border-radius:3px;background:#cbd5e1}.pv-pg::after{content:\"\";position:absolute;left:8px;right:8px;top:22px;bottom:8px;border-radius:4px;background:#e2e8f0}.pv-pg.b{background:#eff4ff;border-color:#bcd0ff}.pv-slide .a{animation:pvOut 3s infinite}.pv-slide .b{animation:pvIn 3s infinite}@keyframes pvOut{0%,35%{transform:none}55%,100%{transform:translateX(-120%)}}@keyframes pvIn{0%,35%{transform:translateX(120%)}55%,100%{transform:none}}.pv-scale .a{animation:pvFade 3s infinite}.pv-scale .b{animation:pvGrow 3s infinite}@keyframes pvFade{0%,35%{opacity:1}55%,100%{opacity:0}}@keyframes pvGrow{0%,35%{opacity:0;transform:scale(.8)}60%,100%{opacity:1;transform:none}}.pv-loaders{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;width:100%;padding:0 8px}.pv-loaders>div{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px;color:var(--mut)}.pv-l{width:26px;height:26px;position:relative;display:block}.pv-dual::before,.pv-dual::after{content:\"\";position:absolute;border-radius:50%;border:3px solid transparent}.pv-dual::before{inset:0;border-top-color:var(--qb);animation:pvSpin 1s linear infinite}.pv-dual::after{inset:6px;border-bottom-color:var(--qo);animation:pvSpin .8s linear infinite reverse}@keyframes pvSpin{to{transform:rotate(360deg)}}.pv-bars{display:flex;align-items:center;justify-content:center;gap:3px}.pv-bars i{width:4px;height:100%;background:var(--qb);border-radius:2px;animation:pvBar 1s ease-in-out infinite}.pv-bars i:nth-child(2){animation-delay:.15s}.pv-bars i:nth-child(3){animation-delay:.3s}.pv-bars i:nth-child(4){animation-delay:.45s}@keyframes pvBar{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}.pv-orbit{animation:pvSpin 1.1s linear infinite}.pv-orbit::before,.pv-orbit::after{content:\"\";position:absolute;width:8px;height:8px;border-radius:50%;background:var(--qb);left:9px}.pv-orbit::before{top:0}.pv-orbit::after{bottom:0;background:var(--qo)}.pv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}.pv-grid i{background:var(--qb);border-radius:2px;animation:pvGrid 1.2s ease-in-out infinite}.pv-grid i:nth-child(2),.pv-grid i:nth-child(4){animation-delay:.15s}.pv-grid i:nth-child(3),.pv-grid i:nth-child(5),.pv-grid i:nth-child(7){animation-delay:.3s}.pv-grid i:nth-child(6),.pv-grid i:nth-child(8){animation-delay:.45s}.pv-grid i:nth-child(9){animation-delay:.6s}@keyframes pvGrid{0%,100%{opacity:.2}50%{opacity:1}}.pv-flip::before{content:\"\";position:absolute;inset:2px;background:var(--qb);border-radius:4px;animation:pvFlip 1.4s ease-in-out infinite}@keyframes pvFlip{0%{transform:perspective(60px) rotateX(0) rotateY(0)}50%{transform:perspective(60px) rotateX(-180deg) rotateY(0)}100%{transform:perspective(60px) rotateX(-180deg) rotateY(-180deg)}}.pv-lay{display:flex;gap:10px;align-items:center;justify-content:center;width:100%;padding:0 8px}.pv-lay>div{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--ln);border-radius:8px;padding:6px 8px;font-size:11px;font-weight:600}.pv-lay .st{flex-direction:column;gap:3px}.pv-ring{width:14px;height:14px;border-radius:50%;border:2.5px solid #cbd5e1;border-top-color:var(--qb);animation:pvSpin .9s linear infinite;display:inline-block}.pv-flow{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600}.pv-chip{background:#fff;border:1px solid var(--ln);border-radius:8px;padding:6px 9px;position:relative}.pv-chip.nx{animation:pvNext 3s infinite}.pv-chip.nx::after{content:\"loaded early\";position:absolute;left:50%;top:-9px;transform:translateX(-50%);background:var(--qo);color:#fff;font-size:9px;border-radius:4px;padding:0 4px;white-space:nowrap;animation:pvTag 3s infinite}@keyframes pvNext{0%,25%{border-color:var(--ln)}45%,100%{border-color:var(--qo);box-shadow:0 0 0 3px rgba(249,115,22,.25)}}@keyframes pvTag{0%,25%{opacity:0}45%,100%{opacity:1}}.pv-player{position:absolute;left:10px;right:10px;bottom:8px;height:22px;border-radius:11px;background:#0f172a;display:flex;align-items:center;gap:3px;padding:0 10px}.pv-player i{width:3px;background:#38bdf8;border-radius:2px;animation:pvBar .9s ease-in-out infinite;height:12px}.pv-player i:nth-child(2n){animation-delay:.2s}.pv-player i:nth-child(3n){animation-delay:.4s}.pv-player span{color:#fff;font-size:10px;margin-left:auto}.pv-body{position:absolute;left:10px;right:10px;top:8px;height:34px;border-radius:6px;animation:pvBody 3s infinite}@keyframes pvBody{0%,40%{background:#dbe5ff}50%,90%{background:#fde2cc}100%{background:#dbe5ff}}.pv-term{position:absolute;inset:8px 10px;font:10.5px/1.5 ui-monospace,Menlo,Consolas,monospace;color:#a5f3fc;background:#0f172a;border-radius:6px;padding:4px 8px;overflow:hidden}.pv-term div{opacity:0;animation:pvLine 4s infinite}.pv-term div:nth-child(2){animation-delay:.8s}.pv-term div:nth-child(3){animation-delay:1.6s}@keyframes pvLine{0%{opacity:0}10%,85%{opacity:1}100%{opacity:0}}.pv-save{display:flex;align-items:flex-end;gap:5px;height:44px}.pv-save i{width:14px;background:var(--qb);border-radius:3px 3px 0 0;animation:pvGrowY 3s infinite;transform-origin:bottom}.pv-save i:nth-child(1){height:16px}.pv-save i:nth-child(2){height:26px;animation-delay:.2s}.pv-save i:nth-child(3){height:38px;animation-delay:.4s}@keyframes pvGrowY{0%{transform:scaleY(0)}30%,90%{transform:scaleY(1)}100%{transform:scaleY(0)}}.pv-big{font-weight:800;color:var(--qb);font-size:15px}.pv-opt{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600}.pv-opt .pv-ring{border-top-color:var(--qo);animation-duration:1.4s}@media (prefers-reduced-motion:reduce){.pv-stage *,.pv-stage *::before,.pv-stage *::after{animation:none!important}}"},{"step":"writeFile","path":"/wordpress/wp-content/mu-plugins/qfd/site.css","data":"body.ps{margin:0!important;background:#fff!important;color:#0f172a;font:16px/1.6 \"Inter\",system-ui,-apple-system,\"Segoe UI\",Roboto,sans-serif}.ps *{box-sizing:border-box}.ps img{max-width:100%;height:auto}.ps a{color:inherit;text-decoration:none}.ps-in{max-width:1180px;margin:0 auto;padding:0 20px}.ps h1,.ps h2,.ps h3{margin:0;line-height:1.15;color:#0b1437}.ps-promo{background:#0b1437;color:#fff;font-size:14px;text-align:center;padding:9px 16px;display:flex;gap:14px;justify-content:center;align-items:center;flex-wrap:wrap}.ps-promo button{border:0;cursor:pointer;font-family:inherit;font-size:inherit;background:#f97316;color:#fff;border-radius:999px;padding:3px 14px;font-weight:700}.ps-hd{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #e5e9f2}.ps-hd .ps-in{display:flex;align-items:center;justify-content:space-between;height:76px}.ps-logo img{display:block;height:56px;width:auto}.ps-nav{display:flex;align-items:center;gap:26px;font-weight:600;font-size:15px}.ps-nav>a:hover,.ps-dd>a:hover{color:#0a3df0}.ps-dd{position:relative;padding:24px 0}.ps-sub{display:none;position:absolute;left:-16px;top:100%;min-width:250px;background:#fff;border:1px solid #e5e9f2;border-radius:12px;box-shadow:0 14px 36px rgba(11,20,55,.14);padding:8px}.ps-dd:hover .ps-sub{display:block}.ps-sub a{display:block;padding:10px 12px;border-radius:8px;font-weight:500}.ps-sub a:hover{background:#eff4ff}.ps-sub b{color:#0a3df0}.ps-btn{display:inline-block;background:#0a3df0;color:#fff!important;border:2px solid #0a3df0;border-radius:10px;padding:11px 22px;font-family:inherit;font-weight:700;font-size:15px;line-height:1.2;cursor:pointer}.ps-btn:hover{background:#0830c0;border-color:#0830c0}.ps-btn.ghost{background:#fff;color:#0a3df0!important}.ps-btn.ghost:hover{background:#eff4ff}.ps-btn.or{background:#f97316;border-color:#f97316}.ps-btn.or:hover{background:#ea580c;border-color:#ea580c}.ps-burger{display:none;background:none;border:0;width:44px;height:44px;cursor:pointer;position:relative}.ps-burger span,.ps-burger span::before,.ps-burger span::after{content:\"\";position:absolute;left:11px;width:22px;height:2px;background:#0b1437;border-radius:2px}.ps-burger span{top:21px}.ps-burger span::before{left:0;top:-7px}.ps-burger span::after{left:0;top:7px}.ps-hero{background:#f3f6ff;padding:64px 0 72px;overflow:hidden}.ps-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:stretch}.ps-eye{display:inline-block;background:#fff;border:1px solid #cfdcff;color:#0a3df0;font-weight:700;font-size:12px;letter-spacing:.12em;border-radius:999px;padding:5px 14px}.ps-hero h1{font-size:clamp(34px,5vw,56px);font-weight:800;margin:18px 0 16px}.ps-hl{color:#0a3df0;position:relative;display:inline-block;max-width:100%;overflow-wrap:anywhere}.ps-hl svg{position:absolute;left:0;bottom:-10px;width:100%;height:12px}.ps-lead{font-size:18px;color:#475569;margin:0 0 20px;max-width:560px}.ps-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}.ps-tags span{background:#fff;border:1px solid #dbe3f3;border-radius:999px;padding:4px 14px;font-weight:600;font-size:13px;color:#334155}.ps-cta{display:flex;flex-wrap:wrap;gap:12px}.ps-card{background:#fff;border:1px solid #dbe3f3;border-radius:18px;padding:12px;box-shadow:0 24px 60px rgba(11,20,55,.16)}.ps-card img{display:block;width:100%;border-radius:10px}.ps-sec{padding:76px 0}.ps-sec.alt{background:#f8fafc}.ps-hd2{text-align:center;max-width:720px;margin:0 auto 44px}.ps-hd2 span{color:#f97316;font-weight:700;font-size:13px;letter-spacing:.12em}.ps-hd2 h2{font-size:clamp(26px,3.4vw,40px);margin:8px 0 10px;font-weight:800}.ps-hd2 p{margin:0;color:#64748b;font-size:17px}.ps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.ps-grid.two{grid-template-columns:repeat(2,1fr)}.ps-fc{background:#fff;border:1px solid #e5e9f2;border-radius:16px;padding:24px}.ps-fc i{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#eff4ff;font-style:normal;font-size:22px;margin-bottom:14px}.ps-fc h3{font-size:18px;margin-bottom:6px}.ps-fc p{margin:0;color:#64748b;font-size:15px}.ps-pro{display:inline-block;background:#f97316;color:#fff;border-radius:5px;font-size:10px;font-weight:800;letter-spacing:.05em;padding:1px 6px;margin-left:6px;vertical-align:2px}.ps-steps{counter-reset:s}.ps-st{background:#fff;border:1px solid #e5e9f2;border-radius:16px;padding:26px}.ps-st b{display:block;color:#0a3df0;font-size:34px;font-weight:800;margin-bottom:6px}.ps-st h3{font-size:19px;margin-bottom:6px}.ps-st p{margin:0;color:#64748b}.ps-try{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.ps-try ol{margin:18px 0 24px;padding-left:20px;color:#334155}.ps-try li{margin-bottom:8px}.ps-try .ps-card{padding:22px}.ps-win{border:1px solid #dbe3f3;border-radius:14px;overflow:hidden;background:#fff}.ps-win>div{background:#0b1437;padding:10px 14px;display:flex;gap:6px}.ps-win>div i{width:10px;height:10px;border-radius:50%;background:#475a99}.ps-win p{margin:0;padding:22px;font-weight:700;font-size:18px;color:#0b1437}.ps-win p small{display:block;font-weight:500;color:#64748b;font-size:14px;margin-top:4px}.ps-cta2{background:#0a3df0;color:#fff;text-align:center;padding:72px 20px}.ps-cta2 h2{color:#fff;font-size:clamp(26px,3.4vw,40px);font-weight:800;margin-bottom:12px}.ps-cta2 p{margin:0 auto 26px;max-width:620px;opacity:.9}.ps-cta2 .ps-cta{justify-content:center}.ps-cta2 .ps-btn{background:#fff;color:#0a3df0!important;border-color:#fff}.ps-cta2 .ps-btn.or{background:#f97316;color:#fff!important;border-color:#f97316}.ps-pg{padding:56px 0 72px}.ps-pg h1{font-size:clamp(30px,4vw,44px);font-weight:800;margin-bottom:14px}.ps-pg p,.ps-pg li{color:#475569}.ps-pg h2{font-size:24px;margin:30px 0 10px}.ps-pg .ps-grid{margin-top:26px}.ps-bill{display:inline-flex;background:#eef2ff;border-radius:999px;padding:4px;margin:6px 0 28px}.ps-bill button{border:0;background:transparent;border-radius:999px;padding:8px 20px;font-family:inherit;font-weight:700;font-size:14px;cursor:pointer;color:#475569}html:not(.ps-monthly) .ps-bill button[data-ps-bill=a],html.ps-monthly .ps-bill button[data-ps-bill=m]{background:#0a3df0;color:#fff}.ps-plan{background:#fff;border:1px solid #e5e9f2;border-radius:16px;padding:26px;display:flex;flex-direction:column;gap:6px}.ps-plan.hot{border:2px solid #0a3df0}.ps-plan h3{font-size:20px}.ps-price{font-size:38px;font-weight:800;color:#0b1437}.ps-price small{font-size:15px;color:#64748b;font-weight:500}.ps-plan .m{display:none}html.ps-monthly .ps-plan .m{display:inline}html.ps-monthly .ps-plan .a{display:none}.ps-plan ul{margin:10px 0 0;padding-left:18px;color:#475569;font-size:14.5px}.ps-ft{background:#0b1437;color:#cbd5e1;padding:60px 0 0;font-size:15px}.ps-ft a:hover{color:#fff}.ps-ft-g{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:32px}.ps-ft img{height:40px;width:auto;margin-bottom:14px}.ps-ft h4{color:#fff;margin:0 0 12px;font-size:15px}.ps-ft ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.ps-soc{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.ps-soc a{border:1px solid #33427d;border-radius:8px;padding:4px 10px;font-size:13px}.ps-ft-b{border-top:1px solid #1e2b5e;margin-top:40px;padding:18px 0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:14px}@media (max-width:900px){.ps-hd .ps-in{height:66px}.ps-logo img{height:48px}.ps-burger{display:block}.ps-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid #e5e9f2;flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 18px;max-height:calc(100vh - 110px);overflow:auto}html.ps-menu-open .ps-nav{display:flex}.ps-nav>a,.ps-dd>a{padding:12px 0;border-bottom:1px solid #f1f5f9}.ps-dd{padding:0}.ps-sub{display:block;position:static;border:0;box-shadow:none;padding:0 0 0 12px;min-width:0}.ps-nav .ps-btn{margin-top:12px;text-align:center}.ps-hero{padding:40px 0 48px}.ps-hero-grid,.ps-try{grid-template-columns:1fr;gap:30px}.ps-grid{grid-template-columns:1fr 1fr}.ps-ft-g{grid-template-columns:1fr 1fr}.ps-ft-g>div:first-child{grid-column:1/-1}.ps-sec{padding:52px 0}}@media (max-width:600px){.ps-grid,.ps-grid.two{grid-template-columns:1fr}.ps-cta .ps-btn{flex:1;text-align:center}.ps-promo{font-size:13px}}.ps-vis{position:relative;min-height:440px}.ps-stage{position:absolute;inset:0;background:#0b1850 url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='2' cy='2' r='1.3' fill='%23ffffff' fill-opacity='.16'/%3E%3C/svg%3E\");border-radius:24px;overflow:hidden;box-shadow:0 24px 60px rgba(11,24,80,.3)}.ps-ring{position:absolute;border-radius:50%;border:2px solid rgba(255,255,255,.14)}.ps-ring.r1{width:70%;aspect-ratio:1;right:-22%;top:-18%}.ps-ring.r2{width:46%;aspect-ratio:1;left:-14%;bottom:-14%;border-color:rgba(249,115,22,.55)}.ps-sites{position:absolute;inset:0}.ps-site{position:absolute;width:60%;background:#fff;border-radius:12px;box-shadow:0 14px 34px rgba(8,20,70,.35);overflow:hidden;display:block;transition:transform .25s}.ps-site:hover{transform:translateY(-4px) rotate(0)!important;z-index:5}.ps-site.s1{left:5%;top:17%;transform:rotate(-3deg)}.ps-site.s2{right:5%;top:34%;transform:rotate(2deg)}.ps-site.s3{left:12%;bottom:12%;transform:rotate(-1deg)}.ps-bar{display:flex;align-items:center;gap:4px;background:#eef2ff;padding:6px 8px}.ps-bar i{width:7px;height:7px;border-radius:50%;background:#c3cde8}.ps-bar em{font-style:normal;font-size:10px;line-height:1;color:#64748b;margin-left:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ps-mk{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:8px}.ps-mk b{grid-column:1/-1;height:34px;border-radius:6px;background:#dbe5ff}.ps-mk u{grid-column:1/-1;height:6px;border-radius:3px;background:#e2e8f0;width:70%}.ps-mk u+u{width:45%}.ps-mk s{height:18px;border-radius:5px;background:#f1f5f9}.ps-site.s2 .ps-mk b{background:#ffe3cc}.ps-site.s3 .ps-mk b{background:#c8d2ee}.ps-site>span{display:block;padding:0 10px 8px;font-weight:800;font-size:13px;color:#0b1437}.ps-glass{position:absolute;z-index:7;display:flex;align-items:center;gap:8px;padding:10px 18px;border-radius:16px;font-weight:700;font-size:14px;line-height:1.2;color:#fff;white-space:nowrap;background:rgba(14,32,132,.4);border:1px solid rgba(255,255,255,.55);-webkit-backdrop-filter:blur(14px) saturate(1.5);backdrop-filter:blur(14px) saturate(1.5);box-shadow:0 8px 28px rgba(5,15,70,.25),inset 0 1px 0 rgba(255,255,255,.65);text-shadow:0 1px 2px rgba(0,0,0,.3);pointer-events:none}.ps-glass.g1{left:4%;top:5%;transform:rotate(-7deg)}.ps-glass.g2{right:4%;top:60%}.ps-glass.g3{left:5%;bottom:4%;transform:rotate(5deg)}.ps-glass.g4{right:4%;bottom:4%;font-size:12px;padding:8px 14px}.ps-plan.sp2{grid-column:span 2}@media (max-width:900px){.ps-vis{min-height:0;height:400px}.ps-hero-grid{gap:30px}.ps-plan.sp2{grid-column:auto}}@media (max-width:600px){.ps-vis{height:360px}.ps-site{width:66%}.ps-glass{font-size:12px;padding:7px 12px;border-radius:13px}.ps-glass.g4{display:none}.ps-glass.g0{font-size:12px;padding:8px 16px}.ps-hero h1{font-size:clamp(28px,8.4vw,40px)}}@media (max-width:360px){.ps-glass{font-size:11px;padding:6px 10px}.ps-glass.g4{display:none}.ps-site{width:70%}}.ps-glass.g0{right:4%;top:5%;transform:rotate(-2deg);background:#f97316;border:0;border-radius:999px;padding:10px 22px;letter-spacing:.04em;text-transform:uppercase;font-size:13px;text-shadow:none;box-shadow:0 8px 22px rgba(249,115,22,.45)}.ps-pro.fr{background:#16a34a}.ps-stats{background:#0b1437;color:#fff;padding:34px 0}.ps-stats .ps-in{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;text-align:center}.ps-stats b{display:block;font-size:38px;font-weight:800;color:#f97316;line-height:1.1}.ps-stats span{font-size:14px;color:#cbd5e1}.ps-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.ps-flow>div{background:#fff;border:1px solid #dbe3f3;border-radius:16px;padding:22px}.ps-flow b{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#0a3df0;color:#fff;margin-bottom:10px}.ps-flow h3{margin:0 0 6px;font-size:18px}.ps-flow p{margin:0;color:#64748b;font-size:15px}.ps-badges{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.ps-badges span{background:#fff;border:1px solid #cfdcff;color:#0a3df0;font-weight:700;border-radius:999px;padding:7px 16px;font-size:14px}.ps-note{text-align:center;color:#64748b;max-width:720px;margin:22px auto 0;font-size:15px}.ps-vc h3{font-size:17px;margin:12px 0 4px}.ps-vc p{margin:0;color:#64748b;font-size:14.5px}.ps-vid{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;border-radius:14px;overflow:hidden;background:#0b1437;cursor:pointer}.ps-vid img,.ps-vid iframe{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0}.ps-vid i{position:absolute;left:50%;top:50%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:50%;background:#f97316;color:#fff;display:grid;place-items:center;font-style:normal;font-size:20px;box-shadow:0 6px 18px rgba(0,0,0,.35)}.ps-grid.vg{grid-template-columns:1fr 1fr}.ps-faq{max-width:760px;margin:0 auto;display:grid;gap:10px}.ps-faq details{background:#fff;border:1px solid #dbe3f3;border-radius:12px;padding:14px 18px}.ps-faq summary{cursor:pointer;font-weight:700;color:#0b1437}.ps-faq p{margin:10px 0 0;color:#475569}.ps-tw{overflow-x:auto;border:1px solid #dbe3f3;border-radius:14px;background:#fff}.ps-tb{width:100%;border-collapse:collapse;font-size:15px}.ps-tb th,.ps-tb td{padding:11px 16px;text-align:left;border-bottom:1px solid #eef2f7}.ps-tb th:not(:first-child),.ps-tb td:not(:first-child){text-align:center;width:70px}.ps-tb th{background:#f1f5ff;color:#0b1437}.ps-tb td:nth-child(2),.ps-tb td:nth-child(3){color:#16a34a;font-weight:800}@media (max-width:900px){.ps-flow{grid-template-columns:1fr 1fr}.ps-stats .ps-in{grid-template-columns:1fr 1fr}}@media (max-width:600px){.ps-flow,.ps-grid.vg{grid-template-columns:1fr}}@media (max-width:600px){.ps-glass.g1{left:3%;top:21%}.ps-glass.g2{top:58%;right:3%}.ps-glass.g3{left:3%;bottom:4%}.ps-glass.g0{right:3%;top:4%}}"},{"step":"writeFile","path":"/wordpress/wp-content/mu-plugins/qfd/template.php","data":"<?php\ndefined( 'ABSPATH' ) || exit;\n$u = untrailingslashit( home_url() );\n$l = function ( $p ) use ( $u ) { return esc_url( $u . $p ); };\n$logo = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAB4CAMAAADrAVSlAAABgFBMVEXsXQ8AmODoHBoAYt7slQb0kxHwGzL3nxIDo/UBVuYCY/P2IjL1Yh3zZxjwlAwFs+74XyUAMeIAj++kTgAABxoDwfj1B0IbDRUAAGYAN6UAtLS/gAAAar8A//8AxPVVKwCZMwC/AED9LDXfAEf0EUH//wAAAAADAwMAAAAAAAEBAQEBAQEAAAABAQH5AUYASvr5pwoBV/f6lw4Bl/cAuPcBh/YBePcAaPj7iBMBpfb6dxX6Fzf+AAAAAP/7aBn7ViL8Ryf8Nyn7KDH4CDz6WhwAAICAAAD8ZiIARewCwvkCSfP0AkYAV+30AEqvAAD2hgTrmQYANc3Tlwb5SB0EafUAeeoAi/IBk+wAuPDtADDtAUTxAUjxAknvqA72shAAAEQAQ9UASfIBSfACSPIAVewDZuoAgIABifAAmOsAqOyAgADWACjqpQkAAKoAQL8ARe8AVaoAWc8BVPQAZfABZfUCavEAee0CdfIAiPMAhO0BnPIBpOoAtugAufH2AEX5E0N/JV1yAAAAgHRSTlMfGBgcIapa0M9eoKSfXl6W2QpTB1XXjwwFGAMGDAFKEgUE3m/NAQD7MU/OrnCS+/v6+vr7+vv7+/v7/PsBAfv7+/v7+/wCAvgv99HPEC0DCy0JEPzPOXCNLgxIb7aS9QQRT5CxaC0Cjw9QAgpVAwQNAw/VT3atVNUPrKtwGUkT/PkuiSoAAA9OSURBVHja7Z2He9NGG8DjOJOQAXT320O+mZCQCXIwwyFAIINRdoEyyoZSoKWl/dd7S7LG3UmKsbGTe5+HEVvRSffTveveO/V4TjpKelwXOCBOHBAHxIkD4oA4cUAcECcOiAPixAFx4oA4IE4cE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C05cBBKYDQNsFDUYoTpWDZak4DOrCLBS2JGrek/qGoYIPdmK4pwZC1Fwi/UdNKdQbBCfWUiVnOndXpqIwnCqNP2o/ZtsKfAD/cGwD56/tcsF6KbV9N5H+cqiIbDcQVQX4iyEVIjhOs4IqlDXHtEZX0PQ8Gg4sDFJzAkwkogJ2lIxQQvQxLXe1DviISaaWEkTxMENP572rExOCRzM1H9iuPH/uFnU+dmt/DFVazw4IMWKgPoL2qhK72hCImldAVZ5qBAQq1dSiOtD8o2C76Rx4OjgCr6AFtlXaCuHAvtguCJn2A7l78UAoVB8k6xq1FgAheSAE8yXxeOa1caalj7iRS6b6IXgr6hwqd45qIFSmYwhzVQnk9WtrRAyQMwfk4KVKiNpQyhsUEzPqywfCRMNa48jGQEDn69Zvj4EN1GU498uTEBIYHCUdTKsslDG9IXXWT01E9kT0e2XOnQ05G/rmpe3tqXM0x+YXR8NLtUAwzIjG3GAOKktZcaotv2rdoP8pLhmvdT839p7hfFvwunhwBviI2WFLSEFqqdJk4ChTDv0SbUvgaMp0d0V5vfD2RGXT9Zt+1HqDSOTy4NkbdXxvSPBL2HUNsZst9DttQOtT+Ej5pBT1GOyEp8ETmCxiPEjtBD4xoegkM3xNiTm38FKO0Xkm+twMv7G76utB1296fH5+DGsGH8h+iNzU/ZCzy8vJ8++HdN5x/7u2Bu20Tp0Q4YxMtK95I7LdVL8PVgxnkW1+S7nJe/dfBiGCPjIJwuTpTt7nwn0v3LKXmK/rncELggXXJX4Mx53HX1Nxqop+wcx0OjGbshzUF9zXEcNaKpAKpJYKpAKppQKppQKpQGqpQCqQWiqQCqSWCqQCqaUCqaUCqUBqqUAqkFoqkAqklhHLn0SCCKNWXkJCAAAAAElFTkSuQmCC';\n?><!doctype html>\n<html <?php language_attributes(); ?>>\n<head>\n<meta charset=\"<?php bloginfo( 'charset' ); ?>\">\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<link rel=\"icon\" href=\"https://plugesoft.com/wp-content/uploads/2025/02/Plugesoft-fav-icon-300x300.png\">\n<?php wp_head(); ?>\n</head>\n<body class=\"ps\">\n<?php wp_body_open(); ?>\n<div class=\"ps-promo\"><span>Every click on this site is powered by <b>QuicklyFly</b></span><button data-qfd-open>Try it</button></div>\n<header class=\"ps-hd\"><div class=\"ps-in\">\n<a class=\"ps-logo\" href=\"<?php echo $l( '/' ); ?>\"><img src=\"<?php echo $logo; ?>\" alt=\"Plugesoft\" width=\"400\" height=\"120\"></a>\n<button class=\"ps-burger\" data-ps-menu aria-label=\"Menu\"><span></span></button>\n<nav class=\"ps-nav\">\n<a href=\"<?php echo $l( '/' ); ?>\">Home</a>\n<div class=\"ps-dd\"><a href=\"<?php echo $l( '/quicklyfly/' ); ?>\">QuicklyFly ▾</a><div class=\"ps-sub\">\n<a href=\"<?php echo $l( '/quicklyfly/' ); ?>\">Overview</a><a href=\"<?php echo $l( '/docs/' ); ?>\">Documentation</a><a href=\"<?php echo $l( '/pricing/' ); ?>\">Free vs Pro</a></div></div>\n<a href=\"<?php echo $l( '/videos/' ); ?>\">Videos</a>\n<a href=\"<?php echo $l( '/plugetune/' ); ?>\">PlugeTune</a>\n<a href=\"<?php echo $l( '/about/' ); ?>\">About</a>\n<a class=\"ps-btn\" href=\"<?php echo $l( '/quicklyfly/' ); ?>\">See more</a>\n</nav></div></header>\n<main id=\"content\">\n<?php\nif ( have_posts() ) {\nwhile ( have_posts() ) {\nthe_post();\nthe_content();\n}\n} else {\necho '<section class=\"ps-pg\"><div class=\"ps-in\"><h1>Page not found</h1><p><a href=\"' . $l( '/' ) . '\">Back to the home page</a></p></div></section>';\n}\n?>\n</main>\n<footer class=\"ps-ft\"><div class=\"ps-in\">\n<div class=\"ps-ft-g\">\n<div><img src=\"<?php echo $logow; ?>\" alt=\"Plugesoft\" width=\"400\" height=\"120\"><p>We build simple, powerful WordPress plugins that simplify your workflow and save valuable time.</p></div>\n<div><h4>QuicklyFly</h4><ul><li><a href=\"<?php echo $l( '/quicklyfly/' ); ?>\">Overview</a></li><li><a href=\"<?php echo $l( '/docs/' ); ?>\">Documentation</a></li><li><a href=\"<?php echo $l( '/pricing/' ); ?>\">Free vs Pro</a></li><li><a href=\"<?php echo $l( '/videos/' ); ?>\">Video library</a></li></ul></div>\n<div><h4>Company</h4><ul><li><a href=\"<?php echo $l( '/plugetune/' ); ?>\">PlugeTune</a></li><li><a href=\"<?php echo $l( '/about/' ); ?>\">About us</a></li><li><a href=\"<?php echo $l( '/contact/' ); ?>\">Contact</a></li></ul></div>\n<div><h4>Try it</h4><ul><li><a href=\"<?php echo $l( '/long-page/' ); ?>\">Long page (scroll test)</a></li><li><a href=\"<?php echo $l( '/members/' ); ?>\">Members area</a></li><li><a href=\"<?php echo $l( '/normal-load/' ); ?>\">Always loads normally</a></li></ul></div>\n</div>\n<div class=\"ps-ft-b\"><span>© 2026 Plugesoft. All rights reserved.</span><span>Demo site powered by QuicklyFly</span></div>\n</div></footer>\n<?php wp_footer(); ?>\n</body>\n</html>\n"},{"step":"runPHP","code":"<?php\nrequire '/wordpress/wp-load.php';\n\nfunction qfd_page( $slug, $title, $html, $excerpt, $meta = array() ) {\n$id = wp_insert_post( array( 'post_type' => 'page', 'post_status' => 'publish', 'post_name' => $slug, 'post_title' => $title, 'post_content' => $html, 'post_excerpt' => $excerpt ) );\nforeach ( $meta as $k => $v ) { update_post_meta( $id, $k, $v ); }\nreturn $id;\n}\nfunction qfd_wrap( $h1, $body ) { return '<section class=\"ps-pg\"><div class=\"ps-in\"><h1>' . $h1 . '</h1>' . $body . '</div></section>'; }\nfunction qfd_sec( $eyebrow, $h2, $p, $body, $cls = '' ) { return '<section class=\"ps-sec ' . $cls . '\"><div class=\"ps-in\"><div class=\"ps-hd2\"><span>' . $eyebrow . '</span><h2>' . $h2 . '</h2><p>' . $p . '</p></div>' . $body . '</div></section>'; }\nfunction qfd_card( $icon, $t, $p, $tag = '' ) { return '<div class=\"ps-fc\"><i>' . $icon . '</i><h3>' . $t . ( $tag ? '<span class=\"ps-pro' . ( 'FREE' === $tag ? ' fr' : '' ) . '\">' . $tag . '</span>' : '' ) . '</h3><p>' . $p . '</p></div>'; }\nfunction qfd_vid( $id, $t, $d ) { return '<div class=\"ps-vc\"><button class=\"ps-vid\" data-yt=\"' . $id . '\" aria-label=\"Play: ' . $t . '\"><img loading=\"lazy\" src=\"https://i.ytimg.com/vi/' . $id . '/hqdefault.jpg\" alt=\"\" width=\"480\" height=\"360\"><i>▶</i></button><h3>' . $t . '</h3><p>' . $d . '</p></div>'; }\nfunction qfd_faq( $q, $a ) { return '<details><summary>' . $q . '</summary><p>' . $a . '</p></details>'; }\nfunction qfd_table( $rows ) {\n$o = '<div class=\"ps-tw\"><table class=\"ps-tb\"><thead><tr><th>Feature</th><th>Free</th><th>Pro</th></tr></thead><tbody>';\nforeach ( $rows as $r ) { $o .= '<tr><td>' . $r[0] . '</td><td>' . $r[1] . '</td><td>' . $r[2] . '</td></tr>'; }\nreturn $o . '</tbody></table></div>';\n}\n$Y = '✓'; $N = '–';\n$VIDS = array(\narray( 'dX8396ZmSPk', 'Web Development with HTML &amp; CSS', 'Full course for beginners: build responsive pages from scratch.' ),\narray( 'mT_Jjn8RJdo', 'Learn Figma for UI/UX Design', 'Design clean interfaces and turn them into real websites.' ),\narray( 'r895rFUbGtE', 'Build and Deploy an AI SaaS', 'A complete SaaS build with paid subscriptions.' ),\narray( 'mU6anWqZJcc', 'HTML &amp; CSS Full Course', 'A long, hands-on course for modern web design.' ),\n);\n$vids = function ( $n ) use ( $VIDS ) { $o = ''; foreach ( array_slice( $VIDS, 0, $n ) as $v ) { $o .= qfd_vid( $v[0], $v[1], $v[2] ); } return '<div class=\"ps-grid' . ( 3 === $n ? '' : ' vg' ) . '\">' . $o . '</div>'; };\n\nforeach ( array( 1, 2 ) as $d ) { wp_delete_post( $d, true ); }\nupdate_option( 'blogname', 'Plugesoft' );\nupdate_option( 'blogdescription', 'Innovation Made Easier' );\nupdate_option( 'permalink_structure', '/%postname%/' );\nupdate_option( 'default_comment_status', 'closed' );\n\n$site = function ( $c, $h, $label, $url ) { return '<a class=\"ps-site ' . $c . '\" href=\"{{u}}' . $h . '\"><div class=\"ps-bar\"><i></i><i></i><i></i><em>' . $url . '</em></div><div class=\"ps-mk\"><b></b><u></u><u></u><s></s><s></s><s></s></div><span>' . $label . '</span></a>'; };\n$UL = '<svg viewBox=\"0 0 200 12\" preserveAspectRatio=\"none\" aria-hidden=\"true\"><path d=\"M2 8 Q100 -2 198 8\" fill=\"none\" stroke=\"#f97316\" stroke-width=\"4\" stroke-linecap=\"round\"/></svg>';\n\n$home = '<section class=\"ps-hero\"><div class=\"ps-in ps-hero-grid\"><div>'\n. '<span class=\"ps-eye\">NO CODE REQUIRED</span>'\n. '<h1>Make Your WordPress Site Feel <span class=\"ps-hl\">INSTANT' . $UL . '</span></h1>'\n. '<p class=\"ps-lead\">QuicklyFly prepares the next page before visitors arrive and switches pages without a full reload, so people explore your site faster and more smoothly.</p>'\n. '<div class=\"ps-tags\"><span>WordPress</span><span>Elementor</span><span>WooCommerce</span><span>Gutenberg</span></div>'\n. '<div class=\"ps-cta\"><a class=\"ps-btn\" href=\"{{u}}/quicklyfly/\">See more</a><button class=\"ps-btn ghost\" data-qfd-open>⚡ Try the Live Demo</button></div></div>'\n. '<div class=\"ps-vis\"><div class=\"ps-stage\"><span class=\"ps-ring r1\"></span><span class=\"ps-ring r2\"></span><div class=\"ps-sites\">'\n. $site( 's1', '/quicklyfly/', 'QuicklyFly', 'plugesoft.com/quicklyfly' ) . $site( 's2', '/videos/', 'Video library', 'plugesoft.com/videos' ) . $site( 's3', '/docs/', 'Documentation', 'plugesoft.com/docs' )\n. '</div><span class=\"ps-glass g0\">⚡ Instant Page Switching</span><span class=\"ps-glass g1\">Faster Browsing</span><span class=\"ps-glass g2\">↩ Back button works</span><span class=\"ps-glass g3\">Preload on hover</span><span class=\"ps-glass g4\">Tap a site to open it instantly</span></div></div>'\n. '</div></section>';\n$home .= '<section class=\"ps-stats\"><div class=\"ps-in\"><div><b>3</b><span>Preload modes</span></div><div><b>4</b><span>Page transitions</span></div><div><b>8</b><span>Loader styles</span></div><div><b>3</b><span>Quick presets</span></div></div></section>';\n$home .= qfd_sec( 'HOW IT WORKS', 'From click to next page, without the wait', 'QuicklyFly focuses on the journey between pages and works alongside your cache and CDN.',\n'<div class=\"ps-flow\"><div><b>1</b><h3>Prepare</h3><p>Links are preloaded on hover, in view, or on press.</p></div><div><b>2</b><h3>Switch</h3><p>The page content is swapped in place. No full reload.</p></div><div><b>3</b><h3>Keep it familiar</h3><p>Address bar, Back button and scroll position keep working.</p></div><div><b>4</b><h3>Stay safe</h3><p>Anything risky loads normally, so nothing breaks.</p></div></div>' );\n$home .= qfd_sec( 'FEATURES', 'Everything you need, in one plugin', 'Free covers the essentials. Pro adds control and advanced navigation.',\n'<div class=\"ps-grid\">' . qfd_card( '⚡', 'Instant page switching', 'Same-site pages open without a conventional reload.', 'FREE' ) . qfd_card( '🔮', 'Smart prefetching', 'Hover, viewport and press-to-start options.', 'FREE' ) . qfd_card( '🗂️', 'Page memory', 'Recently loaded pages stay in a short-lived in-memory cache.', 'FREE' )\n. qfd_card( '⏳', 'Loaders and progress bar', 'Spinner styles, a progress bar, or none, with live preview.', 'FREE' ) . qfd_card( '🔎', 'SEO tags in sync', 'Canonical, description, Open Graph and structured data update on every page.', 'FREE' ) . qfd_card( '🛡️', 'Safe fallbacks', 'Carts, checkout, logins, files and nonce links load normally.', 'FREE' )\n. qfd_card( '🧠', 'Predictive prefetch', 'Learns likely next pages in the visitor\\'s own browser.', 'PRO' ) . qfd_card( '🎞️', 'Slide and scale transitions', 'Plus extra loaders, loader text and your own GIF.', 'PRO' ) . qfd_card( '🎵', 'Persistent players', 'Audio and video keep playing while visitors change pages.', 'PRO' ) . '</div>', 'alt' );\n$home .= qfd_sec( 'QUICK SETUP', 'Pick a preset, or tune every detail', 'Presets set preloading, delay and page memory in one click. Try them in the demo panel.',\n'<div class=\"ps-grid\"><div class=\"ps-fc\"><h3>Balanced</h3><p>Preload on hover, press-to-start, one minute of page memory.</p></div><div class=\"ps-fc\"><h3>Fastest</h3><p>Preload links as they appear, five minutes of page memory.</p></div><div class=\"ps-fc\"><h3>Safest</h3><p>No preloading, no page memory. Pages switch only on click.</p></div></div>' );\n$home .= qfd_sec( 'COMPATIBILITY', 'Built to work with your stack', 'Elementor and WooCommerce integrations are included.',\n'<div class=\"ps-badges\"><span>Elementor</span><span>WooCommerce</span><span>Gutenberg</span><span>Block themes</span><span>Classic themes</span><span>Any page cache</span><span>Any CDN</span></div><p class=\"ps-note\">Always loads normally: WordPress admin, login, REST API, feeds, files, links with action or nonce parameters, and WooCommerce cart, checkout and account.</p>', 'alt' );\n$home .= qfd_sec( 'MEDIA', 'Videos and audio that keep playing', 'Pro can carry players across page changes. Here is a small library of free educational videos about web design and SaaS.', $vids( 3 ) . '<p style=\"text-align:center;margin-top:26px\"><a class=\"ps-btn ghost\" href=\"{{u}}/videos/\">See more videos</a></p>' );\n$home .= '<section class=\"ps-sec alt\" id=\"demo\"><div class=\"ps-in ps-try\"><div><div class=\"ps-hd2\" style=\"text-align:left;margin:0\"><span>LIVE DEMO</span><h2>You are already using it</h2><p>This whole site runs QuicklyFly. Try it, then switch it off and feel the difference.</p></div>'\n. '<ol><li>Click <a href=\"{{u}}/quicklyfly/\"><b>QuicklyFly</b></a>, then <a href=\"{{u}}/docs/\"><b>Documentation</b></a>. No reload, no white flash.</li><li>Open the demo panel and switch QuicklyFly off. Click the same links again.</li><li>Turn on <b>Slow server</b> to watch the loader and progress bar.</li><li>Open the <b>Free</b> and <b>Pro</b> tabs to try every feature.</li></ol><button class=\"ps-btn or\" data-qfd-open>⚡ Open the demo panel</button></div>'\n. '<div class=\"ps-card\"><div class=\"ps-win\"><div><i></i><i></i><i></i></div><p>Documentation<small>Opened without a reload</small></p></div></div></div></section>';\n$home .= qfd_sec( 'FAQ', 'Common questions', '',\n'<div class=\"ps-faq\">' . qfd_faq( 'Does QuicklyFly replace my page cache or CDN?', 'No. It complements your existing setup and does not replace server-side caching, image optimization or a CDN.' ) . qfd_faq( 'What happens when a page cannot be switched safely?', 'QuicklyFly falls back to a normal browser page load.' ) . qfd_faq( 'Does predictive prefetching track visitors?', 'It is a Pro feature. The learning data stays in the visitor\\'s own browser and is not sent to your server.' ) . qfd_faq( 'A widget stops working after a page change.', 'Change the script option to All scripts in the Compatibility settings, or add data-quicklyfly=\"off\" to that link or container.' ) . '</div>' );\n$home .= '<section class=\"ps-cta2\"><h2>Make Your Site Feel Instant</h2><p>Free on WordPress.org, with Pro features when you need more control.</p><div class=\"ps-cta\"><a class=\"ps-btn or\" href=\"https://wordpress.org/plugins/quicklyfly/\" target=\"_blank\" rel=\"noopener\">▶ Download Free version</a><a class=\"ps-btn\" href=\"{{u}}/quicklyfly/\">See more</a></div></section>';\n$ids['home'] = qfd_page( 'home', 'Plugesoft – Instant page switching for WordPress', $home, 'QuicklyFly by Plugesoft opens WordPress pages instantly, without a full reload.' );\n\n$rows = array(\narray( 'Instant page switching', $Y, $Y ), array( 'Hover, viewport and press preloading', $Y, $Y ), array( 'In-memory page cache', $Y, $Y ), array( 'Fade transition and progress bar', $Y, $Y ), array( 'Three loader styles', $Y, $Y ),\narray( 'SEO tags kept in sync', $Y, $Y ), array( 'Path and query exclusions', $Y, $Y ), array( 'Quick presets, export and import', $Y, $Y ), array( 'Developer API', $Y, $Y ),\narray( 'Predictive prefetch', $N, $Y ), array( 'Slide and scale transitions', $N, $Y ), array( 'Five more loaders and custom loader image', $N, $Y ), array( 'Loader text and layout', $N, $Y ),\narray( 'Persistent audio and video players', $N, $Y ), array( 'Page-view events (GA, Matomo, data layer)', $N, $Y ), array( 'Speed report', $N, $Y ), array( 'Per-page “load normally”', $N, $Y ),\n);\n$ids['qf'] = qfd_page( 'quicklyfly', 'QuicklyFly', qfd_wrap( 'QuicklyFly – Instant Page Switching', '<p class=\"ps-lead\">Make every click feel instant. QuicklyFly prepares the next page before visitors arrive, so they explore your website faster and more smoothly.</p><div class=\"ps-cta\"><a class=\"ps-btn\" href=\"{{u}}/docs/\">See more</a><button class=\"ps-btn ghost\" data-qfd-open>⚡ Try the Live Demo</button></div><h2>Free and Pro at a glance</h2>' . qfd_table( $rows ) ), 'QuicklyFly: instant page switching for WordPress, Free and Pro.' );\n$ids['pricing'] = qfd_page( 'pricing', 'Free vs Pro', qfd_wrap( 'Free vs Pro', '<p class=\"ps-lead\">Free covers the essentials. Pro adds advanced navigation and control.</p>' . qfd_table( $rows ) . '<p style=\"margin-top:24px\"><a class=\"ps-btn\" href=\"https://wordpress.org/plugins/quicklyfly/\" target=\"_blank\" rel=\"noopener\">See more on WordPress.org</a></p>' ), 'QuicklyFly Free and Pro compared.' );\n$ids['docs'] = qfd_page( 'docs', 'Documentation', qfd_wrap( 'Documentation', '<p class=\"ps-lead\">The short version of how QuicklyFly works.</p><div class=\"ps-grid two\">'\n. '<div class=\"ps-fc\"><h3>Preloading</h3><p>Hover, viewport or press. Set the hover delay to balance speed and server load.</p></div><div class=\"ps-fc\"><h3>Page memory</h3><p>Keep recent pages in memory for a set time, so revisits are immediate.</p></div>'\n. '<div class=\"ps-fc\"><h3>Appearance</h3><p>Choose a transition and a loader, with a live preview in the settings.</p></div><div class=\"ps-fc\"><h3>Compatibility</h3><p>Exclude paths and query arguments, pick the script option, and use data-quicklyfly=\"off\" on any link.</p></div>'\n. '<div class=\"ps-fc\"><h3>Developer API</h3><p><code>quicklyfly.go( url )</code>, <code>quicklyfly.prefetch( url )</code> and <code>quicklyfly.clearCache()</code>.</p></div><div class=\"ps-fc\"><h3>Filters</h3><p>quicklyfly_excluded_paths, quicklyfly_should_run, quicklyfly_frontend_config and more.</p></div></div>' ), 'How QuicklyFly works and how to set it up.' );\n$ids['videos'] = qfd_page( 'videos', 'Video library', qfd_wrap( 'Video library', '<p class=\"ps-lead\">Free educational videos about web design and SaaS from freeCodeCamp.org, licensed CC BY. Press play, then change pages. In QuicklyFly Pro, audio and video players can keep playing across page changes; embedded iframes reload, as in any browser.</p>' . $vids( 4 ) ), 'Free educational web design and SaaS videos.' );\n$ids['pt'] = qfd_page( 'plugetune', 'PlugeTune', qfd_wrap( 'PlugeTune', '<p class=\"ps-lead\">Automate your YouTube-to-WordPress workflow. Import, organize and publish YouTube videos on a WordPress site.</p><div class=\"ps-grid\"><div class=\"ps-fc\"><h3>Schedule import</h3><p>One-time, daily, weekly or automatic.</p></div><div class=\"ps-fc\"><h3>Grid and slider</h3><p>Shortcodes, a Gutenberg block and an Elementor widget.</p></div><div class=\"ps-fc\"><h3>Popup playback</h3><p>A lightbox player for your videos.</p></div></div>' ), 'PlugeTune imports YouTube videos into WordPress.' );\n$ids['about'] = qfd_page( 'about', 'About', qfd_wrap( 'About Plugesoft', '<p class=\"ps-lead\">Plugesoft builds simple, powerful WordPress plugins that simplify your workflow and save valuable time. Innovation Made Easier.</p><p>This is a demo site. Nothing here is saved to a real server.</p>' ), 'About Plugesoft.' );\n$ids['contact'] = qfd_page( 'contact', 'Contact', qfd_wrap( 'Contact', '<p class=\"ps-lead\">Reach the Plugesoft team through plugesoft.com.</p>' ), 'Contact Plugesoft.' );\n\n$long = '<h2 style=\"margin-top:0\">Scroll down, open the link at the bottom, then press Back. QuicklyFly returns you to where you were.</h2>';\nfor ( $i = 1; $i <= 24; $i++ ) { $long .= \"<h3 style=\\\"margin-top:22px\\\">Section $i</h3><p>Fast sites are built from small decisions: fewer round trips, less work on the main thread and pages that are ready before they are asked for. QuicklyFly takes care of the last mile, the moment between a click and the next page.</p>\"; }\n$long .= '<p><a class=\"ps-btn\" href=\"{{u}}/pricing/\">See more</a></p>';\n$ids['long'] = qfd_page( 'long-page', 'Long page', qfd_wrap( 'A long page', $long ), 'A long page for testing scroll restore.' );\n$ids['members'] = qfd_page( 'members', 'Members area', qfd_wrap( 'Members area', '<p class=\"ps-lead\">This path is excluded in the QuicklyFly settings, so it always opens with a normal full page load. Useful for logins, carts and member areas.</p>' ), 'Excluded by path: always a normal page load.' );\n$ids['normal'] = qfd_page( 'normal-load', 'Always loads normally', qfd_wrap( 'Always loads normally', '<p class=\"ps-lead\">In QuicklyFly Pro, a page can opt out from its editor. This page did, so it opens with a full reload. In Free, it opens like any other page.</p>' ), 'A page that opts out of instant switching (Pro).', array( '_quicklyfly_off' => '1' ) );\n\nupdate_option( 'show_on_front', 'page' );\nupdate_option( 'page_on_front', $ids['home'] );\nupdate_option( 'page_for_posts', 0 );\nif ( class_exists( 'QuicklyFly_Settings' ) ) {\nupdate_option( 'quicklyfly_settings', ( new QuicklyFly_Settings() )->sanitize( qfd_defaults() ) );\n} else {\nupdate_option( 'quicklyfly_settings', qfd_defaults() );\n}\nflush_rewrite_rules( true );\n"}]}
Note: See TracChangeset for help on using the changeset viewer.