{"version":3,"sources":["hello-world.js","object-fit-polyfill.js"],"names":["$","WidgetHelloWorldHandler","$scope","console","log","window","on","elementorFrontend","hooks","addAction","jQuery","document","documentElement","style","objectFitPolyfill","t","e","getComputedStyle","i","getPropertyValue","o","n","position","overflow","display","clientHeight","height","className","indexOf","max-width","max-height","min-width","min-height","top","right","bottom","left","margin-top","margin-right","margin-bottom","margin-left","l","a","d","split","length","clientWidth","parseInt","dataset","objectFit","getAttribute","objectPosition","parentNode","width","marginTop","marginLeft","querySelectorAll","nodeName","toLowerCase","complete","addEventListener","this","readyState"],"mappings":"CAAA,SAAAA,GAKA,GAAAC,GAAA,SAAAC,EAAAF,GACAG,QAAAC,IAAAF,GAIAF,GAAAK,QAAAC,GAAA,0BAAA,WACAC,kBAAAC,MAAAC,UAAA,6CAAAR,MAEAS,QCZA,WAAA,YAAA,IAAA,aAAAC,UAAAC,gBAAAC,OAAA,EAAA,YAAAR,OAAAS,kBAAA,WAAA,OAAA,GAAA,IAAAC,GAAA,SAAAA,GAAA,GAAAC,GAAAX,OAAAY,iBAAAF,EAAA,MAAAG,EAAAF,EAAAG,iBAAA,YAAAC,EAAAJ,EAAAG,iBAAA,YAAAE,EAAAL,EAAAG,iBAAA,UAAAD,IAAA,WAAAA,IAAAH,EAAAF,MAAAS,SAAA,YAAA,WAAAF,IAAAL,EAAAF,MAAAU,SAAA,UAAAF,GAAA,WAAAA,IAAAN,EAAAF,MAAAW,QAAA,SAAA,IAAAT,EAAAU,eAAAV,EAAAF,MAAAa,OAAA,SAAA,IAAAX,EAAAY,UAAAC,QAAA,yBAAAb,EAAAY,UAAAZ,EAAAY,UAAA,yBAAAX,EAAA,SAAAD,GAAA,GAAAC,GAAAX,OAAAY,iBAAAF,EAAA,MAAAG,GAAAW,YAAA,OAAAC,aAAA,OAAAC,YAAA,MAAAC,aAAA,MAAAC,IAAA,OAAAC,MAAA,OAAAC,OAAA,OAAAC,KAAA,OAAAC,aAAA,MAAAC,eAAA,MAAAC,gBAAA,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AAyC,SAAA,OAAA,EAAAlD,UAAAiD,iBAAA,mBAAA,WAAAvC,MAAAhB,OAAAuD,iBAAA,SAAA,WAAAvC,MAAAhB,OAAAS,kBAAAO","file":"foot.min.js","sourcesContent":["( function( $ ) {\n\t/**\n \t * @param $scope The Widget wrapper element as a jQuery element\n\t * @param $ The jQuery alias\n\t */ \n\tvar WidgetHelloWorldHandler = function( $scope, $ ) {\n\t\tconsole.log( $scope );\n\t};\n\t\n\t// Make sure you run this code under Elementor.\n\t$( window ).on( 'elementor/frontend/init', function() {\n\t\telementorFrontend.hooks.addAction( 'frontend/element_ready/hello-world.default', WidgetHelloWorldHandler );\n\t} );\n} )( jQuery );\n","// from https://github.com/constancecchen/object-fit-polyfill\n!function(){\"use strict\";if(\"objectFit\"in document.documentElement.style!=!1)return void(window.objectFitPolyfill=function(){return!1});var t=function(t){var e=window.getComputedStyle(t,null),i=e.getPropertyValue(\"position\"),o=e.getPropertyValue(\"overflow\"),n=e.getPropertyValue(\"display\");i&&\"static\"!==i||(t.style.position=\"relative\"),\"hidden\"!==o&&(t.style.overflow=\"hidden\"),n&&\"inline\"!==n||(t.style.display=\"block\"),0===t.clientHeight&&(t.style.height=\"100%\"),-1===t.className.indexOf(\"object-fit-polyfill\")&&(t.className=t.className+\" object-fit-polyfill\")},e=function(t){var e=window.getComputedStyle(t,null),i={\"max-width\":\"none\",\"max-height\":\"none\",\"min-width\":\"0px\",\"min-height\":\"0px\",top:\"auto\",right:\"auto\",bottom:\"auto\",left:\"auto\",\"margin-top\":\"0px\",\"margin-right\":\"0px\",\"margin-bottom\":\"0px\",\"margin-left\":\"0px\"};for(var o in i){e.getPropertyValue(o)!==i[o]&&(t.style[o]=i[o])}},i=function(t,e,i){var o,n,l,a,d;if(i=i.split(\" \"),i.length<2&&(i[1]=i[0]),\"x\"===t)o=i[0],n=i[1],l=\"left\",a=\"right\",d=e.clientWidth;else{if(\"y\"!==t)return;o=i[1],n=i[0],l=\"top\",a=\"bottom\",d=e.clientHeight}return o===l||n===l?void(e.style[l]=\"0\"):o===a||n===a?void(e.style[a]=\"0\"):\"center\"===o||\"50%\"===o?(e.style[l]=\"50%\",void(e.style[\"margin-\"+l]=d/-2+\"px\")):o.indexOf(\"%\")>=0?(o=parseInt(o),void(o<50?(e.style[l]=o+\"%\",e.style[\"margin-\"+l]=d*(o/-100)+\"px\"):(o=100-o,e.style[a]=o+\"%\",e.style[\"margin-\"+a]=d*(o/-100)+\"px\"))):void(e.style[l]=o)},o=function(o){var n=o.dataset?o.dataset.objectFit:o.getAttribute(\"data-object-fit\"),l=o.dataset?o.dataset.objectPosition:o.getAttribute(\"data-object-position\");n=n||\"cover\",l=l||\"50% 50%\";var a=o.parentNode;t(a),e(o),o.style.position=\"absolute\",o.style.height=\"100%\",o.style.width=\"auto\",\"scale-down\"===n&&(o.style.height=\"auto\",o.clientWidtha.clientWidth||\"contain\"===n&&o.clientWidth0?o(t[e]):t[e].addEventListener(\"loadedmetadata\",function(){o(this)}))}return!0};document.addEventListener(\"DOMContentLoaded\",function(){n()}),window.addEventListener(\"resize\",function(){n()}),window.objectFitPolyfill=n}();"]}