varb=typeofa;returnnull!=a&&("object"==b||"function"==b)}functionTd(a){returnnull!=a&&"object"==typeofa}functionUd(a){returnWd(a)&&a!=+a}functionVd(a){returnnull===a}functionWd(a){return"number"==typeofa||Td(a)&&Qa(a)==xf}functionXd(a){if(!Td(a)||Qa(a)!=zf)return!1;varb=lh(a);if(null===b)return!0;varc=ah.call(b,"constructor")&&b.constructor;return"function"==typeofc&&cinstanceofc&&_g.call(c)==eh}functionYd(a){return"string"==typeofa||!si(a)&&Td(a)&&Qa(a)==Ef}functionZd(a){return"symbol"==typeofa||Td(a)&&Qa(a)==Ff}function$d(a){returna===Ie}function_d(a){if(!a)return[];if(Kd(a))returnYd(a)?L(a):Qb(a);if(qh&&a[qh])returnD(a[qh]());varb=bi(a),c=b==wf?E:b==Df?I:qe;returnc(a)}functionae(a){if(!a)return0===a?a:0;if(a=ce(a),a===hf||a===-hf){varb=a<0?-1:1;returnb*kf}returna===a?a:0}functionbe(a){varb=ae(a),c=b%1;returnb===b?c?b-c:b:0}functionce(a){if("number"==typeofa)returna;if(Zd(a))returnlf;if(Sd(a)){varb="function"==typeofa.valueOf?a.valueOf():a;a=Sd(b)?b+"":b}if("string"!=typeofa)return0===a?a:+a;a=a.replace(Zf,"");varc=eg.test(a);returnc||gg.test(a)?Hg(a.slice(2),c?2:8):dg.test(a)?lf:+a}functionde(a){returnRb(a,me(a))}functionee(a){returnnull==a?"":yb(a)}functionfe(a,b){varc=Th(a);returnnull==b?c:za(c,b)}functionge(a,b){returnm(a,fb(b,3),La)}functionhe(a,b){returnm(a,fb(b,3),Ma)}functionie(a,b,c){vard=null==a?Ie:Oa(a,b);returnd===Ie?c:d}functionje(a,b){returnnull!=a&&wc(a,b,Sa)}functionke(a,b){returnnull!=a&&wc(a,b,Ta)}functionle(a){returnKd(a)?ua(a):gb(a)}functionme(a){returnKd(a)?ua(a,!0):hb(a)}functionne(a,b){returnoe(a,Dd(fb(b)))}functionoe(a,b){if(null==a)return{};varc=h(nc(a),function(a){return[a]});returnb=fb(b),qb(a,c,function(a,c){returnb(a,c[0])})}functionpe(a,b,c){b=Eb(b,a);vard=-1,e=b.length;for(e||(e=1,a=Ie);++d<e;){varf=null==a?Ie:a[Uc(b[d])];f===Ie&&(d=e,f=c),a=Qd(f)?f.call(a):f}returna}functionqe(a){returnnull==a?[]:w(a,le(a))}functionre(a,b,c){returnc===Ie&&(c=b,b=Ie),c!==Ie&&(c=ce(c),c=c===c?c:0),b!==Ie&&(b=ce(b),b=b===b?b:0),Da(ce(a),b,c)}functionse(a,b,c){if(c&&"boolean"!=typeofc&&Dc(a,b,c)&&(b=c=Ie),c===Ie&&("boolean"==typeofb?(c=b,b=Ie):"boolean"==typeofa&&(c=a,a=Ie)),a===Ie&&b===Ie?(a=0,b=1):(a=ae(a),b===Ie?(b=a,a=0):b=ae(b)),a>b){vard=a;a=b,b=d}if(c||a%1||b%1){vare=Ch();returnAh(a+e*(b-a+Gg("1e-"+((e+"").length-1))),b)}returnsb(a,b)}functionte(a){returna=ee(a),a&&Uf.test(a)?a.replace(Tf,Wg):a}functionue(a,b,c){if(a=ee(a),a&&(c||b===Ie))returna.replace(Zf,"");if(!a||!(b=yb(b)))returna;vard=L(a),e=L(b),f=y(d,e),g=z(d,e)+1;returnFb(d,f,g).join("")}functionve(a){returnfunction(){returna}}functionwe(a){returna}functionxe(a){returnfb("function"==typeofa?a:Ea(a,Pe))}functionye(a){returnkb(Ea(a,Pe))}functionze(a,b,d){vare=le(b),f=Na(b,e);null!=d||Sd(b)&&(f.length||!e.length)||(d=b,b=a,a=this,f=Na(b,le(b)));varg=!(Sd(d)&&"chain"ind&&!d.chain),h=Qd(a);returnc(f,function(c){vard=b[c];a[c]=d,h&&(a.prototype[c]=function(){varb=this.__chain__;if(g||b){varc=a(this.__wrapped__),e=c.__actions__=Qb(this.__actions__);returne.push({func:d,args:arguments,thisArg:a}),c.__chain__=b,c}returnd.apply(a,i([this.value()],arguments))})}),a}functionAe(){returnKg._===this&&(Kg._=fh),this}functionBe(){}functionCe(a){returnEc(a)?q(Uc(a)):rb(a)}functionDe(){return[]}functionEe(){return!1}functionFe(a){varb=++bh;returnee(a)+b}functionGe(a){returna&&a.length?Ia(a,we,Ra):Ie}functionHe(a){returna&&a.length?Ia(a,we,ib):Ie}varIe,Je="4.17.5",Ke=200,Le="Expected a function",Me="__lodash_hash_undefined__",Ne=500,Oe="__lodash_placeholder__",Pe=1,Qe=2,Re=4,Se=1,Te=2,Ue=1,Ve=2,We=4,Xe=8,Ye=16,Ze=32,$e=64,_e=128,af=256,bf=512,cf=800,df=16,ef=1,ff=2,gf=3,hf=1/0,jf=9007199254740991,kf=1.7976931348623157e308,lf=NaN,mf=4294967295,nf=[["ary",_e],["bind",Ue],["bindKey",Ve],["curry",Xe],["curryRight",Ye],["flip",bf],["partial",Ze],["partialRight",$e],["rearg",af]],of="[object Arguments]",pf="[object Array]",qf="[object AsyncFunction]",rf="[object Boolean]",sf="[object Date]",tf="[object Error]",uf="[object Function]",vf=
d=!0);elseBI.each(a,function(c,e){BI.isEqual(b,a[c])&&(deletea[c],d=!0)});returnd},deepWithout:function(a,b){if(BI.isArray(a)){for(varc=[],d=0;d<a.length;d++)BI.isEqual(b,a[d])||c.push(a[d]);returnc}varc={};returnBI.each(a,function(d,e){BI.isEqual(b,a[d])||(c[d]=e)}),c},deepUnique:function(a){varb=[];returnBI.each(a,function(a,c){BI.deepContains(b,c)||b.push(c)}),b},deepDiff:function(a,b){a||(a={}),b||(b={});varc=[],d=[];for(vareina)this.has(a,e)&&(this.isEqual(a[e],b[e])||c.push(e),d.push(e));for(vareinb)this.has(b,e)&&!d.contains(e)&&c.push(e);returnc},deepExtend:function(){vara=[].slice.call(arguments);returna.unshift(!0),$.extend.apply($,a)}}),_.each(["uniqueId","result","chain","iteratee","escape","unescape"],function(a){BI[a]=function(){return_[a].apply(_,arguments)}}),_.each(["bind","once","partial","debounce","throttle","delay","defer","wrap"],function(a){BI[a]=function(){return_[a].apply(_,arguments)}}),_.extend(BI,{nextTick:function(){functiona(){d=!1;vara=c.slice(0);c=[];for(varb=0;b<a.length;b++)a[b]()}varb,c=[],d=!1;if("undefined"!=typeofPromise){vare=Promise.resolve();b=function(){e.then(a)}}elseif("undefined"!=typeofMutationObserver){varf=1,g=newMutationObserver(a),h=document.createTextNode(f+"");g.observe(h,{characterData:!0}),b=function(){f=(f+1)%2,h.data=f+""}}elseb=function(){setTimeout(a,0)};returnfunction(a){vare,f=[].slice.call(arguments,1);if(c.push(function(){a&&a.apply(null,f),e&&e.apply(null,f)}),d||(d=!0,b()),!a&&"undefined"!=typeofPromise)returnnewPromise(function(a){e=a})}}()}),_.each(["random"],function(a){BI[a]=c(a)}),_.extend(BI,{getTime:function(){returnwindow.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():BI.getDate().getTime()},parseInt:function(a){varb=10;/^0x/g.test(a)&&(b=16);try{returnparseInt(a,b)}catch(c){thrownewError(a+"parse int error")}},parseSafeInt:function(a){varb=9007199254740991;returna?this.clamp(this.parseInt(a),-b,b):0===a?a:0},parseFloat:function(a){try{returnparseFloat(a)}catch(b){thrownewError(a+"parse float error")}},isNaturalNumber:function(a){return!!/^\d+$/.test(a)},isPositiveInteger:function(a){return!!/^\+?[1-9][0-9]*$/.test(a)},isNegativeInteger:function(a){return!!/^\-[1-9][0-9]*$/.test(a)},isInteger:function(a){return!!/^\-?\d+$/.test(a)},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},isFloat:function(a){return!!/^([+-]?)\\d*\\.\\d+$/.test(a)},isOdd:function(a){return!!BI.isInteger(a)&&a&!0},isEven:function(a){return!!BI.isInteger(a)&&a&!1},sum:function(a,b,c){vard=0;returnBI.each(a,function(a,e){d+=b?Number(b.apply(c,[a,e])):Number(e)}),d},average:function(a,b,c){vard=BI.sum(a,b,c);returnd/a.length}}),_.extend(BI,{trim:function(){return_.trim.apply(_,arguments)},toUpperCase:function(a){return(a+"").toLocaleUpperCase()},toLowerCase:function(a){return(a+"").toLocaleLowerCase()},isEndWithBlank:function(a){return/(\s|\u00A0)$/.test(a)},isLiteral:function(a){varb=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/;returnb.test(a)},stripQuotes:function(a){varb=a.charCodeAt(0),c=a.charCodeAt(a.length-1);returnb!==c||34!==b&&39!==b?a:a.slice(1,-1)},camelize:function(a){returna.replace(/-(.)/g,function(a,b){returnb.toUpperCase()})},hyphenate:function(a){returna.replace(/([A-Z])/g,"-$1").toLowerCase()},isNotEmptyString:function(a){returnBI.isString(a)&&!BI.isEmpty(a)},isEmptyString:function(a){returnBI.isString(a)&&BI.isEmpty(a)},encrypt:function(a,b){if(""==a)return"";if(a=escape(a),b&&""!=b||(b="655"),b=escape(b),null==b||b.length<=0)returnalert("Please enter a password with which to encrypt the message."),null;for(varc="",d=0;d<b.length;d++)c+=b.charCodeAt(d).toString();vare=Math.floor(c.length/5),f=parseInt(c.charAt(e)+c.charAt(2*e)+c.charAt(3*e)+c.charAt(4*e)+c.charAt(5*e)),g=Math.ceil(b.length/2),h=Math.pow(2,31)-1;if(f<2)returnalert("Algorithmcannotfindasuitablehash.Pleasechooseadifferentpassword.\nPossibleconsiderationsaretochooseamorecomplexorlong
},clear:function(){this.parent=null,this.left=null,this.right=null,this.children=[]}},BI.extend(BI.Tree,{transformToArrayFormat:function(a,b){if(!a)return[];varc=[];if(BI.isArray(a))for(vard=0,e=a.length;d<e;d++){varf=BI.clone(a[d]);f.pId=null==f.pId?b:f.pId,deletef.children,c.push(f),a[d].children&&(c=c.concat(BI.Tree.transformToArrayFormat(a[d].children,f.id)))}else{varg=BI.clone(a);g.pId=null==g.pId?b:g.pId,deleteg.children,c.push(g),a.children&&(c=c.concat(BI.Tree.transformToArrayFormat(a.children,g.id)))}returnc},arrayFormat:function(a,b){if(!a)return[];varc=[];if(BI.isArray(a))for(vard=0,e=a.length;d<e;d++){varf=a[d];f.pId=null==f.pId?b:f.pId,c.push(f),a[d].children&&(c=c.concat(BI.Tree.arrayFormat(a[d].children,f.id)))}else{varg=a;g.pId=null==g.pId?b:g.pId,c.push(g),a.children&&(c=c.concat(BI.Tree.arrayFormat(a.children,g.id)))}returnc},transformToTreeFormat:function(a){varb,c;if(!a)return[];if(BI.isArray(a)){vard=[],e=[];for(b=0,c=a.length;b<c;b++){if(BI.isNull(a[b].id))returna;e[a[b].id]=BI.clone(a[b])}for(b=0,c=a.length;b<c;b++)e[a[b].pId]&&a[b].id!==a[b].pId?(e[a[b].pId].children||(e[a[b].pId].children=[]),e[a[b].pId].children.push(e[a[b].id])):d.push(e[a[b].id]),deletee[a[b].id].pId;returnd}return[a]},treeFormat:function(a){varb,c;if(!a)return[];if(BI.isArray(a)){vard=[],e=[];for(b=0,c=a.length;b<c;b++){if(BI.isNull(a[b].id))returna;e[a[b].id]=a[b]}for(b=0,c=a.length;b<c;b++)e[a[b].pId]&&a[b].id!==a[b].pId?(e[a[b].pId].children||(e[a[b].pId].children=[]),e[a[b].pId].children.push(e[a[b].id])):d.push(e[a[b].id]);returnd}return[a]},traversal:function(a,b){if(!BI.isNull(a)){varc=this;BI.any(a,function(a,d){returnb(a,d)===!1||voidc.traversal(d.children,b)})}}})}(),BI.Vector=function(a,b){this.x=a,this.y=b},BI.Vector.prototype={constructor:BI.Vector,cross:function(a){returnthis.x*a.y-this.y*a.x},length:function(a){returnMath.sqrt(this.x*a.x+this.y*a.y)}},BI.Region=function(a,b,c,d){this.x=a,this.y=b,this.w=c,this.h=d},BI.Region.prototype={constructor:BI.Region,isIntersects:function(a){if(this.isPointInside(a.x,a.y)||this.isPointInside(a.x+a.w,a.y)||this.isPointInside(a.x,a.y+a.h)||this.isPointInside(a.x+a.w,a.y+a.h))return!0;if(a.isPointInside(this.x,this.y)||a.isPointInside(this.x+this.w,this.y)||a.isPointInside(this.x,this.y+this.h)||a.isPointInside(this.x+this.w,this.y+this.h))return!0;if(null!=a.x&&null!=a.y){varb=newBI.Vector(this.w,this.h),c=newBI.Vector(a.x-this.x,a.y-this.y),d=newBI.Vector(c.x+a.w,c.y+a.h);if(b.cross(c)*b.cross(d)<0)return!0}return!1},isPointInside:function(a,b){returnnull!=this.x&&null!=this.y&&(a>=this.x&&a<=this.x+this.w&&b>=this.y&&b<=this.y+this.h)},getPosition:function(){vara=[];returna.push(this.x+this.w/2),a.push(this.y+this.h/2),a}},Date._DN=["星期日","星期一","星期二","星期三","星期四","星期五","星期六","星期日"],Date._SDN=["日","一","二","三","四","五","六","日"],Date._FD=1,Date._MN=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],Date._SMN=[0,1,2,3,4,5,6,7,8,9,10,11],Date._QN=["","第1季度","第2季度","第3季度","第4季度"],Date._MD=[31,28,31,30,31,30,31,31,30,31,30,31],Date._OFFSET=[0,-1,-2,-3,-4,-5,-6],function(){vara={};BI.BufferPool={put:function(b,c){if(BI.isNotNull(a[b]))thrownewError("Buffer Pool has the key already!");a[b]=c},get:function(b){returna[b]}}}(),function(){vara={};BI.SharingPool={_Shared:a,put:function(b,c){a[b]=c},cat:function(){for(varb=Array.prototype.slice.call(arguments,0),c=a,d=0;d<b.length;d++)c=c&&c[b[d]];returnc},get:function(){returnBI.deepClone(this.cat.apply(this,arguments))},remove:function(b){deletea[b]}}}(),BI.Req={};