New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

guidechimp

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

guidechimp - npm Package Compare versions

Comparing version

to
1.7.5

2

dist/guidechimp.min.js

@@ -1,3 +0,3 @@

/*! GuideChimp v1.7.4 | Copyright (C) 2020 Labs64 GmbH */
/*! GuideChimp v1.7.5 | Copyright (C) 2020 Labs64 GmbH */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.GuideChimp=e():t.GuideChimp=e()}(window,function(){return n={},i.m=r=[function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}},function(t,e,r){"use strict";var n=r(0),i=n(r(3)),o=n(r(6));r(18);var s=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return(0,i.default)(o.default,e)};s.prototype=o.default.prototype,s.extend=function(t){for(var e=arguments.length,r=new Array(1<e?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return t.apply(void 0,[o.default,s].concat(r)),s},t.exports=s},function(n,t,e){var o=e(4),i=e(5);function s(t,e,r){return i()?n.exports=s=Reflect.construct:n.exports=s=function(t,e,r){var n=[null];n.push.apply(n,e);var i=new(Function.bind.apply(t,n));return r&&o(i,r.prototype),i},s.apply(null,arguments)}n.exports=s},function(r,t){function n(t,e){return r.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(t,e)}r.exports=n},function(t,e){t.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var C=n(r(7)),s=n(r(9)),i=n(r(10)),a=n(r(11)),c=n(r(16)),l=n(r(17));function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){(0,i.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var u=new Map,h=function(){function n(t){var e=this,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(0,c.default)(this,n),this.step=null,this.steps=[],this.tour=null,this.options={},this.cache=u,this.listeners={},this.observers={},"undefined"!=typeof ResizeObserver&&(this.observers.stepElementResizeObserver=new ResizeObserver(function(){return e.refresh()})),this.setOptions(r),this.setTour(t),this.init()}var t,e,r,i,o;return(0,l.default)(n,[{key:"init",value:function(){}},{key:"setTour",value:function(t){return this.tour=Array.isArray(t)?(0,a.default)(t):t,this}},{key:"getTour",value:function(){return this.tour}},{key:"setOptions",value:function(t){return this.options=x(x({},this.constructor.getDefaultOptions()),t),this}},{key:"getOptions",value:function(){return this.options}},{key:"start",value:(o=(0,s.default)(C.default.mark(function t(){var e,r,n,i=arguments;return C.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:0,r=!(1<i.length&&void 0!==i[1])||i[1],t.next=4,this.go(e,r);case 4:if(n=t.sent)return document.body.classList.add(this.constructor.getBodyClass()),this.options.useKeyboard&&this.addOnKeydownListener(),this.addOnWindowResizeListener(),t.next=11,this.emit("onStart");t.next=11;break;case 11:return t.abrupt("return",n);case 12:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"go",value:(i=(0,s.default)(C.default.mark(function t(e){var r,n,i,o,s,a,c,l,u,h,p,d,f,g,y,v,m,b,L=this,w=arguments;return C.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=!(1<w.length&&void 0!==w[1])||w[1],this.tour&&this.tour.length){t.next=3;break}return t.abrupt("return",!1);case 3:if(n=r?parseInt(e,10):e,i=x({},this.step),o=null,r?this.steps.indexOf(this.step)===n:this.step&&this.step.step===n)return t.abrupt("return",!1);t.next=9;break;case 9:if(this.steps=this.getSteps(this.tour),this.steps.length){t.next=12;break}return t.abrupt("return",!1);case 12:this.steps=this.sortSteps(this.steps),s=0;case 14:if(!(s<this.steps.length)){t.next=23;break}if(a=this.steps[s],r?s===n:a.step===n)return o=a,t.abrupt("break",23);t.next=20;break;case 20:s++,t.next=14;break;case 23:if(o){t.next=25;break}return t.abrupt("return",!1);case 25:return this.resetElementsHighlighting(),this.unobserveResizeAllStepsElements(),this.showOverlayLayer(),this.startPreloader(),c=o.onBeforeChange,l=o.onAfterChange,t.next=32,this.emit("onBeforeChange",o,i);case 32:if(t.sent.some(function(t){return!1===t}))return t.abrupt("return",!1);t.next=35;break;case 35:if(c)return t.next=38,Promise.resolve().then(function(){return c.call(L,o,i)});t.next=41;break;case 38:if(t.t0=t.sent,!1===t.t0)return t.abrupt("return",!1);t.next=41;break;case 41:return this.stopPreloader(),this.step=o,u=this.step,h=u.element,p=u.position,d=u.buttons,f=this.getStepElement(h),this.scrollParentToChildElement(f),this.scrollTo(f),g=this.showHighlightLayer(),y=this.showInteractionLayer(),v=this.showControlLayer(),this.setHighlightLayerPosition(g,f),this.setInteractionLayerPosition(y,f),this.setControlLayerPosition(v,f),m=this.showTooltipLayer(),this.showTooltipTail(),this.showProgressbar(),this.showTitle(this.step.title),this.showDescription(this.step.description),this.showClose(),this.showCustomButtonsLayer(d),b=this.showNavigation(),this.showNavigationPrev(),this.showPagination(),this.showNavigationNext(),Array.from(b.children).every(function(t){return t.classList.contains(L.constructor.getHiddenClass())})?b.classList.add(this.constructor.getHiddenClass()):b.classList.remove(this.constructor.getHiddenClass()),this.showCopyright(),this.setTooltipLayerPosition(m,f,{position:p,boundary:document.documentElement}),this.highlightElement(f),this.observeResizeStepElement(f),setTimeout(function(){L.scrollTo(m,"smooth")},300),this.emit("onAfterChange",o,i),l&&l.call(this,o,i),t.abrupt("return",!0);case 74:case"end":return t.stop()}},t,this)})),function(t){return i.apply(this,arguments)})},{key:"previous",value:(r=(0,s.default)(C.default.mark(function t(){var e,r,n,i=this;return C.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.step){t.next=2;break}return t.abrupt("return",!1);case 2:if(e=this.step.onPrevious,r=this.steps.indexOf(this.step)-1,n=this.steps[r]){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,this.emit("onPrevious",n,this.step);case 9:if(t.sent.some(function(t){return!1===t}))return t.abrupt("return",!1);t.next=12;break;case 12:if(e)return t.next=15,Promise.resolve().then(function(){return e.call(i,n,i.step)});t.next=18;break;case 15:if(t.t0=t.sent,!1===t.t0)return t.abrupt("return",!1);t.next=18;break;case 18:return t.abrupt("return",this.go(r,!0));case 19:case"end":return t.stop()}},t,this)})),function(){return r.apply(this,arguments)})},{key:"next",value:(e=(0,s.default)(C.default.mark(function t(){var e,r,n,i=this;return C.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.step){t.next=2;break}return t.abrupt("return",!1);case 2:if(e=this.step.onNext,r=this.steps.indexOf(this.step)+1,n=this.steps[r]){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,this.emit("onNext",n,this.step);case 9:if(t.sent.some(function(t){return!1===t}))return t.abrupt("return",!1);t.next=12;break;case 12:if(e)return t.next=15,Promise.resolve().then(function(){return e.call(i,n,i.step)});t.next=18;break;case 15:if(t.t0=t.sent,!1===t.t0)return t.abrupt("return",!1);t.next=18;break;case 18:return t.abrupt("return",this.go(r,!0));case 19:case"end":return t.stop()}},t,this)})),function(){return e.apply(this,arguments)})},{key:"stop",value:(t=(0,s.default)(C.default.mark(function t(){return C.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.steps.indexOf(this.step)===this.steps.length-1)return t.next=4,this.emit("onComplete");t.next=4;break;case 4:return t.next=6,this.emit("onStop");case 6:return this.step=null,this.steps=[],document.body.classList.remove(this.constructor.getBodyClass()),this.removeOnKeydownListener(),this.removeOnWindowResizeListener(),this.unobserveResizeAllStepsElements(),this.removePreloaderElement(),this.removeOverlayLayer(),this.removeControlLayer(),this.removeHighlightLayer(),this.removeInteractionLayer(),this.resetElementsHighlighting(),this.cache.clear(),t.abrupt("return",this);case 20:case"end":return t.stop()}},t,this)})),function(){return t.apply(this,arguments)})},{key:"getSteps",value:function(t){return t&&t.length?"string"==typeof t?this.getDataSteps(t):this.getJsSteps(t):[]}},{key:"getDataSteps",value:function(u){var h=this,p="data-guidechimp",t=Array.from(document.querySelectorAll("[".concat(p,"-tour*='").concat(u,"']")));t=t.filter(function(t){return t.getAttribute("".concat(p,"-tour")).split(",").includes(h.tour)});var d=new RegExp("^".concat(p,"-").concat(u,"-[^-]+$")),f=new RegExp("^".concat(p,"-[^-]+$"));return t.map(function(t,e){for(var r={},n=0;n<t.attributes.length;n++){var i=t.attributes[n],o=i.name,s=i.value,a=d.test(o),c=!a&&f.test(o);if(a||c){var l=a?o.replace("".concat(p,"-").concat(u,"-"),""):o.replace("".concat(p,"-"),"");"tour"!==l&&(a||c&&!r[l])&&(r[l]=s)}}return x(x({step:e,title:"",description:"",position:h.options.position,interaction:h.options.interaction},r),{},{element:t})})}},{key:"getJsSteps",value:function(t){return t.map(function(t,e){return x(x({},t),{},{step:t.step||e})})}},{key:"sortSteps",value:function(t){return(0,a.default)(t).sort(function(t,e){return t.step<e.step?-1:t.step>e.step?1:0})}},{key:"getStepElement",value:function(t){var e=t instanceof HTMLElement?t:document.querySelector(t);return e&&"none"!==e.style.display&&"hidden"!==e.style.visibility||(e=this.showDefaultElement()),e}},{key:"getScrollableParentElement",value:function(t,e){var i=1<arguments.length&&void 0!==e?e:["x","y"],o=/(auto|scroll)/,s=getComputedStyle(t);return"fixed"===s.getPropertyValue("position")?document.body:function t(e){if(!e||e===document.body)return document.body;var r=getComputedStyle(e);if("fixed"===s.getPropertyValue("position")&&"static"===r.getPropertyValue("position"))return t(e.parentElement);var n="";return(Array.isArray(i)?i:[i]).forEach(function(t){n+=r.getPropertyValue("overflow-".concat(t))}),o.test(n)?e:t(e.parentElement)}(t.parentElement)}},{key:"scrollParentToChildElement",value:function(t){var e=this.getScrollableParentElement(t,"x"),r=this.getScrollableParentElement(t,"y"),n=this.options.scrollPadding;return r!==document.body&&(r.scrollTop=t.offsetTop-r.offsetTop-n),e!==document.body&&(e.scrollLeft=t.offsetLeft-e.offsetLeft-n),this}},{key:"scrollTo",value:function(t,e){var r=1<arguments.length&&void 0!==e?e:"auto",n=t.getBoundingClientRect(),i=n.top,o=n.bottom,s=n.left,a=n.right,c=window,l=c.innerWidth,u=c.innerHeight,h=this.options.scrollPadding;return 0<=i&&0<=s&&o<=u&&a<=l||window.scrollBy({behavior:r,top:i-h,left:s-h}),this}},{key:"highlightElement",value:function(t){for(var e=t.parentElement;e&&e!==document.body;){t instanceof SVGElement&&"svg"===e.tagName.toLowerCase()&&(this.constructor.addElementClass(e,"".concat(this.constructor.getHighlightElementClass())),this.constructor.addElementClass(e,this.constructor.getRelativePositionClass()));var r=getComputedStyle(e),n=r.getPropertyValue("z-index"),i=r.getPropertyValue("opacity"),o=r.getPropertyValue("transform");(/[0-9]+/.test(n)||i<1||o&&"none"!==o)&&this.constructor.addElementClass(e,this.constructor.getFixStackingContext()),e=e.parentElement}this.constructor.addElementClass(t,this.constructor.getHighlightElementClass());var s=getComputedStyle(t);["absolute","relative","fixed"].includes(s.getPropertyValue("position"))||this.constructor.addElementClass(t,this.constructor.getRelativePositionClass());var a=this.cache.get("highlightEls")||new Set;return a.add(t),this.cache.set("highlightEls",a),this}},{key:"resetElementHighlighting",value:function(t){if(t){var e=this.cache.get("highlightEls");e&&e.delete(t),t.classList.remove(this.constructor.getHighlightElementClass()),t.classList.remove(this.constructor.getRelativePositionClass());for(var r=t.parentElement;r&&r!==document.body;)r.classList.remove(this.constructor.getFixStackingContext()),r=r.parentElement}return this}},{key:"resetElementsHighlighting",value:function(){var e=this,t=this.cache.get("highlightEls");t&&Array.from(t).length&&t.forEach(function(t){e.resetElementHighlighting(t)});return this}},{key:"setLayerPosition",value:function(t,e){if(!t||!e)return this;var r=this.options.padding;"floating"===getComputedStyle(e).getPropertyValue("position")&&(r=0);var n=this.constructor.getElementOffset(e),i=n.width,o=n.height,s=n.top,a=n.left;return this.constructor.isElementFixed(e)?this.constructor.addElementClass(t,this.constructor.getFixedClass()):this.constructor.removeElementClass(t,this.constructor.getFixedClass()),t.style.cssText="width: ".concat(i+r,"px;\n height: ").concat(o+r,"px;\n top: ").concat(s-r/2,"px;\n left: ").concat(a-r/2,"px;"),this}},{key:"setHighlightLayerPosition",value:function(){return this.setLayerPosition.apply(this,arguments)}},{key:"setInteractionLayerPosition",value:function(){return this.setLayerPosition.apply(this,arguments)}},{key:"setControlLayerPosition",value:function(t,e){if(!t||!e)return this;var r=this.options.padding;"floating"===getComputedStyle(e).getPropertyValue("position")&&(r=0);var n=window.pageXOffset,i=document.documentElement.getBoundingClientRect().width,o=this.constructor.getElementOffset(e),s=o.height,a=o.top,c=o.left,l=o.right,u=s+r,h=a-r/2,p=n<n+(c-r/2)?n:c-r/2,d=n+(l+r/2)<n+i?i:l+r/2;return this.constructor.isElementFixed(e)?this.constructor.addElementClass(t,this.constructor.getFixedClass()):this.constructor.removeElementClass(t,this.constructor.getFixedClass()),t.style.cssText="width: ".concat(d,"px;\n height: ").concat(u,"px;\n top: ").concat(h,"px;\n left: ").concat(p,"px;"),this}},{key:"setTooltipLayerPosition",value:function(t,e,r){var n=2<arguments.length&&void 0!==r?r:{},i=n.position,o=n.boundary;i=i||this.options.position;var s=null;o=o||window;var a=this.options.padding;"floating"===getComputedStyle(e).getPropertyValue("position")&&(a=0);var c=t.style;c.top=null,c.right=null,c.bottom=null,c.left=null,c.transform=null;var l=e.getBoundingClientRect(),u=l.top,h=l.bottom,p=l.left,d=l.right,f=l.width,g=l.height,y=t.getBoundingClientRect(),v=y.height,m=y.width,b=t.cloneNode();b.style.visibility="hidden",b.innerHTML="",t.parentElement.appendChild(b);var L=b.getBoundingClientRect().width;b.parentElement.removeChild(b);var w={};if(o===window)w=new DOMRect(0,0,window.innerWidth,window.innerHeight);else{var C=o.getBoundingClientRect(),x=C.x,E=C.y;w=new DOMRect(x,E,o.scrollWidth,o.scrollHeight)}var k=w.top,P=w.bottom,O=w.left,S=w.right;if(e.classList.contains(this.constructor.getDefaultElementClass()))i="floating";else{var T=["bottom","right","left","top"];t.setAttribute("data-guidechimp-position","top");var N=getComputedStyle(t),R=N.marginTop,A=N.marginBottom;u-k<v+(R=parseInt(R,10))+(A=parseInt(A,10))&&T.splice(T.indexOf("top"),1),t.setAttribute("data-guidechimp-position","bottom");var H=getComputedStyle(t),j=H.marginTop,I=H.marginBottom;P-h<v+(j=parseInt(j,10))+(I=parseInt(I,10))&&T.splice(T.indexOf("bottom"),1),t.setAttribute("data-guidechimp-position","left");var _=getComputedStyle(t),z=_.marginLeft,D=_.marginRight;p-O<L+(z=parseInt(z,10))+(D=parseInt(D,10))&&T.splice(T.indexOf("left"),1),t.setAttribute("data-guidechimp-position","right");var B=getComputedStyle(t),F=B.marginLeft,M=B.marginRight;if(S-d<L+(F=parseInt(F,10))+(M=parseInt(M,10))&&T.splice(T.indexOf("right"),1),"top"===(i=T.length?T.includes(i)?i:T[0]:"floating")||"bottom"===i){var W=["left","right","middle"];S-p<L&&W.splice(W.indexOf("left"),1),d-O<L&&W.splice(W.indexOf("right"),1),(p+f/2-O<L/2||S-(d-f/2)<L/2)&&W.splice(W.indexOf("middle"),1),s=W.length?W[0]:"middle"}}var K=document.documentElement;switch(t.removeAttribute("data-guidechimp-position"),t.setAttribute("data-guidechimp-position",i),i){case"top":c.bottom="".concat(g+a,"px");break;case"right":c.left="".concat(d+a/2-K.clientLeft,"px");break;case"left":c.right="".concat(K.clientWidth-(p-a/2),"px");break;case"bottom":c.top="".concat(g+a,"px");break;default:c.left="50%",c.top="50%",c.transform="translate(-50%,-50%)"}if(t.removeAttribute("data-guidechimp-alignment"),s)switch(t.setAttribute("data-guidechimp-alignment",s),s){case"left":c.left="".concat(p-a/2,"px");break;case"right":c.right="".concat(K.clientWidth-d-a/2,"px");break;default:p+f/2<m/2||p+f/2+m/2>K.clientWidth?c.left="".concat(K.clientWidth/2-m/2,"px"):c.left="".concat(p+f/2-m/2,"px")}return this}},{key:"startPreloader",value:function(){var t=this.cache.has("highlightLayer")?this.cache.get("highlightLayer"):document.body.querySelector(".".concat(this.constructor.getHighlightLayerClass()));t&&(t.style.visibility="hidden");var e=this.cache.has("controlLayer")?this.cache.get("controlLayer"):document.body.querySelector(".".concat(this.constructor.getControlLayerClass()));e&&(e.style.visibility="hidden");var r=this.cache.has("interactionLayer")?this.cache.get("interactionLayer"):document.body.querySelector(".".concat(this.constructor.getInteractionLayerClass()));r&&(r.style.visibility="hidden");var n=this.cache.has("tooltipLayer")?this.cache.get("tooltipLayer"):document.body.querySelector(".".concat(this.constructor.getTooltipLayerClass()));return n&&(n.style.visibility="hidden"),this.showPreloaderElement(),this}},{key:"stopPreloader",value:function(){var t=this.cache.has("highlightLayer")?this.cache.get("highlightLayer"):document.body.querySelector(".".concat(this.constructor.getHighlightLayerClass()));t&&(t.style.visibility="visible");var e=this.cache.has("controlLayer")?this.cache.get("controlLayer"):document.body.querySelector(".".concat(this.constructor.getControlLayerClass()));e&&(e.style.visibility="visible");var r=this.cache.has("interactionLayer")?this.cache.get("interactionLayer"):document.body.querySelector(".".concat(this.constructor.getInteractionLayerClass()));r&&(r.style.visibility="visible");var n=this.cache.has("tooltipLayer")?this.cache.get("tooltipLayer"):document.body.querySelector(".".concat(this.constructor.getTooltipLayerClass()));return n&&(n.style.visibility="visible"),this.removePreloaderElement(),this}},{key:"showDefaultElement",value:function(){var t=this.cache.get("defaultEl");return t||(t=document.createElement("div"),document.body.appendChild(t)),t.className=this.constructor.getDefaultElementClass(),this.cache.set("defaultEl",t),t}},{key:"showPreloaderElement",value:function(){var t=this.cache.get("preloaderEl");return t||((t=document.createElement("div")).className=this.constructor.getPreloaderClass(),document.body.appendChild(t)),this.cache.set("preloaderEl",t),t}},{key:"removePreloaderElement",value:function(){var t=this.cache.get("preloaderEl");return t&&t.parentElement.removeChild(t),this.cache.delete("preloaderEl"),this}},{key:"showOverlayLayer",value:function(){var t=this,e=this.cache.get("overlayLayer");return e||((e=document.createElement("div")).className=this.constructor.getOverlayLayerClass(),e.onclick=this.options.exitOverlay?function(){return t.stop()}:null,document.body.appendChild(e)),this.cache.set("overlayLayer",e),e}},{key:"removeOverlayLayer",value:function(){var t=this.cache.get("overlayLayer");return t&&t.parentElement.removeChild(t),this.cache.delete("overlayLayer"),this}},{key:"showHighlightLayer",value:function(){var t=this.cache.get("highlightLayer");return t||((t=document.createElement("div")).className=this.constructor.getHighlightLayerClass(),document.body.appendChild(t)),this.cache.set("highlightLayer",t),t}},{key:"removeHighlightLayer",value:function(){var t=this.cache.get("highlightLayer");return t&&t.parentElement.removeChild(t),this.cache.delete("highlightLayer"),this}},{key:"showControlLayer",value:function(){var t=this.cache.get("controlLayer");return t||((t=document.createElement("div")).className=this.constructor.getControlLayerClass(),document.body.appendChild(t)),this.cache.set("controlLayer",t),t}},{key:"removeControlLayer",value:function(){var t=this.cache.get("controlLayer");return t&&t.parentElement.removeChild(t),this.cache.delete("controlLayer"),this}},{key:"showInteractionLayer",value:function(){var t=this.cache.get("interactionLayer");t||(t=document.createElement("div"),document.body.appendChild(t)),t.className=this.constructor.getInteractionLayerClass();var e=this.options.interaction;return this.step&&"boolean"==typeof this.step.interaction&&(e=this.step.interaction),e||t.classList.add(this.constructor.getDisableInteractionClass()),this.cache.set("interactionLayer",t),t}},{key:"removeInteractionLayer",value:function(){var t=this.cache.get("interactionLayer");return t&&t.parentElement.removeChild(t),this.cache.delete("interactionLayer"),this}},{key:"showTooltipLayer",value:function(){var t=this.showControlLayer(),e=this.cache.get("tooltipLayer");return e||((e=document.createElement("div")).setAttribute("role","dialog"),t.appendChild(e)),e.className=this.constructor.getTooltipLayerClass(),this.cache.set("tooltipLayer",e),e}},{key:"showTooltipTail",value:function(){var t=this.showTooltipLayer(),e=this.cache.get("tooltipTailEl");return e||(e=document.createElement("div"),t.appendChild(e)),e.className=this.constructor.getTooltipTailClass(),this.cache.set("tooltipTailEl",e),e}},{key:"showClose",value:function(){var t=this,e=this.showTooltipLayer(),r=this.cache.get("closeEl");return r||((r=document.createElement("div")).onclick=function(){return t.stop()},e.appendChild(r)),r.className=this.constructor.getCloseClass(),this.cache.set("closeEl",r),r}},{key:"showProgressbar",value:function(){var t=this.showTooltipLayer(),e=this.cache.get("progressbarEl");e||((e=document.createElement("div")).setAttribute("role","progress"),e.setAttribute("aria-valuemin",0),e.setAttribute("aria-valuemax",100),t.appendChild(e));var r=this.steps.indexOf(this.step);if(0<=r&&this.steps.length){var n=(r+1)/this.steps.length*100;e.setAttribute("aria-valuenow",n),e.style.cssText="width: ".concat(n,"%;")}return e.className=this.constructor.getProgressbarClass(),this.options.showProgressbar||e.classList.add(this.constructor.getHiddenClass()),this.cache.set("progressbarEl",e),e}},{key:"showTitle",value:function(t){var e=this.cache.get("titleEl");return e||(e=document.createElement("div"),this.showTooltipLayer().appendChild(e)),e.className=this.constructor.getTitleClass(),t||e.classList.add(this.constructor.getHiddenClass()),e.innerHTML=t||"",this.cache.set("titleEl",e),e}},{key:"showDescription",value:function(t){var e=this.cache.get("descriptionEl");return e||(e=document.createElement("div"),this.showTooltipLayer().appendChild(e)),e.className=this.constructor.getDescriptionClass(),t||e.classList.add(this.constructor.getHiddenClass()),e.innerHTML=t||"",this.cache.set("descriptionEl",e),e}},{key:"showCustomButtonsLayer",value:function(t){var c=this,e=0<arguments.length&&void 0!==t?t:[],l=this.cache.get("customButtonsLayer");for(l||(l=document.createElement("div"),this.showTooltipLayer().appendChild(l)),l.className=this.constructor.getCustomButtonsLayerClass(),e.length||l.classList.add(this.constructor.getHiddenClass());l.firstChild;)l.removeChild(l.firstChild);return e.forEach(function(t){if(t instanceof HTMLElement)l.appendChild(t);else{var e=t.tagName,r=void 0===e?"button":e,n=t.title,i=void 0===n?"":n,o=t.class,s=t.onClick,a=document.createElement(r);a.innerHTML=i,o&&(a.className=o),s&&(a.onclick=function(t){return s.call(c,t)}),l.appendChild(a)}}),this.cache.set("customButtonsLayer",l),l}},{key:"showNavigation",value:function(){var t=this.cache.get("navigationLayer");return t||(t=document.createElement("div"),this.showTooltipLayer().appendChild(t)),t.className=this.constructor.getNavigationClass(),this.cache.set("navigationLayer",t),t}},{key:"showPagination",value:function(){var n=this,i=this.cache.get("paginationLayer");for(i||(i=document.createElement("div"),this.showNavigation().appendChild(i)),i.className=this.constructor.getPaginationLayerClass(),(!this.options.showPagination||this.steps.length<2)&&i.classList.add(this.constructor.getHiddenClass());i.firstChild;)i.removeChild(i.firstChild);return this.steps.forEach(function(t,e){var r=document.createElement("div");r.className=n.constructor.getPaginationItemClass(),n.step===t&&r.classList.add(n.constructor.getPaginationCurrentItemClass()),r.onclick=function(){return n.go(e,!0)},i.appendChild(r)}),this.cache.set("paginationLayer",i),i}},{key:"showNavigationPrev",value:function(){var t=this,e=this.cache.get("navigationPrevEl");e||((e=document.createElement("div")).className=this.constructor.getNavigationPrevClass(),e.onclick=function(){return t.previous()},this.showNavigation().appendChild(e));var r=this.steps.indexOf(this.step);return e.classList.toggle(this.constructor.getHiddenClass(),r<=0),this.cache.set("navigationPrevEl",e),e}},{key:"showNavigationNext",value:function(){var t=this,e=this.cache.get("navigationNextEl");e||((e=document.createElement("div")).onclick=function(){return t.next()},e.className=this.constructor.getNavigationNextClass(),this.showNavigation().appendChild(e));var r=this.steps.indexOf(this.step);return e.classList.toggle(this.constructor.getHiddenClass(),r<0||r===this.steps.length-1||1===this.steps.length),this.cache.set("navigationNextEl",e),e}},{key:"showCopyright",value:function(){var t=this.cache.get("copyrightEl");return t||(t=document.createElement("div"),this.showTooltipLayer().appendChild(t)),t.className=this.constructor.getCopyrightClass(),t.innerHTML="Made with GuideChimp",this.cache.set("copyrightEl",t),t}},{key:"on",value:function(t,e){var r=this;t.split(",").map(function(t){return t.trim()}).forEach(function(t){r.listeners[t]=r.listeners[t]||[],r.listeners[t].push(e)})}},{key:"emit",value:function(t){for(var e=this,r=arguments.length,n=new Array(1<r?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];var o=this.listeners[t];return o?Promise.all(o.map(function(t){return Promise.resolve().then(function(){return t.apply(e,n)})})):[]}},{key:"addOnKeydownListener",value:function(){return this.cache.set("onKeydownListener",this.getOnKeydownListener()),window.addEventListener("keydown",this.cache.get("onKeydownListener"),!0),this}},{key:"getOnKeydownListener",value:function(){var s=this;return function(t){var e=t.keyCode,r=x(x({},s.constructor.getDefaultKeyboardCodes()),s.options.useKeyboard),n=r.previous,i=r.next,o=r.stop;o&&o.includes(e)?s.stop():n&&n.includes(e)?s.previous():i&&i.includes(e)&&s.next()}}},{key:"removeOnKeydownListener",value:function(){return this.cache.has("onKeydownListener")&&(window.removeEventListener("keydown",this.cache.get("onKeydownListener"),!0),this.cache.delete("onKeydownListener")),this}},{key:"addOnWindowResizeListener",value:function(){return this.cache.set("onWindowResizeListener",this.getOnWindowResizeListener()),window.addEventListener("resize",this.cache.get("onWindowResizeListener"),!0),this}},{key:"getOnWindowResizeListener",value:function(){var t=this;return function(){return t.refresh()}}},{key:"removeOnWindowResizeListener",value:function(){return this.cache.has("onWindowResizeListener")&&(window.removeEventListener("resize",this.cache.get("onWindowResizeListener"),!0),this.cache.delete("onWindowResizeListener")),this}},{key:"observeResizeStepElement",value:function(t,e){var r=1<arguments.length&&void 0!==e?e:{box:"border-box"},n=this.observers.stepElementResizeObserver;return n&&n.observe(t,r),this}},{key:"unobserveResizeStepElement",value:function(t){var e=this.observers.stepElementResizeObserver;return e&&e.unobserve(t),this}},{key:"unobserveResizeAllStepsElements",value:function(){var t=this.observers.stepElementResizeObserver;return t&&t.disconnect(),this}},{key:"refresh",value:function(){if(!this.step)return this;var t=this.step,e=t.element,r=t.position,n=this.getStepElement(e);return this.cache.has("highlightLayer")&&this.setHighlightLayerPosition(this.cache.get("highlightLayer"),n),this.cache.has("controlLayer")&&this.setControlLayerPosition(this.cache.get("controlLayer"),n),this.cache.has("interactionLayer")&&this.setInteractionLayerPosition(this.cache.get("interactionLayer"),n),this.cache.has("tooltipLayer")&&this.setTooltipLayerPosition(this.cache.get("tooltipLayer"),n,{position:r,boundary:window}),this}}],[{key:"getDefaultOptions",value:function(){return{position:"bottom",useKeyboard:!0,exitEscape:!0,exitOverlay:!0,showPagination:!0,showProgressbar:!0,interaction:!0,padding:10,scrollPadding:10}}},{key:"getDefaultKeyboardCodes",value:function(){return{previous:[37],next:[39,13,32],stop:[27]}}},{key:"getBodyClass",value:function(){return"gc"}},{key:"getDefaultElementClass",value:function(){return"gc-default"}},{key:"getFixStackingContext",value:function(){return"gc-fix-stacking-context"}},{key:"getHighlightElementClass",value:function(){return"gc-highlighted"}},{key:"getPreloaderClass",value:function(){return"gc-preloader"}},{key:"getOverlayLayerClass",value:function(){return"gc-overlay"}},{key:"getFixedClass",value:function(){return"gc-fixed"}},{key:"getHighlightLayerClass",value:function(){return"gc-highlight"}},{key:"getControlLayerClass",value:function(){return"gc-control"}},{key:"getInteractionLayerClass",value:function(){return"gc-interaction"}},{key:"getTooltipLayerClass",value:function(){return"gc-tooltip"}},{key:"getTooltipTailClass",value:function(){return"gc-tooltip-tail"}},{key:"getTitleClass",value:function(){return"gc-title"}},{key:"getDescriptionClass",value:function(){return"gc-description"}},{key:"getCustomButtonsLayerClass",value:function(){return"gc-custom-buttons"}},{key:"getNavigationClass",value:function(){return"gc-navigation"}},{key:"getNavigationPrevClass",value:function(){return"gc-navigation-prev"}},{key:"getNavigationNextClass",value:function(){return"gc-navigation-next"}},{key:"getCloseClass",value:function(){return"gc-close"}},{key:"getPaginationLayerClass",value:function(){return"gc-pagination"}},{key:"getPaginationItemClass",value:function(){return"gc-pagination-item"}},{key:"getPaginationCurrentItemClass",value:function(){return"gc-pagination-active"}},{key:"getProgressbarClass",value:function(){return"gc-progressbar"}},{key:"getDisableInteractionClass",value:function(){return"gc-disable"}},{key:"getCopyrightClass",value:function(){return"gc-copyright"}},{key:"getHiddenClass",value:function(){return"gc-hidden"}},{key:"getRelativePositionClass",value:function(){return"gc-relative"}},{key:"getElementOffset",value:function(t){var e=document,r=e.body,n=e.documentElement,i=window.pageYOffset||n.scrollTop||r.scrollTop,o=window.pageXOffset||n.scrollLeft||r.scrollLeft,s=t.getBoundingClientRect(),a=s.top,c=s.right,l=s.bottom,u=s.left;return{right:c,bottom:l,width:s.width,height:s.height,x:s.x,y:s.y,top:a+i,left:u+o}}},{key:"isElementFixed",value:function(t){var e=t.parentNode;return!(!e||"HTML"===e.nodeName)&&("fixed"===getComputedStyle(t).getPropertyValue("position")||this.isElementFixed(e))}},{key:"addElementClass",value:function(t,e){t instanceof SVGElement?t.setAttribute("class","".concat(t.getAttribute("class")||""," ").concat(e)):t.classList.add(e)}},{key:"removeElementClass",value:function(t,e){if(t instanceof SVGElement){var r=t.getAttribute("class")||"";return r.replace(e,""),void t.setAttribute("class",r)}t.classList.remove(e)}}]),n}();e.default=h},function(t,e,r){t.exports=r(8)},function(t,e,r){var n=function(s){"use strict";var c,t=Object.prototype,u=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},i=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",n=e.toStringTag||"@@toStringTag";function a(t,e,r,n){var o,s,a,c,i=e&&e.prototype instanceof v?e:v,l=Object.create(i.prototype),u=new O(n||[]);return l._invoke=(o=t,s=r,a=u,c=p,function(t,e){if(c===f)throw new Error("Generator is already running");if(c===g){if("throw"===t)throw e;return T()}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){var n=E(r,a);if(n){if(n===y)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===p)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=f;var i=h(o,s,a);if("normal"===i.type){if(c=a.done?g:d,i.arg===y)continue;return{value:i.arg,done:a.done}}"throw"===i.type&&(c=g,a.method="throw",a.arg=i.arg)}}),l}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}s.wrap=a;var p="suspendedStart",d="suspendedYield",f="executing",g="completed",y={};function v(){}function o(){}function l(){}var m={};m[i]=function(){return this};var b=Object.getPrototypeOf,L=b&&b(b(S([])));L&&L!==t&&u.call(L,i)&&(m=L);var w=l.prototype=v.prototype=Object.create(m);function C(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function x(c,l){var e;this._invoke=function(r,n){function t(){return new l(function(t,e){!function e(t,r,n,i){var o=h(c[t],c,r);if("throw"!==o.type){var s=o.arg,a=s.value;return a&&"object"==typeof a&&u.call(a,"__await")?l.resolve(a.__await).then(function(t){e("next",t,n,i)},function(t){e("throw",t,n,i)}):l.resolve(a).then(function(t){s.value=t,n(s)},function(t){return e("throw",t,n,i)})}i(o.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}}function E(t,e){var r=t.iterator[e.method];if(r===c){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=c,E(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var n=h(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,y;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=c),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function S(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(u.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=c,t.done=!0,t};return n.next=n}}return{next:T}}function T(){return{value:c,done:!0}}return o.prototype=w.constructor=l,l.constructor=o,l[n]=o.displayName="GeneratorFunction",s.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},s.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,n in t||(t[n]="GeneratorFunction")),t.prototype=Object.create(w),t},s.awrap=function(t){return{__await:t}},C(x.prototype),x.prototype[r]=function(){return this},s.AsyncIterator=x,s.async=function(t,e,r,n,i){void 0===i&&(i=Promise);var o=new x(a(t,e,r,n),i);return s.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},C(w),w[n]="Generator",w[i]=function(){return this},w.toString=function(){return"[object Generator]"},s.keys=function(r){var n=[];for(var t in r)n.push(t);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},s.values=S,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return o.type="throw",o.arg=r,n.next=t,e&&(n.method="next",n.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var s=u.call(i,"catchLoc"),a=u.call(i,"finallyLoc");if(s&&a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=c),y}},s}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){function c(t,e,r,n,i,o,s){try{var a=t[o](s),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,i)}t.exports=function(a){return function(){var t=this,s=arguments;return new Promise(function(e,r){var n=a.apply(t,s);function i(t){c(n,e,r,i,o,"next",t)}function o(t){c(n,e,r,i,o,"throw",t)}i(void 0)})}}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){var n=r(12),i=r(13),o=r(14),s=r(15);t.exports=function(t){return n(t)||i(t)||o(t)||s()}},function(t,e,r){var n=r(1);t.exports=function(t){if(Array.isArray(t))return n(t)}},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},function(t,e,r){var n=r(1);t.exports=function(t,e){if(t){if("string"==typeof t)return n(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)?n(t,e):void 0}}},function(t,e){t.exports=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.")}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}},function(t,e,r){}],i.c=n,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=2);function i(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var r,n});
//# sourceMappingURL=guidechimp.min.js.map

