(window.webpackJsonp=window.webpackJsonp||[]).push([[128],{244:function(e,t){const i={title:"",content:"",elementSelector:void 0,placement:"bottom",url:void 0,type:"read-only-element",maxWaitTime:3,canBePaused:!0,onNextClick:void 0,onNextValidate:()=>Promise.resolve(!0),onPreviousClick:void 0,skipPoint:!1,class:""},o=(e,t,i)=>()=>e.GuideUtils.waitFor(t,i).catch(t=>{throw e.toastr.error(e.$translate.instant("guide.unexpected.error.message")),t});PluginRegistry.add("guide.step",[{guideBlockName:"clickable-element",getStep:(e,t)=>{const n=angular.extend({},i,{advanceOn:{selector:e.elementSelector,event:"click"},initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"clickable"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"read-only-element",getStep:(e,t)=>{const n=angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"input-element",getStep:(e,t)=>{const n=angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"input"});return n.beforeShowPromise||(n.beforeShowPromise=o(t,n.elementSelector,n.maxWaitTime)),n}},{guideBlockName:"info-message",getStep:(e,t)=>angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly"})},{guideBlockName:"guide-end",getStep:(e,t)=>angular.extend({},i,{initPreviousStep:t.GuideUtils.defaultInitPreviousStep},e,{type:"readonly",title:"guide.step_plugin.guide-ended.title",content:"guide.step_plugin.guide-ended.content",show:e=>()=>{e.options.confirmCancel=!1},hide:e=>()=>{e.options.confirmCancel=!0}})}])}}]);