var mi_version = '8.12.1';
var mi_track_user = true;
var mi_no_track_reason = '';
var disableStrs = [
'ga-disable-G-MEZCRFS10C',
'ga-disable-UA-20582113-1',
];/* Function to detect opted out users */
function __gtagTrackerIsOptedOut() {
for (var index = 0; index < disableStrs.length; index++) {
if (document.cookie.indexOf(disableStrs[index] + '=true') > -1) {
return true;
}
}return false;
}/* Disable tracking if the opt-out cookie exists. */
if (__gtagTrackerIsOptedOut()) {
for (var index = 0; index < disableStrs.length; index++) {
window[disableStrs[index]] = true;
}
}/* Opt-out function */
function __gtagTrackerOptout() {
for (var index = 0; index < disableStrs.length; index++) {
document.cookie = disableStrs[index] + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStrs[index]] = true;
}
}if ('undefined' === typeof gaOptout) {
function gaOptout() {
__gtagTrackerOptout();
}
}
window.dataLayer = window.dataLayer || [];window.MonsterInsightsDualTracker = {
helpers: {},
trackers: {},
};
if (mi_track_user) {
function __gtagDataLayer() {
dataLayer.push(arguments);
}function __gtagTracker(type, name, parameters) {
if (!parameters) {
parameters = {};
}if (parameters.send_to) {
__gtagDataLayer.apply(null, arguments);
return;
}if (type === 'event') {
parameters.send_to = monsterinsights_frontend.v4_id;
var hookName = name;
if (typeof parameters['event_category'] !== 'undefined') {
hookName = parameters['event_category'] + ':' + name;
}if (typeof MonsterInsightsDualTracker.trackers[hookName] !== 'undefined') {
MonsterInsightsDualTracker.trackers[hookName](parameters);
} else {
__gtagDataLayer('event', name, parameters);
}
parameters.send_to = monsterinsights_frontend.ua;
__gtagDataLayer(type, name, parameters);
} else {
__gtagDataLayer.apply(null, arguments);
}
}__gtagTracker('js', new Date());
__gtagTracker('set', {
'developer_id.dZGIzZG': true,
});
__gtagTracker('config', 'G-MEZCRFS10C', {"forceSSL":"true"} );
__gtagTracker('config', 'UA-20582113-1', {"forceSSL":"true"} );
window.gtag = __gtagTracker; (function () {
/* https://developers.google.com/analytics/devguides/collection/analyticsjs/ */
/* ga and __gaTracker compatibility shim. */
var noopfn = function () {
return null;
};
var newtracker = function () {
return new Tracker();
};
var Tracker = function () {
return null;
};
var p = Tracker.prototype;
p.get = noopfn;
p.set = noopfn;
p.send = function () {
var args = Array.prototype.slice.call(arguments);
args.unshift('send');
__gaTracker.apply(null, args);
};
var __gaTracker = function () {
var len = arguments.length;
if (len === 0) {
return;
}
var f = arguments[len - 1];
if (typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function') {
if ('send' === arguments[0]) {
var hitConverted, hitObject = false, action;
if ('event' === arguments[1]) {
if ('undefined' !== typeof arguments[3]) {
hitObject = {
'eventAction': arguments[3],
'eventCategory': arguments[2],
'eventLabel': arguments[4],
'value': arguments[5] ? arguments[5] : 1,
}
}
}
if ('pageview' === arguments[1]) {
if ('undefined' !== typeof arguments[2]) {
hitObject = {
'eventAction': 'page_view',
'page_path': arguments[2],
}
}
}
if (typeof arguments[2] === 'object') {
hitObject = arguments[2];
}
if (typeof arguments[5] === 'object') {
Object.assign(hitObject, arguments[5]);
}
if ('undefined' !== typeof arguments[1].hitType) {
hitObject = arguments[1];
if ('pageview' === hitObject.hitType) {
hitObject.eventAction = 'page_view';
}
}
if (hitObject) {
action = 'timing' === arguments[1].hitType ? 'timing_complete' : hitObject.eventAction;
hitConverted = mapArgs(hitObject);
__gtagTracker('event', action, hitConverted);
}
}
return;
}function mapArgs(args) {
var arg, hit = {};
var gaMap = {
'eventCategory': 'event_category',
'eventAction': 'event_action',
'eventLabel': 'event_label',
'eventValue': 'event_value',
'nonInteraction': 'non_interaction',
'timingCategory': 'event_category',
'timingVar': 'name',
'timingValue': 'value',
'timingLabel': 'event_label',
'page': 'page_path',
'location': 'page_location',
'title': 'page_title',
};
for (arg in args) {
if (!(!args.hasOwnProperty(arg) || !gaMap.hasOwnProperty(arg))) {
hit[gaMap[arg]] = args[arg];
} else {
hit[arg] = args[arg];
}
}
return hit;
}try {
f.hitCallback();
} catch (ex) {
}
};
__gaTracker.create = newtracker;
__gaTracker.getByName = newtracker;
__gaTracker.getAll = function () {
return [];
};
__gaTracker.remove = noopfn;
__gaTracker.loaded = true;
window['__gaTracker'] = __gaTracker;
})();
} else {
console.log("");
(function () {
function __gtagTracker() {
return null;
}window['__gtagTracker'] = __gtagTracker;
window['gtag'] = __gtagTracker;
})();
}
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.hollybrady.com\/wp-includes\/js\/wp-emoji-release.min.js"}};
/*! This file is auto-generated */
!function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode,e=(p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0),i.toDataURL());return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(p&&p.fillText)switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([129777,127995,8205,129778,127999],[129777,127995,8203,129778,127999])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(e=t.source||{}).concatemoji?c(e.concatemoji):e.wpemoji&&e.twemoji&&(c(e.twemoji),c(e.wpemoji)))}(window,document,window._wpemojiSettings);
https://www.hollybrady.com/wp-content/plugins/google-analytics-for-wordpress/assets/js/frontend-gtag.min.js
var monsterinsights_frontend = {"js_events_tracking":"true","download_extensions":"doc,pdf,ppt,zip,xls,docx,pptx,xlsx","inbound_paths":"[]","home_url":"https:\/\/www.hollybrady.com","hash_tracking":"false","ua":"UA-20582113-1","v4_id":"G-MEZCRFS10C"};
window.a2a_config=window.a2a_config||{};a2a_config.callbacks=[];a2a_config.overlays=[];a2a_config.templates={};
https://www.hollybrady.com/wp-includes/js/jquery/jquery.min.js
https://www.hollybrady.com/wp-includes/js/jquery/jquery-migrate.min.js
https://www.hollybrady.com/wp-content/plugins/add-to-any/addtoany.min.js
https://www.hollybrady.com/wp-content/themes/atahualpa.3.7.24/js/DD_roundies.js
https://www.hollybrady.com/wp-content/uploads/caos/590a8a58.js
window.dataLayer = window.dataLayer || [];function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-20582113-1', {"cookie_prefix":"CaosGtag","cookie_domain":"www.hollybrady.com","cookie_expires":2592000,"cookie_flags":"samesite=none;secure","allow_google_signals":true,"anonymize_ip":true,"site_speed_sample_rate":"1"});
https://www.hollybrady.com/wp-content/plugins/responsive-menu-pro/public/js/noscroll.js
|
Posted by Holly Brady under New Media I’ve yet to see a book trailer that makes me want to buy a book. I know they’re all the rage right now, but because they’re made by wordsmiths and not […]
Posted by Holly Brady under New Media One of the best ways to promote your nonfiction book is to position yourself as the expert in your field. How do you do that? One simple way is through HARO […]
Posted by Holly Brady under New Media Serious authors often squirm when they have to reveal that they’re self-publishing their books. That’s because self-publishing is often confused with vanity publishing, that backwater of the publishing industry where snake-oil salesmen still flourish. […]
Posted by Holly Brady under New Media When we look back at this time in history, we will surely mark it as the beginning of the Creator Economy. This decade–this year–will mark the point at […]
| About This SiteI help serious writers publish their own books -- in hardcover, softcover, ebook, enhanced ebook or audiobook form. For some writers, I also serve as a developmental editor. Subscribe to HollyBrady.comStanford Continuing Studies CourseHow to Self-Publish: A Roadmap for Entrepreneurial Writers Through Stanford Continuing Studies, I teach a course for writers who are looking for a clear understanding of how to publish independently — including all the decision points you’ll encounter along the way. Space is limited to 25 participants. For more information, join the mailing list at Stanford Continuing Studies. |
|
(function() {
window.mc4wp = window.mc4wp || {
listeners: [],
forms: {
on: function(evt, cb) {
window.mc4wp.listeners.push(
{
event : evt,
callback: cb
}
);
}
}
}
})();
(function() {function maybePrefixUrlField () {
const value = this.value.trim()
if (value !== '' && value.indexOf('http') !== 0) {
this.value = 'http://' + value
}
}const urlFields = document.querySelectorAll('.mc4wp-form input[type="url"]')
for (let j = 0; j < urlFields.length; j++) {
urlFields[j].addEventListener('blur', maybePrefixUrlField)
}
})();
https://www.hollybrady.com/wp-content/plugins/mailchimp-for-wp/assets/js/forms.js
jQuery(document).ready(function($){var ResponsiveMenuPro ={trigger: '#responsive-menu-pro-button',animationSpeed:500,breakpoint:767,isOpen: false,activeClass: 'is-active',container: '#responsive-menu-pro-container',openClass: 'responsive-menu-pro-open',activeArrow: '▲',inactiveArrow: '▼',wrapper: '#responsive-menu-pro-wrapper',linkElement: '.responsive-menu-pro-item-link',subMenuTransitionTime:200,originalHeight: '',openMenu: function(){$(this.trigger).addClass(this.activeClass);$('html').addClass(this.openClass);$('.responsive-menu-pro-button-icon-active').hide();$('.responsive-menu-pro-button-icon-inactive').show();this.setWrapperTranslate();this.isOpen = true},closeMenu: function(){$(this.trigger).removeClass(this.activeClass);$('html').removeClass(this.openClass);$('.responsive-menu-pro-button-icon-inactive').hide();$('.responsive-menu-pro-button-icon-active').show();this.clearWrapperTranslate();$("#responsive-menu-pro > li").removeAttr('style');this.isOpen = false},triggerMenu: function(){this.isOpen ? this.closeMenu() : this.openMenu()},triggerSubArrow: function(subarrow){var sub_menu = $(subarrow).parent().siblings('.responsive-menu-pro-submenu');var self = this;if(sub_menu.hasClass('responsive-menu-pro-submenu-open')){sub_menu.slideUp(self.subMenuTransitionTime, 'linear',function(){$(this).css('display', '')}).removeClass('responsive-menu-pro-submenu-open');$(subarrow).html(this.inactiveArrow);$(subarrow).removeClass('responsive-menu-pro-subarrow-active')}else{sub_menu.slideDown(self.subMenuTransitionTime, 'linear').addClass('responsive-menu-pro-submenu-open');$(subarrow).html(this.activeArrow);$(subarrow).addClass('responsive-menu-pro-subarrow-active')}},menuHeight: function(){return $(this.container).height()},menuWidth: function(){return $(this.container).width()},wrapperHeight: function(){return $(this.wrapper).height()},setWrapperTranslate: function(){switch('left'){case 'left':translate = 'translateX(' + this.menuWidth() + 'px)';break;case 'right':translate = 'translateX(-' + this.menuWidth() + 'px)';break;case 'top':translate = 'translateY(' + this.wrapperHeight() + 'px)';break;case 'bottom':translate = 'translateY(-' + this.menuHeight() + 'px)';break}},clearWrapperTranslate: function(){var self = this},init: function(){var self = this;$(document).on( 'keyup', function(e){if($(window).width() < self.breakpoint){if($.inArray(e.keyCode, [27,37]) !== -1 && self.isOpen){self.closeMenu()}}});$(document).on( 'keyup', function(e){if($(window).width() < self.breakpoint){if($.inArray(e.keyCode, [32,39]) !== -1 && !self.isOpen){self.openMenu()}}});$(this.trigger).on('click', function(e){e.stopPropagation();self.triggerMenu()});$(this.trigger).on( 'mouseup', function(){$(self.trigger).trigger('blur')});$('.responsive-menu-pro-subarrow').on('click', function(e){e.preventDefault();e.stopPropagation();self.triggerSubArrow(this)});$(window).on( 'resize', function(){if($(window).width() >= self.breakpoint){if(self.isOpen){self.closeMenu()}$('#responsive-menu-pro, .responsive-menu-pro-submenu').removeAttr('style')}else{if($('.responsive-menu-pro-open').length > 0){self.setWrapperTranslate()}}});$(this.trigger).on( 'mousedown', function(e){e.preventDefault();e.stopPropagation()});if (jQuery('#responsive-menu-pro-button').css('display') != 'none'){$('#responsive-menu-pro-button,#responsive-menu-pro a.responsive-menu-pro-item-link,#responsive-menu-pro-wrapper input').on( 'focus', function(){$(this).addClass('is-active');$('html').addClass('responsive-menu-pro-open');$('#responsive-menu-pro li').css({"opacity": "1", "margin-left": "0"})});$('a,input,button').on( 'focusout', function( event ){if ( ! $(this).parents('#responsive-menu-pro-container').length ){$('html').removeClass('responsive-menu-pro-open');$('#responsive-menu-pro-button').removeClass('is-active')}})}else{}$('#responsive-menu-pro a.responsive-menu-pro-item-link').on( 'keydown', function(event){if ( [13,27,32,35,36,37,38,39,40].indexOf( event.keyCode) == -1){return}var link = $(this);switch(event.keyCode){case 13:link.click();break;case 27:var dropdown = link.parent('li').parents('.responsive-menu-pro-submenu');if ( dropdown.length > 0 ){dropdown.hide();dropdown.prev().focus()}break;case 32:var dropdown = link.parent('li').find('.responsive-menu-pro-submenu');if ( dropdown.length > 0 ){dropdown.show();dropdown.find('a, input, button, textarea').filter(':visible').first().focus()}break;case 35:var dropdown = link.parent('li').find('.responsive-menu-pro-submenu');if ( dropdown.length > 0 ){dropdown.hide()}$(this).parents('#responsive-menu-pro').find('a.responsive-menu-pro-item-link').filter(':visible').last().focus();break;case 36:var dropdown = link.parent('li').find('.responsive-menu-pro-submenu');if( dropdown.length > 0 ){dropdown.hide()}$(this).parents('#responsive-menu-pro').find('a.responsive-menu-pro-item-link').filter(':visible').first().focus();break;case 37:event.preventDefault();event.stopPropagation();if ( link.parent('li').prevAll('li').filter(':visible').first().length == 0){link.parent('li').nextAll('li').filter(':visible').last().find('a').first().focus()}else{link.parent('li').prevAll('li').filter(':visible').first().find('a').first().focus()}if ( link.parent('li').children('.responsive-menu-pro-submenu').length ){link.parent('li').children('.responsive-menu-pro-submenu').hide()}break;case 38:var dropdown = link.parent('li').find('.responsive-menu-pro-submenu');if( dropdown.length > 0 ){event.preventDefault();event.stopPropagation();dropdown.find('a, input, button, textarea').filter(':visible').first().focus()}else{if ( link.parent('li').prevAll('li').filter(':visible').first().length == 0){link.parent('li').nextAll('li').filter(':visible').last().find('a').first().focus()}else{link.parent('li').prevAll('li').filter(':visible').first().find('a').first().focus()}}break;case 39:event.preventDefault();event.stopPropagation();if( link.parent('li').nextAll('li').filter(':visible').first().length == 0){link.parent('li').prevAll('li').filter(':visible').last().find('a').first().focus()}else{link.parent('li').nextAll('li').filter(':visible').first().find('a').first().focus()}if ( link.parent('li').children('.responsive-menu-pro-submenu').length ){link.parent('li').children('.responsive-menu-pro-submenu').hide()}break;case 40:var dropdown = link.parent('li').find('.responsive-menu-pro-submenu');if ( dropdown.length > 0 ){event.preventDefault();event.stopPropagation();dropdown.find('a, input, button, textarea').filter(':visible').first().focus()}else{if( link.parent('li').nextAll('li').filter(':visible').first().length == 0){link.parent('li').prevAll('li').filter(':visible').last().find('a').first().focus()}else{link.parent('li').nextAll('li').filter(':visible').first().find('a').first().focus()}}break}})}};ResponsiveMenuPro.init()});
jQuery(document).ready(function($) {
if( $(window).width() < 768 ) {
// If any left sidebar exists
if ( $('#left').length || $('#left-inner').length ) {
$("#middle").detach().prependTo('#bodyrow');
}
}
});
function OnResizeDocument () {
if( window.innerWidth < 767 ) {
jQuery(function($) {
$("#middle").detach().prependTo('#bodyrow');
});
}
if( window.innerWidth > 767 ) {
jQuery(function($) {
$("#left").detach().prependTo('#bodyrow');
});
}
}