@@ -1,2 +0,2 @@

/*! GuideChimp v1.7.4 | Copyright (C) 2020 Labs64 GmbH */
/*! GuideChimp v1.7.5 | Copyright (C) 2020 Labs64 GmbH */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -520,3 +520,4 @@ if(typeof exports === 'object' && typeof module === 'object')

document.body.append(beaconEl);
var parentEl = !el.parentElement || el.parentElement === document.body ? document.body : el.parentElement;
parentEl.append(beaconEl);

@@ -687,7 +688,7 @@ _this2.cache.set(beacon, beaconEl);

var _this$constructor$get = this.constructor.getElementOffset(el),
elWidth = _this$constructor$get.width,
elHeight = _this$constructor$get.height,
elTop = _this$constructor$get.top,
elLeft = _this$constructor$get.left;
var _el$getBoundingClient = el.getBoundingClientRect(),
elLeft = _el$getBoundingClient.left,
elTop = _el$getBoundingClient.top,
elWidth = _el$getBoundingClient.width,
elHeight = _el$getBoundingClient.height;

@@ -1074,38 +1075,2 @@ var beaconStyle = beaconEl.style;

}
/**
* Get element offset
* @param el
* @return {{top: number, left: number, width: number, height: number}}
*/
}, {
key: "getElementOffset",
value: function getElementOffset(el) {
var _document = document,
body = _document.body,
documentElement = _document.documentElement;
var scrollTop = window.pageYOffset || documentElement.scrollTop || body.scrollTop;
var scrollLeft = window.pageXOffset || documentElement.scrollLeft || body.scrollLeft;
var _el$getBoundingClient = el.getBoundingClientRect(),
top = _el$getBoundingClient.top,
right = _el$getBoundingClient.right,
bottom = _el$getBoundingClient.bottom,
left = _el$getBoundingClient.left,
width = _el$getBoundingClient.width,
height = _el$getBoundingClient.height,
x = _el$getBoundingClient.x,
y = _el$getBoundingClient.y;
return {
right: right,
bottom: bottom,
width: width,
height: height,
x: x,
y: y,
top: top + scrollTop,
left: left + scrollLeft
};
}
}]);

