SmartStorage/unpackage/dist/build/app-plus/app-service.js

13 lines
1.1 MiB
JavaScript
Raw Normal View History

2024-08-14 11:09:06 +08:00
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{0:function(e,t){},"00af":function(e,t,n){"use strict";n.r(t);var a=n("3860"),i=n("d830");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var s=n("828b"),o=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=o.exports},"00e1":function(e,t,n){"use strict";n.r(t);var a=n("0379"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},"011a":function(e,t){function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(e.exports=n=function(){return!!t},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"0181":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a}));var a={uniEasyinput:n("5275").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",[n("view",{staticClass:e._$s(1,"sc","form-area"),attrs:{_i:1}},[n("view",[n("h4"),n("span",[e._v(e._$s(4,"t0-0",e._s(e.upperInfo.typeName)))])]),n("view",[n("h4"),n("span",[e._v(e._$s(7,"t0-0",e._s(e.upperInfo.typeCode)))])]),n("view",[n("h4"),n("span",[e._v(e._$s(10,"t0-0",e._s(e.upperInfo.num)))])]),n("view",[n("h4"),n("uni-easyinput",{attrs:{type:"number",placeholder:"\u8bf7\u8f93\u5165\u6570\u91cf",_i:13},model:{value:e._$s(13,"v-model",e.lowerIpt.passedNum),callback:function(t){e.$set(e.lowerIpt,"passedNum",t)},expression:"lowerIpt.passedNum"}})],1),n("view",[n("h4"),n("uni-easyinput",{attrs:{type:"number",placeholder:"\u8bf7\u8f93\u5165\u6570\u91cf",_i:16},model:{value:e._$s(16,"v-model",e.lowerIpt.waitRepairNum),callback:function(t){e.$set(e.lowerIpt,"waitRepairNum",t)},expression:"lowerIpt.waitRepairNum"}})],1),n("view",[n("h4"),n("uni-easyinput",{attrs:{type:"number",placeholder:"\u8bf7\u8f93\u5165\u6570\u91cf",_i:19},model:{value:e._$s(19,"v-model",e.lowerIpt.waitCrashNum),callback:function(t){e.$set(e.lowerIpt,"waitCrashNum",t)},expression:"lowerIpt.waitCrashNum"}})],1)]),n("view",{staticClass:e._$s(20,"sc","sub-btn"),attrs:{_i:20},on:{click:e.subForm}})])},r=[]},"0199":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",e._l(e._$s(1,"f",{forItems:e.detailList}),(function(t,a,i,r){return n("view",{key:e._$s(1,"f",{forIndex:i,key:a}),staticClass:e._$s("1-"+r,"sc","single-detail"),attrs:{_i:"1-"+r}},[n("view",[n("h4"),n("span",[e._v(e._$s("4-"+r,"t0-0",e._s(a+1)))])]),n("view",[n("h4"),n("span",[e._v(e._$s("7-"+r,"t0-0",e._s(t.typeName)))])]),n("view",[n("h4"),n("span",[e._v(e._$s("10-"+r,"t0-0",e._s(t.typeCode)))])]),n("view",[n("h4"),n("span",[e._v(e._$s("13-"+r,"t0-0",e._s(t.backNum)))])]),n("view",[n("h4"),n("span",[e._v(e._$s("16-"+r,"t0-0",e._s(t.maCode)))])]),n("view",[n("h4"),n("span",[e._v(e._$s("19-"+r,"t0-0",e._s(t.backTime)))])]),n("view",[n("h4"),n("span",[e._v(e._$s("22-"+r,"t0-0",e._s(t.backStatus)))])])])})),0)},i=[]},"0379":function(e,t,n){"use strict";var a=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n("3b57")),r={name:"u-loading-page",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],data:function(){return{}},methods:{}};t.default=r},"048b":function(e,t,n){"use strict";n.r(t);var a=n("ef3e"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},"0528":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""}}},"056f":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a}));var a=
2023-12-20 15:15:23 +08:00
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
2024-08-14 11:09:06 +08:00
var a=n("10ab"),i=n("ba37"),r=n("b0e4");function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,n)}function c(e,t,n,a){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,a){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(a||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===a?new Uint8Array(t):void 0===a?new Uint8Array(t,n):new Uint8Array(t,n,a);u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=d(e,t);return e}(e,t,n,a):"string"===typeof t?function(e,t,n){"string"===typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var a=0|p(t,n);e=o(e,a);var i=e.write(t,n);i!==a&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|h(t.length);return e=o(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||function(e){return e!==e}(t.length)?o(e,0):d(e,t);if("Buffer"===t.type&&r(t.data))return d(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=o(e,t<0?0:0|h(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|h(t.length);e=o(e,n);for(var a=0;a<n;a+=1)e[a]=255&t[a];return e}function h(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(a)return F(e).length;t=(""+t).toLowerCase(),a=!0}}function v(e,t,n){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return I(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return D(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function m(e,t,n){var a=e[t];e[t]=e[n],e[n]=a}function g(e,t,n,a,i){if(0===e.length)return-1;if("string"===typeof n?(a=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,a)),u.isBuffer(t))return 0===t.length?-1:y(e,t,n,a,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,a,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,a,i){var r,s=1,o=e.length,u=t.length;if
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=i=function(){return n},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,n={},r=Object.prototype,s=r.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,n){return e[t]=n}}function h(e,t,n,a){var i=t&&t.prototype instanceof _?t:_,r=Object.create(i.prototype),s=new $(a||[]);return o(r,"_invoke",{value:D(e,n,s)}),r}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;var v="suspendedStart",m="executing",g="completed",y={};function _(){}function b(){}function w(){}var k={};d(k,c,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(A([])));S&&S!==r&&s.call(S,c)&&(k=S);var C=w.prototype=_.prototype=Object.create(k);function I(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(i,r,o,u){var c=p(e[i],e,r);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==a(f)&&s.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(f).then((function(e){l.value=e,o(l)}),(function(e){return n("throw",e,o,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(e,a){function r(){return new t((function(t,i){n(e,a,t,i)}))}return i=i?i.then(r,r):r()}})}function D(e,n,a){var i=v;return function(r,s){if(i===m)throw Error("Generator is already running");if(i===g){if("throw"===r)throw s;return{value:t,done:!0}}for(a.method=r,a.arg=s;;){var o=a.delegate;if(o){var u=O(o,a);if(u){if(u===y)continue;return u}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===v)throw i=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=m;var c=p(e,n,a);if("normal"===c.type){if(i=a.done?g:"suspendedYield",c.arg===y)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(i=g,a.method="throw",a.arg=c.arg)}}}function O(e,n){var a=n.method,i=e.iterator[a];if(i===t)return n.delegate=null,"throw"===a&&e.iterator["return"]&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==a&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+a+"' method")),y;var r=p(i,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,y;var s=r.arg;return s?s.done?(n[e.resultName]=s.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function $(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function A(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function n(){for(;++i<e.length;)if(s.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return r.next=r}}throw new TypeError(a(e)+" is not iterable")}return b.prototype=w,o(C,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=d(w,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,d(e,f,"GeneratorFunction")),e.prototype=Object.create(C),e},n.awrap=function(e){return{__await:e}},I(T.prototype),d(T.prototype,l,(function(){return this})),n.AsyncIterator=T,n.async=functi
2024-07-31 08:55:30 +08:00
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
2024-08-14 11:09:06 +08:00
t.read=function(e,t,n,a,i){var r,s,o=8*i-a-1,u=(1<<o)-1,c=u>>1,l=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,r=h&(1<<-l)-1,h>>=-l,l+=o;l>0;r=256*r+e[t+f],f+=d,l-=8);for(s=r&(1<<-l)-1,r>>=-l,l+=a;l>0;s=256*s+e[t+f],f+=d,l-=8);if(0===r)r=1-c;else{if(r===u)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,a),r-=c}return(h?-1:1)*s*Math.pow(2,r-a)},t.write=function(e,t,n,a,i,r){var s,o,u,c=8*r-i-1,l=(1<<c)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=a?0:r-1,p=a?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),t+=s+f>=1?d/u:d*Math.pow(2,1-f),t*u>=2&&(s++,u/=2),s+f>=l?(o=0,s=l):s+f>=1?(o=(t*u-1)*Math.pow(2,i),s+=f):(o=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[n+h]=255&o,h+=p,o/=256,i-=8);for(s=s<<i|o,c+=i;c>0;e[n+h]=255&s,h+=p,s/=256,c-=8);e[n+h-p]|=128*v}},ba5a:function(e,t,n){"use strict";n.r(t);var a=n("d735"),i=n("a3ce");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);var s=n("828b"),o=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=o.exports},ba95:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var a=function(){var e=this.$createElement,t=this._self._c||e;return t("view",{class:this._$s(0,"c",{hide:this.hidden}),attrs:{_i:0}},[t("canvas",{style:this._$s(1,"s",{width:this.sizeNum+"px",height:this.sizeNum+"px"}),attrs:{_i:1}})])},i=[]},bc25:function(e,t,n){"use strict";n.r(t);var a=n("60fa"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},bd2e:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{taskId:"",fetchList:[],taskIdList:[],allChecked:!1,examFormData:{ifPass:"",noPassReason:""},formData:{checkResult:"",remark:""},ifPassRange:[{text:"\u662f",value:1},{text:"\u5426",value:0}],rules:{checkResult:{rules:[{required:!0,errorMessage:"\u8bf7\u9009\u62e9\u662f\u5426\u901a\u8fc7"}]},remark:{rules:[{required:!0,errorMessage:"\u8bf7\u8f93\u5165\u4e0d\u901a\u8fc7\u539f\u56e0"}]}},fetchMaterialList:[],examList:[]}},onLoad:function(t){var n=this;this.taskIdList=[],e("log","11111111111111",t.taskId," at pages/crashExam/crashExamList.vue:155"),this.taskIdList.push(t.taskId),e("log"," this.taskIdList",this.taskIdList," at pages/crashExam/crashExamList.vue:157");var a={taskId:t.taskId};this.$api.crashExam.crashExamDetails(a).then((function(e){200==e.data.code&&(n.fetchList=e.data.rows)})).catch((function(e){throw e}))},onShow:function(){this.getPageList()},methods:{getPageList:function(){var e=this;this.$api.crashExam.crashExamList().then((function(t){200==t.data.code&&(e.fetchMaterialList=t.data.rows)})).catch((function(e){throw e}))},seeDetail:function(e){uni.navigateTo({url:"/pages/crashExam/crashExamDetails?taskId=".concat(e)})},checkAll:function(){this.allChecked=!this.allChecked},toggleExam:function(){this.$refs.popup.open()},closePopup:function(){this.$refs.popup.close()},seeExam:function(e){uni.navigateTo({url:"/pages/crashExam/crashExamList?taskId=".concat(e)})},returnSubmit:function(){this.$refs.popup.close(),e("log",this.taskIdList," at pages/crashExam/crashExamList.vue:241")},formSubmit:function(){var e=this,t=this;t.$refs.form.validate().then((function(n){var a={checkResult:1==t.formData.checkResult?"\u901a\u8fc7":"\u4e0d\u901a\u8fc7",taskIdList:t.taskIdList,remark:t.formData.remark?t.formData.remark:""};t.$api.crashExam.crashExamAudit(a).then((function(t){uni.showToast({title:t.data.msg,icon:"success",duration:2e3}),e.$refs.popup.close(),e.allChecked=!1,uni.navigateTo({url:"/pages/crashExam/crashExam"})}))})).catch((function(e){uni.showToast({title:"\u8bf7\u5b8c\u5584\u8868\u5355\u5185\u5bb9",icon:"none",duration:2e3})}))}}};t.default=n}).call(this,n("f3b9")["default"])},bd83:function(e,t,n){"use strict";n.r(t);var a=n("575c"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(functio
/*! For license information please see gtpush-min.js.LICENSE.txt */
(function(n,s){(function(e,t){n.exports=t()})(self,(function(){return function(){var n={4736:function(e,t,n){var a;e=n.nmd(e);var i=function(e){var t=1e7,n=9007199254740992,a=d(n),r="0123456789abcdefghijklmnopqrstuvwxyz",s="function"===typeof BigInt;function o(e,t,n,a){return"undefined"===typeof e?o[0]:"undefined"!==typeof t&&(10!==+t||n)?H(e,t,n,a):Y(e)}function u(e,t){this.value=e,this.sign=t,this.isSmall=!1}function c(e){this.value=e,this.sign=e<0,this.isSmall=!0}function l(e){this.value=e}function f(e){return-n<e&&e<n}function d(e){return e<1e7?[e]:e<1e14?[e%1e7,Math.floor(e/1e7)]:[e%1e7,Math.floor(e/1e7)%1e7,Math.floor(e/1e14)]}function h(e){p(e);var n=e.length;if(n<4&&E(e,a)<0)switch(n){case 0:return 0;case 1:return e[0];case 2:return e[0]+e[1]*t;default:return e[0]+(e[1]+e[2]*t)*t}return e}function p(e){var t=e.length;while(0===e[--t]);e.length=t+1}function v(e){var t=new Array(e),n=-1;while(++n<e)t[n]=0;return t}function m(e){return e>0?Math.floor(e):Math.ceil(e)}function g(e,n){var a,i,r=e.length,s=n.length,o=new Array(r),u=0,c=t;for(i=0;i<s;i++)a=e[i]+n[i]+u,u=a>=c?1:0,o[i]=a-u*c;while(i<r)a=e[i]+u,u=a===c?1:0,o[i++]=a-u*c;return u>0&&o.push(u),o}function y(e,t){return e.length>=t.length?g(e,t):g(t,e)}function _(e,n){var a,i,r=e.length,s=new Array(r),o=t;for(i=0;i<r;i++)a=e[i]-o+n,n=Math.floor(a/o),s[i]=a-n*o,n+=1;while(n>0)s[i++]=n%o,n=Math.floor(n/o);return s}function b(e,n){var a,i,r=e.length,s=n.length,o=new Array(r),u=0,c=t;for(a=0;a<s;a++)i=e[a]-u-n[a],i<0?(i+=c,u=1):u=0,o[a]=i;for(a=s;a<r;a++){if(i=e[a]-u,!(i<0)){o[a++]=i;break}i+=c,o[a]=i}for(;a<r;a++)o[a]=e[a];return p(o),o}function w(e,n,a){var i,r,s=e.length,o=new Array(s),l=-n,f=t;for(i=0;i<s;i++)r=e[i]+l,l=Math.floor(r/f),r%=f,o[i]=r<0?r+f:r;return o=h(o),"number"===typeof o?(a&&(o=-o),new c(o)):new u(o,a)}function k(e,n){var a,i,r,s,o,u=e.length,c=n.length,l=u+c,f=v(l),d=t;for(r=0;r<u;++r){s=e[r];for(var h=0;h<c;++h)o=n[h],a=s*o+f[r+h],i=Math.floor(a/d),f[r+h]=a-i*d,f[r+h+1]+=i}return p(f),f}function x(e,n){var a,i,r=e.length,s=new Array(r),o=t,u=0;for(i=0;i<r;i++)a=e[i]*n+u,u=Math.floor(a/o),s[i]=a-u*o;while(u>0)s[i++]=u%o,u=Math.floor(u/o);return s}function S(e,t){var n=[];while(t-- >0)n.push(0);return n.concat(e)}function C(e,n,a){return new u(e<t?x(n,e):k(n,d(e)),a)}function I(e){var n,a,i,r,s,o=e.length,u=v(o+o),c=t;for(i=0;i<o;i++){r=e[i],a=0-r*r;for(var l=i;l<o;l++)s=e[l],n=r*s*2+u[i+l]+a,a=Math.floor(n/c),u[i+l]=n-a*c;u[i+o]=a}return p(u),u}function T(e,n){var a,i,r,s,o,u,c,l=e.length,f=n.length,d=t,p=v(n.length),m=n[f-1],g=Math.ceil(d/(2*m)),y=x(e,g),_=x(n,g);for(y.length<=l&&y.push(0),_.push(0),m=_[f-1],i=l-f;i>=0;i--){for(a=d-1,y[i+f]!==m&&(a=Math.floor((y[i+f]*d+y[i+f-1])/m)),r=0,s=0,u=_.length,o=0;o<u;o++)r+=a*_[o],c=Math.floor(r/d),s+=y[i+o]-(r-c*d),r=c,s<0?(y[i+o]=s+d,s=-1):(y[i+o]=s,s=0);while(0!==s){for(a-=1,r=0,o=0;o<u;o++)r+=y[i+o]-d+_[o],r<0?(y[i+o]=r+d,r=0):(y[i+o]=r,r=1);s+=r}p[i]=a}return y=O(y,g)[0],[h(p),h(y)]}function D(e,n){var a,i,r,s,o,u=e.length,c=n.length,l=[],f=[],d=t;while(u)if(f.unshift(e[--u]),p(f),E(f,n)<0)l.push(0);else{i=f.length,r=f[i-1]*d+f[i-2],s=n[c-1]*d+n[c-2],i>c&&(r=(r+1)*d),a=Math.ceil(r/s);do{if(o=x(n,a),E(o,f)<=0)break;a--}while(a);l.push(a),f=b(f,o)}return l.reverse(),[h(l),h(f)]}function O(e,t){var n,a,i,r,s=e.length,o=v(s);for(i=0,n=s-1;n>=0;--n)r=1e7*i+e[n],a=m(r/t),i=r-a*t,o[n]=0|a;return[o,0|i]}function P(e,n){var a,i=Y(n);if(s)return[new l(e.value/i.value),new l(e.value%i.value)];var r,f=e.value,p=i.value;if(0===p)throw new Error("Cannot divide by zero");if(e.isSmall)return i.isSmall?[new c(m(f/p)),new c(f%p)]:[o[0],e];if(i.isSmall){if(1===p)return[e,o[0]];if(-1==p)return[e.negate(),o[0]];var v=Math.abs(p);if(v<t){a=O(f,v),r=h(a[0]);var g=a[1];return e.sign&&(g=-g),"number"===typeof r?(e.sign!==i.sign&&(r=-r),[new c(r),new c(g)]):[new u(r,e.sign!==i.sign),new c(g)]}p=d(v)}var y=E(f,p);if(-1===y)return[o[0],e];if(0===y)return[o[e.sign===i.sign?1:-1],o[0]];a=f.length+p.length<=200?T(f,p):D(f,p),r=a[0];var _=e.sign!==i.sign,b=a[1],w=e.sign;return"number"===typeof r?(_&&(r=-r),r=new c(r)):r=new u