| Current Path : /home/smartconb/www/armencom33/media/quixnxt/js/ |
| Current File : /home/smartconb/www/armencom33/media/quixnxt/js/guide.js |
(()=>{"use strict";function t(){return quix.url.endsWith("/")?quix.url.slice(0,-1):quix.url}(function(){function t(){var t=function(){var t=new Shepherd.Tour({classPrefix:"quix-tour-",defaultStepOptions:{cancelIcon:{enabled:!0},classes:"class-1 class-2",scrollTo:{behavior:"smooth",block:"center"}},steps:[{text:"\n<h3>Welcome to Quix 4 Builder.</h3><p>Explore the all-new options of Quix.</p>\n",buttons:[{action:function(){return this.cancel()},secondary:!0,text:"Exit"},{action:function(){return this.next()},text:"Next"}],id:"welcome"}],useModalOverlay:!0}),e=[{title:"Page Title",text:"\n<p>Click there and you can see all the options related to your page control.</p>\n",attachTo:{element:"#quix-builder-page-title",on:"bottom"},buttons:[{action:function(){return this.back()},secondary:!0,text:"Back"},{action:function(){return this.next()},text:"Next"}],id:"including"},{title:"Page Control",text:"\n<p>Pages and Templates quick navigation.</p>\n",attachTo:{element:".qxui-drawer-open.manage-pages .qxui-drawer-content-wrapper",on:"right"},buttons:[{action:function(){return this.back()},secondary:!0,text:"Back"},{action:function(){return this.next()},text:"Next"}],id:"including",beforeShowPromise:function(){jQuery("#quix-builder-page-title").trigger("click")}},{title:"Page History",text:"\n<p>Brand new page history. One click and you can return to your previous state.</p>\n",attachTo:{element:"#quix-builder-history-cta",on:"bottom"},buttons:[{action:function(){return this.back()},secondary:!0,text:"Back"},{action:function(){return this.next()},text:"Next"}],id:"including"},{title:"Page Options",text:"\n<p>All the settings you needed reside here.</p>\n",attachTo:{element:"#quix-builder-settings-dropdown",on:"left"},buttons:[{action:function(){return this.back()},secondary:!0,text:"Back"},{action:function(){return this.next()},text:"Next"}],id:"including"}];return t.addSteps(e),t.addStep({title:"Templates Library",text:"All new page layouts, headers, footer are listed here.",attachTo:{element:".qxui-modal--template.qxui-modal--template-collection .qxui-modal-content .qxui-tabs-nav-list",on:""},buttons:[{action:function(){return this.back()},secondary:!0,text:"Back"},{action:function(){return this.next()},text:"Done"}],id:"followup",modalOverlayOpeningPadding:"10",beforeShowPromise:function(){jQuery("#quix-iframe-wrapper").contents().find("#quix-builder-add-template-cta").trigger("click")}}),t.cancel=function(){window.setQuixSession({key:"guide-quix-builder",value:"hide"}),this._done()},t.complete=function(){window.setComponentParams({key:"guide-quix-builder",value:"hide"}),this._done()},t}(),e=setInterval((function(){console.log("quixBuilderTour"),!0===window.loadedQuixComponentBuilder&&(t.start(),clearInterval(e))}),500)}(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?t():document.addEventListener("DOMContentLoaded",t)}).call(void 0),window.setQuixSession=function(e){jQuery.ajax({url:t()+"/index.php?option=com_quix&task=setSession&format=json&"+Joomla.getOptions("csrf.token")+"=1",type:"POST",data:e,success:function(t){t.success||console.warn("Something went wrong.",t)}})},window.setComponentParams=function(e){jQuery.ajax({url:t()+"/index.php?option=com_quix&task=setComponentParams&format=json&"+Joomla.getOptions("csrf.token")+"=1",type:"POST",data:e,success:function(t){t.success||console.warn("Something went wrong.",t)}})}})();