!function(){var e={9170:function(){(()=>{function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function t(t){for(var o=1;o':'',email:'',copy:'',print:'',sms:'',messenger:'',facebook:'',whatsapp:'',twitter:'',linkedin:'',telegram:'',skype:'',pinterest:''};return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(l,s){n.title&&"string"==typeof n.title&&n.text&&"string"==typeof n.text||s("Invalid Params");var r=n.title,p=n.url,d=n.fbId,h=n.hashtags,m=n.via,f=n.hashtag,u=t(t({},{copy:!0,print:!0,email:!0,sms:!0,messenger:!0,facebook:!0,whatsapp:!0,twitter:!0,linkedin:!0,telegram:!0,skype:!0,pinterest:!0,language:"en"}),o),g=t(t({},e.default),e[u.language]?e[u.language]:e[navigator.language]||e[navigator.language.substr(0,2).toLowerCase()]||e.en),v=n.text||r,y=encodeURIComponent(n.image);function w(){b.classList.remove("visible"),k.classList.remove("visible"),b.addEventListener("transitionend",(function e(){b.removeEventListener("transitionend",e),document.body.removeChild(b)})),k.addEventListener("transitionend",(function e(){k.removeEventListener("transitionend",e),document.body.removeChild(k),document.head.removeChild(document.querySelector("#shareAPIPolyfill-style")),document.removeEventListener("keyup",P)}))}!function(e){var t=e,n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",o.appendChild(document.createTextNode(t)),o.id="shareAPIPolyfill-style",n.appendChild(o)}('\n#shareAPIPolyfill-backdrop,\n#shareAPIPolyfill-container {\n opacity: 0;\n pointer-events: none;\n position: fixed;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n margin: auto;\n width: 100%;\n height: 100%;\n will-change: opacity;\n z-index: 99999999;\n}\n#shareAPIPolyfill-backdrop {\n transition: opacity linear 250ms;\n background-color: rgba(0, 0, 0, 0.6);\n}\n#shareAPIPolyfill-container {\n color: #424242;\n background-color: #f9f9f9;\n top: auto;\n max-width: 400px;\n height: auto;\n transition-property: transform,opacity;\n transition-timing-function: linear;\n transition-duration: 250ms;\n transition-delay: 150ms;\n transform: translateY(100%);\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", arial, sans-serif, "Microsoft JhengHei";\n}\n#shareAPIPolyfill-backdrop.visible,\n#shareAPIPolyfill-container.visible {\n opacity: 1;\n pointer-events: all;\n}\n#shareAPIPolyfill-container.visible {\n transform: translateY(0);\n}\n#shareAPIPolyfill-container .shareAPIPolyfill-header {\n background: #EEE;\n}\n#shareAPIPolyfill-container .shareAPIPolyfill-header .shareAPIPolyfill-icons-container {\n display: flex;\n}\n#shareAPIPolyfill-container .shareAPIPolyfill-header-title {\n background-color: #E0E0E0;\n padding: 10px 18px;\n color: #424242;\n font-weight: 600;\n}\n#shareAPIPolyfill-container .shareAPIPolyfill-body {\n border-top: solid 1px #EEE;\n}\n#shareAPIPolyfill-container .shareAPIPolyfill-footer {\n width: 100%;\n display: block;\n border: none;\n transition: opacity ease-in 250ms;\n border-top: solid 1px #EEE;\n background-color: #EEE;\n text-align: center;\n padding: 10px;\n font-size:13px;\n cursor: pointer;\n opacity: .5;\n}\n#shareAPIPolyfill-container .shareAPIPolyfill-footer:hover {\n opacity: 1;\n}\n#shareAPIPolyfill-container .shareAPIPolyfill-icons-container {\n display: flex;\n flex-wrap: wrap;\n}\n#shareAPIPolyfill-container .tool-icon {\n border: none;\n display: inline-block;\n width: 25%;\n box-sizing: border-box;\n font-weight: 400;\n font-size: 12px;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n cursor: pointer;\n background-color: transparent;\n padding: 20px 0;\n}\n#shareAPIPolyfill-container .tool-icon:hover {\n box-shadow: inset 0 0 20px rgba(0,0,0, .125);\n}\n#shareAPIPolyfill-container .the-icon-title {\n padding-top: 10px;\n display: block;\n}\n.shareAPIPolyfill-header-title .the-icon {\n\tdisplay: inline-block;\n\theight: 20px;\n\twidth: 20px;\n\tpadding-right: 5px;\n\tvertical-align:'.concat(a?"-2px":"-4px",";\n}\n.shareAPIPolyfill-icons-container.title .tool-icon .the-icon,\n.shareAPIPolyfill-icons-container.body .tool-icon .the-icon {\n display: block;\n margin: auto;\n width: 42px;\n height: 36px;\n}\n.shareAPIPolyfill-icons-container.title .tool-icon .the-icon {\n height: 24px;\n}\n.shareAPIPolyfill-icons-container .hidden {\n display: none !important;\n}\n"));var b=document.createElement("div"),k=document.createElement("div");function P(e){27===e.keyCode&&w()}b.id="shareAPIPolyfill-backdrop",k.id="shareAPIPolyfill-container",k.setAttribute("tabindex","0"),k.innerHTML='\n
\n
'.concat(c.share," ").concat(g.shareTitle,'
\n
\n \n \n \n \n
\n
\n
\n
\n ').concat(d?'\n \n "):"",'\n \n \n \n \n \n \n \n
\n \n
\n"),b.addEventListener("click",(function(){w()})),!1!==u.skype&&function(e,t,n){e.loadSkypeWebSdkAsync=e.loadSkypeWebSdkAsync||function(e){var o,a=t.getElementsByTagName(n)[0];t.getElementById(e.id)||((o=t.createElement(n)).id=e.id,o.src=e.scriptToLoad,o.onload=e.callback,a.parentNode.insertBefore(o,a))},e.loadSkypeWebSdkAsync({scriptToLoad:"https://swx.cdn.skype.com/shared/v/latest/skypewebsdk.js",id:"skype_web_sdk"})}(window,document,"script"),requestAnimationFrame((function(e){document.body.appendChild(b),document.body.appendChild(k),document.addEventListener("keyup",P),Array.from(k.querySelectorAll(".tool-icon")).forEach((function(e){e.addEventListener("click",(function(t){var o=encodeURIComponent(v+": "+p);switch(e.dataset.tool){case"copy":navigator.clipboard.writeText("".concat(r,"\n").concat(n.text||"","\n").concat(p));break;case"print":setTimeout((function(e){self.print()}),500);break;case"email":var a="".concat(encodeURIComponent(v),"%0D%0A"),c="mailto:?subject=".concat(r,"&body=").concat(a).concat(encodeURIComponent(p));window.open(c);break;case"sms":location.href="sms:".concat(g.selectSms,"?&body=").concat(encodeURIComponent(r),": ").concat(encodeURIComponent(n.text||"")," ").concat(p);break;case"messenger":window.open("http://www.facebook.com/dialog/send?app_id="+d+"&display=popup&href="+encodeURIComponent(p)+"&link="+encodeURIComponent(p)+"&redirect_uri="+encodeURIComponent(p)+""e="+encodeURIComponent(v));break;case"facebook":window.open("https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(p)+""e="+encodeURIComponent(v)+"&hashtag="+(f||h||""));break;case"whatsapp":window.open((i?"https://api.whatsapp.com/send?text=":"whatsapp://send?text=")+encodeURIComponent(v+"\n"+p));break;case"twitter":window.open("https://twitter.com/intent/tweet?text=".concat(encodeURIComponent(v),"&url=").concat(encodeURIComponent(p),"&hashtags=").concat(h||"","&via=").concat(m?encodeURIComponent(m):""));break;case"linkedin":window.open("https://www.linkedin.com/shareArticle?mini=true&url=".concat(encodeURIComponent(p),"&title=").concat(r,"&summary=").concat(v,"&source=LinkedIn"));break;case"telegram":window.open(i?"https://telegram.me/share/msg?url="+encodeURIComponent(p)+"&text="+encodeURIComponent(v):"tg://msg?text="+o);break;case"pinterest":window.open("https://pinterest.com/pin/create/button/?url="+encodeURIComponent(p)+"&description="+encodeURIComponent(v)+"&media="+y)}l(),w()}))})),k.querySelector(".shareAPIPolyfill-footer").addEventListener("click",w),requestAnimationFrame((function(){b.classList.add("visible"),k.classList.add("visible")})),document.getElementById("shareAPIPolyfill-container").focus()}))}))}}()})()}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";n(9170);const e=document.querySelector("link[rel=canonical]")?document.querySelector("link[rel=canonical]").href:document.location.href,t=[{icon:'',name:"Instagram",href:`https://www.instagram.com/stories/new/?url=${e}`},{icon:'',name:"Flipboard",href:`https://share.flipboard.com/bookmarklet/popout?url=${e}`}];function o(){const{title:t}=document;navigator.share({title:t,url:e},{twitter:!1,skype:!1,print:!1}).catch(console.error)}function a(){const e=document.querySelector(".shareAPIPolyfill-body .shareAPIPolyfill-icons-container");e&&t.forEach((t=>{if(document.querySelector(`[data-tool="${t.name.toLowerCase()}"]`))return;const n=document.createElement("a");n.href=t.href,n.target="_blank",n.rel="noopener noreferrer",n.classList.add("tool-icon"),n.setAttribute("data-tool",t.name.toLowerCase()),n.innerHTML=t.icon;n.querySelector("svg").classList.add("the-icon");const o=document.createElement("span");o.classList.add("the-icon-title"),o.textContent=t.name,n.appendChild(o),e.appendChild(n)}))}!function(){const e=document.querySelector("body");new MutationObserver((e=>{for(const t of e){document.getElementById("shareAPIPolyfill-container")&&a()}})).observe(e,{attributes:!1,childList:!0,subtree:!1})}(),document.querySelectorAll(".wp-block-gearpatrol-share").forEach((e=>{e.addEventListener("click",o)}))}()}();; (()=>{const e=document.querySelectorAll(".wp-block-gearpatrol-product-list");0!==e.length&&e.forEach((e=>{const t=e.querySelector(".wp-block-gearpatrol-product-list__button");t&&t.addEventListener("click",(e=>t=>{const l="is-hidden",r=t.target;t.preventDefault(),e.querySelectorAll(`.wp-block-gearpatrol-product-list__item.${l}`).forEach((e=>e.classList.remove(l))),r.parentElement.style.display="none"})(e))}))})();; !function(){"use strict";const t=document.querySelectorAll(".is-entire-card-clickable .wp-block-post, .is-entire-card-clickable.wp-block-post, :where(:not(.wp-block-post)) .wp-block-gearpatrol-card");Array.from(t).filter((t=>!t.parentElement.classList.contains("wp-block-post")&&!t.parentElement.classList.contains("wp-block-gearpatrol-product"))).forEach((function(t){const e=t.querySelector(".wp-block-post-title a")||t.querySelector("h1 a, h2 a, h3 a, h4 a, h5 a, h6 a")||t.querySelector("a");if(!e)return;function o(){return{timestamp:+new Date,verticalScrollPosition:window.scrollY,horizontalScrollPosition:t.scrollLeft}}let r,s;t.style.cursor="pointer";const n=()=>{s=o()},i=t=>{r=o();const n=t.target.closest("button"),i=t.target.closest("a");if(n||i)return;if(r.timestamp-s.timestamp>200)return;if(Math.abs(r.verticalScrollPosition-s.verticalScrollPosition)>5)return;if(Math.abs(r.horizontalScrollPosition-s.horizontalScrollPosition)>5)return;const c=new MouseEvent("click",t);e.dispatchEvent(c)};t.addEventListener("mousedown",n,{passive:!0}),t.addEventListener("touchstart",n,{passive:!0}),t.addEventListener("mouseup",i,{passive:!0}),t.addEventListener("touchend",i,{passive:!0})}))}();; !function(){"use strict";const t=document.querySelectorAll(".wp-block-gearpatrol-product");Array.from(t).filter((t=>!t.parentElement.classList.contains("wp-block-post"))).forEach((function(t){const e=t.querySelector(".wp-block-gearpatrol-product-retailer-links__retailer__link");if(!e)return;const o=t.querySelector("img");if(!o)return;function r(){return{timestamp:+new Date,verticalScrollPosition:window.scrollY,horizontalScrollPosition:t.scrollLeft}}let n,i;o.style.cursor="pointer";const s=()=>{i=r()},l=t=>{n=r();const o=t.target.closest("button"),s=t.target.closest("a");if(o||s)return;if(n.timestamp-i.timestamp>200)return;if(Math.abs(n.verticalScrollPosition-i.verticalScrollPosition)>5)return;if(Math.abs(n.horizontalScrollPosition-i.horizontalScrollPosition)>5)return;const l=new MouseEvent("click",t);e.dispatchEvent(l)};o.addEventListener("mousedown",s,{passive:!0}),o.addEventListener("touchstart",s,{passive:!0}),o.addEventListener("mouseup",l,{passive:!0}),o.addEventListener("touchend",l,{passive:!0})}))}();; !function(){function e(e){const t=e.offsetHeight;e.style.setProperty("--sidebar-height",`${t}px`)}[].forEach((t=>{e(t);new ResizeObserver((t=>{for(const o of t)e(o.target)})).observe(t)}))}();;