PageSourceSearch

https://anrh.dz/wp-content/plugins/futurio-extra/lib/elementor/widgets/js/frontend.js?ver=1.8.1

js anrh.dz collected 2026-10-04 20:02:27 UTC 1,936 bytes, 74 lines download raw bytes

1jQuery.noConflict();
2
3(function($, window, document){
4	var onReady = function(){
5		var typedJS = function($scope){
6			$scope = typeof $scope === 'undefined'? $(document.body) : $scope;
7
8			var typed_texts = $scope.find('.futurio-extra-written-headline');
9
10			if(typed_texts.length){
11				var start_typing = function(heading){
12					var block         = $(heading),
13						writing_area  = block.find('.written-lines'),
14						block_strings = writing_area.text().split('\n'),
15						is_loop       = block.data('loop') == 1,
16						speed         = block.data('speed');
17            delay         = block.data('delay');
18
19					//skip if it was initialized already
20					if(writing_area.data('typed')){
21						return;
22					}
23
24					writing_area
25						.removeClass('elementor-screen-only')
26						.empty()
27						.typed({
28						strings: block_strings,
29						startDelay: 500,
30            backDelay: delay,
31						typeSpeed: parseInt(speed, 10),
32						loop: is_loop
33					});
34
35					};
36
37				typed_texts.each( function(){
38					var _this = this;
39					//native version
40					if(typeof Waypoint === 'function'){
41						//noinspection JSUnusedGlobalSymbols
42						new Waypoint({
43							element: _this,
44							handler: function(){
45								start_typing(this.element);
46								//fire only once
47								this.destroy();
48							},
49							offset: '85%'
50						});
51					}
52					//jQuery version
53					else if(typeof jQuery.waypoints === 'function'){
54						$(this).waypoint( $.proxy(start_typing, this, this, 0),{ offset: '85%', triggerOnce:true } );
55					}
56					//no waypoints script available
57					else{
58						start_typing();
59					}
60				} );
61			}
62		};
63
64		typedJS();
65
66		if(typeof elementorFrontend !== 'undefined' && typeof elementorFrontend.hooks !== 'undefined'){
67			elementorFrontend.hooks.addAction( 'frontend/element_ready/writing-effect-headline.default', function( $scope ) {
68				typedJS($scope);
69			} );
70		}
71	};
72
73	$(document).ready(onReady);
74})(jQuery, window, document); 

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.