function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}!function(o){var n=function(o,n){"object"===("undefined"==typeof gsap?"undefined":_typeof(gsap))&&gsap.matchMedia().add("(min-width: 992px)",(function(){var e=n(".portfolio__area",o).children(),t=100*(e.length-1)+"%";n(".portfolio__area",o).css({width:t});gsap.to(e,{xPercent:-100*e.length,ease:"none",scrollTrigger:{trigger:o,pin:!0,pinSpacing:!0,scrub:1,markers:!1,onUpdate:function(t){!function(e,t){var r=100*e.progress/(100/t)+1;(r=r.toFixed(0))<10&&(r=0+r),r>t||n(".indexer__numerator",o).html(r)}(t,e.length-1)},end:"+=3000"}})}))};o(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/p-e-addon--portfolio.default",n)}))}(jQuery);