!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.navigation=e():t.navigation=e()}(this,function(){return(n=[function(t,e,n){t.exports=n(142)},function(t){function e(t){return t&&t.__esModule?t:{default:t}}t.exports=e},function(t){function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}t.exports=e},function(t,e,n){var r=n(0);function i(t,e){for(var n=0;n=t.y||s>=t.y&&lt.x&&(n=!n)}}return n}},{key:"isInCircle",value:function(t,e,n,i){if(t.xi[1])return!1;if(t.yi[3])return!1;var r=n*n,o=t.x,a=t.y,s=e.x,u=e.y,l=s-o,f=u-a,h=l*l+f*f;return hr||t.ya)}},{key:"cross",value:function(t,e,n){return(t.x-n.x)*(e.y-n.y)-(e.x-n.x)*(t.y-n.y)}},{key:"isLineSegmentCross",value:function(t,e,n,i){return!(Math.max(t.x,e.x)=e.y||o.y=e.y)&&(r.x<=e.x||o.x<=e.x)&&r.x+(e.y-r.y)/(o.y-r.y)*(o.x-r.x)=e.y||o.y=e.y)&&(r.x<=e.x||o.x<=e.x)){if(a=r.x+(e.y-r.y)/(o.y-r.y)*(o.x-r.x),Math.abs(a-e.x)<=U)return 2;a=e.y||o.y=e.y)&&(r.x<=e.x||o.x<=e.x)&&r.x+(e.y-r.y)/(o.y-r.y)*(o.x-r.x)r[1]&&e.x>r[1])return!1;if(t.yr[3]&&e.y>r[3])return!1;var o=i*i,a=t.x,s=t.y,u=e.x,l=e.y,f=n.x,h=n.y,d=u-a,c=l-s,p=d*d+c*c,v=f-a,_=h-s,y=v*v+_*_;if(G.isZero(p))return!!G.isZero(y)||yi[1]&&e.x>i[1])return!1;if(t.yi[3]&&e.y>i[3])return!1;var r=n.length;if(G.pointInPolygon2d(n,t,r))return!0;if(G.pointInPolygon2d(n,e,r))return!0;for(var o=0;or[1]&&e.x>r[1])return null;if(t.yr[3]&&e.y>r[3])return null;var o={isContain:!1,crossPoints:[]},a=i*i,s=t.x,u=t.y,l=e.x,f=e.y,h=n.x,d=n.y,c=l-s,p=f-u,v=c*c+p*p,_=h-s,y=d-u,g=_*_+y*y,I=h-l,x=d-f,T=I*I+x*x;if(G.isZero(v))return G.isZero(g)?(o.isContain=!0,o.crossPoints=[t,e]):gi[1]&&e.x>i[1])return null;if(t.yi[3]&&e.y>i[3])return null;var r={containType:0,crossPoints:[]},o=n.length;G.pointInPolygon2d(n,t,o)&&(r.containType|=1),G.pointInPolygon2d(n,e,o)&&(r.containType|=2);for(var a=[],s=0;sa)return!1;var v=(p-d)/(c-h),_=v*(l-h)+d;return r.y=_,r.x=l,!(_a)return!1;var y=(p-d)/(c-h),g=y*(l-h)+d;return r.y=g,r.x=l,!(fm;m++)r(v,x=T[m])&&!r(p,x)&&h(p,x,l(v,x));p.prototype=_,_.constructor=p,n(20)(i,c,p)}},function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){"use strict";var i=n(59),r={};r[n(5)("toStringTag")]="z",r+""!="[object z]"&&n(20)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(t,e,n){"use strict";var i=n(0);i(e,"__esModule",{value:!0}),e.default=void 0;var r={MODULE_SHORTEST:1,MODULE_BEST:2},o=r;e.default=o},function(t,e,n){"use strict";var i=n(1),r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(16)),a=i(n(2)),s=i(n(3)),u=(i(n(126)),i(n(38))),l=function(){function t(){(0,a.default)(this,t),this.Id=0,this.point={},this._type=0,this.liftFloors=[],this.segLinks=[],this.liftFlag=0,this.relatedLiftNodes=[],this.treatHead=!1,this.treatTail=!1,this._dist=0,this._visited=!1,this._vPre=[]}return(0,s.default)(t,[{key:"init",value:function(t){this.Id=t,this.point={x:0,y:0},this._type=0,this.liftFlag=0,this.treatHead=!1,this.treatTail=!1}},{key:"equals",value:function(t){return this.Id==t.Id}},{key:"setNode",value:function(t){this.Id=t.Id,this.point=(0,o.default)({},t.point),this._type=t._type,this.liftFloors=[];for(var e=0;e>2&7}},{key:"liftEntry",set:function(t){this._type|=t<<5},get:function(){return this._type>>5&3}},{key:"entranceType",set:function(t){this._type|=t<<7},get:function(){return this._type>>7&3}},{key:"tempType",set:function(t){this._type|=t<<9},get:function(){return _type>>9&3}}]),t}(),f=l;e.default=f},function(t,e,n){var i=n(99),r=n(68);t.exports=Object.keys||function(t){return i(t,r)}},function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t){t.exports=!0},function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}},function(t,e){e.f={}.propertyIsEnumerable},function(t){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)},function(t,e,n){var r=n(19);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t){t.exports=!1},function(t,e,n){var o=n(74);t.exports=function(i,r,t){if(o(i),void 0===r)return i;switch(t){case 1:return function(t){return i.call(r,t)};case 2:return function(t,e){return i.call(r,t,e)};case 3:return function(t,e,n){return i.call(r,t,e,n)}}return function(){return i.apply(r,arguments)}}},function(t,e,n){var i=n(110),r=n(34);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(36),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},function(t,e,n){var r=n(42),o=n(5)("toStringTag"),a="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:a?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},function(t,e,n){"use strict";var i=n(0);i(e,"__esModule",{value:!0}),e.default=void 0;var r={PRIORITY_DEFAULT:1,PRIORITY_LIFTFIRST:2,PRIORITY_ESCALATORFIRST:3,PRIORITY_STAIRFIRST:4,PRIORITY_LIFTONLY:5,PRIORITY_ESCALATORONLY:6,PRIORITY_STAIRONLY:7,PRIORITY_ACCESSIBLEONLY:8,PRIORITY_LIFTFIRST1:9,PRIORITY_ESCALATORFIRST1:10,PRIORITY_STAIRFIRST1:11},o=r;e.default=o},function(t,e,n){"use strict";var i=n(0);i(e,"__esModule",{value:!0}),e.default=void 0;var r={ROUTE_SUCCESS:1,ROUTE_FAILED_NO_FMDBDATA:2,ROUTE_FAILED_TOO_CLOSE:3,ROUTE_FAILED_NO_DATA_START:4,ROUTE_FAILED_NO_DATA_END:5,ROUTE_FAILED_NO_STAIR:6,ROUTE_FAILED_NOTSUPPORT:7,ROUTE_FAILED_CANNOT_CALCULATE:8,ROUTE_FAILED_CANNOT_ARRIVE:9,ROUTE_FAILED_WAYPOINT_CALCULATE_ERROR:10,ROUTE_FAILED_NO_STAIR_ARRIVAL:11,ROUTE_FAILED_NO_END_ARRIVAL:12,ROUTE_FAILED_OUTLINE:13,ROUTE_FAILED_NO_DOOR_START:14,ROUTE_FAILED_NO_DOOR_END:15},o=r;e.default=o},function(t,e,n){var o=n(144);t.exports=function(i,r,t){if(o(i),void 0===r)return i;switch(t){case 1:return function(t){return i.call(r,t)};case 2:return function(t,e){return i.call(r,t,e)};case 3:return function(t,e,n){return i.call(r,t,e,n)}}return function(){return i.apply(r,arguments)}}},function(t,e,n){var r=n(29);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,o){var i=o(28),r=o(104),a=o(68),s=o(66)("IE_PROTO"),u=function(){},l="prototype",f=function(){var t,e=o(96)("iframe"),n=a.length,i="<",r=">";for(e.style.display="none",o(160).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+r+"document.F=Object"+i+"/script"+r),t.close(),f=t.F;n--;)delete f[l][a[n]];return f()};t.exports=Object.create||function(t,e){var n;return null!==t?(u[l]=i(t),n=new u,u[l]=null,n[s]=t):n=f(),void 0===e?n:r(n,e)}},function(t,e,n){var i=n(15).f,r=n(23),o=n(9)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(52),r=n(7),o="__core-js_shared__",a=r[o]||(r[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(55)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var i=n(178),r=n(54),o=n(57),a=n(53),s=n(26),u=n(108),l=Object.getOwnPropertyDescriptor;e.f=n(10)?l:function(t,e){if(t=o(t),e=a(e,!0),u)try{return l(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(111),r=n(78).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(73)("keys"),r=n(41);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,o){var i=o(18),r=o(181),a=o(78),s=o(77)("IE_PROTO"),u=function(){},l="prototype",f=function(){var t,e=o(109)("iframe"),n=a.length,i="<",r=">";for(e.style.display="none",o(182).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+r+"document.F=Object"+i+"/script"+r),t.close(),f=t.F;n--;)delete f[l][a[n]];return f()};t.exports=Object.create||function(t,e){var n;return null!==t?(u[l]=i(t),n=new u,u[l]=null,n[s]=t):n=f(),void 0===e?n:r(n,e)}},function(t,e,n){"use strict";n(186)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";if(n(10)){var I=n(55),x=n(7),T=n(8),m=n(25),N=n(114),i=n(188),p=n(56),R=n(116),r=n(54),E=n(12),o=n(115),a=n(36),M=n(21),L=n(117),s=n(58),u=n(53),l=n(26),O=n(59),S=n(19),v=n(33),_=n(189),k=n(79),A=n(119),P=n(76).f,y=n(190),f=n(41),h=n(5),d=n(120),c=n(112),g=n(121),b=n(43),w=n(37),F=n(197),C=n(198),z=n(118),D=n(199),V=n(17),j=n(75),G=V.f,U=j.f,Y=x.RangeError,B=x.TypeError,Z=x.Uint8Array,H="ArrayBuffer",q="Shared"+H,X="BYTES_PER_ELEMENT",W="prototype",Q=Array[W],K=i.ArrayBuffer,J=i.DataView,$=d(0),tt=d(2),et=d(3),nt=d(4),it=d(5),rt=d(6),ot=c(!0),at=c(!1),st=b.values,ut=b.keys,lt=b.entries,ft=Q.lastIndexOf,ht=Q.reduce,dt=Q.reduceRight,ct=Q.join,pt=Q.sort,vt=Q.slice,_t=Q.toString,yt=Q.toLocaleString,gt=h("iterator"),It=h("toStringTag"),xt=f("typed_constructor"),Tt=f("def_constructor"),mt=N.CONSTR,Nt=N.TYPED,Rt=N.VIEW,Et="Wrong length!",Mt=d(1,function(t,e){return At(g(t,t[Tt]),e)}),Lt=T(function(){return 1===new Z(new Uint16Array([1]).buffer)[0]}),Ot=!!Z&&!!Z[W].set&&T(function(){new Z(1).set({})}),St=function(t,e){var n=a(t);if(n<0||n%e)throw Y("Wrong offset!");return n},kt=function(t){if(S(t)&&Nt in t)return t;throw B(t+" is not a typed array!")},At=function(t,e){if(!(S(t)&&xt in t))throw B("It is not a typed array constructor!");return new t(e)},Pt=function(t,e){return bt(g(t,t[Tt]),e)},bt=function(t,e){for(var n=0,i=e.length,r=At(t,i);n>>0,f=new RegExp(t.source,s+"g");(i=d.call(f,n))&&(r=f[v],!(u=l)));)f[v]===i.index&&f[v]++;return u===n[p]?!o&&f.test("")||a.push(""):a.push(n.slice(u)),a[p]>l?a.slice(0,l):a}:"0"[a](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:_.call(this,t,e)}:_,[function(t,e){var n=r(this),i=null==t?void 0:t[o];return void 0!==i?i.call(t,n,e):g.call(String(n),t,e)},function(t,e){var n=y(g,t,this,e,g!==_);if(n.done)return n.value;var i=I(t),r=String(this),o=x(i,RegExp),a=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(M?"y":"g"),u=new o(M?i:"^(?:"+i.source+")",s),l=void 0===e?E:e>>>0;if(0===l)return[];if(0===r.length)return null===N(u,r)?[r]:[];for(var f=0,h=0,d=[];h>8&255]+o[t>>16&255]+o[t>>24&255]+"-"+o[255&e]+o[e>>8&255]+"-"+o[e>>16&15|64]+o[e>>24&255]+"-"+o[63&n|128]+o[n>>8&255]+"-"+o[n>>16&255]+o[n>>24&255]+o[255&i]+o[i>>8&255]+o[i>>16&255]+o[i>>24&255];return r.toUpperCase()}}(),clamp:function(t,e,n){return Math.max(e,Math.min(n,t))},euclideanModulo:function(t,e){return(t%e+e)%e},mapLinear:function(t,e,n,i,r){return i+(t-e)*(r-i)/(n-e)},lerp:function(t,e,n){return(1-n)*t+n*e},smoothstep:function(t,e,n){return t<=e?0:n<=t?1:(t=(t-e)/(n-e),t*t*(3-2*t))},smootherstep:function(t,e,n){return t<=e?0:n<=t?1:(t=(t-e)/(n-e),t*t*t*(t*(6*t-15)+10))},randInt:function(t,e){return t+Math.floor(Math.random()*(e-t+1))},randFloat:function(t,e){return t+Math.random()*(e-t)},randFloatSpread:function(t){return t*(.5-Math.random())},degToRad:function(t){return t*r.DEG2RAD},radToDeg:function(t){return t*r.RAD2DEG},isPowerOfTwo:function(t){return 0==(t&t-1)&&0!==t},ceilPowerOfTwo:function(t){return Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))},floorPowerOfTwo:function(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))}};e._Math=r},function(t,e,n){t.exports=!n(13)&&!n(22)(function(){return 7!=Object.defineProperty(n(96)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(29),r=n(11).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,n){t.exports=n(147)},function(t,e,n){var i=n(64);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var a=n(23),s=n(30),u=n(152)(!1),l=n(66)("IE_PROTO");t.exports=function(t,e){var n,i=s(t),r=0,o=[];for(n in i)n!=l&&a(i,n)&&o.push(n);for(;e.length>r;)a(i,n=e[r++])&&(~u(o,n)||o.push(n));return o}},function(t,e,n){var i=n(64);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){var i=n(65),r=Math.min;t.exports=function(t){return 0r;)a(i,n=e[r++])&&(~u(o,n)||o.push(n));return o}},function(t,e,n){var u=n(57),l=n(21),f=n(58);t.exports=function(s){return function(t,e,n){var i,r=u(t),o=l(r.length),a=f(n,o);if(s&&e!=e){for(;a>2&3}},{key:"tempType",set:function(t){this._type|=t<<4},get:function(){return this._type>>4&3}},{key:"through",set:function(t){t?this._type|=16:this._type&=-17},get:function(){return 16&this._type?1:0}}]),t}()),f=l;e.default=f},function(t,e,n){"use strict";var i=n(1),r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(2)),a=i(n(3)),s=i(n(14)),u=i(n(135)),l=function(){function r(t,e,n,i){(0,o.default)(this,r),this.Id=t,this.groupId=e,this._type=n,this.points=i,this.pointCount=i&&i.length?i.length:0,this._level=-1,this.inId=0,this._parent=null,this._child=null,this._brothers=[],this._linkAccessNodes=[],this._area=null,this.bb=new u.default,this.refreshBB()}return(0,a.default)(r,[{key:"contain",value:function(t){return s.default.pointInPolygon2d1(this.points,t,this.points.length-1)}},{key:"calcCrossPoint",value:function(t,e){for(var n={},i=0;it.x&&(this.minX=t.x),this.maxXt.y&&(this.minY=t.y),this.maxYt.maxX||this.minY>t.maxY||this.maxXthis._maxRoadId&&(this._maxRoadId=this.roadVector[t].Id),t++);for(var e=0;ethis._maxNodeId&&(this._maxNodeId=this.nodeVector[e].Id),e++)}},{key:"consoleAdjList",value:function(t){if(t){var e=this.adjList,n=(this.nodeVector,this),i=(naviMap.size(),"********* ADJLIST ************\n");for(var r in e.keys)for(var o=e.keys[r],a=o,s=e.get(o),u=0;ug+h._dist?(I._dist=g+h._dist,I._vPre=[],I._vPre.push(f),s.push(t.nodeVector[y]),s.sort(u)):Math.abs(I._dist-(g+h._dist))<1e-12&&-1!=I._vPre.indexOf(f)&&I._vPre.push(f))}}}}}}return!(at);n++);}}]),t}(),l=u;e.default=l},function(t,e,n){"use strict";var i=n(1),r=n(0);r(e,"__esModule",{value:!0}),e.Vector3=d,n(80);var o,a,s,u,l=i(n(16)),f=n(94),h=n(140);function d(t,e,n){this.x=t||0,this.y=e||0,this.z=n||0}(0,l.default)(d.prototype,{isVector3:!0,set:function(t,e,n){return this.x=t,this.y=e,this.z=n,this},setScalar:function(t){return this.x=t,this.y=t,this.z=t,this},setX:function(t){return this.x=t,this},setY:function(t){return this.y=t,this},setZ:function(t){return this.z=t,this},setComponent:function(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t)}return this},getComponent:function(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}},clone:function(){return new this.constructor(this.x,this.y,this.z)},copy:function(t){return this.x=t.x,this.y=t.y,this.z=t.z,this},add:function(t,e){return void 0!==e?(console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(t,e)):(this.x+=t.x,this.y+=t.y,this.z+=t.z,this)},addScalar:function(t){return this.x+=t,this.y+=t,this.z+=t,this},addVectors:function(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this},addScaledVector:function(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this},sub:function(t,e){return void 0!==e?(console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(t,e)):(this.x-=t.x,this.y-=t.y,this.z-=t.z,this)},subScalar:function(t){return this.x-=t,this.y-=t,this.z-=t,this},subVectors:function(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this},multiply:function(t,e){return void 0!==e?(console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(t,e)):(this.x*=t.x,this.y*=t.y,this.z*=t.z,this)},multiplyScalar:function(t){return this.x*=t,this.y*=t,this.z*=t,this},multiplyVectors:function(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this},applyEuler:(u=new h.Quaternion,function(t){return t&&t.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order."),this.applyQuaternion(u.setFromEuler(t))}),applyAxisAngle:(s=new h.Quaternion,function(t,e){return this.applyQuaternion(s.setFromAxisAngle(t,e))}),applyMatrix3:function(t){var e=this.x,n=this.y,i=this.z,r=t.elements;return this.x=r[0]*e+r[3]*n+r[6]*i,this.y=r[1]*e+r[4]*n+r[7]*i,this.z=r[2]*e+r[5]*n+r[8]*i,this},applyMatrix4:function(t){var e=this.x,n=this.y,i=this.z,r=t.elements,o=1/(r[3]*e+r[7]*n+r[11]*i+r[15]);return this.x=(r[0]*e+r[4]*n+r[8]*i+r[12])*o,this.y=(r[1]*e+r[5]*n+r[9]*i+r[13])*o,this.z=(r[2]*e+r[6]*n+r[10]*i+r[14])*o,this},applyQuaternion:function(t){var e=this.x,n=this.y,i=this.z,r=t.x,o=t.y,a=t.z,s=t.w,u=s*e+o*i-a*n,l=s*n+a*e-r*i,f=s*i+r*n-o*e,h=-r*e-o*n-a*i;return this.x=u*s+h*-r+l*-a-f*-o,this.y=l*s+h*-o+f*-r-u*-a,this.z=f*s+h*-a+u*-o-l*-r,this},project:function(t){return this.applyMatrix4(t.matrixWorldInverse).applyMatrix4(t.projectionMatrix)},unproject:function(t){return this.applyMatrix4(t.projectionMatrixInverse).applyMatrix4(t.matrixWorld)},transformDirection:function(t){var e=this.x,n=this.y,i=this.z,r=t.elements;return this.x=r[0]*e+r[4]*n+r[8]*i,this.y=r[1]*e+r[5]*n+r[9]*i,this.z=r[2]*e+r[6]*n+r[10]*i,this.normalize()},divide:function(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this},divideScalar:function(t){return this.multiplyScalar(1/t)},min:function(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this},max:function(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this},clamp:function(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this},clampScalar:function(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this},clampLength:function(t,e){var n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))},floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this},ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this},round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this},roundToZero:function(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this},negate:function(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this},dot:function(t){return this.x*t.x+this.y*t.y+this.z*t.z},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(t){return this.normalize().multiplyScalar(t)},lerp:function(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this},lerpVectors:function(t,e,n){return this.subVectors(e,t).multiplyScalar(n).add(t)},cross:function(t,e){return void 0!==e?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(t,e)):this.crossVectors(this,t)},crossVectors:function(t,e){var n=t.x,i=t.y,r=t.z,o=e.x,a=e.y,s=e.z;return this.x=i*s-r*a,this.y=r*o-n*s,this.z=n*a-i*o,this},projectOnVector:function(t){var e=t.dot(this)/t.lengthSq();return this.copy(t).multiplyScalar(e)},projectOnPlane:(a=new d,function(t){return a.copy(this).projectOnVector(t),this.sub(a)}),reflect:(o=new d,function(t){return this.sub(o.copy(t).multiplyScalar(2*this.dot(t)))}),angleTo:function(t){var e=this.dot(t)/Math.sqrt(this.lengthSq()*t.lengthSq());return Math.acos(f._Math.clamp(e,-1,1))},distanceTo:function(t){return Math.sqrt(this.distanceToSquared(t))},distanceToSquared:function(t){var e=this.x-t.x,n=this.y-t.y,i=this.z-t.z;return e*e+n*n+i*i},manhattanDistanceTo:function(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)},setFromSpherical:function(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)},setFromSphericalCoords:function(t,e,n){var i=Math.sin(e)*t;return this.x=i*Math.sin(n),this.y=Math.cos(e)*t,this.z=i*Math.cos(n),this},setFromCylindrical:function(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)},setFromCylindricalCoords:function(t,e,n){return this.x=t*Math.sin(e),this.y=n,this.z=t*Math.cos(e),this},setFromMatrixPosition:function(t){var e=t.elements;return this.x=e[12],this.y=e[13],this.z=e[14],this},setFromMatrixScale:function(t){var e=this.setFromMatrixColumn(t,0).length(),n=this.setFromMatrixColumn(t,1).length(),i=this.setFromMatrixColumn(t,2).length();return this.x=e,this.y=n,this.z=i,this},setFromMatrixColumn:function(t,e){return this.fromArray(t.elements,4*e)},equals:function(t){return t.x===this.x&&t.y===this.y&&t.z===this.z},fromArray:function(t,e){return void 0===e&&(e=0),this.x=t[e],this.y=t[e+1],this.z=t[e+2],this},toArray:function(t,e){return void 0===t&&(t=[]),void 0===e&&(e=0),t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t},fromBufferAttribute:function(t,e,n){return void 0!==n&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute()."),this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}})},function(t,e,n){"use strict";var i=n(1),r=n(0);r(e,"__esModule",{value:!0}),e.Quaternion=u;var o=i(n(251)),N=i(n(254)),a=i(n(16)),s=n(94);function u(t,e,n,i){this._x=t||0,this._y=e||0,this._z=n||0,this._w=void 0!==i?i:1}(0,a.default)(u,{slerp:function(t,e,n,i){return n.copy(t).slerp(e,i)},slerpFlat:function(t,e,n,i,r,o,a){var s=n[i+0],u=n[i+1],l=n[i+2],f=n[i+3],h=r[o+0],d=r[o+1],c=r[o+2],p=r[o+3];if(f!==p||s!==h||u!==d||l!==c){var v=1-a,_=s*h+u*d+l*c+f*p,y=0<=_?1:-1,g=1-_*_;if(g>N.default){var I=Math.sqrt(g),x=Math.atan2(I,_*y);v=Math.sin(v*x)/I,a=Math.sin(a*x)/I}var T=a*y;if(s=s*v+h*T,u=u*v+d*T,l=l*v+c*T,f=f*v+p*T,v===1-a){var m=1/Math.sqrt(s*s+u*u+l*l+f*f);s*=m,u*=m,l*=m,f*=m}}t[e]=s,t[e+1]=u,t[e+2]=l,t[e+3]=f}}),(0,o.default)(u.prototype,{x:{get:function(){return this._x},set:function(t){this._x=t,this._onChangeCallback()}},y:{get:function(){return this._y},set:function(t){this._y=t,this._onChangeCallback()}},z:{get:function(){return this._z},set:function(t){this._z=t,this._onChangeCallback()}},w:{get:function(){return this._w},set:function(t){this._w=t,this._onChangeCallback()}}}),(0,a.default)(u.prototype,{isQuaternion:!0,set:function(t,e,n,i){return this._x=t,this._y=e,this._z=n,this._w=i,this._onChangeCallback(),this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._w)},copy:function(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this},setFromEuler:function(t,e){if(!t||!t.isEuler)throw new Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");var n=t._x,i=t._y,r=t._z,o=t.order,a=Math.cos,s=Math.sin,u=a(n/2),l=a(i/2),f=a(r/2),h=s(n/2),d=s(i/2),c=s(r/2);return"XYZ"===o?(this._x=h*l*f+u*d*c,this._y=u*d*f-h*l*c,this._z=u*l*c+h*d*f,this._w=u*l*f-h*d*c):"YXZ"===o?(this._x=h*l*f+u*d*c,this._y=u*d*f-h*l*c,this._z=u*l*c-h*d*f,this._w=u*l*f+h*d*c):"ZXY"===o?(this._x=h*l*f-u*d*c,this._y=u*d*f+h*l*c,this._z=u*l*c+h*d*f,this._w=u*l*f-h*d*c):"ZYX"===o?(this._x=h*l*f-u*d*c,this._y=u*d*f+h*l*c,this._z=u*l*c-h*d*f,this._w=u*l*f+h*d*c):"YZX"===o?(this._x=h*l*f+u*d*c,this._y=u*d*f+h*l*c,this._z=u*l*c-h*d*f,this._w=u*l*f-h*d*c):"XZY"===o&&(this._x=h*l*f-u*d*c,this._y=u*d*f-h*l*c,this._z=u*l*c+h*d*f,this._w=u*l*f+h*d*c),!1!==e&&this._onChangeCallback(),this},setFromAxisAngle:function(t,e){var n=e/2,i=Math.sin(n);return this._x=t.x*i,this._y=t.y*i,this._z=t.z*i,this._w=Math.cos(n),this._onChangeCallback(),this},setFromRotationMatrix:function(t){var e,n=t.elements,i=n[0],r=n[4],o=n[8],a=n[1],s=n[5],u=n[9],l=n[2],f=n[6],h=n[10],d=i+s+h;return 0Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0):(this._x=0,this._y=-t.z,this._z=t.y)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x),this._w=i,this.normalize()},angleTo:function(t){return 2*Math.acos(Math.abs(s._Math.clamp(this.dot(t),-1,1)))},rotateTowards:function(t,e){var n=this.angleTo(t);if(0===n)return this;var i=Math.min(1,e/n);return this.slerp(t,i),this},inverse:function(){return this.conjugate()},conjugate:function(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this},dot:function(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w},lengthSq:function(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w},length:function(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)},normalize:function(){var t=this.length();return 0===t?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this},multiply:function(t,e){return void 0!==e?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(t,e)):this.multiplyQuaternions(this,t)},premultiply:function(t){return this.multiplyQuaternions(t,this)},multiplyQuaternions:function(t,e){var n=t._x,i=t._y,r=t._z,o=t._w,a=e._x,s=e._y,u=e._z,l=e._w;return this._x=n*l+o*a+i*u-r*s,this._y=i*l+o*s+r*a-n*u,this._z=r*l+o*u+n*s-i*a,this._w=o*l-n*a-i*s-r*u,this._onChangeCallback(),this},slerp:function(t,e){if(0===e)return this;if(1===e)return this.copy(t);var n=this._x,i=this._y,r=this._z,o=this._w,a=o*t._w+n*t._x+i*t._y+r*t._z;if(a<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,a=-a):this.copy(t),1<=a)return this._w=o,this._x=n,this._y=i,this._z=r,this;var s=1-a*a;if(s<=N.default){var u=1-e;return this._w=u*o+e*this._w,this._x=u*n+e*this._x,this._y=u*i+e*this._y,this._z=u*r+e*this._z,this.normalize(),this._onChangeCallback(),this}var l=Math.sqrt(s),f=Math.atan2(l,a),h=Math.sin((1-e)*f)/l,d=Math.sin(e*f)/l;return this._w=o*h+this._w*d,this._x=n*h+this._x*d,this._y=i*h+this._y*d,this._z=r*h+this._z*d,this._onChangeCallback(),this},equals:function(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w},fromArray:function(t,e){return void 0===e&&(e=0),this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this},toArray:function(t,e){return void 0===t&&(t=[]),void 0===e&&(e=0),t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t},_onChange:function(t){return this._onChangeCallback=t,this},_onChangeCallback:function(){}})},function(t,e,n){"use strict";var i=n(1),r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(145)),a=i(n(146)),s=i(n(45)),u=i(n(60)),l=n(139),f=n(94),h=n(257),d=n(140),c=window.fengmap||{},p={VERSION:o.default.VERSION,BUILD:o.default.BUILD,FMNaviAnalyser:a.default,FMNaviMode:s.default,FMNaviPriority:u.default};for(var v in p)p.hasOwnProperty(v)&&(c[v]=p[v]);window.fengmap=c,window.Geo=window.Geo||{Vector3:l.Vector3,_Math:f._Math,Matrix4:h.Matrix4,Quaternion:d.Quaternion};var _=c;e.default=_},function(t,e,n){n(143);var i=n(4).Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},function(t,e,n){var i=n(6);i(i.S+i.F*!n(13),"Object",{defineProperty:n(15).f})},function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var i=n(0);i(e,"__esModule",{value:!0}),e.default=void 0;var r={VERSION:"2.5.0",BUILD:1},o=r;e.default=o},function(t,e,n){"use strict";var i=n(1),r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(97)),l=i(n(16)),a=i(n(31)),s=i(n(2)),u=i(n(3)),f=i(n(14)),h=n(183),d=i(n(184)),c=i(n(45)),p=i(n(60)),v=i(n(86)),_=i(n(61)),y=i(n(206));n(138);var g=function(){function e(t){(0,s.default)(this,e),this._options={},this._navi=null,this._naviResults=[],"function"==typeof h.FMMap&&t instanceof h.FMMap&&(this._map=null,this.init(t))}return(0,u.default)(e,[{key:"analyzeNavi",value:function(t,e,n,i,r,o){var a=function(t,e,n,i,r,o){var a=this._navi.route(t,e,n,i,r||c.default.MODULE_SHORTEST,o||p.default.PRIORITY_DEFAULT);return a==_.default.ROUTE_SUCCESS?this._naviResults=this._navi.getRouteResult():this._naviResults=[],a};return a.call(this,t,e,n,i,r,o)}},{key:"init",value:function(t){this._map=t,this._navi=new y.default({}),this._navi.initByMap(t)}},{key:"initByScene",value:function(t){this._navi=new y.default({}),this._navi.initByScene(t)}},{key:"dispose",value:function(){this._map=null;for(var t=0;t=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t){t.exports=function(){}},function(t){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var i=n(106),r=n(9)("iterator"),o=n(32);t.exports=n(4).isIterable=function(t){var e=Object(t);return void 0!==e[r]||"@@iterator"in e||o.hasOwnProperty(i(e))}},function(t){function e(){throw new TypeError("Invalid attempt to spread non-iterable instance")}t.exports=e},function(t,e,n){t.exports=n(73)("native-function-to-string",Function.toString)},function(t,e,n){"use strict";var i=n(8);t.exports=function(t,e){return!!t&&i(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var o=n(19),a=n(177).set;t.exports=function(t,e,n){var i,r=e.constructor;return r!==n&&"function"==typeof r&&(i=r.prototype)!==n.prototype&&o(i)&&a&&a(t,i),t}},function(t,e,r){var n=r(19),i=r(18),o=function(t,e){if(i(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,i){try{i=r(56)(Function.call,r(75).f(Object.prototype,"__proto__").set,2),i(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:i(t,e),t}}({},!1):void 0),check:o}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var a=n(25),i=n(34),s=n(8),u=n(180),r="["+u+"]",l="​…",o=RegExp("^"+r+r+"*"),f=RegExp(r+r+"*$"),h=function(t,e,n){var i={},r=s(function(){return!!u[t]()||l[t]()!=l}),o=i[t]=r?e(d):u[t];n&&(i[n]=o),a(a.P+a.F*r,"String",i)},d=h.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(o,"")),2&e&&(t=t.replace(f,"")),t};t.exports=h},function(t){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var a=n(17),s=n(18),u=n(113);t.exports=n(10)?Object.defineProperties:function(t,e){s(t);for(var n,i=u(e),r=i.length,o=0;oi&&(this._minRadius=i)}}}},{key:"points",get:function(){return this._points},set:function(t){this._points=t}},{key:"groupId",get:function(){return this._groupId},set:function(t){this._groupId=t}},{key:"allLength",get:function(){return this.getIndexDis(this._lineDis.length)}},{key:"linePoints",get:function(){return this._linePoints}},{key:"uvys",get:function(){return this._uvys}}]),e}(),h=s;e.default=h},function(t,e,n){"use strict";var i=n(1),r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0,n(80),n(187),n(200);var o=i(n(2)),a=i(n(3)),s=(i(n(201)),function(){function t(){(0,o.default)(this,t)}return(0,a.default)(t,[{key:"createGeometry",value:function(t,e,n,i){for(var r=new Float32Array((e+1)*n*3),o=new Float32Array((e+1)*n*2),a=new Uint16Array(e*n*2*3),s=0;s"+r+""};t.exports=function(e,t){var n={};n[e]=t(o),i(i.P+i.F*r(function(){var t=""[e]('"');return t!==t.toLowerCase()||3>1,f=23===e?k(2,-24)-k(2,-77):0,h=0,d=t<0||0===t&&1/t<0?1:0;for(t=S(t),t!=t||t===L?(r=t!=t?1:0,i=u):(i=A(P(t)/b),t*(o=k(2,-i))<1&&(i--,o*=2),t+=1<=i+l?f/o:f*k(2,1-l),2<=t*o&&(i++,o/=2),u<=i+l?(r=0,i=u):1<=i+l?(r=(t*o-1)*k(2,e),i+=l):(r=t*k(2,l-1)*k(2,e),i=0));8<=e;a[h++]=255&r,r/=256,e-=8);for(i=i<>1,s=r-7,u=n-1,l=t[u--],f=127&l;for(l>>=7;0>=-s,s+=e;0>8&255]}function Z(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return j(t,52,8)}function q(t){return j(t,23,4)}function X(t,e,n){v(t[x],e,{get:function(){return this[n]}})}function W(t,e,n,i){var r=+n,o=c(r);if(o+e>t[D])throw M(m);var a=t[z]._b,s=o+t[V],u=a.slice(s,s+e);return i?u:u.reverse()}function Q(t,e,n,i,r,o){var a=+n,s=c(a);if(s+e>t[D])throw M(m);for(var u=t[z]._b,l=s+t[V],f=i(+r),h=0;htt;)(K=$[tt++])in N||s(N,K,O[K]);o||(J.constructor=N)}var et=new R(new N(2)),nt=R[x].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||u(R[x],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else N=function(t){f(this,N,g);var e=c(t);this._b=_.call(new Array(e),0),this[D]=e},R=function(t,e,n){f(this,R,I),f(t,N,I);var i=t[D],r=h(e);if(r<0||i>24},getUint8:function(t){return W(this,1,t)[0]},getInt16:function(t,e){var n=W(this,2,t,e);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t,e){var n=W(this,2,t,e);return n[1]<<8|n[0]},getInt32:function(t,e){return U(W(this,4,t,e))},getUint32:function(t,e){return U(W(this,4,t,e))>>>0},getFloat32:function(t,e){return G(W(this,4,t,e),23,4)},getFloat64:function(t,e){return G(W(this,8,t,e),52,8)},setInt8:function(t,e){Q(this,1,t,Y,e)},setUint8:function(t,e){Q(this,1,t,Y,e)},setInt16:function(t,e,n){Q(this,2,t,B,e,n)},setUint16:function(t,e,n){Q(this,2,t,B,e,n)},setInt32:function(t,e,n){Q(this,4,t,Z,e,n)},setUint32:function(t,e,n){Q(this,4,t,Z,e,n)},setFloat32:function(t,e,n){Q(this,4,t,q,e,n)},setFloat64:function(t,e,n){Q(this,8,t,H,e,n)}});y(N,g),y(R,I),s(R[x],a.VIEW,!0),e[g]=N,e[I]=R},function(t,e,n){var i=n(37),r=n(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},function(t,e,n){var i=n(59),r=n(5)("iterator"),o=n(37);t.exports=n(52).getIteratorMethod=function(t){if(null!=t)return t[r]||t["@@iterator"]||o[i(t)]}},function(t,e,n){var i=n(192);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){var i=n(19),r=n(193),o=n(5)("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},function(t,e,n){var i=n(42);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var I=n(55),x=n(25),T=n(20),m=n(12),N=n(37),R=n(196),E=n(82),M=n(119),L=n(5)("iterator"),O=!([].keys&&"next"in[].keys()),S="@@iterator",k="keys",A="values",P=function(){return this};t.exports=function(t,e,n,i,r,o,a){R(n,e,i);var s,u,l,f=function(t){if(!O&&t in p)return p[t];switch(t){case k:case A:return function(){return new n(this,t)}}return function(){return new n(this,t)}},h=e+" Iterator",d=r==A,c=!1,p=t.prototype,v=p[L]||p[S]||r&&p[r],_=v||f(r),y=r?d?f("entries"):_:void 0,g="Array"==e&&p.entries||v;if(g&&(l=M(g.call(new t)),l!==Object.prototype&&l.next&&(E(l,h,!0),I||"function"==typeof l[L]||m(l,L,P))),d&&v&&v.name!==A&&(c=!0,_=function(){return v.call(this)}),I&&!a||!O&&!c&&p[L]||m(p,L,_),N[e]=_,N[h]=P,r)if(s={values:d?_:f(A),keys:o?_:f(k),entries:y},a)for(u in s)u in p||T(p,u,s[u]);else x(x.P+x.F*(O||c),e,s);return s}},function(t,e,n){"use strict";var i=n(79),r=n(54),o=n(82),a={};n(12)(a,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var o=n(5)("iterator"),a=!1;try{var i=[7][o]();i.return=function(){a=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!a)return!1;var n=!1;try{var i=[7],r=i[o]();r.next=function(){return{done:n=!0}},i[o]=function(){return r},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var i=n(7),r=n(17),o=n(10),a=n(5)("species");t.exports=function(t){var e=i[t];o&&e&&!e[a]&&r.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var f=n(33),h=n(58),d=n(21);t.exports=[].copyWithin||function(t,e,n){var i=f(this),r=d(i.length),o=h(t,r),a=h(e,r),s=2>=1;return n},g=function(t,e,n){var i;for(i=0;i<4;i++)t[0+i]^=e[16*n+4*i],t[4+i]^=e[16*n+4*i+1],t[8+i]^=e[16*n+4*i+2],t[12+i]^=e[16*n+4*i+3]},I=function(t){var e,n,i,r;for(e=1;e<4;e++)for(i=0;i>4,r=15&t[4*e+n],t[4*e+n]=a[16*i+r]},T=function(t){var e;for(e=0;e<4;e++)t[e]=o[16*((240&t[e])>>4)+(15&t[e])]},m=function(t){return(0,s.default)(t,16)},{decryption:function(t,e){var n,i=Array(16);for(n=0;n<16;n++)i[n]=16*m(e.substr(2*n,1))+m(e.substr(2*n+1,1));var r=Array(16);for(n=0;n<16;n++)r[n]=16*m(t.substr(2*n,1))+m(t.substr(2*n+1,1));var o=Array(16);switch(n=[],i.length){default:case 16:p=4,v=10;break;case 24:p=6,v=12;break;case 32:p=8,v=14}var a,s=n=Array(16*(v+1)),u=Array(4),l=4*(v+1);for(a=0;a>>0||(a.test(n)?16:10))}:i},function(t,e,n){"use strict";var i=n(1),r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0,n(87);var a=i(n(84));n(80);var l=i(n(16));n(35);var N=i(n(31));n(24);var o=i(n(2)),s=i(n(3)),y=i(n(14)),u=i(n(45)),R=i(n(60)),M=i(n(61)),h=i(n(86)),f=i(n(207)),d=i(n(208)),_=i(n(90)),E=i(n(38)),c=i(n(46)),p=i(n(221)),v=i(n(133)),g=i(n(134)),I=i(n(246)),x=i(n(136)),T=i(n(247)),m=i(n(137)),L=i(n(248)),O=i(n(138)),S=function(){function e(t){(0,o.default)(this,e),this._options=new f.default(t),this._naviService=new d.default(this._options),this._startPoint=null,this._startGroupId=null,this._endPoint=null,this._endGroupId=null,this._startZone=null,this._mode=u.default.MODULE_SHORTEST,this._priority=R.default.PRIORITY_DEFAULT,this._graphs=new _.default,this._outlineAnalyseDijkstra=null,this._multiFloorDijkstraMap=new _.default,this._groupLiftNodes=new _.default,this._extentNodes=[],this._extentRoads=[],this._predictExtentNodes=[],this._predictLiftNodes=[],this._result=[],this._weightBias=1,this._liftLessWeightGain=.1,this._liftWeightGain=1,this._liftGreaterWightGain=10,this._escalatorGreaterWightGain=10,this._escalatorWeightGain=1,this._escalatorLessWightGain=.1,this._stairGreaterWeightGain=10,this._stairWeightGain=1,this._stairLessWeightGain=.1,this._scene=null}return(0,s.default)(e,[{key:"initByMap",value:function(t){if(t&&t._currentSceneId&&t.dataManager){var e=t.dataManager._sceneDecodeData[t._currentSceneId];if(e){this._naviService.setScene(e),this._scene=e;var n=e.floors;0!=n.length&&(this._initNaviGraphs(n),this._processLiftFloors(),this._initDijkstras())}}}},{key:"initByScene",value:function(t){if(t){this._scene=t;var e=t.floors;0!=e.length&&(this._initNaviGraphs(e),this._processLiftFloors(),this._initDijkstras())}}},{key:"initByNaviGraphs",value:function(t){t&&(this._initNaviGraphs(t),this._processLiftFloors(),this._initDijkstras())}},{key:"dispose",value:function(){this._options=null,this._naviService=null,this._graphs.each(function(t,e){e.dispose()}),this._graphs.clear(),this._graphs=null,this._outlineAnalyseDijkstra.dispose(),this._outlineAnalyseDijkstra=null,this._multiFloorDijkstraMap.each(function(t,e){e.dispose()}),this._multiFloorDijkstraMap.clear(),this._multiFloorDijkstraMap=null,this._groupLiftNodes.clear(),this._groupLiftNodes=null,this._extentNodes=null,this._extentRoads=null,this._predictExtentNodes=null,this._predictLiftNodes=null,this._result=null}},{key:"calc_outlines_dist",value:function(t){for(var e=0,n=0;n")}),g=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(n,t,e){var i=p(n),o=!d(function(){var t={};return t[i]=function(){return 7},7!=""[n](t)}),r=o?!d(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===n&&(e.constructor={},e.constructor[_]=function(){return e}),e[i](""),!t}):void 0;if(!o||!r||"replace"===n&&!y||"split"===n&&!g){var a=/./[i],s=e(c,i,""[n],function(t,e,n,i,r){return e.exec===v?o&&!r?{done:!0,value:a.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}),u=s[0],l=s[1];f(String.prototype,n,u),h(RegExp.prototype,i,2==t?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}}},function(t,e,n){"use strict";var i=n(89);n(25)({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},function(t,e,n){"use strict";var i=n(1),r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(2)),a=i(n(3)),s=function(){function t(){(0,o.default)(this,t),this.requestMethod="GET",this._requestHeader={},this.sendData=null}return(0,a.default)(t,[{key:"getFile",value:function(t,e,n,i,r){void 0!==this._path&&(t=this._path+t);var o=new XMLHttpRequest;for(var a in o.open(this.requestMethod,t,!0),o.addEventListener("load",function(){var t=this.response;200===this.status||0===this.status||201===this.status?(0===this.status&&console.warn("FMMap FileLoader: HTTP Status 0 received."),e(t)):n(t)},!1),o.addEventListener("progress",function(){i&&i()},!1),o.addEventListener("error",function(){n()},!1),o.addEventListener("abort",function(){r&&r()},!1),void 0!==this._responseType&&(o.responseType=this._responseType),void 0!==this._withCredentials&&(o.withCredentials=this._withCredentials),o.overrideMimeType&&o.overrideMimeType(void 0!==this._mimeType?this._mimeType:"text/plain"),this._requestHeader)o.setRequestHeader(a,this._requestHeader[a]);o.send(this.sendData)}},{key:"setPath",value:function(t){return this._path=t,this}},{key:"setResponseType",value:function(t){return this._responseType=t,this}},{key:"setWithCredentials",value:function(t){return this._withCredentials=t,this}},{key:"setMimeType",value:function(t){return this._mimeType=t,this}},{key:"setRequestHeader",value:function(t){return t&&(this._requestHeader=t),this}}]),t}(),u=s;e.default=u},function(e,n,i){"use strict";var r=i(1),o=i(0);o(n,"__esModule",{value:!0}),n.default=void 0;var s=r(i(125));i(88);var a=r(i(2)),u=r(i(3)),l=l||{};l.GLEN1="MULTIPOLYGON(((".length,l.GLEN2="POINT(".length,l.GLEN3="MULTILINESTRING((".length;var f=function(){function e(){(0,a.default)(this,e),this._points,this._holes}return(0,u.default)(e,[{key:"parse",value:function(t){if(this._points=[],this._holes=[],0==t.indexOf("MULTIPOLYGON((("))for(var e=t.substring(l.GLEN1,t.length-3).split(/\),\(/),n=0;nr;)a(G,e=n[r++])||e==z||e==u||i.push(e);return i},nt=function(t){for(var e,n=t===Y,i=P(n?U:T(t)),r=[],o=0;i.length>o;)!a(G,e=i[o++])||n&&!a(Y,e)||r.push(G[e]);return r};B||(b=function(t){if(this instanceof b)throw TypeError("Symbol is not a constructor!");var e=d(0rt;)c(it[rt++]);for(var ot=S(c.store),at=0;ot.length>at;)v(ot[at++]);o(o.S+o.F*!B,"Symbol",{for:function(t){return a(j,t+="")?j[t]:j[t]=b(t)},keyFor:function(t){if(!W(t))throw TypeError(t+" is not a symbol!");for(var e in j)if(j[e]===t)return e},useSetter:function(){H=!0},useSimple:function(){H=!1}}),o(o.S+o.F*!B,"Object",{create:J,defineProperty:Q,defineProperties:K,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var st=l(function(){L.f(1)});o(o.S+o.F*st,"Object",{getOwnPropertySymbols:function(t){return L.f(x(t))}}),w&&o(o.S+o.F*(!B||l(function(){var t=b();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){for(var e,n,i=[t],r=1;ra;)o.call(t,i=r[a++])&&e.push(i);return e}},function(t,e,n){var i=n(30),r=n(128).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return r(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):r(i(t))}},function(){},function(t,e,n){n(93)("asyncIterator")},function(t,e,n){n(93)("observable")},function(t){function e(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}t.exports=e},function(t,e,n){t.exports=n(236)},function(t,e,n){n(237),t.exports=n(4).Object.getPrototypeOf},function(t,e,n){var i=n(40),r=n(105);n(238)("getPrototypeOf",function(){return function(t){return r(i(t))}})},function(t,e,n){var r=n(6),o=n(4),a=n(22);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],i={};i[t]=e(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},function(t,e,n){n(240),t.exports=n(4).Object.setPrototypeOf},function(t,e,n){var i=n(6);i(i.S,"Object",{setPrototypeOf:n(241).set})},function(t,e,r){var n=r(29),i=r(28),o=function(t,e){if(i(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,i){try{i=r(62)(Function.call,r(129).f(Object.prototype,"__proto__").set,2),i(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:i(t,e),t}}({},!1):void 0),check:o}},function(t,e,n){t.exports=n(243)},function(t,e,n){n(244);var i=n(4).Object;t.exports=function(t,e){return i.create(t,e)}},function(t,e,n){var i=n(6);i(i.S,"Object",{create:n(71)})},function(n,t,e){var i=e(131);function r(t,e){return n.exports=r=i||function(t,e){return t.__proto__=e,t},r(t,e)}n.exports=r},function(t,e,n){"use strict";var i=n(1),r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0;var s=i(n(2)),o=i(n(3)),u=i(n(135)),l=i(n(14)),f=i(n(134)),a=function(){function a(t,e,n,i,r,o){(0,s.default)(this,a),this.Id=t,this.fid="",this.points=i,this.pointCount=i&&i.length?i.length:0,this.center=r,this.holes=o,this._type=n,this.groupID=e,this.doors=[],this.doorTypes=[],this.doorEntrys=[],this.parent=null,this.child=null,this.brothers=[],this.level=0,this.inId=0,this._area=null,this.isExtent=!1,this.bb=new u.default,this.refreshBB()}return(0,o.default)(a,[{key:"contain",value:function(t){return l.default.pointInPolygon2d(this.points,t,this.points.length-1)}},{key:"refreshBB",value:function(){this.bb.init();for(var t=0;tF.default.epsilon())l.push.apply(l,(0,w.default)(i));else{u=!0;var r=a._insertTempNodeToRoad(a._startZoneId,i[0].cross,i[0].road);a._joinTwoNodes(a._startZoneId,a._startNode,r)}}),u||l.forEach(function(t){var e=a._insertTempNodeToRoad(a._startZoneId,t.cross,t.road);a._joinTwoNodes(a._startZoneId,a._startNode,e)}),s==e.size())return C.default.ROUTE_FAILED_NO_DATA_START}if(i){for(var n=null,r=!1,f=0;fF.default.epsilon())l.push.apply(l,(0,w.default)(i));else{u=!0;var r=a._insertTempNodeToRoad(a._endZoneId,i[0].cross,i[0].road);a._joinTwoNodes(a._endZoneId,a._endNode,r)}}),u||l.forEach(function(t){var e=a._insertTempNodeToRoad(a._endZoneId,t.cross,t.road);a._joinTwoNodes(a._endZoneId,a._endNode,e)}),s==e.size())return C.default.ROUTE_FAILED_NO_DATA_END}if(i){for(var n=null,r=!1,f=0;fn){var h=f.area;hF.default.distanceOfTwoPoints(y.cross,n.startPoint)?(o.push(y),o.push(_)):(o.push(_),o.push(y))),o;return o}},{key:"_calcExpectedAdherance",value:function(t,e,n,i,r,o){for(var a=r||30,s=0;s<360;s+=a){var u=new l.default;this._calcNearestAdherence(t,e,s,n,u,o),1==u.stickToRoad&&i.push(u)}i.sort(this._adherenceCompare)}},{key:"_seekNearRoads",value:function(t,e,n,i,r){var o=new f.default,a=[];for(this._calcExpectedAdherance(t,e,n,a,i,r);0!=a.length;){var s=a[0],u=o.get(s.road.Id);u?u.push(s):(u=[],u.push(s),o.put(s.road.Id,u)),a.splice(0,1)}return o}},{key:"_insertTmpIsolatedNode",value:function(t,e){var n=new Z.default;n.Id=this._newTmpId(),n.point=(0,Y.default)({},e);var i=this._zoneIdGraph.get(t);i.nodeVector.push(n);var r=this._zoneIdSimpleDijkstraMap.get(t);return r._naviGraph._nodeMap.put(n.Id,i.nodeVector.length-1),n}},{key:"_insertIsolatedNode",value:function(t,e,n){if(n)return this._insertTmpIsolatedNode(t,e);var i=new Z.default;i.Id=this._naviGraph.generateNodeId(),i.point=(0,Y.default)({},e);var r=this.zoneIdGraph.get(t),o=r.nodeVector,a=this._insertItemToVector(i,o);return r._nodeMap.put(i.Id,a),i}},{key:"_isTwoPointsConnectedDirectly",value:function(t,e,n,i){for(var r=this._zoneIdGraph.get(-1),o=null,a=0;aF.default.epsilon())return null}void 0===i&&(i=B.default.NaviRoadEntry_BOTH),void 0===r&&(r=!0),void 0===o&&(o=!0);var l=new H.default;l.startId=e.Id,l.startPoint=e.point,l.endId=n.Id,l.endPoint=n.point,l.pointVector=[e.point,n.point],this._tmp_adj_node_ids.push(e.Id),this._tmp_adj_node_ids.push(n.Id),l.Id=r?this._newTmpId():this._naviGraph.generateRoadId(),l.roadEntry=i,l.calcLength(),o&&this._attachedTempRoads.push(l);var f=this._zoneIdGraph.get(t);f.roadVector.push(l);var h=this._zoneIdSimpleDijkstraMap.get(t);if(B.default.NaviRoadEntry_BOTH==i){var d={nodeId:n.Id,length:l.length},c=h._naviGraph.adjList.get(e.Id);c?c.push(d):(c=[],c.push(d),h._naviGraph.adjList.put(e.Id,c)),d={nodeId:e.Id,length:l.length},c=h._naviGraph.adjList.get(n.Id),c?c.push(d):(c=[],c.push(d),h._naviGraph.adjList.put(n.Id,c))}if(B.default.NaviRoadEntry_FORWARD==i){var p={nodeId:n.Id,length:l.length},v=h._naviGraph.adjList.get(e.Id);v?v.push(p):(v=[],v.push(p),h._naviGraph.adjList(e.Id,v))}if(B.default.NaviRoadEntry_BACK==i){var _={nodeId:e.Id,length:l.length};v=h._naviGraph.adjList.get(n.Id),v?v.push(_):(v=[],v.push(_),h._naviGraph.adjList.put(n.Id,v))}return l}},{key:"_isPointInPNTModel",value:function(t){var e=this._calcZoneIdByCoord(t),n=this._zonePNTModelsMap.get(e);if(n)for(var i=0;i