!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=41)}({41:function(t,e,n){"use strict";n.r(e);var i,o=n(8),r=n.n(o);function a(t){return t.id.replace("wp-admin-bar-ab-testing-for-wp_","")}function l(){if(window.ABTestingForWP_AdminBar){var t=window.ABTestingForWP_AdminBar,e="wp-admin-bar-ab-testing-for-wp_";document.querySelectorAll(".ab-testing-for-wp__test").forEach(function(t){return t.classList.remove("ab-testing-for-wp__enabled")}),document.querySelectorAll(".ab-testing-for-wp__variant").forEach(function(t){return t.classList.remove("ab-testing-for-wp__selected")}),t.testsData.forEach(function(n){var i=document.getElementById("".concat(e).concat(n.id));i&&(n.isEnabled&&i.classList.add("ab-testing-for-wp__enabled"),n.variants.forEach(function(i){var o=document.getElementById("".concat(e).concat(i.id));o&&t.cookieData[n.id]===i.id&&o.classList.add("ab-testing-for-wp__selected")}))})}}function c(t,e){if(i!==t){i=t;var n="ab-testing-for-wp__highlight__".concat(t);if(!document.getElementById(n)){document.querySelectorAll(".ab-testing-for-wp__highlight").forEach(function(t){document.body&&document.body.removeChild(t)});var o,r,a,l=e.getBoundingClientRect(),c=(o=l,r=window.pageXOffset||(document.documentElement||{scrollLeft:0}).scrollLeft,a=window.pageYOffset||(document.documentElement||{scrollTop:0}).scrollTop,{top:o.top+a,left:o.left+r}),s=document.createElement("div");s.className="ab-testing-for-wp__highlight",s.setAttribute("id",n),s.style.position="absolute",s.style.width="".concat(l.width+30,"px"),s.style.height="".concat(l.height+30,"px"),s.style.top="".concat(c.top-15,"px"),s.style.left="".concat(c.left-15,"px"),document.body&&(document.body.appendChild(s),setTimeout(function(){document.body&&document.body.contains(s)&&document.body.removeChild(s)},5e3))}}}var s=window.wp.apiFetch;function f(){var t,e=a(this),n=(t=e,document.querySelector(".ABTestWrapper[data-test=".concat(t,"]")));n&&(r()(n),c(e,n))}function d(t){if(t.stopPropagation(),!this.classList.contains("ab-testing-for-wp__selected")&&window.ABTestingForWP_AdminBar&&window.ABTestingForWP){var e=window.ABTestingForWP_AdminBar.testsData,n=window.ABTestingForWP.postId,i=a(this),o=e.find(function(t){return t.variants.some(function(t){return t.id===i})});if(o){window.ABTestingForWP_AdminBar.cookieData[o.id]=i,l();var r=o.id;s({path:"/ab-testing-for-wp/v1/ab-test?test=".concat(r,"&variant=").concat(i,"&post=").concat(n)}).then(function(t){if(t.html){var e=document.querySelector(".ABTestWrapper[data-test=".concat(r,"]"));e&&(e.innerHTML=t.html)}})}}}document.addEventListener("DOMContentLoaded",function(){l(),document.querySelectorAll(".ab-testing-for-wp__test").forEach(function(t){t.addEventListener("mouseover",f)}),document.querySelectorAll(".ab-testing-for-wp__variant").forEach(function(t){t.addEventListener("click",d)})})},8:function(t,e){var n="complete",i="canceled";function o(t,e,n){t.self===t?t.scrollTo(e,n):(t.scrollLeft=e,t.scrollTop=n)}function r(t){var e=t._scrollSettings;if(e){var i=function(t,e,n){var i,o,r,a,l,c,s,f=t.getBoundingClientRect(),d=n&&null!=n.left?n.left:.5,u=n&&null!=n.top?n.top:.5,p=n&&null!=n.leftOffset?n.leftOffset:0,m=n&&null!=n.topOffset?n.topOffset:0,g=d,h=u;if(e.self===e)c=Math.min(f.width,e.innerWidth),s=Math.min(f.height,e.innerHeight),o=f.left+e.pageXOffset-e.innerWidth*g+c*g,r=f.top+e.pageYOffset-e.innerHeight*h+s*h,r-=m,a=(o-=p)-e.pageXOffset,l=r-e.pageYOffset;else{c=f.width,s=f.height,i=e.getBoundingClientRect();var w=f.left-(i.left-e.scrollLeft),v=f.top-(i.top-e.scrollTop);o=w+c*g-e.clientWidth*g,r=v+s*h-e.clientHeight*h,o=Math.max(Math.min(o,e.scrollWidth-e.clientWidth),0),r=Math.max(Math.min(r,e.scrollHeight-e.clientHeight),0),r-=m,a=(o-=p)-e.scrollLeft,l=r-e.scrollTop}return{x:o,y:r,differenceX:a,differenceY:l}}(e.target,t,e.align),a=Date.now()-e.startTime,l=Math.min(1/e.time*a,1);if(a>e.time&&e.endIterations>3)return o(t,i.x,i.y),t._scrollSettings=null,e.end(n);e.endIterations++;var c=1-e.ease(l);if(o(t,i.x-i.differenceX*c,i.y-i.differenceY*c),a>=e.time)return r(t);!function(t){if("requestAnimationFrame"in window)return window.requestAnimationFrame(t);setTimeout(t,16)}(r.bind(null,t))}}function a(t,e,n,o){var a,l=!e._scrollSettings,c=e._scrollSettings,s=Date.now();function f(t){e._scrollSettings=null,e.parentElement&&e.parentElement._scrollSettings&&e.parentElement._scrollSettings.end(t),o(t),e.removeEventListener("touchstart",a,{passive:!0}),e.removeEventListener("wheel",a,{passive:!0})}c&&c.end(i),e._scrollSettings={startTime:c?c.startTime:Date.now(),endIterations:0,target:t,time:n.time+(c?s-c.startTime:0),ease:n.ease,align:n.align,end:f},a=f.bind(null,i),e.addEventListener("touchstart",a,{passive:!0}),e.addEventListener("wheel",a,{passive:!0}),l&&r(e)}function l(t){return"pageXOffset"in t||(t.scrollHeight!==t.clientHeight||t.scrollWidth!==t.clientWidth)&&"hidden"!==getComputedStyle(t).overflow}function c(){return!0}t.exports=function(t,e,n){if(t){"function"==typeof e&&(n=e,e=null),e||(e={}),e.time=isNaN(e.time)?1e3:e.time,e.ease=e.ease||function(t){return 1-Math.pow(1-t,t/2)};for(var i=t.parentElement,o=0,r=e.validTarget||c,s=e.isScrollable;i;){if(r(i,o)&&(s?s(i,l):l(i))&&(o++,a(t,i,e,f)),!(i=i.parentElement))return;"BODY"===i.tagName&&(i=(i=i.ownerDocument).defaultView||i.ownerWindow)}}function f(t){--o||n&&n(t)}}}});