guidechimp
Advanced tools
Comparing version
@@ -1,3 +0,3 @@ | ||
/*! GuideChimp v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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 r={},i.m=n=[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 n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e,n){"use strict";var r=n(0),i=r(n(3)),o=r(n(6));n(18);var s=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,i.default)(o.default,e)};s.prototype=o.default.prototype,s.plugins=new Set,s.extend=function(t){if(!s.plugins.has(t)){s.plugins.add(t);for(var e=arguments.length,n=new Array(1<e?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.apply(void 0,[o.default,s].concat(n))}return s},t.exports=s},function(r,t,e){var o=e(4),i=e(5);function s(t,e,n){return i()?r.exports=s=Reflect.construct:r.exports=s=function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&o(i,n.prototype),i},s.apply(null,arguments)}r.exports=s},function(n,t){function r(t,e){return n.exports=r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}n.exports=r},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,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var x=r(n(7)),s=r(n(9)),i=r(n(10)),E=r(n(11)),a=r(n(16)),c=r(n(17));function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){(0,i.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l=new Map,u=function(){function r(t){var e=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(0,a.default)(this,r),this.step=null,this.steps=[],this.tour=null,this.options={},this.cache=l,this.listeners={},this.observers={},"undefined"!=typeof ResizeObserver&&(this.observers.stepElementResizeObserver=new ResizeObserver(function(){return e.refresh()})),this.setOptions(n),this.setTour(t),this.init()}var t,e,n,i,o;return(0,c.default)(r,[{key:"init",value:function(){}},{key:"setTour",value:function(t){return this.tour=Array.isArray(t)?(0,E.default)(t):t,this}},{key:"getTour",value:function(){return this.tour}},{key:"setOptions",value:function(t){return this.options=k(k({},this.constructor.getDefaultOptions()),t),this}},{key:"getOptions",value:function(){return this.options}},{key:"start",value:(o=(0,s.default)(x.default.mark(function t(){var e,n,r,i=arguments;return x.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:0,n=!(1<i.length&&void 0!==i[1])||i[1],t.next=4,this.go(e,n);case 4:if(r=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",r);case 12:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"go",value:(i=(0,s.default)(x.default.mark(function t(e){var n,r,i,o,s,a,c,l,u,h,p,d,f,g,y,v,m,b,w,L=this,C=arguments;return x.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=!(1<C.length&&void 0!==C[1])||C[1],this.tour&&this.tour.length){t.next=3;break}return t.abrupt("return",!1);case 3:if(r=n?parseInt(e,10):e,i=k({},this.step),o=null,n?this.steps.indexOf(this.step)===r:this.step&&this.step.step===r)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],n?s===r:a.step===r)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(u=t.sent,c)return t.next=36,Promise.resolve().then(function(){return c.call(L,o,i)});t.next=40;break;case 36:if(t.t0=t.sent,!1===t.t0)return this.stopPreloader(),t.abrupt("return",!1);t.next=40;break;case 40:if(u.some(function(t){return!1===t}))return this.stopPreloader(),t.abrupt("return",!1);t.next=43;break;case 43:return this.stopPreloader(),this.step=o,h=this.step,p=h.element,d=h.position,f=h.buttons,g=this.getStepElement(p),this.scrollParentToChildElement(g),this.scrollTo(g),y=this.showHighlightLayer(),v=this.showInteractionLayer(),m=this.showControlLayer(),this.setHighlightLayerPosition(y,g),this.setInteractionLayerPosition(v,g),this.setControlLayerPosition(m,g),b=this.showTooltipLayer(),this.showTooltipTail(),this.showProgressbar(),this.showTitle(this.step.title),this.showDescription(this.step.description),this.showClose(),this.showCustomButtonsLayer(f),w=this.showNavigation(),this.showNavigationPrev(),this.showPagination(),this.showNavigationNext(),(0,E.default)(w.children).every(function(t){return t.classList.contains(L.constructor.getHiddenClass())})?w.classList.add(this.constructor.getHiddenClass()):w.classList.remove(this.constructor.getHiddenClass()),this.showCopyright(),this.setTooltipLayerPosition(b,g,{position:d,boundary:document.documentElement}),this.highlightElement(g),this.observeResizeStepElement(g),setTimeout(function(){L.scrollTo(b,"smooth")},300),l&&l.call(this,o,i),this.emit("onAfterChange",o,i),t.abrupt("return",!0);case 76:case"end":return t.stop()}},t,this)})),function(t){return i.apply(this,arguments)})},{key:"previous",value:(n=(0,s.default)(x.default.mark(function t(){var e,n,r,i=this;return x.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,n=this.steps.indexOf(this.step)-1,r=this.steps[n]){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,this.emit("onPrevious",r,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,r,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(n,!0));case 19:case"end":return t.stop()}},t,this)})),function(){return n.apply(this,arguments)})},{key:"next",value:(e=(0,s.default)(x.default.mark(function t(){var e,n,r,i=this;return x.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,n=this.steps.indexOf(this.step)+1,r=this.steps[n]){t.next=7;break}return t.abrupt("return",!1);case 7:return t.next=9,this.emit("onNext",r,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,r,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(n,!0));case 19:case"end":return t.stop()}},t,this)})),function(){return e.apply(this,arguments)})},{key:"stop",value:(t=(0,s.default)(x.default.mark(function t(){return x.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 n={},r=0;r<t.attributes.length;r++){var i=t.attributes[r],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&&!n[l])&&(n[l]=s)}}return k(k({step:e,title:"",description:"",position:h.options.position,interaction:h.options.interaction},n),{},{element:t})})}},{key:"getJsSteps",value:function(t){return t.map(function(t,e){return k(k({},t),{},{step:t.step||e})})}},{key:"sortSteps",value:function(t){return(0,E.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 n=getComputedStyle(e);if("fixed"===s.getPropertyValue("position")&&"static"===n.getPropertyValue("position"))return t(e.parentElement);var r="";return(Array.isArray(i)?i:[i]).forEach(function(t){r+=n.getPropertyValue("overflow-".concat(t))}),o.test(r)?e:t(e.parentElement)}(t.parentElement)}},{key:"scrollParentToChildElement",value:function(t){var e=this.getScrollableParentElement(t,"x"),n=this.getScrollableParentElement(t,"y"),r=this.options.scrollPadding;return n!==document.body&&(n.scrollTop=t.offsetTop-n.offsetTop-r),e!==document.body&&(e.scrollLeft=t.offsetLeft-e.offsetLeft-r),this}},{key:"scrollTo",value:function(t,e){var n=1<arguments.length&&void 0!==e?e:"auto",r=t.getBoundingClientRect(),i=r.top,o=r.bottom,s=r.left,a=r.right,c=window,l=c.innerWidth,u=c.innerHeight,h=this.options.scrollPadding;return 0<=s&&a<=l||window.scrollBy({behavior:n,left:s-h}),0<=i&&o<=u||window.scrollBy({behavior:n,top:i-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 n=getComputedStyle(e),r=n.getPropertyValue("z-index"),i=n.getPropertyValue("opacity"),o=n.getPropertyValue("transform");(/[0-9]+/.test(r)||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 n=t.parentElement;n&&n!==document.body;)n.classList.remove(this.constructor.getFixStackingContext()),n=n.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 n=this.options.padding;"floating"===getComputedStyle(e).getPropertyValue("position")&&(n=0);var r=this.constructor.getElementOffset(e),i=r.width,o=r.height,s=r.top,a=r.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+n,"px;\n height: ").concat(o+n,"px;\n top: ").concat(s-n/2,"px;\n left: ").concat(a-n/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 n=this.options.padding;"floating"===getComputedStyle(e).getPropertyValue("position")&&(n=0);var r=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+n,h=a-n/2,p=r<r+(c-n/2)?r:c-n/2,d=r+(l+n/2)<r+i?i:l+n/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,n){var r=2<arguments.length&&void 0!==n?n:{},i=r.position,o=r.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 w=b.getBoundingClientRect().width;b.parentElement.removeChild(b);var L={};if(o===window)L=new DOMRect(0,0,window.innerWidth,window.innerHeight);else{var C=o.getBoundingClientRect(),x=C.x,E=C.y;L=new DOMRect(x,E,o.scrollWidth,o.scrollHeight)}var k=L.top,P=L.bottom,O=L.left,S=L.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<w+(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<w+(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<w&&W.splice(W.indexOf("left"),1),d-O<w&&W.splice(W.indexOf("right"),1),(p+f/2-O<w/2||S-(d-f/2)<w/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 n=this.cache.has("interactionLayer")?this.cache.get("interactionLayer"):document.body.querySelector(".".concat(this.constructor.getInteractionLayerClass()));n&&(n.style.visibility="hidden");var r=this.cache.has("tooltipLayer")?this.cache.get("tooltipLayer"):document.body.querySelector(".".concat(this.constructor.getTooltipLayerClass()));return r&&(r.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 n=this.cache.has("interactionLayer")?this.cache.get("interactionLayer"):document.body.querySelector(".".concat(this.constructor.getInteractionLayerClass()));n&&(n.style.visibility="visible");var r=this.cache.has("tooltipLayer")?this.cache.get("tooltipLayer"):document.body.querySelector(".".concat(this.constructor.getTooltipLayerClass()));return r&&(r.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(),n=this.cache.get("closeEl");return n||((n=document.createElement("div")).onclick=function(){return t.stop()},e.appendChild(n)),n.className=this.constructor.getCloseClass(),this.cache.set("closeEl",n),n}},{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 n=this.steps.indexOf(this.step);if(0<=n&&this.steps.length){var r=(n+1)/this.steps.length*100;e.setAttribute("aria-valuenow",r),e.style.cssText="width: ".concat(r,"%;")}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,n=void 0===e?"button":e,r=t.title,i=void 0===r?"":r,o=t.class,s=t.onClick,a=document.createElement(n);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 r=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 n=document.createElement("div");n.className=r.constructor.getPaginationItemClass(),r.step===t&&n.classList.add(r.constructor.getPaginationCurrentItemClass()),n.onclick=function(){return r.go(e,!0)},i.appendChild(n)}),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 n=this.steps.indexOf(this.step);return e.classList.toggle(this.constructor.getHiddenClass(),n<=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 n=this.steps.indexOf(this.step);return e.classList.toggle(this.constructor.getHiddenClass(),n<0||n===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 n=this;t.split(",").map(function(t){return t.trim()}).forEach(function(t){n.listeners[t]=n.listeners[t]||[],n.listeners[t].push(e)})}},{key:"emit",value:function(t){for(var e=this,n=arguments.length,r=new Array(1<n?n-1:0),i=1;i<n;i++)r[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,r)})})):[]}},{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,n=k(k({},s.constructor.getDefaultKeyboardCodes()),s.options.useKeyboard),r=n.previous,i=n.next,o=n.stop;o&&o.includes(e)?s.stop():r&&r.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 n=1<arguments.length&&void 0!==e?e:{box:"border-box"},r=this.observers.stepElementResizeObserver;return r&&r.observe(t,n),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,n=t.position,r=this.getStepElement(e);return this.cache.has("highlightLayer")&&this.setHighlightLayerPosition(this.cache.get("highlightLayer"),r),this.cache.has("controlLayer")&&this.setControlLayerPosition(this.cache.get("controlLayer"),r),this.cache.has("interactionLayer")&&this.setInteractionLayerPosition(this.cache.get("interactionLayer"),r),this.cache.has("tooltipLayer")&&this.setTooltipLayerPosition(this.cache.get("tooltipLayer"),r,{position:n,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,n=e.body,r=e.documentElement,i=window.pageYOffset||r.scrollTop||n.scrollTop,o=window.pageXOffset||r.scrollLeft||n.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 n=t.getAttribute("class")||"";return n.replace(e,""),void t.setAttribute("class",n)}t.classList.remove(e)}}]),r}();e.default=u},function(t,e,n){t.exports=n(8)},function(t,e,n){var r=function(s){"use strict";var c,t=Object.prototype,u=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},i=e.iterator||"@@iterator",n=e.asyncIterator||"@@asyncIterator",r=e.toStringTag||"@@toStringTag";function a(t,e,n,r){var o,s,a,c,i=e&&e.prototype instanceof v?e:v,l=Object.create(i.prototype),u=new O(r||[]);return l._invoke=(o=t,s=n,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 n=a.delegate;if(n){var r=E(n,a);if(r){if(r===y)continue;return r}}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,n){try{return{type:"normal",arg:t.call(e,n)}}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,w=b&&b(b(S([])));w&&w!==t&&u.call(w,i)&&(m=w);var L=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(n,r){function t(){return new l(function(t,e){!function e(t,n,r,i){var o=h(c[t],c,n);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,r,i)},function(t){e("throw",t,r,i)}):l.resolve(a).then(function(t){s.value=t,r(s)},function(t){return e("throw",t,r,i)})}i(o.arg)}(n,r,t,e)})}return e=e?e.then(t,t):t()}}function E(t,e){var n=t.iterator[e.method];if(n===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 r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,y;var i=r.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 n=-1,r=function t(){for(;++n<e.length;)if(u.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=c,t.done=!0,t};return r.next=r}}return{next:T}}function T(){return{value:c,done:!0}}return o.prototype=L.constructor=l,l.constructor=o,l[r]=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,r in t||(t[r]="GeneratorFunction")),t.prototype=Object.create(L),t},s.awrap=function(t){return{__await:t}},C(x.prototype),x.prototype[n]=function(){return this},s.AsyncIterator=x,s.async=function(t,e,n,r,i){void 0===i&&(i=Promise);var o=new x(a(t,e,n,r),i);return s.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},C(L),L[r]="Generator",L[i]=function(){return this},L.toString=function(){return"[object Generator]"},s.keys=function(n){var r=[];for(var t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)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(n){if(this.done)throw n;var r=this;function t(t,e){return o.type="throw",o.arg=n,r.next=t,e&&(r.method="next",r.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 n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&u.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;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 n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=c),y}},s}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e){function c(t,e,n,r,i,o,s){try{var a=t[o](s),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,i)}t.exports=function(a){return function(){var t=this,s=arguments;return new Promise(function(e,n){var r=a.apply(t,s);function i(t){c(r,e,n,i,o,"next",t)}function o(t){c(r,e,n,i,o,"throw",t)}i(void 0)})}}},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){var r=n(12),i=n(13),o=n(14),s=n(15);t.exports=function(t){return r(t)||i(t)||o(t)||s()}},function(t,e,n){var r=n(1);t.exports=function(t){if(Array.isArray(t))return r(t)}},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},function(t,e,n){var r=n(1);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(){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 r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}},function(t,e,n){}],i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},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 n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},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(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var n,r}); | ||
//# sourceMappingURL=guidechimp.min.js.map |
@@ -1,2 +0,2 @@ | ||
/*! GuideChimp v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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(e){var t=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,t=(0,s.default)((0,l.default)(n.prototype),"getDataBeacons",this).call(this,e);return t.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)}),t}},{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))(e,t)}}},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.offsetLeft,c=e.offsetTop,s=e.offsetWidth,u=e.offsetHeight,l=t.style,f=getComputedStyle(t),p=f.width,d=f.height;switch(p=parseInt(p,10),d=parseInt(d,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?(l.left="".concat(i,"px"),l.top="".concat(c,"px")):(l.left="".concat(i-p,"px"),l.top="".concat(c-d,"px"));break;case"top":l.left="".concat(i+(s-p)/2,"px"),l.top="".concat("inner"===a?c:c-d,"px");break;case"top-right":"inner"===a?(l.left="".concat(s+i-p,"px"),l.top="".concat(c,"px")):(l.left="".concat(s+i,"px"),l.top="".concat(c-d,"px"));break;case"left":l.left="".concat("inner"===a?i:i-p,"px"),l.top="".concat(c+(u-d)/2,"px");break;default:case"center":t.setAttribute("data-beacon-position","center"),l.left="".concat(i+(s-p)/2,"px"),l.top="".concat(c+(u-d)/2,"px");break;case"right":l.left="".concat("inner"===a?i+s-p:i+s,"px"),l.top="".concat(c+(u-d)/2,"px");break;case"bottom-left":"inner"===a?(l.left="".concat(i,"px"),l.top="".concat(c+u-d,"px")):(l.left="".concat(i-p,"px"),l.top="".concat(c+u,"px"));break;case"bottom":l.left="".concat(i+(s-p)/2,"px"),l.top="".concat("inner"===a?c+u-d:c+u,"px");break;case"bottom-right":"inner"===a?(l.left="".concat(s+i-p,"px"),l.top="".concat(c+u-d,"px")):(l.left="".concat(s+i,"px"),l.top="".concat(c+u,"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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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.guideChimpPluginBlurredOverlay=t():e.guideChimpPluginBlurredOverlay=t()}(window,function(){return r={},o.m=n=[function(e,t,n){"use strict";n(1),e.exports=function(e){e.getNotBlurredClass=function(){return"gc-not-blurred"};var t=e.prototype.init;e.prototype.init=function(){var r=this;t.call(this);function o(){var t=r.constructor.getNotBlurredClass();document.querySelectorAll(".".concat(t)).forEach(function(e){e.classList.remove(t)})}this.on("onAfterChange",function(e){var t=e.element;o();for(var n=r.getStepElement(t).parentElement;n&&n!==document.body;)n.classList.add(r.constructor.getNotBlurredClass()),n=n.parentElement}),this.on("onStop",function(){o()})}}},function(e,t,n){}],o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0);function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var n,r}); | ||
//# sourceMappingURL=blurredOverlay.min.js.map |
@@ -1,2 +0,2 @@ | ||
/*! GuideChimp v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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.guideChimpPluginLazyLoading=t():e.guideChimpPluginLazyLoading=t()}(window,function(){return o={},r.m=n=[function(e,t,n){"use strict";e.exports=function(e,t,n){var o=n||{},r=o.timeout,i=void 0===r?5e3:r,u=o.frequency,f=void 0===u?100:u,c=e.prototype.init;e.prototype.init=function(){c.call(this),this.on("onBeforeChange",function(e){var o=e.element;return new Promise(function(e){if(o){var t=document.querySelector(o);if(t)e();else var n=setInterval(function(){t=document.querySelector(o),i-=f,(t||i<=0)&&(clearInterval(n),e())},f)}else e()})})}}}],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=lazyLoading.min.js.map |
@@ -1,2 +0,2 @@ | ||
/*! GuideChimp v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | Copyright (C) 2020 Labs64 GmbH */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -184,3 +184,3 @@ if(typeof exports === 'object' && typeof module === 'object') | ||
if (!multiPage) { | ||
_context2.next = 25; | ||
_context2.next = 27; | ||
break; | ||
@@ -190,3 +190,3 @@ } | ||
if (!(typeof _this.tour !== 'string')) { | ||
_context2.next = 25; | ||
_context2.next = 27; | ||
break; | ||
@@ -219,3 +219,3 @@ } | ||
if (!href) { | ||
_context2.next = 25; | ||
_context2.next = 27; | ||
break; | ||
@@ -228,3 +228,3 @@ } | ||
if (!(url.href !== window.location.href)) { | ||
_context2.next = 25; | ||
_context2.next = 27; | ||
break; | ||
@@ -241,9 +241,18 @@ } | ||
sessionStorage.setItem(storageKey, JSON.stringify(storage)); | ||
window.location.href = url.href; | ||
window.location.href = url.href; // wait page loading | ||
_context2.next = 26; | ||
return new Promise(function (resolve) { | ||
setTimeout(function () { | ||
resolve(); | ||
}, 300000); // wait 5 minutes | ||
}); | ||
case 26: | ||
return _context2.abrupt("return", false); | ||
case 25: | ||
case 27: | ||
return _context2.abrupt("return", true); | ||
case 26: | ||
case 28: | ||
case "end": | ||
@@ -250,0 +259,0 @@ return _context2.stop(); |
@@ -1,3 +0,3 @@ | ||
/*! GuideChimp v2.4.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),y=n(r(2)),o=n(r(4)),d=function(){var e=(0,o.default)(y.default.mark(function t(e){var r,n,o;return y.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=new TextEncoder("utf-8").encode(JSON.stringify(e)),t.next=3,crypto.subtle.digest("SHA-256",r);case 3:return n=t.sent,o=Array.from(new Uint8Array(n)),t.abrupt("return",o.map(function(t){return"00".concat(t.toString(16)).slice(-2)}).join(""));case 6:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}();t.exports=function(t){var p="GUIDECHIMP_MULTIPAGE",e=t.prototype.init;t.prototype.init=function(){var h=this;e.call(this),this.on("onBeforeChange",function(){var e=(0,o.default)(y.default.mark(function t(e){var r,n,o,i,a,u,c,s,f,l=arguments;return y.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(r=l.length,n=new Array(1<r?r-1:0),o=1;o<r;o++)n[o-1]=l[o];if(!(i=e.multiPage)){t.next=25;break}if("string"==typeof h.tour){t.next=25;break}if("function"==typeof(a=i.page))return t.next=8,Promise.resolve().then(function(){return a.call.apply(a,[h,e].concat(n))});t.next=11;break;case 8:t.t0=t.sent,t.next=12;break;case 11:t.t0=a;case 12:if(!(u=t.t0)){t.next=25;break}if((c=document.createElement("a")).href=String(u),c.href!==window.location.href)return s=sessionStorage.getItem(p)?JSON.parse(sessionStorage.getItem(p)):{},t.next=20,d(h.tour);t.next=25;break;case 20:return f=t.sent,s[f]=h.steps.indexOf(e),sessionStorage.setItem(p,JSON.stringify(s)),window.location.href=c.href,t.abrupt("return",!1);case 25:return t.abrupt("return",!0);case 26:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}())},t.prototype.continue=(0,o.default)(y.default.mark(function t(){var e,r,n;return y.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d(this.tour);case 2:if(e=t.sent,r=sessionStorage.getItem(p)?JSON.parse(sessionStorage.getItem(p)):{},null!=(n=r[e]))return delete r[e],Object.keys(r).length?sessionStorage.setItem(p,JSON.stringify(r)):sessionStorage.removeItem(p),t.abrupt("return",this.start(n,!0));t.next=9;break;case 9:return t.abrupt("return",!1);case 10: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,f=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,s=Object.create(o.prototype),f=new j(n||[]);return s._invoke=(i=t,a=r,u=f,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=S(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)}}),s}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 s(){}var m={};m[o]=function(){return this};var w=Object.getPrototypeOf,x=w&&w(w(P([])));x&&x!==t&&f.call(x,o)&&(m=x);var b=s.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,s){var e;this._invoke=function(r,n){function t(){return new s(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&&f.call(u,"__await")?s.resolve(u.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):s.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 S(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,S(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 O(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 j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(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(f.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=s,s.constructor=i,s[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,s):(t.__proto__=s,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=P,j.prototype={constructor:j,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)&&f.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=f.call(o,"catchLoc"),u=f.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&&f.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),_(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;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(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}); | ||
/*! GuideChimp v2.4.6 | 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),y=n(r(2)),o=n(r(4)),d=function(){var e=(0,o.default)(y.default.mark(function t(e){var r,n,o;return y.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=new TextEncoder("utf-8").encode(JSON.stringify(e)),t.next=3,crypto.subtle.digest("SHA-256",r);case 3:return n=t.sent,o=Array.from(new Uint8Array(n)),t.abrupt("return",o.map(function(t){return"00".concat(t.toString(16)).slice(-2)}).join(""));case 6:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}();t.exports=function(t){var p="GUIDECHIMP_MULTIPAGE",e=t.prototype.init;t.prototype.init=function(){var h=this;e.call(this),this.on("onBeforeChange",function(){var e=(0,o.default)(y.default.mark(function t(e){var r,n,o,i,a,u,c,s,f,l=arguments;return y.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(r=l.length,n=new Array(1<r?r-1:0),o=1;o<r;o++)n[o-1]=l[o];if(!(i=e.multiPage)){t.next=27;break}if("string"==typeof h.tour){t.next=27;break}if("function"==typeof(a=i.page))return t.next=8,Promise.resolve().then(function(){return a.call.apply(a,[h,e].concat(n))});t.next=11;break;case 8:t.t0=t.sent,t.next=12;break;case 11:t.t0=a;case 12:if(!(u=t.t0)){t.next=27;break}if((c=document.createElement("a")).href=String(u),c.href!==window.location.href)return s=sessionStorage.getItem(p)?JSON.parse(sessionStorage.getItem(p)):{},t.next=20,d(h.tour);t.next=27;break;case 20:return f=t.sent,s[f]=h.steps.indexOf(e),sessionStorage.setItem(p,JSON.stringify(s)),window.location.href=c.href,t.next=26,new Promise(function(t){setTimeout(function(){t()},3e5)});case 26:return t.abrupt("return",!1);case 27:return t.abrupt("return",!0);case 28:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}())},t.prototype.continue=(0,o.default)(y.default.mark(function t(){var e,r,n;return y.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d(this.tour);case 2:if(e=t.sent,r=sessionStorage.getItem(p)?JSON.parse(sessionStorage.getItem(p)):{},null!=(n=r[e]))return delete r[e],Object.keys(r).length?sessionStorage.setItem(p,JSON.stringify(r)):sessionStorage.removeItem(p),t.abrupt("return",this.start(n,!0));t.next=9;break;case 9:return t.abrupt("return",!1);case 10: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,f=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,s=Object.create(o.prototype),f=new j(n||[]);return s._invoke=(i=t,a=r,u=f,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=S(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)}}),s}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 s(){}var m={};m[o]=function(){return this};var w=Object.getPrototypeOf,x=w&&w(w(P([])));x&&x!==t&&f.call(x,o)&&(m=x);var b=s.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,s){var e;this._invoke=function(r,n){function t(){return new s(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&&f.call(u,"__await")?s.resolve(u.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):s.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 S(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,S(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 O(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 j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(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(f.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=s,s.constructor=i,s[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,s):(t.__proto__=s,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=P,j.prototype={constructor:j,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)&&f.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=f.call(o,"catchLoc"),u=f.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&&f.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),_(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;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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.guideChimpPluginPlaceholders=e():t.guideChimpPluginPlaceholders=e()}(window,function(){return n={},o.m=r=[function(t,e,r){"use strict";var n=r(1),f=n(r(2)),s=n(r(4)),i=n(r(5)),o=n(r(6));function a(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 h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){(0,o.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}t.exports=function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},n=t.prototype.init,o=r.template,l=void 0===o?"{*}":o;t.placeholders={},t.prototype.setPlaceholders=function(t){return this.placeholders=t,this},t.prototype.addPlaceholder=function(t,e){return this.placeholders[t]=e,this},t.prototype.addPlaceholders=function(t){return this.placeholders=h(h({},this.placeholders),t),this},t.prototype.removePlaceholder=function(t){return delete this.placeholders[t],this},t.prototype.removePlaceholders=function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];return t.length?t.forEach(function(t){delete e.placeholders[t]}):this.placeholders={},this},t.prototype.init=function(){var u=this;n.call(this),this.on("onBeforeChange",function(){var e=(0,i.default)(f.default.mark(function t(e){var r,n,o,a,c,i=arguments;return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(r=i.length,n=new Array(1<r?r-1:0),o=1;o<r;o++)n[o-1]=i[o];if("function"==typeof(a=e.placeholders))return t.next=5,Promise.resolve().then(function(){return a.call.apply(a,[u,e].concat(n))});t.next=6;break;case 5:a=t.sent;case 6:a=h(h({},u.placeholders),a),(c=Object.keys(a)).length&&function o(i){c.forEach(function(r){var n=l.replace("*",r);Object.keys(i).forEach(function(t){var e=i[t];null==e||"object"!==(0,s.default)(e)?"string"==typeof e&&(i[t]=e.replaceAll(n,a[r])):o(e)})})}(e);case 9: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){t.exports=r(3)},function(t,e,r){var n=function(a){"use strict";var u,t=Object.prototype,f=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},o=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",n=e.toStringTag||"@@toStringTag";function c(t,e,r,n){var i,a,c,u,o=e&&e.prototype instanceof g?e:g,l=Object.create(o.prototype),f=new _(n||[]);return l._invoke=(i=t,a=r,c=f,u=h,function(t,e){if(u===y)throw new Error("Generator is already running");if(u===d){if("throw"===t)throw e;return k()}for(c.method=t,c.arg=e;;){var r=c.delegate;if(r){var n=P(r,c);if(n){if(n===v)continue;return n}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(u===h)throw u=d,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);u=y;var o=s(i,a,c);if("normal"===o.type){if(u=c.done?d:p,o.arg===v)continue;return{value:o.arg,done:c.done}}"throw"===o.type&&(u=d,c.method="throw",c.arg=o.arg)}}),l}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function g(){}function i(){}function l(){}var m={};m[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(S([])));w&&w!==t&&f.call(w,o)&&(m=w);var x=l.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(u,l){var e;this._invoke=function(r,n){function t(){return new l(function(t,e){!function e(t,r,n,o){var i=s(u[t],u,r);if("throw"!==i.type){var a=i.arg,c=a.value;return c&&"object"==typeof c&&f.call(c,"__await")?l.resolve(c.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):l.resolve(c).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 P(t,e){var r=t.iterator[e.method];if(r===u){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=u,P(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=s(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=u),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}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 E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(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(f.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=u,t.done=!0,t};return n.next=n}}return{next:k}}function k(){return{value:u,done:!0}}return i.prototype=x.constructor=l,l.constructor=i,l[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,l):(t.__proto__=l,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(c(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,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&f.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},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=u),!!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=f.call(o,"catchLoc"),c=f.call(o,"finallyLoc");if(a&&c){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(!c)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&&f.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),E(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;E(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=u),v}},a}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=r=function(t){return typeof t}:e.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}e.exports=r},function(t,e){function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(c){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=c.apply(t,a);function o(t){u(n,e,r,o,i,"next",t)}function i(t){u(n,e,r,o,i,"throw",t)}o(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}}],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=placeholders.min.js.map |
@@ -1,2 +0,2 @@ | ||
/*! GuideChimp v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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=[];if("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)||n.some(function(t){return t.contains(e)}))){if(o&&"function"==typeof o)return void 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 |
@@ -1,2 +0,2 @@ | ||
/*! GuideChimp v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | 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 v2.4.5 | Copyright (C) 2020 Labs64 GmbH */ | ||
/*! GuideChimp v2.4.6 | Copyright (C) 2020 Labs64 GmbH */ | ||
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.guideChimpPluginVueRouter=r():t.guideChimpPluginVueRouter=r()}(window,function(){return n={},o.m=e=[function(t,r,e){"use strict";var n=e(1),o=n(e(2)),i=n(e(4));t.exports=function(t,r,n){var e=t.prototype.init;t.prototype.init=function(){e.call(this),this.on("onBeforeChange",function(){var r=(0,i.default)(o.default.mark(function t(r){var e;return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=r.route)return t.next=4,n.push(e);t.next=4;break;case 4:case"end":return t.stop()}},t)}));return function(t){return r.apply(this,arguments)}}())}}},function(t,r){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,r,e){t.exports=e(3)},function(t,r,e){var n=function(a){"use strict";var c,t=Object.prototype,l=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",e=r.asyncIterator||"@@asyncIterator",n=r.toStringTag||"@@toStringTag";function u(t,r,e,n){var i,a,u,c,o=r&&r.prototype instanceof g?r:g,f=Object.create(o.prototype),l=new P(n||[]);return f._invoke=(i=t,a=e,u=l,c=h,function(t,r){if(c===y)throw new Error("Generator is already running");if(c===d){if("throw"===t)throw r;return k()}for(u.method=t,u.arg=r;;){var e=u.delegate;if(e){var n=E(e,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=s(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 s(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}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&&l.call(x,o)&&(m=x);var b=f.prototype=g.prototype=Object.create(m);function L(t){["next","throw","return"].forEach(function(r){t[r]=function(t){return this._invoke(r,t)}})}function _(c,f){var r;this._invoke=function(e,n){function t(){return new f(function(t,r){!function r(t,e,n,o){var i=s(c[t],c,e);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){r("next",t,n,o)},function(t){r("throw",t,n,o)}):f.resolve(u).then(function(t){a.value=t,n(a)},function(t){return r("throw",t,n,o)})}o(i.arg)}(e,n,t,r)})}return r=r?r.then(t,t):t()}}function E(t,r){var e=t.iterator[r.method];if(e===c){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=c,E(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var n=s(e,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,v;var o=n.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=c),r.delegate=null,v):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function j(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function O(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function S(r){if(r){var t=r[o];if(t)return t.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var e=-1,n=function t(){for(;++e<r.length;)if(l.call(r,e))return t.value=r[e],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 r="function"==typeof t&&t.constructor;return!!r&&(r===i||"GeneratorFunction"===(r.displayName||r.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(_.prototype),_.prototype[e]=function(){return this},a.AsyncIterator=_,a.async=function(t,r,e,n,o){void 0===o&&(o=Promise);var i=new _(u(t,r,e,n),o);return a.isGeneratorFunction(r)?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(e){var n=[];for(var t in e)n.push(t);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,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(O),!t)for(var r in this)"t"===r.charAt(0)&&l.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=c),!!r}for(var r=this.tryEntries.length-1;0<=r;--r){var o=this.tryEntries[r],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,r){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&l.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(t,r){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&&r&&(this.next=r),v},finish:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),O(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;O(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:S(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=c),v}},a}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,r){function c(t,r,e,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void e(t)}u.done?r(c):Promise.resolve(c).then(n,o)}t.exports=function(u){return function(){var t=this,a=arguments;return new Promise(function(r,e){var n=u.apply(t,a);function o(t){c(n,r,e,o,i,"next",t)}function i(t){c(n,r,e,o,i,"throw",t)}o(void 0)})}}}],o.c=n,o.d=function(t,r,e){o.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},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(r,t){if(1&t&&(r=o(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var n in r)o.d(e,n,function(t){return r[t]}.bind(null,n));return e},o.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(r,"a",r),r},o.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},o.p="",o(o.s=0);function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}var e,n}); | ||
//# sourceMappingURL=vueRouter.min.js.map |
{ | ||
"name": "guidechimp", | ||
"version": "2.4.5", | ||
"version": "2.4.6", | ||
"description": "Deliver the perfect product experience & simplify user onboarding with step by step interactive walkthroughs.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1283350
0.1%8680
0.08%