UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines 27.1 kB
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["assets/utils/helpers.js"]=n():t["assets/utils/helpers.js"]=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="../es",n(n.s=707)}({0:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},1:function(t,n,e){var r=e(28)("wks"),o=e(25),i=e(0).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},104:function(t,n,e){var r=e(44),o=e(29).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},11:function(t,n,e){var r=e(45),o=e(19);t.exports=function(t){return r(o(t))}},121:function(t,n,e){t.exports={default:e(122),__esModule:!0}},122:function(t,n,e){var r=e(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},135:function(t,n,e){var r=e(11),o=e(104).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?a(t):o(r(t))}},15:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},150:function(t,n,e){t.exports={default:e(151),__esModule:!0}},151:function(t,n,e){e(152),t.exports=e(2).Object.assign},152:function(t,n,e){var r=e(23);r(r.S+r.F,"Object",{assign:e(153)})},153:function(t,n,e){"use strict";var r=e(3),o=e(31),i=e(77),u=e(61),a=e(37),c=e(45),f=Object.assign;t.exports=!f||e(15)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=f({},t)[e]||Object.keys(f({},n)).join("")!=r})?function(t,n){for(var e=a(t),f=arguments.length,s=1,l=i.f,p=u.f;f>s;)for(var d,y=c(arguments[s++]),v=l?o(y).concat(l(y)):o(y),h=v.length,g=0;h>g;)d=v[g++],r&&!p.call(y,d)||(e[d]=y[d]);return e}:f},154:function(t,n,e){"use strict";var r=e(0),o=e(5),i=e(3),u=e(23),a=e(54),c=e(155).KEY,f=e(15),s=e(28),l=e(32),p=e(25),d=e(1),y=e(86),v=e(92),h=e(156),g=e(157),m=e(6),b=e(7),x=e(37),S=e(11),w=e(38),O=e(26),j=e(55),_=e(135),M=e(158),P=e(77),A=e(9),E=e(31),I=M.f,T=A.f,L=_.f,N=r.Symbol,k=r.JSON,F=k&&k.stringify,C=d("_hidden"),R=d("toPrimitive"),W={}.propertyIsEnumerable,D=s("symbol-registry"),B=s("symbols"),U=s("op-symbols"),H=Object.prototype,J="function"==typeof N&&!!P.f,V=r.QObject,z=!V||!V.prototype||!V.prototype.findChild,G=i&&f(function(){return 7!=j(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=I(H,n);r&&delete H[n],T(t,n,e),r&&t!==H&&T(H,n,r)}:T,$=function(t){var n=B[t]=j(N.prototype);return n._k=t,n},q=J&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},K=function(t,n,e){return t===H&&K(U,n,e),m(t),n=w(n,!0),m(e),o(B,n)?(e.enumerable?(o(t,C)&&t[C][n]&&(t[C][n]=!1),e=j(e,{enumerable:O(0,!1)})):(o(t,C)||T(t,C,O(1,{})),t[C][n]=!0),G(t,n,e)):T(t,n,e)},Q=function(t,n){m(t);for(var e,r=h(n=S(n)),o=0,i=r.length;i>o;)K(t,e=r[o++],n[e]);return t},Y=function(t,n){return void 0===n?j(t):Q(j(t),n)},Z=function(t){var n=W.call(this,t=w(t,!0));return!(this===H&&o(B,t)&&!o(U,t))&&(!(n||!o(this,t)||!o(B,t)||o(this,C)&&this[C][t])||n)},X=function(t,n){if(t=S(t),n=w(n,!0),t!==H||!o(B,n)||o(U,n)){var e=I(t,n);return!e||!o(B,n)||o(t,C)&&t[C][n]||(e.enumerable=!0),e}},tt=function(t){for(var n,e=L(S(t)),r=[],i=0;e.length>i;)o(B,n=e[i++])||n==C||n==c||r.push(n);return r},nt=function(t){for(var n,e=t===H,r=L(e?U:S(t)),i=[],u=0;r.length>u;)!o(B,n=r[u++])||e&&!o(H,n)||i.push(B[n]);return i};J||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===H&&n.call(U,e),o(this,C)&&o(this[C],t)&&(this[C][t]=!1),G(this,t,O(1,e))};return i&&z&&G(H,t,{configurable:!0,set:n}),$(t)},a(N.prototype,"toString",function(){return this._k}),M.f=X,A.f=K,e(104).f=_.f=tt,e(61).f=Z,P.f=nt,i&&!e(21)&&a(H,"propertyIsEnumerable",Z,!0),y.f=function(t){return $(d(t))}),u(u.G+u.W+u.F*!J,{Symbol:N});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;et.length>rt;)d(et[rt++]);for(var ot=E(d.store),it=0;ot.length>it;)v(ot[it++]);u(u.S+u.F*!J,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=N(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var n in D)if(D[n]===t)return n},useSetter:function(){z=!0},useSimple:function(){z=!1}}),u(u.S+u.F*!J,"Object",{create:Y,defineProperty:K,defineProperties:Q,getOwnPropertyDescriptor:X,getOwnPropertyNames:tt,getOwnPropertySymbols:nt});var ut=f(function(){P.f(1)});u(u.S+u.F*ut,"Object",{getOwnPropertySymbols:function(t){return P.f(x(t))}}),k&&u(u.S+u.F*(!J||f(function(){var t=N();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(b(n)||void 0!==t)&&!q(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!q(n))return n}),r[1]=n,F.apply(k,r)}}),N.prototype[R]||e(4)(N.prototype,R,N.prototype.valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},155:function(t,n,e){var r=e(25)("meta"),o=e(7),i=e(5),u=e(9).f,a=0,c=Object.isExtensible||function(){return!0},f=!e(15)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!n)return"E";s(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!c(t))return!0;if(!n)return!1;s(t)}return t[r].w},d=function(t){return f&&y.NEED&&c(t)&&!i(t,r)&&s(t),t},y=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},156:function(t,n,e){var r=e(31),o=e(77),i=e(61);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,a=e(t),c=i.f,f=0;a.length>f;)c.call(t,u=a[f++])&&n.push(u);return n}},157:function(t,n,e){var r=e(24);t.exports=Array.isArray||function(t){return"Array"==r(t)}},158:function(t,n,e){var r=e(61),o=e(26),i=e(11),u=e(38),a=e(5),c=e(47),f=Object.getOwnPropertyDescriptor;n.f=e(3)?f:function(t,n){if(t=i(t),n=u(n,!0),c)try{return f(t,n)}catch(t){}if(a(t,n))return o(!r.f.call(t,n),t[n])}},18:function(t,n){t.exports={}},19:function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2:function(t,n){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},20:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},21:function(t,n){t.exports=!0},22:function(t,n,e){var r=e(28)("keys"),o=e(25);t.exports=function(t){return r[t]||(r[t]=o(t))}},23:function(t,n,e){var r=e(0),o=e(2),i=e(33),u=e(4),a=e(5),c=function(t,n,e){var f,s,l,p=t&c.F,d=t&c.G,y=t&c.S,v=t&c.P,h=t&c.B,g=t&c.W,m=d?o:o[n]||(o[n]={}),b=m.prototype,x=d?r:y?r[n]:(r[n]||{}).prototype;d&&(e=n);for(f in e)(s=!p&&x&&void 0!==x[f])&&a(m,f)||(l=s?x[f]:e[f],m[f]=d&&"function"!=typeof x[f]?e[f]:h&&s?i(l,r):g&&x[f]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((m.virtual||(m.virtual={}))[f]=l,t&c.R&&b&&!b[f]&&u(b,f,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},24:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},25:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},26:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},267:function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(268),i=r(o),u=e(270),a=r(u),c="function"==typeof a.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===c(i.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":c(t)}},268:function(t,n,e){t.exports={default:e(269),__esModule:!0}},269:function(t,n,e){e(66),e(70),t.exports=e(86).f("iterator")},270:function(t,n,e){t.exports={default:e(271),__esModule:!0}},271:function(t,n,e){e(154),e(94),e(272),e(273),t.exports=e(2).Symbol},272:function(t,n,e){e(92)("asyncIterator")},273:function(t,n,e){e(92)("observable")},28:function(t,n,e){var r=e(2),o=e(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(21)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},29:function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},3:function(t,n,e){t.exports=!e(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,n,e){var r=e(7),o=e(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},31:function(t,n,e){var r=e(44),o=e(29);t.exports=Object.keys||function(t){return r(t,o)}},32:function(t,n,e){var r=e(9).f,o=e(5),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},33:function(t,n,e){var r=e(34);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},34:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},37:function(t,n,e){var r=e(19);t.exports=function(t){return Object(r(t))}},38:function(t,n,e){var r=e(7);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},4:function(t,n,e){var r=e(9),o=e(26);t.exports=e(3)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},44:function(t,n,e){var r=e(5),o=e(11),i=e(52)(!1),u=e(22)("IE_PROTO");t.exports=function(t,n){var e,a=o(t),c=0,f=[];for(e in a)e!=u&&r(a,e)&&f.push(e);for(;n.length>c;)r(a,e=n[c++])&&(~i(f,e)||f.push(e));return f}},45:function(t,n,e){var r=e(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},46:function(t,n,e){var r=e(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},47:function(t,n,e){t.exports=!e(3)&&!e(15)(function(){return 7!=Object.defineProperty(e(30)("div"),"a",{get:function(){return 7}}).a})},48:function(t,n,e){"use strict";var r=e(21),o=e(23),i=e(54),u=e(4),a=e(18),c=e(68),f=e(32),s=e(69),l=e(1)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,n,e,y,v,h,g){c(e,n,y);var m,b,x,S=function(t){if(!p&&t in _)return _[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},w=n+" Iterator",O="values"==v,j=!1,_=t.prototype,M=_[l]||_["@@iterator"]||v&&_[v],P=M||S(v),A=v?O?S("entries"):P:void 0,E="Array"==n?_.entries||M:M;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,w,!0),r||"function"==typeof x[l]||u(x,l,d)),O&&M&&"values"!==M.name&&(j=!0,P=function(){return M.call(this)}),r&&!g||!p&&!j&&_[l]||u(_,l,P),a[n]=P,a[w]=d,v)if(m={values:O?P:S("values"),keys:h?P:S("keys"),entries:A},g)for(b in m)b in _||i(_,b,m[b]);else o(o.P+o.F*(p||j),n,m);return m}},5:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},50:function(t,n,e){var r=e(0).document;t.exports=r&&r.documentElement},52:function(t,n,e){var r=e(11),o=e(46),i=e(53);t.exports=function(t){return function(n,e,u){var a,c=r(n),f=o(c.length),s=i(u,f);if(t&&e!=e){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===e)return t||s||0;return!t&&-1}}},53:function(t,n,e){var r=e(20),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},54:function(t,n,e){t.exports=e(4)},55:function(t,n,e){var r=e(6),o=e(62),i=e(29),u=e(22)("IE_PROTO"),a=function(){},c=function(){var t,n=e(30)("iframe"),r=i.length;for(n.style.display="none",e(50).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(a.prototype=r(t),e=new a,a.prototype=null,e[u]=t):e=c(),void 0===n?e:o(e,n)}},6:function(t,n,e){var r=e(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},61:function(t,n){n.f={}.propertyIsEnumerable},62:function(t,n,e){var r=e(9),o=e(6),i=e(31);t.exports=e(3)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),a=u.length,c=0;a>c;)r.f(t,e=u[c++],n[e]);return t}},66:function(t,n,e){"use strict";var r=e(67)(!0);e(48)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},67:function(t,n,e){var r=e(20),o=e(19);t.exports=function(t){return function(n,e){var i,u,a=String(o(n)),c=r(e),f=a.length;return c<0||c>=f?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===f||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536)}}},68:function(t,n,e){"use strict";var r=e(55),o=e(26),i=e(32),u={};e(4)(u,e(1)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},69:function(t,n,e){var r=e(5),o=e(37),i=e(22)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},7:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},70:function(t,n,e){e(71);for(var r=e(0),o=e(4),i=e(18),u=e(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var f=a[c],s=r[f],l=s&&s.prototype;l&&!l[u]&&o(l,u,f),i[f]=i.Array}},707:function(t,n,e){"use strict";function r(t,n){if(t.findIndex)return t.findIndex(n);var e=-1;return t.some(function(t,r,o){var i=n.call(this,t,r,o);if(i)return e=r,i}),e}function o(t){return t?JSON.parse($()(t)):t}function i(t,n){for(var e in n)t[e]&&"object"===z()(t[e])?i(t[e],n[e]):t[e]=n[e]}function u(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t){return"[object Number]"===Object.prototype.toString.call(t)}function f(t){return"[object Object]"===Object.prototype.toString.call(t)}function s(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function l(t){return null===t}function p(t){return void 0!==t&&null!==t}function d(t){return void 0===t}function y(t){return"[object Error]"===Object.prototype.toString.call(t)}function v(t){return"function"==typeof t}function h(t){return"[object Promise]"===Object.prototype.toString.call(t)||f(t)&&v(t.then)}function g(t,n,e){function r(n){var e=h,r=g;return h=g=void 0,w=n,b=t.apply(r,e)}function o(t,n){return M?(window.cancelAnimationFrame(x),window.requestAnimationFrame(t)):setTimeout(t,n)}function i(t){if(M)return window.cancelAnimationFrame(t);clearTimeout(t)}function u(t){return w=t,x=o(s,n),O?r(t):b}function a(t){var e=t-S,r=t-w,o=n-e;return j?Math.min(o,m-r):o}function c(t){var e=t-S,r=t-w;return void 0===S||e>=n||e<0||j&&r>=m}function s(){var t=Date.now();if(c(t))return l(t);x=o(s,a(t))}function l(t){return x=void 0,_&&h?r(t):(h=g=void 0,b)}function p(){void 0!==x&&i(x),w=0,h=S=g=x=void 0}function d(){return void 0===x?b:l(Date.now())}function y(){return void 0!==x}function v(){for(var t=Date.now(),e=c(t),i=arguments.length,a=Array(i),f=0;f<i;f++)a[f]=arguments[f];if(h=a,g=this,S=t,e){if(void 0===x)return u(S);if(j)return x=o(s,n),r(S)}return void 0===x&&(x=o(s,n)),b}var h=void 0,g=void 0,m=void 0,b=void 0,x=void 0,S=void 0,w=0,O=!1,j=!1,_=!0,M=!n&&0!==n&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return n=+n||0,f(e)&&(O=!!e.leading,j="maxWait"in e,m=j?Math.max(+e.maxWait||0,n):m,_="trailing"in e?!!e.trailing:_),v.cancel=p,v.flush=d,v.pending=y,v}function m(t,n,e){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return f(e)&&(r="leading"in e?!!e.leading:r,o="trailing"in e?!!e.trailing:o),g(t,n,{leading:r,trailing:o,maxWait:n})}function b(t){return"function"==typeof t&&/native code/.test(t.toString())}function x(t){return!!/^1\d{10}$/.test(t)}function S(t){var n=t.length;return n>3&&n<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):n>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,n,e){return n+" "+e.replace(/(.{4})(?=.)/g,"$1 ")})),t}function w(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function O(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function j(t){return t.replace(/[\u4e00-\u9fa5]/gi,"").replace(/\s*/gi,"").substr(0,40)}function _(t){if(!t)return"";var n=t.length;return 2===n?t.split("").join("&emsp;&emsp;"):3===n?t.split("").join("&ensp;"):t}function M(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t.offsetWidth;if(n){var r=t.currentStyle||getComputedStyle(t);e+=parseInt(r.marginLeft||0)+parseInt(r.marginRight||0)}return e}function P(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t.offsetHeight;if(n){var r=t.currentStyle||getComputedStyle(t);e+=parseInt(r.marginTop||0)+parseInt(r.marginBottom||0)}return e}function A(t,n){var e=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),r=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),o=null;return e?o={r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16)}:r&&(o={r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}),o?void 0!==n?"rgba("+o.r+", "+o.g+", "+o.b+", "+n+")":"rgb("+o.r+", "+o.g+", "+o.b+")":""}function E(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",e=n.length,r="";t=t||32;for(var o=0;o<t;o++)r+=n.charAt(Math.floor(Math.random()*e));return r}function I(t,n){var e=n||location.href,r=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),o=e.match(r);return o&&o[2]}function T(t){var n=window.getComputedStyle(t),e="none"===n.display,r=null===t.offsetParent&&"fixed"!==n.position;return e||r}function L(t,n,e){return Math.min(Math.max(t,n),e)}function N(t){var n=/os (\d\d?_\d(_\d)?)/,e=n.exec(t);if(!e)return null;var r=e[1].split("_").map(function(t){return parseInt(t,10)});return{major:r[0],minor:r[1],patch:r[2]||0}}function k(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n=n||window.location.href;var e=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),r=n.match(e);return decodeURIComponent(r?r[2]:"")}function F(t){return t?y(t)?t.message:a(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}function C(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[],e=new RegExp("https?://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]"),r=0;r<t.length;r++){var o=t[r];if(!e.test(o))return;n.push(o.split("?")[0])}return n}function R(t){var n=JSON.parse($()(t)),e=n.attrModules,r=void 0===e?{}:e,o=n.plan,i=r.applicant,a=r.insureds,c=r.hcpics,f=r.hctext,s=r.makeup,l=r.apphctext,p=r.apphcpics,d={},y=function(t){var n=null,e=null,r=null,o=null,i={},a={},c={};for(var f in t){var s=t[f].defaultValue,l=t[f].required,p=t[f].display;if(u(s)){var d=C(s);d&&(s=d)}1!==Number(l)&&1!==Number(p)||("idType"===f||"id"===f||"idValidType"===f||"idValidEndTime"===f||"idValidStartTime"===f?(n=n||{},n[f]=s):"socialInsAddr"===f||"socialInsDetail"===f||"socialInsPost"===f||"socialInsTel"===f?(e=e||{},e[f]=s):"residentAddr"===f||"residentDetail"===f||"residentPost"===f||"residentTel"===f?(r=r||{},r[f]=s):"officeAddr"===f||"officeDetail"===f||"officePost"===f||"officeTel"===f?(o=o||{},o[f]=s):"companyIdType"===f||"companyId"===f?(a=a||{},a[f]=s):"detail"===f?(c=c||{},c[f]=s):i[f]=s)}return n&&(i.certificate=n),e&&(i.socialIns=e),r&&(i.resident=r),o&&(i.office=o),a&&(i.companyCertificate=a),c&&(i.companyAddress=c),i};if(r.plan&&(o=y(r.plan)),i&&(d.applicant={},i&&(d.applicant=y(i))),a||o){d.insureds=[];for(var v=a||[""],h=0;h<v.length;h++){var g=v[h],m=null,b={};g&&(m=y(g)),m&&(b.insured=m),o&&(b.plan=o),d.insureds.push(b)}}if(f&&(d.hctext=y(f)),l&&(d.apphctext=y(l)),c&&(d.hcpics=y(c)),p&&(d.apphcpics=y(p)),s){d.makeup={};for(var x=s||[""],S=0;S<x.length;S++){var w=x[S],O=null;w&&(O=y(w)),O&&(d.makeup=J()(d.makeup,O))}}return d}function W(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,n=URL.createObjectURL(new Blob).toString();return URL.revokeObjectURL(n),(n.substring(n.lastIndexOf("/")+1)||"").replace(new RegExp("-","g"),"").substring(0,t)}function D(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(performance.memory){var n=performance.memory;console.log(t+"后-内存使用情况:"),console.log("已使用:",(n.usedJSHeapSize/1024/1024).toFixed(2),"MB"),console.log("总分配:",(n.totalJSHeapSize/1024/1024).toFixed(2),"MB"),console.log("限制:",(n.jsHeapSizeLimit/1024/1024).toFixed(2),"MB"),n.usedJSHeapSize/n.jsHeapSizeLimit>.8&&console.warn("内存使用率过高!")}}function B(t){if("string"!=typeof t)return!1;var n=t.toLowerCase();try{return"pdf"===new URL(n.startsWith("http")?n:"https://"+n).pathname.split(".").pop()}catch(t){return/.pdf($|\?|#)/.test(n)}}function U(t){try{if(!t||"string"!=typeof t)return{id:"",originalName:"",error:"输入参数无效"};var n=t.trim();if(n.startsWith("http://")||n.startsWith("https://")){var e=n.split("/");if(0===e.length)return{id:"",originalName:"",error:"URL格式错误"};n=e.pop().split("?")[0]}if(!n.includes("~~"))return{id:"",originalName:n,error:"文件名不包含~~分隔符"};var r=n.split("~~");if(r.length<2)return{id:"",originalName:n,error:"文件名格式错误"};var o=r[0]||"",i=r[1].replace(/\.[^.]+$/,"");if(!i)return{id:o,originalName:"",error:"Base64编码部分为空"};for(var u=i.replace(/-/g,"+").replace(/_/g,"/");u.length%4;)u+="=";var a="";try{a=atob(u)}catch(t){return{id:o,originalName:"",error:"Base64解码失败: "+t.message}}var c="";try{var f=Uint8Array.from(a,function(t){return t.charCodeAt(0)});c=new TextDecoder("utf-8").decode(f)}catch(t){try{c=decodeURIComponent(a)}catch(t){c=a}}return{id:o,originalName:c,error:null}}catch(t){return console.error("parseEncodedFile 解析错误:",t),{id:"",originalName:"",error:t&&t.message||"未知错误"}}}Object.defineProperty(n,"__esModule",{value:!0}),e.d(n,"ua",function(){return st}),e.d(n,"isMucWebAutoTester",function(){return lt}),n.findIndex=r,n.deepCopy=o,n.deepAssign=i,n.isArray=u,n.isString=a,n.isNumber=c,n.isObject=f,n.isBoolean=s,n.isNull=l,n.isDef=p,n.isUndefined=d,n.isError=y,n.isFunction=v,n.isPromise=h,n.debounce=g,n.throttle=m,n.isNative=b,n.isMobile=x,n.formatMobile=S,n.formatBankCard=w,n.formatFontSize=O,n.formatEmail=j,n.formatTitle=_,n.outerWidth=M,n.outerHeight=P,n.hexToRgb=A,n.randomString=E,n.getParam=I,n.isHidden=T,n.range=L,n.getIOSVersion=N,n.getParameter=k,n.getErrmsg=F,n.getApiData=R,e.d(n,"isIphonexOrMore",function(){return pt}),n.createUUID=W,n.monitorMemory=D,n.isPdfUrl=B,n.parseEncodedFile=U;var H=e(150),J=e.n(H),V=e(267),z=e.n(V),G=e(121),$=e.n(G),q="undefined"!=typeof window,K=q&&window.navigator.userAgent.toLowerCase(),Q=K&&/msie|trident/.test(K),Y=K&&K.indexOf("msie 9.0")>0,Z=K&&K.indexOf("edge/")>0,X=K&&K.indexOf("android")>0,tt=K&&/iphone|ipad|ipod|ios/.test(K),nt=K&&/arkweb|harmony/.test(K),et=K&&/chrome\/\d+/.test(K)&&!Z,rt=K&&/MicroMessenger/i.test(K),ot=K&&/wxwork/i.test(K),it=K&&/mucxiaoyusan/i.test(K),ut=K&&/muckacabao/i.test(K),at=K&&/mucyanxuan/i.test(K),ct=it||ut,ft=K&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(K),st={isIE:Q,isMobile:ft,isIE9:Y,isEdge:Z,isAndroid:X,isIOS:tt,isHarmonyOS:nt,isChrome:et,isWx:rt,isWxWork:ot,isApp:ct,isXysApp:it,isKcbApp:ut,isYxApp:at},lt=/MucWebAutoTester/.test(window.navigator.userAgent),pt=function(){return!("undefined"==typeof window||!window)&&(/iphone/gi.test(window.navigator.userAgent)&&window.screen.height>=812)}},71:function(t,n,e){"use strict";var r=e(72),o=e(73),i=e(18),u=e(11);t.exports=e(48)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},72:function(t,n){t.exports=function(){}},73:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},77:function(t,n){n.f=Object.getOwnPropertySymbols},86:function(t,n,e){n.f=e(1)},9:function(t,n,e){var r=e(6),o=e(47),i=e(38),u=Object.defineProperty;n.f=e(3)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},92:function(t,n,e){var r=e(0),o=e(2),i=e(21),u=e(86),a=e(9).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},94:function(t,n){}})});