@@ -1112,0 +1077,0 @@ return Beacons;

@@ -1,3 +0,3 @@

/*! GuideChimp v1.7.4 | Copyright (C) 2020 Labs64 GmbH */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.guideChimpPluginBeacons=t():e.guideChimpPluginBeacons=t()}(window,function(){return d=[function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(e){return typeof e}:t.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=n},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}t.exports=n},function(e,t,n){"use strict";var o=n(1),i=o(n(0)),r=o(n(2)),c=o(n(3)),s=o(n(6)),u=o(n(8)),a=o(n(10)),l=o(n(4)),f=o(n(12));function p(o){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t=(0,l.default)(o);if(r){var n=(0,l.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,a.default)(this,e)}}n(20),e.exports=function(a,e){e.beacons=function(o){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return new(function(e){(0,u.default)(n,e);var t=p(n);function n(){return(0,r.default)(this,n),t.apply(this,arguments)}return(0,c.default)(n,[{key:"getDataBeacons",value:function(e){var i=this;return(0,s.default)((0,l.default)(n.prototype),"getDataBeacons",this).call(this,e).forEach(function(e){var t=e.id,n=e.element,o="",r="".concat(i.constructor.getBeaconDataPrefix(),"-tour"),a="".concat(i.constructor.getBeaconDataPrefix(),"-").concat(t,"-tour");n.attributes[r]&&(o=n.attributes[r].value);n.attributes[a]&&(o=n.attributes[a].value);o&&(e.tour=o)}),o}},{key:"createBeaconEl",value:function(r){var e=(0,s.default)((0,l.default)(n.prototype),"createBeaconEl",this).call(this,r);return r.tour&&e.addEventListener("click",function(){var e=null;if("string"==typeof r.tour||Array.isArray(r.tour))e=new a(r.tour);else if(r.tour instanceof a)e=r.tour;else if("object"===(0,i.default)(r.tour)){var t=r.tour,n=t.steps,o=t.options;e=new a(n,o)}e&&e.start()}),e}}]),n}(f.default))(o,e)}}},function(o,e,t){var a=t(7);function r(e,t,n){return"undefined"!=typeof Reflect&&Reflect.get?o.exports=r=Reflect.get:o.exports=r=function(e,t,n){var o=a(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(n):r.value}},r(e,t,n||e)}o.exports=r},function(e,t,n){var o=n(4);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}},function(e,t,n){var o=n(9);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}},function(n,e){function o(e,t){return n.exports=o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}n.exports=o},function(e,t,n){var o=n(0),r=n(11);e.exports=function(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?r(e):t}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _typeof2=_interopRequireDefault(__webpack_require__(0)),_slicedToArray2=_interopRequireDefault(__webpack_require__(13)),_defineProperty2=_interopRequireDefault(__webpack_require__(19)),_classCallCheck2=_interopRequireDefault(__webpack_require__(2)),_createClass2=_interopRequireDefault(__webpack_require__(3));function ownKeys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(n),!0).forEach(function(e){(0,_defineProperty2.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var cache=new Map,Beacons=function(){function Beacons(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(0,_classCallCheck2.default)(this,Beacons),this.beacons=[],this.options={},this.observers={},"undefined"!=typeof ResizeObserver&&(this.observers.elementResizeObserver=new ResizeObserver(function(){return t.refresh()})),this.cache=cache,this.setOptions(n),this.setBeacons(e),this.init()}return(0,_createClass2.default)(Beacons,[{key:"init",value:function(){}},{key:"setOptions",value:function(e){return this.options=_objectSpread(_objectSpread({},this.constructor.getDefaultOptions()),e),this}},{key:"setBeacons",value:function(e){var r=this;return this.removeAll(),this.beacons=!e||"string"==typeof e||Array.isArray(e)&&e.every(function(e){return"string"==typeof e})?this.getDataBeacons(e):this.getJsBeacons(e),this.beacons.length&&(this.beacons.forEach(function(e){var t=e.element;if(t){var n=r.getElement(t),o=r.createBeaconEl(e);o.classList.add(r.constructor.getHiddenClass()),r.constructor.isElementFixed(n)&&o.classList.add(r.constructor.getFixedClass()),document.body.append(o),r.cache.set(e,o),r.setBeaconPosition(n,o,e),r.observeResizeElement(n)}}),this.addOnWindowResizeListener()),this}},{key:"getBeacons",value:function(){return this.beacons}},{key:"getBeacon",value:function(t,e){var n=t&&"object"===(0,_typeof2.default)(t)?[t]:this.beacons.filter(function(e){return e.id===t});return(0,_slicedToArray2.default)(n,1)[0]||e}},{key:"getDataBeacons",value:function getDataBeacons(ids){var _this3=this,beaconsIds="string"==typeof ids?ids.split(",").map(function(e){return e.trim()}):ids,beaconsSelector=["[".concat(this.constructor.getBeaconDataPrefix(),"]")];beaconsIds&&(beaconsSelector=[],beaconsIds.forEach(function(e){beaconsSelector.push("[".concat(_this3.constructor.getBeaconDataPrefix(),"*='").concat(e,"']"))}));var beaconsEl=Array.from(document.querySelectorAll(beaconsSelector.join(","))),dataGlobalRegExp=new RegExp("^".concat(this.constructor.getBeaconDataPrefix(),"-([^-]+)$")),beacons=[];return beaconsEl.forEach(function(el){var beaconsIdsAttrValue=el.attributes[_this3.constructor.getBeaconDataPrefix()].value;if(beaconsIdsAttrValue){var elBeaconsIds=beaconsIdsAttrValue.split(",");elBeaconsIds.forEach(function(id){if(!beaconsIds||beaconsIds.includes(id)){for(var globalBeaconAttrs={},beaconAttrs={},dataBeaconRegExp=new RegExp("^".concat(_this3.constructor.getBeaconDataPrefix(),"-").concat(id,"-([^-]+)$")),j=0;j<el.attributes.length;j++){var _el$attributes$j=el.attributes[j],attrName=_el$attributes$j.name,attrValue=_el$attributes$j.value,isGlobalAttr=dataGlobalRegExp.test(attrName),isBeaconAttr=dataBeaconRegExp.test(attrName);if(isGlobalAttr){var _attrName$match=attrName.match(dataGlobalRegExp),_attrName$match2=(0,_slicedToArray2.default)(_attrName$match,2),shortAttrName=_attrName$match2[1];globalBeaconAttrs[shortAttrName]=attrValue}else if(isBeaconAttr){var _attrName$match3=attrName.match(dataBeaconRegExp),_attrName$match4=(0,_slicedToArray2.default)(_attrName$match3,2),_shortAttrName=_attrName$match4[1];beaconAttrs[_shortAttrName]=attrValue}}var beacon=_objectSpread(_objectSpread(_objectSpread({id:id,position:_this3.options.position},globalBeaconAttrs),beaconAttrs),{},{element:el}),onClick=beacon.onclick||beacon.onClick;onClick&&(delete beacon.onclick,beacon.onClick=function(e){var onClickCode=eval(onClick);"function"==typeof onClickCode&&onClickCode.call(e,beacon)}),beacons.push(beacon)}})}}),beacons}},{key:"getJsBeacons",value:function(e){return(Array.isArray(e)?e:[e]).map(function(e,t){return _objectSpread(_objectSpread({},e),{},{id:e.id||t})})}},{key:"createBeaconEl",value:function(t){var n=this,e=document.createElement("div"),o=t.class,r=t.onClick;return o&&(e.className=o),r&&(e.onclick=function(e){e.stopPropagation(),r.call(n,e,t)}),e.classList.add(this.constructor.getBeaconClass()),e}},{key:"getElement",value:function(e){return e instanceof HTMLElement?e:document.querySelector(e)}},{key:"setBeaconPosition",value:function(e,t,n){var o=2<arguments.length&&void 0!==n?n:{},r=o.position,a=o.boundary;r=r||this.options.position,a="inner"===(a=a||this.options.boundary)?"inner":"outer";var i=this.constructor.getElementOffset(e),c=i.width,s=i.height,u=i.top,l=i.left,f=t.style,p=getComputedStyle(t),d=p.width,h=p.height;switch(d=parseInt(d,10),h=parseInt(h,10),t.removeAttribute("data-beacon-position"),t.removeAttribute("data-beacon-boundary"),t.setAttribute("data-beacon-position",r),t.setAttribute("data-beacon-boundary",a),r){case"top-left":"inner"===a?(f.left="".concat(l,"px"),f.top="".concat(u,"px")):(f.left="".concat(l-d,"px"),f.top="".concat(u-h,"px"));break;case"top":f.left="".concat(l+(c-d)/2,"px"),f.top="".concat("inner"===a?u:u-h,"px");break;case"top-right":"inner"===a?(f.left="".concat(c+l-d,"px"),f.top="".concat(u,"px")):(f.left="".concat(c+l,"px"),f.top="".concat(u-h,"px"));break;case"left":f.left="".concat("inner"===a?l:l-d,"px"),f.top="".concat(u+(s-h)/2,"px");break;default:case"center":t.setAttribute("data-beacon-position","center"),f.left="".concat(l+(c-d)/2,"px"),f.top="".concat(u+(s-h)/2,"px");break;case"right":f.left="".concat("inner"===a?l+c-d:l+c,"px"),f.top="".concat(u+(s-h)/2,"px");break;case"bottom-left":"inner"===a?(f.left="".concat(l,"px"),f.top="".concat(u+s-h,"px")):(f.left="".concat(l-d,"px"),f.top="".concat(u+s,"px"));break;case"bottom":f.left="".concat(l+(c-d)/2,"px"),f.top="".concat("inner"===a?u+s-h:u+s,"px");break;case"bottom-right":"inner"===a?(f.left="".concat(c+l-d,"px"),f.top="".concat(u+s-h,"px")):(f.left="".concat(c+l,"px"),f.top="".concat(u+s,"px"))}return this}},{key:"isCanShowBeacon",value:function(e){var t=e.canShow;return!(void 0!==t&&(!t||"function"==typeof t&&!1===t()))}},{key:"showAll",value:function(e){var t=this,n=0<arguments.length&&void 0!==e&&e;return this.beacons.forEach(function(e){t.show(e,n)}),this}},{key:"show",value:function(e,t){var n=1<arguments.length&&void 0!==t&&t,o=this.getBeacon(e);if(o){var r=this.cache.get(o);r&&(n||this.isCanShowBeacon(o))&&r.classList.remove(this.constructor.getHiddenClass())}return this}},{key:"hideAll",value:function(){var t=this;return this.beacons.forEach(function(e){t.hide(e)}),this}},{key:"hide",value:function(e){var t=this.getBeacon(e);if(t){var n=this.cache.get(t);n&&n.classList.add(this.constructor.getHiddenClass())}return this}},{key:"removeAll",value:function(){var t=this;return this.beacons.forEach(function(e){t.remove(e)}),this.beacons=[],this.unobserveResizeAllElements(),this.removeOnWindowResizeListener(),this}},{key:"remove",value:function(e){var t=this.getBeacon(e),n=this.cache.get(t);if(n){n.parentNode.removeChild(n),-1!==this.beacons.indexOf(t)&&this.beacons.splice(this.beacons.indexOf(t),1),this.cache.delete(t);var o=this.getElement(t.element);o&&this.unobserveResizeElement(o)}return this.beacons.length||this.removeOnWindowResizeListener(),this}},{key:"refresh",value:function(){var r=this;return this.beacons.forEach(function(e){var t=e.element;if(t){var n=r.getElement(t),o=r.cache.get(e);n&&o&&r.setBeaconPosition(n,o,e)}}),this}},{key:"addOnWindowResizeListener",value:function(){return this.cache.set("onWindowResizeListener",this.getOnWindowResizeListener()),window.addEventListener("resize",this.cache.get("onWindowResizeListener"),!0),this}},{key:"getOnWindowResizeListener",value:function(){var e=this;return function(){return e.refresh()}}},{key:"removeOnWindowResizeListener",value:function(){return this.cache.has("onWindowResizeListener")&&(window.removeEventListener("resize",this.cache.get("onWindowResizeListener"),!0),this.cache.delete("onWindowResizeListener")),this}},{key:"observeResizeElement",value:function(e,t){var n=1<arguments.length&&void 0!==t?t:{box:"border-box"},o=this.observers.elementResizeObserver;return o&&o.observe(e,n),this}},{key:"unobserveResizeElement",value:function(e){var t=this.observers.elementResizeObserver;return t&&t.unobserve(e),this}},{key:"unobserveResizeAllElements",value:function(){var e=this.observers.elementResizeObserver;return e&&e.disconnect(),this}}],[{key:"getDefaultOptions",value:function(){return{position:"center",boundary:"inner"}}},{key:"getBeaconClass",value:function(){return"gc-beacon"}},{key:"getFixedClass",value:function(){return"gc-beacon-fixed"}},{key:"getHiddenClass",value:function(){return"gc-beacon-hidden"}},{key:"getBeaconDataPrefix",value:function(){return"data-beacon"}},{key:"isElementFixed",value:function(e){var t=e.parentNode;return!(!t||"HTML"===t.nodeName)&&("fixed"===getComputedStyle(e).getPropertyValue("position")||this.isElementFixed(t))}},{key:"getElementOffset",value:function(e){var t=document,n=t.body,o=t.documentElement,r=window.pageYOffset||o.scrollTop||n.scrollTop,a=window.pageXOffset||o.scrollLeft||n.scrollLeft,i=e.getBoundingClientRect(),c=i.top,s=i.right,u=i.bottom,l=i.left;return{right:s,bottom:u,width:i.width,height:i.height,x:i.x,y:i.y,top:c+r,left:l+a}}}]),Beacons}();exports.default=Beacons},function(e,t,n){var o=n(14),r=n(15),a=n(16),i=n(18);e.exports=function(e,t){return o(e)||r(e,t)||a(e,t)||i()}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,r=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(o=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==c.return||c.return()}finally{if(r)throw a}}return n}}},function(e,t,n){var o=n(17);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){}],f={},g.m=d,g.c=f,g.d=function(e,t,n){g.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},g.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},g.t=function(t,e){if(1&e&&(t=g(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(g.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)g.d(n,o,function(e){return t[e]}.bind(null,o));return n},g.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return g.d(t,"a",t),t},g.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},g.p="",g(g.s=5);function g(e){if(f[e])return f[e].exports;var t=f[e]={i:e,l:!1,exports:{}};return d[e].call(t.exports,t,t.exports,g),t.l=!0,t.exports}var d,f});
/*! GuideChimp v1.7.5 | Copyright (C) 2020 Labs64 GmbH */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.guideChimpPluginBeacons=t():e.guideChimpPluginBeacons=t()}(window,function(){return d=[function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(e){return typeof e}:t.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=n},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}t.exports=n},function(e,t,n){"use strict";var r=n(1),i=r(n(0)),o=r(n(2)),c=r(n(3)),s=r(n(6)),u=r(n(8)),a=r(n(10)),l=r(n(4)),f=r(n(12));function p(r){var o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t=(0,l.default)(r);if(o){var n=(0,l.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,a.default)(this,e)}}n(20),e.exports=function(a,e){e.beacons=function(r){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return new(function(e){(0,u.default)(n,e);var t=p(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,c.default)(n,[{key:"getDataBeacons",value:function(e){var i=this;return(0,s.default)((0,l.default)(n.prototype),"getDataBeacons",this).call(this,e).forEach(function(e){var t=e.id,n=e.element,r="",o="".concat(i.constructor.getBeaconDataPrefix(),"-tour"),a="".concat(i.constructor.getBeaconDataPrefix(),"-").concat(t,"-tour");n.attributes[o]&&(r=n.attributes[o].value);n.attributes[a]&&(r=n.attributes[a].value);r&&(e.tour=r)}),r}},{key:"createBeaconEl",value:function(o){var e=(0,s.default)((0,l.default)(n.prototype),"createBeaconEl",this).call(this,o);return o.tour&&e.addEventListener("click",function(){var e=null;if("string"==typeof o.tour||Array.isArray(o.tour))e=new a(o.tour);else if(o.tour instanceof a)e=o.tour;else if("object"===(0,i.default)(o.tour)){var t=o.tour,n=t.steps,r=t.options;e=new a(n,r)}e&&e.start()}),e}}]),n}(f.default))(r,e)}}},function(r,e,t){var a=t(7);function o(e,t,n){return"undefined"!=typeof Reflect&&Reflect.get?r.exports=o=Reflect.get:r.exports=o=function(e,t,n){var r=a(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}},o(e,t,n||e)}r.exports=o},function(e,t,n){var r=n(4);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},function(e,t,n){var r=n(9);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(n,e){function r(e,t){return n.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.exports=r},function(e,t,n){var r=n(0),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _typeof2=_interopRequireDefault(__webpack_require__(0)),_slicedToArray2=_interopRequireDefault(__webpack_require__(13)),_defineProperty2=_interopRequireDefault(__webpack_require__(19)),_classCallCheck2=_interopRequireDefault(__webpack_require__(2)),_createClass2=_interopRequireDefault(__webpack_require__(3));function ownKeys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(n),!0).forEach(function(e){(0,_defineProperty2.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var cache=new Map,Beacons=function(){function Beacons(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(0,_classCallCheck2.default)(this,Beacons),this.beacons=[],this.options={},this.observers={},"undefined"!=typeof ResizeObserver&&(this.observers.elementResizeObserver=new ResizeObserver(function(){return t.refresh()})),this.cache=cache,this.setOptions(n),this.setBeacons(e),this.init()}return(0,_createClass2.default)(Beacons,[{key:"init",value:function(){}},{key:"setOptions",value:function(e){return this.options=_objectSpread(_objectSpread({},this.constructor.getDefaultOptions()),e),this}},{key:"setBeacons",value:function(e){var o=this;return this.removeAll(),this.beacons=!e||"string"==typeof e||Array.isArray(e)&&e.every(function(e){return"string"==typeof e})?this.getDataBeacons(e):this.getJsBeacons(e),this.beacons.length&&(this.beacons.forEach(function(e){var t=e.element;if(t){var n=o.getElement(t),r=o.createBeaconEl(e);r.classList.add(o.constructor.getHiddenClass()),o.constructor.isElementFixed(n)&&r.classList.add(o.constructor.getFixedClass()),(n.parentElement&&n.parentElement!==document.body?n.parentElement:document.body).append(r),o.cache.set(e,r),o.setBeaconPosition(n,r,e),o.observeResizeElement(n)}}),this.addOnWindowResizeListener()),this}},{key:"getBeacons",value:function(){return this.beacons}},{key:"getBeacon",value:function(t,e){var n=t&&"object"===(0,_typeof2.default)(t)?[t]:this.beacons.filter(function(e){return e.id===t});return(0,_slicedToArray2.default)(n,1)[0]||e}},{key:"getDataBeacons",value:function getDataBeacons(ids){var _this3=this,beaconsIds="string"==typeof ids?ids.split(",").map(function(e){return e.trim()}):ids,beaconsSelector=["[".concat(this.constructor.getBeaconDataPrefix(),"]")];beaconsIds&&(beaconsSelector=[],beaconsIds.forEach(function(e){beaconsSelector.push("[".concat(_this3.constructor.getBeaconDataPrefix(),"*='").concat(e,"']"))}));var beaconsEl=Array.from(document.querySelectorAll(beaconsSelector.join(","))),dataGlobalRegExp=new RegExp("^".concat(this.constructor.getBeaconDataPrefix(),"-([^-]+)$")),beacons=[];return beaconsEl.forEach(function(el){var beaconsIdsAttrValue=el.attributes[_this3.constructor.getBeaconDataPrefix()].value;if(beaconsIdsAttrValue){var elBeaconsIds=beaconsIdsAttrValue.split(",");elBeaconsIds.forEach(function(id){if(!beaconsIds||beaconsIds.includes(id)){for(var globalBeaconAttrs={},beaconAttrs={},dataBeaconRegExp=new RegExp("^".concat(_this3.constructor.getBeaconDataPrefix(),"-").concat(id,"-([^-]+)$")),j=0;j<el.attributes.length;j++){var _el$attributes$j=el.attributes[j],attrName=_el$attributes$j.name,attrValue=_el$attributes$j.value,isGlobalAttr=dataGlobalRegExp.test(attrName),isBeaconAttr=dataBeaconRegExp.test(attrName);if(isGlobalAttr){var _attrName$match=attrName.match(dataGlobalRegExp),_attrName$match2=(0,_slicedToArray2.default)(_attrName$match,2),shortAttrName=_attrName$match2[1];globalBeaconAttrs[shortAttrName]=attrValue}else if(isBeaconAttr){var _attrName$match3=attrName.match(dataBeaconRegExp),_attrName$match4=(0,_slicedToArray2.default)(_attrName$match3,2),_shortAttrName=_attrName$match4[1];beaconAttrs[_shortAttrName]=attrValue}}var beacon=_objectSpread(_objectSpread(_objectSpread({id:id,position:_this3.options.position},globalBeaconAttrs),beaconAttrs),{},{element:el}),onClick=beacon.onclick||beacon.onClick;onClick&&(delete beacon.onclick,beacon.onClick=function(e){var onClickCode=eval(onClick);"function"==typeof onClickCode&&onClickCode.call(e,beacon)}),beacons.push(beacon)}})}}),beacons}},{key:"getJsBeacons",value:function(e){return(Array.isArray(e)?e:[e]).map(function(e,t){return _objectSpread(_objectSpread({},e),{},{id:e.id||t})})}},{key:"createBeaconEl",value:function(t){var n=this,e=document.createElement("div"),r=t.class,o=t.onClick;return r&&(e.className=r),o&&(e.onclick=function(e){e.stopPropagation(),o.call(n,e,t)}),e.classList.add(this.constructor.getBeaconClass()),e}},{key:"getElement",value:function(e){return e instanceof HTMLElement?e:document.querySelector(e)}},{key:"setBeaconPosition",value:function(e,t,n){var r=2<arguments.length&&void 0!==n?n:{},o=r.position,a=r.boundary;o=o||this.options.position,a="inner"===(a=a||this.options.boundary)?"inner":"outer";var i=e.getBoundingClientRect(),c=i.left,s=i.top,u=i.width,l=i.height,f=t.style,p=getComputedStyle(t),d=p.width,b=p.height;switch(d=parseInt(d,10),b=parseInt(b,10),t.removeAttribute("data-beacon-position"),t.removeAttribute("data-beacon-boundary"),t.setAttribute("data-beacon-position",o),t.setAttribute("data-beacon-boundary",a),o){case"top-left":"inner"===a?(f.left="".concat(c,"px"),f.top="".concat(s,"px")):(f.left="".concat(c-d,"px"),f.top="".concat(s-b,"px"));break;case"top":f.left="".concat(c+(u-d)/2,"px"),f.top="".concat("inner"===a?s:s-b,"px");break;case"top-right":"inner"===a?(f.left="".concat(u+c-d,"px"),f.top="".concat(s,"px")):(f.left="".concat(u+c,"px"),f.top="".concat(s-b,"px"));break;case"left":f.left="".concat("inner"===a?c:c-d,"px"),f.top="".concat(s+(l-b)/2,"px");break;default:case"center":t.setAttribute("data-beacon-position","center"),f.left="".concat(c+(u-d)/2,"px"),f.top="".concat(s+(l-b)/2,"px");break;case"right":f.left="".concat("inner"===a?c+u-d:c+u,"px"),f.top="".concat(s+(l-b)/2,"px");break;case"bottom-left":"inner"===a?(f.left="".concat(c,"px"),f.top="".concat(s+l-b,"px")):(f.left="".concat(c-d,"px"),f.top="".concat(s+l,"px"));break;case"bottom":f.left="".concat(c+(u-d)/2,"px"),f.top="".concat("inner"===a?s+l-b:s+l,"px");break;case"bottom-right":"inner"===a?(f.left="".concat(u+c-d,"px"),f.top="".concat(s+l-b,"px")):(f.left="".concat(u+c,"px"),f.top="".concat(s+l,"px"))}return this}},{key:"isCanShowBeacon",value:function(e){var t=e.canShow;return!(void 0!==t&&(!t||"function"==typeof t&&!1===t()))}},{key:"showAll",value:function(e){var t=this,n=0<arguments.length&&void 0!==e&&e;return this.beacons.forEach(function(e){t.show(e,n)}),this}},{key:"show",value:function(e,t){var n=1<arguments.length&&void 0!==t&&t,r=this.getBeacon(e);if(r){var o=this.cache.get(r);o&&(n||this.isCanShowBeacon(r))&&o.classList.remove(this.constructor.getHiddenClass())}return this}},{key:"hideAll",value:function(){var t=this;return this.beacons.forEach(function(e){t.hide(e)}),this}},{key:"hide",value:function(e){var t=this.getBeacon(e);if(t){var n=this.cache.get(t);n&&n.classList.add(this.constructor.getHiddenClass())}return this}},{key:"removeAll",value:function(){var t=this;return this.beacons.forEach(function(e){t.remove(e)}),this.beacons=[],this.unobserveResizeAllElements(),this.removeOnWindowResizeListener(),this}},{key:"remove",value:function(e){var t=this.getBeacon(e),n=this.cache.get(t);if(n){n.parentNode.removeChild(n),-1!==this.beacons.indexOf(t)&&this.beacons.splice(this.beacons.indexOf(t),1),this.cache.delete(t);var r=this.getElement(t.element);r&&this.unobserveResizeElement(r)}return this.beacons.length||this.removeOnWindowResizeListener(),this}},{key:"refresh",value:function(){var o=this;return this.beacons.forEach(function(e){var t=e.element;if(t){var n=o.getElement(t),r=o.cache.get(e);n&&r&&o.setBeaconPosition(n,r,e)}}),this}},{key:"addOnWindowResizeListener",value:function(){return this.cache.set("onWindowResizeListener",this.getOnWindowResizeListener()),window.addEventListener("resize",this.cache.get("onWindowResizeListener"),!0),this}},{key:"getOnWindowResizeListener",value:function(){var e=this;return function(){return e.refresh()}}},{key:"removeOnWindowResizeListener",value:function(){return this.cache.has("onWindowResizeListener")&&(window.removeEventListener("resize",this.cache.get("onWindowResizeListener"),!0),this.cache.delete("onWindowResizeListener")),this}},{key:"observeResizeElement",value:function(e,t){var n=1<arguments.length&&void 0!==t?t:{box:"border-box"},r=this.observers.elementResizeObserver;return r&&r.observe(e,n),this}},{key:"unobserveResizeElement",value:function(e){var t=this.observers.elementResizeObserver;return t&&t.unobserve(e),this}},{key:"unobserveResizeAllElements",value:function(){var e=this.observers.elementResizeObserver;return e&&e.disconnect(),this}}],[{key:"getDefaultOptions",value:function(){return{position:"center",boundary:"inner"}}},{key:"getBeaconClass",value:function(){return"gc-beacon"}},{key:"getFixedClass",value:function(){return"gc-beacon-fixed"}},{key:"getHiddenClass",value:function(){return"gc-beacon-hidden"}},{key:"getBeaconDataPrefix",value:function(){return"data-beacon"}},{key:"isElementFixed",value:function(e){var t=e.parentNode;return!(!t||"HTML"===t.nodeName)&&("fixed"===getComputedStyle(e).getPropertyValue("position")||this.isElementFixed(t))}}]),Beacons}();exports.default=Beacons},function(e,t,n){var r=n(14),o=n(15),a=n(16),i=n(18);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}},function(e,t,n){var r=n(17);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){}],f={},g.m=d,g.c=f,g.d=function(e,t,n){g.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},g.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},g.t=function(t,e){if(1&e&&(t=g(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(g.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)g.d(n,r,function(e){return t[e]}.bind(null,r));return n},g.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return g.d(t,"a",t),t},g.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},g.p="",g(g.s=5);function g(e){if(f[e])return f[e].exports;var t=f[e]={i:e,l:!1,exports:{}};return d[e].call(t.exports,t,t.exports,g),t.l=!0,t.exports}var d,f});
//# sourceMappingURL=beacons.min.js.map

