",{"class":"tour-backdrop"}),this.backdrop.backgroundShown=!0,a(b.backdropContainer).append(this.backdrop))},c.prototype._hideBackdrop=function(){return this._hideOverlayElement(),this._hideBackground()},c.prototype._hideBackground=function(){return this.backdrop?(this.backdrop.remove(),this.backdrop.overlay=null,this.backdrop.backgroundShown=!1):void 0},c.prototype._showOverlayElement=function(b,c){var d,e;return d=a(b.element),!d||0===d.length||this.backdrop.overlayElementShown&&!c?void 0:(this.backdrop.overlayElementShown||(this.backdrop.$element=d.addClass("tour-step-backdrop"),this.backdrop.$background=a("
",{"class":"tour-step-background"}),this.backdrop.$background.appendTo(b.backdropContainer),this.backdrop.overlayElementShown=!0),e={width:d.innerWidth(),height:d.innerHeight(),offset:d.offset()},b.backdropPadding&&(e=this._applyBackdropPadding(b.backdropPadding,e)),this.backdrop.$background.width(e.width).height(e.height).offset(e.offset))},c.prototype._hideOverlayElement=function(){return this.backdrop.overlayElementShown?(this.backdrop.$element.removeClass("tour-step-backdrop"),this.backdrop.$background.remove(),this.backdrop.$element=null,this.backdrop.$background=null,this.backdrop.overlayElementShown=!1):void 0},c.prototype._applyBackdropPadding=function(a,b){return"object"==typeof a?(null==a.top&&(a.top=0),null==a.right&&(a.right=0),null==a.bottom&&(a.bottom=0),null==a.left&&(a.left=0),b.offset.top=b.offset.top-a.top,b.offset.left=b.offset.left-a.left,b.width=b.width+a.left+a.right,b.height=b.height+a.top+a.bottom):(b.offset.top=b.offset.top-a,b.offset.left=b.offset.left-a,b.width=b.width+2*a,b.height=b.height+2*a),b},c.prototype._clearTimer=function(){return b.clearTimeout(this._timer),this._timer=null,this._duration=null},c.prototype._getProtocol=function(a){return a=a.split("://"),a.length>1?a[0]:"http"},c.prototype._getHost=function(a){return a=a.split("//"),a=a.length>1?a[1]:a[0],a.split("/")[0]},c.prototype._getPath=function(a){return a.replace(/\/?$/,"").split("?")[0].split("#")[0]},c.prototype._getQuery=function(a){return this._getParams(a,"?")},c.prototype._getHash=function(a){return this._getParams(a,"#")},c.prototype._getParams=function(a,b){var c,d,e,f,g;if(d=a.split(b),1===d.length)return{};for(d=d[1].split("&"),e={},f=0,g=d.length;g>f;f++)c=d[f],c=c.split("="),e[c[0]]=c[1]||"";return e},c.prototype._equal=function(a,b){var c,d;if("[object Object]"==={}.toString.call(a)&&"[object Object]"==={}.toString.call(b)){for(c in a)if(d=a[c],b[c]!==d)return!1;for(c in b)if(d=b[c],a[c]!==d)return!1;return!0}return a===b},c}(),b.Tour=c}(jQuery,window);
//# sourceMappingURL=../../maps/libs/bootstrap-tour.js.map