PageSourceSearch

https://www.ishumei.com/static/js/utils/utils_9867084.js

js ishumei.com collected 2026-10-03 21:30:21 UTC 7,263 bytes, 1 lines download raw bytes

1define("pc/js/utils/utils.es6",function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=window,r=(t.getCurrentPathName=function(){return n.location?n.location.pathname:""},t.getRequestHost=function(){var e="console.ishumei.com",t=location.protocol,o=-1!==e.indexOf("www.ishumei.com"),n="";if(o){var r=/(.*)\.www\.(?:ishumei)\.com/i;if(r.test(e)){var i=e.match(r);n=i&&i[1]?t+"//"+i[1]+".console.ishumei.com":t+"//"+e}else n=t+"//"+e}else n=t+"//"+e;return n},t.getNewHost=function(){var e=location.href,t=location.protocol,o=-1!==e.indexOf("www.ishumei.com"),n="";if(o){var r=/(.*)\.www\.(?:ishumei)\.com/i;if(r.test(e)){var i=e.match(r);n=i&&i[1]?i[1]+".console.ishumei.com":t+"//console.ishumei.com"}else n=t+"//console.ishumei.com"}else n=t+"//console.ishumei.com";return n},t.Storage={set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)||""},remove:function(e){localStorage.removeItem(e)}}),i=t.getUrlParams=function(){var e=location.href||"",t=e.split("?"),o={};if(t[1]){var n=t[1].split("&");return $.each(n,function(e,t){var n=t.split("=");o[n[0]]=decodeURIComponent(n[1])}),o}return{}},u=function(e){var t=/^(?:https?)\:\/\/([^\/]*)\/?/,o=String(e).match(t);return o?o[1]||"":""};t.getUrlData=function(){var e=location.href||"",t=i(e),o=r.get("firstKeyUrl")||"",n=r.get("keyRefererHostOut")||"";return $.extend({applyReferer:e,keyUrl:o,keyReferer:n||"",keyRefererHost:u(n)},t)},t.Cookie={set:function(e,t,o){o=o||{path:"/",expires:62208e6};var n=o.expires;"number"==typeof n&&(n=new Date,n.setTime(n.getTime()+o.expires));try{return document.cookie=e+"="+escape(t)+(n?";expires="+n.toGMTString():"")+(o.path?";path="+o.path:"")+(o.domain?"; domain="+o.domain:""),!0}catch(e){return!1}},get:function(e,t){try{var o=void 0,n=new RegExp("(^| )"+e+"=([^;]*)(;|$)");if(o=document.cookie.match(n))return unescape(o[2])}catch(e){}return t},remove:function(e,t){this.set(e,null,{path:"/",domain:t||"",expires:-1})}},t.getUrlName=function(){var e=location.href||"",t=window.location.protocol,o=["www","intl","help","console"];try{var n="";if("www"===(n=e.indexOf("ishumei")>-1?e.match(/\/\/(\S*).ishumei/)[1]:e.match(/\/\/(\S*).fengkongcloud/)[1])){var r={};return o.map(function(e){r[e]=t+"//"+e+".ishumei.com"}),r}var i={},u="";return n&&(u=n.indexOf(".")>-1?n.split(".")[0]+".":n.split("-")[0]+"-"),o.map(function(e){i[e]=t+"//"+u+e+".ishumei.com"}),i}catch(e){return{www:"https://www.ishumei.com",intl:"https://intl.ishumei.com",help:"https://help.ishumei.com",console:"https://console.ishumei.com"}}},t.quickFill=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],o=$(t).outerWidth(),n=$(t).outerHeight(),r=t,i="";if($("#quick_fill_ul").remove(),e.length){i+='<div id="quick_fill_ul" style="max-height:150px;z-index: 1;overflow-y: auto;background: white;display: none;border: 1px solid darkgray;position: absolute">';for(var u=0;u<e.length;u++)i+='<div class="x-l-1" style="text-indent: 0.5em">'+e[u].name+"</div>";i+="</div>"}
1var l=$(i);l.css({left:$(r).offset().left,top:$(r).offset().top+n}),$(r).after(l),$(l).show(),$(".x-l-1").mouseover(function(){$(this).css("background-color","rgba(20,225,205,0.18)")}),$(".x-l-1").mouseout(function(){$(this).css("background-color","white")});var a=o-2;$(".x-l-1").css("width",a+"px"),$(".x-l-1").css("height",n+"px"),$(".x-l-1").css("padding-left","10px"),$(".x-l-1").css("line-height",n+"px"),l.children().click(function(){$(r).val($(this).text()),$(l).hide()}),$(document).on("click",function(e){e.stopPropagation(),"quick_fill_id"!==$(e.target).attr("id")&&$(l).hide()})},t.urlList=function(){return[{name:"营销风控",url:"new/product/tw/marketing"},{name:"数据防盗爬",url:"new/product/tw/fdp"},{name:"渠道流量反作弊",url:"product/tw-post-channel.html"},{name:"刷榜刷单防护",url:"product/tw-post-brush.html"},{name:"虚假用户裂变识别",url:"product/tw-post-fission.html"},{name:"交易风控",url:"new/product/tw/risk"},{name:"智能音频检测",url:"new/product/tj/audio"},{name:"智能视频检测",url:"new/product/tj/video"},{name:"智能图片检测",url:"new/product/tj/image"},{name:"智能文本检测",url:"new/product/tj/text"},{name:"智能声纹识别",url:"product/tj-post-voice.html"},{name:"智能网页检测",url:"new/product/tj/web"},{name:"智能文档检测",url:"new/product/tj/document"},{name:"设备风险保护",url:"new/product/tw/sdk"},{name:"注册登录保护",url:"new/product/tw/register"},{name:"智能验证码",url:"new/product/tw/code"},{name:"视觉业务标签",url:"product/tj-post-vision.html"},{name:"社交行业解决方案",url:"new/product/solution/social"},{name:"直播行业解决方案",url:"new/product/solution/live"},{name:"电商行业解决方案",url:"new/product/solution/electricity"},{name:"游戏行业解决方案",url:"new/product/solution/game"},{name:"社区行业解决方案",url:"new/product/solution/community"},{name:"教育行业解决方案",url:"new/product/solution/education"},{name:"金融解决方案",url:"new/product/solution/bank"},{name:"保险解决方案",url:"new/product/solution/insurance"},{name:"新零售行业解决方案",url:"new/product/solution/retail"},{name:"航旅行业解决方案",url:"new/product/solution/travel"},{name:"未成年人保护",url:"new/product/solution/nonage"},{name:"汽车解决方案",url:"new/product/solution/car"},{name:"音频检测",url:"trial/audio.html"},{name:"视频检测",url:"trial/video.html"},{name:"色情图片检测",url:"trial/sex.html"},{name:"敏感图片检测",url:"trial/politics.html"},{name:"暴恐图片检测",url:"trial/violence.html"},{name:"广告图片检测",url:"trial/at.html"},{name:"orc图片检测",url:"trial/ocr.html"},{name:"文本检测",url:"trial/text.html"},{name:"智能验证码",url:"trial/captcha.html"},{name:"公司介绍",url:"about/company.html"},{name:"团队介绍",url:"about/team.html"},{name:"新闻资讯",url:"about/news/list.html"},{name:"加入我们",url:"about/join.html"},{name:"数美研究院",url:"research/research.html"},{name:"数美SRC",url:"about/src.html"}]},t.helpUrlList=function(){return[{name:"帮助文档-营销风控",url:"docs/tw/marketing"},{name:"帮助文档-渠道流量反作弊",url:"docs/tw/channel"},{name:"帮助文档-虚假用户裂变识别",url:"docs/tw/fission"},{name:"帮助文档-刷榜刷单防护",url:"docs/tw/brush"},{name:"帮助文档-广告导流",url:"docs/tw/diversion"},{name:"帮助文档-设备风险保护",url:"docs/tw/sdk"},{name:"帮助文档-交易风控",url:"docs/tw/risk"},{name:"帮助文档-数据防盗爬",url:"docs/tw/fdp"},{name:"帮助文档-智能验证码",url:"docs/tw/captcha"},{name:"帮助文档-智能文本检测",url:"docs/tj/text"},{name:"帮助文档-智能图片检测",url:"docs/tj/image"},{name:"帮助文档-智能音频文件识别",url:"docs/tj/audio"},{name:"帮助文档-智能音频流识别",url:"docs/tj/audioStream"},{name:"帮助文档-智能视频文件识别",url:"docs/tj/video"},{name:"帮助文档-智能视频流识别",url:"docs/tj/videoStream"}]},t.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}});

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.