(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{247:function(e,t,n){var r;n(32),n(148),n(292),n(295),
/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/
function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,r));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},248:function(e,t,n){"use strict";var r=n(2),o=n(17),i=n(7),a=n(0),c=n(175),u=n(3),s=n(87),f=n(8),l=n(159),p=n(25),d=n(57),h=n(160),g=n(1),m=n(56).f,y=n(82).f,v=n(11).f,w=n(428),b=n(314).trim,k=a.Number,S=c.Number,_=k.prototype,O=a.TypeError,A=u("".slice),P=u("".charCodeAt),E=function(e){var t=h(e,"number");return"bigint"==typeof t?t:I(t)},I=function(e){var t,n,r,o,i,a,c,u,s=h(e,"number");if(d(s))throw new O("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=b(s),43===(t=P(s,0))||45===t){if(88===(n=P(s,2))||120===n)return NaN}else if(48===t){switch(P(s,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=A(s,2)).length,c=0;c<a;c++)if((u=P(i,c))<48||u>o)return NaN;return parseInt(i,r)}return+s},x=s("Number",!k(" 0o1")||!k("0b1")||k("+0x1")),T=function(e){return p(_,e)&&g((function(){w(e)}))},L=function(e){var t=arguments.length<1?0:k(E(e));return T(this)?l(Object(t),this,L):t};L.prototype=_,x&&!o&&(_.constructor=L),r({global:!0,constructor:!0,wrap:!0,forced:x},{Number:L});var N=function(e,t){for(var n,r=i?m(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)f(t,n=r[o])&&!f(e,n)&&v(e,n,y(t,n))};o&&S&&N(c.Number,S),(x||o)&&N(c.Number,k)},303:function(e,t,n){"use strict";var r=n(2),o=n(405);r({target:"String",proto:!0,forced:n(406)("link")},{link:function(e){return o(this,"a","href",e)}})},307:function(e,t,n){"use strict";var r=n(2),o=n(0),i=n(21);r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},346:function(e,t,n){"use strict";var r=n(2),o=n(14),i=n(51),a=n(551),c=n(164),u=n(9),s=n(10),f=n(27),l=n(1),p=o("Reflect","construct"),d=Object.prototype,h=[].push,g=l((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),m=!l((function(){p((function(){}))})),y=g||m;r({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(e,t){c(e),u(t);var n=arguments.length<3?e:c(arguments[2]);if(m&&!g)return p(e,t,n);if(e===n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return i(h,r,t),new(i(a,e,r))}var o=n.prototype,l=f(s(o)?o:d),y=i(e,l,t);return s(y)?y:l}})},347:function(e,t,n){"use strict";var r=n(2),o=n(358),i=n(161);r({target:"Array",proto:!0},{fill:o}),i("fill")},367:function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(147),n(150),n(102),n(149),n(292),n(295),n(233),n(234),n(249),n(146),n(248),n(47),n(66),n(429),n(243),n(232),n(283),n(32),n(238),n(68),n(285),n(69),n(235),n(71),n(73),n(74),n(48),n(70);var i=n(529),a=n(530),c=n(531),u=n(532);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function f(e,t){return t.encode?t.strict?i(e):encodeURIComponent(e):e}function l(e,t){return t.decode?a(e):e}function p(e){var t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){var t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function g(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return function(t,n,r){var o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&l(n,e).includes(e.arrayFormatSeparator);n=i?l(n,e):n;var a=o||i?n.split(e.arrayFormatSeparator).map((function(t){return l(t,e)})):null===n?n:l(n,e);r[t]=a};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),o=Object.create(null);if("string"!=typeof e)return o;if(!(e=e.trim().replace(/^[?#&]/,"")))return o;for(var i,a=r(e.split("&"));!(i=a()).done;){var u=i.value;if(""!==u){var f=c(t.decode?u.replace(/\+/g," "):u,"="),p=f[0],d=f[1];d=void 0===d?null:["comma","separator"].includes(t.arrayFormat)?d:l(d,t),n(l(p,t),d,o)}}for(var g=0,m=Object.keys(o);g<m.length;g++){var y=m[g],v=o[y];if("object"==typeof v&&null!==v)for(var w=0,b=Object.keys(v);w<b.length;w++){var k=b[w];v[k]=h(v[k],t)}else o[y]=h(v,t)}return!1===t.sort?o:(!0===t.sort?Object.keys(o).sort():Object.keys(o).sort(t.sort)).reduce((function(e,t){var n=o[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return t[e]})):t}(n):e[t]=n,e}),Object.create(null))}t.extract=d,t.parse=g,t.stringify=function(e,t){if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);for(var n=function(n){return t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n]},r=function(e){switch(e.arrayFormat){case"index":return function(t){return function(n,r){var o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(n,null===r?[[f(t,e),"[",o,"]"].join("")]:[[f(t,e),"[",f(o,e),"]=",f(r,e)].join("")])}};case"bracket":return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(n,null===r?[[f(t,e),"[]"].join("")]:[[f(t,e),"[]=",f(r,e)].join("")])}};case"comma":case"separator":return function(t){return function(n,r){return null==r||0===r.length?n:0===n.length?[[f(t,e),"=",f(r,e)].join("")]:[[n,f(r,e)].join(e.arrayFormatSeparator)]}};default:return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(n,null===r?[f(t,e)]:[[f(t,e),"=",f(r,e)].join("")])}}}}(t),o={},i=0,a=Object.keys(e);i<a.length;i++){var c=a[i];n(c)||(o[c]=e[c])}var u=Object.keys(o);return!1!==t.sort&&u.sort(t.sort),u.map((function(n){var o=e[n];return void 0===o?"":null===o?f(n,t):Array.isArray(o)?o.reduce(r(n),[]).join("&"):f(n,t)+"="+f(o,t)})).filter((function(e){return e.length>0})).join("&")},t.parseUrl=function(e,t){t=Object.assign({decode:!0},t);var n=c(e,"#"),r=n[0],o=n[1];return Object.assign({url:r.split("?")[0]||"",query:g(d(e),t)},t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:l(o,t)}:{})},t.stringifyUrl=function(e,n){n=Object.assign({encode:!0,strict:!0},n);var r=p(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query),c=t.stringify(a,n);c&&(c="?"+c);var u=function(e){var t="",n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u="#"+f(e.fragmentIdentifier,n)),""+r+c+u},t.pick=function(e,n,r){r=Object.assign({parseFragmentIdentifier:!0},r);var o=t.parseUrl(e,r),i=o.url,a=o.query,c=o.fragmentIdentifier;return t.stringifyUrl({url:i,query:u(a,n),fragmentIdentifier:c},r)},t.exclude=function(e,n,r){var o=Array.isArray(n)?function(e){return!n.includes(e)}:function(e,t){return!n(e,t)};return t.pick(e,o,r)}},377:function(e,t,n){"use strict";n(67),n(71),n(73),n(32),n(74),n(48),n(69),n(70),n(146),n(238),n(276),n(45),n(46),n(337),n(287),n(80),n(76),n(77),n(78),n(75),n(68),n(72),n(49),n(79),n(66),n(346),n(307),n(552),n(553),n(248),n(148),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(231),o=n(555),i=n(241),a=n(558);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
f=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function l(e,t,n,o){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),c=new E(o||[]);return r(a,"_invoke",{value:_(e,n,c)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var d={};function h(){}function g(){}function m(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,w=v&&v(v(I([])));w&&w!==t&&n.call(w,i)&&(y=w);var b=m.prototype=h.prototype=Object.create(y);function k(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){var o;r(this,"_invoke",{value:function(r,i){function a(){return new t((function(o,a){!function r(o,i,a,u){var s=p(e[o],e,i);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==c(l)&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(l).then((function(e){f.value=e,a(f)}),(function(e){return r("throw",e,a,u)}))}u(s.arg)}(r,i,o,a)}))}return o=o?o.then(a,a):a()}})}function _(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return x()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=O(a,n);if(c){if(c===d)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=p(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function O(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=p(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function A(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 P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function I(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:x}}function x(){return{value:void 0,done:!0}}return g.prototype=m,r(b,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:g,configurable:!0}),g.displayName=s(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},k(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new S(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(b),s(b,u,"Generator"),s(b,i,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=I,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:I(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function l(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,w(r.key),r)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(w,e);var t,n,c,u,g,y=h(w);function w(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),v(m(t=y.call(this,e)),"container",void 0),v(m(t),"id",void 0),v(m(t),"buwang",void 0),v(m(t),"buwangConfig",void 0),v(m(t),"state",{rollback:!1,width:0,height:0}),v(m(t),"download",(function(){t.props.onClick&&t.props.onClick();var e=t.props.buwangOptions||{};t.buwang.download(e)})),v(m(t),"onLaunch",(function(e){t.props.onClick&&t.props.onClick(),t.props.onLaunch&&t.props.onLaunch(e)})),v(m(t),"onError",(function(e){t.props.onClick&&t.props.onClick(),t.props.onError&&t.props.onError(e);var n=t.props.buwangOptions||{};t.buwang.download(n)}));var n=(0,o.createInstance)();return n.setup(e.config),t.id=Math.random().toString(16).slice(2,10),t.buwang=n,t.buwangConfig=n.getInfo()||n.getInfo("others"),t}return t=w,(n=[{key:"isOpenTagValid",get:function(){return(0,i.isWechat)()&&!!this.props.biz&&!!this.props.appId}},{key:"init",value:(u=f().mark((function e(){var t,n,r,o,i,c,u;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.isOpenTagValid){e.next=2;break}return e.abrupt("return");case 2:return t=this.container.getBoundingClientRect(),n=t.width,r=t.height,this.setState({width:n,height:r}),o=this.props.biz,i=["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ"],c=["wx-open-launch-app"],e.prev=7,e.next=10,(0,a.easyConfig)({biz:o,debug:!1,jsApiList:i,openTagList:c});case 10:(u=document.getElementById(this.id))&&(u.addEventListener("launch",this.onLaunch),u.addEventListener("error",this.onError)),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(7),this.setState({rollback:!0});case 17:case"end":return e.stop()}}),e,this,[[7,14]])})),g=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=u.apply(e,t);function i(e){l(o,n,r,i,a,"next",e)}function a(e){l(o,n,r,i,a,"throw",e)}i(void 0)}))},function(){return g.apply(this,arguments)})},{key:"destroy",value:function(){if((0,i.isWechat)()){var e=document.getElementById(this.id);e&&(e.removeEventListener("launch",this.onLaunch),e.removeEventListener("error",this.onError))}}},{key:"componentDidMount",value:function(){this.init()}},{key:"componentWillUnmount",value:function(){this.destroy()}},{key:"renderWxOpenTag",value:function(){var e=this,t=this.buwangConfig.ucLink,n=this.props,o=n.appId,i=n.className,a=s(s({position:"relative"},this.props.style),{},{overflow:"hidden"}),c="".concat(this.state.width,"px"),u="".concat(this.state.height,"px");return(0,r.createElement)("div",{className:i,style:a,ref:function(t){e.container=t},onClick:this.download},this.props.children,(0,r.createElement)("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"},"data-extinfo":t},(0,r.createElement)("wx-open-launch-app",{id:this.id,appid:o,extinfo:t},(0,r.createElement)("script",{type:"text/wxtag-template"},(0,r.createElement)("div",{style:{width:c,height:u,opacity:0}},"\u5728 App \u6253\u5f00")))))}},{key:"renderFallback",value:function(){var e=this,t=this.props.className,n=s(s({position:"relative"},this.props.style),{},{overflow:"hidden"});return(0,r.createElement)("div",{className:t,style:n,onClick:this.download,ref:function(t){e.container=t}},this.props.children)}},{key:"render",value:function(){return this.isOpenTagValid&&!this.state.rollback&&this.state.width&&this.state.height?this.renderWxOpenTag():this.renderFallback()}}])&&p(t.prototype,n),c&&p(t,c),Object.defineProperty(t,"prototype",{writable:!1}),w}(r.Component);t.default=b},405:function(e,t,n){"use strict";var r=n(3),o=n(26),i=n(12),a=/"/g,c=r("".replace);e.exports=function(e,t,n,r){var u=i(o(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+c(i(r),a,"&quot;")+'"'),s+">"+u+"</"+t+">"}},406:function(e,t,n){"use strict";var r=n(1);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},429:function(e,t,n){"use strict";n(2)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},443:function(e,t,n){"use strict";var r=n(2),o=n(1),i=n(19),a=n(160);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t,"number");return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},444:function(e,t,n){"use strict";var r=n(2),o=n(6);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},445:function(e,t,n){n(150);var r={utf8:{stringToBytes:function(e){return r.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(r.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=r},529:function(e,t,n){"use strict";n(102),n(149),n(32),n(148),e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},530:function(e,t,n){"use strict";n(155),n(102),n(154),n(148),n(150),n(66),n(147),n(152),n(146),n(149);var r=new RegExp("(%[a-f0-9]{2})|([^%]+?)","gi"),o=new RegExp("(%[a-f0-9]{2})+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function a(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r)||[],n=1;n<t.length;n++)t=(e=i(t,n).join("")).match(r)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},n=o.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var r=a(n[0]);r!==n[0]&&(t[n[0]]=r)}n=o.exec(e)}t["%C2"]="\ufffd";for(var i=Object.keys(t),c=0;c<i.length;c++){var u=i[c];e=e.replace(new RegExp(u,"g"),t[u])}return e}(e)}}},531:function(e,t,n){"use strict";n(47),n(66),e.exports=function(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];var n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},532:function(e,t,n){"use strict";n(146),n(47),e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],c=e[a];(o?-1!==t.indexOf(a):t(a,c,e))&&(n[a]=c)}return n}},551:function(e,t,n){"use strict";var r=n(3),o=n(22),i=n(10),a=n(8),c=n(34),u=n(60),s=Function,f=r([].concat),l=r([].join),p={},d=function(e,t,n){if(!a(p,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";p[t]=s("C,a","return new C("+l(r,",")+")")}return p[t](e,n)};e.exports=u?s.bind:function(e){var t=o(this),n=t.prototype,r=c(arguments,1),a=function(){var n=f(r,c(arguments));return this instanceof a?d(t,n.length,n):t.apply(e,n)};return i(n)&&(a.prototype=n),a}},552:function(e,t,n){"use strict";var r=n(59),o=n(176);r("toPrimitive"),o()},553:function(e,t,n){"use strict";var r=n(8),o=n(13),i=n(554),a=n(5)("toPrimitive"),c=Date.prototype;r(c,a)||o(c,a,i)},554:function(e,t,n){"use strict";var r=n(9),o=n(168),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},555:function(e,t,n){"use strict";n(67),n(66),n(32),n(68),n(285),n(69),n(102),n(235),n(71),n(73),n(74),n(48),n(70),n(47),n(146),n(238),n(276),n(45),n(46),n(337),n(287),n(153),n(147),n(283),n(149),n(234),n(152),n(103),n(233),Object.defineProperty(t,"__esModule",{value:!0}),t.createInstance=function(){return new S},t.default=void 0;var r=l(n(424)),o=l(n(556)),i=l(n(411)),a=l(n(557)),c=l(n(330)),u=n(360),s=n(241),f=["entry"];function l(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=(0,i.default)("buwang"),b=new o.default,k=r.default.parse(location.search,{ignoreQueryPrefix:!0}).entry,S=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),v(this,"__raw",null),v(this,"__defaultEntry","others"),v(this,"generateDownLink",(function(e){var t=e.downLink,n=e.landingPage;if(t&&n){var r=t.indexOf("?")>=0?"&":"?";t="".concat(t).concat(r,"dl=").concat(encodeURIComponent(n))}return t}))}var t,n,o;return t=e,(n=[{key:"data",get:function(){return this.__raw?this.__raw.data:[]}},{key:"setup",value:function(e){(0,c.default)(e&&e.data&&Array.isArray(e.data),"\u7f3a\u5c11 option.data \u53c2\u6570\u6216\u8005\u8be5\u53c2\u6570\u7c7b\u578b\u4e0d\u662f\u6570\u7ec4"),e.data.forEach(_);var t=function(e){return e.map((function(e){return m(m({},e),{},{pkgName:(0,s.isIPad)()&&"com.quark.browser"===e.pkgName&&"ios"===e.fr?"com.quark.browser.pad":e.pkgName})}))}(e.data);this.__raw={actLink:e.actLink,data:t};var n=e.ext&&e.ext.updateTime;n&&w.log("\u914d\u7f6e\u66f4\u65b0\u65f6\u95f4\uff1a".concat(new Date(n).toLocaleString())),w.log("\u914d\u7f6e\u6570\u636e\uff1a",e)}},{key:"getInfo",value:function(e,t){(0,c.default)(this.data.length,"\u9700\u8981\u5148\u8c03\u7528 setup \u65b9\u6cd5\u914d\u7f6e\u5fc5\u8981\u53c2\u6570"),e||(e=k),t||(t=(0,s.isAndroid)()?"android":"ios");var n=this.data.filter((function(n){return n.fr===t&&n.entry===e})).shift();if(!n)return null;var o=O(n.pkgName,t);if(!o&&!n.appkey)return n;var i=n.bid||o.bid,a=n.appkey||o.appkey,u=function(e,t){if(!e)return"";if(e.indexOf("{ENTRY}")>-1)return e.replace(/\{ENTRY\}/g,t);if(0===e.indexOf("ext:")||2===e.indexOf("link://"))return e;var n,o=p(e.indexOf("#")>-1?e.split("#"):[e,""],2),i=o[0],a=o[1],c=p(i.indexOf("?")>-1?i.split("?"):[i,""],2),u=c[0],s=c[1],f=r.default.parse(s);if(!(e.indexOf("uc_wx_page_name")>-1))return u+"?"+r.default.stringify(m({entry:t},f))+(a?"#"+a:"");try{var l=a.match(/uc_wx_init_params=(.+)$/),d=l?decodeURIComponent(l[1]):"{}";n=JSON.parse(d)}catch(e){n={}}return u+(s?"?":"")+s+"#uc_wx_init_params=".concat(JSON.stringify(m({entry:t},n)))}(this.__raw.actLink||"","buwang_".concat(e)),f=this.generateUCLink({appkey:a,landingPage:u}),l=this.generateDownLink({downLink:n.downLink,landingPage:u});return m(m({},n),{},{bid:i,appkey:a,landingPage:u,ucLink:f,downLink:l})}},{key:"download",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.entry,n=h(e,f),r=this.getInfo(t)||this.getInfo(this.__defaultEntry);if(r){var o=this.transform2adtrack(r);w.log("transform2adtrack",o,n),(0,s.isAndroid)()&&(0,s.isDingtalk)()&&(o.timeout=4e3),(0,u.isUnitTestEnv)()||b.sdkClick(m(m({},o),n))}else w.warn("\u672a\u627e\u5230\u5339\u914d\u5f53\u524d\u6e20\u9053\u7684\u5e03\u7f51\u914d\u7f6e\uff0c\u8bf7\u68c0\u67e5\u914d\u7f6e\u9879\u6216\u8005\u7533\u8bf7 others \u6e20\u9053\u4f5c\u4e3a\u515c\u5e95")}},{key:"generateUCLink",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.appkey,n=e.landingPage;if(!t)return"";if(!n&&t===O("com.quark.browser","ios").appkey)return"";if(!n&&t===O("com.quark.browser.pad","ios").appkey)return"";var r=A(t),o=P(t),i=n&&n.indexOf(o)>-1&&n.indexOf(t)>-1;if(i)return n;var a=n?"?action=open_url&url=".concat(encodeURIComponent(n)):"";return"".concat(r,"://").concat(o,"/").concat(t).concat(a)}},{key:"transform2adtrack",value:function(e){var t={ch:"adChannel",bid:"adBid",appkey:"appID"},n=Object.keys(e).reduce((function(n,r){return m(m({},n),{},v({},t[r]||r,e[r]))}),{});return"android"===n.fr&&"com.quark.browser"===n.pkgName&&(n.showWechatPage=!0),n}}])&&y(t.prototype,n),o&&y(t,o),e}();function _(e){(0,c.default)(e.ch,"\u914d\u7f6e ch \u4e0d\u80fd\u4e3a\u7a7a"),(0,c.default)(e.entry,"\u914d\u7f6e entry \u4e0d\u80fd\u4e3a\u7a7a"),(0,c.default)(e.fr,"\u914d\u7f6e fr \u4e0d\u80fd\u4e3a\u7a7a"),(0,c.default)(e.pkgName,"\u914d\u7f6e pkgName \u4e0d\u80fd\u4e3a\u7a7a"),(0,c.default)(e.downLink,"\u914d\u7f6e downLink \u4e0d\u80fd\u4e3a\u7a7a")}function O(e,t){return a.default.filter((function(n){return n.pkgName===e&&n.fr===t})).shift()}function A(e){return e===O("com.quark.browser","android").appkey||e===O("com.quark.browser","ios").appkey||e===O("com.quark.browser.pad","ios").appkey?"qklink":e===O("com.news.taojin","ios").appkey?"tjlink":e===O("com.ucweb.iphone.lowversion.elder","ios").appkey?"ucelder":e===O("com.citic21.user","android").appkey||e===O("com.zhongxin.95095","ios").appkey?"aklink":e===O("com.uapp.ddlearn.app","ios").appkey?"ddlink":e===O("com.uapp.chihuo","ios").appkey||e===O("com.uapp.chihuo","android").appkey?"chihuo":e===O("com.quark.scanking","ios").appkey||e===O("com.quark.scanking","android").appkey?"qkscanking":e===O("com.ucweb.iphone.pro","ios").appkey?"ucliteioslink":"uclink"}function P(e){return e===O("com.citic21.user","android").appkey||e===O("com.zhongxin.95095","ios").appkey?"www.alihealth.cn":"www.uc.cn"}var E=new S;t.default=E},556:function(e,t,n){n(67),n(102),n(152),n(234),n(242),n(235),n(149),n(32),n(148),n(66),n(151),n(240),n(45),n(46),n(49),n(146),n(71),n(238),n(276),n(337),n(287),n(147),n(47),n(68),n(103),n(150),n(243),n(73),n(74),n(48),n(69),n(70),n(153),e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=17)}([function(e){e.exports={getUCVersion:function(){var e=window.navigator.userAgent.match(/UCBrowser\/([\d\.]+)/i);return e&&e.length>1&&e[1]||""},compareVer:function(e,t){var n=0;if("string"==typeof e&&"string"==typeof t){for(var r=e.split("."),o=t.split("."),i=Math.min(r.length,o.length),a=0;a<i;a++){var c=parseInt(r[a],10),u=parseInt(o[a],10);if(c>u)return 1;if(c<u)return-1}r.length>o.length?n=1:r.length<o.length&&(n=-1)}else n=-2;return n},getOS:function(){var e=window.navigator.userAgent;return/Android/i.test(e)?"android":/iPhone|iPad|iPod/i.test(e)?"iphone":"unknown"}}},function(e,t,n){"use strict";function r(){var e=window.navigator.userAgent,t=window.navigator.platform;return t?!!function(){var e=window.navigator.platform,t=window.navigator.maxTouchPoints;return!(!e||!/iPad/i.test(e))||/Mac/i.test(e)&&!!(t&&t>2)}()||/iPad|iPhone|iPod/i.test(t):/\(i[^;]+;( U;)? CPU.+Mac OS X/i.test(e)}function o(){return i()?window.top:window}function i(){return self!==top&&""===location.hostname}function a(e){var t=document.createElement("input");t.setAttribute("readonly","readonly"),t.setAttribute("value",e),t.setAttribute("width",0),t.setAttribute("height",0),document.body.appendChild(t),"android"===c.getOS()&&t.select(),t.setSelectionRange(0,t.value.length),document.execCommand("copy"),document.body.removeChild(t)}var c=n(0),u=o();e.exports={isUC:function(){var e=window.ucapi&&"function"==typeof window.ucapi.invoke;return!e&&i()?window.top.ucapi&&"function"==typeof window.top.ucapi.invoke:e},isWeChat:function(){return/micromessenger/i.test(u.navigator.userAgent.toLowerCase())},isQQ:function(){return/QQ\/([\d.]+)/i.test(u.navigator.userAgent.toLowerCase())},getWindow:o,generateUUID:function(){var e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:7&n|8).toString(16)}))},copyContent:function(e,t,n){var r=t+e+n;window.ucapi&&"function"==typeof window.ucapi.invoke?window.ucapi.invoke("base.copyToClipboard",{text:r,toast:"0",success:function(){a(r)},fail:function(){a(r)}}):a(r)},collect:function(e){var t="".concat(e,"&ver=1.0.62");u.navigator.sendBeacon?u.navigator.sendBeacon(t,null):(new Image).src=t},isQQBrowser:function(){return/qqbrowser/i.test(u.navigator.userAgent.toLowerCase())},isTikTok:function(){return/\/aweme/.test(u.navigator.userAgent)},isWeibo:function(){return/Weibo/.test(u.navigator.userAgent)},isDingtalk:function(){return/dingtalk\//i.test(u.navigator.userAgent)},isBilibili:function(){return/biliapp\//i.test(u.navigator.userAgent)},getOS:function(){return r()?"iphone":"android"}}},function(e,t,n){function r(e){o.call(this);var t=this,n=function(){var e=[].slice.call(arguments,0);t.off("reject"),e.unshift("resolve"),t.emit.apply(t,e)},r=function(){var e=[].slice.call(arguments,0);t.off("resolve"),e.unshift("reject"),t.emit.apply(t,e)};e&&setTimeout((function(){var t=e(n,r);t&&t.then(n,r)}),0)}var o=n(8);n(9)(o,r),r.prototype.then=function(e,t){var n=new r;return e&&this.once("resolve",(function(){var t=[].slice.call(arguments,0),o=e.apply(null,t);o instanceof r?o.then((function(){var e=[].slice.call(arguments,0);e.unshift("resolve"),n.emit.apply(n,e)}),(function(){var e=[].slice.call(arguments,0);e.unshift("reject"),n.emit.apply(n,e)})):n.emit("resolve",o)})),t?this.once("reject",(function(){var e=[].slice.call(arguments,0),r=t.apply(null,e);n.emit("reject",r)})):this.once("reject",(function(e){n.emit("reject",e)})),n},r.prototype.catch=function(e){this.once("reject",e)},r.all=function(e){function t(){var e=[].slice.call(arguments,0);1===e.length&&(e=e[0]),u.push(e),n()}function n(){c===a&&o?o.call(null,s):u.length>0&&i&&i.apply(null,u)}var o,i,a=e.length,c=0,u=[],s=[];return e.forEach((function(e,r){e.then(function(e){return function(){var t=[].slice.call(arguments,0);1===t.length&&(t=t[0]),s.splice(e,0,t),c++,n()}}(r)).catch(t)})),new r((function(e,t){o=e,i=t,n()}))},window.Promise?e.exports=window.Promise:e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n={st_name:"JSSDK",appkey:e.appID,ch:e.adChannel,bid:e.adBid,pkg:e.pkgName,fr:"Android",fromULcall:1,ucLink:e.ucLink,fp:t,downLink:e.downLink,theme:e.sharePageTheme||"",uc_param_str:"prdd"},r="".concat("https://unet.ucweb.com","/ucbrowser/newUlcall?").concat(h(n));window.top.location.href=r}function c(e,t){var n=u(e.pkgName),r={st_name:"JSSDK",appkey:e.appID,ch:e.adChannel,bid:e.adBid,pkg:e.pkgName,fr:"ios",fromULcall:1,ucLink:e.ucLink,fp:t,downLink:e.downLink,theme:e.sharePageTheme||"",skipSharePage:e.skipSharePage||"",showSharePage:e.showSharePage||"false"},o="".concat("https://unet.ucweb.com","/").concat(n,"/ulcall?").concat(h(r));window.top.location.href=o}function u(e){return{"com.ucweb.iphone.lowversion":"ucbrowser","com.quark.browser":"quarkbrowser","com.quark.browser.pad":"quarkbrowser","com.shenma.zaozao":"zaozao","com.ucweb.iphone.pro":"ucliteios","com.news.taojin":"taojin","com.rockets.chang":"changya","com.uapp.bbq":"bbq","com.uapp.ddlearn":"ddlearn","com.uapp.vlog":"cuyan","com.zhongxin.95095":"alijk","com.uapp.chihuo":"chihuo","com.quark.scanking":"quarkscanking"}[e]}function s(e){var t=v(e.pkgName,e.landingPage,e.ucLink),n="";b.isWeChat()&&(n="wechat"),b.isQQ()&&(n="qq"),t&&(p("call_qq",e,{type:n}),window.top.location.href=t)}function f(e){var t=e.oldLink?e.oldLink:e.ucLink;return new g((function(n,r){_(t,"","",e.timeout).then((function(t){var r=t.result||"call_suc",o=t&&null!=t.timeout?t.timeout:"";p(r,e,{timeout:o}),n()})).catch((function(t){console.warn("callout app fail ",t);var n=t instanceof Error?t:t.error;p(n.message||"call_timeout",e,{timeout:t.timeout||""}),(e.jsCalloutFail||O)(n),r(n)}))}))}function l(e,t,n){var r=n||O;d.ajax({url:m,method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8"},data:JSON.stringify(e),success:function(e){r(null,e)},error:function(e){r(e)},timeout:3e3})}function p(e,t,n){var r={st_name:"JSSDK",st_event:e,appkey:t.appID,ch:t.adChannel,bid:t.adBid,pkg:t.pkgName,ua:k.navigator.userAgent,ver:"1.0.62",uc_param_str:"cpfrvelasvprktdndd"},i="".concat(y,"?").concat(h(o(o({},n),r)));k.navigator.sendBeacon?k.navigator.sendBeacon(i,null):(new Image).src=i}var d=n(4),h=d.toQueryString,g=n(2),m="".concat("https://unet.ucweb.com","/v1/sdkClick?uc_param_str=cpfrvelasvprktdndd"),y="".concat("https://unet.ucweb.com","/v1/collect"),v=n(16),w=n(10),b=n(1),k=b.getWindow(),S=n(13),_=n(11),O=function(){};e.exports={click:function(e,t,n){if(n&&p("copy",e,{fp:t,copyErr:n.message}),e.ucLink){var r=/^(uclink|qklink|ucliteioslink)\:\/\//.test(e.ucLink),o=/src_ch=.*?(&|$)/.test(e.ucLink);r&&!o&&(e.ucLink="".concat(e.ucLink,"&src_ch=").concat(e.adChannel))}return e.noCallout=e.directDownload,t&&(p("click",e,{fp:t}),"iphone"!==b.getOS()&&(e.downLink=e.downLink.replace(/(\?|&)fp=.*?$/,""),e.downLink.indexOf("?")>=0?e.downLink+="&fp=".concat(t):e.downLink+="?fp=".concat(t))),new g((function(n){var r=u(e.pkgName);return"android"===b.getOS()&&b.isWeChat()&&e.showWechatPage?void a(e,t):"iphone"===b.getOS()&&b.isWeibo()&&e.showWeiboMiddlePage?void c(e,t):"android"===b.getOS()&&b.isBilibili()&&e.showSharePage?void a(e,t):"iphone"===b.getOS()&&r&&!e.noUlCallout?void c(e,t):void l({packageInfo:{},adInfo:{ch:e.adChannel,bid:e.adBid,appId:e.appID,deeplink:e.noActivateDeeplink?"":e.ucLink,adPosId:e.adPosID,targetPkg:e.pkgName,cid:e.cid},deviceInfo:{ua:k.navigator.userAgent,fp:t},sdkInfo:{ver:"1.0.62",type:"js"}},0,(function(r){r&&p("collect_err",e,{err_msg:r.message,err_name:r.name,fp:t});var o="android"===b.getOS();if(o&&b.isQQ())return s(e),void n();if(o&&b.isWeChat())return s(e),void n();var i="com.quark.browser"===e.pkgName&&(b.isTikTok()||b.isWeibo()),a=e.weiboToAndroidMarket&&b.isWeibo();o&&(e.downloadAppWithMarket||i||a)?f(e).catch((function(){!function(e){var t=w.getMarketUrl(e.pkgName);p("call_market",e,{market_url:t}),k.location.href=t||e.downLink}(e)})).then(n):function(e){function t(){p("direct_download",e);var t=e.fileName?e.fileName:e.pkgName,n={downLink:e.downLink,pkgName:e.pkgName,fileName:"".concat(t,".apk")};S(n,"quick")}return new g((function(n){var r=!e.noCallout,o=!e.noDownload;r&&(e.ucLink||e.oldLink)?f(e).then(n).catch((function(){o?t():n(new Error("call_fail"))})):o?t():n()}))}(e).then(n)}))}))},calloutApp:_,sendCollect:l,jsCallout:f,getULPath:u}},function(e){function t(e){var t,r=!1;!function(e){e.method=e.method||"GET","POST"===e.method&&(e.headers=e.headers||{},e.headers["Content-Type"]=e.headers["Content-Type"]||e.headers["Content-type"]||"application/x-www-form-urlencoded"),e.timeout=e.timeout||5e3}(e);var o=new XMLHttpRequest;if(o.onreadystatechange=function(){r||4!==o.readyState||(t&&clearTimeout(t),o.status>=200&&o.status<300||304===o.status?e.success&&e.success(function(e){var t=e;try{t=JSON.parse(e)}catch(e){console.error(e)}return t}(o.responseText),o):e.error&&e.error(new Error("\u8bf7\u6c42\u5931\u8d25:"+o.status),o))},o.open(e.method,e.url,!0),e.headers)for(var i in e.headers)o.setRequestHeader(i,e.headers[i]);o.send(n(e.data)),t=setTimeout((function(){return r=!0,o.abort(),"function"==typeof e.error&&e.error(new Error("\u8bf7\u6c42\u8d85\u65f6!"),o),!1}),e.timeout)}function n(e){var t=[];if("string"==typeof e)return e;for(var n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}e.exports={get:function(e,n,r,o){"function"==typeof n&&(r=n,n={}),t({url:e,data:n,success:r,error:o,method:"GET"})},post:function(e,n,r,o){"function"==typeof n&&(r=n,n={}),t({url:e,data:n,success:r,error:o,method:"POST"})},ajax:t,toQueryString:n}},function(e,t,n){"use strict";function r(){var e=window.navigator.userAgent;return/Android/i.test(e)?"android":/iPhone|iPad|iPod/i.test(e)?"ios":"unknown"}var o=n(2),i={getVersion:"base.getVersion",needShowUcnewsBanner:"biz.needShowUcnewsBanner",downSilent:"download.downSilent",queryApp:"biz.queryApp",getUtpAppStatus:"biz.getUtpAppStatus",quickDown:"biz.quickDownload",callUCNews:{ios:"biz.pageDiversion"},openDeepLink:{android:"biz.openDeepLink"},getPageInfo:"promotion.getPageInfo",sendBeacon:"base.sendBeacon"},a=r(),c={};Object.keys(i).forEach((function(e){var t,n=i[e];(t="string"==typeof n?n:i[e][a])&&(c[e]=function(e){var t=r();return function(n){return n=n||{},new o((function(r,o){function i(){clearTimeout(c);var e=[].slice.call(arguments);o.apply(null,e)}var a=window.ucapi||window.top.ucapi;"unknown"!==t&&a?(n.success=function(){clearTimeout(c);var e=[].slice.call(arguments);r.apply(null,e)},n.fail=i,n.timeout=+n.timeout||1e3,a.invoke(e,n)):o(new Error("Unknown platform"));var c=setTimeout(i.bind(null,new Error("Timeout expired in "+n.timeout+"ms")),n.timeout)}))}}(t))})),e.exports=c},function(e,t,n){"use strict";function r(){}var o,i=n(3),a=n(1),c=n(12),u=a.generateUUID(),s=!1,f="UCFP:";document.addEventListener("click",(function(){o&&!s&&a.copyContent(o,f,":https://m.uc.cn")})),r.prototype.sdkClick=function(e){if(e.ucLink&&!e.landingPage){var t=/^uclink:\/\/.*&url=(.*)$/gi.exec(e.ucLink);t&&t[1]&&(e.landingPage=decodeURIComponent(t[1]))}var n;o=function(e){return e.clientFP&&"string"==typeof e.clientFP&&e.clientFP.trim()?(s=!0,o=e.clientFP.trim()):(s=!1,o="".concat(u,"-").concat(Date.now())),o}(e),e.fpPrefix&&(f=e.fpPrefix);try{e.clientFP||a.copyContent(o,f,":https://m.uc.cn")}catch(e){n=e}return i.click(e,o,n)},r.prototype.calloutApp=i.calloutApp,r.prototype.click=function(e){var t;e.clientFP&&"string"==typeof e.clientFP&&e.clientFP.trim()?(s=!0,o=e.clientFP.trim()):(s=!1,o="".concat(u,"-").concat(Date.now())),e.fpPrefix&&(f=e.fpPrefix);try{e.clientFP||a.copyContent(o,f,":https://m.uc.cn")}catch(e){t=e}c.click(e,o,t).then((function(){c.calloutAndDownload(e)}))},e.exports=r},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function r(){this._evts={},this._once_evts={}}r.prototype.on=function(e,t){this._evts[e]=this._evts[e]||[],this._evts[e].push(t)},r.prototype.once=function(e,t){this._once_evts[e]=this._once_evts[e]||[],this._once_evts[e].push(t)},r.prototype.emit=function(e){var t,n=this._evts[e],r=this._once_evts[e],o=this;if(n&&n.length>0){var i=[].slice.call(arguments,1);n.forEach((function(e){e.apply(o,i)}))}if(r&&r.length>0)for(i=[].slice.call(arguments,1);t=r.shift();)t.apply(o,i)},r.prototype.off=function(e){this._evts[e]&&(this._evts[e]=null,delete this._evts[e]),this._once_evts[e]&&(this._once_evts[e]=null,delete this._once_evts[e])},e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=e.match(/\;\s?([^\;]+?Build\/[^\)\;\s]+)/),n=t&&t[1];return n?c(n,["/HUAWEI","/HONOR"])?f.HUAWEI:c(n,["MIX","RedMi","Redmi","HM ",/^M[iI][\s\d]/,/^M\d{4}\w/,/^2\d{3}\w{4,6}\s/],!0)?f.XIAOMI:c(n,["vivo"],!0)?f.VIVO:c(n,["RMX"],!0)?f.REALME:c(n,["OPPO",/^V\d{4}[A-Z]/,/^P[A-Z]{2}[A-Z]\d{2}/],!0)?f.OPPO:c(n,["ONEPLUS",/^(IN|GM|LE|MT|KB|HD|NE)\d{4}\s/],!0)?f.ONEPLUS:c(n,["GT-","SM-","SCH-"],!0)?f.SAMSUNG:c(n,["Pixel"],!0)?f.PIXEL:c(n,["MEIZU","meizu",/^16[a-zA-Z]{1,2}?\s/],!0)?f.MEIZU:c(n,["/Hinova"])?f.UNKNOWN:a(e):a(e)}function a(e){return c(e,"XiaoMi/MiuiBrowser")?f.XIAOMI:c(e,"HuaweiBrowser/")?f.HUAWEI:c(e,"VivoBrowser/")?f.VIVO:c(e,"SamsungBrowser/")?f.SAMSUNG:f.UNKNOWN}function c(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=[].concat(t),i=0;i<o.length;i++){var a=o[i];if("string"==typeof a){if(n&&0===e.indexOf(a))return!0;if(e.indexOf(a)>-1)return!0}else if("object"===r(a)&&a.test(e))return!0}return!1}var u,s=n(1),f={UNKNOWN:"UNKNOWN",APPLE:"APPLE",HUAWEI:"HUAWEI",XIAOMI:"XIAOMI",OPPO:"OPPO",VIVO:"VIVO",ONEPLUS:"ONEPLUS",REALME:"REALME",SAMSUNG:"SAMSUNG",MEIZU:"MEIZU",PIXEL:"PIXEL"},l="market://details?id={pkgName}",p=(o(u={},f.UNKNOWN,null),o(u,f.APPLE,null),o(u,f.HUAWEI,"appmarket://details?id={pkgName}"),o(u,f.XIAOMI,"mimarket://details?id={pkgName}"),o(u,f.OPPO,"oppomarket://details?packagename={pkgName}"),o(u,f.VIVO,"vivomarket://details?id={pkgName}"),o(u,f.ONEPLUS,"oppomarket://details?packagename={pkgName}"),o(u,f.REALME,"oppomarket://details?packagename={pkgName}"),o(u,f.SAMSUNG,"samsungapps://ProductDetail/{pkgName}"),o(u,f.MEIZU,"mstore://details?package_name={pkgName}"),o(u,f.PIXEL,null),u);e.exports={getBrand:i,getMarketUrl:function(e){var t=s.getWindow();if(!t||!t.navigator)return null;var n=i(t.navigator.userAgent),r=p[n];return n&&(n===f.SAMSUNG&&s.isTikTok()&&(r=l),n!==f.SAMSUNG&&s.isWeibo()&&(r=l)),r?r.replace("{pkgName}",e):null}}},function(e,t,n){"use strict";function r(e){if("iphone"===o.getOS())u.location.href=e;else if(c.isQQBrowser())u.location.href=e;else{var t=document.createElement("iframe");t.src=e,t.style.display="none",t.style.width=0,t.style.height=0,t.style.border=0,document.body.appendChild(t)}}var o=n(0),i=n(2),a=n(5),c=n(1),u=c.getWindow(),s=n(15),f=n(14);e.exports=function(e,t,n,u){if(!e)return new i((function(e){return e(new Error("invalid deeplink"))}));if("android"===o.getOS()&&c.isUC()&&o.compareVer(o.getUCVersion(),"11.9.3")>=0&&!/:\/\//gi.test(e)&&t){var l="";for(var p in n)n.hasOwnProperty(p)&&(l+="&".concat(p,"=").concat(n[p]));return n.ad_id&&!n.hasOwnProperty("utpreco_id")&&(l="utpreco_id=".concat(n.ad_id).concat(l)),new i((function(n,r){a.openDeepLink({deepLink:e,pkgName:t,utpId:l}).then((function(e){0==+e.openResult?n():r(e)})).catch(r)}))}var d=e,h=c.isWeibo()||c.isDingtalk();return"android"===o.getOS()&&h&&0===d.indexOf("qklink://")&&(d=d.replace("qklink://","uclink://")),s([r,f],d,u)}},function(e,t,n){"use strict";var r=n(4),o=n(2),i="".concat("https://unet.ucweb.com","/v1/sdkClick?uc_param_str=cpfrvelasvprktdndd"),a="".concat("https://unet.ucweb.com","/v1/collect"),c=n(1),u=n(3).jsCallout,s=n(3).getULPath,f=n(0),l=c.getWindow(),p=r.toQueryString;t.click=function(e,t,n){return function(e,t,n){n?c.collect("".concat(a,"?").concat(p({st_name:"JSSDK",st_event:"copy",ua:l.navigator.userAgent,fp:t,copyErr:n.message,uc_param_str:"cpfrvelasvprktdndd"}))):c.collect("".concat(a,"?").concat(p({st_name:"JSSDK",st_event:"click",appkey:e.appID,ch:e.adChannel,bid:e.adBid,pkg:e.pkgName,ua:l.navigator.userAgent,fp:t,uc_param_str:"cpfrvelasvprktdndd"})))}(e,t,n),function(e){return new o((function(t){r.ajax({url:i,method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8"},data:JSON.stringify(e),success:function(){t()},error:function(){t()},timeout:3e3})}))}({packageInfo:{},adInfo:{ch:e.adChannel,bid:e.adBid,appId:e.appID,deeplink:e.ucLink,targetPkg:e.pkgName},deviceInfo:{ua:l.navigator.userAgent,fp:t},sdkInfo:{ver:"1.0.62",type:"js"}})},t.calloutAndDownload=function(e,t){if(!c.isWeChat()){var n=function(){c.collect("".concat(a,"?").concat(p({st_name:"JSSDK",st_event:"direct_download",appkey:e.appID,ch:e.adChannel,bid:e.adBid,pkg:e.pkgName}))),l.location.href=e.downLink},r=s(e.pkgName);"iphone"===f.getOS()&&r?function(e,t,n){window.top.location.href="".concat("https://unet.ucweb.com","/").concat(t,"/ulcall?").concat(p({st_name:"JSSDK",appkey:e.appID,ch:e.adChannel,bid:e.adBid,pkg:e.pkgName,fr:"ios",fromULcall:1,ucLink:e.ucLink,fp:n,downLink:e.downLink}))}(e,r,t):(e.timeout=2e3,u(e).then((function(){n()}),(function(){n()})))}}},function(e,t,n){"use strict";var r=n(0),o=n(5),i=n(1),a=i.getWindow();e.exports=function(e,t){i.isUC()&&"android"===r.getOS()?"silent"===t&&r.compareVer(r.getUCVersion(),"11.4.7.9999")>0?o.downSilent({url:e.downLink,pkg:e.pkgName,fileName:e.fileName}).catch((function(){a.location.href=e.downLink})):"quick"===t?o.quickDown({url:e.downLink,pkg:e.pkgName,fileName:e.fileName}).catch((function(){a.location.href=e.downLink})):a.location.href=e.downLink:a.location.href=e.downLink}},function(e,t,n){"use strict";var r=n(0);e.exports=function(e){var t=e,n=window.top,o=!1,i=!1,a=window.navigator.userAgent;a.match(/(?:Chrome|CriOS)\/([\d\.]+)/)&&(o=!0,a.match(/Version\/[\d+\.]+\s*Chrome/)&&(i=!0));var c="android"===r.getOS(),u=function(e){var t="",n=e.match(/Android[\s\/]([\d\.]+)/);return n?t=n[1]:e.match(/(iPhone|iPad|iPod)/)&&(n=e.match(/OS ([\d_\.]+) like Mac OS X/))&&(t=n[1].split("_").join(".")),t}(a),s=c&&o&&!i,f=c&&!!a.match(/samsung/i)&&r.compareVer(u,"4.3")>=0&&r.compareVer(u,"4.5")<0;if(s||f){var l=t.substring(0,t.indexOf("://")),p="#Intent;scheme=".concat(l,";end");t=t.replace(/.*?\:\/\//,"intent://"),t+=p,n.location.href=t}}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t,n){return new r((function(r,o){function i(){clearTimeout(u),a&&(window.removeEventListener("pagehide",i),document.removeEventListener(c,i)),r({result:"call_suc"})}var a,c,u;void 0!==document.hidden?(a="hidden",c="visibilitychange"):void 0!==document.msHidden?(a="msHidden",c="msvisibilitychange"):void 0!==document.webkitHidden&&(a="webkitHidden",c="webkitvisibilitychange"),window.addEventListener("pagehide",i,!1),document.addEventListener(c,i,!1);try{e.forEach((function(e){e(t)}))}catch(e){o({error:e})}u=setTimeout((function(){window.removeEventListener("pagehide",i),document.removeEventListener(c,i),o({timeout:n,error:new Error("TIMEOUT")})}),n||1e3)}))}},function(e,t,n){"use strict";var r=n(0);e.exports=function(e,t,n){var o="",i=t,a=-1!==["com.UCMobile","com.ucmobile.lite","com.gold.sjh"].indexOf(e);if("android"===r.getOS()&&a)if(o="http://a.app.qq.com/o/simple.jsp?pkgname=".concat(e,"&android_scheme="),i){if(n){var c=document.createElement("a");c.href=i;var u=c.hash;u&&(i=(i=i.replace(u,"")).replace(decodeURIComponent(u),"")),c.search?i+="&__uclink__=".concat(encodeURIComponent(n)):i+="?__uclink__=".concat(encodeURIComponent(n)),u&&(i+=u)}o+=encodeURIComponent("ucweb://|".concat(i))}else o+=encodeURIComponent("ucweb://|?__uclink__=".concat(encodeURIComponent(n)));else o="http://a.app.qq.com/o/simple.jsp?pkgname=".concat(e,"&android_scheme=").concat(encodeURIComponent(n));return console.log("getWechatUrl -> ",o),o}},function(e,t,n){"use strict";(function(t){e.exports=t.ADTRACKJSSDK=n(6)}).call(t,n(7))}])},557:function(e,t,n){"use strict";n(67),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{appkey:"cc77796ca7c25dff9607d31b29effc07",bid:"800",fr:"android",name:"UC\u6d4f\u89c8\u5668 Android",pkgName:"com.UCMobile"},{appkey:"f11f7cb5d16fa0969d670c1eccc6053d",bid:"997",fr:"ios",name:"UC\u6d4f\u89c8\u5668 iOS",pkgName:"com.ucweb.iphone.lowversion"},{appkey:"b20b84fd735a8dd3f7541129bacc4e9a",bid:"36729",fr:"android",name:"\u5938\u514b Android",pkgName:"com.quark.browser"},{appkey:"656bdcddd4758b39206a8181c91a7d14",bid:"36729",fr:"ios",name:"\u5938\u514b iOS",pkgName:"com.quark.browser"},{appkey:"e7d506280d7f0140e2ee4ba5b030d82d",bid:"36729",fr:"ios",name:"\u5938\u514b iPad",pkgName:"com.quark.browser.pad"},{appkey:"88eb808ed462aac528ee1830252a36d7",bid:"36750",fr:"android",name:"\u7cbe\u5f69\u5934\u6761 Android",pkgName:"com.news.taojin"},{appkey:"37f686b012e95d7f4a4cbd49f03b45e6",bid:"36750",fr:"ios",name:"\u7cbe\u5f69\u5934\u6761 iOS",pkgName:"com.news.taojin"},{appkey:"92a366927198c0d44583dbfe5f009680",bid:"36502",fr:"android",name:"\u76ca\u591a\u6d4f\u89c8\u5668 Android",pkgName:"com.gold.sjh"},{appkey:"19b64348381e629f44f43b8506f24e92",bid:"36452",fr:"android",name:"UC\u6781\u901f\u7248 Android",pkgName:"com.ucmobile.lite"},{appkey:"8c09be3332aa631fcbad0c5834ef68fd",bid:"36452",fr:"ios",name:"UC\u6781\u901f\u7248 IOS",pkgName:"com.ucweb.iphone.pro"},{appkey:"0a57aeb02f30d1bc3298e691d4f09cdf",bid:"36509",fr:"android",name:"UC\u8d4f\u91d1\u5305 Android",pkgName:"com.UCMobile.reward"},{appkey:"c066948b78a98d917eacd132920a3303",bid:"37101",fr:"android",name:"\u5e2e\u5e2e\u7b54 Android",pkgName:"com.uapp.ddlearn"},{appkey:"02b744449a23b8eb965ea2eaa7ff55d5",bid:"997",fr:"ios",name:"\u5e2e\u5e2e\u7b54 iOS",pkgName:"com.uapp.ddlearn.app"},{appkey:"eae327430a4af471bd310e984981ac1c",bid:"37202",fr:"android",name:"\u533b\u9e7f Android",pkgName:"com.citic21.user"},{appkey:"93cdf5e07ef6a3f77d6b8d3cc3dc5a80",bid:"37202",fr:"ios",name:"\u533b\u9e7f iOS",pkgName:"com.zhongxin.95095"},{appkey:"ddf7c34a5e65de42cb9621501975f2f7",bid:"37203",fr:"android",name:"UC\u5927\u5b57\u7248 Android",pkgName:"com.ucmobile.elder"},{appkey:"4ffa71ca04a3f1ac3fae986b53d34357",bid:"37206",fr:"ios",name:"UC\u5927\u5b57\u7248 IOS",pkgName:"com.ucweb.iphone.lowversion.elder"},{appkey:"7cfcb8e1fac1ff931f21e160b2def724",bid:"37209",fr:"android",pkgName:"com.uapp.chihuo",name:"\u5403\u8d27\u7b14\u8bb0 Android"},{appkey:"a8d94824daba3ba72ee6fd7359d908e3",bid:"37208",fr:"ios",name:"\u5403\u8d27\u7b14\u8bb0 iOS",pkgName:"com.uapp.chihuo"},{appkey:"78158af340d242ad9a90c82d1179453a",bid:"37210",fr:"android",pkgName:"com.quark.scanking",name:"\u5938\u514b\u626b\u63cf\u738b Android"},{appkey:"8f8eadddf4c046caa863d37e8edcdb2f",bid:"37210",fr:"ios",pkgName:"com.quark.scanking",name:"\u5938\u514b\u626b\u63cf\u738b iOS"}]},558:function(e,t,n){"use strict";n(67),n(32),n(49),n(147),n(151),n(102),n(235),n(153),n(238),n(47),Object.defineProperty(t,"__esModule",{value:!0}),t.easyConfig=function(e){if(!l)return Promise.reject(new Error("[wx] require wechat browser"));if("1.6.0"!==l.ver)return Promise.reject(new Error("[wx] unexpected jweixin version"));if(!e.biz)return Promise.reject(new Error("[wx] `options.biz` is required"));var t=e.debug,n=d.mergeAuthList({jsApiList:e.jsApiList,openTagList:e.openTagList}),r=n.jsApiList,o=n.openTagList;return h({biz:e.biz}).then((function(e){var n=e.appId,i=e.timestamp,a=e.nonceStr,c=e.signature,u=new Promise((function(t,n){l.ready((function(){return t(e)})),l.error((function(e){return n(e)}))}));return l.config({debug:t,appId:n,timestamp:i,nonceStr:a,signature:c,jsApiList:r,openTagList:o}),u}))},t.getAuthConfig=h,t.store=t.default=void 0;var r=a(n(559)),o=a(n(338)),i=n(241);function a(e){return e&&e.__esModule?e:{default:e}}var c,u,s,f,l=function(){if(!(0,i.isWechat)())return null;var e=n(567);return e.default||e}(),p=o.default.create(),d=(u=[],s=[],{getAuthConfig:function(){return c},setAuthConfig:function(e){c=e},getAuthList:function(){return{jsApiList:u,openTagList:s}},mergeAuthList:function(e){return u=g(u.concat(e.jsApiList||[])),s=g(s.concat(e.openTagList||[])),{jsApiList:u,openTagList:s}}});function h(e){var t=d.getAuthConfig();if(t)return Promise.resolve(t);if(f)return f.then((function(e){return new Promise((function(t){return setTimeout((function(){return t(e)}),400)}))}));var n="https://coral2.uc.cn";/quark\.cn$/.test(location.host)&&(n="https://coral2.quark.cn");var o="".concat(n,"/wechat/v1/js_config"),i=location.origin+location.pathname+location.search,a=e.biz,c=Date.now(),u=(0,r.default)("".concat(a).concat(c)),s=p.get(o,{params:{biz:a,timestamp:c,sign:u,url:i}}).then((function(e){var t,n=(null===(t=e.data)||void 0===t?void 0:t.data)||{},r=n.appId,o=n.signature,i=n.timestamp,a=n.nonceStr;if(!r||!o)return Promise.reject();var c={appId:r,signature:o,timestamp:i,nonceStr:a};return d.setAuthConfig(c),f=null,c})).catch((function(e){return f=null,Promise.reject(e)}));return f=s,s}function g(e){return e.filter((function(e,t,n){return n.indexOf(e)===t}))}t.store=d;var m=l;t.default=m},559:function(e,t,n){(function(t){var r,o,i,a;n(66),n(32),n(148),r=n(566),o=n(445).utf8,i=n(445).bin,(a=function(e,n){var a=r.wordsToBytes(function(e){e.constructor==String?e=o.stringToBytes(e):void 0!==t&&"function"==typeof t.isBuffer&&t.isBuffer(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());var n=r.bytesToWords(e),i=8*e.length,a=[],c=1732584193,u=-271733879,s=-1732584194,f=271733878,l=-1009589776;n[i>>5]|=128<<24-i%32,n[15+(i+64>>>9<<4)]=i;for(var p=0;p<n.length;p+=16){for(var d=c,h=u,g=s,m=f,y=l,v=0;v<80;v++){if(v<16)a[v]=n[p+v];else{var w=a[v-3]^a[v-8]^a[v-14]^a[v-16];a[v]=w<<1|w>>>31}var b=(c<<5|c>>>27)+l+(a[v]>>>0)+(v<20?1518500249+(u&s|~u&f):v<40?1859775393+(u^s^f):v<60?(u&s|u&f|s&f)-1894007588:(u^s^f)-899497514);l=f,f=s,s=u<<30|u>>>2,u=c,c=b}c+=d,u+=h,s+=g,f+=m,l+=y}return[c,u,s,f,l]}(e));return n&&n.asBytes?a:n&&n.asString?i.bytesToString(a):r.bytesToHex(a)})._blocksize=16,a._digestsize=20,e.exports=a}).call(this,n(560).Buffer)},560:function(e,t,n){"use strict";(function(e){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */
n(48),n(246),n(32),n(293),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(284),n(71),n(73),n(561),n(562),n(67),n(347),n(66),n(148),n(147),n(334),n(150),n(102),n(152),n(292),n(295),n(47),n(275),n(248),n(242),n(443),n(444),n(149),n(243);var r=n(563),o=n(564),i=n(565);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__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 l(this,e)}return s(this,e,t,n)}function s(e,t,n,r){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,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=p(e,t);return e}(e,t,n,r):"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 r=0|h(t,n),o=(e=c(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|d(t.length);return 0===(e=c(e,n)).length||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||(r=t.length)!=r?c(e,0):p(e,t);if("Buffer"===t.type&&i(t.data))return p(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function f(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 l(e,t){if(f(t),e=c(e,t<0?0:0|d(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t){var n=t.length<0?0:0|d(t.length);e=c(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function d(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(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 r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(e).length;default:if(r)return V(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!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))return"";for(e||(e="utf8");;)switch(e){case"hex":return x(this,t,n);case"utf8":case"utf-8":return P(this,t,n);case"ascii":return E(this,t,n);case"latin1":case"binary":return I(this,t,n);case"base64":return A(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var i,a=1,c=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,c/=2,u/=2,n/=2}function s(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var f=-1;for(i=n;i<c;i++)if(s(e,i)===s(t,-1===f?0:i-f)){if(-1===f&&(f=i),i-f+1===u)return f*a}else-1!==f&&(i-=i-f),f=-1}else for(n+u>c&&(n=c-u),i=n;i>=0;i--){for(var l=!0,p=0;p<u;p++)if(s(e,i+p)!==s(t,p)){l=!1;break}if(l)return i}return-1}function w(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var c=parseInt(t.substr(2*a,2),16);if(isNaN(c))return a;e[n+a]=c}return a}function b(e,t,n,r){return W(V(t,e.length-n),e,n,r)}function k(e,t,n,r){return W(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function S(e,t,n,r){return k(e,t,n,r)}function _(e,t,n,r){return W(q(t),e,n,r)}function O(e,t,n,r){return W(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function A(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function P(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,c,u,s=e[o],f=null,l=s>239?4:s>223?3:s>191?2:1;if(o+l<=n)switch(l){case 1:s<128&&(f=s);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&s)<<6|63&i)>127&&(f=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&s)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:i=e[o+1],a=e[o+2],c=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&c)&&(u=(15&s)<<18|(63&i)<<12|(63&a)<<6|63&c)>65535&&u<1114112&&(f=u)}null===f?(f=65533,l=1):f>65535&&(f-=65536,r.push(f>>>10&1023|55296),f=56320|1023&f),r.push(f),o+=l}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return s(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return function(e,t,n,r){return f(t),t<=0?c(e,t):void 0!==n?"string"==typeof r?c(e,t).fill(n,r):c(e,t).fill(n):c(e,t)}(null,e,t,n)},u.allocUnsafe=function(e){return l(null,e)},u.allocUnsafeSlow=function(e){return l(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?P(this,0,e):g.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,o){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),c=Math.min(i,a),s=this.slice(r,o),f=e.slice(t,n),l=0;l<c;++l)if(s[l]!==f[l]){i=s[l],a=f[l];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return k(this,e,t,n);case"latin1":case"binary":return S(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function E(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function I(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function x(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=D(e[i]);return o}function T(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function L(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,n,r,o,i){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function C(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function j(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function U(e,t,n,r){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,i){return i||U(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function M(e,t,n,r,i){return i||U(e,0,n,8),o.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=u.prototype;else{var o=t-e;n=new u(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},u.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):C(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):C(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);N(this,e,t,n,o-1,-o)}var i=0,a=1,c=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===c&&0!==this[t+i-1]&&(c=1),this[t+i]=(e/a>>0)-c&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);N(this,e,t,n,o-1,-o)}var i=n-1,a=1,c=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===c&&0!==this[t+i+1]&&(c=1),this[t+i]=(e/a>>0)-c&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):C(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):C(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return M(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return M(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=u.isBuffer(e)?e:V(new u(e,r).toString()),c=a.length;for(i=0;i<n-t;++i)this[i+t]=a[i%c]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function D(e){return e<16?"0"+e.toString(16):e.toString(16)}function V(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function q(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function W(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,n(156))},561:function(e,t,n){"use strict";n(59)("species")},562:function(e,t,n){"use strict";n(107)("Array")},563:function(e,t,n){"use strict";n(48),n(246),n(32),n(293),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(47),n(150),t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=s(e),a=r[0],c=r[1],u=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,c)),f=0,l=c>0?a-4:a;for(n=0;n<l;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],u[f++]=t>>16&255,u[f++]=t>>8&255,u[f++]=255&t;2===c&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,u[f++]=255&t);1===c&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,u[f++]=t>>8&255,u[f++]=255&t);return u},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,c=n-o;a<c;a+=16383)i.push(f(e,a,a+16383>c?c:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,u=a.length;c<u;++c)r[c]=a[c],o[a.charCodeAt(c)]=c;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function f(e,t,n){for(var o,i,a=[],c=t;c<n;c+=3)o=(e[c]<<16&16711680)+(e[c+1]<<8&65280)+(255&e[c+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},564:function(e,t){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,n,r,o){var i,a,c=8*o-r-1,u=(1<<c)-1,s=u>>1,f=-7,l=n?o-1:0,p=n?-1:1,d=e[t+l];for(l+=p,i=d&(1<<-f)-1,d>>=-f,f+=c;f>0;i=256*i+e[t+l],l+=p,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=r;f>0;a=256*a+e[t+l],l+=p,f-=8);if(0===i)i=1-s;else{if(i===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=s}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,c,u,s=8*i-o-1,f=(1<<s)-1,l=f>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,a=f):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+l>=1?p/u:p*Math.pow(2,1-l))*u>=2&&(a++,u/=2),a+l>=f?(c=0,a=f):a+l>=1?(c=(t*u-1)*Math.pow(2,o),a+=l):(c=t*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;e[n+d]=255&c,d+=h,c/=256,o-=8);for(a=a<<o|c,s+=o;s>0;e[n+d]=255&a,d+=h,a/=256,s-=8);e[n+d-h]|=128*g}},565:function(e,t,n){n(32);var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},566:function(e,t,n){var r,o;n(248),n(32),n(148),n(150),n(242),n(102),n(149),r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&o.rotl(e,8)|4278255360&o.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=o.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],n=0;n<e.length;n+=3)for(var o=e[n]<<16|e[n+1]<<8|e[n+2],i=0;i<4;i++)8*n+6*i<=8*e.length?t.push(r.charAt(o>>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],n=0,o=0;n<e.length;o=++n%4)0!=o&&t.push((r.indexOf(e.charAt(n-1))&Math.pow(2,-2*o+8)-1)<<2*o|r.indexOf(e.charAt(n))>>>6-2*o);return t}},e.exports=o},567:function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n(67),n(102),n(152),n(47),n(303),n(68),n(234),n(149),n(103),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;(function(){try{i=this,void 0===(r=function(){return function(e,t){if(!e.jWeixin){var n,r,i={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},a=function(){var e={};for(var t in i)e[i[t]]=t;return e}(),c=e.document,u=c.title,s=navigator.userAgent.toLowerCase(),f=navigator.platform.toLowerCase(),l=!(!f.match("mac")&&!f.match("win")),p=-1!=s.indexOf("wxdebugger"),d=-1!=s.indexOf("micromessenger"),h=-1!=s.indexOf("android"),g=-1!=s.indexOf("iphone")||-1!=s.indexOf("ipad"),m=(r=s.match(/micromessenger\/(\d+\.\d+\.\d+)/)||s.match(/micromessenger\/(\d+\.\d+)/))?r[1]:"",y={initStartTime:j(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},v={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:g?1:h?2:-1,clientVersion:m,url:encodeURIComponent(location.href)},w={},b={_completes:[]},k={state:0,data:{}};U((function(){y.initEndTime=j()}));var S=!1,_=[],O=(o(n={ver:"1.6.0",config:function(t){C("config",w=t);var n=!1!==w.check;U((function(){if(n)E(i.config,{verifyJsApiList:N(w.jsApiList),verifyOpenTagList:N(w.openTagList)},function(){b._complete=function(e){y.preVerifyEndTime=j(),k.state=1,k.data=e},b.success=function(){v.isPreVerifyOk=0},b.fail=function(e){b._fail?b._fail(e):k.state=-1};var e=b._completes;return e.push((function(){!function(){if(!(l||p||w.debug||m<"6.0.2"||v.systemType<0)){var e=new Image;v.appId=w.appId,v.initTime=y.initEndTime-y.initStartTime,v.preVerifyTime=y.preVerifyEndTime-y.preVerifyStartTime,O.getNetworkType({isInnerInvoke:!0,success:function(t){v.networkType=t.networkType;var n="https://open.weixin.qq.com/sdk/report?v="+v.version+"&o="+v.isPreVerifyOk+"&s="+v.systemType+"&c="+v.clientVersion+"&a="+v.appId+"&n="+v.networkType+"&i="+v.initTime+"&p="+v.preVerifyTime+"&u="+v.url;e.src=n}})}}()})),b.complete=function(){for(var t=0,n=e.length;t<n;++t)e[t]();b._completes=[]},b}()),y.preVerifyStartTime=j();else{k.state=1;for(var e=b._completes,t=0,r=e.length;t<r;++t)e[t]();b._completes=[]}})),O.invoke||(O.invoke=function(t,n,r){e.WeixinJSBridge&&WeixinJSBridge.invoke(t,x(n),r)},O.on=function(t,n){e.WeixinJSBridge&&WeixinJSBridge.on(t,n)})},ready:function(e){0!=k.state?e():(b._completes.push(e),!d&&w.debug&&e())},error:function(e){m<"6.0.2"||(-1==k.state?e(k.data):b._fail=e)},checkJsApi:function(e){E("checkJsApi",{jsApiList:N(e.jsApiList)},(e._complete=function(e){if(h){var t=e.checkResult;t&&(e.checkResult=JSON.parse(t))}e=function(e){var t=e.checkResult;for(var n in t){var r=a[n];r&&(t[r]=t[n],delete t[n])}return e}(e)},e))},onMenuShareTimeline:function(e){I(i.onMenuShareTimeline,{complete:function(){E("shareTimeline",{title:e.title||u,desc:e.title||u,img_url:e.imgUrl||"",link:e.link||location.href,type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareAppMessage:function(e){I(i.onMenuShareAppMessage,{complete:function(t){"favorite"===t.scene?E("sendAppMessage",{title:e.title||u,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""}):E("sendAppMessage",{title:e.title||u,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareQQ:function(e){I(i.onMenuShareQQ,{complete:function(){E("shareQQ",{title:e.title||u,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareWeibo:function(e){I(i.onMenuShareWeibo,{complete:function(){E("shareWeiboApp",{title:e.title||u,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareQZone:function(e){I(i.onMenuShareQZone,{complete:function(){E("shareQZone",{title:e.title||u,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},updateTimelineShareData:function(e){E("updateTimelineShareData",{title:e.title,link:e.link,imgUrl:e.imgUrl},e)},updateAppMessageShareData:function(e){E("updateAppMessageShareData",{title:e.title,desc:e.desc,link:e.link,imgUrl:e.imgUrl},e)},startRecord:function(e){E("startRecord",{},e)},stopRecord:function(e){E("stopRecord",{},e)},onVoiceRecordEnd:function(e){I("onVoiceRecordEnd",e)},playVoice:function(e){E("playVoice",{localId:e.localId},e)},pauseVoice:function(e){E("pauseVoice",{localId:e.localId},e)},stopVoice:function(e){E("stopVoice",{localId:e.localId},e)},onVoicePlayEnd:function(e){I("onVoicePlayEnd",e)},uploadVoice:function(e){E("uploadVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadVoice:function(e){E("downloadVoice",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},translateVoice:function(e){E("translateVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},chooseImage:function(e){E("chooseImage",{scene:"1|2",count:e.count||9,sizeType:e.sizeType||["original","compressed"],sourceType:e.sourceType||["album","camera"]},(e._complete=function(e){if(h){var t=e.localIds;try{t&&(e.localIds=JSON.parse(t))}catch(e){}}},e))},getLocation:function(){},previewImage:function(e){E(i.previewImage,{current:e.current,urls:e.urls},e)},uploadImage:function(e){E("uploadImage",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadImage:function(e){E("downloadImage",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},getLocalImgData:function(e){!1===S?(S=!0,E("getLocalImgData",{localId:e.localId},(e._complete=function(){if(S=!1,0<_.length){var e=_.shift();wx.getLocalImgData(e)}},e))):_.push(e)},getNetworkType:function(e){E("getNetworkType",{},(e._complete=function(e){e=function(e){var t=e.errMsg;e.errMsg="getNetworkType:ok";var n=e.subtype;if(delete e.subtype,n)e.networkType=n;else{var r=t.indexOf(":"),o=t.substring(r+1);switch(o){case"wifi":case"edge":case"wwan":e.networkType=o;break;default:e.errMsg="getNetworkType:fail"}}return e}(e)},e))},openLocation:function(e){E("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)}},"getLocation",(function(e){E(i.getLocation,{type:(e=e||{}).type||"wgs84"},(e._complete=function(e){delete e.type},e))})),o(n,"hideOptionMenu",(function(e){E("hideOptionMenu",{},e)})),o(n,"showOptionMenu",(function(e){E("showOptionMenu",{},e)})),o(n,"closeWindow",(function(e){E("closeWindow",{},e=e||{})})),o(n,"hideMenuItems",(function(e){E("hideMenuItems",{menuList:e.menuList},e)})),o(n,"showMenuItems",(function(e){E("showMenuItems",{menuList:e.menuList},e)})),o(n,"hideAllNonBaseMenuItem",(function(e){E("hideAllNonBaseMenuItem",{},e)})),o(n,"showAllNonBaseMenuItem",(function(e){E("showAllNonBaseMenuItem",{},e)})),o(n,"scanQRCode",(function(e){E("scanQRCode",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||["qrCode","barCode"]},(e._complete=function(e){if(g){var t=e.resultStr;if(t){var n=JSON.parse(t);e.resultStr=n&&n.scan_code&&n.scan_code.scan_result}}},e))})),o(n,"openAddress",(function(e){E(i.openAddress,{},(e._complete=function(e){e=function(e){return e.postalCode=e.addressPostalCode,delete e.addressPostalCode,e.provinceName=e.proviceFirstStageName,delete e.proviceFirstStageName,e.cityName=e.addressCitySecondStageName,delete e.addressCitySecondStageName,e.countryName=e.addressCountiesThirdStageName,delete e.addressCountiesThirdStageName,e.detailInfo=e.addressDetailInfo,delete e.addressDetailInfo,e}(e)},e))})),o(n,"openProductSpecificView",(function(e){E(i.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)})),o(n,"addCard",(function(e){for(var t=e.cardList,n=[],r=0,o=t.length;r<o;++r){var a=t[r],c={card_id:a.cardId,card_ext:a.cardExt};n.push(c)}E(i.addCard,{card_list:n},(e._complete=function(e){var t=e.card_list;if(t){for(var n=0,r=(t=JSON.parse(t)).length;n<r;++n){var o=t[n];o.cardId=o.card_id,o.cardExt=o.card_ext,o.isSuccess=!!o.is_succ,delete o.card_id,delete o.card_ext,delete o.is_succ}e.cardList=t,delete e.card_list}},e))})),o(n,"chooseCard",(function(e){E("chooseCard",{app_id:w.appId,location_id:e.shopId||"",sign_type:e.signType||"SHA1",card_id:e.cardId||"",card_type:e.cardType||"",card_sign:e.cardSign,time_stamp:e.timestamp+"",nonce_str:e.nonceStr},(e._complete=function(e){e.cardList=e.choose_card_info,delete e.choose_card_info},e))})),o(n,"openCard",(function(e){for(var t=e.cardList,n=[],r=0,o=t.length;r<o;++r){var a=t[r],c={card_id:a.cardId,code:a.code};n.push(c)}E(i.openCard,{card_list:n},e)})),o(n,"consumeAndShareCard",(function(e){E(i.consumeAndShareCard,{consumedCardId:e.cardId,consumedCode:e.code},e)})),o(n,"chooseWXPay",(function(e){E(i.chooseWXPay,T(e),e)})),o(n,"openEnterpriseRedPacket",(function(e){E(i.openEnterpriseRedPacket,T(e),e)})),o(n,"startSearchBeacons",(function(e){E(i.startSearchBeacons,{ticket:e.ticket},e)})),o(n,"stopSearchBeacons",(function(e){E(i.stopSearchBeacons,{},e)})),o(n,"onSearchBeacons",(function(e){I(i.onSearchBeacons,e)})),o(n,"openEnterpriseChat",(function(e){E("openEnterpriseChat",{useridlist:e.userIds,chatname:e.groupName},e)})),o(n,"launchMiniProgram",(function(e){E("launchMiniProgram",{targetAppId:e.targetAppId,path:function(e){if("string"==typeof e&&0<e.length){var t=e.split("?")[0],n=e.split("?")[1];return t+=".html",void 0!==n?t+"?"+n:t}}(e.path),envVersion:e.envVersion},e)})),o(n,"openBusinessView",(function(e){E("openBusinessView",{businessType:e.businessType,queryString:e.queryString||"",envVersion:e.envVersion},(e._complete=function(e){if(h){var t=e.extraData;if(t)try{e.extraData=JSON.parse(t)}catch(t){e.extraData={}}}},e))})),o(n,"miniProgram",{navigateBack:function(e){e=e||{},U((function(){E("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:e.delta||1}},e)}))},navigateTo:function(e){U((function(){E("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:e.url}},e)}))},redirectTo:function(e){U((function(){E("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:e.url}},e)}))},switchTab:function(e){U((function(){E("invokeMiniProgramAPI",{name:"switchTab",arg:{url:e.url}},e)}))},reLaunch:function(e){U((function(){E("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:e.url}},e)}))},postMessage:function(e){U((function(){E("invokeMiniProgramAPI",{name:"postMessage",arg:e.data||{}},e)}))},getEnv:function(t){U((function(){t({miniprogram:"miniprogram"===e.__wxjs_environment})}))}}),n),A=1,P={};return c.addEventListener("error",(function(e){if(!h){var t=e.target,n=t.tagName,r=t.src;if(("IMG"==n||"VIDEO"==n||"AUDIO"==n||"SOURCE"==n)&&-1!=r.indexOf("wxlocalresource://")){e.preventDefault(),e.stopPropagation();var o=t["wx-id"];if(o||(o=A++,t["wx-id"]=o),P[o])return;P[o]=!0,wx.ready((function(){wx.getLocalImgData({localId:r,success:function(e){t.src=e.localData}})}))}}}),!0),c.addEventListener("load",(function(e){if(!h){var t=e.target,n=t.tagName;if(t.src,"IMG"==n||"VIDEO"==n||"AUDIO"==n||"SOURCE"==n){var r=t["wx-id"];r&&(P[r]=!1)}}}),!0),t&&(e.wx=e.jWeixin=O),O}function E(t,n,r){e.WeixinJSBridge?WeixinJSBridge.invoke(t,x(n),(function(e){L(t,e,r)})):C(t,r)}function I(t,n,r){e.WeixinJSBridge?WeixinJSBridge.on(t,(function(e){r&&r.trigger&&r.trigger(e),L(t,e,n)})):C(t,r||n)}function x(e){return(e=e||{}).appId=w.appId,e.verifyAppId=w.appId,e.verifySignType="sha1",e.verifyTimestamp=w.timestamp+"",e.verifyNonceStr=w.nonceStr,e.verifySignature=w.signature,e}function T(e){return{timeStamp:e.timestamp+"",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||"SHA1"}}function L(e,t,n){"openEnterpriseChat"!=e&&"openBusinessView"!==e||(t.errCode=t.err_code),delete t.err_code,delete t.err_desc,delete t.err_detail;var r=t.errMsg;r||(r=t.err_msg,delete t.err_msg,r=function(e,t){var n=e,r=a[n];r&&(n=r);var o="ok";if(t){var i=t.indexOf(":");"confirm"==(o=t.substring(i+1))&&(o="ok"),"failed"==o&&(o="fail"),-1!=o.indexOf("failed_")&&(o=o.substring(7)),-1!=o.indexOf("fail_")&&(o=o.substring(5)),"access denied"!=(o=(o=o.replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=o||(o="permission denied"),"config"==n&&"function not exist"==o&&(o="ok"),""==o&&(o="fail")}return n+":"+o}(e,r),t.errMsg=r),(n=n||{})._complete&&(n._complete(t),delete n._complete),r=t.errMsg||"",w.debug&&!n.isInnerInvoke&&alert(JSON.stringify(t));var o=r.indexOf(":");switch(r.substring(o+1)){case"ok":n.success&&n.success(t);break;case"cancel":n.cancel&&n.cancel(t);break;default:n.fail&&n.fail(t)}n.complete&&n.complete(t)}function N(e){if(e){for(var t=0,n=e.length;t<n;++t){var r=e[t],o=i[r];o&&(e[t]=o)}return e}}function C(e,t){if(!(!w.debug||t&&t.isInnerInvoke)){var n=a[e];n&&(e=n),t&&t._complete&&delete t._complete,console.log('"'+e+'",',t||"")}}function j(){return(new Date).getTime()}function U(t){d&&(e.WeixinJSBridge?t():c.addEventListener&&c.addEventListener("WeixinJSBridgeReady",t,!1))}}(i)}.call(t,n,t,e))||(e.exports=r)}catch(i){}var i}).call(window);var i=window.wx;t.default=i}}]);