PageSourceSearch

https://spider-themes.net/wp-content/litespeed/js/d57a7265d8aaf6fa9f179e4ef5a3f30d.js?ver=3f30d

js spider-themes.net collected 2026-09-24 19:37:11 UTC 13,851 bytes, 58 lines download raw bytes

1function NoJQueryPostMessageMixin(g,a){var b,h,e,d,f,c=1;if(window.postMessage){if(window.addEventListener){b=function(i){window.addEventListener("message",i,!1)};h=function(i){window.removeEventListener("message",i,!1)}}else{b=function(i){window.attachEvent("onmessage",i)};h=function(i){window.detachEvent("onmessage",i)}}this[g]=function(i,k,j){if(!k){return}j.postMessage(i,k.replace(/([^:]+:\/\/[^\/]+).*/,"$1"))};this[a]=function(k,j,i){if(e){h(e);e=null}if(!k){return!1}e=b(function(l){switch(Object.prototype.toString.call(j)){case"[object String]":if(j!==l.origin){return!1}break;case"[object Function]":if(j(l.origin)){return!1}break}k(l)})}}else{this[g]=function(i,k,j){if(!k){return}j.location=k.replace(/#.*$/,"")+"#"+(+new Date)+(c++)+"&"+i};this[a]=function(k,j,i){if(d){clearInterval(d);d=null}if(k){i=typeof j==="number"?j:typeof i==="number"?i:100;d=setInterval(function(){var m=document.location.hash,l=/^#?\d+&/;if(m!==f&&l.test(m)){f=m;k({data:m.replace(l,"")})}},i)}}}return this};(function($,undef){var global=this;global.FS=global.FS||{};if(null==global.FS.PostMessage){global.FS.PostMessage=function(){var
2_isChild=!1,_isChildInitialized=!1,_postman=new NoJQueryPostMessageMixin('postMessage','receiveMessage'),_callbacks={},_baseUrl,_parentUrl,_parentSubdomain,_initParentUrl=function(parentUrl){_parentUrl=parentUrl;_parentSubdomain=parentUrl.substring(0,parentUrl.indexOf('/',('https://'===parentUrl.substring(0,('https://').length))?8:7));_hasParent=(''!==parentUrl)},_init=function(){_postman.receiveMessage(function(e){var data;try{if(e&&e.data&&('string'===typeof e.data)&&'{'===e.data.charAt(0)){data=JSON.parse(e.data);if(_callbacks[data.type]){for(var i=0;i<_callbacks[data.type].length;i++){_callbacks[data.type][i](data.data)}}}}catch(err){console.error('FS.PostMessage.receiveMessage',err.message);console.log(e.data)}},_baseUrl)},_prevHeight=-1,_hasParent=(''!==_parentUrl),$window=$(window),$html=$('html');var _isIframe=!0;try{_isIframe=(window.self!==window.top)}catch(e){}
3if(_isIframe){_initParentUrl(decodeURIComponent(document.location.hash.replace(/^#/,'')))}
4return{init:function(url,iframes){_baseUrl=url;_init();FS.PostMessage.receiveOnce('forward',function(data){window.location=data.url});iframes=iframes||[];if(iframes.length>0){$window.on('scroll',function(){for(var i=0;i<iframes.length;i++){FS.PostMessage.postScroll(iframes[i])}})}},init_child:function(parentUrl){if(parentUrl){_initParentUrl(parentUrl)}
5this.init(_parentSubdomain);_isChild=!0;_isChildInitialized=!0;$(window).bind('load',function(){FS.PostMessage.postHeight();FS.PostMessage.post('loaded')});$(window).resize(function(){FS.PostMessage.postHeight();FS.PostMessage.post('resize')});console.log('PostMessage[iframe].initialized')},hasParent:function(){return _hasParent},postHeight:function(diff,wrapper){diff=diff||0;wrapper=wrapper||'#wrap_section';var newHeight=diff+$(wrapper).outerHeight(!0);if(newHeight==_prevHeight){return!1}
6this.post('height',{height:newHeight});_prevHeight=newHeight;return!0},postScroll:function(iframe){this.post('scroll',{top:$window.scrollTop(),height:($window.height()-parseFloat($html.css('paddingTop'))-parseFloat($html.css('marginTop')))},iframe)},post:function(type,data,iframe){if(iframe){console.debug('PostMessage[parent].post[iframe]',type);_postman.postMessage(JSON.stringify({type:type,data:data}),iframe.src,iframe.contentWindow)}else{console.debug('PostMessage[iframe].post[parent]',type);_postman.postMessage(JSON.stringify({type:type,data:data}),_parentUrl,window.parent)}},receive:function(type,callback){console.debug('PostMessage['+(_isIframe?'iframe':'parent')+'].receive',type);if(null==_callbacks[type])
7_callbacks[type]=[];_callbacks[type].push(callback)},receiveOnce:function(type,callback,flush){flush=(undef===flush)?!1:flush;if(flush)
8this.unset(type);if(this.is_set(type))
9return;this.receive(type,callback)},is_set:function(type){return(null!=_callbacks[type])},unset:function(type){_callbacks[type]=null},parent_url:function(){return _parentUrl},parent_subdomain:function(){return _parentSubdomain},isChildInitialized:function(){return _isChildInitialized}}}()}})(jQuery);(function($,undef){var global=this;global.FS=global.FS||{};global.FS.Members=function(){var _isFlashingBrowser=!1;var ua=navigator.userAgent.toLowerCase();if(/edge\/|trident\/|msie /.test(ua)){_isFlashingBrowser=!0;console.log('browser','ie')}else if(ua.indexOf('safari')!=-1){if(ua.indexOf('chrome')>-1){console.log('browser','chrome')}else{_isFlashingBrowser=!0;console.log('browser','safari')}}else{console.log('browser','other')}
10var _isIframe=!0;try{_isIframe=(window.self!==window.top)}catch(e){}
11var _initialized=!1,_parsePathFromHash=function(){var hash=window.location.hash,pathStartsAt=hash.indexOf('!');return(0<=pathStartsAt)?hash.substr(pathStartsAt+1).replace(/^\/+|\/+$/g,''):''},_hashJustUpdated=!1,_lastPath='',_updateHash=function(path){var hash=window.location.hash,pathStartsAt=hash.indexOf('!');var newHash=((0<=pathStartsAt)?hash.substr(0,pathStartsAt):'')+'!'+path;
11if(newHash==window.location.hash){return!1}
12_lastPath=path;window.location.hash=newHash;return!0},_findBaseUrl=function(){var scripts=document.getElementsByTagName('script');for(var i=0;i<scripts.length;i++){if(-1!==scripts[i].src.indexOf('//users.freemius')){var pos=scripts[i].src.substr('https://'.length).indexOf('/');if(-1===pos){return scripts[i].src}else{return scripts[i].src.substr(0,pos+'https://'.length)}}}
13return'https://users.freemius.com'},_baseUrl=_findBaseUrl(),_overflow,_iframe,_s4=function(){return Math.floor((1+Math.random())*0x10000).toString(16).substring(1)},_guid=function(){return _s4()+_s4()+'-'+_s4()+'-'+_s4()+'-'+_s4()+'-'+_s4()+_s4()+_s4()},_options={guid:_guid()},MAX_ZINDEX=2147483647,_sanitizeOptions=function(options){options=$.extend({},_options,options);if(null==options.store_id&&null==options.product_id&&null==options.plugin_id&&null==options.theme_id){throw 'Running the app in an iframe requires setting up a store or a product scope.'}
14if(null==options.public_key){throw 'You must set the public key of the app\'s scope object.'}
15return options},_getUri=function(options){const noRedirectStoreIds=new Set(["13","84","172","274","287","406","523","953","1034","1069","1238","1269","1323","1415","1602","1610","1653","2113","2129","2327","2378","2405","2482","2499","2520","2824","2841","2887","2924","3161","3227","3231","3287","3291","3552","3554","3718","3846","3859","3934","4349","4405","4512","4528","4578","4605","4656","4704","4713","4882","5091","5214","5255","5304","5389","5475","5507","5512","5597","5617","5657","5680","5818","5873","5897","5978","6041","6112","6187","6237","6263","6371","6508","6517","6658","6706","6845","6859","6924","6940","6956","7011","7078","7102","7114","7146","7222","7292","7400","7595","7603","7757","7868","7997","8039","8073","8365","8498","8574","8638","8639","8664","9013","9020","9137","9239","9262"]);if(options.store_id!=null&&!noRedirectStoreIds.has(String(options.store_id))){_baseUrl=_baseUrl.replace('users.freemius','customers.freemius')}
16var uri=_baseUrl;if(options.store_id){uri+='/store/'+options.store_id}else if(options.product_id){uri+='/product/'+options.product_id}else if(options.plugin_id){uri+='/plugin/'+options.plugin_id}else if(options.theme_id){uri+='/theme/'+options.plugin_id}
17var path=_parsePathFromHash();if(''!==path){uri+='/'+path}
18var querystring={},parentQueryObject=_parseQuerystring(window.location.search),preservedParams=['public_key','email','user_secret_key','developer_id','developer_secret_key','user_id','token'];for(var i=0;i<preservedParams.length;i++){if(options[preservedParams[i]]){querystring[preservedParams[i]]=options[preservedParams[i]]}else if(parentQueryObject[preservedParams[i]]){querystring[preservedParams[i]]=parentQueryObject[preservedParams[i]]}}
19uri+=(0<=uri.indexOf('?')?'&':'?')+_httpBuildQuery(querystring);return uri},_tryFixEncoding=function(){var hash=window.location.hash;if(!(hash.indexOf('!')>=0)){var encodedHashPosition=hash.indexOf('%21');if(encodedHashPosition>=0){hash=(hash.substring(0,encodedHashPosition)+'!'+hash.substr(encodedHashPosition+3))}}
20if(hash.indexOf('reset_token=')>=0){var queryStringParts=hash.split('reset_token=');if(2===queryStringParts.length&&queryStringParts[1].indexOf('?')>=0){hash=(queryStringParts[0]+'reset_token='+encodeURIComponent(queryStringParts[1]))}}
21window.location.hash=hash},_prepare=function(options){_tryFixEncoding();var src=_getUri(options);_iframe=$('<iframe id="'+options.guid+'" src="'+src+'" width="100%" height="100%" allowtransparency="true" frameborder="0" style="z-index: '+MAX_ZINDEX+'; background: rgba(0,0,0,0.003); border: 0px none transparent; visibility: '+(_isFlashingBrowser?'hidden':'visible')+'; margin: 0px; padding: 0; position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; -webkit-tap-highlight-color: transparent; overflow: hidden;"><\/iframe>').appendTo($container);if(!_initialized){_initialized=!0;FS.PostMessage.init(_baseUrl,[_iframe[0]]);FS.PostMessage.receiveOnce('pathChanged',function(data){_hashJustUpdated=_updateHash(data.path)});FS.PostMessage.receiveOnce('getLocation',function(data){FS.PostMessage.post('location',{href:window.location.href,location:window.location.toString(),hash:window.location.hash},_iframe[0])});FS.PostMessage.receiveOnce('localStorage.setItem',function(data){if(data.key.length>3&&'fs_'===data.key.substr(0,3)){localStorage.setItem(data.key,data.value)}});FS.PostMessage.receiveOnce('localStorage.removeItem',function(key){if(key.length>3&&'fs_'===key.substr(0,3)){localStorage.removeItem(key)}});FS.PostMessage.receiveOnce('localStorage.getItem',function(key){if(key.length>3&&'fs_'===key.substr(0,3)){FS.PostMessage.post('localStorage.getItem',{key:key,value:localStorage.getItem(key)},_iframe[0])}});$(window).on('hashchange',function(){if(_hashJustUpdated){_hashJustUpdated=!1;return}
22var newPath=_parsePathFromHash();if(newPath==_lastPath){return}
23FS.PostMessage.post('pathChanged',{path:newPath},_iframe[0]);_lastPath=newPath})}},_addListener=function(event,options){FS.PostMessage.receiveOnce(event,function(param){if(options[event]){try{options[event](param)}catch(e){console.log(e)}}},!0)},_open=function(options){$('#loader_'+options.guid).show();_prepare(options);FS.PostMessage.receiveOnce('loaded',function(uniqueID){FS.PostMessage.post('handshake',uniqueID,_iframe[0]);$('#loader_'+options.guid).hide();if(_isFlashingBrowser){$('#'+options.guid).ready(function(){$('#'+options.guid).css('visibility','visible')})}
24if(options.afterLoad){try{options.afterLoad()}catch(e){console.log(e)}}},!0);FS.PostMessage.receiveOnce('removeScope',function(){window.top.location.reload()});_addListener('afterLogin',options);_addListener('afterLogout',options);_addListener('afterDownloadsLoad',options)},_httpBuildQuery=function(object){var query='';for(var key in object){if(!object.hasOwnProperty(key)||'function'==typeof object[key]||('object'==typeof object[key]&&null!==object[key])){continue}
25query+='&'+key+'='+_encodeURIComponent(object[key])}
26if(query.length>0)
27query=query.substr(1);return query},_parseQuerystring=function(url){var queryPosition=url.indexOf('?');
27if(!(-1<queryPosition)){return{}}
28var query=url.substring(queryPosition+1),vars=query.split('&');var queryObject={};for(var i=0;i<vars.length;i++){try{var pair=vars[i].split('=');queryObject[decodeURIComponent(pair[0])]=decodeURIComponent(pair[1])}catch(e){}}
29return queryObject},_encodeURIComponent=function(mixed){if(null===mixed)
30return'null';if(!0===mixed)
31return'1';if(!1===mixed)
32return'0';return encodeURIComponent(mixed).replace(/!/g,'%21').replace(/'/g,'%27').replace(/\(/g,'%28').replace(/\)/g,'%29').replace(/\*/g,'%2A').replace(/%20/g,'+')},$container,_configure=function(){var src=$anchor=$('#fs_dashboard_anchor');if(0===$anchor.length){$container=$('<div></div>').appendTo('body')}else{$container=$('<div></div>').insertAfter($anchor)}
33$container.attr('id','fs_dashboard_container');if(_options.css){$container.css(_options.css)}},_prepareLoader=function(){$container.append('<div id="loader_'+_options.guid+'" style="\
34                position: absolute;\
35                z-index: '+MAX_ZINDEX+';\
36                width: 100%;\
37                height: 100%;\
38                top: 0;\
39                right: 0;\
40                bottom: 0;\
41                left: 0;\
42                text-align: left;\
43                background: rgba(0,0,0,0.6);\
44                ">\
45                <img src="'+_baseUrl+'/assets/img/loader.gif" alt="Loading animation" style="\
46                position: absolute;\
47                top: 40%;\
48                left: 50%;\
49                margin-left: -25px;\
50                background: #fff;\
51                padding: 10px;\
52                border-radius: 50%;\
53                box-shadow: 2px 2px 2px rgba(0,0,0,0.1);\
54                ">\
55                </div>')},_gateKeeper=function(){if(_isIframe){throw 'Oops... the page cannot load the dashboard when running in an iFrame'}};return{configure:function(options){_gateKeeper();_options=_sanitizeOptions(options||{});_configure();_prepareLoader();return global.FS.Members},open:function(options){_gateKeeper();_open(_sanitizeOptions(options))},close:function(){_gateKeeper();FS.PostMessage.post('close',null,_iframe[0])},clearOptions:function(){_gateKeeper();_options={mode:_options.mode,guid:_options.guid}},addDownloads:function(downloads){if(downloads.length>0){for(var i=0;i<downloads.length;i++){if(null==downloads[i].id){downloads[i].id=downloads[i].url.replace(/\W/g,'')}}}
56FS.PostMessage.post('addDownloads',downloads,_iframe[0])},getUser:function(callback){if(null==callback){return}
57FS.PostMessage.receiveOnce('user',function(user){try{callback(user)}catch(e){console.log(e)}},!0);FS.PostMessage.post('getUser',null,_iframe[0])}}}()})(jQuery)
58;

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.