chunk-62449764.2b40a301.js 19 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-62449764"],{2909:function(e,t,n){"use strict";function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}function r(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,"a",(function(){return r})),n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("d3b7"),n("3ca3"),n("ddb0"),n("fb6a"),n("b0c0"),n("25f0")},"2c02":function(e,t,n){},"2de2":function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"a",(function(){return u}));var c="/duoduo-service/setup-service/",r="/duoduo-service/object-service/",o="/duoduo-service/duoduoenv-service/",a="/duoduo-service/",u="/duoduo-service/custom-service/"},"459d":function(e,t,n){"use strict";n.d(t,"i",(function(){return a})),n.d(t,"E",(function(){return u})),n.d(t,"y",(function(){return i})),n.d(t,"p",(function(){return s})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return f})),n.d(t,"b",(function(){return l})),n.d(t,"n",(function(){return b})),n.d(t,"U",(function(){return m})),n.d(t,"C",(function(){return v})),n.d(t,"q",(function(){return p})),n.d(t,"V",(function(){return j})),n.d(t,"a",(function(){return O})),n.d(t,"h",(function(){return g})),n.d(t,"g",(function(){return h})),n.d(t,"m",(function(){return y})),n.d(t,"o",(function(){return S})),n.d(t,"x",(function(){return T})),n.d(t,"z",(function(){return q})),n.d(t,"I",(function(){return I})),n.d(t,"v",(function(){return E})),n.d(t,"d",(function(){return x})),n.d(t,"D",(function(){return w})),n.d(t,"A",(function(){return P})),n.d(t,"B",(function(){return k})),n.d(t,"O",(function(){return W})),n.d(t,"J",(function(){return C})),n.d(t,"Q",(function(){return N})),n.d(t,"j",(function(){return V})),n.d(t,"u",(function(){return A})),n.d(t,"S",(function(){return G})),n.d(t,"G",(function(){return B})),n.d(t,"e",(function(){return M})),n.d(t,"P",(function(){return _})),n.d(t,"c",(function(){return D})),n.d(t,"K",(function(){return F})),n.d(t,"t",(function(){return L})),n.d(t,"s",(function(){return R})),n.d(t,"N",(function(){return H})),n.d(t,"T",(function(){return U})),n.d(t,"R",(function(){return J})),n.d(t,"w",(function(){return $})),n.d(t,"M",(function(){return z})),n.d(t,"H",(function(){return Q})),n.d(t,"f",(function(){return K})),n.d(t,"L",(function(){return Z})),n.d(t,"F",(function(){return X})),n.d(t,"r",(function(){return Y})),n("99af");var c=n("59b9"),r=n("ba72"),o=n("2de2"),a=function(e){return Object(c.b)().request("/api/company/config/".concat(e.companyId),r.b.GET,void 0,r.a.json)},u=function(e){return Object(c.b)().request("".concat(o.c,"weather/getCurrentWeather?").concat(e),r.b.GET,void 0,r.a.json)},i=function(e){return Object(c.b)().request("".concat(o.b,"space/property"),r.b.POST,e,r.a.json)},s=function(e){return Object(c.b)().request("".concat(o.b,"meeting/room/scene/getMeetingScene/V2?spaceId=").concat(e.spaceId),r.b.GET,void 0,r.a.json)},d=function(e){return Object(c.b)().request("".concat(o.b,"object/equipment/findForServe?spaceId=").concat(e.spaceId),r.b.POST,void 0,r.a.json)},f=function(e){return Object(c.b)().request("".concat(o.b,"custom/feedback/documents"),r.b.POST,e,r.a.json)},l=function(e){return Object(c.b)().request("".concat(o.b,"custom/feedbackCreate/v2"),r.b.POST,e,r.a.json)},b=function(e){return Object(c.b)({timeout:15e4,isComParams:!0}).request("".concat(o.b,"light/status/query?spaceId=").concat(e.spaceId),r.b.GET,void 0,r.a.json)},m=function(e){return Object(c.c)("".concat(o.b,"light/onoff/set"),e)},v=function(e){return Object(c.c)("".concat(o.b,"light/onoff/setSatus"),e)},p=function(e){return Object(c.b)().request("".concat(o.b,"object/objectDataEqpGroup/query"),r.b.POST,e,r.a.json)},j=function(e){return Object(c.b)().request("".concat(o.b,"meeting/room/scene/switchover"),r.b.POST,e,r.a.json)},O=function(e){return Object(c.b)().request("".concat(o.b,"customScene/create"),r.b.POST,e,r.a.json)},g=function(e){return Object(c.b)().request("".concat(o.b,"/spaceAdjust/queryPropertyData?").concat(e),r.b.GET,void 0,r.a.json)},h=function(e){return Object(c.b)().request("".concat(o.c,"object/building/query"),r.b.POST,e,r.a.json)},y=function(e){return Object(c.b)().request("".concat(o.c,"object/floor/query"),r.b.POST,e,r.a.json)},S=function(e){return Object(c.b)().request("".concat(o.d,"map/queryMapInfo"),r.b.POST,e,r.a.json)},T=function(e){return Object(c.b)().request("".concat(o.c,"object/equipment/querySpaceEquipType?").concat(e),r.b.GET,void 0,r.a.json)},q=function(e){return Object(c.b)().request("".concat(o.c,"object/space/query"),r.b.POST,e,r.a.json)},I=function(e){return Object(c.b)().request("".concat(o.d,"permanentSpace/save"),r.b.POST,e,r.a.json)},E=function(){return Object(c.b)().request("".concat(o.d,"permanentSpace/query"),r.b.GET,void 0,r.a.json)},x=function(e){return Object(c.b)().request("".concat(o.d,"permanentSpace/delete?").concat(e))},w=function(){return Object(c.b)().request("".concat(o.d,"permanentSpace/queryZJ"),r.b.GET,void 0,r.a.json)},P=function(){return Object(c.b)().request("".concat(o.c,"object/equipment/querySpaceModeSet"),r.b.GET,void 0,r.a.json)},k=function(){return Object(c.b)().request("".concat(o.c,"object/equipment/querySpaceTempSet"),r.b.GET,void 0,r.a.json)},W=function(e){return Object(c.b)().request("".concat(o.d,"scene/querySpaceSceneConfig?").concat(e),r.b.GET,void 0,r.a.json)},C=function(e){return Object(c.b)().request("".concat(o.b,"customScene/queryCustomAndScence?").concat(e),r.b.GET,void 0,r.a.json)},N=function(e){return Object(c.c)("".concat(o.b,"customScene/saveBatchCustomScene"),e)},V=function(e){return Object(c.b)().request("".concat(o.d,"padSpace/getDefaultLocation?").concat(e),r.b.GET,void 0,r.a.json)},A=function(e){return Object(c.b)().request("".concat(o.d,"padSpace/getPadSpaceList?").concat(e),r.b.GET,void 0,r.a.json)},G=function(e){return Object(c.b)().request("".concat(o.d,"padSpace/saveWorkSpace"),r.b.POST,e,r.a.json)},B=function(e){return Object(c.b)().request("".concat(o.d,"padSpace/insertWorkSpace"),r.b.POST,e,r.a.json)},M=function(e){return Object(c.b)().request("".concat(o.d,"padSpace/deleteWorkSpace"),r.b.POST,e,r.a.json)},_=function(e){return Object(c.b)().request("".concat(o.d,"padSpace/queryWorkSpace"),r.b.POST,e,r.a.json)},D=function(e){return Object(c.b)().request("".concat(o.d,"padSpace/queryWorkSpace"),r.b.POST,e,r.a.json)},F=function(e){return Object(c.b)().request("".concat(o.e,"wechat-service-duoduoenv/duoduoenv/customerservice/query"),r.b.POST,e,r.a.json)},L=function(e){return Object(c.b)().request("".concat(o.d,"padLogin/getPadQrCodeStatus?").concat(e),r.b.GET,void 0,r.a.json)},R=function(e){return Object(c.b)().request("".concat(o.d,"padImage/queryImageByFuncType?").concat(e),r.b.GET,void 0,r.a.json)},H=function(e){return Object(c.b)().request("".concat(o.b,"ctrl/querySpaceConditioners?").concat(e),r.b.GET,void 0,r.a.json)},U=function(e){return Object(c.c)("".concat(o.b,"ctrl/set"),e)},J=function(e){return Object(c.b)().request("".concat(o.d,"/map/saveMapPointInfo"),r.b.POST,e,r.a.json)},$=function(e){return Object(c.b)().request("".concat(o.a,"equipmentRun/queryEquipmentRunConfig?").concat(e),r.b.GET,void 0,r.a.json)},z=function(e){return Object(c.b)().request("".concat(o.b,"ctrl/querySapceFloorHeating?").concat(e),r.b.GET,void 0,r.a.json)},Q=function(e){return Object(c.c)("".concat(o.d,"padSpace/insertWorkSpaceBatch"),e)},K=function(e){return Object(c.c)("".concat(o.d,"padSpace/deleteWorkSpaceBatch"),e)},Z=function(e){return Object(c.b)().request("".concat(o.b,"ctrl/queryEquipmentStatusInfo?").concat(e),r.b.GET,void 0,r.a.json)},X=function(e){return Object(c.b)({isComParams:!1}).request("".concat(o.c,"weather/getCurrentWeather?").concat(e),r.b.GET,void 0,r.a.json)},Y=function(e){return Object(c.b)({isComParams:!1}).request("".concat(o.b,"space/property"),r.b.POST,e,r.a.json)}},"4df4":function(e,t,n){"use strict";var c=n("0366"),r=n("7b0b"),o=n("9bdd"),a=n("e95a"),u=n("50c4"),i=n("8418"),s=n("35a1");e.exports=function(e){var t,n,d,f,l,b,m=r(e),v=(e="function"==typeof this?this:Array,arguments.length),p=1<v?arguments[1]:void 0,j=void 0!==p,O=s(m),g=0;if(j&&(p=c(p,2<v?arguments[2]:void 0,2)),null==O||e==Array&&a(O))for(n=new e(t=u(m.length));g<t;g++)b=j?p(m[g],g):m[g],i(n,g,b);else for(l=(f=O.call(m)).next,n=new e;!(d=l.call(f)).done;g++)b=j?o(f,p,[d.value,g],!0):d.value,i(n,g,b);return n.length=g,n}},5118:function(e,t,n){(function(e){var c=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(r.call(setTimeout,c,arguments),clearTimeout)},t.setInterval=function(){return new o(r.call(setInterval,c,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(c,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;0<=t&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n("6017"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("c8ba"))},6017:function(e,t,n){(function(e,t){!function(e,n){"use strict";var c,r,o,a,u,i,s,d;function f(e){delete r[e]}function l(e){if(o)setTimeout(l,0,e);else{var t=r[e];if(t){o=!0;try{var c=t,a=c.callback,u=c.args;switch(u.length){case 0:a();break;case 1:a(u[0]);break;case 2:a(u[0],u[1]);break;case 3:a(u[0],u[1],u[2]);break;default:a.apply(n,u)}}finally{f(e),o=!1}}}}function b(){function t(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(n)&&l(+t.data.slice(n.length))}var n="setImmediate$"+Math.random()+"$";e.addEventListener?e.addEventListener("message",t,!1):e.attachEvent("onmessage",t),u=function(t){e.postMessage(n+t,"*")}}e.setImmediate||(c=1,o=!(r={}),a=e.document,d=(d=Object.getPrototypeOf&&Object.getPrototypeOf(e))&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?u=function(e){t.nextTick((function(){l(e)}))}:function(){var t,n;if(e.postMessage&&!e.importScripts)return t=!0,n=e.onmessage,e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}()?b():u=e.MessageChannel?((s=new MessageChannel).port1.onmessage=function(e){l(e.data)},function(e){s.port2.postMessage(e)}):a&&"onreadystatechange"in a.createElement("script")?(i=a.documentElement,function(e){var t=a.createElement("script");t.onreadystatechange=function(){l(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(l,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];return r[c]={callback:e,args:t},u(c),c++},d.clearImmediate=f)}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n("c8ba"),n("4362"))},7165:function(e,t,n){"use strict";n("2c02")},"9bdd":function(e,t,n){var c=n("825a"),r=n("2a62");e.exports=function(e,t,n,o){try{return o?t(c(n)[0],n[1]):t(n)}catch(t){throw r(e),t}}},a3cd:function(e,t,n){"use strict";function c(e){return Object(r.pushScopeId)("data-v-060f7cba"),e=e(),Object(r.popScopeId)(),e}n.r(t),n("b0c0");var r=n("7a23"),o={class:"enter-main"},a={class:"top-box"},u={class:"left"},i=["src"],s=["src"],d={class:"wether-info"},f={class:"temp"},l={class:"text"},b=c((function(){return Object(r.createElementVNode)("div",{class:"line"},null,-1)})),m={class:"wether-pm"},v={class:"value-box"},p=c((function(){return Object(r.createElementVNode)("span",null,"PM 2.5",-1)})),j={class:"value-des"},O=c((function(){return Object(r.createElementVNode)("span",null,"室外空气质量",-1)})),g={class:"right"},h={class:"env-box"},y={class:"title-box"},S=["src"],T={class:"title"},q={class:"index-box"},I={class:"num"};n("99af"),n("c740"),n("c975");var E=n("5530"),x=n("2909"),w=n("d257"),P=n("459d"),k=n("5118"),W=Object(r.defineComponent)({components:{},setup:function(e){var t=this,n=[{id:1,name:"PM 2.5",unit:"ug/m³",funcid:"PM2d5",levelTxt:"",value:10,img:Object(w.y)("pac","pm2.5.svg"),showNowData:0},{id:2,value:10,name:"甲醛",unit:"mg/㎡",levelTxt:"",img:Object(w.y)("pac","HCHO.svg")},{id:3,value:10,name:"温度",unit:"%",levelTxt:"",funcid:"Tdb,RH",img:Object(w.y)("pac","Tdb.svg")},{id:3,value:10,name:"湿度",levelTxt:"",unit:"%",funcid:"Tdb,RH",img:Object(w.y)("pac","RH.svg")}],c=Object(r.reactive)({envlist:n,parseImgUrl:w.y,time1:"",time2:"",params:{spaceId:"Sp31010600032517f22f3d6a4c71b18cab24c444d362",pubname:"sagacarepad",projectId:"Pj3101060003"},outWeather:{},getWeatherIconByText:function(e){var t="晴.svg";return-1<e.indexOf("晴")?t="晴.svg":-1<e.indexOf("雨")?t="大雨.svg":-1<e.indexOf("阴")||-1<e.indexOf("云")?t="阴.svg":-1<e.indexOf("霾")||-1<e.indexOf("雾")?t="雾.svg":-1<e.indexOf("风")?t="风.svg":-1<e.indexOf("雷")&&(t="雷阵雨.svg"),t},getWeatherIconByCode:function(e){var t="";return e<=3?t="晴.svg":e<=8?t="多云.svg":e<=9?t="阴.svg":e<=10?t="阵雨.svg":e<=12?t="雷阵雨.svg":e<=13?t="小雨.svg":e<=15?t="大雨.svg":e<=18?t="暴雨.svg":e<=19?t="小雨.svg":e<=20?t="雨夹雪.svg":e<=23?t="小雪.svg":e<=25?t="大雪.svg":e<=29?t="阴.svg":e<=31?t="雾.svg":e<=35?t="风.svg":e<=36?t="龙卷风.svg":e<=37?t="阴.svg":e<=38&&(t="晴.svg"),t},getWeatherInfo:function(){var e=Object(w.B)(c.params);Object(P.F)(e).then((function(e){c.outWeather=e.content||{};e=c.outWeather.text||"";var t=c.outWeather.code;t=(t=c.getWeatherIconByCode(t))||c.getWeatherIconByText(e);c.outWeather.imgname=t}))},getSpaceInfo:function(){Object(w.B)(c.params),Object(P.r)({criteria:c.params}).then((function(e){e=e&&e.content||[],e&&e.length&&c.formatSpaceInfo(e)}))},formatSpaceInfo:function(){for(var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],t=0;t<e.length;t++){var n,r=e[t];r.pm25||0===r.pm25?(n=c.checkLevel(r.pm25,"pm25"),c.envlist[0].levelTxt=n?n.levelTxt:"--",c.envlist[0].num=r.pm25):(c.envlist[0].levelTxt="",c.envlist[0].num="--"),r.hcho||0==r.hcho?(n=c.checkLevel(r.hcho,"hcho"),c.envlist[1].levelTxt=n.levelTxt,c.envlist[1].num=r.hcho):(c.envlist[1].levelTxt="",c.envlist[1].num="--"),!r.temperature&&0!=r.temperature||(c.envlist[2].num=r.temperature,c.envlist[2].levelTxt="℃"),r.humidity||0==r.humidity?(c.checkLevel(r.humidity,"humidity"),c.envlist[3].levelTxt="%",c.envlist[3].num=r.humidity):(c.envlist[3].num="--",c.envlist[3].levelTxt="%")}},checkLevel:function(e,t){var n={humidity:{range:[30,70],text:["干燥","健康","潮湿"]},co2:{range:[800,1e3,1500],text:["健康","达标","略高","超标"]},pm25:{range:[35,75,115,150,250],text:["健康","良","轻度污染","中度污染","重度污染","严重污染"]},hcho:{range:[.1],text:["健康","超标"]},temper:{range:[20,24],text:["偏冷","舒适","偏热"]}},c=[e].concat(Object(x.a)(n[t].range)).sort((function(e,t){return e-t})).findIndex((function(t){return t===e}));return{level:c,levelTxt:n[t].text[c]}},timeInit:function(){var e=this;this.time1=Object(k.setInterval)((function(){e.getWeatherInfo()}),3e5),this.time12=Object(k.setInterval)((function(){e.getSpaceInfo()}),3e5)}});return Object(r.onBeforeUnmount)((function(){Object(k.clearInterval)(t.time1),Object(k.clearInterval)(t.time1)})),Object(r.onMounted)((function(){c.getWeatherInfo(),c.getSpaceInfo(),c.timeInit()})),Object(E.a)({},Object(r.toRefs)(c))}}),C=(n("7165"),n("6b0d"));n=n.n(C);t.default=n()(W,[["render",function(e,t,n,c,E,x){return Object(r.openBlock)(),Object(r.createElementBlock)("div",o,[Object(r.createElementVNode)("div",a,[Object(r.createElementVNode)("div",u,[Object(r.createElementVNode)("img",{class:"logo",src:e.parseImgUrl("pac","logo.svg")},null,8,i),Object(r.withDirectives)(Object(r.createElementVNode)("img",{class:"weather-icon",src:e.parseImgUrl("pac","weather/"+e.outWeather.imgname)},null,8,s),[[r.vShow,e.outWeather.imgname]]),Object(r.createElementVNode)("div",d,[Object(r.createElementVNode)("div",f,Object(r.toDisplayString)(e.outWeather.temperature)+" ℃",1),Object(r.createElementVNode)("div",l,Object(r.toDisplayString)(e.outWeather.text),1)]),b,Object(r.createElementVNode)("div",m,[Object(r.createElementVNode)("div",v,[p,Object(r.createElementVNode)("span",null,Object(r.toDisplayString)(e.outWeather.pm25||"--"),1)]),Object(r.createElementVNode)("div",j,[O,Object(r.createElementVNode)("span",null,Object(r.toDisplayString)(e.outWeather.quality||"--"),1)])])]),Object(r.createElementVNode)("div",g,[(Object(r.openBlock)(!0),Object(r.createElementBlock)(r.Fragment,null,Object(r.renderList)(e.envlist,(function(e,t){return Object(r.openBlock)(),Object(r.createElementBlock)("div",h,[Object(r.createElementVNode)("div",y,[Object(r.createElementVNode)("img",{class:"icon",src:e.img},null,8,S),Object(r.createElementVNode)("div",T,Object(r.toDisplayString)(e.name),1)]),Object(r.createElementVNode)("div",q,[Object(r.createElementVNode)("div",I,Object(r.toDisplayString)(e.num),1),Object(r.createElementVNode)("div",{class:Object(r.normalizeClass)(["text",1<t?"temp-text":""])},Object(r.toDisplayString)(e.levelTxt),3)])])})),256))])])])}],["__scopeId","data-v-060f7cba"]])},a630:function(e,t,n){var c=n("23e7"),r=n("4df4");c({target:"Array",stat:!0,forced:!n("1c7e")((function(e){Array.from(e)}))},{from:r})},b0c0:function(e,t,n){var c=n("83ab"),r=(n=n("9bf2").f,Function.prototype),o=r.toString,a=/^\s*function ([^ (]*)/;!c||"name"in r||n(r,"name",{configurable:!0,get:function(){try{return o.call(this).match(a)[1]}catch(e){return""}}})},c740:function(e,t,n){"use strict";var c=n("23e7"),r=n("b727").findIndex,o=n("44d2"),a=(n=n("ae40"),"findIndex"),u=!0;n=n(a);a in[]&&Array(1)[a]((function(){u=!1})),c({target:"Array",proto:!0,forced:u||!n},{findIndex:function(e){return r(this,e,1<arguments.length?arguments[1]:void 0)}}),o(a)},fb6a:function(e,t,n){"use strict";var c=n("23e7"),r=n("861d"),o=n("e8b5"),a=n("23cb"),u=n("50c4"),i=n("fc6a"),s=n("8418"),d=n("b622"),f=n("1dde"),l=(n=n("ae40"),f=f("slice"),n=n("slice",{ACCESSORS:!0,0:0,1:2}),d("species")),b=[].slice,m=Math.max;c({target:"Array",proto:!0,forced:!f||!n},{slice:function(e,t){var n,c,d,f=i(this),v=u(f.length),p=a(e,v),j=a(void 0===t?v:t,v);if(o(f)&&((n="function"==typeof(n=f.constructor)&&(n===Array||o(n.prototype))||r(n)&&null===(n=n[l])?void 0:n)===Array||void 0===n))return b.call(f,p,j);for(c=new(void 0===n?Array:n)(m(j-p,0)),d=0;p<j;p++,d++)p in f&&s(c,d,f[p]);return c.length=d,c}})}}]);