File: /var/www/ippmt.kauko.lt/wp-content/plugins/ocean-elementor-widgets/assets/js/hotspots.min.js
!function(a){var b=function(a){var b={},c=a.data("model-cid");if(elementorFrontend.isEditMode()&&c){var d=elementorFrontend.config.elements.data[c],e=elementorFrontend.config.elements.keys[d.attributes.widgetType||d.attributes.elType];jQuery.each(d.getActiveControls(),function(a){-1!==e.indexOf(a)&&(b[a]=d.attributes[a])})}else b=a.data("settings")||{};return b},c=function(a,c){var d=a.find(".oew-hotspot-inner");if(d.hasClass("oew-hotspot-tooltip")){var e=b(a),f=e.fade_in_time.size,g=e.fade_out_time.size;a.find(".oew-tooltip-n").powerTip({placement:"n",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g}),a.find(".oew-tooltip-e").powerTip({placement:"e",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g}),a.find(".oew-tooltip-s").powerTip({placement:"s",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g}),a.find(".oew-tooltip-w").powerTip({placement:"w",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g}),a.find(".oew-tooltip-nw").powerTip({placement:"nw",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g}),a.find(".oew-tooltip-ne").powerTip({placement:"ne",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g}),a.find(".oew-tooltip-sw").powerTip({placement:"sw",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g}),a.find(".oew-tooltip-se").powerTip({placement:"se",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g}),a.find(".oew-tooltip-nw-alt").powerTip({placement:"nw-alt",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g}),a.find(".oew-tooltip-ne-alt").powerTip({placement:"ne-alt",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g}),a.find(".oew-tooltip-sw-alt").powerTip({placement:"sw-alt",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g}),a.find(".oew-tooltip-se-alt").powerTip({placement:"se-alt",popupClass:"oew-hotspot-powertip",fadeInTime:f,fadeOutTime:g})}};a(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/oew-hotspots.default",c)})}(jQuery);