@@ -1,2 +0,2 @@

/*! GuideChimp v1.7.4 | Copyright (C) 2020 Labs64 GmbH */
/*! GuideChimp v1.7.5 | Copyright (C) 2020 Labs64 GmbH */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object')

@@ -1,3 +0,3 @@

/*! GuideChimp v1.7.4 | Copyright (C) 2020 Labs64 GmbH */
/*! GuideChimp v1.7.5 | Copyright (C) 2020 Labs64 GmbH */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.guideChimpPluginGoogleAnalytics=e():t.guideChimpPluginGoogleAnalytics=e()}(window,function(){return n={},o.m=r=[function(t,e,r){var n=r(1);t.exports=function(t,e){if(t){if("string"==typeof t)return n(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)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}},function(t,e,r){"use strict";var n=r(3),i=n(r(4)),f=n(r(8)),a=n(r(12)),o=n(r(14)),l=n(r(15));function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){(0,o.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var p=new Map;t.exports=function(t,e){function o(o,i,t){var a=2<arguments.length&&void 0!==t?t:{};return function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n="function"==typeof a?a.apply(this,e):a;n.event_category=n.event_category||o,c(i,n)}}function u(t,e,r){var o=2<arguments.length&&void 0!==r?r:{},i=null,a=[],u=[];return{startEventListener:function(){i=(new Date).getTime();for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];a=[].concat(e)},endEventListener:function(){if(i){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];u=[].concat(e);var n="function"==typeof o?o.apply(this,[].concat((0,f.default)(a),(0,f.default)(u))):o;n.name=n.name||"load",n.value=(new Date).getTime()-i,c("timing_complete",n)}}}}var c=function(){var e=(0,l.default)(a.default.mark(function t(e){var r,n=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=1<n.length&&void 0!==n[1]?n[1]:{},"function"!=typeof gtag)return console.warn("GuideChimp [Google Analytics Plugin]: Function gtag is undefined"),t.abrupt("return",!1);t.next=4;break;case 4:return t.abrupt("return",new Promise(function(t){gtag("event",e,s(s({},r),{},{event_callback:function(){return t(!0)}}))}));case 5:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}();e.gaOn=function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},n=p.get(t)||[];return n.push(o(t,e,r)),p.set(t,n),this},e.gaTiming=function(t,e){var r=u(t,e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}),n=r.startEventListener,o=r.endEventListener,i=p.get(t)||[],a=p.get(e)||[];return i.push(n),a.push(o),p.set(t,i),p.set(e,a),this};var r=t.prototype.init;t.prototype.init=function(){var n=this;r.call(this),Array.from(p).forEach(function(t){var e=(0,i.default)(t,2),r=e[0];e[1].forEach(function(t){n.on(r,t)})})},t.prototype.gaOn=function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return this.on(t,o(t,e,r)),this},t.prototype.gaTiming=function(t,e){var r=u(t,e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}),n=r.startEventListener,o=r.endEventListener;return this.on(t,n),this.on(e,o),this},t.prototype.gaEvent=function(){var e=(0,l.default)(a.default.mark(function t(e){var r,n=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=1<n.length&&void 0!==n[1]?n[1]:{},t.abrupt("return",c(e,r));case 2:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}()}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){var n=r(5),o=r(6),i=r(0),a=r(7);t.exports=function(t,e){return n(t)||o(t,e)||i(t,e)||a()}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return r}}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,r){var n=r(9),o=r(10),i=r(0),a=r(11);t.exports=function(t){return n(t)||o(t)||i(t)||a()}},function(t,e,r){var n=r(1);t.exports=function(t){if(Array.isArray(t))return n(t)}},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},function(t,e){t.exports=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.")}},function(t,e,r){t.exports=r(13)},function(t,e,r){var n=function(a){"use strict";var c,t=Object.prototype,l=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},o=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",n=e.toStringTag||"@@toStringTag";function u(t,e,r,n){var i,a,u,c,o=e&&e.prototype instanceof g?e:g,f=Object.create(o.prototype),l=new P(n||[]);return f._invoke=(i=t,a=r,u=l,c=p,function(t,e){if(c===y)throw new Error("Generator is already running");if(c===v){if("throw"===t)throw e;return A()}for(u.method=t,u.arg=e;;){var r=u.delegate;if(r){var n=E(r,u);if(n){if(n===d)continue;return n}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if(c===p)throw c=v,u.arg;u.dispatchException(u.arg)}else"return"===u.method&&u.abrupt("return",u.arg);c=y;var o=s(i,a,u);if("normal"===o.type){if(c=u.done?v:h,o.arg===d)continue;return{value:o.arg,done:u.done}}"throw"===o.type&&(c=v,u.method="throw",u.arg=o.arg)}}),f}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=u;var p="suspendedStart",h="suspendedYield",y="executing",v="completed",d={};function g(){}function i(){}function f(){}var m={};m[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(S([])));w&&w!==t&&l.call(w,o)&&(m=w);var x=f.prototype=g.prototype=Object.create(m);function O(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function j(c,f){var e;this._invoke=function(r,n){function t(){return new f(function(t,e){!function e(t,r,n,o){var i=s(c[t],c,r);if("throw"!==i.type){var a=i.arg,u=a.value;return u&&"object"==typeof u&&l.call(u,"__await")?f.resolve(u.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):f.resolve(u).then(function(t){a.value=t,n(a)},function(t){return e("throw",t,n,o)})}o(i.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}}function E(t,e){var r=t.iterator[e.method];if(r===c){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=c,E(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,d;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=c),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function S(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(l.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=c,t.done=!0,t};return n.next=n}}return{next:A}}function A(){return{value:c,done:!0}}return i.prototype=x.constructor=f,f.constructor=i,f[n]=i.displayName="GeneratorFunction",a.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,n in t||(t[n]="GeneratorFunction")),t.prototype=Object.create(x),t},a.awrap=function(t){return{__await:t}},O(j.prototype),j.prototype[r]=function(){return this},a.AsyncIterator=j,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new j(u(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},O(x),x[n]="Generator",x[o]=function(){return this},x.toString=function(){return"[object Generator]"},a.keys=function(r){var n=[];for(var t in r)n.push(t);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=S,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&l.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=l.call(o,"catchLoc"),u=l.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&l.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=c),d}},a}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e){function c(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(u){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=u.apply(t,a);function o(t){c(n,e,r,o,i,"next",t)}function i(t){c(n,e,r,o,i,"throw",t)}o(void 0)})}}}],o.c=n,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=2);function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var r,n});
//# sourceMappingURL=googleAnalytics.min.js.map

