PageSourceSearch

https://cf.mora.jp/cfdocs/addition/audition/overlay.js?ver=20260918131340

js mora.jp collected 2026-09-24 09:04:19 UTC 3,365 bytes, 1 lines download raw bytes

1(function($){$.pageSize=$.pageSize||function(){var xScroll,yScroll;if(window.innerHeight&&window.scrollMaxY){xScroll=window.innerWidth+window.scrollMaxX;yScroll=window.innerHeight+window.scrollMaxY}else if(document.body.scrollHeight>document.body.offsetHeight){xScroll=document.body.scrollWidth;yScroll=document.body.scrollHeight}else{xScroll=document.body.offsetWidth;yScroll=document.body.offsetHeight}var windowWidth,windowHeight;if(self.innerHeight){if(document.documentElement.clientWidth){windowWidth=document.documentElement.clientWidth}else{windowWidth=self.innerWidth}windowHeight=self.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){windowWidth=document.documentElement.clientWidth;windowHeight=document.documentElement.clientHeight}else if(document.body){windowWidth=document.body.clientWidth;windowHeight=document.body.clientHeight}var pageWidth=xScroll<windowWidth?xScroll:windowWidth;var pageHeight=yScroll<windowHeight?windowHeight:yScroll;return[pageWidth,pageHeight,windowWidth,windowHeight]};$.overlay=function(settings){var _this=this;settings=$.extend({bg_color:"#000000",opacity:0,fade_speed:200,overlay_class:"pageOverlay",click_close:true},settings);var click_close=settings.click_close;var pageSize=$.overlay.pageSize=$.pageSize();this.fade_speed=settings.fade_speed;this.opacity=settings.opacity;this.overlay_id=settings.overlay_class+$.overlay.uid++;this.click_close=settings.click_close;this.$select;this.opend=false;$("#"+this.overlay_id).remove();var overlayPosition=(safariVersionChecker()>0)?"fixed":"absolute";var $overlay=this.$obj=$('<div></div>').attr({'class':settings.overlay_class,id:this.overlay_id}).css({display:"none",width:pageSize[2],height:Math.max(pageSize[1],$("body").height()),position:overlayPosition,top:0,left:0,backgroundColor:settings.bg_color,opacity:0,zIndex:3000});$overlay.appendTo($('body'));$.overlay.$objs=$.overlay.$objs.add($overlay);if(click_close){$overlay.on("click",function(){if(click_close===true){_this.close()}else{_this.close.apply(_this,$.makeArray(click_close))}})}$(window).off('resize.overlay_resize').on('resize.overlay_resize',function(){pageSize=$.overlay.pageSize=$.pageSize();$.overlay.$objs.css({width:pageSize[2],height:pageSize[1]})})};$.overlay.uid=0;$.overlay.$objs=$([]);$.overlay.pageSize=[];$.overlay.prototype={open:function(speed,callback){var _this=this;var $overlay=this.$obj;this.$select=$('select:visible').hide();if(!callback&&typeof speed==="function"){callback=speed;speed=null}$overlay.show().fadeTo(speed||this.fade_speed,this.opacity,function(){_this.opend=true;if(callback&&typeof callback==="function")callback.apply(this,arguments)})},close:function(speed,callback,isOther){if(Audition.urlWaiting||Audition.overlayWaiting||Audition.auditionWaiting){return}if(!isOther){Audition.onAuditionBtn()}var _this=this;if(_this.opend){var $overlay=this.$obj;var $select=this.$select;if(!callback&&typeof speed==="function"){callback=speed;speed=null}_this.opend=false;$overlay.stop().fadeTo(speed||this.fade_speed,0,function(){$overlay.hide();$select.show();if(callback&&typeof callback==="function")callback.apply(this,arguments)})}}}})(jQuery);function safariVersionChecker(){var ua=navigator.userAgent;var num=ua.match(new RegExp("Safari/[0-9]{1,4}\.[0-9]{1,2}"));return(num==null)?-1:parseFloat(String(num).replace("Safari/",""))}

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.