Current File : /home/digitaw/www/wp-content/plugins/piotnet-addons-for-elementor/assets/js/minify/widget.min.js
!function(t){"function"==typeof define&&define.amd?define([],t):"undefined"!=typeof module&&null!==module&&module.exports?module.exports=t:t()}(function(){var i=Object.assign||window.jQuery&&jQuery.extend,c=8,r=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,e){return window.setTimeout(function(){t()},25)};function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"!=typeof window.CustomEvent&&(t.prototype=window.Event.prototype,window.CustomEvent=t);var o,n={textarea:!0,input:!0,select:!0,button:!0},a={move:"mousemove",cancel:"mouseup dragstart",end:"mouseup"},s={move:"touchmove",cancel:"touchend",end:"touchend"},u=/\s+/,l={bubbles:!0,cancelable:!0},e="function"==typeof Symbol?Symbol("events"):{};function f(t){return t[e]||(t[e]={})}function h(t,e,n,i){e=e.split(u);var o,r=f(t),a=e.length;function s(t){n(t,i)}for(;a--;)(r[o=e[a]]||(r[o]=[])).push([n,s]),t.addEventListener(o,s)}function p(t,e,n){e=e.split(u);var i,o,r,a=f(t),s=e.length;if(a)for(;s--;)if(o=a[i=e[s]])for(r=o.length;r--;)o[r][0]===n&&(t.removeEventListener(i,o[r][1]),o.splice(r,1))}function d(t,e,n){e=new CustomEvent(e,l);n&&i(e,n),t.dispatchEvent(e)}function m(t){var n=t,i=!1,o=!1;function e(t){i?(n(),r(e),i=!(o=!0)):o=!1}this.kick=function(t){i=!0,o||e()},this.end=function(t){var e=n;t&&(o?(n=i?function(){e(),t()}:t,i=!0):t())}}function v(){}function y(t){t.preventDefault()}function g(t,e){var n,i;if(t.identifiedTouch)return t.identifiedTouch(e);for(n=-1,i=t.length;++n<i;)if(t[n].identifier===e)return t[n]}function w(t,e){t=g(t.changedTouches,e.identifier);if(t&&(t.pageX!==e.pageX||t.pageY!==e.pageY))return t}function _(t,e){x(t,e,t,k)}function b(t,e){k()}function k(){p(document,a.move,_),p(document,a.cancel,b)}function S(t){p(document,s.move,t.touchmove),p(document,s.cancel,t.touchend)}function x(t,e,n,i){var o,r,a,s=n.pageX-e.pageX,u=n.pageY-e.pageY;s*s+u*u<c*c||(e=e,r=n,i=i,t=(o=t).targetTouches,a=o.timeStamp-e.timeStamp,r={altKey:o.altKey,ctrlKey:o.ctrlKey,shiftKey:o.shiftKey,startX:e.pageX,startY:e.pageY,distX:s,distY:u,deltaX:s,deltaY:u,pageX:n.pageX,pageY:n.pageY,velocityX:s/a,velocityY:u/a,identifier:e.identifier,targetTouches:t,finger:t?t.length:1,enableMove:function(){this.moveEnabled=!0,this.enableMove=v,o.preventDefault()}},d(e.target,"movestart",r),i(e))}function T(t,e){var n=e.timer;e.touch=t,e.timeStamp=t.timeStamp,n.kick()}function C(t,e){var n=e.target,i=e.event,e=e.timer;p(document,a.move,T),p(document,a.end,C),j(n,i,e,function(){setTimeout(function(){p(n,"click",y)},0)})}function O(t,e){var n=e.target,i=e.event,o=e.timer;g(t.changedTouches,i.identifier)&&(t=e,p(document,s.move,t.activeTouchmove),p(document,s.end,t.activeTouchend),j(n,i,o))}function j(t,e,n,i){n.end(function(){return d(t,"moveend",e),i&&i()})}function A(t){t.enableMove()}function P(t){t.enableMove()}function E(t){t.enableMove()}function M(t){var i=t.handler;t.handler=function(t){for(var e,n=o.length;n--;)t[e=o[n]]=t.originalEvent[e];i.apply(this,arguments)}}h(document,"mousedown",function(t){var e;1!==(e=t).which||e.ctrlKey||e.altKey||n[t.target.tagName.toLowerCase()]||(h(document,a.move,_,t),h(document,a.cancel,b,t))}),h(document,"touchstart",function(t){n[t.target.tagName.toLowerCase()]||(t={target:(t=t.changedTouches[0]).target,pageX:t.pageX,pageY:t.pageY,identifier:t.identifier,touchmove:function(t,e){var n;(n=w(t=t,e=e))&&x(t,e,n,S)},touchend:function(t,e){e=e,g(t.changedTouches,e.identifier)&&S(e)}},h(document,s.move,t.touchmove,t),h(document,s.cancel,t.touchend,t))}),h(document,"movestart",function(t){var e,n;t.defaultPrevented||t.moveEnabled&&(e={startX:t.startX,startY:t.startY,pageX:t.pageX,pageY:t.pageY,distX:t.distX,distY:t.distY,deltaX:t.deltaX,deltaY:t.deltaY,velocityX:t.velocityX,velocityY:t.velocityY,identifier:t.identifier,targetTouches:t.targetTouches,finger:t.finger},n={target:t.target,event:e,timer:new m(function(t){(function(t,e,n){n-=t.timeStamp,t.distX=e.pageX-t.startX,t.distY=e.pageY-t.startY,t.deltaX=e.pageX-t.pageX,t.deltaY=e.pageY-t.pageY,t.velocityX=.3*t.velocityX+.7*t.deltaX/n,t.velocityY=.3*t.velocityY+.7*t.deltaY/n,t.pageX=e.pageX,t.pageY=e.pageY})(e,n.touch,n.timeStamp),d(n.target,"move",e)}),touch:void 0,timeStamp:t.timeStamp},void 0===t.identifier?(h(t.target,"click",y),h(document,a.move,T,n),h(document,a.end,C,n)):(n.activeTouchmove=function(t,e){var n,i,o;t=t,n=(e=e).event,i=e.timer,(o=w(t,n))&&(t.preventDefault(),n.targetTouches=t.targetTouches,e.touch=o,e.timeStamp=t.timeStamp,i.kick())},n.activeTouchend=function(t,e){O(t,e)},h(document,s.move,n.activeTouchmove,n),h(document,s.end,n.activeTouchend,n)))}),window.jQuery&&(o="startX startY pageX pageY distX distY deltaX deltaY velocityX velocityY".split(" "),jQuery.event.special.movestart={setup:function(){return h(this,"movestart",A),!1},teardown:function(){return p(this,"movestart",A),!1},add:M},jQuery.event.special.move={setup:function(){return h(this,"movestart",P),!1},teardown:function(){return p(this,"movestart",P),!1},add:M},jQuery.event.special.moveend={setup:function(){return h(this,"movestart",E),!1},teardown:function(){return p(this,"movestart",E),!1},add:M})}),!function(k){k.fn.twentytwenty=function(b){b=k.extend({default_offset_pct:.5,orientation:"horizontal",before_label:"Before",after_label:"After",no_overlay:!1,move_slider_on_hover:!1,move_with_handle_only:!0,click_to_move:!1},b);return this.each(function(){function t(t){((t.distX>t.distY&&t.distX<-t.distY||t.distX<t.distY&&t.distX>-t.distY)&&"vertical"!==r||(t.distX<t.distY&&t.distX<-t.distY||t.distX>t.distY&&t.distX>-t.distY)&&"vertical"===r)&&t.preventDefault(),o.addClass("active"),v=o.offset().left,y=o.offset().top,g=u.width(),w=u.height()}function e(t){o.hasClass("active")&&(i=m(t.pageX,t.pageY),p(i))}function n(){o.removeClass("active")}var i=b.default_offset_pct,o=k(this),r=b.orientation,a="vertical"===r?"down":"left",s="vertical"===r?"up":"right",u=(o.wrap("<div class='twentytwenty-wrapper twentytwenty-"+r+"'></div>"),b.no_overlay||(o.append("<div class='twentytwenty-overlay'></div>"),(_=o.find(".twentytwenty-overlay")).append("<div class='twentytwenty-before-label' data-content='"+b.before_label+"'></div>"),_.append("<div class='twentytwenty-after-label' data-content='"+b.after_label+"'></div>")),o.find("img:first")),c=o.find("img:last"),l=(o.append("<div class='twentytwenty-handle'></div>"),o.find(".twentytwenty-handle")),f=(l.append("<span class='twentytwenty-"+a+"-arrow'></span>"),l.append("<span class='twentytwenty-"+s+"-arrow'></span>"),o.addClass("twentytwenty-container"),u.addClass("twentytwenty-before"),c.addClass("twentytwenty-after"),function(t){var e=u.width(),n=u.height();return{w:e+"px",h:n+"px",cw:t*e+"px",ch:t*n+"px"}}),h=function(t){"vertical"===r?(u.css("clip","rect(0,"+t.w+","+t.ch+",0)"),c.css("clip","rect("+t.ch+","+t.w+","+t.h+",0)")):(u.css("clip","rect(0,"+t.cw+","+t.h+",0)"),c.css("clip","rect(0,"+t.w+","+t.h+","+t.cw+")")),o.css("height",t.h)},p=function(t){t=f(t);l.css("vertical"===r?"top":"left","vertical"===r?t.ch:t.cw),h(t)},d=function(t,e,n){return Math.max(e,Math.min(n,t))},m=function(t,e){return d("vertical"===r?(e-y)/w:(t-v)/g,0,1)},v=(k(window).on("resize.twentytwenty",function(t){p(i)}),0),y=0,g=0,w=0,_=b.move_with_handle_only?l:o;_.on("movestart",t),_.on("move",e),_.on("moveend",n),b.move_slider_on_hover&&(o.on("mouseenter",t),o.on("mousemove",e),o.on("mouseleave",n)),l.on("touchmove",function(t){t.preventDefault()}),o.find("img").on("mousedown",function(t){t.preventDefault()}),b.click_to_move&&o.on("click",function(t){v=o.offset().left,y=o.offset().top,g=u.width(),w=u.height(),i=m(t.pageX,t.pageY),p(i)}),k(window).trigger("resize.twentytwenty")})}}(jQuery),!function(t){function e(t,a){(t=t.find("[data-pafe-before-after-image-comparison-slider]")).length&&a.each(t,function(t,e){var n="yes"!=(n=a(e).attr("data-pafe-before-after-image-overlay")),i="yes"==(i=a(e).attr("data-pafe-before-after-image-move-slider-on-hover")),o="yes"==(o=a(e).attr("data-pafe-before-after-image-move-with-handle-only")),r="yes"==(r=a(e).attr("data-pafe-before-after-image-click-to-move"));a(e).twentytwenty({default_offset_pct:a(e).attr("data-pafe-before-after-image-percent"),orientation:a(e).attr("data-pafe-before-after-image-orientation"),before_label:a(e).attr("data-pafe-before-after-image-before-label"),after_label:a(e).attr("data-pafe-before-after-image-after-label"),no_overlay:n,move_slider_on_hover:i,move_with_handle_only:o,click_to_move:r})})}t(window).on("load",function(){t("body").resize()}),t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-before-after-image-comparison-slider.default",e)})}(jQuery),jQuery(document).ready(function(t){}),jQuery(document).ready(function(t){t(document).on("click",".pafe-hotspot__marker-icon",function(){"click"==t(this).attr("data-pafe-hotspot-trigger")&&t(this).children(".pafe-hotspot__tooltip").toggleClass("active")}),t(".pafe-hotspot__marker-icon").hover(function(){"hover"==t(this).attr("data-pafe-hotspot-trigger")&&t(this).children(".pafe-hotspot__tooltip").toggleClass("active")})}),jQuery(document).ready(function(e){e("[data-pafe-image-accordion-list]").each(function(){var t=e(this).attr("data-pafe-image-accordion-option");$item=e(this).find("[data-pafe-image-accordion-item]"),"hover"==t?$item.hover(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")}):$item.click(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")})})}),!function(t){function e(t,e){($listItem=t.find("[data-pafe-image-accordion-list]")).each(function(){var t=e(this).attr("data-pafe-image-accordion-option");$item=e(this).find("[data-pafe-image-accordion-item]"),"hover"==t?$item.hover(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")}):$item.click(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-image-accordion.default",e)})}(jQuery),jQuery(document).ready(function(i){i(".elementor-image-carousel").each(function(){var t=i(this).find("a[data-elementor-lightbox-index]").attr("href");if(null!=t&&0<=t.indexOf(",")){linkImages=t.split(",");for(var e,n=0;n<=linkImages.length;n++)null!=linkImages[n]&&(e=linkImages[n].trim(),i(this).find('a[data-elementor-lightbox-index="'+n+'"]').attr("href",e))}})}),!function(t){function e(t,i){($items=t.find("[data-pafe-posts-list-filter-item]")).click(function(){var t=i(this).closest("[data-pafe-posts-list]"),e=t.find("[data-pafe-tab-content-post]"),t=JSON.parse(t.attr("data-pafe-posts-list-option")),n=i(this).attr("data-id"),t=(post_type=t.post_type,taxonomy=t.taxonomy,posts_per_page=t.post_per_pages,author=t.author,date=t.date,excerpt=t.excerpt,layout=t.layout_type,e.css("opacity","0.5"),{action:"pafe_posts_list",post_type:post_type,taxonomy:taxonomy,posts_per_page:posts_per_page,term_id:n,author:author,date:date,excerpt:excerpt,layout:layout});i(this).addClass("actives"),i("[data-pafe-posts-list-filter-item]").not(this).removeClass("actives"),i.post(i("[data-pafe-ajax-url]").data("pafe-ajax-url"),t,function(t){e.html(t),e.css("opacity","1")})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-posts-list.default",e)})}(jQuery),!function(t){function e(t,i){($items=t.find("[data-pafe-product-tabs-filter-item]")).click(function(){var t=i(this).closest("[data-pafe-product-tabs]"),e=t.find("[data-pafe-product-tabs-result]"),t=JSON.parse(t.attr("data-pafe-product-tabs-option")),n=i(this).attr("data-pafe-product-tabs-id"),t=(posts_per_page=t.post_per_pages,console.log(n),e.css("opacity","0.5"),{action:"pafe_product_tabs",posts_per_page:posts_per_page,term_id:n});i(this).addClass("actives"),i("[pafe-product-tabs__filter-item]").not(this).removeClass("actives"),i.post(i("[data-pafe-ajax-url]").data("pafe-ajax-url"),t,function(t){e.html(t),e.css("opacity","1")})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-product-tabs.default",e)})}(jQuery),!function(t){!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).ProgressBar=t()}(function(){return function i(o,r,a){function s(e,t){if(!r[e]){if(!o[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(u)return u(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}n=r[e]={exports:{}},o[e][0].call(n.exports,function(t){return s(o[e][1][t]||t)},n,n.exports,i,o,r,a)}return r[e].exports}for(var u="function"==typeof require&&require,t=0;t<a.length;t++)s(a[t]);return s}({1:[function(t,e,n){var i,o;i=window,o=function(){return n=[function(t,w,_){"use strict";!function(t){function e(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t){return(a="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})(t)}function h(i){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},e=Object.keys(o);(e="function"==typeof Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(o).filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable})):e).forEach(function(t){var e,n;e=i,n=o[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return i}function n(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=new y,t=e.tween(t);return t.tweenable=e,t}_.d(w,"e",function(){return d}),_.d(w,"c",function(){return m}),_.d(w,"b",function(){return v}),_.d(w,"a",function(){return y}),_.d(w,"d",function(){return n});function p(){}function i(t,e){var n=t._attachment,i=t._currentState,o=t._delay,r=t._easing,a=t._originalState,s=t._duration,u=t._step,c=t._targetState,l=t._timestamp,f=l+o+s,h=s-(f-(e=f<e?f:e));f<=e?(u(c,n,h),t.stop(!0)):(t._applyFilter("beforeTween"),e<l+o?l=s=e=1:l+=o,d(e,i,a,c,s,l,r),t._applyFilter("afterTween"),u(i,n,h))}function s(t){var e,n;t===c?(c=t._next)?c._previous=null:l=null:t===l?(l=t._previous)?l._next=null:c=null:(e=t._previous,n=t._next,(e._next=n)._previous=e),t._previous=t._next=null}var o=_(1),r="undefined"!=typeof window?window:t,u=r.requestAnimationFrame||r.webkitRequestAnimationFrame||r.oRequestAnimationFrame||r.msRequestAnimationFrame||r.mozCancelRequestAnimationFrame&&r.mozRequestAnimationFrame||setTimeout,c=null,l=null,f=h({},o),d=function(t,e,n,i,o,r,a){var s,u=t<r?0:(t-r)/o;for(s in e){var c=a[s],c=c.call?c:f[c],l=n[s];e[s]=l+(i[s]-l)*c(u)}return e},m=function(){for(var t=y.now(),e=c;e;){var n=e._next;i(e,t),e=n}},v=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"linear",n={},i=a(e);if("string"===i||"function"===i)for(var o in t)n[o]=e;else for(var r in t)n[r]=e[r]||"linear";return n},y=(e(g.prototype,[{key:"_applyFilter",value:function(t){var e=!0,n=!1,i=void 0;try{for(var o,r=this._filters[Symbol.iterator]();!(e=(o=r.next()).done);e=!0){var a=o.value[t];a&&a(this)}}catch(t){n=!0,i=t}finally{try{e||null==r.return||r.return()}finally{if(n)throw i}}}},{key:"tween",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:void 0,e=this._attachment,n=this._configured;return!t&&n||this.setConfig(t),this._pausedAtTime=null,this._timestamp=g.now(),this._start(this.get(),e),this.resume()}},{key:"setConfig",value:function(){var t,n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=e.attachment,o=e.delay,o=void 0===o?0:o,r=e.duration,r=void 0===r?500:r,a=e.easing,s=e.from,u=e.promise,u=void 0===u?Promise:u,c=e.start,c=void 0===c?p:c,l=e.step,l=void 0===l?p:l,e=e.to,i=(this._configured=!0,this._attachment=i,this._isPlaying=!1,this._pausedAtTime=null,this._scheduleId=null,this._delay=o,this._start=c,this._step=l,this._duration=r,this._currentState=h({},s||this.get()),this._originalState=this.get(),this._targetState=h({},e||this.get()),this._currentState),f=(this._targetState=h({},i,this._targetState),this._easing=v(i,a),g.filters);for(t in this._filters.length=0,f)f[t].doesApply(this)&&this._filters.push(f[t]);return this._applyFilter("tweenCreated"),this._promise=new u(function(t,e){n._resolve=t,n._reject=e}),this._promise.catch(p),this}},{key:"get",value:function(){return h({},this._currentState)}},{key:"set",value:function(t){this._currentState=t}},{key:"pause",value:function(){if(this._isPlaying)return this._pausedAtTime=g.now(),this._isPlaying=!1,s(this),this}},{key:"resume",value:function(){if(null===this._timestamp)return this.tween();if(this._isPlaying)return this._promise;var t=g.now();return this._pausedAtTime&&(this._timestamp+=t-this._pausedAtTime,this._pausedAtTime=null),this._isPlaying=!0,null===c?(l=c=this,function t(){c&&(u.call(r,t,1e3/60),m())}()):((this._previous=l)._next=this,l=this),this._promise}},{key:"seek",value:function(t){t=Math.max(t,0);var e=g.now();return this._timestamp+t===0||(this._timestamp=e-t,this._isPlaying||i(this,e)),this}},{key:"stop",value:function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=this._attachment,n=this._currentState,i=this._easing,o=this._originalState,r=this._targetState;if(this._isPlaying)return this._isPlaying=!1,s(this),t?(this._applyFilter("beforeTween"),d(1,n,o,r,1,0,i),this._applyFilter("afterTween"),this._applyFilter("afterTweenEnd"),this._resolve(n,e)):this._reject(n,e),this}},{key:"isPlaying",value:function(){return this._isPlaying}},{key:"setScheduleFunction",value:function(t){g.setScheduleFunction(t)}},{key:"dispose",value:function(){for(var t in this)delete this[t]}}]),g);function g(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:void 0,n=this;if(!(n instanceof g))throw new TypeError("Cannot call a class as a function");this._currentState=t,this._configured=!1,this._filters=[],this._timestamp=null,this._next=null,this._previous=null,e&&this.setConfig(e)}y.setScheduleFunction=function(t){return u=t},y.formulas=f,y.filters={},y.now=Date.now||function(){return+new Date}}.call(this,_(2))},function(W,t,e){"use strict";e.r(t),e.d(t,"linear",function(){return n}),e.d(t,"easeInQuad",function(){return i}),e.d(t,"easeOutQuad",function(){return o}),e.d(t,"easeInOutQuad",function(){return r}),e.d(t,"easeInCubic",function(){return a}),e.d(t,"easeOutCubic",function(){return s}),e.d(t,"easeInOutCubic",function(){return u}),e.d(t,"easeInQuart",function(){return c}),e.d(t,"easeOutQuart",function(){return l}),e.d(t,"easeInOutQuart",function(){return f}),e.d(t,"easeInQuint",function(){return h}),e.d(t,"easeOutQuint",function(){return p}),e.d(t,"easeInOutQuint",function(){return d}),e.d(t,"easeInSine",function(){return m}),e.d(t,"easeOutSine",function(){return v}),e.d(t,"easeInOutSine",function(){return y}),e.d(t,"easeInExpo",function(){return g}),e.d(t,"easeOutExpo",function(){return w}),e.d(t,"easeInOutExpo",function(){return _}),e.d(t,"easeInCirc",function(){return b}),e.d(t,"easeOutCirc",function(){return k}),e.d(t,"easeInOutCirc",function(){return S}),e.d(t,"easeOutBounce",function(){return x}),e.d(t,"easeInBack",function(){return T}),e.d(t,"easeOutBack",function(){return C}),e.d(t,"easeInOutBack",function(){return O}),e.d(t,"elastic",function(){return j}),e.d(t,"swingFromTo",function(){return A}),e.d(t,"swingFrom",function(){return P}),e.d(t,"swingTo",function(){return E}),e.d(t,"bounce",function(){return M}),e.d(t,"bouncePast",function(){return F}),e.d(t,"easeFromTo",function(){return X}),e.d(t,"easeFrom",function(){return Y}),e.d(t,"easeTo",function(){return L});var n=function(t){return t},i=function(t){return Math.pow(t,2)},o=function(t){return-(Math.pow(t-1,2)-1)},r=function(t){return(t/=.5)<1?.5*Math.pow(t,2):-.5*((t-=2)*t-2)},a=function(t){return Math.pow(t,3)},s=function(t){return Math.pow(t-1,3)+1},u=function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},c=function(t){return Math.pow(t,4)},l=function(t){return-(Math.pow(t-1,4)-1)},f=function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},h=function(t){return Math.pow(t,5)},p=function(t){return Math.pow(t-1,5)+1},d=function(t){return(t/=.5)<1?.5*Math.pow(t,5):.5*(Math.pow(t-2,5)+2)},m=function(t){return 1-Math.cos(t*(Math.PI/2))},v=function(t){return Math.sin(t*(Math.PI/2))},y=function(t){return-.5*(Math.cos(Math.PI*t)-1)},g=function(t){return 0===t?0:Math.pow(2,10*(t-1))},w=function(t){return 1===t?1:1-Math.pow(2,-10*t)},_=function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},b=function(t){return-(Math.sqrt(1-t*t)-1)},k=function(t){return Math.sqrt(1-Math.pow(t-1,2))},S=function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},x=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},T=function(t){return t*t*(2.70158*t-1.70158)},C=function(t){return--t*t*(2.70158*t+1.70158)+1},O=function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},j=function(t){return-1*Math.pow(4,-8*t)*Math.sin((6*t-1)*(2*Math.PI)/2)+1},A=function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},P=function(t){return t*t*(2.70158*t-1.70158)},E=function(t){return--t*t*(2.70158*t+1.70158)+1},M=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},F=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?2-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?2-(7.5625*(t-=2.25/2.75)*t+.9375):2-(7.5625*(t-=2.625/2.75)*t+.984375)},X=function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},Y=function(t){return Math.pow(t,4)},L=function(t){return Math.pow(t,.25)}},function(t,e){var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(W,t,e){"use strict";function n(t){return parseInt(t,16)}function i(t){var e=t._currentState;[e,t._originalState,t._targetState].forEach(C),t._tokenData=O(e)}function o(t){var e=t._currentState,n=t._originalState,i=t._targetState,o=t._easing,r=t._tokenData;P(o,r),[e,n,i].forEach(function(t){return j(t,r)})}function r(t){var e=t._currentState,n=t._originalState,i=t._targetState,o=t._easing,r=t._tokenData;[e,n,i].forEach(function(t){return A(t,r)}),E(o,r)}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");e=e.get(t);return e.get?e.get.call(t):e.value}function l(t,e,n,i,o,r){function u(t){return((h*t+l)*t+f)*t}function c(t){return 0<=t?t:0-t}var l,f,h=1-(f=3*e)-(l=3*(i-e)-f),o=1-(i=3*n)-(e=3*(o-n)-i);return n=function(t,e){for(var n,i,o,r,a=t,s=0;s<8;s++){if(o=u(a)-t,c(o)<e)return a;if(c(r=(3*h*a+2*l)*a+f)<1e-6)break;a-=o/r}if((a=t)<(n=0))return n;if(a>(i=1))return i;for(;n<i;){if(o=u(a),c(o-t)<e)return a;o<t?n=a:i=a,a=.5*(i-n)+n}return a}(t,function(t){return 1/(200*t)}(r)),((o*n+e)*n+i)*n}e.r(t);var u={};e.r(u),e.d(u,"doesApply",function(){return L}),e.d(u,"tweenCreated",function(){return i}),e.d(u,"beforeTween",function(){return o}),e.d(u,"afterTween",function(){return r});function c(t){return"rgb(".concat([n((t=3===(t=(t=t).replace(/#/,"")).length?(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]:t).substr(0,2)),n(t.substr(2,2)),n(t.substr(4,2))].join(","),")")}function f(t,e,n){var i=e.match(t),o=e.replace(t,"VAL");return i&&i.forEach(function(t){return o=o.replace("VAL",n(t))}),o}function h(t){var e=t.match(k).map(Math.floor);return"".concat(t.match(x)[0]).concat(e.join(","),")")}function p(t){return t.match(k)}function d(t,e,n,i){var o,r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=function(i){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},e=Object.keys(o);(e="function"==typeof Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(o).filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable})):e).forEach(function(t){var e,n;e=i,n=o[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return i}({},t),i=Object(w.b)(t,i);for(o in M._filters.length=0,M.set({}),M._currentState=a,M._originalState=t,M._targetState=e,M._easing=i,F)F[o].doesApply(M)&&M._filters.push(F[o]);return M._applyFilter("tweenCreated"),M._applyFilter("beforeTween"),n=Object(w.e)(n,a,t,e,1,r,i),M._applyFilter("afterTween"),n}function m(t,e,n,i,o){r=e,a=n,s=i,u=o;var r,a,s,u,c=function(t){return l(t,r,a,s,u,1)};return c.displayName=t,c.x1=e,c.y1=n,c.x2=i,c.y2=o,w.a.formulas[t]=c}function v(t){return delete w.a.formulas[t]}var y,g,w=e(0),_=/(\d|-|\.)/,b=/([^\-0-9.]+)/g,k=/[0-9.-]+/g,S=(y=k.source,g=/,\s*/.source,new RegExp("rgb\\(".concat(y).concat(g).concat(y).concat(g).concat(y,"\\)"),"g")),x=/^.*\(/,T=/#([0-9]|[a-f]){3,6}/gi,C=function(t){for(var e in t){var n=t[e];"string"==typeof n&&n.match(T)&&(t[e]=f(T,n,c))}},O=function(t){var e,n,i,o={};for(i in t){var r=t[i];"string"==typeof r&&(o[i]={formatString:(n=void 0,(n=(e=r).match(b))?1!==n.length&&!e.charAt(0).match(_)||n.unshift(""):n=["",""],n.join("VAL")),chunkNames:function(t,n){return t.map(function(t,e){return"_".concat(n,"_").concat(e)})}(p(r),i)})}return o},j=function(i,o){for(var t in o)!function(n){p(i[n]).forEach(function(t,e){return i[o[n].chunkNames[e]]=+t}),delete i[n]}(t)},A=function(t,e){for(var n in e){var i=e[n],o=i.chunkNames,i=function(e,t){return t.forEach(function(t){return e=e.replace("VAL",+t.toFixed(4))}),e}(i.formatString,function(e,t){return t.map(function(t){return e[t]})}(function(e,t){var n={};return t.forEach(function(t){n[t]=e[t],delete e[t]}),n}(t,o),o));t[n]=f(S,i,h)}},P=function(r,a){for(var t in a)!function(t){var n,i,e=a[t].chunkNames,o=r[t];"string"==typeof o?(n=o.split(" "),i=n[n.length-1],e.forEach(function(t,e){return r[t]=n[e]||i})):e.forEach(function(t){return r[t]=o}),delete r[t]}(t)},E=function(n,t){for(var e in t){var i=t[e].chunkNames,o=n[i[0]];n[e]="string"==typeof o?i.map(function(t){var e=n[t];return delete n[t],e}).join(" "):o}},L=function(t){var e=t._currentState;return Object.keys(e).some(function(t){return"string"==typeof e[t]})},M=new w.a,F=w.a.filters,I=(a(Y.prototype,[{key:"add",value:function(t){return s(this,X).push(t),t}},{key:"remove",value:function(t){var e=s(this,X).indexOf(t);return~e&&s(this,X).splice(e,1),t}},{key:"empty",value:function(){return this.tweenables.map(this.remove.bind(this))}},{key:"isPlaying",value:function(){return s(this,X).some(function(t){return t.isPlaying()})}},{key:"play",value:function(){return s(this,X).forEach(function(t){return t.tween()}),this}},{key:"pause",value:function(){return s(this,X).forEach(function(t){return t.pause()}),this}},{key:"resume",value:function(){return s(this,X).forEach(function(t){return t.resume()}),this}},{key:"stop",value:function(e){return s(this,X).forEach(function(t){return t.stop(e)}),this}},{key:"tweenables",get:function(){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t=s(this,X))||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}();var t}},{key:"promises",get:function(){return s(this,X).map(function(t){return t._promise})}}]),Y),X=new WeakMap;function Y(){var t=this;if(!(t instanceof Y))throw new TypeError("Cannot call a class as a function");X.set(this,{writable:!0,value:[]});for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];n.forEach(this.add.bind(this))}e.d(t,"processTweens",function(){return w.c}),e.d(t,"Tweenable",function(){return w.a}),e.d(t,"tween",function(){return w.d}),e.d(t,"interpolate",function(){return d}),e.d(t,"Scene",function(){return I}),e.d(t,"setBezierFunction",function(){return m}),e.d(t,"unsetBezierFunction",function(){return v}),w.a.filters.token=u}],i={},o.m=n,o.c=i,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=3);function o(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var n,i},"object"==typeof n&&"object"==typeof e?e.exports=o():"object"==typeof n?n.shifty=o():i.shifty=o()},{}],2:[function(t,e,n){function i(t,e){this._pathTemplate="M 50,50 m 0,-{radius} a {radius},{radius} 0 1 1 0,{2radius} a {radius},{radius} 0 1 1 0,-{2radius}",this.containerAspectRatio=1,o.apply(this,arguments)}var o=t("./shape"),r=t("./utils");((i.prototype=new o).constructor=i).prototype._pathString=function(t){var e=t.strokeWidth,t=50-(e=t.trailWidth&&t.trailWidth>t.strokeWidth?t.trailWidth:e)/2;return r.render(this._pathTemplate,{radius:t,"2radius":2*t})},i.prototype._trailString=function(t){return this._pathString(t)},e.exports=i},{"./shape":7,"./utils":9}],3:[function(t,e,n){function i(t,e){this._pathTemplate="M 0,{center} L 100,{center}",o.apply(this,arguments)}var o=t("./shape"),r=t("./utils");((i.prototype=new o).constructor=i).prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 "+e.strokeWidth),t.setAttribute("preserveAspectRatio","none")},i.prototype._pathString=function(t){return r.render(this._pathTemplate,{center:t.strokeWidth/2})},i.prototype._trailString=function(t){return this._pathString(t)},e.exports=i},{"./shape":7,"./utils":9}],4:[function(t,e,n){e.exports={Line:t("./line"),Circle:t("./circle"),SemiCircle:t("./semicircle"),Square:t("./square"),Path:t("./path"),Shape:t("./shape"),utils:t("./utils")}},{"./circle":2,"./line":3,"./path":5,"./semicircle":6,"./shape":7,"./square":8,"./utils":9}],5:[function(t,e,n){function i(t,e){if(!(this instanceof i))throw new Error("Constructor was called without new keyword");e=s.extend({delay:0,duration:800,easing:"linear",from:{},to:{},step:function(){}},e),t=s.isString(t)?document.querySelector(t):t,this.path=t,this._opts=e,this._tweenable=null,t=this.path.getTotalLength(),this.path.style.strokeDasharray=t+" "+t,this.set(0)}var o=t("shifty"),s=t("./utils"),u=o.Tweenable,r={easeIn:"easeInCubic",easeOut:"easeOutCubic",easeInOut:"easeInOutCubic"};i.prototype.value=function(){var t=this._getComputedDashOffset(),e=this.path.getTotalLength();return parseFloat((1-t/e).toFixed(6),10)},i.prototype.set=function(t){this.stop(),this.path.style.strokeDashoffset=this._progressToOffset(t);var e,n=this._opts.step;s.isFunction(n)&&(e=this._easing(this._opts.easing),n(this._calculateTo(t,e),this._opts.shape||this,this._opts.attachment))},i.prototype.stop=function(){this._stopTween(),this.path.style.strokeDashoffset=this._getComputedDashOffset()},i.prototype.animate=function(t,n,e){n=n||{},s.isFunction(n)&&(e=n,n={});var i=s.extend({},n),o=s.extend({},this._opts),o=(n=s.extend(o,n),this._easing(n.easing)),i=this._resolveFromAndTo(t,o,i),r=(this.stop(),this.path.getBoundingClientRect(),this._getComputedDashOffset()),t=this._progressToOffset(t),a=this;this._tweenable=new u,this._tweenable.tween({from:s.extend({offset:r},i.from),to:s.extend({offset:t},i.to),duration:n.duration,delay:n.delay,easing:o,step:function(t){a.path.style.strokeDashoffset=t.offset;var e=n.shape||a;n.step(t,e,n.attachment)}}).then(function(t){s.isFunction(e)&&e()})},i.prototype._getComputedDashOffset=function(){var t=window.getComputedStyle(this.path,null);return parseFloat(t.getPropertyValue("stroke-dashoffset"),10)},i.prototype._progressToOffset=function(t){var e=this.path.getTotalLength();return e-t*e},i.prototype._resolveFromAndTo=function(t,e,n){return n.from&&n.to?{from:n.from,to:n.to}:{from:this._calculateFrom(e),to:this._calculateTo(t,e)}},i.prototype._calculateFrom=function(t){return o.interpolate(this._opts.from,this._opts.to,this.value(),t)},i.prototype._calculateTo=function(t,e){return o.interpolate(this._opts.from,this._opts.to,t,e)},i.prototype._stopTween=function(){null!==this._tweenable&&(this._tweenable.stop(),this._tweenable=null)},i.prototype._easing=function(t){return r.hasOwnProperty(t)?r[t]:t},e.exports=i},{"./utils":9,shifty:1}],6:[function(t,e,n){function i(t,e){this._pathTemplate="M 50,50 m -{radius},0 a {radius},{radius} 0 1 1 {2radius},0",this.containerAspectRatio=2,o.apply(this,arguments)}var o=t("./shape"),r=t("./circle"),a=t("./utils");((i.prototype=new o).constructor=i).prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 50")},i.prototype._initializeTextContainer=function(t,e,n){t.text.style&&(n.style.top="auto",n.style.bottom="0",t.text.alignToBottom?a.setStyle(n,"transform","translate(-50%, 0)"):a.setStyle(n,"transform","translate(-50%, 50%)"))},i.prototype._pathString=r.prototype._pathString,i.prototype._trailString=r.prototype._trailString,e.exports=i},{"./circle":2,"./shape":7,"./utils":9}],7:[function(t,e,n){function o(t,e){if(!(this instanceof o))throw new Error("Constructor was called without new keyword");if(0!==arguments.length){this._opts=a.extend({color:"#555",strokeWidth:1,trailColor:null,trailWidth:null,fill:null,text:{style:{color:null,position:"absolute",left:"50%",top:"50%",padding:0,margin:0,transform:{prefix:!0,value:"translate(-50%, -50%)"}},autoStyleContainer:!0,alignToBottom:!0,value:null,className:"progressbar-text"},svgStyle:{display:"block",width:"100%"},warnings:!1},e,!0),a.isObject(e)&&void 0!==e.svgStyle&&(this._opts.svgStyle=e.svgStyle),a.isObject(e)&&a.isObject(e.text)&&void 0!==e.text.style&&(this._opts.text.style=e.text.style);var n=this._createSvgView(this._opts);if(!(i=a.isString(t)?document.querySelector(t):t))throw new Error("Container does not exist: "+t);this._container=i,this._container.appendChild(n.svg),this._opts.warnings&&this._warnContainerAspectRatio(this._container),this._opts.svgStyle&&a.setStyles(n.svg,this._opts.svgStyle),this.svg=n.svg,this.path=n.path,this.trail=n.trail,this.text=null;var i=a.extend({attachment:void 0,shape:this},this._opts);this._progressPath=new r(n.path,i),a.isObject(this._opts.text)&&null!==this._opts.text.value&&this.setText(this._opts.text.value)}}var r=t("./path"),a=t("./utils"),i="Object is destroyed";o.prototype.animate=function(t,e,n){if(null===this._progressPath)throw new Error(i);this._progressPath.animate(t,e,n)},o.prototype.stop=function(){if(null===this._progressPath)throw new Error(i);void 0!==this._progressPath&&this._progressPath.stop()},o.prototype.pause=function(){if(null===this._progressPath)throw new Error(i);void 0!==this._progressPath&&this._progressPath._tweenable&&this._progressPath._tweenable.pause()},o.prototype.resume=function(){if(null===this._progressPath)throw new Error(i);void 0!==this._progressPath&&this._progressPath._tweenable&&this._progressPath._tweenable.resume()},o.prototype.destroy=function(){if(null===this._progressPath)throw new Error(i);this.stop(),this.svg.parentNode.removeChild(this.svg),this.svg=null,this.path=null,this.trail=null,(this._progressPath=null)!==this.text&&(this.text.parentNode.removeChild(this.text),this.text=null)},o.prototype.set=function(t){if(null===this._progressPath)throw new Error(i);this._progressPath.set(t)},o.prototype.value=function(){if(null===this._progressPath)throw new Error(i);return void 0===this._progressPath?0:this._progressPath.value()},o.prototype.setText=function(t){if(null===this._progressPath)throw new Error(i);null===this.text&&(this.text=this._createTextContainer(this._opts,this._container),this._container.appendChild(this.text)),a.isObject(t)?(a.removeChildren(this.text),this.text.appendChild(t)):this.text.innerHTML=t},o.prototype._createSvgView=function(t){var e=document.createElementNS("http://www.w3.org/2000/svg","svg"),n=(this._initializeSvg(e,t),null),t=((t.trailColor||t.trailWidth)&&(n=this._createTrail(t),e.appendChild(n)),this._createPath(t));return e.appendChild(t),{svg:e,path:t,trail:n}},o.prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 100")},o.prototype._createPath=function(t){var e=this._pathString(t);return this._createPathElement(e,t)},o.prototype._createTrail=function(t){var e=this._trailString(t),t=a.extend({},t);return t.trailColor||(t.trailColor="#eee"),t.trailWidth||(t.trailWidth=t.strokeWidth),t.color=t.trailColor,t.strokeWidth=t.trailWidth,t.fill=null,this._createPathElement(e,t)},o.prototype._createPathElement=function(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",t),n.setAttribute("stroke",e.color),n.setAttribute("stroke-width",e.strokeWidth),e.fill?n.setAttribute("fill",e.fill):n.setAttribute("fill-opacity","0"),n},o.prototype._createTextContainer=function(t,e){var n=document.createElement("div"),i=(n.className=t.text.className,t.text.style);return i&&(t.text.autoStyleContainer&&(e.style.position="relative"),a.setStyles(n,i),i.color||(n.style.color=t.color)),this._initializeTextContainer(t,e,n),n},o.prototype._initializeTextContainer=function(t,e,n){},o.prototype._pathString=function(t){throw new Error("Override this function for each progress bar")},o.prototype._trailString=function(t){throw new Error("Override this function for each progress bar")},o.prototype._warnContainerAspectRatio=function(t){var e,n,i;this.containerAspectRatio&&(e=window.getComputedStyle(t,null),n=parseFloat(e.getPropertyValue("width"),10),i=parseFloat(e.getPropertyValue("height"),10),a.floatEquals(this.containerAspectRatio,n/i)||(console.warn("Incorrect aspect ratio of container","#"+t.id,"detected:",e.getPropertyValue("width")+"(width)","/",e.getPropertyValue("height")+"(height)","=",n/i),console.warn("Aspect ratio of should be",this.containerAspectRatio)))},e.exports=o},{"./path":5,"./utils":9}],8:[function(t,e,n){function i(t,e){this._pathTemplate="M 0,{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{strokeWidth}",this._trailTemplate="M {startMargin},{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{halfOfStrokeWidth}",o.apply(this,arguments)}var o=t("./shape"),r=t("./utils");((i.prototype=new o).constructor=i).prototype._pathString=function(t){var e=100-t.strokeWidth/2;return r.render(this._pathTemplate,{width:e,strokeWidth:t.strokeWidth,halfOfStrokeWidth:t.strokeWidth/2})},i.prototype._trailString=function(t){var e=100-t.strokeWidth/2;return r.render(this._trailTemplate,{width:e,strokeWidth:t.strokeWidth,halfOfStrokeWidth:t.strokeWidth/2,startMargin:t.strokeWidth/2-t.trailWidth/2})},e.exports=i},{"./shape":7,"./utils":9}],9:[function(t,e,n){function i(t,e,n){for(var i=t.style,o=0;o<a.length;++o)i[a[o]+r(e)]=n;i[e]=n}function r(t){return t.charAt(0).toUpperCase()+t.slice(1)}function s(t){return!("[object Array]"===Object.prototype.toString.call(t)||"object"!=typeof t||!t)}function o(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}var a="Webkit Moz O ms".split(" ");e.exports={extend:function t(e,n,i){for(var o in e=e||{},i=i||!1,n=n||{}){var r,a;n.hasOwnProperty(o)&&(r=e[o],a=n[o],i&&s(r)&&s(a)?e[o]=t(r,a,i):e[o]=a)}return e},render:function(t,e){var n,i,o,r=t;for(n in e)e.hasOwnProperty(n)&&(i=e[n],o=new RegExp("\\{"+n+"\\}","g"),r=r.replace(o,i));return r},setStyle:i,setStyles:function(n,t){o(t,function(t,e){null!=t&&(s(t)&&!0===t.prefix?i(n,e,t.value):n.style[e]=t)})},capitalize:r,isString:function(t){return"string"==typeof t||t instanceof String},isFunction:function(t){return"function"==typeof t},isObject:s,forEachObject:o,floatEquals:function(t,e){return Math.abs(t-e)<.001},removeChildren:function(t){for(;t.firstChild;)t.removeChild(t.firstChild)}}},{}]},{},[4])(4)});function e(t,r){(t=t.find(".pafe-progressbar")).length&&r.each(t,function(t,e){var n=JSON.parse(r(e).attr("data-pafe-progressbar-option")),i=n.value,o=n.unit,n=n.duration;console.log(i),r(e).find(".pafe-progressbar-percentage-content").prop("Counter",0).animate({Counter:i},{duration:n,easing:"swing",step:function(t){r(this).text(Math.ceil(t)+o)}})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-progressbar.default",e)})}(jQuery),!function($){$.timer=function(func,time,autostart){return this.set=function(func,time,autostart){if(this.init=!0,"object"==typeof func){var paramList=["autostart","time"],arg;for(arg in paramList)null!=func[paramList[arg]]&&eval(paramList[arg]+" = func[paramList[arg]]");func=func.action}return"function"==typeof func&&(this.action=func),isNaN(time)||(this.intervalTime=time),autostart&&!this.isActive&&(this.isActive=!0,this.setTimer()),this},this.once=function(t){var e=this;return isNaN(t)&&(t=0),window.setTimeout(function(){e.action()},t),this},this.play=function(t){return this.isActive||(t?this.setTimer():this.setTimer(this.remaining),this.isActive=!0),this},this.pause=function(){return this.isActive&&(this.isActive=!1,this.remaining-=new Date-this.last,this.clearTimer()),this},this.stop=function(){return this.isActive=!1,this.remaining=this.intervalTime,this.clearTimer(),this},this.toggle=function(t){return this.isActive?this.pause():t?this.play(!0):this.play(),this},this.reset=function(){return this.isActive=!1,this.play(!0),this},this.clearTimer=function(){window.clearTimeout(this.timeoutObject)},this.setTimer=function(t){var e=this;"function"==typeof this.action&&(isNaN(t)&&(t=this.intervalTime),this.remaining=t,this.last=new Date,this.clearTimer(),this.timeoutObject=window.setTimeout(function(){e.go()},t))},this.go=function(){this.isActive&&(this.action(),this.setTimer())},this.init?new $.timer(func,time,autostart):(this.set(func,time,autostart),this)}}(jQuery),jQuery(document).ready(function(e){var t,n,i,o,r,a=e("[data-pafe-sales-pop-list]");e("[data-pafe-sales-pop-close]").click(function(){e("[data-pafe-sales-pop-item]").remove()}),0<a.length&&(t=(a=JSON.parse(a.attr("data-pafe-sales-pop-option"))).min_time,i=a.max_time,n=a.random,a=a.times,i=Math.floor(Math.random()*(i-t+1)+t),o=e("[data-pafe-sales-pop-list]").find("[data-pafe-sales-pop-item]").length,"yes"==n?(r=e.timer(function(){e("[data-pafe-sales-pop-list]").find("[data-pafe-sales-pop-item].active").remove();var t=Math.floor(Math.random()*(o-1+1)+1);e("[data-pafe-sales-pop-item]").eq(t-1).fadeIn(400).addClass("active")})).set({time:1e3*i,autostart:!0}):(r=e.timer(function(){e("[data-pafe-sales-pop-list]").find("[data-pafe-sales-pop-item].active").remove();var t=e("[data-pafe-sales-pop-item]").index();e("[data-pafe-sales-pop-item]").eq(t).fadeIn(400).addClass("active")})).set({time:1e3*a,autostart:!0})),e(document).on("mouseover","[data-pafe-sales-pop-item].active",function(){r.toggle()}),e(document).on("mouseout","[data-pafe-sales-pop-item].active",function(){r.toggle()})}),jQuery(document).ready(function(n){n(document).on("change","[data-pafe-switch-content-button-checkbox]",function(){var t=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-primary]"),e=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-secondary]");n(this).is(":checked")?(t.hide(0),e.show(0)):(t.show(0),e.hide(0))})}),!function(t){function e(t,n){($switch=t.find("[data-pafe-switch-content-button-checkbox]")).on("change",function(){var t=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-primary]"),e=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-secondary]");n(this).is(":checked")?(t.hide(0),e.show(0)):(t.show(0),e.hide(0))})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-switch-content.default",e)})}(jQuery),jQuery(document).ready(function(t){function e(t){this.element=t,this.blocks=this.element.getElementsByClassName("cd-timeline__block"),this.images=this.element.getElementsByClassName("cd-timeline__img"),this.contents=this.element.getElementsByClassName("cd-timeline__content"),this.offset=1,this.hideBlocks()}e.prototype.hideBlocks=function(){if(!(!1 in document.documentElement))for(var t,e=this,n=0;n<this.blocks.length;n++)t=n,e.blocks[t].getBoundingClientRect().top>window.innerHeight*e.offset&&(e.images[t].classList.add("cd-timeline__img--hidden"),e.contents[t].classList.add("cd-timeline__content--hidden"))},e.prototype.showBlocks=function(){if(!(!1 in document.documentElement))for(var t,e=this,n=0;n<this.blocks.length;n++)t=n,e.contents[t].classList.contains("cd-timeline__content--hidden")&&e.blocks[t].getBoundingClientRect().top<=window.innerHeight*e.offset&&(e.images[t].classList.add("cd-timeline__img--bounce-in"),e.contents[t].classList.add("cd-timeline__content--bounce-in"),e.images[t].classList.remove("cd-timeline__img--hidden"),e.contents[t].classList.remove("cd-timeline__content--hidden"))};var n,i=t("[data-pafe-vertical-timeline]"),o=[],r=!1;if(0<i.length){for(var a=0;a<i.length;a++)n=a,o.push(new e(i[n]));window.addEventListener("scroll",function(t){r||(r=!0,window.requestAnimationFrame?window.requestAnimationFrame(s):setTimeout(s,250))})}function s(){o.forEach(function(t){t.showBlocks()}),r=!1}}),jQuery(document).ready(function(n){function i(){n('[data-pafe-video-playlist] iframe[src*="youtube"],[data-pafe-video-playlist] iframe[src*="vimeo"]').each(function(){var t=9*n(this).width()/16;n(this).css({height:t+"px"}),n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list]").css({height:t+"px"});t=t-n("[data-pafe-video-playlist-list-title]").height()-30;n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list-video]").css({"max-height":t+"px"})})}i(),n(window).resize(function(t){i()}),n("[data-pafe-video-playlist-item]").click(function(){var t=n(this).attr("data-pafe-video-playlist-item"),e=n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-video]");n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-item]").removeClass("active"),n(this).addClass("active"),e.html(t),i()})}),!function(t){function e(t,n){function i(){n('[data-pafe-video-playlist] iframe[src*="youtube"],[data-pafe-video-playlist] iframe[src*="vimeo"]').each(function(){var t=9*n(this).width()/16;n(this).css({height:t+"px"}),n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list]").css({height:t+"px"});t=t-n("[data-pafe-video-playlist-list-title]").height()-30;n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list-video]").css({"max-height":t+"px"})})}i(),n(window).resize(function(t){i()}),($item=t.find("[data-pafe-video-playlist-item]")).click(function(){var t=n(this).attr("data-pafe-video-playlist-item"),e=n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-video]");n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-item]").removeClass("active"),n(this).addClass("active"),e.html(t),i()})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-video-playlist.default",e)})}(jQuery);