@@ -1,2 +0,2 @@

/*! GuideChimp v1.7.4 | Copyright (C) 2020 Labs64 GmbH */
/*! GuideChimp v1.7.5 | Copyright (C) 2020 Labs64 GmbH */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object')

@@ -1,3 +0,3 @@

/*! GuideChimp v1.7.4 | Copyright (C) 2020 Labs64 GmbH */
/*! GuideChimp v1.7.5 | Copyright (C) 2020 Labs64 GmbH */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.guideChimpPluginMultiPage=e():t.guideChimpPluginMultiPage=e()}(window,function(){return n={},o.m=r=[function(t,e,r){"use strict";var n=r(1),o=n(r(2)),a=n(r(4));t.exports=function(t){var i="GUIDECHIMP_MULTIPAGE_STEP",e=t.prototype.init;t.prototype.init=function(){var o=this;e.call(this),this.on("onBeforeChange",function(t){var e=t.multiPage;if(e&&"string"!=typeof o.tour){var r=e.page;if(r){var n=document.createElement("a");if(n.href=r,n.href!==window.location.href)return sessionStorage.setItem(i,o.steps.indexOf(t)),window.location.href=r,!1}}return!0})},t.prototype.continue=(0,a.default)(o.default.mark(function t(){var e;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==(e=sessionStorage.getItem(i)))return sessionStorage.removeItem(i),t.abrupt("return",this.start(e,!0));t.next=4;break;case 4:return t.abrupt("return",!1);case 5:case"end":return t.stop()}},t,this)}))}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){t.exports=r(3)},function(t,e,r){var n=function(a){"use strict";var c,t=Object.prototype,s=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},o=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",n=e.toStringTag||"@@toStringTag";function u(t,e,r,n){var i,a,u,c,o=e&&e.prototype instanceof g?e:g,f=Object.create(o.prototype),s=new O(n||[]);return f._invoke=(i=t,a=r,u=s,c=h,function(t,e){if(c===y)throw new Error("Generator is already running");if(c===d){if("throw"===t)throw e;return k()}for(u.method=t,u.arg=e;;){var r=u.delegate;if(r){var n=_(r,u);if(n){if(n===v)continue;return n}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if(c===h)throw c=d,u.arg;u.dispatchException(u.arg)}else"return"===u.method&&u.abrupt("return",u.arg);c=y;var o=l(i,a,u);if("normal"===o.type){if(c=u.done?d:p,o.arg===v)continue;return{value:o.arg,done:u.done}}"throw"===o.type&&(c=d,u.method="throw",u.arg=o.arg)}}),f}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=u;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function g(){}function i(){}function f(){}var m={};m[o]=function(){return this};var w=Object.getPrototypeOf,x=w&&w(w(S([])));x&&x!==t&&s.call(x,o)&&(m=x);var b=f.prototype=g.prototype=Object.create(m);function L(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function E(c,f){var e;this._invoke=function(r,n){function t(){return new f(function(t,e){!function e(t,r,n,o){var i=l(c[t],c,r);if("throw"!==i.type){var a=i.arg,u=a.value;return u&&"object"==typeof u&&s.call(u,"__await")?f.resolve(u.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):f.resolve(u).then(function(t){a.value=t,n(a)},function(t){return e("throw",t,n,o)})}o(i.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}}function _(t,e){var r=t.iterator[e.method];if(r===c){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=c,_(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,v;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=c),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function S(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(s.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=c,t.done=!0,t};return n.next=n}}return{next:k}}function k(){return{value:c,done:!0}}return i.prototype=b.constructor=f,f.constructor=i,f[n]=i.displayName="GeneratorFunction",a.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,n in t||(t[n]="GeneratorFunction")),t.prototype=Object.create(b),t},a.awrap=function(t){return{__await:t}},L(E.prototype),E.prototype[r]=function(){return this},a.AsyncIterator=E,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new E(u(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},L(b),b[n]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},a.keys=function(r){var n=[];for(var t in r)n.push(t);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=S,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&s.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=s.call(o,"catchLoc"),u=s.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&s.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=c),v}},a}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){function c(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}t.exports=function(u){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=u.apply(t,a);function o(t){c(n,e,r,o,i,"next",t)}function i(t){c(n,e,r,o,i,"throw",t)}o(void 0)})}}}],o.c=n,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=0);function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var r,n});
//# sourceMappingURL=multiPage.min.js.map

@@ -1,2 +0,2 @@

/*! GuideChimp v1.7.4 | Copyright (C) 2020 Labs64 GmbH */
/*! GuideChimp v1.7.5 | Copyright (C) 2020 Labs64 GmbH */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object')

@@ -1,3 +0,3 @@

/*! GuideChimp v1.7.4 | Copyright (C) 2020 Labs64 GmbH */
/*! GuideChimp v1.7.5 | Copyright (C) 2020 Labs64 GmbH */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.guideChimpPluginRemoveAttribution=t():e.guideChimpPluginRemoveAttribution=t()}(window,function(){return o={},r.m=n=[function(e,t,n){"use strict";e.exports=function(e){e.prototype.showCopyright=function(){return document.createElement("div")}}}],r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0);function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,o});
//# sourceMappingURL=removeAttribution.min.js.map

