⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.72
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
psa
/
admin
/
htdocs
/
modules
/
baqend
/
Edit File: vendor.js
var VueLibrary=function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=166)}({166:function(t,e,n){t.exports=n(61)},61:function(t,e,n){ /**! hopscotch - v0.3.1 * * Copyright 2017 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ t.exports=function(){"use strict";var t,e,n,o,r,i,s,l,a,u,c,h,f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p="bubble_default",d=window.Sizzle||null,v="undefined",g=!1,m=("undefined"==typeof jQuery?"undefined":f(jQuery))!==v,b=!1,w=!1,y=/^[a-zA-Z]+[a-zA-Z0-9_-]*$/,S={left:"right",right:"left"};try{f(window.sessionStorage)!==v&&(b=!0,sessionStorage.setItem("hopscotch.test.storage","ok"),sessionStorage.removeItem("hopscotch.test.storage"),w=!0)}catch(t){}return c={smoothScroll:!0,scrollDuration:1e3,scrollTopMargin:200,showCloseButton:!0,showPrevButton:!1,showNextButton:!0,bubbleWidth:280,bubblePadding:15,arrowWidth:20,skipIfNoElement:!0,isRtl:!1,cookieName:"hopscotch.tour.state"},Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),(l={addClass:function(t,e){var n,o,r,i;if(t.className){for(o=e.split(/\s+/),n=" "+t.className+" ",r=0,i=o.length;i>r;++r)n.indexOf(" "+o[r]+" ")<0&&(n+=o[r]+" ");t.className=n.replace(/^\s+|\s+$/g,"")}else t.className=e},removeClass:function(t,e){var n,o,r,i;for(o=e.split(/\s+/),n=" "+t.className+" ",r=0,i=o.length;i>r;++r)n=n.replace(" "+o[r]+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")},hasClass:function(t,e){return!!t.className&&-1!==(" "+t.className+" ").indexOf(" "+e+" ")},getPixelValue:function(t){var e=void 0===t?"undefined":f(t);return"number"===e?t:"string"===e?parseInt(t,10):0},valOrDefault:function(t,e){return(void 0===t?"undefined":f(t))!==v?t:e},invokeCallbackArrayHelper:function(t){var e;return Array.isArray(t)&&"function"==typeof(e=u[t[0]])?e.apply(this,t.slice(1)):void 0},invokeCallbackArray:function(t){var e,n;if(Array.isArray(t)){if("string"==typeof t[0])return l.invokeCallbackArrayHelper(t);for(e=0,n=t.length;n>e;++e)l.invokeCallback(t[e])}},invokeCallback:function(t){return"function"==typeof t?t():"string"==typeof t&&u[t]?u[t]():l.invokeCallbackArray(t)},invokeEventCallbacks:function(t,e){var n,o,r=a[t];if(e)return this.invokeCallback(e);for(n=0,o=r.length;o>n;++n)this.invokeCallback(r[n].cb)},getScrollTop:function(){return f(window.pageYOffset)!==v?window.pageYOffset:document.documentElement.scrollTop},getScrollLeft:function(){return f(window.pageXOffset)!==v?window.pageXOffset:document.documentElement.scrollLeft},getWindowHeight:function(){return window.innerHeight||document.documentElement.clientHeight},addEvtListener:function(t,e,n){return t?t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n):void 0},removeEvtListener:function(t,e,n){return t?t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n):void 0},documentIsReady:function(){return"complete"===document.readyState},evtPreventDefault:function(t){t.preventDefault?t.preventDefault():event&&(event.returnValue=!1)},extend:function(t,e){var n;for(n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},getStepTargetHelper:function(t){var e=document.getElementById(t);if(e)return e;if(m)return(e=jQuery(t)).length?e[0]:null;if(d)return(e=new d(t)).length?e[0]:null;if(document.querySelector)try{return document.querySelector(t)}catch(t){}return/^#[a-zA-Z][\w-_:.]*$/.test(t)?document.getElementById(t.substring(1)):null},getStepTarget:function(t){var e;if(!t||!t.target)return null;if("string"==typeof t.target)return l.getStepTargetHelper(t.target);if(Array.isArray(t.target)){var n,o;for(n=0,o=t.target.length;o>n;n++)if("string"==typeof t.target[n]&&(e=l.getStepTargetHelper(t.target[n])))return e;return null}return t.target},getI18NString:function(t){return r[t]||o[t]},setState:function(t,e,n){var o,r="";if(b&&w)try{sessionStorage.setItem(t,e)}catch(o){w=!1,this.setState(t,e,n)}else b&&sessionStorage.removeItem(t),n&&((o=new Date).setTime(o.getTime()+24*n*60*60*1e3),r="; expires="+o.toGMTString()),document.cookie=t+"="+e+r+"; path=/"},getState:function(t){var e,n,o,r=t+"=",i=document.cookie.split(";");if(b&&(o=sessionStorage.getItem(t)))return o;for(e=0;e<i.length;e++){for(n=i[e];" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(r)){o=n.substring(r.length,n.length);break}}return o},clearState:function(t){b?sessionStorage.removeItem(t):this.setState(t,"",-1)},normalizePlacement:function(t){!t.placement&&t.orientation&&(t.placement=t.orientation)},flipPlacement:function(t){if(t.isRtl&&!t._isFlipped){var e,n,o=["orientation","placement"];for(n in t.xOffset&&(t.xOffset=-1*this.getPixelValue(t.xOffset)),o)e=o[n],t.hasOwnProperty(e)&&S.hasOwnProperty(t[e])&&(t[e]=S[t[e]]);t._isFlipped=!0}}}).addEvtListener(window,"load",(function(){g&&h.startTour()})),a={next:[],prev:[],start:[],end:[],show:[],error:[],close:[]},u={},o={stepNums:null,nextBtn:"Next",prevBtn:"Back",doneBtn:"Done",skipBtn:"Skip",closeTooltip:"Close"},r={},(e=function(t){this.init(t)}).prototype={isShowing:!1,currStep:void 0,setPosition:function(t){var e,n,o,r,i,s,a,u=l.getStepTarget(t),c=this.element,h=this.arrowEl,f=t.isRtl?"right":"left";if(l.flipPlacement(t),l.normalizePlacement(t),n=c.offsetWidth,e=c.offsetHeight,l.removeClass(c,"fade-in-down fade-in-up fade-in-left fade-in-right"),o=u.getBoundingClientRect(),a=t.isRtl?o.right-n:o.left,"top"===t.placement)r=o.top-e-this.opt.arrowWidth,i=a;else if("bottom"===t.placement)r=o.bottom+this.opt.arrowWidth,i=a;else if("left"===t.placement)r=o.top,i=o.left-n-this.opt.arrowWidth;else{if("right"!==t.placement)throw new Error("Bubble placement failed because step.placement is invalid or undefined!");r=o.top,i=o.right+this.opt.arrowWidth}(s="center"!==t.arrowOffset?l.getPixelValue(t.arrowOffset):t.arrowOffset)?"top"===t.placement||"bottom"===t.placement?(h.style.top="",h.style[f]="center"===s?Math.floor(n/2-h.offsetWidth/2)+"px":s+"px"):("left"===t.placement||"right"===t.placement)&&(h.style[f]="",h.style.top="center"===s?Math.floor(e/2-h.offsetHeight/2)+"px":s+"px"):(h.style.top="",h.style[f]=""),"center"===t.xOffset?i=o.left+u.offsetWidth/2-n/2:i+=l.getPixelValue(t.xOffset),"center"===t.yOffset?r=o.top+u.offsetHeight/2-e/2:r+=l.getPixelValue(t.yOffset),t.fixedElement||(r+=l.getScrollTop(),i+=l.getScrollLeft()),c.style.position=t.fixedElement?"fixed":"absolute",c.style.top=r+"px",c.style.left=i+"px"},render:function(t,e,n){var o,r,s,a,u,c,f,d,v,g,m=this.element;if(t?this.currStep=t:this.currStep&&(t=this.currStep),this.opt.isTourBubble?(a=h.getCurrTour())&&(r=a.customData,o=a.customRenderer,t.isRtl=t.hasOwnProperty("isRtl")?t.isRtl:a.hasOwnProperty("isRtl")?a.isRtl:this.opt.isRtl,s=a.unsafe,Array.isArray(a.steps)&&(u=a.steps.length,c=this._getStepI18nNum(this._getStepNum(u-1)),d=this._getStepNum(e)===this._getStepNum(u-1))):(r=t.customData,o=t.customRenderer,s=t.unsafe,t.isRtl=t.hasOwnProperty("isRtl")?t.isRtl:this.opt.isRtl),f=d?l.getI18NString("doneBtn"):t.showSkip?l.getI18NString("skipBtn"):l.getI18NString("nextBtn"),l.flipPlacement(t),l.normalizePlacement(t),this.placement=t.placement,g={i18n:{prevBtn:l.getI18NString("prevBtn"),nextBtn:f,closeTooltip:l.getI18NString("closeTooltip"),stepNum:this._getStepI18nNum(this._getStepNum(e)),numSteps:c},buttons:{showPrev:l.valOrDefault(t.showPrevButton,this.opt.showPrevButton)&&this._getStepNum(e)>0,showNext:l.valOrDefault(t.showNextButton,this.opt.showNextButton),showCTA:l.valOrDefault(t.showCTAButton&&t.ctaLabel,!1),ctaLabel:t.ctaLabel,showClose:l.valOrDefault(this.opt.showCloseButton,!0)},step:{num:e,isLast:l.valOrDefault(d,!1),title:t.title||"",content:t.content||"",isRtl:t.isRtl,placement:t.placement,padding:l.valOrDefault(t.padding,this.opt.bubblePadding),width:l.getPixelValue(t.width)||this.opt.bubbleWidth,customData:t.customData||{}},tour:{isTour:this.opt.isTourBubble,numSteps:u,unsafe:l.valOrDefault(s,!1),customData:r||{}}},"function"==typeof o)m.innerHTML=o(g);else if("string"==typeof o){if(!h.templates||"function"!=typeof h.templates[o])throw new Error('Bubble rendering failed - template "'+o+'" is not a function.');m.innerHTML=h.templates[o](g)}else if(i)m.innerHTML=i(g);else{if(!h.templates||"function"!=typeof h.templates[p])throw new Error('Bubble rendering failed - template "'+p+'" is not a function.');m.innerHTML=h.templates[p](g)}var b,w=m.children,y=w.length;for(v=0;y>v;v++)b=w[v],l.hasClass(b,"hopscotch-arrow")&&(this.arrowEl=b);return m.style.zIndex="number"==typeof t.zindex?t.zindex:"",this._setArrow(t.placement),this.hide(!1),this.setPosition(t),n&&n(!t.fixedElement),this},_getStepNum:function(t){var e,n=0,o=h.getSkippedStepsIndexes(),r=o.length;for(e=0;r>e;e++)t>o[e]&&n++;return t-n},_getStepI18nNum:function(t){var e=l.getI18NString("stepNums");return e&&t<e.length?t=e[t]:t+=1,t},_setArrow:function(t){l.removeClass(this.arrowEl,"down up right left"),"top"===t?l.addClass(this.arrowEl,"down"):"bottom"===t?l.addClass(this.arrowEl,"up"):"left"===t?l.addClass(this.arrowEl,"right"):"right"===t&&l.addClass(this.arrowEl,"left")},_getArrowDirection:function(){return"top"===this.placement?"down":"bottom"===this.placement?"up":"left"===this.placement?"right":"right"===this.placement?"left":void 0},show:function(){var t=this,e="fade-in-"+this._getArrowDirection();return l.removeClass(this.element,"hide"),l.addClass(this.element,e),setTimeout((function(){l.removeClass(t.element,"invisible")}),50),setTimeout((function(){l.removeClass(t.element,e)}),1e3),this.isShowing=!0,this},hide:function(t){var e=this.element;return t=l.valOrDefault(t,!0),e.style.top="",e.style.left="",t?(l.addClass(e,"hide"),l.removeClass(e,"invisible")):(l.removeClass(e,"hide"),l.addClass(e,"invisible")),l.removeClass(e,"animate fade-in-up fade-in-down fade-in-right fade-in-left"),this.isShowing=!1,this},destroy:function(){var t=this.element;t&&t.parentNode.removeChild(t),l.removeEvtListener(t,"click",this.clickCb)},_handleBubbleClick:function(t){var e;if("cta"===(e=function e(n){return n===t.currentTarget?null:l.hasClass(n,"hopscotch-cta")?"cta":l.hasClass(n,"hopscotch-next")?"next":l.hasClass(n,"hopscotch-prev")?"prev":l.hasClass(n,"hopscotch-close")?"close":e(n.parentElement)}((t=t||window.event).target||t.srcElement)))this.opt.isTourBubble||h.getCalloutManager().removeCallout(this.currStep.id),this.currStep.onCTA&&l.invokeCallback(this.currStep.onCTA);else if("next"===e)h.nextStep(!0);else if("prev"===e)h.prevStep(!0);else if("close"===e){if(this.opt.isTourBubble){var n=h.getCurrStepNum()===h.getCurrTour().steps.length-1;l.invokeEventCallbacks("close"),h.endTour(!0,n)}else this.opt.onClose&&l.invokeCallback(this.opt.onClose),this.opt.id&&!this.opt.isTourBubble?h.getCalloutManager().removeCallout(this.opt.id):this.destroy();l.evtPreventDefault(t)}},init:function(t){var e,n,o,r,i=document.createElement("div"),s=this,a=!1;this.element=i,r={showPrevButton:c.showPrevButton,showNextButton:c.showNextButton,bubbleWidth:c.bubbleWidth,bubblePadding:c.bubblePadding,arrowWidth:c.arrowWidth,isRtl:c.isRtl,showNumber:!0,isTourBubble:!0},t=(void 0===t?"undefined":f(t))===v?{}:t,l.extend(r,t),this.opt=r,i.className="hopscotch-bubble animated",r.isTourBubble?(o=h.getCurrTour())&&l.addClass(i,"tour-"+o.id):l.addClass(i,"hopscotch-callout no-number"),e=function(){!a&&s.isShowing&&(a=!0,setTimeout((function(){s.setPosition(s.currStep),a=!1}),100))},l.addEvtListener(window,"resize",e),this.clickCb=function(t){s._handleBubbleClick(t)},l.addEvtListener(i,"click",this.clickCb),this.hide(),l.documentIsReady()?document.body.appendChild(i):(document.addEventListener?(n=function(){document.removeEventListener("DOMContentLoaded",n),window.removeEventListener("load",n),document.body.appendChild(i)},document.addEventListener("DOMContentLoaded",n,!1)):(n=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",n),window.detachEvent("onload",n),document.body.appendChild(i))},document.attachEvent("onreadystatechange",n)),l.addEvtListener(window,"load",n))}},n=function(){var t={},n={};this.createCallout=function(o){var r;if(!o.id)throw new Error("Must specify a callout id.");if(!y.test(o.id))throw new Error("Callout ID is using an invalid format. Use alphanumeric, underscores, and/or hyphens only. First character must be a letter.");if(t[o.id])throw new Error("Callout by that id already exists. Please choose a unique id.");if(!l.getStepTarget(o))throw new Error("Must specify existing target element via 'target' option.");return o.showNextButton=o.showPrevButton=!1,o.isTourBubble=!1,r=new e(o),t[o.id]=r,n[o.id]=o,r.render(o,null,(function(){r.show(),o.onShow&&l.invokeCallback(o.onShow)})),r},this.getCallout=function(e){return t[e]},this.removeAllCallouts=function(){var e;for(e in t)t.hasOwnProperty(e)&&this.removeCallout(e)},this.removeCallout=function(e){var o=t[e];t[e]=null,n[e]=null,o&&o.destroy()},this.refreshCalloutPositions=function(){var e,o,r;for(e in t)t.hasOwnProperty(e)&&n.hasOwnProperty(e)&&(o=t[e],r=n[e],o&&r&&o.setPosition(r))}},t=function(t){var o,d,b,w,S,C,T,k,x=this,O={},E=[],N=function(t){return o&&o.element&&o.element.parentNode||(o=new e(b)),t&&l.extend(o.opt,{bubblePadding:B("bubblePadding"),bubbleWidth:B("bubbleWidth"),showNextButton:B("showNextButton"),showPrevButton:B("showPrevButton"),showCloseButton:B("showCloseButton"),arrowWidth:B("arrowWidth"),isRtl:B("isRtl")}),o},P=function(){o&&(o.destroy(),o=null)},B=function(t){return void 0===b?c[t]:l.valOrDefault(b[t],c[t])},A=function(){return!w||0>S||S>=w.steps.length?null:w.steps[S]},D=function(){x.nextStep()},I=function t(e,n){var o,r;S+e>=0&&S+e<w.steps.length?(S+=e,r=function(){l.getStepTarget(o)?(O[S]&&delete O[S],n(S)):(O[S]=!0,l.invokeEventCallbacks("error"),t(e,n))},(o=A()).delay?setTimeout(r,o.delay):r()):n(-1)},L=function(t,e){var n,o,r,i,s=N(),a=this;if(s.hide(),t=l.valOrDefault(t,!0),(n=A()).nextOnTargetClick&&l.removeEvtListener(l.getStepTarget(n),"click",D),o=n,r=e>0?o.multipage:S>0&&w.steps[S-1].multipage,i=function(n){var i;if(-1===n)return this.endTour(!0);if(t&&(i=e>0?l.invokeEventCallbacks("next",o.onNext):l.invokeEventCallbacks("prev",o.onPrev)),n===S){if(r)return void _();(i=l.valOrDefault(i,!0))?this.showStep(n):this.endTour(!1)}},!r&&B("skipIfNoElement"))I(e,(function(t){i.call(a,t)}));else if(S+e>=0&&S+e<w.steps.length){if(S+=e,n=A(),!l.getStepTarget(n)&&!r)return l.invokeEventCallbacks("error"),this.endTour(!0,!1);i.call(this,S)}else if(S+e===w.steps.length)return this.endTour();return this},H=function(t){var e,n,o,r={};for(e in t)t.hasOwnProperty(e)&&"id"!==e&&"steps"!==e&&(r[e]=t[e]);return k.call(this,r,!0),(n=l.getState(B("cookieName")))&&(o=n.split(":"),C=o[0],T=o[1],o.length>2&&(E=o[2].split(",")),T=parseInt(T,10)),this},R=function(t){function e(){o.show(),l.invokeEventCallbacks("show",n.onShow)}var n=w.steps[t],o=N(),r=l.getStepTarget(n);S!==t&&A().nextOnTargetClick&&l.removeEvtListener(l.getStepTarget(A()),"click",D),S=t,o.hide(!1),o.render(n,t,(function(t){t?function(t){var e,n,o,r,i,s,a=N().element,u=l.getPixelValue(a.style.top),c=u+l.getPixelValue(a.offsetHeight),h=l.getStepTarget(A()).getBoundingClientRect(),p=h.top+l.getScrollTop(),d=h.bottom+l.getScrollTop(),g=p>u?u:p,b=c>d?c:d,w=l.getScrollTop(),y=w+l.getWindowHeight(),S=g-B("scrollTopMargin");g>=w&&(g<=w+B("scrollTopMargin")||y>=b)?t&&t():B("smoothScroll")?("undefined"==typeof YAHOO?"undefined":f(YAHOO))!==v&&f(YAHOO.env)!==v&&f(YAHOO.env.ua)!==v&&f(YAHOO.util)!==v&&f(YAHOO.util.Scroll)!==v?(e=YAHOO.env.ua.webkit?document.body:document.documentElement,o=YAHOO.util.Easing?YAHOO.util.Easing.easeOut:void 0,(n=new YAHOO.util.Scroll(e,{scroll:{to:[0,S]}},B("scrollDuration")/1e3,o)).onComplete.subscribe(t),n.animate()):m?jQuery("body, html").animate({scrollTop:S},B("scrollDuration"),t):(0>S&&(S=0),r=w>g?-1:1,i=Math.abs(w-S)/(B("scrollDuration")/10),(s=function(){var e=l.getScrollTop(),n=e+r*i;return r>0&&n>=S||0>r&&S>=n?(n=S,t&&t(),void window.scrollTo(0,n)):(window.scrollTo(0,n),l.getScrollTop()===e?void(t&&t()):void setTimeout(s,10))})()):(window.scrollTo(0,S),t&&t())}(e):e(),n.nextOnTargetClick&&l.addEvtListener(r,"click",D)})),_()},_=function(){var t=w.id+":"+S,e=h.getSkippedStepsIndexes();e&&e.length>0&&(t+=":"+e.join(",")),l.setState(B("cookieName"),t,1)};this.getCalloutManager=function(){return(void 0===d?"undefined":f(d))===v&&(d=new n),d},this.startTour=function(t,e){var n,o={},r=this;if(!w){if(!t)throw new Error("Tour data is required for startTour.");if(!t.id||!y.test(t.id))throw new Error("Tour ID is using an invalid format. Use alphanumeric, underscores, and/or hyphens only. First character must be a letter.");w=t,H.call(this,t)}if((void 0===e?"undefined":f(e))!==v){if(e>=w.steps.length)throw new Error("Specified step number out of bounds.");n=e}if(!l.documentIsReady())return g=!0,this;if(void 0===n&&w.id===C&&(void 0===T?"undefined":f(T))!==v){if(n=T,E.length>0)for(var i=0,s=E.length;s>i;i++)o[E[i]]=!0}else n||(n=0);return function(t,e,n){var o,r;if(S=t||0,O=e||{},o=A(),r=l.getStepTarget(o))n(S);else if(!r){if(l.invokeEventCallbacks("error"),O[S]=!0,B("skipIfNoElement"))return void I(1,n);n(S=-1)}}(n,o,(function(t){return-1!==t&&l.getStepTarget(w.steps[t])?(l.invokeEventCallbacks("start"),N().hide(!1),r.isActive=!0,void(l.getStepTarget(A())?r.showStep(t):(l.invokeEventCallbacks("error"),B("skipIfNoElement")&&r.nextStep(!1)))):void r.endTour(!1,!1)})),this},this.showStep=function(t){var e=w.steps[t],n=S;return l.getStepTarget(e)?(e.delay?setTimeout((function(){R(t)}),e.delay):R(t),this):(S=t,l.invokeEventCallbacks("error"),void(S=n))},this.prevStep=function(t){return L.call(this,t,-1),this},this.nextStep=function(t){return L.call(this,t,1),this},this.endTour=function(t,e){var n,o=N();return t=l.valOrDefault(t,!0),e=l.valOrDefault(e,!0),w&&(n=A())&&n.nextOnTargetClick&&l.removeEvtListener(l.getStepTarget(n),"click",D),S=0,T=void 0,o.hide(),t&&l.clearState(B("cookieName")),this.isActive&&(this.isActive=!1,w&&e&&l.invokeEventCallbacks("end")),this.removeCallbacks(null,!0),this.resetDefaultOptions(),P(),w=null,this},this.getCurrTour=function(){return w},this.getCurrTarget=function(){return l.getStepTarget(A())},this.getCurrStepNum=function(){return S},this.getSkippedStepsIndexes=function(){var t,e=[];for(t in O)e.push(t);return e},this.refreshBubblePosition=function(){var t=A();return t&&N().setPosition(t),this.getCalloutManager().refreshCalloutPositions(),this},this.listen=function(t,e,n){return t&&a[t].push({cb:e,fromTour:n}),this},this.unlisten=function(t,e){var n,o,r=a[t];for(n=0,o=r.length;o>n;++n)r[n].cb===e&&r.splice(n,1);return this},this.removeCallbacks=function(t,e){var n,o,r,i;for(i in a)if(!t||t===i)if(e)for(o=0,r=(n=a[i]).length;r>o;++o)n[o].fromTour&&(n.splice(o--,1),--r);else a[i]=[];return this},this.registerHelper=function(t,e){"string"==typeof t&&"function"==typeof e&&(u[t]=e)},this.unregisterHelper=function(t){u[t]=null},this.invokeHelper=function(t){var e,n,o=[];for(e=1,n=arguments.length;n>e;++e)o.push(arguments[e]);u[t]&&u[t].call(null,o)},this.setCookieName=function(t){return b.cookieName=t,this},this.resetDefaultOptions=function(){return b={},this},this.resetDefaultI18N=function(){return r={},this},this.getState=function(){return l.getState(B("cookieName"))},k=function(t,e){var n,o,i,s=["next","prev","start","end","show","error","close"];for(b||this.resetDefaultOptions(),l.extend(b,t),t&&l.extend(r,t.i18n),o=0,i=s.length;i>o;++o)t[n="on"+s[o].charAt(0).toUpperCase()+s[o].substring(1)]&&this.listen(s[o],t[n],e);return N(!0),this},this.configure=function(t){return k.call(this,t,!1)},this.setRenderer=function(t){var e=void 0===t?"undefined":f(t);return"string"===e?(p=t,i=void 0):"function"===e&&(i=t),this},this.setEscaper=function(t){return"function"==typeof t&&(s=t),this},function(t){t&&this.configure(t)}.call(this,t)},h=new t,function(){var t={escape:function(t){return s?s(t):null==t?"":(""+t).replace(new RegExp("[&<>\"']","g"),(function(t){return"&"==t?"&":"<"==t?"<":">"==t?">":'"'==t?""":"'"==t?"'":void 0}))}};this.templates=this.templates||{},this.templates.bubble_default=function(e){function n(e,n){return n?t.escape(e):e}var o,r="";t.escape,Array.prototype.join,r+="\n";var i=e.i18n,s=e.buttons,l=e.step,a=e.tour;return r+='\n<div class="hopscotch-bubble-container" style="width: '+(null==(o=l.width)?"":o)+"px; padding: "+(null==(o=l.padding)?"":o)+'px;">\n ',a.isTour&&(r+='<span class="hopscotch-bubble-number">'+(null==(o=i.stepNum)?"":o)+"</span>"),r+='\n <div class="hopscotch-bubble-content">\n ',""!==l.title&&(r+='<h3 class="hopscotch-title">'+(null==(o=n(l.title,a.unsafe))?"":o)+"</h3>"),r+="\n ",""!==l.content&&(r+='<div class="hopscotch-content">'+(null==(o=n(l.content,a.unsafe))?"":o)+"</div>"),r+='\n </div>\n <div class="hopscotch-actions">\n ',s.showPrev&&(r+='<button class="hopscotch-nav-button prev hopscotch-prev">'+(null==(o=i.prevBtn)?"":o)+"</button>"),r+="\n ",s.showCTA&&(r+='<button class="hopscotch-nav-button next hopscotch-cta">'+(null==(o=s.ctaLabel)?"":o)+"</button>"),r+="\n ",s.showNext&&(r+='<button class="hopscotch-nav-button next hopscotch-next">'+(null==(o=i.nextBtn)?"":o)+"</button>"),r+="\n </div>\n ",s.showClose&&(r+='<button class="hopscotch-bubble-close hopscotch-close">'+(null==(o=i.closeTooltip)?"":o)+"</button>"),r+'\n</div>\n<div class="hopscotch-bubble-arrow-container hopscotch-arrow">\n <div class="hopscotch-bubble-arrow-border"></div>\n <div class="hopscotch-bubble-arrow"></div>\n</div>\n'}}.call(h),h}()}});
Simpan