Commit 2b8361c5 authored by Jake Jarvis's avatar Jake Jarvis

Gigaom article backup

parent 476863c4
This diff is collapsed.
This diff is collapsed.
jQuery(function(e){if("undefined"==typeof wc_add_to_cart_params)return!1;var t=function(){e(document.body).on("click",".add_to_cart_button",this.onAddToCart).on("click",".remove_from_cart_button",this.onRemoveFromCart).on("added_to_cart",this.updateButton).on("added_to_cart",this.updateCartPage).on("added_to_cart removed_from_cart",this.updateFragments)};t.prototype.onAddToCart=function(t){var a=e(this);if(a.is(".ajax_add_to_cart")){if(!a.attr("data-product_id"))return!0;t.preventDefault(),a.removeClass("added"),a.addClass("loading");var o={};e.each(a.data(),function(t,a){o[t]=a}),e(document.body).trigger("adding_to_cart",[a,o]),e.post(wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","add_to_cart"),o,function(t){t&&(t.error&&t.product_url?window.location=t.product_url:"yes"!==wc_add_to_cart_params.cart_redirect_after_add?e(document.body).trigger("added_to_cart",[t.fragments,t.cart_hash,a]):window.location=wc_add_to_cart_params.cart_url)})}},t.prototype.onRemoveFromCart=function(t){var a=e(this),o=a.closest(".woocommerce-mini-cart-item");t.preventDefault(),o.block({message:null,overlayCSS:{opacity:.6}}),e.post(wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","remove_from_cart"),{cart_item_key:a.data("cart_item_key")},function(t){t&&t.fragments?e(document.body).trigger("removed_from_cart",[t.fragments,t.cart_hash,a]):window.location=a.attr("href")}).fail(function(){window.location=a.attr("href")})},t.prototype.updateButton=function(t,a,o,r){(r=void 0!==r&&r)&&(r.removeClass("loading"),r.addClass("added"),wc_add_to_cart_params.is_cart||0!==r.parent().find(".added_to_cart").length||r.after(' <a href="'+wc_add_to_cart_params.cart_url+'" class="added_to_cart wc-forward" title="'+wc_add_to_cart_params.i18n_view_cart+'">'+wc_add_to_cart_params.i18n_view_cart+"</a>"),e(document.body).trigger("wc_cart_button_updated",[r]))},t.prototype.updateCartPage=function(){var t=window.location.toString().replace("add-to-cart","added-to-cart");e(".shop_table.cart").load(t+" .shop_table.cart:eq(0) > *",function(){e(".shop_table.cart").stop(!0).css("opacity","1").unblock(),e(document.body).trigger("cart_page_refreshed")}),e(".cart_totals").load(t+" .cart_totals:eq(0) > *",function(){e(".cart_totals").stop(!0).css("opacity","1").unblock(),e(document.body).trigger("cart_totals_refreshed")})},t.prototype.updateFragments=function(t,a){a&&(e.each(a,function(t){e(t).addClass("updating").fadeTo("400","0.6").block({message:null,overlayCSS:{opacity:.6}})}),e.each(a,function(t,a){e(t).replaceWith(a),e(t).stop(!0).css("opacity","1").unblock()}),e(document.body).trigger("wc_fragments_loaded"))},new t});
\ No newline at end of file
!function(){var t=void 0;!function e(r,n,o){function i(a,u){if(!n[a]){if(!r[a]){var c="function"==typeof t&&t;if(!u&&c)return c(a,!0);if(s)return s(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[a]={exports:{}};r[a][0].call(d.exports,function(t){var e=r[a][1][t];return i(e||t)},d,d.exports,e,r,n,o)}return n[a].exports}for(var s="function"==typeof t&&t,a=0;a<o.length;a++)i(o[a]);return i}({1:[function(t,e,r){"use strict";function n(t){this.objectName=t}n.prototype.get=function(t,e){return void 0!==window[this.objectName]?window[this.objectName][t]:e},n.prototype.set=function(t,e){window[this.objectName]||(window[this.objectName]={}),window[this.objectName][t]=e},e.exports=n},{}],2:[function(t,e,r){"use strict";function n(t){return t.innerHTML?t.innerHTML:t.value}function o(t,e){t.innerHTML?t.innerHTML=e:t.value=e}function i(t){this.form=t,this.button=t.querySelector('input[type="submit"], button[type="submit"]'),this.loadingInterval=0,this.character="路",this.button&&(this.originalButton=this.button.cloneNode(!0))}i.prototype.setCharacter=function(t){this.character=t},i.prototype.start=function(){if(this.button){var t=this.button.getAttribute("data-loading-text");if(t)return void o(this.button,t);var e=window.getComputedStyle(this.button);this.button.style.width=e.width,o(this.button,this.character),this.loadingInterval=window.setInterval(this.tick.bind(this),500)}else this.form.style.opacity="0.5"},i.prototype.tick=function(){var t=n(this.button),e=this.character;o(this.button,t.length>=5?e:t+" "+e)},i.prototype.stop=function(){if(this.button){this.button.style.width=this.originalButton.style.width;var t=n(this.originalButton);o(this.button,t),window.clearInterval(this.loadingInterval)}else this.form.style.opacity=""},e.exports=i},{}],3:[function(t,e,r){"use strict";var n=t("./_config.js"),o=t("./_form-loader.js"),i=window.mc4wp.forms,s=!1,a=new n("mc4wp_ajax_vars");a.get("ready")||(i.on("submit",function(t,e){if(!(t.element.getAttribute("class").indexOf("mc4wp-ajax")<0)){try{!function(t){var e=new o(t.element),r=a.get("loading_character");r&&e.setCharacter(r);function n(){s=!0;var r=new XMLHttpRequest;r.onreadystatechange=function(){if(4==this.readyState)if(e.stop(),s=!1,this.status>=200&&this.status<400){try{var r=JSON.parse(this.responseText)}catch(e){return console.log('MailChimp for WordPress: failed to parse AJAX response.\n\nError: "'+e+'"'),void t.setResponse('<div class="mc4wp-alert mc4wp-error"><p>'+a.get("error_text")+"</p></div>")}!function(e){if(u("submitted",t,null),e.error)t.setResponse(e.error.message),u("error",t,e.error.errors);else{var r=t.getData();u("success",t,r),u(e.data.event,t,r),"updated_subscriber"===e.data.event&&u("subscribed",t,r),e.data.hide_fields&&(t.element.querySelector(".mc4wp-form-fields").style.display="none"),t.setResponse(e.data.message),t.element.reset(),e.data.redirect_to&&(window.location.href=e.data.redirect_to)}}(r)}else console.log(this.responseText)},r.open("POST",a.get("ajax_url"),!0),r.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),r.send(t.getSerializedData()),r=null}function u(t,e,r){i.trigger(t,[e,r]),i.trigger(e.id+"."+t,[e,r])}s||(t.setResponse(""),e.start(),n())}(t)}catch(t){return console.error(t),!0}return e.returnValue=!1,e.preventDefault(),!1}}),a.set("ready",!0))},{"./_config.js":1,"./_form-loader.js":2}]},{},[3])}();
//# sourceMappingURL=ajax-forms.min.js.map
This diff is collapsed.
This diff is collapsed.
<svg role="img" aria-label="arrow" xmlns="http://www.w3.org/2000/svg" version="1.1" id="arrow" x="0" y="0" width="13" height="40" viewBox="0 0 13 40" enable-background="new 0 0 13 40" xml:space="preserve"><g id="bg_2_"><title>arrow</title><path fill="#ff6b00" d="M8.4 3.83C7.77 1.72 5.45-0.07 3.25-0.07h-267.12c-2.2 0-4.39 1.93-4.39 4.13v32c0 2.2 2.19 3.87 4.39 3.87H3.25c2.2 0 4.52-1.66 5.15-3.76l3.7-12.3c0.63-2.11 0.63-5.57 0-7.68L8.4 3.83z"/><path fill="#ff6b00" d="M8.4 3.83C7.77 1.72 5.45-0.07 3.25-0.07h-267.12c-2.2 0-4.39 1.93-4.39 4.13v32c0 2.2 2.19 3.87 4.39 3.87H3.25c2.2 0 4.52-1.66 5.15-3.76l3.7-12.3c0.63-2.11 0.63-5.57 0-7.68L8.4 3.83z"/></g></svg>
\ No newline at end of file
jQuery(function(n){if("undefined"==typeof wc_cart_fragments_params)return!1;var t=!0,o=wc_cart_fragments_params.cart_hash_key;try{t="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("wc","test"),window.sessionStorage.removeItem("wc"),window.localStorage.setItem("wc","test"),window.localStorage.removeItem("wc")}catch(w){t=!1}function a(){t&&sessionStorage.setItem("wc_cart_created",(new Date).getTime())}function s(e){t&&(localStorage.setItem(o,e),sessionStorage.setItem(o,e))}var e={url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_refreshed_fragments"),type:"POST",success:function(e){e&&e.fragments&&(n.each(e.fragments,function(e,t){n(e).replaceWith(t)}),t&&(sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(e.fragments)),s(e.cart_hash),e.cart_hash&&a()),n(document.body).trigger("wc_fragments_refreshed"))}};function r(){n.ajax(e)}if(t){var i=null;n(document.body).on("wc_fragment_refresh updated_wc_div",function(){r()}),n(document.body).on("added_to_cart removed_from_cart",function(e,t,n){var r=sessionStorage.getItem(o);null!==r&&r!==undefined&&""!==r||a(),sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(t)),s(n)}),n(document.body).on("wc_fragments_refreshed",function(){clearTimeout(i),i=setTimeout(r,864e5)}),n(window).on("storage onstorage",function(e){o===e.originalEvent.key&&localStorage.getItem(o)!==sessionStorage.getItem(o)&&r()}),n(window).on("pageshow",function(e){e.originalEvent.persisted&&(n(".widget_shopping_cart_content").empty(),n(document.body).trigger("wc_fragment_refresh"))});try{var c=n.parseJSON(sessionStorage.getItem(wc_cart_fragments_params.fragment_name)),_=sessionStorage.getItem(o),g=Cookies.get("woocommerce_cart_hash"),m=sessionStorage.getItem("wc_cart_created");if(null!==_&&_!==undefined&&""!==_||(_=""),null!==g&&g!==undefined&&""!==g||(g=""),_&&(null===m||m===undefined||""===m))throw"No cart_created";if(m){var d=1*m+864e5,f=(new Date).getTime();if(d<f)throw"Fragment expired";i=setTimeout(r,d-f)}if(!c||!c["div.widget_shopping_cart_content"]||_!==g)throw"No fragment";n.each(c,function(e,t){n(e).replaceWith(t)}),n(document.body).trigger("wc_fragments_loaded")}catch(w){r()}}else r();0<Cookies.get("woocommerce_items_in_cart")?n(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show():n(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").hide(),n(document.body).on("adding_to_cart",function(){n(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show()})});
\ No newline at end of file
/*
ColorBox Core Style:
The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:border-box;}
/*
User Style:
Change the following styles to modify the appearance of ColorBox. They are
ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:rgba(0,0,0,.6);}
#colorbox{}
#cboxTopLeft{width:16px; height:25px; background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/border1.png) no-repeat 0 0;}
#cboxTopCenter{height:25px; background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/border1.png) repeat-x 0 -50px;}
#cboxTopRight{width:16px; height:25px; background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/border1.png) no-repeat -25px 0;}
#cboxBottomLeft{width:16px; height:25px; background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/border1.png) no-repeat 0 -25px;}
#cboxBottomCenter{height:25px; background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/border1.png) repeat-x 0 -75px;}
#cboxBottomRight{width:16px; height:25px; background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/border1.png) no-repeat -25px -25px;}
#cboxMiddleLeft{width:16px; background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/border2.png) repeat-y 0 0;}
#cboxMiddleRight{width:16px; background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/border2.png) repeat-y -25px 0;}
#cboxContent{background:#fff; overflow:hidden;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{margin-bottom:20px;}
#cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
#cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
#cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}
#cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}
#cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
#cboxLoadingOverlay{background:#fff url(loading.gif) no-repeat 5px 5px;}
/*
The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}
/*
The following provides PNG transparency support for IE6
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
*/
.cboxIE6 #cboxTopLeft{background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/ie6/borderTopLeft.png);}
.cboxIE6 #cboxTopCenter{background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/ie6/borderTopCenter.png);}
.cboxIE6 #cboxTopRight{background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/ie6/borderTopRight.png);}
.cboxIE6 #cboxBottomLeft{background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/ie6/borderBottomLeft.png);}
.cboxIE6 #cboxBottomCenter{background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/ie6/borderBottomCenter.png);}
.cboxIE6 #cboxBottomRight{background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/ie6/borderBottomRight.png);}
.cboxIE6 #cboxMiddleLeft{background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/ie6/borderMiddleLeft.png);}
.cboxIE6 #cboxMiddleRight{background:url(https://gigaom.com/wp-content/plugins/go-ui/components/js/external/colorbox/images/ie6/borderMiddleRight.png);}
.cboxIE6 #cboxTopLeft,
.cboxIE6 #cboxTopCenter,
.cboxIE6 #cboxTopRight,
.cboxIE6 #cboxBottomLeft,
.cboxIE6 #cboxBottomCenter,
.cboxIE6 #cboxBottomRight,
.cboxIE6 #cboxMiddleLeft,
.cboxIE6 #cboxMiddleRight {
_behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
}
/*
ColorBox Core Style:
The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:border-box;}
/*
User Style:
Change the following styles to modify the appearance of ColorBox. They are
ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:rgba(0,0,0,.6);}
#colorbox{}
#cboxTopLeft{width:16px; height:25px; background:url(images/border1.png) no-repeat 0 0;}
#cboxTopCenter{height:25px; background:url(images/border1.png) repeat-x 0 -50px;}
#cboxTopRight{width:16px; height:25px; background:url(images/border1.png) no-repeat -25px 0;}
#cboxBottomLeft{width:16px; height:25px; background:url(images/border1.png) no-repeat 0 -25px;}
#cboxBottomCenter{height:25px; background:url(images/border1.png) repeat-x 0 -75px;}
#cboxBottomRight{width:16px; height:25px; background:url(images/border1.png) no-repeat -25px -25px;}
#cboxMiddleLeft{width:16px; background:url(images/border2.png) repeat-y 0 0;}
#cboxMiddleRight{width:16px; background:url(images/border2.png) repeat-y -25px 0;}
#cboxContent{background:#fff; overflow:hidden;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{margin-bottom:20px;}
#cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
#cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
#cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}
#cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}
#cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
#cboxLoadingOverlay{background:#fff url(images/loading.gif) no-repeat 5px 5px;}
/*
The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}
/*
The following provides PNG transparency support for IE6
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
*/
.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);}
.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);}
.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);}
.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);}
.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);}
.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);}
.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);}
.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);}
.cboxIE6 #cboxTopLeft,
.cboxIE6 #cboxTopCenter,
.cboxIE6 #cboxTopRight,
.cboxIE6 #cboxBottomLeft,
.cboxIE6 #cboxBottomCenter,
.cboxIE6 #cboxBottomRight,
.cboxIE6 #cboxMiddleLeft,
.cboxIE6 #cboxMiddleRight {
_behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="750px" height="471px" viewBox="0 0 750 471" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<!-- Generator: Sketch 3.3.2 (12043) - http://www.bohemiancoding.com/sketch -->
<title>diners</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="diners" sketch:type="MSLayerGroup">
<rect id="rectangle" fill="#0079BE" sketch:type="MSShapeGroup" x="0" y="0" width="750" height="471" rx="40"></rect>
<path d="M584.933911,237.947339 C584.933911,138.53154 501.952976,69.8140806 411.038924,69.8471464 L332.79674,69.8471464 C240.793699,69.8140806 165.066089,138.552041 165.066089,237.947339 C165.066089,328.877778 240.793699,403.587432 332.79674,403.150963 L411.038924,403.150963 C501.952976,403.586771 584.933911,328.857939 584.933911,237.947339 L584.933911,237.947339 Z" id="Shape-path" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
<path d="M333.280302,83.9308394 C249.210378,83.9572921 181.085889,152.238282 181.066089,236.510581 C181.085889,320.768331 249.209719,389.042708 333.280302,389.069161 C417.370025,389.042708 485.508375,320.768331 485.520254,236.510581 C485.507715,152.238282 417.370025,83.9572921 333.280302,83.9308394 L333.280302,83.9308394 Z" id="Shape-path" fill="#0079BE" sketch:type="MSShapeGroup"></path>
<path d="M237.066089,236.09774 C237.145288,194.917524 262.812421,159.801587 299.006443,145.847134 L299.006443,326.327183 C262.812421,312.380667 237.144628,277.283907 237.066089,236.09774 Z M368.066089,326.372814 L368.066089,145.847134 C404.273312,159.767859 429.980043,194.903637 430.046043,236.103692 C429.980043,277.316312 404.273312,312.425636 368.066089,326.372814 Z" id="Path" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="780px" height="501px" viewBox="0 0 780 501" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<!-- Generator: Sketch 3.3.2 (12043) - http://www.bohemiancoding.com/sketch -->
<title>discover</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="discover" sketch:type="MSLayerGroup">
<path d="M54.992188,0 C24.626565,0 -4.7369516e-15,24.629374 0,55.003906 L0,445.99609 C0,476.37636 24.618673,501 54.992188,501 L725.00781,501 C755.37344,501 780,476.37062 780,445.99609 L780,268.55664 L780,55.003906 C780,24.623637 755.38133,-4.7369516e-15 725.00781,0 L54.992188,0 L54.992188,0 Z" id="rectangle" fill="#4D4D4D" sketch:type="MSShapeGroup"></path>
<path d="M415.13086,161.21289 C446.07103,161.21289 471.15234,184.79287 471.15234,213.92188 L471.15234,213.95508 C471.15234,243.08408 446.07103,266.69727 415.13086,266.69727 C384.19069,266.69727 359.10938,243.08408 359.10938,213.95508 L359.10938,213.92188 C359.10938,184.79287 384.19069,161.21289 415.13086,161.21289 L415.13086,161.21289 Z M327.15234,161.89258 C335.9889,161.89258 343.40028,163.67723 352.41992,167.98242 L352.41992,190.73438 C343.87628,182.87089 336.46483,179.58008 326.66406,179.58008 C307.4002,179.58008 292.25,194.59455 292.25,213.63086 C292.25,233.70517 306.93133,247.82617 327.61914,247.82617 C336.93171,247.82617 344.20582,244.70584 352.41992,236.96875 L352.41992,259.73242 C343.07888,263.87291 335.50876,265.50781 326.66406,265.50781 C295.38621,265.50781 271.08203,242.91198 271.08203,213.77148 C271.08203,184.94507 296.03316,161.89258 327.15234,161.89258 L327.15234,161.89258 Z M230.03906,162.51953 C241.58477,162.51953 252.14952,166.24004 260.98242,173.51367 L250.23438,186.76172 C244.88362,181.11594 239.82337,178.73438 233.66992,178.73438 C224.81668,178.73437 218.36914,183.47936 218.36914,189.72266 C218.36914,195.07734 221.98883,197.91138 234.31445,202.20508 C257.67927,210.24859 264.60352,217.3809 264.60352,233.13086 C264.60352,252.32421 249.62806,265.68359 228.2832,265.68359 C212.65323,265.68359 201.29008,259.88895 191.82617,246.8125 L205.09375,234.78125 C209.82489,243.39164 217.71615,248.00391 227.51367,248.00391 C236.67693,248.00391 243.46094,242.05155 243.46094,234.01953 C243.46094,229.85606 241.40612,226.28585 237.30273,223.76172 C235.2368,222.56668 231.1447,220.78491 223.10352,218.11523 C203.81198,211.57701 197.19336,204.58834 197.19336,190.92969 C197.19336,174.70478 211.40702,162.51953 230.03906,162.51953 L230.03906,162.51953 Z M464.76172,164.24805 L487.19922,164.24805 L515.2832,230.83984 L543.72852,164.24805 L565.99609,164.24805 L520.50195,265.93359 L509.44922,265.93359 L464.76172,164.24805 L464.76172,164.24805 Z M67.414062,164.40039 L97.564453,164.40039 C130.87609,164.40039 154.09766,184.78179 154.09766,214.04102 C154.09766,228.63041 146.99364,242.73654 134.98047,252.09766 C124.87172,259.99945 113.35396,263.54297 97.40625,263.54297 L67.414062,263.54297 L67.414062,164.40039 L67.414062,164.40039 Z M163.54883,164.40039 L184.08984,164.40039 L184.08984,263.54297 L163.54883,263.54297 L163.54883,164.40039 L163.54883,164.40039 Z M575.2832,164.40039 L633.53516,164.40039 L633.53516,181.19922 L595.80859,181.19922 L595.80859,203.20508 L632.14453,203.20508 L632.14453,219.99609 L595.80859,219.99609 L595.80859,246.75781 L633.53516,246.75781 L633.53516,263.54297 L575.2832,263.54297 L575.2832,164.40039 L575.2832,164.40039 Z M647.14062,164.40039 L677.5957,164.40039 C701.28599,164.40039 714.86133,175.11052 714.86133,193.67188 C714.86133,208.85113 706.34712,218.81273 690.875,221.77734 L724.02344,263.54297 L698.76367,263.54297 L670.33398,223.71484 L667.65625,223.71484 L667.65625,263.54297 L647.14062,263.54297 L647.14062,164.40039 L647.14062,164.40039 Z M667.65625,180.01562 L667.65625,210.04102 L673.6582,210.04102 C686.77472,210.04102 693.72656,204.67918 693.72656,194.71289 C693.72656,185.06451 686.77347,180.01562 673.98242,180.01562 L667.65625,180.01562 L667.65625,180.01562 Z M87.939453,181.19922 L87.939453,246.75781 L93.451172,246.75781 C106.72432,246.75781 115.10685,244.36382 121.56055,238.87891 C128.66438,232.92288 132.9375,223.41276 132.9375,213.89844 C132.9375,204.39943 128.66438,195.17283 121.56055,189.2168 C114.77608,183.43696 106.72432,181.19922 93.451172,181.19922 L87.939453,181.19922 L87.939453,181.19922 Z" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
<path d="M779.981917,288.361069 C753.932037,306.691919 558.904907,437.700579 221.228007,500.98412 L724.989727,500.98412 C755.355357,500.98412 779.981917,476.35474 779.981917,445.980209 L779.981917,288.361069 L779.981917,288.361069 Z" id="Shape-9" fill="#F47216" sketch:type="MSShapeGroup"></path>
</g>
</g>
</svg>
\ No newline at end of file
table.tablesorter thead tr .easy-table-header {
cursor: pointer;
background-repeat: no-repeat;
background-position: center right;
}
table.tablesorter thead tr .easy-table-header:hover{
background-image: url(https://gigaom.com/wp-content/plugins/easy-table/images/bg.gif);
}
table.tablesorter thead tr .headerSortUp,
table.tablesorter thead tr .headerSortDown:hover{
background-image: url(https://gigaom.com/wp-content/plugins/easy-table/images/asc.gif);
}
table.tablesorter thead tr .headerSortDown,
table.tablesorter thead tr .headerSortUp:hover {
background-image: url(https://gigaom.com/wp-content/plugins/easy-table/images/desc.gif);
}
@media (max-width: 767px) {
.table-responsive {
width: 100%;
margin-bottom: 15px;
overflow-x: scroll;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid #ddd;
}
.table-responsive > .table {
margin-bottom: 0;
}
.table-responsive > .table > thead > tr > th,
.table-responsive > .table > tbody > tr > th,
.table-responsive > .table > tfoot > tr > th,
.table-responsive > .table > thead > tr > td,
.table-responsive > .table > tbody > tr > td,
.table-responsive > .table > tfoot > tr > td {
white-space: nowrap;
}
.table-responsive > .table-bordered {
border: 0;
}
.table-responsive > .table-bordered > thead > tr > th:first-child,
.table-responsive > .table-bordered > tbody > tr > th:first-child,
.table-responsive > .table-bordered > tfoot > tr > th:first-child,
.table-responsive > .table-bordered > thead > tr > td:first-child,
.table-responsive > .table-bordered > tbody > tr > td:first-child,
.table-responsive > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
.table-responsive > .table-bordered > thead > tr > th:last-child,
.table-responsive > .table-bordered > tbody > tr > th:last-child,
.table-responsive > .table-bordered > tfoot > tr > th:last-child,
.table-responsive > .table-bordered > thead > tr > td:last-child,
.table-responsive > .table-bordered > tbody > tr > td:last-child,
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
.table-responsive > .table-bordered > tbody > tr:last-child > th,
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
.table-responsive > .table-bordered > tbody > tr:last-child > td,
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
border-bottom: 0;
}
}
\ No newline at end of file
table.tablesorter thead tr .easy-table-header {
cursor: pointer;
background-repeat: no-repeat;
background-position: center right;
}
table.tablesorter thead tr .easy-table-header:hover{
background-image: url(../images/bg.gif);
}
table.tablesorter thead tr .headerSortUp,
table.tablesorter thead tr .headerSortDown:hover{
background-image: url(../images/asc.gif);
}
table.tablesorter thead tr .headerSortDown,
table.tablesorter thead tr .headerSortUp:hover {
background-image: url(../images/desc.gif);
}
@media (max-width: 767px) {
.table-responsive {
width: 100%;
margin-bottom: 15px;
overflow-x: scroll;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid #ddd;
}
.table-responsive > .table {
margin-bottom: 0;
}
.table-responsive > .table > thead > tr > th,
.table-responsive > .table > tbody > tr > th,
.table-responsive > .table > tfoot > tr > th,
.table-responsive > .table > thead > tr > td,
.table-responsive > .table > tbody > tr > td,
.table-responsive > .table > tfoot > tr > td {
white-space: nowrap;
}
.table-responsive > .table-bordered {
border: 0;
}
.table-responsive > .table-bordered > thead > tr > th:first-child,
.table-responsive > .table-bordered > tbody > tr > th:first-child,
.table-responsive > .table-bordered > tfoot > tr > th:first-child,
.table-responsive > .table-bordered > thead > tr > td:first-child,
.table-responsive > .table-bordered > tbody > tr > td:first-child,
.table-responsive > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
.table-responsive > .table-bordered > thead > tr > th:last-child,
.table-responsive > .table-bordered > tbody > tr > th:last-child,
.table-responsive > .table-bordered > tfoot > tr > th:last-child,
.table-responsive > .table-bordered > thead > tr > td:last-child,
.table-responsive > .table-bordered > tbody > tr > td:last-child,
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
.table-responsive > .table-bordered > tbody > tr:last-child > th,
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
.table-responsive > .table-bordered > tbody > tr:last-child > td,
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
border-bottom: 0;
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
jQuery(document).ready(function () {
jQuery('.wcqb_button').click(function () {
var product_id = jQuery(this).attr('data-product-id');
var product_type = jQuery(this).attr('data-product-type');
var selected = jQuery('form.cart input#wc_quick_buy_hook_' + product_id);
var productform = selected.parent();
productform.append('<input type="hidden" value="true" name="quick_buy" />');
var submit_btn = productform.find('[type="submit"]');
var is_disabled = submit_btn.is(':disabled');
if ( is_disabled ) {
jQuery('html, body').animate({
scrollTop: submit_btn.offset().top - 200
}, 900);
} else {
productform.find('[type="submit"]').click();
}
});
jQuery('form.cart').change(function () {
var is_submit_disabled = jQuery(this).find('[type="submit"]').is(':disabled');
if ( is_submit_disabled ) {
jQuery('.wcqb_button').attr('disabled', 'disable');
} else {
jQuery('.wcqb_button').removeAttr('disabled');
}
})
});
\ No newline at end of file
<svg role="img" aria-label="Gigaom Logo" xmlns="http://www.w3.org/2000/svg" version="1.1" class="gigaom-logo" x="0" y="0" width="125.49" height="40.52" viewBox="0 0 125.49 40.52" enable-background="new 0 0 125.49 40.523" xml:space="preserve"><title>Gigaom</title><desc>Gigaom Logo</desc><path fill="#FFFFFF" d="M28.51 17.86h-8.41v3.41h3.85c-0.67 1.55-2.07 2.47-3.78 2.47 -2.53 0-4.52-2.01-4.52-4.57 0-2.63 1.87-4.61 4.35-4.61 1.45 0 2.54 0.55 3.55 1.79l0.09 0.1 3.16-2.44 -0.09-0.11c-1.65-2.04-4.13-3.2-6.82-3.2 -4.8 0-8.42 3.63-8.42 8.45 0 4.78 3.64 8.38 8.47 8.38 2.2 0 4.3-0.81 5.92-2.28 1.81-1.64 2.7-3.74 2.7-6.41 0-0.14 0-0.53-0.02-0.85L28.51 17.86z"/><rect x="30.68" y="10.95" fill="#FFFFFF" width="4.2" height="16.28"/><path fill="#FFFFFF" d="M54.07 17.86h-8.41v3.41h3.85c-0.67 1.55-2.07 2.47-3.78 2.47 -2.53 0-4.52-2.01-4.52-4.57 0-2.63 1.87-4.61 4.35-4.61 1.45 0 2.55 0.55 3.55 1.79l0.08 0.1 3.16-2.44 -0.09-0.11c-1.65-2.04-4.13-3.2-6.81-3.2 -4.8 0-8.43 3.63-8.43 8.45 0 4.78 3.65 8.38 8.47 8.38 2.2 0 4.3-0.81 5.92-2.28 1.81-1.64 2.7-3.74 2.7-6.41 0-0.14 0-0.53-0.02-0.85L54.07 17.86z"/><path fill="#FFFFFF" d="M66.84 27.23l-0.81-2.34h-6.42l-0.8 2.34h-4.76l6.13-16.28h5.28l6.15 16.28H66.84zM62.81 15.1l-2.08 6.13h4.15L62.81 15.1z"/><path fill="#009BFF" d="M71.75 19.1c0-5.11 3.85-8.68 8.98-8.68 5.13 0 8.95 3.57 8.95 8.68 0 5.11-3.82 8.68-8.95 8.68C75.59 27.78 71.75 24.21 71.75 19.1M85.27 19.1c0-2.74-1.78-4.85-4.55-4.85 -2.79 0-4.58 2.11-4.58 4.85 0 2.72 1.79 4.86 4.58 4.86C83.49 23.96 85.27 21.82 85.27 19.1"/><path fill="#FFFFFF" d="M103.02 10.95l-3.42 8.84 -3.39-8.84h-6.23v0.47c1.71 2.09 2.73 4.76 2.73 7.67 0 2.91-1.02 5.58-2.73 7.67v0.48h4.59V16.63l4.1 10.6h1.86l4.13-10.6V27.23h4.59V10.95H103.02z"/></svg>
\ No newline at end of file
.widget .go-ads-slot {
background: #eee;
border: 1px solid #ddd;
margin-bottom: 1em;
padding: 0.5em;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
}
.takeover-ad {
margin-top: 20px;
}
.takeover-ad th {
text-align: left;
}
.takeover-ad th span {
font-size: 16px;
font-weight: normal;
font-style: normal;
}
.takeover-ad .clear {
text-align: center;
}
.takeover-ad pre {
background: #eee;
border: 1px solid #ddd;
margin-bottom: 1em;
padding: 0.5em;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
}
(function( $ ) {
'use strict';
go_ads.init = function() {
this.$ads = $( '.go-ad' );
go_ads.debug = true;
// Set up DFP targeting, and enable services. For all ads that have been defined, display them.
googletag.cmd.push( function() {
if ( 'object' === typeof go_ads.dfp_targeting ) {
$.each( go_ads.dfp_targeting, function( key, values ) {
googletag.pubads().setTargeting( key, values );
if ( go_ads.debug ) {
console.log( 'go-ads setTargeting', key, values );
}
});
}
//googletag.pubads().setForceSafeFrame(true);
googletag.pubads().enableSingleRequest();
googletag.enableServices();
if ( go_ads.debug ) {
console.log( 'go-ads enabling services' );
}//end if
});
// let's define some ad slots
//setTimeout( go_ads.define_ads, 1500, go_ads.$ads, true );
go_ads.define_ads( go_ads.$ads, true );
};
/**
* defines ads
*/
go_ads.define_ads = function( $ads, do_display ) {
$ads.each(function() {
go_ads.define_slot( $( this ), do_display );
});
};
/**
* defines an ad with googletag and optionally displays them
*/
go_ads.define_slot = function( $ad, do_display ) {
var $ad_container = $ad.find( '.ad-container' );
var ad_slot = $ad_container.data( 'ad-slot' ) || '';
var div_id = $ad_container.attr( 'id' );
// if the ad-container has a div child, it has already been enabled and displayed. bail.
if ( $ad_container.find( 'div' ).length ) {
return;
}//end if
if ( ! ad_slot || ! $ad.is( ':visible' ) ) {
return;
}//end if
var dfp = $ad_container.data( 'ad-dfp' );
var dimensions = [ $ad_container.data( 'ad-width' ), $ad_container.data( 'ad-height' ) ];
// Define the slot if the ad is visible
if ( $ad.is( ':visible' ) ) {
googletag.cmd.push( function() {
// Find out if the slot has already been defined
var slot_defined = false;
if ( 'undefined' !== typeof googletag.getSlots ) {
$.each( googletag.getSlots(), function( key, values ) {
if ( values.G === dfp ) {
slot_defined = true;
}
} );
}
// If the slot has been defined we won't do the work
if ( false === slot_defined ) {
googletag.defineSlot( dfp, dimensions, div_id ).addService( googletag.pubads() );
//googletag.defineSlot( dfp, dimensions, div_id ).setForceSafeFrame(true).addService( googletag.pubads() );
go_ads.defined_slots.push( ad_slot );
if ( go_ads.debug ) {
console.log( 'blargh!' );
console.log( 'go-ads defining slot: ' + ad_slot, dfp, dimensions, div_id );
}//end if
if ( do_display ) {
googletag.display( div_id );
}//end if
}
});
}//end if
};
$( function() {
go_ads.init();
});
})( jQuery );
if ( 'undefined' === typeof go_advisories_sign_up ) {
var go_advisories_sign_up = {};
}//end if
(function( $ ) {
'use strict';
// Start me up!
go_advisories_sign_up.init = function() {
// cache input
var $email_input = $( 'input[name="go-subscriptions[email]"]' );
this.$submit = $( '.subscribe button[type="submit"]' );
// our callbacks
$(document).on( 'submit', '.subscribe', function( e ) {
e.preventDefault();
go_advisories_sign_up.$submit.addClass('disabled');
});
$(document).on( 'keydown', '.subscribe input', function( e ) {
go_advisories_sign_up.$submit.removeClass('disabled');
});
$(document).on( 'change', '.subscribe select', function( e ) {
go_advisories_sign_up.$submit.removeClass('disabled');
});
$(document).on( 'click', '#go-subscriptions-signup .button', function( e ) {
e.preventDefault();
$('#go-subscriptions-signup').submit();
});
$(document).on( 'blur', 'input[name="go-subscriptions[email]"]', function( e ) {
// is the user attempting to sign up with a consumer email service's domain?
e.preventDefault();
var $email = $email_input.val();
if ( $email.length === 0 ) {
return;
}
if ( go_advisories_sign_up.check_for_commercial_email_domain( $email ) ) {
var msg = 'You can only invite team members from the same email domain as the account you are creating. ' +
go_advisories_sign_up.get_email_domain( $email ) +
' is a consumer email address. Are you sure you do not want to use your company email address?';
$( document.getElementById( 'email-domain-alert-msg' ) ).text( msg );
$( document.getElementById( 'email-domain-alert' ) ).bumpdown();
$( document.getElementById( 'email-domain-alert' ) ).click();
}
});
};//END go_advisories_sign_up.init
// extract domain from email address string
go_advisories_sign_up.get_email_domain = function( address ) {
var emailParts = address.split('@');
// There must be exactly 2 parts
return 'undefined' !== typeof emailParts[1] ? emailParts[1] : null;
}; //END go_advisories_sign_up.get_email_domain
// check if the user wants sign up for an advisory using a commercial email service
go_advisories_sign_up.check_for_commercial_email_domain = function( email ) {
if ( typeof email !== 'string' || email.indexOf('@') === -1 ) {
return false;
}
var domain = this.get_email_domain( email );
if ( ! domain ) {
return false;
}
// get list from localized data:
var domains = go_advisories_sign_up_settings.warn_email_domains;
if ( 'undefined' === typeof domains ) {