// source --> https://www.get-it.pt/wp-content/plugins/learnpress/assets/js/global.min.js?ver=3.2.6.4 
!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},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=14)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){window.LP=window.LP||{},"string"==typeof arguments[0]?(LP[arguments[0]]=LP[arguments[0]]||{},LP[arguments[0]]=jQuery.extend(LP[arguments[0]],arguments[1])):LP=jQuery.extend(LP,arguments[0])}},,function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _typeof="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},$=window.jQuery,serializeJSON=function serializeJSON(path){var isInput=$(this).is("input")||$(this).is("select")||$(this).is("textarea"),unIndexed=isInput?$(this).serializeArray():$(this).find("input, select, textarea").serializeArray(),indexed={},validate=/(\[([a-zA-Z0-9_-]+)?\]?)/g,arrayKeys={},end=!1;if($.each(unIndexed,function(){var that=this,match=this.name.match(/^([0-9a-zA-Z_-]+)/);if(match){var keys=this.name.match(validate),objPath="indexed['"+match[0]+"']";keys?("object"!=_typeof(indexed[match[0]])&&(indexed[match[0]]={}),$.each(keys,function(i,prop){prop=prop.replace(/\]|\[/g,"");var rawPath=objPath.replace(/'|\[|\]/g,""),objExp="",preObjPath=objPath;""==prop?(void 0==arrayKeys[rawPath]?arrayKeys[rawPath]=0:arrayKeys[rawPath]++,objPath+="['"+arrayKeys[rawPath]+"']"):(isNaN(prop)||(arrayKeys[rawPath]=prop),objPath+="['"+prop+"']");try{i==keys.length-1?(objExp=objPath+"=that.value;",end=!0):(objExp=objPath+"={}",end=!1);var evalString="if( typeof "+objPath+" == 'undefined'){"+objExp+";}else{if(end){if(typeof "+preObjPath+"!='object'){"+preObjPath+"={};}"+objExp+"}}";eval(evalString)}catch(t){console.log("Error:"+t+"\n"+objExp)}})):indexed[match[0]]=this.value}}),path){path="['"+path.replace(".","']['")+"']";var c="try{indexed = indexed"+path+"}catch(ex){console.log(c, ex);}";eval(c)}return indexed},LP_Tooltip=function(t){return t=$.extend({},{offset:[0,0]},t||{}),$.each(this,function(){var e=$(this),n=e.data("content");if(n&&void 0===e.data("LP_Tooltip")){var i=null;e.hover(function(o){i=$('<div class="learn-press-tooltip-bubble"/>').html(n).appendTo($("body")).hide();var a=e.offset();if($.isArray(t.offset)){var s=t.offset[1],r=t.offset[0];$.isNumeric(r)&&(a.left+=r),$.isNumeric(s)&&(a.top+=s)}i.css({top:a.top,left:a.left}),i.fadeIn()},function(){i&&i.remove()}),e.data("tooltip",!0)}})},hasEvent=function(t){var e=$(this).data("events");if(void 0===e.LP)return!1;for(i=0;i<e.LP.length;i++)if(e.LP[i].namespace==t)return!0;return!1},dataToJSON=function(){var t={};return $.each(this[0].attributes,function(){var e=this.name.match(/^data-(.*)/);e&&(t[e[1]]=this.value)}),t},rows=function(){var t=$(this).height(),e=$(this).css("line-height").replace("px","");return $(this).attr({height:t,"line-height":e}),Math.floor(t/parseInt(e))},checkLines=function(t){return this.each(function(){var e=$(this).rows();t.call(this,e)})},findNext=function(t){var e=$(t),n=this.first(),i=e.index(n),o=e.eq(i+1);return!!o.length&&o},findPrev=function(t){var e=$(t),n=this.first(),i=e.index(n),o=e.eq(i-1);return!!o.length&&o},progress=function(t){return this.each(function(){var e=parseInt(t/100*360),n=$(this);e<180?n.find(".progress-circle").removeClass("gt-50"):n.find(".progress-circle").addClass("gt-50"),n.find(".fill").css({transform:"rotate("+e+"deg)"})})};$.fn.serializeJSON=serializeJSON,$.fn.LP_Tooltip=LP_Tooltip,$.fn.hasEvent=hasEvent,$.fn.dataToJSON=dataToJSON,$.fn.rows=rows,$.fn.checkLines=checkLines,$.fn.findNext=findNext,$.fn.findPrev=findPrev,$.fn.progress=progress,exports.default={serializeJSON:serializeJSON,LP_Tooltip:LP_Tooltip,hasEvent:hasEvent,dataToJSON:dataToJSON,rows:rows,checkLines:checkLines,findNext:findNext,findPrev:findPrev,progress:progress}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={hooks:{action:{},filter:{}},addAction:function(t,e,n,i){return this.addHook("action",t,e,n,i),this},addFilter:function(t,e,n,i){return this.addHook("filter",t,e,n,i),this},doAction:function(t){return this.doHook("action",t,arguments),this},applyFilters:function(t){return this.doHook("filter",t,arguments)},removeAction:function(t,e){return this.removeHook("action",t,e),this},removeFilter:function(t,e,n){return this.removeHook("filter",t,e,n),this},addHook:function(t,e,n,i,o){void 0===this.hooks[t][e]&&(this.hooks[t][e]=[]);var a=this.hooks[t][e];return void 0===o&&(o=e+"_"+a.length),this.hooks[t][e].push({tag:o,callable:n,priority:i}),this},doHook:function(t,e,n){if(n=Array.prototype.slice.call(n,1),void 0!==this.hooks[t][e]){var i,o=this.hooks[t][e];o.sort(function(t,e){return t.priority-e.priority});for(var a=0;a<o.length;a++)"function"!=typeof(i=o[a].callable)&&(i=window[i]),"action"===t?i.apply(null,n):n[0]=i.apply(null,n)}return"filter"===t?n[0]:this},removeHook:function(t,e,n,i){if(void 0!==this.hooks[t][e])for(var o=this.hooks[t][e],a=o.length-1;a>=0;a--)void 0!==i&&i!==o[a].tag||void 0!==n&&n!==o[a].priority||o.splice(a,1);return this}};e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e={},n=window.jQuery;this.on=function(n,i){var o=n.split("."),a="";return o.length>1&&(n=o[0],a=o[1]),e[n]||(e[n]=[[],{}]),a?(e[n][1][a]||(e[n][1][a]=[]),e[n][1][a].push(i)):e[n][0].push(i),t},this.off=function(i,o){var a=i.split("."),s="";if(a.length>1&&(i=a[0],s=a[1]),!e[i])return t;var r=-1;if(s){if(!e[i][1][s])return t;if(n.isFunction(o)){if((r=e[i][1][s].indexOf(o))<0)return t;e[i][1][s].splice(r,1)}else e[i][1][s]=[]}else if(n.isFunction(o)){if((r=e[i][0].indexOf(o))<0)return t;e[i][0].splice(r,1)}else e[i][0]=[];return t},this.callEvent=function(i,o){if(e[i]){if(e[i][0])for(var a=0;a<e[i][0].length;a++)n.isFunction(e[i][0][a])&&e[i][a][0].apply(t,o);if(e[i][1])for(var a in e[i][1])for(var s=0;s<e[i][1][a].length;s++)n.isFunction(e[i][1][a][s])&&e[i][1][a][s].apply(t,o)}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=window.jQuery,o={$block:null,$window:null,events:{},instances:[],instance:null,quickConfirm:function(t,e){var n=i(t);i("[learn-press-quick-confirm]").each(function(){var t;(t=i(this).data("quick-confirm"))&&(console.log(t),t.destroy())}),!n.attr("learn-press-quick-confirm")&&n.attr("learn-press-quick-confirm","true").data("quick-confirm",new function(t,e){var n=i(t),o=i('<span class="learn-press-quick-confirm"></span>').insertAfter(n),a=i(t).position()||{left:0,top:0},s=null,r=null,c=3,l=function(){o.fadeOut("fast",function(){i(this).remove(),o.parent().css("position","")}),n.removeAttr("learn-press-quick-confirm").data("quick-confirm",void 0),u()},u=function(){r&&clearInterval(r),s&&clearInterval(s)},d=function(){s=setInterval(function(){0==--c&&(l.call(o[0]),i.isFunction(e.onCancel)&&e.onCancel(e.data),u()),o.find("span").html(" ("+c+")")},1e3),r=setInterval(function(){n.is(":visible")&&"hidden"!=n.css("visibility")||(u(),o.remove(),o.parent().css("position",""),i.isFunction(e.onCancel)&&e.onCancel(e.data))},350)};e=i.extend({message:"",data:null,onOk:null,onCancel:null,offset:{top:0,left:0}},e||{}),o.html(e.message||n.attr("data-confirm-remove")||"Are you sure?").append("<span> ("+c+")</span>").css({}),o.click(function(){i.isFunction(e.onOk)&&e.onOk(e.data),l()}).hover(function(){u()},function(){d()}),o.css({left:a.left+n.outerWidth()-o.outerWidth()+e.offset.left,top:a.top+n.outerHeight()+e.offset.top+5}).hide().fadeIn("fast"),d(),this.destroy=function(){o.remove(),n.removeAttr("learn-press-quick-confirm").data("quick-confirm",void 0),u()}}(t,e))},show:function(t,e){i.proxy(function(){e=i.extend({title:"",buttons:"",events:!1,autohide:!1,message:t,data:!1,id:LP.uniqueId(),onHide:null},e||{}),this.instances.push(e),this.instance=e;i(document);var n=i(document.body);this.$block||(this.$block=i('<div id="learn-press-message-box-block"></div>').appendTo(n)),this.$window||(this.$window=i('<div id="learn-press-message-box-window"><div id="message-box-wrap"></div> </div>').insertAfter(this.$block),this.$window.click(function(){})),this._createWindow(t,e.title,e.buttons),this.$block.show(),this.$window.show().attr("instance",e.id),i(window).bind("resize.message-box",i.proxy(this.update,this)).bind("scroll.message-box",i.proxy(this.update,this)),this.update(!0),e.autohide&&setTimeout(function(){LP.MessageBox.hide(),i.isFunction(e.onHide)&&e.onHide.call(LP.MessageBox,e)},e.autohide)},this)()},blockUI:function(t){t=(!1!==t?t||"Wait a moment":"")+'<div class="message-box-animation"></div>',this.show(t)},hide:function(t,e){e?this._removeInstance(e.id):this.instance&&this._removeInstance(this.instance.id),0===this.instances.length?(this.$block&&this.$block.hide(),this.$window&&this.$window.hide(),i(window).unbind("resize.message-box",this.update).unbind("scroll.message-box",this.update)):this.instance&&this._createWindow(this.instance.message,this.instance.title,this.instance.buttons)},update:function(t){var e=this,n=this.$window.find("#message-box-wrap"),o=n.data("timer"),a=function(){LP.Hook.doAction("learn_press_message_box_before_resize",e);var t=n.find(".message-box-content").css("height","").css("overflow","hidden"),o=(n.outerWidth(),n.outerHeight()),a=t.height(),s=i(window).height();n.offset().top;a>s-50?(t.css({height:s-25}),o=n.outerHeight()):t.css("height","").css("overflow",""),n.css({marginTop:(i(window).height()-o)/2}),LP.Hook.doAction("learn_press_message_box_resize",o,e)};t&&a(),o&&clearTimeout(o),o=setTimeout(a,250)},_removeInstance:function(t){for(var e=0;e<this.instances.length;e++)if(this.instances[e].id===t){this.instances.splice(e,1);var n=this.instances.length;n?(this.instance=this.instances[n-1],this.$window.attr("instance",this.instance.id)):(this.instance=!1,this.$window.removeAttr("instance"));break}},_getInstance:function(t){for(var e=0;e<this.instances.length;e++)if(this.instances[e].id===t)return this.instances[e]},_createWindow:function(t,e,n){var o=this.$window.find("#message-box-wrap").html("");if(e&&o.append('<h3 class="message-box-title">'+e+"</h3>"),o.append(i('<div class="message-box-content"></div>').html(t)),n){var a=i('<div class="message-box-buttons"></div>');switch(n){case"yesNo":a.append(this._createButton(LP_Settings.localize.button_yes,"yes")),a.append(this._createButton(LP_Settings.localize.button_no,"no"));break;case"okCancel":a.append(this._createButton(LP_Settings.localize.button_ok,"ok")),a.append(this._createButton(LP_Settings.localize.button_cancel,"cancel"));break;default:a.append(this._createButton(LP_Settings.localize.button_ok,"ok"))}o.append(a)}},_createButton:function(t,e){var n=i('<button type="button" class="button message-box-button message-box-button-'+e+'">'+t+"</button>"),o="on"+(e.substr(0,1).toUpperCase()+e.substr(1));return n.data("callback",o).click(function(){var t=i(this).data("instance"),e=t.events[i(this).data("callback")];"function"===i.type(e)&&!1===e.apply(LP.MessageBox,[t])||LP.MessageBox.hide(null,t)}).data("instance",this.instance),n}};e.default=o},function(t,e,n){"use strict";!function(t){t.fn.LP("QuickTip",function(e){return t.each(this,function(){var n=t(this).data("quick-tip");n||(n=new function(e,n){var i=t(e),o=i.attr("data-id")||LP.uniqueId();n=t.extend({event:"hover",autoClose:!0,single:!0,closeInterval:1e3,arrowOffset:null,tipClass:""},n,i.data()),i.attr("data-id",o);var a=i.attr("data-content-tip")||i.html(),s=t('<div class="learn-press-tip-floating">'+a+"</div>"),r=null,c=0,l=!1,u="el"===n.arrowOffset?i.outerWidth()/2:8,d=t("#__"+o);function f(){if(r)clearTimeout(r);else{n.single&&t(".learn-press-tip").not(i).LP("QuickTip","close"),s.appendTo(document.body);var e=i.offset();s.css({top:e.top-s.outerHeight()-8,left:e.left-s.outerWidth()/2+u})}}function p(){r&&clearTimeout(r),r=setTimeout(function(){s.detach(),r=null},c)}function h(){c=0,p(),c=n.closeInterval}return 0===d.length&&t(document.body).append(t("<div />").attr("id","__"+o).html(a).css("display","none")),a=d.html(),s.addClass(n.tipClass),i.data("content-tip",a),i.attr("data-content-tip")&&(l=!0),c=n.closeInterval,!1===n.autoClose&&(s.append('<a class="close"></a>'),s.on("click",".close",function(){h()})),l||i.html(""),"click"===n.event&&i.on("click",function(t){t.stopPropagation(),f()}),t(document).on("learn-press/close-all-quick-tip",function(){h()}),i.hover(function(t){t.stopPropagation(),"click"!==n.event&&f()},function(t){t.stopPropagation(),n.autoClose&&p()}).addClass("ready"),{close:h,open:function(){f()}}}(this,e),t(this).data("quick-tip",n)),"string"===t.type(e)&&n[e]&&n[e].apply(n)})})}(jQuery)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,o=window.jQuery;void 0!==o&&(o.fn.LP=i=function(t,e){if(o.isFunction(e))o.fn["LP_"+t]=e;else if(t){var n=[];if(arguments.length>1)for(var i=1;i<arguments.length;i++)n.push(arguments[i]);return o.isFunction(o(this)["LP_"+t])?o(this)["LP_"+t].apply(this,n):this}return this}),e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},o=u(n(0)),a=u(n(7)),s=u(n(6)),r=u(n(5)),c=u(n(4)),l=u(n(3));!function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);e.default=t}(n(2));function u(t){return t&&t.__esModule?t:{default:t}}var d=jQuery;String.prototype.getQueryVar=function(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var e=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(this);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))},String.prototype.addQueryVar=function(t,e){var n=this,i=n.split("#");return n=i[0],t.match(/\[/)?(n+=n.match(/\?/)?"&":"?",n+=t+"="+e):-1!=n.indexOf("&"+t+"=")||-1!=n.indexOf("?"+t+"=")?n=n.replace(new RegExp(t+"=([^&#]*)","g"),t+"="+e):(n+=n.match(/\?/)?"&":"?",n+=t+"="+e),n+(i[1]?"#"+i[1]:"")},String.prototype.removeQueryVar=function(t){var e=this,n=e.split("#");e=n[0],t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i=new RegExp("[\\?&]"+t+"([[][^=]*)?=([^&#]*)","g");return(e=e.replace(i,""))+(n[1]?"#"+n[1]:"")},0==d.isEmptyObject("")&&(d.isEmptyObject=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0});var f={Hook:l.default,setUrl:function(t,e,n){t&&(history.pushState({},n,t),LP.Hook.doAction("learn_press_set_location_url",t))},toggleGroupSection:function(t,e){var n=d(t);n.hasClass("hide-if-js")&&n.hide().removeClass("hide-if-js"),n.removeClass("hide-if-js").slideToggle(function(){d(this).is(":visible")?d(e).addClass("toggle-on").removeClass("toggle-off"):d(e).addClass("toggle-off").removeClass("toggle-on")})},overflow:function(t,e){var n=d(t),i=n.css("overflow");e?n.css("overflow",e).data("overflow",i):n.css("overflow",n.data("overflow"))},getUrl:function(){return window.location.href},addQueryVar:function(t,e,n){return(void 0===n?window.location.href:n).addQueryVar(t,e)},removeQueryVar:function(t,e){return(void 0===e?window.location.href:e).removeQueryVar(t)},reload:function(t){t||(t=window.location.href),window.location.href=t},parseResponse:function(t,e){var n=t.match(/<-- LP_AJAX_START -->(.*)<-- LP_AJAX_END -->/);return n&&(t=n[1]),"json"===(e||"json")?this.parseJSON(t):t},parseJSON:function(t){var e=(t+"").match(/<-- LP_AJAX_START -->(.*)<-- LP_AJAX_END -->/);try{t=e?d.parseJSON(e[1]):d.parseJSON(t)}catch(e){t={}}return t},ajax:function(t){var e=t.type||"post",n=t.dataType||"json",i=t.action?d.extend(t.data,{"lp-ajax":t.action}):t.data,o=t.beforeSend||function(){},a=t.url||window.location.href;d.ajax({data:i,url:a,type:e,dataType:"html",beforeSend:o.apply(null,t),success:function(e){var i=LP.parseResponse(e,n);d.isFunction(t.success)&&t.success(i,e)},error:function(){d.isFunction(t.error)&&t.error.apply(null,LP.funcArgs2Array())}})},doAjax:function(t){var e=t.type||"post",n=t.dataType||"json",i=(void 0===t.prefix||"learnpress_")+t.action,o=t.action?d.extend(t.data,{action:i}):t.data;d.ajax({data:o,url:t.url||window.location.href,type:e,dataType:"html",success:function(e){var i=LP.parseResponse(e,n);d.isFunction(t.success)&&t.success(i,e)},error:function(){d.isFunction(t.error)&&t.error.apply(null,LP.funcArgs2Array())}})},funcArgs2Array:function(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n]);return e},addFilter:function(t,e){var n=d(document),i="LP."+t;return n.on(i,e),LP.log(n.data("events")),this},applyFilters:function(){var t=d(document),e=arguments[0],n=this.funcArgs2Array(arguments);return t.hasEvent(e)?(n[0]="LP."+e,t.triggerHandler.apply(t,n)):n[1]},addAction:function(t,e){return this.addFilter(t,e)},doAction:function(){var t=d(document),e=arguments[0],n=this.funcArgs2Array(arguments);t.hasEvent(e)&&(n[0]="LP."+e,t.trigger.apply(t,n))},toElement:function(t,e){if(0!==d(t).length){e=d.extend({delay:300,duration:"slow",offset:50,container:null,callback:null,invisible:!1},e||{});var n,i=d(e.container);0===i.length&&(i=d("body, html")),n=i.offset().top;var o=d(t).offset().top+i.scrollTop()-n-e.offset;e.invisible&&function(t,e){var n=i.scrollTop(),o=n+i.height(),a=d(t).offset().top-i.offset().top,s=a+d(t).height();return!0===e?n<a&&o>s:a<=o&&s>=n}(t,!0)||i.fadeIn(10).delay(e.delay).animate({scrollTop:o},e.duration,e.callback)}},uniqueId:function(t,e){var n;void 0===t&&(t="");var i=function(t,e){return e<(t=parseInt(t,10).toString(16)).length?t.slice(t.length-e):e>t.length?new Array(e-t.length+1).join("0")+t:t};return this.php_js||(this.php_js={}),this.php_js.uniqidSeed||(this.php_js.uniqidSeed=Math.floor(123456789*Math.random())),this.php_js.uniqidSeed++,n=t,n+=i(parseInt((new Date).getTime()/1e3,10),8),n+=i(this.php_js.uniqidSeed,5),e&&(n+=(10*Math.random()).toFixed(8).toString()),n},log:function(){for(var t=0,e=arguments.length;t<e;t++)console.log(arguments[t])},blockContent:function(){0===d("#learn-press-block-content").length&&d(LP.template("learn-press-template-block-content",{})).appendTo(d("body")),LP.hideMainScrollbar().addClass("block-content"),d(document).trigger("learn_press_block_content")},unblockContent:function(){setTimeout(function(){LP.showMainScrollbar().removeClass("block-content"),d(document).trigger("learn_press_unblock_content")},350)},hideMainScrollbar:function(t){t||(t="html, body");var e=d(t);return e.each(function(){var t=d(this),e=t.css("overflow");t.css("overflow","hidden").attr("overflow",e)}),e},showMainScrollbar:function(t){t||(t="html, body");var e=d(t);return e.each(function(){var t=d(this),e=t.attr("overflow");t.css("overflow",e).removeAttr("overflow")}),e},template:"undefined"!=typeof _?_.memoize(function(t,e){var n,i={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"},o=function(e){return(n=n||_.template(d("#"+t).html(),null,i))(e)};return e?o(e):o},function(t,e){return t+"-"+JSON.stringify(e)}):function(){return""},alert:function(t,e){var n="",i="";"string"==typeof t?i=t:(void 0!==t.title&&(n=t.title),void 0!==t.message&&(i=t.message)),d.alerts.alert(i,n,function(t){LP._on_alert_hide(),e&&e(t)}),this._on_alert_show()},confirm:function(t,e){var n="",i="";"string"==typeof t?i=t:(void 0!==t.title&&(n=t.title),void 0!==t.message&&(i=t.message)),d.alerts.confirm(i,n,function(t){LP._on_alert_hide(),e&&e(t)}),this._on_alert_show()},_on_alert_show:function(){var t=d("#popup_container");d('<span id="popup_container_placeholder" />').insertAfter(t).data("xxx",t);t.stop().css("top","-=50").css("opacity","0").animate({top:"+=50",opacity:1},250)},_on_alert_hide:function(){var t=d("#popup_container_placeholder"),e=t.data("xxx");e&&e.replaceWith(t),e.appendTo(d(document.body)),e.stop().animate({top:"+=50",opacity:0},250,function(){d(this).remove()})},sendMessage:function(t,e,n,i){d.isPlainObject(t)&&(t=JSON.stringify(t)),e=e||window,n=n||"*",e.postMessage(t,n,i)},receiveMessage:function(t,e){var n=t.origin||t.originalEvent.origin,i=t.data||t.originalEvent.data||"";("string"==typeof i||i instanceof String)&&0===i.indexOf("{")&&(i=LP.parseJSON(i)),LP.Hook.doAction("learn_press_receive_message",i,n)}};d(document).ready(function(){void 0!==d.alerts&&(d.alerts.overlayColor="#000",d.alerts.overlayOpacity=.5,d.alerts.okButton=lpGlobalSettings.localize.button_ok,d.alerts.cancelButton=lpGlobalSettings.localize.button_cancel),d(".learn-press-message.fixed").each(function(){var t=d(this);!function(t,e){e.delayIn&&setTimeout(function(){t.show().hide().fadeIn()},e.delayIn),e.delayOut&&setTimeout(function(){t.fadeOut()},e.delayOut+(e.delayIn||0))}(t,t.data())}),d("body").on("click",".learn-press-nav-tabs li a",function(t){t.preventDefault();var e=d(this);e.closest("li").addClass("active").siblings().removeClass("active"),d(e.attr("data-tab")).addClass("active").siblings().removeClass("active"),d(document).trigger("learn-press/nav-tabs/clicked",e)}),setTimeout(function(){d(".learn-press-nav-tabs li.active:not(.default) a").trigger("click")},300),d("body.course-item-popup").parent().css("overflow","hidden"),function(){var t=null,e=function(){d(".auto-check-lines").checkLines(function(t){t>1?d(this).removeClass("single-lines"):d(this).addClass("single-lines"),d(this).attr("rows",t)})};d(window).on("resize.check-lines",function(){t?(t&&clearTimeout(t),t=setTimeout(e,300)):e()})}(),d(".learn-press-tooltip, .lp-passing-conditional").LP_Tooltip({offset:[24,24]}),d(".learn-press-icon").LP_Tooltip({offset:[30,30]}),d(".learn-press-message[data-autoclose]").each(function(){var t=d(this),e=parseInt(t.data("autoclose"));e&&setTimeout(function(t){t.fadeOut()},e,t)}),d(document).on("click",function(){d(document).trigger("learn-press/close-all-quick-tip")})}),(0,o.default)(i({Event_Callback:c.default,MessageBox:r.default},f)),e.default={fn:a.default,QuickTip:s.default}},,,,,,function(t,e,n){"use strict";!function(t){t&&t.__esModule}(n(8))}]);
// source --> https://www.get-it.pt/wp-content/plugins/learnpress/assets/js/utils.min.js?ver=3.2.6.4 
!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},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=8)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){window.LP=window.LP||{},"string"==typeof arguments[0]?(LP[arguments[0]]=LP[arguments[0]]||{},LP[arguments[0]]=jQuery.extend(LP[arguments[0]],arguments[1])):LP=jQuery.extend(LP,arguments[0])}},,function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _typeof="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},$=window.jQuery,serializeJSON=function serializeJSON(path){var isInput=$(this).is("input")||$(this).is("select")||$(this).is("textarea"),unIndexed=isInput?$(this).serializeArray():$(this).find("input, select, textarea").serializeArray(),indexed={},validate=/(\[([a-zA-Z0-9_-]+)?\]?)/g,arrayKeys={},end=!1;if($.each(unIndexed,function(){var that=this,match=this.name.match(/^([0-9a-zA-Z_-]+)/);if(match){var keys=this.name.match(validate),objPath="indexed['"+match[0]+"']";keys?("object"!=_typeof(indexed[match[0]])&&(indexed[match[0]]={}),$.each(keys,function(i,prop){prop=prop.replace(/\]|\[/g,"");var rawPath=objPath.replace(/'|\[|\]/g,""),objExp="",preObjPath=objPath;""==prop?(void 0==arrayKeys[rawPath]?arrayKeys[rawPath]=0:arrayKeys[rawPath]++,objPath+="['"+arrayKeys[rawPath]+"']"):(isNaN(prop)||(arrayKeys[rawPath]=prop),objPath+="['"+prop+"']");try{i==keys.length-1?(objExp=objPath+"=that.value;",end=!0):(objExp=objPath+"={}",end=!1);var evalString="if( typeof "+objPath+" == 'undefined'){"+objExp+";}else{if(end){if(typeof "+preObjPath+"!='object'){"+preObjPath+"={};}"+objExp+"}}";eval(evalString)}catch(t){console.log("Error:"+t+"\n"+objExp)}})):indexed[match[0]]=this.value}}),path){path="['"+path.replace(".","']['")+"']";var c="try{indexed = indexed"+path+"}catch(ex){console.log(c, ex);}";eval(c)}return indexed},LP_Tooltip=function(t){return t=$.extend({},{offset:[0,0]},t||{}),$.each(this,function(){var e=$(this),n=e.data("content");if(n&&void 0===e.data("LP_Tooltip")){var i=null;e.hover(function(o){i=$('<div class="learn-press-tooltip-bubble"/>').html(n).appendTo($("body")).hide();var a=e.offset();if($.isArray(t.offset)){var s=t.offset[1],r=t.offset[0];$.isNumeric(r)&&(a.left+=r),$.isNumeric(s)&&(a.top+=s)}i.css({top:a.top,left:a.left}),i.fadeIn()},function(){i&&i.remove()}),e.data("tooltip",!0)}})},hasEvent=function(t){var e=$(this).data("events");if(void 0===e.LP)return!1;for(i=0;i<e.LP.length;i++)if(e.LP[i].namespace==t)return!0;return!1},dataToJSON=function(){var t={};return $.each(this[0].attributes,function(){var e=this.name.match(/^data-(.*)/);e&&(t[e[1]]=this.value)}),t},rows=function(){var t=$(this).height(),e=$(this).css("line-height").replace("px","");return $(this).attr({height:t,"line-height":e}),Math.floor(t/parseInt(e))},checkLines=function(t){return this.each(function(){var e=$(this).rows();t.call(this,e)})},findNext=function(t){var e=$(t),n=this.first(),i=e.index(n),o=e.eq(i+1);return!!o.length&&o},findPrev=function(t){var e=$(t),n=this.first(),i=e.index(n),o=e.eq(i-1);return!!o.length&&o},progress=function(t){return this.each(function(){var e=parseInt(t/100*360),n=$(this);e<180?n.find(".progress-circle").removeClass("gt-50"):n.find(".progress-circle").addClass("gt-50"),n.find(".fill").css({transform:"rotate("+e+"deg)"})})};$.fn.serializeJSON=serializeJSON,$.fn.LP_Tooltip=LP_Tooltip,$.fn.hasEvent=hasEvent,$.fn.dataToJSON=dataToJSON,$.fn.rows=rows,$.fn.checkLines=checkLines,$.fn.findNext=findNext,$.fn.findPrev=findPrev,$.fn.progress=progress,exports.default={serializeJSON:serializeJSON,LP_Tooltip:LP_Tooltip,hasEvent:hasEvent,dataToJSON:dataToJSON,rows:rows,checkLines:checkLines,findNext:findNext,findPrev:findPrev,progress:progress}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={hooks:{action:{},filter:{}},addAction:function(t,e,n,i){return this.addHook("action",t,e,n,i),this},addFilter:function(t,e,n,i){return this.addHook("filter",t,e,n,i),this},doAction:function(t){return this.doHook("action",t,arguments),this},applyFilters:function(t){return this.doHook("filter",t,arguments)},removeAction:function(t,e){return this.removeHook("action",t,e),this},removeFilter:function(t,e,n){return this.removeHook("filter",t,e,n),this},addHook:function(t,e,n,i,o){void 0===this.hooks[t][e]&&(this.hooks[t][e]=[]);var a=this.hooks[t][e];return void 0===o&&(o=e+"_"+a.length),this.hooks[t][e].push({tag:o,callable:n,priority:i}),this},doHook:function(t,e,n){if(n=Array.prototype.slice.call(n,1),void 0!==this.hooks[t][e]){var i,o=this.hooks[t][e];o.sort(function(t,e){return t.priority-e.priority});for(var a=0;a<o.length;a++)"function"!=typeof(i=o[a].callable)&&(i=window[i]),"action"===t?i.apply(null,n):n[0]=i.apply(null,n)}return"filter"===t?n[0]:this},removeHook:function(t,e,n,i){if(void 0!==this.hooks[t][e])for(var o=this.hooks[t][e],a=o.length-1;a>=0;a--)void 0!==i&&i!==o[a].tag||void 0!==n&&n!==o[a].priority||o.splice(a,1);return this}};e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){var e={},n=window.jQuery;this.on=function(n,i){var o=n.split("."),a="";return o.length>1&&(n=o[0],a=o[1]),e[n]||(e[n]=[[],{}]),a?(e[n][1][a]||(e[n][1][a]=[]),e[n][1][a].push(i)):e[n][0].push(i),t},this.off=function(i,o){var a=i.split("."),s="";if(a.length>1&&(i=a[0],s=a[1]),!e[i])return t;var r=-1;if(s){if(!e[i][1][s])return t;if(n.isFunction(o)){if((r=e[i][1][s].indexOf(o))<0)return t;e[i][1][s].splice(r,1)}else e[i][1][s]=[]}else if(n.isFunction(o)){if((r=e[i][0].indexOf(o))<0)return t;e[i][0].splice(r,1)}else e[i][0]=[];return t},this.callEvent=function(i,o){if(e[i]){if(e[i][0])for(var a=0;a<e[i][0].length;a++)n.isFunction(e[i][0][a])&&e[i][a][0].apply(t,o);if(e[i][1])for(var a in e[i][1])for(var s=0;s<e[i][1][a].length;s++)n.isFunction(e[i][1][a][s])&&e[i][1][a][s].apply(t,o)}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=window.jQuery,o={$block:null,$window:null,events:{},instances:[],instance:null,quickConfirm:function(t,e){var n=i(t);i("[learn-press-quick-confirm]").each(function(){var t;(t=i(this).data("quick-confirm"))&&(console.log(t),t.destroy())}),!n.attr("learn-press-quick-confirm")&&n.attr("learn-press-quick-confirm","true").data("quick-confirm",new function(t,e){var n=i(t),o=i('<span class="learn-press-quick-confirm"></span>').insertAfter(n),a=i(t).position()||{left:0,top:0},s=null,r=null,c=3,l=function(){o.fadeOut("fast",function(){i(this).remove(),o.parent().css("position","")}),n.removeAttr("learn-press-quick-confirm").data("quick-confirm",void 0),u()},u=function(){r&&clearInterval(r),s&&clearInterval(s)},d=function(){s=setInterval(function(){0==--c&&(l.call(o[0]),i.isFunction(e.onCancel)&&e.onCancel(e.data),u()),o.find("span").html(" ("+c+")")},1e3),r=setInterval(function(){n.is(":visible")&&"hidden"!=n.css("visibility")||(u(),o.remove(),o.parent().css("position",""),i.isFunction(e.onCancel)&&e.onCancel(e.data))},350)};e=i.extend({message:"",data:null,onOk:null,onCancel:null,offset:{top:0,left:0}},e||{}),o.html(e.message||n.attr("data-confirm-remove")||"Are you sure?").append("<span> ("+c+")</span>").css({}),o.click(function(){i.isFunction(e.onOk)&&e.onOk(e.data),l()}).hover(function(){u()},function(){d()}),o.css({left:a.left+n.outerWidth()-o.outerWidth()+e.offset.left,top:a.top+n.outerHeight()+e.offset.top+5}).hide().fadeIn("fast"),d(),this.destroy=function(){o.remove(),n.removeAttr("learn-press-quick-confirm").data("quick-confirm",void 0),u()}}(t,e))},show:function(t,e){i.proxy(function(){e=i.extend({title:"",buttons:"",events:!1,autohide:!1,message:t,data:!1,id:LP.uniqueId(),onHide:null},e||{}),this.instances.push(e),this.instance=e;i(document);var n=i(document.body);this.$block||(this.$block=i('<div id="learn-press-message-box-block"></div>').appendTo(n)),this.$window||(this.$window=i('<div id="learn-press-message-box-window"><div id="message-box-wrap"></div> </div>').insertAfter(this.$block),this.$window.click(function(){})),this._createWindow(t,e.title,e.buttons),this.$block.show(),this.$window.show().attr("instance",e.id),i(window).bind("resize.message-box",i.proxy(this.update,this)).bind("scroll.message-box",i.proxy(this.update,this)),this.update(!0),e.autohide&&setTimeout(function(){LP.MessageBox.hide(),i.isFunction(e.onHide)&&e.onHide.call(LP.MessageBox,e)},e.autohide)},this)()},blockUI:function(t){t=(!1!==t?t||"Wait a moment":"")+'<div class="message-box-animation"></div>',this.show(t)},hide:function(t,e){e?this._removeInstance(e.id):this.instance&&this._removeInstance(this.instance.id),0===this.instances.length?(this.$block&&this.$block.hide(),this.$window&&this.$window.hide(),i(window).unbind("resize.message-box",this.update).unbind("scroll.message-box",this.update)):this.instance&&this._createWindow(this.instance.message,this.instance.title,this.instance.buttons)},update:function(t){var e=this,n=this.$window.find("#message-box-wrap"),o=n.data("timer"),a=function(){LP.Hook.doAction("learn_press_message_box_before_resize",e);var t=n.find(".message-box-content").css("height","").css("overflow","hidden"),o=(n.outerWidth(),n.outerHeight()),a=t.height(),s=i(window).height();n.offset().top;a>s-50?(t.css({height:s-25}),o=n.outerHeight()):t.css("height","").css("overflow",""),n.css({marginTop:(i(window).height()-o)/2}),LP.Hook.doAction("learn_press_message_box_resize",o,e)};t&&a(),o&&clearTimeout(o),o=setTimeout(a,250)},_removeInstance:function(t){for(var e=0;e<this.instances.length;e++)if(this.instances[e].id===t){this.instances.splice(e,1);var n=this.instances.length;n?(this.instance=this.instances[n-1],this.$window.attr("instance",this.instance.id)):(this.instance=!1,this.$window.removeAttr("instance"));break}},_getInstance:function(t){for(var e=0;e<this.instances.length;e++)if(this.instances[e].id===t)return this.instances[e]},_createWindow:function(t,e,n){var o=this.$window.find("#message-box-wrap").html("");if(e&&o.append('<h3 class="message-box-title">'+e+"</h3>"),o.append(i('<div class="message-box-content"></div>').html(t)),n){var a=i('<div class="message-box-buttons"></div>');switch(n){case"yesNo":a.append(this._createButton(LP_Settings.localize.button_yes,"yes")),a.append(this._createButton(LP_Settings.localize.button_no,"no"));break;case"okCancel":a.append(this._createButton(LP_Settings.localize.button_ok,"ok")),a.append(this._createButton(LP_Settings.localize.button_cancel,"cancel"));break;default:a.append(this._createButton(LP_Settings.localize.button_ok,"ok"))}o.append(a)}},_createButton:function(t,e){var n=i('<button type="button" class="button message-box-button message-box-button-'+e+'">'+t+"</button>"),o="on"+(e.substr(0,1).toUpperCase()+e.substr(1));return n.data("callback",o).click(function(){var t=i(this).data("instance"),e=t.events[i(this).data("callback")];"function"===i.type(e)&&!1===e.apply(LP.MessageBox,[t])||LP.MessageBox.hide(null,t)}).data("instance",this.instance),n}};e.default=o},function(t,e,n){"use strict";!function(t){t.fn.LP("QuickTip",function(e){return t.each(this,function(){var n=t(this).data("quick-tip");n||(n=new function(e,n){var i=t(e),o=i.attr("data-id")||LP.uniqueId();n=t.extend({event:"hover",autoClose:!0,single:!0,closeInterval:1e3,arrowOffset:null,tipClass:""},n,i.data()),i.attr("data-id",o);var a=i.attr("data-content-tip")||i.html(),s=t('<div class="learn-press-tip-floating">'+a+"</div>"),r=null,c=0,l=!1,u="el"===n.arrowOffset?i.outerWidth()/2:8,d=t("#__"+o);function f(){if(r)clearTimeout(r);else{n.single&&t(".learn-press-tip").not(i).LP("QuickTip","close"),s.appendTo(document.body);var e=i.offset();s.css({top:e.top-s.outerHeight()-8,left:e.left-s.outerWidth()/2+u})}}function p(){r&&clearTimeout(r),r=setTimeout(function(){s.detach(),r=null},c)}function h(){c=0,p(),c=n.closeInterval}return 0===d.length&&t(document.body).append(t("<div />").attr("id","__"+o).html(a).css("display","none")),a=d.html(),s.addClass(n.tipClass),i.data("content-tip",a),i.attr("data-content-tip")&&(l=!0),c=n.closeInterval,!1===n.autoClose&&(s.append('<a class="close"></a>'),s.on("click",".close",function(){h()})),l||i.html(""),"click"===n.event&&i.on("click",function(t){t.stopPropagation(),f()}),t(document).on("learn-press/close-all-quick-tip",function(){h()}),i.hover(function(t){t.stopPropagation(),"click"!==n.event&&f()},function(t){t.stopPropagation(),n.autoClose&&p()}).addClass("ready"),{close:h,open:function(){f()}}}(this,e),t(this).data("quick-tip",n)),"string"===t.type(e)&&n[e]&&n[e].apply(n)})})}(jQuery)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,o=window.jQuery;void 0!==o&&(o.fn.LP=i=function(t,e){if(o.isFunction(e))o.fn["LP_"+t]=e;else if(t){var n=[];if(arguments.length>1)for(var i=1;i<arguments.length;i++)n.push(arguments[i]);return o.isFunction(o(this)["LP_"+t])?o(this)["LP_"+t].apply(this,n):this}return this}),e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},o=u(n(0)),a=u(n(7)),s=u(n(6)),r=u(n(5)),c=u(n(4)),l=u(n(3));!function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);e.default=t}(n(2));function u(t){return t&&t.__esModule?t:{default:t}}var d=jQuery;String.prototype.getQueryVar=function(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var e=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(this);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))},String.prototype.addQueryVar=function(t,e){var n=this,i=n.split("#");return n=i[0],t.match(/\[/)?(n+=n.match(/\?/)?"&":"?",n+=t+"="+e):-1!=n.indexOf("&"+t+"=")||-1!=n.indexOf("?"+t+"=")?n=n.replace(new RegExp(t+"=([^&#]*)","g"),t+"="+e):(n+=n.match(/\?/)?"&":"?",n+=t+"="+e),n+(i[1]?"#"+i[1]:"")},String.prototype.removeQueryVar=function(t){var e=this,n=e.split("#");e=n[0],t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i=new RegExp("[\\?&]"+t+"([[][^=]*)?=([^&#]*)","g");return(e=e.replace(i,""))+(n[1]?"#"+n[1]:"")},0==d.isEmptyObject("")&&(d.isEmptyObject=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0});var f={Hook:l.default,setUrl:function(t,e,n){t&&(history.pushState({},n,t),LP.Hook.doAction("learn_press_set_location_url",t))},toggleGroupSection:function(t,e){var n=d(t);n.hasClass("hide-if-js")&&n.hide().removeClass("hide-if-js"),n.removeClass("hide-if-js").slideToggle(function(){d(this).is(":visible")?d(e).addClass("toggle-on").removeClass("toggle-off"):d(e).addClass("toggle-off").removeClass("toggle-on")})},overflow:function(t,e){var n=d(t),i=n.css("overflow");e?n.css("overflow",e).data("overflow",i):n.css("overflow",n.data("overflow"))},getUrl:function(){return window.location.href},addQueryVar:function(t,e,n){return(void 0===n?window.location.href:n).addQueryVar(t,e)},removeQueryVar:function(t,e){return(void 0===e?window.location.href:e).removeQueryVar(t)},reload:function(t){t||(t=window.location.href),window.location.href=t},parseResponse:function(t,e){var n=t.match(/<-- LP_AJAX_START -->(.*)<-- LP_AJAX_END -->/);return n&&(t=n[1]),"json"===(e||"json")?this.parseJSON(t):t},parseJSON:function(t){var e=(t+"").match(/<-- LP_AJAX_START -->(.*)<-- LP_AJAX_END -->/);try{t=e?d.parseJSON(e[1]):d.parseJSON(t)}catch(e){t={}}return t},ajax:function(t){var e=t.type||"post",n=t.dataType||"json",i=t.action?d.extend(t.data,{"lp-ajax":t.action}):t.data,o=t.beforeSend||function(){},a=t.url||window.location.href;d.ajax({data:i,url:a,type:e,dataType:"html",beforeSend:o.apply(null,t),success:function(e){var i=LP.parseResponse(e,n);d.isFunction(t.success)&&t.success(i,e)},error:function(){d.isFunction(t.error)&&t.error.apply(null,LP.funcArgs2Array())}})},doAjax:function(t){var e=t.type||"post",n=t.dataType||"json",i=(void 0===t.prefix||"learnpress_")+t.action,o=t.action?d.extend(t.data,{action:i}):t.data;d.ajax({data:o,url:t.url||window.location.href,type:e,dataType:"html",success:function(e){var i=LP.parseResponse(e,n);d.isFunction(t.success)&&t.success(i,e)},error:function(){d.isFunction(t.error)&&t.error.apply(null,LP.funcArgs2Array())}})},funcArgs2Array:function(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n]);return e},addFilter:function(t,e){var n=d(document),i="LP."+t;return n.on(i,e),LP.log(n.data("events")),this},applyFilters:function(){var t=d(document),e=arguments[0],n=this.funcArgs2Array(arguments);return t.hasEvent(e)?(n[0]="LP."+e,t.triggerHandler.apply(t,n)):n[1]},addAction:function(t,e){return this.addFilter(t,e)},doAction:function(){var t=d(document),e=arguments[0],n=this.funcArgs2Array(arguments);t.hasEvent(e)&&(n[0]="LP."+e,t.trigger.apply(t,n))},toElement:function(t,e){if(0!==d(t).length){e=d.extend({delay:300,duration:"slow",offset:50,container:null,callback:null,invisible:!1},e||{});var n,i=d(e.container);0===i.length&&(i=d("body, html")),n=i.offset().top;var o=d(t).offset().top+i.scrollTop()-n-e.offset;e.invisible&&function(t,e){var n=i.scrollTop(),o=n+i.height(),a=d(t).offset().top-i.offset().top,s=a+d(t).height();return!0===e?n<a&&o>s:a<=o&&s>=n}(t,!0)||i.fadeIn(10).delay(e.delay).animate({scrollTop:o},e.duration,e.callback)}},uniqueId:function(t,e){var n;void 0===t&&(t="");var i=function(t,e){return e<(t=parseInt(t,10).toString(16)).length?t.slice(t.length-e):e>t.length?new Array(e-t.length+1).join("0")+t:t};return this.php_js||(this.php_js={}),this.php_js.uniqidSeed||(this.php_js.uniqidSeed=Math.floor(123456789*Math.random())),this.php_js.uniqidSeed++,n=t,n+=i(parseInt((new Date).getTime()/1e3,10),8),n+=i(this.php_js.uniqidSeed,5),e&&(n+=(10*Math.random()).toFixed(8).toString()),n},log:function(){for(var t=0,e=arguments.length;t<e;t++)console.log(arguments[t])},blockContent:function(){0===d("#learn-press-block-content").length&&d(LP.template("learn-press-template-block-content",{})).appendTo(d("body")),LP.hideMainScrollbar().addClass("block-content"),d(document).trigger("learn_press_block_content")},unblockContent:function(){setTimeout(function(){LP.showMainScrollbar().removeClass("block-content"),d(document).trigger("learn_press_unblock_content")},350)},hideMainScrollbar:function(t){t||(t="html, body");var e=d(t);return e.each(function(){var t=d(this),e=t.css("overflow");t.css("overflow","hidden").attr("overflow",e)}),e},showMainScrollbar:function(t){t||(t="html, body");var e=d(t);return e.each(function(){var t=d(this),e=t.attr("overflow");t.css("overflow",e).removeAttr("overflow")}),e},template:"undefined"!=typeof _?_.memoize(function(t,e){var n,i={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"},o=function(e){return(n=n||_.template(d("#"+t).html(),null,i))(e)};return e?o(e):o},function(t,e){return t+"-"+JSON.stringify(e)}):function(){return""},alert:function(t,e){var n="",i="";"string"==typeof t?i=t:(void 0!==t.title&&(n=t.title),void 0!==t.message&&(i=t.message)),d.alerts.alert(i,n,function(t){LP._on_alert_hide(),e&&e(t)}),this._on_alert_show()},confirm:function(t,e){var n="",i="";"string"==typeof t?i=t:(void 0!==t.title&&(n=t.title),void 0!==t.message&&(i=t.message)),d.alerts.confirm(i,n,function(t){LP._on_alert_hide(),e&&e(t)}),this._on_alert_show()},_on_alert_show:function(){var t=d("#popup_container");d('<span id="popup_container_placeholder" />').insertAfter(t).data("xxx",t);t.stop().css("top","-=50").css("opacity","0").animate({top:"+=50",opacity:1},250)},_on_alert_hide:function(){var t=d("#popup_container_placeholder"),e=t.data("xxx");e&&e.replaceWith(t),e.appendTo(d(document.body)),e.stop().animate({top:"+=50",opacity:0},250,function(){d(this).remove()})},sendMessage:function(t,e,n,i){d.isPlainObject(t)&&(t=JSON.stringify(t)),e=e||window,n=n||"*",e.postMessage(t,n,i)},receiveMessage:function(t,e){var n=t.origin||t.originalEvent.origin,i=t.data||t.originalEvent.data||"";("string"==typeof i||i instanceof String)&&0===i.indexOf("{")&&(i=LP.parseJSON(i)),LP.Hook.doAction("learn_press_receive_message",i,n)}};d(document).ready(function(){void 0!==d.alerts&&(d.alerts.overlayColor="#000",d.alerts.overlayOpacity=.5,d.alerts.okButton=lpGlobalSettings.localize.button_ok,d.alerts.cancelButton=lpGlobalSettings.localize.button_cancel),d(".learn-press-message.fixed").each(function(){var t=d(this);!function(t,e){e.delayIn&&setTimeout(function(){t.show().hide().fadeIn()},e.delayIn),e.delayOut&&setTimeout(function(){t.fadeOut()},e.delayOut+(e.delayIn||0))}(t,t.data())}),d("body").on("click",".learn-press-nav-tabs li a",function(t){t.preventDefault();var e=d(this);e.closest("li").addClass("active").siblings().removeClass("active"),d(e.attr("data-tab")).addClass("active").siblings().removeClass("active"),d(document).trigger("learn-press/nav-tabs/clicked",e)}),setTimeout(function(){d(".learn-press-nav-tabs li.active:not(.default) a").trigger("click")},300),d("body.course-item-popup").parent().css("overflow","hidden"),function(){var t=null,e=function(){d(".auto-check-lines").checkLines(function(t){t>1?d(this).removeClass("single-lines"):d(this).addClass("single-lines"),d(this).attr("rows",t)})};d(window).on("resize.check-lines",function(){t?(t&&clearTimeout(t),t=setTimeout(e,300)):e()})}(),d(".learn-press-tooltip, .lp-passing-conditional").LP_Tooltip({offset:[24,24]}),d(".learn-press-icon").LP_Tooltip({offset:[30,30]}),d(".learn-press-message[data-autoclose]").each(function(){var t=d(this),e=parseInt(t.data("autoclose"));e&&setTimeout(function(t){t.fadeOut()},e,t)}),d(document).on("click",function(){d(document).trigger("learn-press/close-all-quick-tip")})}),(0,o.default)(i({Event_Callback:c.default,MessageBox:r.default},f)),e.default={fn:a.default,QuickTip:s.default}}]);
// source --> https://www.get-it.pt/wp-content/plugins/learnpress/assets/js/frontend/learnpress.min.js?ver=3.2.6.4 
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=15)}({15:function(e,n,t){"use strict";!function(e){e(document).ready(function(){e(".learn-press-tip").LP("QuickTip")})}(jQuery)}});