Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
!function(){"use strict";var t={n:function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,{a:r}),r},d:function(e,r){for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}},e=window.ctEvents,r=t.n(e),o=window.blocksyCustomizerSync;function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}r().on("ct:customizer:sync:collect-variable-descriptors",(function(t){t.result=c(c(c(c(c({},t.result),(0,o.withKeys)(["shortcuts_container_height","shortcuts_bar_visibility"],[{selector:":root",variable:"shortcuts-container-height",responsive:!0,extractValue:function(){return wp.customize("shortcuts_container_height")()},unit:"px"},{selector:".ct-has-shortcuts-bar",variable:"shortcuts-bar-spacer",responsive:!0,extractValue:function(){var t=wp.customize("shortcuts_bar_visibility")(),e=wp.customize("shortcuts_container_height")();return e.desktop||(e={desktop:e,tablet:e,mobile:e}),t.desktop||(e.desktop="0"),t.tablet||(e.tablet="0"),t.mobile||(e.mobile="0"),e},unit:"px"}])),{},{shortcuts_container_width:{selector:":root",variable:"shortcuts-container-width",unit:""},shortcuts_icon_size:{selector:".ct-shortcuts-container",variable:"icon-size",responsive:!0,unit:"px"}},(0,o.typographyOption)({id:"shortcuts_font",selector:".ct-shortcuts-container"})),{},{shortcuts_font_color:[{selector:".ct-shortcuts-container a",variable:"linkInitialColor",type:"color:default",responsive:!0},{selector:".ct-shortcuts-container a",variable:"linkHoverColor",type:"color:hover",responsive:!0}],shortcuts_icon_color:[{selector:".ct-shortcuts-container",variable:"icon-color",type:"color:default",responsive:!0},{selector:".ct-shortcuts-container",variable:"icon-hover-color",type:"color:hover",responsive:!0}],shortcuts_cart_badge_color:[{selector:'.ct-shortcuts-container [data-shortcut="cart"]',variable:"cartBadgeBackground",type:"color:background",responsive:!0},{selector:'.ct-shortcuts-container [data-shortcut="cart"]',variable:"cartBadgeText",type:"color:text",responsive:!0}],shortcuts_divider:{selector:".ct-shortcuts-container",variable:"shortcuts-divider",type:"border"},shortcuts_divider_height:[{selector:".ct-shortcuts-container",variable:"shortcuts-divider-height",unit:"%"}]},(0,o.handleBackgroundOptionFor)({id:"shortcuts_container_background",selector:".ct-shortcuts-container",responsive:!0})),{},{shortcuts_container_shadow:{selector:".ct-shortcuts-container",type:"box-shadow",variable:"box-shadow",responsive:!0},shortcuts_container_border_radius:{selector:".ct-shortcuts-container",type:"spacing",variable:"border-radius",responsive:!0}})})),wp.customize("shortcuts_bar_visibility",(function(t){return t.bind((function(t){return(0,o.responsiveClassesFor)("shortcuts_bar_visibility",document.querySelector(".ct-shortcuts-container"))}))})),wp.customize("shortcuts_bar_type",(function(t){t.bind((function(t){var e=document.querySelector(".ct-shortcuts-container");e&&(e.dataset.type=t)}))})),wp.customize("shortcuts_label_position",(function(t){t.bind((function(t){var e;(e=document.querySelectorAll(".ct-shortcuts-container a"),function(t){if(Array.isArray(t))return s(t)}(e)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){e.dataset.label=t}))}))})),wp.customize("shortcuts_bar_items",(function(t){t.bind((function(t){var e=document.querySelector(".ct-shortcuts-container");e&&t.filter((function(t){return!!t.enabled})).map((function(t,r){var n=e.children[r];if(n){(0,o.responsiveClassesFor)(t.item_visibility||{desktop:!0,tablet:!0,mobile:!0},n);var c=n.querySelector(".ct-label");"custom_link"===t.id&&n.setAttribute("href",t.link),c&&(c.innerHTML=t.label)}}))}))}))}();