.ad-examples-widget{max-width:100%;margin:0 auto}.ad-examples-filter{display:flex;gap:10px;margin-bottom:30px;flex-wrap:wrap;justify-content:flex-start}.filter-btn{padding:12px 24px;background:#fff0;border:2px solid #e0e0e0;border-radius:25px;cursor:pointer;font-size:14px;font-weight:500;color:#666;transition:all 0.3s ease;text-decoration:none}.filter-btn:hover,.filter-btn.active{background:#007cba;border-color:#007cba;color:#fff}.ad-examples-grid{display:grid;gap:30px;margin-top:20px}.ad-examples-grid.columns-1{grid-template-columns:1fr}.ad-examples-grid.columns-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.ad-examples-grid.columns-3{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.ad-examples-grid.columns-4{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.ad-example-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px rgb(0 0 0 / .1);transition:transform 0.3s ease,box-shadow 0.3s ease;display:flex;flex-direction:column;height:100%}.ad-example-card:hover{transform:translateY(-5px);box-shadow:0 8px 30px rgb(0 0 0 / .15)}.ad-example-image{position:relative;overflow:hidden;height:200px}.ad-example-image img{width:100%;height:100%;object-fit:cover;transition:transform 0.3s ease}.ad-example-card:hover .ad-example-image img{transform:scale(1.05)}.ad-example-content{padding:20px;display:flex;flex-direction:column;flex-grow:1}.ad-example-title{font-size:18px;font-weight:600;color:#333;margin:0 0 12px 0;line-height:1.4}.ad-example-description{color:#666;font-size:14px;line-height:1.6;margin-bottom:20px;flex-grow:1}.ad-example-description p{margin:0 0 10px 0}.ad-example-description p:last-child{margin-bottom:0}.ad-example-button{margin-top:auto}.btn{display:inline-block;padding:12px 24px;border-radius:25px;text-decoration:none;font-weight:500;font-size:14px;text-align:center;transition:all 0.3s ease;border:none;cursor:pointer}.btn-primary{background:#007cba;color:#fff}.btn-primary:hover{background:#005a87;transform:translateY(-2px);box-shadow:0 4px 15px rgb(0 124 186 / .3)}.ad-examples-grid.loading{opacity:.6;pointer-events:none}@media (max-width:768px){.ad-examples-filter{justify-content:flex-start;overflow-x:auto;padding-bottom:10px}.filter-btn{white-space:nowrap;flex-shrink:0}.ad-examples-grid{grid-template-columns:1fr;gap:20px}.ad-example-content{padding:15px}.ad-example-title{font-size:16px}}@media (max-width:480px){.filter-btn{padding:10px 18px;font-size:13px}.ad-example-image{height:180px}}html{line-height:1.15;-webkit-text-size-adjust:100%}*,:after,:before{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:400;line-height:1.5;color:#333;background-color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{margin-block-start:.5rem;margin-block-end:1rem;font-family:inherit;font-weight:500;line-height:1.2;color:inherit}h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.75rem}h4{font-size:1.5rem}h5{font-size:1.25rem}h6{font-size:1rem}p{margin-block-start:0;margin-block-end:.9rem}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em;white-space:pre-wrap}a{background-color:transparent;text-decoration:none;color:#c36}a:active,a:hover{color:#336}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}abbr[title]{border-block-end:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;height:auto;max-width:100%}details{display:block}summary{display:list-item}figcaption{font-size:16px;color:#333;line-height:1.4;font-style:italic;font-weight:400}[hidden],template{display:none}@media print{*,:after,:before{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre{white-space:pre-wrap!important}blockquote,pre{-moz-column-break-inside:avoid;break-inside:avoid;border:1px solid #ccc}thead{display:table-header-group}img,tr{-moz-column-break-inside:avoid;break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{-moz-column-break-after:avoid;break-after:avoid}}label{display:inline-block;line-height:1;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:1rem;line-height:1.5;margin:0}input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{width:100%;border:1px solid #666;border-radius:3px;padding:.5rem 1rem;transition:all .3s}input[type=date]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#333}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{width:auto;-webkit-appearance:button}[type=button],[type=submit],button{display:inline-block;font-weight:400;color:#c36;text-align:center;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;border:1px solid #c36;padding:.5rem 1rem;font-size:1rem;border-radius:3px;transition:all .3s}[type=button]:focus:not(:focus-visible),[type=submit]:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}[type=button]:focus,[type=button]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover{color:#fff;background-color:#c36;text-decoration:none}[type=button]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}select{display:block}table{background-color:transparent;width:100%;margin-block-end:15px;font-size:.9em;border-spacing:0;border-collapse:collapse}table td,table th{padding:15px;line-height:1.5;vertical-align:top;border:1px solid hsla(0,0%,50.2%,.5019607843)}table th{font-weight:700}table tfoot th,table thead th{font-size:1em}table caption+thead tr:first-child td,table caption+thead tr:first-child th,table colgroup+thead tr:first-child td,table colgroup+thead tr:first-child th,table thead:first-child tr:first-child td,table thead:first-child tr:first-child th{border-block-start:1px solid hsla(0,0%,50.2%,.5019607843)}table tbody>tr:nth-child(odd)>td,table tbody>tr:nth-child(odd)>th{background-color:hsla(0,0%,50.2%,.0705882353)}table tbody tr:hover>td,table tbody tr:hover>th{background-color:hsla(0,0%,50.2%,.1019607843)}table tbody+tbody{border-block-start:2px solid hsla(0,0%,50.2%,.5019607843)}@media (max-width:767px){table table{font-size:.8em}table table td,table table th{padding:7px;line-height:1.3}table table th{font-weight:400}}dd,dl,dt,li,ol,ul{margin-block-start:0;margin-block-end:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}.comments-area a,.page-content a{text-decoration:underline}.alignright{float:right;margin-left:1rem}.alignleft{float:left;margin-right:1rem}.aligncenter{clear:both;display:block;margin-inline:auto}.alignwide{margin-inline:-80px}.alignfull{margin-inline:calc(50% - 50vw);max-width:100vw}.alignfull,.alignfull img{width:100vw}.wp-caption{margin-block-end:1.25rem;max-width:100%}.wp-caption.alignleft{margin:5px 20px 20px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{display:block;margin-inline:auto}.wp-caption-text{margin:0}.gallery-caption{display:block;font-size:.8125rem;line-height:1.5;margin:0;padding:.75rem}.pagination{display:flex;justify-content:space-between;margin:20px auto}.sticky{position:relative;display:block}.bypostauthor{font-size:inherit}.hide{display:none!important}.post-password-form p{width:100%;display:flex;align-items:flex-end}.post-password-form [type=submit]{margin-inline-start:3px}.screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#eee;clip:auto!important;clip-path:none;color:#333;display:block;font-size:1rem;height:auto;left:5px;line-height:normal;padding:12px 24px;text-decoration:none;top:5px;width:auto;z-index:100000}.post .entry-title a{text-decoration:none}.post .wp-post-image{width:100%;max-height:500px;-o-object-fit:cover;object-fit:cover}@media (max-width:991px){.post .wp-post-image{max-height:400px}}@media (max-width:575px){.post .wp-post-image{max-height:300px}}#comments .comment-list{margin:0;padding:0;list-style:none;font-size:.9em}#comments .comment,#comments .pingback{position:relative}#comments .comment .comment-body,#comments .pingback .comment-body{display:flex;flex-direction:column;padding-block-start:30px;padding-block-end:30px;padding-inline-start:60px;padding-inline-end:0;border-block-end:1px solid #ccc}#comments .comment .avatar,#comments .pingback .avatar{position:absolute;left:0;border-radius:50%;margin-inline-end:10px}body.rtl #comments .comment .avatar,body.rtl #comments .pingback .avatar,html[dir=rtl] #comments .comment .avatar,html[dir=rtl] #comments .pingback .avatar{left:auto;right:0}#comments .comment-meta{display:flex;justify-content:space-between;margin-block-end:.9rem}#comments .comment-metadata,#comments .reply{font-size:11px;line-height:1}#comments .children{position:relative;list-style:none;margin:0;padding-inline-start:30px}#comments .children li:last-child{padding-block-end:0}#comments ol.comment-list .children:before{display:inline-block;font-size:1em;font-weight:400;line-height:100%;content:"↪";position:absolute;top:45px;left:0;width:auto}body.rtl #comments ol.comment-list .children:before,html[dir=rtl] #comments ol.comment-list .children:before{content:"↩";left:auto;right:0}@media (min-width:768px){#comments .comment-author,#comments .comment-metadata{line-height:1}}@media (max-width:767px){#comments .comment .comment-body{padding:30px 0}#comments .children{padding-inline-start:20px}#comments .comment .avatar{position:inherit;float:left}body.rtl #comments .comment .avatar,html[dir=rtl] #comments .comment .avatar{float:right}}.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{margin-inline-start:auto;margin-inline-end:auto;width:100%}@media (max-width:575px){.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{padding-inline-start:10px;padding-inline-end:10px}}@media (min-width:576px){.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{max-width:500px}.site-footer.footer-full-width .footer-inner,.site-header.header-full-width .header-inner{max-width:100%}}@media (min-width:768px){.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{max-width:600px}.site-footer.footer-full-width,.site-header.header-full-width{max-width:100%}}@media (min-width:992px){.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{max-width:800px}.site-footer.footer-full-width,.site-header.header-full-width{max-width:100%}}@media (min-width:1200px){.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main{max-width:1140px}.site-footer.footer-full-width,.site-header.header-full-width{max-width:100%}}.site-header+.elementor{min-height:calc(100vh - 320px)}.site-header{display:flex;flex-wrap:wrap;justify-content:space-between;padding-block-start:1rem;padding-block-end:1rem;position:relative}.site-header .site-title{font-size:2.5rem;font-weight:500;line-height:1.2}.site-header .site-branding{display:flex;flex-direction:column;justify-content:center;gap:.5rem}.site-header .header-inner{display:flex;flex-wrap:wrap;justify-content:space-between}.site-header .header-inner .custom-logo-link{display:block}.site-header .header-inner .site-branding .site-description,.site-header .header-inner .site-branding .site-title{margin:0}.site-header .header-inner .site-branding .site-logo img{display:block}.site-header .header-inner .site-branding.show-logo .site-title,.site-header .header-inner .site-branding.show-title .site-logo{display:none!important}.site-header.header-inverted .header-inner{flex-direction:row-reverse}.site-header.header-inverted .header-inner .site-branding{text-align:end}.site-header.header-stacked .header-inner{align-items:center;flex-direction:column;text-align:center}.site-footer{padding-block-start:1rem;padding-block-end:1rem;position:relative}.site-footer .site-title{font-size:1.5rem;font-weight:500;line-height:1.2}.site-footer .site-branding{display:flex;flex-direction:column;justify-content:center;gap:.5rem}.site-footer .footer-inner{display:flex;flex-wrap:wrap;justify-content:space-between}.site-footer .footer-inner .custom-logo-link{display:block}.site-footer .footer-inner .site-branding .site-description,.site-footer .footer-inner .site-branding .site-title{margin:0}.site-footer .footer-inner .site-branding .site-logo img{display:block}.site-footer .footer-inner .site-branding.show-logo .site-title,.site-footer .footer-inner .site-branding.show-title .site-logo{display:none!important}.site-footer .footer-inner .copyright{align-items:center;display:flex;justify-content:flex-end}.site-footer .footer-inner .copyright p{margin:0}.site-footer.footer-inverted .footer-inner{flex-direction:row-reverse}.site-footer.footer-inverted .footer-inner .site-branding{text-align:end}.site-footer.footer-stacked .footer-inner{align-items:center;flex-direction:column;text-align:center}.site-footer.footer-stacked .footer-inner .site-branding .site-title{text-align:center}.site-footer.footer-stacked .footer-inner .site-navigation .menu{padding:0}@media (max-width:576px){.site-footer:not(.footer-stacked) .footer-inner .copyright,.site-footer:not(.footer-stacked) .footer-inner .site-branding,.site-footer:not(.footer-stacked) .footer-inner .site-navigation{display:block;text-align:center;width:100%;max-width:none}.site-footer .footer-inner .site-navigation ul.menu{justify-content:center}.site-footer .footer-inner .site-navigation ul.menu li{display:inline-block}}.site-header.header-stacked .site-navigation-toggle-holder{justify-content:center;max-width:100%}.site-header.menu-layout-dropdown .site-navigation{display:none}.site-navigation-toggle-holder{display:flex;align-items:center;padding:8px 15px}.site-navigation-toggle-holder .site-navigation-toggle{display:flex;align-items:center;justify-content:center;padding:.5rem;cursor:pointer;border:0 solid;border-radius:3px;background-color:rgba(0,0,0,.05);color:#494c4f}.site-navigation-toggle-holder .site-navigation-toggle-icon{display:block;width:1.25rem}.site-navigation-toggle-holder .site-navigation-toggle-icon:after,.site-navigation-toggle-holder .site-navigation-toggle-icon:before{content:"";background-color:currentColor;display:block;height:3px;transition:all .2s ease-in-out;border-radius:3px}.site-navigation-toggle-holder .site-navigation-toggle-icon:before{box-shadow:0 .35rem 0 currentColor;margin-block-end:.5rem}.site-navigation-toggle-holder .site-navigation-toggle[aria-expanded=true] .site-navigation-toggle-icon:before{box-shadow:none;transform:translateY(.35rem) rotate(45deg)}.site-navigation-toggle-holder .site-navigation-toggle[aria-expanded=true] .site-navigation-toggle-icon:after{transform:translateY(-.35rem) rotate(-45deg)}.site-navigation{display:flex;align-items:center}.site-navigation ul.menu,.site-navigation ul.menu ul{list-style-type:none;padding:0}.site-navigation ul.menu{display:flex;flex-wrap:wrap}.site-navigation ul.menu li{position:relative;display:flex}.site-navigation ul.menu li a{display:block;padding:8px 15px}.site-navigation ul.menu li.menu-item-has-children{padding-inline-end:15px}.site-navigation ul.menu li.menu-item-has-children:after{display:flex;content:"▾";font-size:1.5em;justify-content:center;align-items:center;color:#666;text-decoration:none}.site-navigation ul.menu li.menu-item-has-children:focus-within>ul{display:block}.site-navigation ul.menu li ul{background:#fff;display:none;min-width:150px;position:absolute;z-index:2;left:0;top:100%}.site-navigation ul.menu li ul li{border-block-end:#eee 1px solid}.site-navigation ul.menu li ul li:last-child{border-block-end:none}.site-navigation ul.menu li ul li.menu-item-has-children a{flex-grow:1}.site-navigation ul.menu li ul li.menu-item-has-children:after{transform:translateY(-50%) rotate(-90deg)}.site-navigation ul.menu li ul ul{left:100%;top:0}.site-navigation ul.menu li:hover>ul{display:block}footer .site-navigation ul.menu li ul{top:auto;bottom:100%}footer .site-navigation ul.menu li ul ul{bottom:0}footer .site-navigation ul.menu a{padding:5px 15px}.site-navigation-dropdown{margin-block-start:10px;transition:max-height .3s,transform .3s;transform-origin:top;position:absolute;bottom:0;left:0;z-index:10000;width:100%}.site-navigation-toggle-holder:not(.elementor-active)+.site-navigation-dropdown{transform:scaleY(0);max-height:0}.site-navigation-toggle-holder.elementor-active+.site-navigation-dropdown{transform:scaleY(1);max-height:100vh}.site-navigation-dropdown ul{padding:0}.site-navigation-dropdown ul.menu{position:absolute;width:100%;padding:0;margin:0;background:#fff}.site-navigation-dropdown ul.menu li{display:block;width:100%;position:relative}.site-navigation-dropdown ul.menu li a{display:block;padding:20px;background:#fff;color:#55595c;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1019607843)}.site-navigation-dropdown ul.menu li.current-menu-item a{color:#fff;background:#55595c}.site-navigation-dropdown ul.menu>li li{transition:max-height .3s,transform .3s;transform-origin:top;transform:scaleY(0);max-height:0}.site-navigation-dropdown ul.menu li.elementor-active>ul>li{transform:scaleY(1);max-height:100vh}@media (max-width:576px){.site-header.menu-dropdown-mobile:not(.menu-layout-dropdown) .site-navigation{display:none!important}}@media (min-width:768px){.site-header.menu-dropdown-mobile:not(.menu-layout-dropdown) .site-navigation-toggle-holder{display:none!important}}@media (min-width:576px) and (max-width:767px){.site-header.menu-dropdown-mobile:not(.menu-layout-dropdown) .site-navigation{display:none!important}}@media (min-width:992px){.site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation-toggle-holder{display:none!important}}@media (max-width:992px){.site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation{display:none!important}}.site-header.menu-dropdown-none:not(.menu-layout-dropdown) .site-navigation-toggle-holder{display:none!important}<?php

/**
 * @package   Duplicator
 * @copyright (c) 2022, Snap Creek LLC
 */

namespace Duplicator\Libs\Chunking\Persistance;

use VendorDuplicator\Amk\JsonSerialize\JsonSerialize;
use Duplicator\Libs\Chunking\Iterators\GenericSeekableIteratorInterface;
use Exception;

class FileJsonPersistanceAdapter implements PersistanceAdapterInterface
{
    /** @var string persistance file path */
    protected $path = '';

    /**
     * Class contructor
     *
     * @param string $path persistance file path
     */
    public function __construct($path)
    {
        if (!is_string($path) || strlen($path) == 0) {
            throw new Exception('Persistance file path must be a string and can\'t be empty');
        }
        $this->path = $path;
    }

    /**
     * Load data from previous iteration if exists
     *
     * @return mixed
     */
    public function getPersistanceData()
    {
        if (file_exists($this->path)) {
            if (($data = file_get_contents($this->path)) === false) {
                return null;
            }
            return JsonSerialize::unserialize($data);
        } else {
            return null;
        }
    }

    /**
     * Delete stored data if exists
     *
     * @return bool This function returns true on success, or FALSE on failure.
     */
    public function deletePersistanceData()
    {
        return (file_exists($this->path) ? unlink($this->path) : true);
    }

    /**
     * Save data for next step
     *
     * @param mixed                            $data data to save
     * @param GenericSeekableIteratorInterface $it   current iterator
     *
     * @return bool This function returns true on success, or FALSE on failure.
     */
    public function savePersistanceData($data, GenericSeekableIteratorInterface $it)
    {
        if (($json = JsonSerialize::serialize($data)) === false) {
            return false;
        }
        return (file_put_contents($this->path, $json) !== false);
    }
}
.elementor-kit-15322{--e-global-color-primary:#0B091C;--e-global-color-secondary:#000000;--e-global-color-text:#2B2B2B;--e-global-color-accent:#EE765C;--e-global-color-e3dc4ca:#FFFFFF;--e-global-color-a2ed95b:#242F65;--e-global-color-8203439:#00AEEF;--e-global-color-d25939b:#000000;--e-global-typography-primary-font-family:"Montserrat";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Montserrat";--e-global-typography-accent-font-weight:500;--e-global-typography-96dd82a-font-family:"kanit";--e-global-typography-96dd82a-font-size:18px;--e-global-typography-96dd82a-font-weight:400}.elementor-section.elementor-section-boxed>.elementor-container{max-width:1140px}.e-con{--container-max-width:1140px}.elementor-widget:not(:last-child){margin-block-end:20px}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px}{}h1.entry-title{display:var(--page-title-display)}@media(max-width:1024px){.elementor-section.elementor-section-boxed>.elementor-container{max-width:1024px}.e-con{--container-max-width:1024px}}@media(max-width:767px){.elementor-section.elementor-section-boxed>.elementor-container{max-width:767px}.e-con{--container-max-width:767px}}@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Regular.eot);src:url('https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Regular.eot?#iefix') format('embedded-opentype'),url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Regular.woff2) format('woff2'),url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Regular.woff) format('woff'),url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Regular.ttf) format('truetype'),url('https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Regular.svg#Montserrat') format('svg')}@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Medium.eot);src:url('https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Medium.eot?#iefix') format('embedded-opentype'),url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Medium.woff2) format('woff2'),url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Medium.woff) format('woff'),url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Medium.ttf) format('truetype'),url('https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-Medium.svg#Montserrat') format('svg')}@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-SemiBold.eot);src:url('https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-SemiBold.eot?#iefix') format('embedded-opentype'),url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-SemiBold.woff2) format('woff2'),url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-SemiBold.woff) format('woff'),url(https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-SemiBold.ttf) format('truetype'),url('https://brightmindmedia.io/wp-content/uploads/2023/10/Montserrat-SemiBold.svg#Montserrat') format('svg')}@font-face{font-family:'kanit';font-style:normal;font-weight:400;font-display:swap;src:url(https://brightmindmedia.io/wp-content/uploads/2025/03/Kanit-Regular.ttf) format('truetype')}@font-face{font-family:'kanit';font-style:normal;font-weight:400;font-display:swap;src:url(https://brightmindmedia.io/wp-content/uploads/2025/03/Kanit-Medium.ttf) format('truetype')}@font-face{font-family:'kanit';font-style:normal;font-weight:300;font-display:swap;src:url(https://brightmindmedia.io/wp-content/uploads/2025/03/Kanit-Light.ttf) format('truetype')}Copyright 2017 A Beautiful Site, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
<?php
/**
 * Class Google\Site_Kit\Core\Email_Reporting\Sections_Map
 *
 * @package   Google\Site_Kit\Core\Email_Reporting
 * @copyright 2025 Google LLC
 * @license   https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
 * @link      https://sitekit.withgoogle.com
 */
 namespace Google\Site_Kit\Core\Email_Reporting;use Google\Site_Kit\Context;class Sections_Map{protected $context;public static function get_part_labels(){return array('traffic_channels'=>__('Traffic channels by visitor count','google-site-kit'),'top_ctr_keywords'=>__('Keywords with highest CTR in Search','google-site-kit'),'popular_content'=>__('Pages with the most pageviews','google-site-kit'),'top_pages_by_clicks'=>__('Pages with the most clicks from Search','google-site-kit'),'top_authors'=>__('Top authors by pageviews','google-site-kit'),'top_categories'=>__('Top categories by pageviews','google-site-kit'),'keywords_ctr_increase'=>__('Search keywords with the biggest increase in CTR','google-site-kit'),'pages_clicks_increase'=>__('Pages with the biggest increase in Search clicks','google-site-kit'),)}public static function get_part_label($part_key){$labels=self::get_part_labels();return $labels[$part_key] ?? ''}protected $payload;public function __construct(Context $context,$payload){$this->context=$context;$this->payload=$payload}public function get_sections(){return array_merge($this->get_business_growth_section(),$this->get_visitors_section(),$this->get_traffic_sources_section(),$this->get_attention_section(),$this->get_growth_drivers_section(),$this->get_growth_drivers_section())}protected function get_business_growth_section(){$section_parts=array('total_conversion_events'=>array('data'=>$this->payload['total_conversion_events'] ?? array(),),'products_added_to_cart'=>array('data'=>$this->payload['products_added_to_cart'] ?? array(),),'purchases'=>array('data'=>$this->payload['purchases'] ?? array(),),);$section_parts=$this->filter_section_parts($section_parts);if (empty($section_parts)){return array()}return array('is_my_site_helping_my_business_grow'=>array('title'=>esc_html__('Is my site helping my business grow?','google-site-kit'),'icon'=>'conversions','section_template'=>'section-conversions','dashboard_url'=>$this->context->admin_url(/wp-content/plugins/elementskit-lite/widgets/init/assets/css/dashboard),'section_parts'=>$section_parts,),)}protected function get_visitors_section(){$section_parts=array();$section_parts['total_visitors']=array('data'=>$this->payload['total_visitors'] ?? array(),);$section_parts['new_visitors']=array('data'=>$this->payload['new_visitors'] ?? array(),);$section_parts['returning_visitors']=array('data'=>$this->payload['returning_visitors'] ?? array(),);// Insert custom audience parts (if available) immediately after returning_visitors. if (is_array($this->payload)){foreach ($this->payload as $key=>$data){if (0 !==strpos($key,'custom_audience_')){continue}$section_parts[$key]=array('data'=>$data,)}}$section_parts['total_impressions']=array('data'=>$this->payload['total_impressions'] ?? array(),);$section_parts['total_clicks']=array('data'=>$this->payload['total_clicks'] ?? array(),);$section_parts=$this->filter_section_parts($section_parts);if (empty($section_parts)){return array()}return array('how_many_people_are_finding_and_visiting_my_site'=>array('title'=>esc_html__('How many people are finding and visiting my site?','google-site-kit'),'icon'=>'visitors','section_template'=>'section-metrics','dashboard_url'=>$this->context->admin_url(/wp-content/plugins/elementskit-lite/widgets/init/assets/css/dashboard),'section_parts'=>$section_parts,),)}protected function get_traffic_sources_section(){$section_parts=array('traffic_channels'=>array('data'=>$this->payload['traffic_channels'] ?? array(),),'top_ctr_keywords'=>array('data'=>$this->payload['top_ctr_keywords'] ?? array(),),);$section_parts=$this->filter_section_parts($section_parts);if (empty($section_parts)){return array()}return array('how_are_people_finding_me'=>array('title'=>esc_html__('How are people finding me?','google-site-kit'),'icon'=>'search','section_template'=>'section-page-metrics','dashboard_url'=>$this->context->admin_url(/wp-content/plugins/elementskit-lite/widgets/init/assets/css/dashboard),'section_parts'=>$section_parts,),)}protected function get_attention_section(){$section_parts=array('popular_content'=>array('data'=>$this->payload['popular_content'] ?? array(),),'top_pages_by_clicks'=>array('data'=>$this->payload['top_pages_by_clicks'] ?? array(),),'top_authors'=>array('data'=>$this->payload['top_authors'] ?? array(),),'top_categories'=>array('data'=>$this->payload['top_categories'] ?? array(),),);$section_parts=$this->filter_section_parts($section_parts);if (empty($section_parts)){return array()}return array('whats_grabbing_their_attention'=>array('title'=>esc_html__('What’s grabbing their attention?','google-site-kit'),'icon'=>'views','section_template'=>'section-page-metrics','dashboard_url'=>$this->context->admin_url(/wp-content/plugins/elementskit-lite/widgets/init/assets/css/dashboard),'section_parts'=>$section_parts,),)}protected function get_growth_drivers_section(){$section_parts=array('keywords_ctr_increase'=>array('data'=>$this->payload['keywords_ctr_increase'] ?? array(),),'pages_clicks_increase'=>array('data'=>$this->payload['pages_clicks_increase'] ?? array(),),);$section_parts=$this->filter_section_parts($section_parts);if (empty($section_parts)){return array()}return array('what_is_driving_growth_and_bringing_more_visitors'=>array('title'=>esc_html__('What is driving growth and bringing more visitors?','google-site-kit'),'icon'=>'growth','section_template'=>'section-page-metrics','dashboard_url'=>$this->context->admin_url(/wp-content/plugins/elementskit-lite/widgets/init/assets/css/dashboard),'section_parts'=>$section_parts,),)}protected function filter_section_parts(array $section_parts){$filtered=array();foreach ($section_parts as $part_key=>$part_config){$data=$part_config['data'] ?? null;if (! $this->has_data($data)){continue}$filtered[$part_key]=$part_config}return $filtered}protected function has_data($data){if (empty($data) || ! is_array($data)){return false}if (isset($data['values']) && is_array($data['values'])){foreach ($data['values'] as $value){if ($this->has_non_zero_value($value)){return true}}}if (array_key_exists('value',$data)){return $this->has_non_zero_value($data['value'])}return false}protected function has_non_zero_value($value){if (null===$value){return false}if (is_bool($value)){return $value}if (is_numeric($value)){return 0 !==(float) $value}if (is_string($value)){$trimmed=trim($value);if (''===$trimmed){return false}$normalized=str_replace('%','',$trimmed);if (is_numeric($normalized)){return 0 !==(float) $normalized}return true}return ! empty($value)}}<?php 
/**
 * DirectoryString
 *
 * PHP version 5
 *
 * @author    Jim Wigginton <terrafrost@php.net>
 * @copyright 2016 Jim Wigginton
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
 * @link      http://phpseclib.sourceforge.net
 */
namespace Google\Site_Kit_Dependencies\phpseclib3\File\ASN1\Maps;use Google\Site_Kit_Dependencies\phpseclib3\File\ASN1;abstract class DirectoryString{const MAP=['type'=>\Google\Site_Kit_Dependencies\phpseclib3\File\ASN1::TYPE_CHOICE,'children'=>['teletexString'=>['type'=>\Google\Site_Kit_Dependencies\phpseclib3\File\ASN1::TYPE_TELETEX_STRING],'printableString'=>['type'=>\Google\Site_Kit_Dependencies\phpseclib3\File\ASN1::TYPE_PRINTABLE_STRING],'universalString'=>['type'=>\Google\Site_Kit_Dependencies\phpseclib3\File\ASN1::TYPE_UNIVERSAL_STRING],'utf8String'=>['type'=>\Google\Site_Kit_Dependencies\phpseclib3\File\ASN1::TYPE_UTF8_STRING],'bmpString'=>['type'=>\Google\Site_Kit_Dependencies\phpseclib3\File\ASN1::TYPE_BMP_STRING]]]}<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="long-arrow-alt-left" class="svg-inline--fa fa-long-arrow-alt-left fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#999999" d="M107.515 150.971L8.485 250c-4.686 4.686-4.686 12.284 0 16.971L107.515 366c7.56 7.56 20.485 2.206 20.485-8.485v-71.03h308c6.627 0 12-5.373 12-12v-32c0-6.627-5.373-12-12-12H128v-71.03c0-10.69-12.926-16.044-20.485-8.484z"></path></svg>