Files
admin-sjzx/public/js/amap.min.js

3 lines
1.1 MiB
JavaScript
Raw Normal View History

2024-02-19 15:28:43 +08:00
(function(config){!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?module.exports=factory():"function"==typeof define&&define.amd?define(factory):(global=global||self).AMap=factory()}(this,function(){"use strict";var shared,worker,AMap;function define(_,chunk){var sharedChunk,workerBundleString;shared?worker?(workerBundleString='var sharedChunk = {key:"'+config[0]+'",db:"'+(config[14]||"")+'",nebulaVersion:"'+(config[15]||"")+'",movingDraw:'+Boolean(window.movingDraw)+',host:"'+config[2]+'",}; ('+shared+")(sharedChunk); ("+worker+")(sharedChunk);",sharedChunk={key:config[0],movingDraw:window.movingDraw},shared(sharedChunk),sharedChunk=chunk(sharedChunk),workerBundleString="undefined"!=typeof URL?window.URL.createObjectURL(new Blob([workerBundleString],{type:"text/javascript"})):"",(AMap=sharedChunk(config)).getConfig().workerUrl=workerBundleString):worker=chunk:shared=chunk}define(["exports"],function(exports){var extend=function(t){for(var r,n,i=Array.prototype.slice.call(arguments,1),a=0,o=i.length;a<o;a+=1)for(var s in r=i[a]||{})r.hasOwnProperty(s)&&("function"==typeof(n=r[s])&&t.prototype?t.prototype[s]=n:t[s]=n);return t};function isBrowser(){return"undefined"!=typeof window&&"undefined"!=typeof document}function isWasmSuppport(){try{if("object"==typeof WebAssembly&&"function"==typeof WebAssembly.instantiate&&TextDecoder&&TextEncoder){var t=new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0]));if(t instanceof WebAssembly.Module)return new WebAssembly.Instance(t)instanceof WebAssembly.Instance}}catch(t){}return!1}var testWepP=function(t){var e=new Image;e.src="data:image/webp;base64,UklGRi4AAABXRUJQVlA4TCEAAAAvAUAAEB8wAiMwAgSSNtse/cXjxyCCmrYNWPwmHRH9jwMA",e.onload=e.onerror=function(){t(2===e.height)}};function isWorkerEnv(){try{return document,!1}catch(t){return!0}}function getSupport(t){function e(t){return-1!==n.indexOf(t)}var r={runSupport:(new Date).getTime()},U=isWasmSuppport(),n=navigator.userAgent.toLowerCase(),j=!0,i=e("macintosh"),F=e("ipad;")||e("ipad "),a=e("ipod touch;"),o=e("iphone;")||e("iphone "),a=o||F||a,s=(i||a)&&e("safari")&&e("version/"),u=e("macwechat"),c=e("windowswechat"),R={touch:!1,mac:i,Ue:!1,webkit:!1,$e:!1,scale:1,android:!1,DW:isWorkerEnv(),wasm:U,safari:s,AQ:u,gQ:c,amapRunTime:r};if(isBrowser()){var f=window,c=(u=document).documentElement,h=/([a-z0-9]*\d+[a-z0-9]*)/,D="google swiftshader;microsoft basic render driver;vmware svga 3d;Intel 965GM;Intel B43;Intel G41;Intel G45;Intel G965;Intel GMA 3600;Intel Mobile 4;Intel Mobile 45;Intel Mobile 965".split(";"),l="ActiveXObject"in f,d=0!=window.detectRetina&&("devicePixelRatio"in f&&1<f.devicePixelRatio||l&&"matchMedia"in f&&f.matchMedia("(min-resolution:144dpi)")&&f.matchMedia("(min-resolution:144dpi)").matches),B=e("windows nt"),v=(n.search(/windows nt [1-5]\./),n.search(/windows nt 5\.[12]/),e("windows nt 10"),e("windows phone")),G=e("Mb2345Browser"),V=(a&&n.search(/ os [456]_/),a&&n.search(/ os [4-8]_/),a&&n.search(/ os [78]_/),a&&e("os 8_"),a&&e("os 10_")),g=e("android"),p=0,z=(g&&(p=parseInt(n.split("android")[1])||0),g&&p<4),y=(g&&5<=p||n.search(/android 4.4/),g?"android":a?"ios":B?"windows":i?"mac":"other"),p=l&&!f.XMLHttpRequest,W=l&&!u.querySelector,m=l&&!u.addEventListener,H=l&&e("msie 9"),q=l&&e("msie 10"),K=l&&e("rv:11"),Y=m||H,b=e("edge"),T=(e("qtweb"),e("ucbrowser")),X=e("alipay")||g&&T,Z=(e("miuibrowser"),e("micromessenger")),A=e("dingtalk"),J=e("mqqbrowser"),Q=e("baidubrowser"),x=e("crios/"),M=e("chrome/"),x=!((M||x)&&e("chromium"))&&(M&&30<parseInt(n.split("chrome/")[1])||x&&30<parseInt(n.split("crios/")[1])),tt=e("firefox"),S=tt&&27<parseInt(n.split("firefox/")[1]),w=s&&7<parseInt(n.split("version/")[1]),P=(a&&e("aliapp"),g||a||v||e("mobile")),v="ontouchstart"in u,et=f.navigator&&f.navigator.msPointerEnabled&&!!f.navigator.msMaxTouchPoints,rt=f.navigator&&!!f.navigator.maxTouchPoints,nt=!v&&(rt||et),v=v||nt,I=function(){if(!P)return f.devicePixelRatio||1;var t=document.getElementsByTagName("meta");if(window.parent&&window.parent!==window)try{if(window.parent.location.origin!==windo
(typeof _cssload_=="function")&&_cssload_("logo",".amap-logo{display:block!important;pointer-events:none;}",true)})(["1d61961cc5f61f643bcfb6f0b5021e80",[118.363373,31.228098,119.241663,32.614363,118.767413,32.041544],"https://webapi.amap.com",1,"2.0.5.21",null,"320100","AMap.ElasticMarker,AMap.ToolBar,AMap.Scale,AMap.HawkEye,AMap.MapType,AMap.MouseTool,AMap.CircleEditor,AMap.PolygonEditor,AMap.PolylineEditor,AMap.MarkerCluster,AMap.RangingTool",true,false,false,true,"20230103011500-20201123-1",false,"A","3_23_10_10_00","https","webapi.amap.com",1,"0"])
_jsload_('AMap.ElasticMarker', '(function(){"use strict";var extendStatics=function(d,b){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)if(b.hasOwnProperty(p))d[p]=b[p]};return extendStatics(d,b)};function __extends(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}var extend=function(dest){var args=[];for(var _i=1;_i<arguments.length;_i++){args[_i-1]=arguments[_i]}var sources=Array.prototype.slice.call(arguments,1);var j;var len;var src;for(j=0,len=sources.length;j<len;j=j+1){src=sources[j]||{};for(var key in src){if(src.hasOwnProperty(key)){var target=src[key];if(typeof target!=="function"||!dest.prototype){dest[key]=target}else{dest.prototype[key]=target}}}}return dest};function isBrowser(){return typeof window!=="undefined"&&typeof document!=="undefined"}function isWasmSuppport(){try{if(typeof WebAssembly==="object"&&typeof WebAssembly.instantiate==="function"&&TextDecoder&&TextEncoder){var module=new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0]));if(module instanceof WebAssembly.Module){return new WebAssembly.Instance(module)instanceof WebAssembly.Instance}}}catch(e){}return false}var testWepP=function(callback){var webP=new Image;webP.src="data:image/webp;base64,UklGRi4AAABXRUJQVlA4TCEAAAAvAUAAEB8wAiMw"+"AgSSNtse/cXjxyCCmrYNWPwmHRH9jwMA";webP.onload=webP.onerror=function(){callback(webP.height===2)}};function isWorkerEnv(){try{var flag=!!document;return false}catch(e){return true}}function getSupport(config){var amapRunTime={runSupport:(new Date).getTime()};var isRetina=false;var isMobile=false;var android=false;var webkit=false;var touch=false;var wasm=isWasmSuppport();var ua=navigator.userAgent.toLowerCase();var uaHas=function(key){return ua.indexOf(key)!==-1};var hardwareAccEnabled=true;var mac=uaHas("macintosh");var iPad=uaHas("ipad;")||uaHas("ipad "),iTouch=uaHas("ipod touch;"),iPhone=uaHas("iphone;")||uaHas("iphone "),ios=iPhone||iPad||iTouch,safari=(mac||ios)&&uaHas("safari")&&uaHas("version/"),macWechat=uaHas("macwechat"),windowsWechat=uaHas("windowswechat");var Browser={touch:touch,mac:mac,isRetina:isRetina,webkit:webkit,isMobile:isMobile,scale:1,android:android,isWorkerEnv:isWorkerEnv(),wasm:wasm,safari:safari,macWechat:macWechat,windowsWechat:windowsWechat,amapRunTime:amapRunTime};if(isBrowser()){var win_1=window,doc=document,docE=doc.documentElement,numberRegex_1=/([a-z0-9]*\\d+[a-z0-9]*)/,getGraphicCardShortStr_1=function(graphicVersion){if(!graphicVersion){return null}graphicVersion=graphicVersion.toLowerCase();var forShort=null;var b=graphicVersion.match(/angle \\((.*)\\)/);if(b){graphicVersion=b[1];graphicVersion=graphicVersion.replace(/\\s*direct3d.*$/,"")}graphicVersion=graphicVersion.replace(/\\s*\\([^\\)]*wddm[^\\)]*\\)/,"");if(graphicVersion.indexOf("intel")>=0){forShort=["Intel"];if(0<=graphicVersion.indexOf("mobile")){forShort.push("Mobile")}if(0<=graphicVersion.indexOf("gma")||0<=graphicVersion.indexOf("graphics media accelerator")){forShort.push("GMA")}if(0<=graphicVersion.indexOf("haswell")){forShort.push("Haswell")}else if(0<=graphicVersion.indexOf("ivy")){forShort.push("HD 4000")}else if(0<=graphicVersion.indexOf("sandy")){forShort.push("HD 3000")}else if(0<=graphicVersion.indexOf("ironlake")){forShort.push("HD")}else{if(0<=graphicVersion.indexOf("hd")){forShort.push("HD")}var number=graphicVersion.match(numberRegex_1);if(number){forShort.push(number[1].toUpperCase())}}forShort=forShort.join(" ");return forShort}if(graphicVersion.indexOf("nvidia")>=0||graphicVersion.indexOf("quadro")>=0||graphicVersion.indexOf("geforce")>=0||graphicVersion.indexOf("nvs")>=0){forShort=["nVidia"];if(0<=graphicVersion.indexOf("geforce")){forShort.push("geForce")}if(0<=graphicVersion.indexOf("quadro")){forShort.push("Quadro")}if(0<=graphicVersion.indexOf("nvs")){forShort.push("NVS")}if(graphicVersion.match(/\\bion\\b/)){forShort.push("ION")}if(graphicVersion.match(/gtx\\b/)){forShort.push("GTX")}else if(graphicVersion.match(/gts\\b/)){for