@@ -1,2 +0,2 @@

/*! GuideChimp v1.7.4 | Copyright (C) 2020 Labs64 GmbH */
/*! GuideChimp v1.7.5 | Copyright (C) 2020 Labs64 GmbH */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object')

@@ -1,3 +0,3 @@

/*! GuideChimp v1.7.4 | Copyright (C) 2020 Labs64 GmbH */
/*! GuideChimp v1.7.5 | Copyright (C) 2020 Labs64 GmbH */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.guideChimpPluginTriggers=e():t.guideChimpPluginTriggers=e()}(window,function(){return r={},o.m=n=[function(t,e,n){"use strict";var u=n(1)(n(2));t.exports=function(t){var e=t.prototype.init,o="triggersListeners",i="stepTriggersListeners";t.prototype.init=function(){var c=this;e.call(this),this.on("onTrigger.next",function(){return c.next()}),this.on("onTrigger.previous",function(){return c.previous()}),this.on("onTrigger.stop",function(){return c.stop()});function n(e){var u=[];return Object.keys(e).forEach(function(i){var t=e[i];(t=Array.isArray(t)?t:[t]).forEach(function(t){var r=t,e="click",o=null;null!==t&&"[object Object]"===Object.prototype.toString.call(t)&&(r=t.element,e=t.event||e,o=t.listener||o);function n(t){var e=t.target,n=[];"string"==typeof r?n=Array.from(document.querySelectorAll(r)):r instanceof NodeList?n=Array.from(r):r instanceof HTMLElement&&(n=[r]),n.length&&n.includes(e)&&(o&&"function"==typeof o?o.call(c,t):c.emit("onTrigger.".concat(i),t))}u.push([e,n]),document.body.addEventListener(e,n,!0)})}),u}function r(t){return t&&t.forEach(function(t){var e=(0,u.default)(t,2),n=e[0],r=e[1];document.body.removeEventListener(n,r,!0)}),c}this.on("onStart",function(){var t=c.getOptions().triggers;t&&c.cache.set(o,n(t))}),this.on("onBeforeChange",function(t){r(c.cache.get(i)),c.cache.delete(i);var e=t.triggers;return e&&c.cache.set(i,n(e)),!0}),this.on("onStop",function(){r(c.cache.get(o)),r(c.cache.get(i)),c.cache.delete(o),c.cache.delete(i)})}}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){var r=n(3),o=n(4),i=n(5),u=n(7);t.exports=function(t,e){return r(t)||o(t,e)||i(t,e)||u()}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,c=t[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}},function(t,e,n){var r=n(6);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}}],o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=0);function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var n,r});
//# sourceMappingURL=triggers.min.js.map
{
"name": "guidechimp",
"version": "1.7.4",
"version": "1.7.5",
"description": "Deliver the perfect product experience & simplify user onboarding with step by step interactive walkthroughs.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -5,6 +5,10 @@ <a href="https://www.linkedin.com/showcase/guidechimp/"><p align="center"><img src="https://io.labs64.com/GuideChimp/docs/img/guidechimp-logo-transparent.png" alt="GuideChimp - Logo"></p></a>

<a href="https://github.com/Labs64/GuideChimp/actions?query=workflow%3A%22GuideChimp+CI%22"><img src="https://github.com/Labs64/GuideChimp/workflows/GuideChimp%20CI/badge.svg" alt="Build Status"></a>
<a href="https://badge.fury.io/js/guidechimp"><img src="https://badge.fury.io/js/guidechimp.svg" alt="Build Status"></a>
<a href="https://www.jsdelivr.com/package/npm/guidechimp"><img src="https://data.jsdelivr.com/v1/package/npm/guidechimp/badge" alt="Build Status"></a>
<a href="https://badge.fury.io/js/guidechimp"><img src="https://badge.fury.io/js/guidechimp.svg" alt="GuideChimp @ npmjs"></a>
<a href="https://www.jsdelivr.com/package/npm/guidechimp"><img src="https://data.jsdelivr.com/v1/package/npm/guidechimp/badge" alt="GuideChimp @ jsDelivr"></a>
<a href="https://github.com/Labs64/GuideChimp/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="Apache License 2.0"></a>
<br>
<a href="https://github.com/Labs64/GuideChimp/wiki/Plugins"><img src="https://img.shields.io/badge/Plugins-5-E14817.svg" alt="GuideChimp Plugins"></a>
<a href="https://github.com/Labs64/GuideChimp/wiki"><img src="https://img.shields.io/badge/📖%20Documentation-Wiki-AB6543.svg" alt="📖 Documentation"></a>
<a href="https://discord.gg/cgs9JeK"><img src="https://img.shields.io/discord/691194972216754187.svg?label=Join%20Community&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2" alt="Join GuideChimp Discord Community"></a>
<a href="https://www.linkedin.com/showcase/guidechimp"><img src="https://img.shields.io/badge/GuideChimp-0077B5.svg?logo=LinkedIn" alt="GuideChimp @ LinkedIn"></a>
</p>

@@ -31,3 +35,3 @@

- GuideChimp is simple and robust enough to provide results with minimal effort! Set up it in just 3 minutes!
- Let GuideChimp look like an integral part of your software product by configuring its look & feel.
- Let GuideChimp look like an integral part of your software product by configuring its look & feel
- GuideChimp works well with tools you already use (e.g. WordPress, Confluence, etc.).

@@ -37,3 +41,4 @@ - [Beacons](https://github.com/Labs64/GuideChimp/tree/master/plugins/beacons) 🟠 Hotspots 🟠 Hints: Raise visitors attention by adding an additional description to any element on the web page.

- Support of *Single Page Applications* build with Angular, Vue.js, React, etc.
- Extendable using out-of-the-box and third-party [plugins](https://github.com/Labs64/GuideChimp/wiki/Plugins).
- Extendable using out-of-the-box and third-party [plugins](https://github.com/Labs64/GuideChimp/wiki/Plugins)
- Detailed installation and configuration [documentation](https://github.com/Labs64/GuideChimp/wiki)
- Tooltip auto-positioning on an element

@@ -44,2 +49,3 @@ - Easy styling through SCSS and clean CSS

- Use multiple listeners on tour events
- Internationalization / i18n [support](https://github.com/Labs64/GuideChimp/wiki/Examples)
- Ability to add steps on-the-fly / programmatically

@@ -53,3 +59,3 @@ - Enable tour on the lazy-loaded or delayed elements (post-rendering, route changing, etc.) in single-page applications using "onBeforeChange" event

- Ability to set callback ("onBeforeChange", "onAfterChange") functions for each step in the tour
- Lightweight (< 45KB) and good performance
- Lightweight (*< 45KB*) and good performance
- **Last But Not Least:** :point_up: Dual-Licensed - [Apache 2.0](LICENSE) and Commercial (including great support, maintenance and customized implementation)

@@ -60,2 +66,7 @@

# 📖 Documentation
Visit GuideChimp [Wiki](https://github.com/Labs64/GuideChimp/wiki) for installation and configuration tips, customizations and plugins, as well as [examples](https://github.com/Labs64/GuideChimp/wiki/Examples) on how to use GuideChimp in the real-world scenarios.
# How to Use

@@ -106,7 +117,2 @@

# Documentation
Please visit GuideChimp [Wiki](https://github.com/Labs64/GuideChimp/wiki).
# Demo

@@ -133,3 +139,7 @@

---
<a href="https://www.producthunt.com/posts/guidechimp?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-guidechimp" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=182973&theme=light" alt="GuideChimp - Simplify user onboarding with interactive walkthroughs | Product Hunt Embed" style="width: 250px; height: 54px;" width="250px" height="54px" /></a>
# Bugs and Feedback

@@ -148,38 +158,15 @@

| | Open Source | Commercial |
| --- | --- | --- |
| Commercial Use | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> |
| Domains | 1 | unlimited |
| Remove Attribution | :heavy_multiplication_x: | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> |
| Extensions/Plugins | :heavy_multiplication_x: | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> |
| Support | :heavy_multiplication_x: | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> |
| | --- | --- |
| | [Start Now Free](https://go.netlicensing.io/shop/v2/?shoptoken=1a54fdec-8d00-4728-91c2-f79d1f528caf) | [Get It Now](https://go.netlicensing.io/shop/v2/?shoptoken=85ec199c-bc95-4d17-b3da-294ad681db70) |
| | Open Source | Commercial | Enterprise |
| --- | --- | --- | --- |
| Commercial Use | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> |
| Domains | 1 | 5 | unlimited |
| Remove Attribution | :heavy_multiplication_x: | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> |
| Extensions/Plugins | :heavy_multiplication_x: | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> |
| Support | :heavy_multiplication_x: | :heavy_multiplication_x: | <img src="https://raw.githubusercontent.com/Labs64/GuideChimp/master/docs/img/guidechimp-icon-32x32.png"> |
| | --- | --- | --- |
| | [Start Now Free](https://go.netlicensing.io/shop/v2/?packagetoken=0448250a-ef3a-4cbd-a031-98deeaa65111) | [Get It Now](https://go.netlicensing.io/shop/v2/?packagetoken=4505d572-5861-496c-bbc7-2823776d9e1e) | [Contact Us](https://www.labs64.com/contact/) |
# Privacy Policy & GDPR
# Privacy Policy
This library integrating components of an external service – [Labs64 NetLicensing](https://netlicensing.io) *(processor)*. Labs64 NetLicensing is an *Online License Management* service provider. License validation requests are processed using library developer *(controller)* NetLicensing account.
By using this library validation requests will be sent to the Labs64 NetLicensing in order to verify valid use of the library. Personal data may be transferred with these requests such as Unique Identifiers, Configuration Details, Website Instance Name, Domain Name, System Details of the data subject.
The European operating company of Labs64 NetLicensing is:
```
Labs64 GmbH
Radlkoferstr. 2
81373 Munich, Germany
Website: NetLicensing.IO
EMail: netlicensing@labs64.com
```
The applicable data protection provisions of Labs64 NetLicensing may be retrieved under Labs64 [Privacy Policy](https://www.labs64.com/legal/privacy-policy/).
We strongly encourage you to comply with General Data Protection Regulation (GDPR) while developing your applicatons and interfacing with Labs64 NetLicensing Services.
For more details on Labs64 NetLicensing data protection provisions visit Labs64 [Privacy Center](https://netlicensing.io/wiki/privacy-center).
## Controller’s Responsibilities
The controller is the principal party for data collection responsibilities. These responsibilities include collecting individual’s consent, storing of the data, managing consent-revoking, enabling the right to access, etc.
If an individual revokes consent, the controller will be responsible for initiating this request. Therefore, on receipt of this request, it will be responsible to remove the revoked data through NetLicensing vendor account.
The applicable data protection provisions may be retrieved under [Privacy Policy](privacy-policy.md).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet