@toolspack/ttd-common 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/ttd-common.common.js
CHANGED
|
@@ -18529,12 +18529,12 @@ var PdfView_component = normalizeComponent(
|
|
|
18529
18529
|
)
|
|
18530
18530
|
|
|
18531
18531
|
/* harmony default export */ var PdfView = (PdfView_component.exports);
|
|
18532
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6153e5eb-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/cfca/CfcaPdf.vue?vue&type=template&id=
|
|
18533
|
-
var
|
|
18534
|
-
var
|
|
18532
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6153e5eb-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/cfca/CfcaPdf.vue?vue&type=template&id=8205e1e4&
|
|
18533
|
+
var CfcaPdfvue_type_template_id_8205e1e4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"cfca-pdf"},[(_vm.isIE)?[_c('div',{staticClass:"cfca-pdf-wrapper",style:({visibility: _vm.visible})},[_c('div',{class:{'cfca-left': true, 'active': _vm.active==='left', 'disabled': _vm.pageNo <= 1},on:{"click":function($event){return _vm.GoToPrevPage()}}},[_c('span',{staticClass:"el-icon-arrow-left"})]),_c('div',{staticClass:"cfca-content"},[_c('div',{staticClass:"cfca-page"},[_c('div',{staticClass:"fl cfca-title"},[_c('h2',[_vm._v(_vm._s(_vm.title))])]),_c('div',{staticClass:"fr"},[_vm._v(" "+_vm._s(_vm.pageNo)+"/"+_vm._s(_vm.pageCount)+" "),_c('span',{staticClass:"di"},[_vm._v("第")]),_c('el-input',{staticClass:"page-num",attrs:{"size":"mini"},on:{"change":_vm.GoToPage},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.GoToPage($event)}},model:{value:(_vm.inputPage),callback:function ($$v) {_vm.inputPage=$$v},expression:"inputPage"}}),_vm._v("页 ")],1)]),_c('div',{ref:"PDFCtrlPlaceHolder",staticClass:"cfca-object"},[_c('div',{staticClass:"obj-wrapper",on:{"dragenter":_vm.onDragEnter,"dragover":_vm.onDragOver,"drop":_vm.onDrop}},[(this.idstr)?[_c('object',{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{"position":"relative","z-Index":"1"},attrs:{"id":'PDFCtrl' + this.idstr,"tabindex":0,"codebase":_vm.publicPath + _vm.codebase,"classid":"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A","width":"100%","height":"100%"}},[_c('param',{attrs:{"name":"wmode","value":"transparent"}}),_c('param',{attrs:{"name":"showToolbar","value":"false"}})])]:[_c('object',{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{"position":"relative","z-Index":"1"},attrs:{"tabindex":0,"codebase":_vm.publicPath + _vm.codebase,"classid":"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A","width":"100%","height":"100%"}},[_c('param',{attrs:{"name":"wmode","value":"transparent"}}),_c('param',{attrs:{"name":"showToolbar","value":"false"}})])]],2)]),_c('div',{staticClass:"cfca-control"},[_vm._t("default")],2)]),_c('div',{class:{'cfca-right': true, 'active': _vm.active==='right', 'disabled': _vm.pageNo >= _vm.pageCount},on:{"click":function($event){return _vm.GoToNextPage()}}},[_c('span',{staticClass:"el-icon-arrow-right"})])])]:[_c('div',{staticClass:"red",staticStyle:{"height":"350px","padding":"20px","position":"relative","margin-bottom":"20px"}},[_vm._v(" 提示:当前浏览器不支持控件预览,请切换IE浏览器进行查看 "),_c('div',{staticClass:"tc",staticStyle:{"position":"absolute","bottom":"0","left":"0","right":"0"}},[_vm._t("default")],2)])]],2)}
|
|
18534
|
+
var CfcaPdfvue_type_template_id_8205e1e4_staticRenderFns = []
|
|
18535
18535
|
|
|
18536
18536
|
|
|
18537
|
-
// CONCATENATED MODULE: ./src/packages/cfca/CfcaPdf.vue?vue&type=template&id=
|
|
18537
|
+
// CONCATENATED MODULE: ./src/packages/cfca/CfcaPdf.vue?vue&type=template&id=8205e1e4&
|
|
18538
18538
|
|
|
18539
18539
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
18540
18540
|
var es_promise = __webpack_require__("e6cf");
|
|
@@ -19233,6 +19233,10 @@ var getUrl = function getUrl(str) {
|
|
|
19233
19233
|
},
|
|
19234
19234
|
// 循环调用签章(一印多签)
|
|
19235
19235
|
multipleSign: function multipleSign(labels, fileItem, serialNo, image, text) {
|
|
19236
|
+
if (!image) {
|
|
19237
|
+
this.PDFCtrl.SetPKCS11Module('UyeePKCS11.Enterprise.dll|UlanPKCS11.Enterprise.dll|UlanPKCS11.dll|CFCA_UKEY_P11.dll');
|
|
19238
|
+
}
|
|
19239
|
+
|
|
19236
19240
|
if (this.PDFCtrl.AddSignaturePosition) {
|
|
19237
19241
|
console.log('新版插件');
|
|
19238
19242
|
return this.multipleSign7(labels, fileItem, serialNo, image, text);
|
|
@@ -19300,8 +19304,8 @@ var CfcaPdfvue_type_style_index_0_lang_less_ = __webpack_require__("ff64");
|
|
|
19300
19304
|
|
|
19301
19305
|
var CfcaPdf_component = normalizeComponent(
|
|
19302
19306
|
cfca_CfcaPdfvue_type_script_lang_js_,
|
|
19303
|
-
|
|
19304
|
-
|
|
19307
|
+
CfcaPdfvue_type_template_id_8205e1e4_render,
|
|
19308
|
+
CfcaPdfvue_type_template_id_8205e1e4_staticRenderFns,
|
|
19305
19309
|
false,
|
|
19306
19310
|
null,
|
|
19307
19311
|
null,
|
package/lib/ttd-common.umd.js
CHANGED
|
@@ -18538,12 +18538,12 @@ var PdfView_component = normalizeComponent(
|
|
|
18538
18538
|
)
|
|
18539
18539
|
|
|
18540
18540
|
/* harmony default export */ var PdfView = (PdfView_component.exports);
|
|
18541
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6153e5eb-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/cfca/CfcaPdf.vue?vue&type=template&id=
|
|
18542
|
-
var
|
|
18543
|
-
var
|
|
18541
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6153e5eb-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/cfca/CfcaPdf.vue?vue&type=template&id=8205e1e4&
|
|
18542
|
+
var CfcaPdfvue_type_template_id_8205e1e4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"cfca-pdf"},[(_vm.isIE)?[_c('div',{staticClass:"cfca-pdf-wrapper",style:({visibility: _vm.visible})},[_c('div',{class:{'cfca-left': true, 'active': _vm.active==='left', 'disabled': _vm.pageNo <= 1},on:{"click":function($event){return _vm.GoToPrevPage()}}},[_c('span',{staticClass:"el-icon-arrow-left"})]),_c('div',{staticClass:"cfca-content"},[_c('div',{staticClass:"cfca-page"},[_c('div',{staticClass:"fl cfca-title"},[_c('h2',[_vm._v(_vm._s(_vm.title))])]),_c('div',{staticClass:"fr"},[_vm._v(" "+_vm._s(_vm.pageNo)+"/"+_vm._s(_vm.pageCount)+" "),_c('span',{staticClass:"di"},[_vm._v("第")]),_c('el-input',{staticClass:"page-num",attrs:{"size":"mini"},on:{"change":_vm.GoToPage},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.GoToPage($event)}},model:{value:(_vm.inputPage),callback:function ($$v) {_vm.inputPage=$$v},expression:"inputPage"}}),_vm._v("页 ")],1)]),_c('div',{ref:"PDFCtrlPlaceHolder",staticClass:"cfca-object"},[_c('div',{staticClass:"obj-wrapper",on:{"dragenter":_vm.onDragEnter,"dragover":_vm.onDragOver,"drop":_vm.onDrop}},[(this.idstr)?[_c('object',{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{"position":"relative","z-Index":"1"},attrs:{"id":'PDFCtrl' + this.idstr,"tabindex":0,"codebase":_vm.publicPath + _vm.codebase,"classid":"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A","width":"100%","height":"100%"}},[_c('param',{attrs:{"name":"wmode","value":"transparent"}}),_c('param',{attrs:{"name":"showToolbar","value":"false"}})])]:[_c('object',{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{"position":"relative","z-Index":"1"},attrs:{"tabindex":0,"codebase":_vm.publicPath + _vm.codebase,"classid":"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A","width":"100%","height":"100%"}},[_c('param',{attrs:{"name":"wmode","value":"transparent"}}),_c('param',{attrs:{"name":"showToolbar","value":"false"}})])]],2)]),_c('div',{staticClass:"cfca-control"},[_vm._t("default")],2)]),_c('div',{class:{'cfca-right': true, 'active': _vm.active==='right', 'disabled': _vm.pageNo >= _vm.pageCount},on:{"click":function($event){return _vm.GoToNextPage()}}},[_c('span',{staticClass:"el-icon-arrow-right"})])])]:[_c('div',{staticClass:"red",staticStyle:{"height":"350px","padding":"20px","position":"relative","margin-bottom":"20px"}},[_vm._v(" 提示:当前浏览器不支持控件预览,请切换IE浏览器进行查看 "),_c('div',{staticClass:"tc",staticStyle:{"position":"absolute","bottom":"0","left":"0","right":"0"}},[_vm._t("default")],2)])]],2)}
|
|
18543
|
+
var CfcaPdfvue_type_template_id_8205e1e4_staticRenderFns = []
|
|
18544
18544
|
|
|
18545
18545
|
|
|
18546
|
-
// CONCATENATED MODULE: ./src/packages/cfca/CfcaPdf.vue?vue&type=template&id=
|
|
18546
|
+
// CONCATENATED MODULE: ./src/packages/cfca/CfcaPdf.vue?vue&type=template&id=8205e1e4&
|
|
18547
18547
|
|
|
18548
18548
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
18549
18549
|
var es_promise = __webpack_require__("e6cf");
|
|
@@ -19242,6 +19242,10 @@ var getUrl = function getUrl(str) {
|
|
|
19242
19242
|
},
|
|
19243
19243
|
// 循环调用签章(一印多签)
|
|
19244
19244
|
multipleSign: function multipleSign(labels, fileItem, serialNo, image, text) {
|
|
19245
|
+
if (!image) {
|
|
19246
|
+
this.PDFCtrl.SetPKCS11Module('UyeePKCS11.Enterprise.dll|UlanPKCS11.Enterprise.dll|UlanPKCS11.dll|CFCA_UKEY_P11.dll');
|
|
19247
|
+
}
|
|
19248
|
+
|
|
19245
19249
|
if (this.PDFCtrl.AddSignaturePosition) {
|
|
19246
19250
|
console.log('新版插件');
|
|
19247
19251
|
return this.multipleSign7(labels, fileItem, serialNo, image, text);
|
|
@@ -19309,8 +19313,8 @@ var CfcaPdfvue_type_style_index_0_lang_less_ = __webpack_require__("ff64");
|
|
|
19309
19313
|
|
|
19310
19314
|
var CfcaPdf_component = normalizeComponent(
|
|
19311
19315
|
cfca_CfcaPdfvue_type_script_lang_js_,
|
|
19312
|
-
|
|
19313
|
-
|
|
19316
|
+
CfcaPdfvue_type_template_id_8205e1e4_render,
|
|
19317
|
+
CfcaPdfvue_type_template_id_8205e1e4_staticRenderFns,
|
|
19314
19318
|
false,
|
|
19315
19319
|
null,
|
|
19316
19320
|
null,
|
|
@@ -28,5 +28,5 @@ t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?i-1:0,h=
|
|
|
28
28
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
29
29
|
* @license MIT
|
|
30
30
|
*/
|
|
31
|
-
var n=r("1fb5"),i=r("9152"),o=r("e3db");function a(){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(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return l(this,e,t,r)}function l(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,r,n):"string"===typeof t?p(e,t,r):m(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 h(e,t,r,n){return f(t),t<=0?c(e,t):void 0!==r?"string"===typeof n?c(e,t).fill(r,n):c(e,t).fill(r):c(e,t)}function d(e,t){if(f(t),e=c(e,t<0?0:0|y(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t,r){if("string"===typeof r&&""!==r||(r="utf8"),!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|_(t,r);e=c(e,n);var i=e.write(t,r);return i!==n&&(e=e.slice(0,i)),e}function v(e,t){var r=t.length<0?0:0|y(t.length);e=c(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function g(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=v(e,t),e}function m(e,t){if(u.isBuffer(t)){var r=0|y(t.length);return e=c(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?c(e,0):v(e,t);if("Buffer"===t.type&&o(t.data))return v(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function _(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 r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return $(e).length;default:if(n)return K(e).length;t=(""+t).toLowerCase(),n=!0}}function w(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return M(this,t,r);case"utf8":case"utf-8":return I(this,t,r);case"ascii":return D(this,t,r);case"latin1":case"binary":return j(this,t,r);case"base64":return O(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function A(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function S(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:x(e,t,r,n,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):x(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function x(e,t,r,n,i){var o,a=1,s=e.length,c=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+c>s&&(r=s-c),o=r;o>=0;o--){for(var f=!0,h=0;h<c;h++)if(u(e,o+h)!==u(t,h)){f=!1;break}if(f)return o}return-1}function k(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function C(e,t,r,n){return ee(K(t,e.length-r),e,r,n)}function P(e,t,r,n){return ee(J(t),e,r,n)}function E(e,t,r,n){return P(e,t,r,n)}function R(e,t,r,n){return ee($(t),e,r,n)}function T(e,t,r,n){return ee(Z(t,e.length-r),e,r,n)}function O(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function I(e,t,r){r=Math.min(e.length,r);var n=[],i=t;while(i<r){var o,a,s,c,u=e[i],l=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:o=e[i+1],128===(192&o)&&(c=(31&u)<<6|63&o,c>127&&(l=c));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a,c>2047&&(c<55296||c>57343)&&(l=c));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,c>65535&&c<1114112&&(l=c))}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return F(n)}t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return l(null,e,t,r)},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,r){return h(null,e,t,r)},u.allocUnsafe=function(e){return d(null,e)},u.allocUnsafeSlow=function(e){return d(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 r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?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(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},u.byteLength=_,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)A(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)A(this,t,t+3),A(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)A(this,t,t+7),A(this,t+1,t+6),A(this,t+2,t+5),A(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):w.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="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,s=Math.min(o,a),c=this.slice(n,i),l=e.slice(t,r),f=0;f<s;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return S(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return S(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return C(this,e,t,r);case"ascii":return P(this,e,t,r);case"latin1":case"binary":return E(this,e,t,r);case"base64":return R(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function F(e){var t=e.length;if(t<=L)return String.fromCharCode.apply(String,e);var r="",n=0;while(n<t)r+=String.fromCharCode.apply(String,e.slice(n,n+=L));return r}function D(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function j(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function M(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=Q(e[o]);return i}function N(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function U(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function q(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function B(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function W(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function G(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function z(e,t,r,n,o){return o||G(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function Y(e,t,r,n,o){return o||G(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=u.prototype;else{var i=t-e;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e+--t],i=1;while(t>0&&(i*=256))n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||U(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||U(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||U(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||U(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||U(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=t,i=1,o=this[e+--n];while(n>0&&(i*=256))o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||U(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||U(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||U(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||U(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||U(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||U(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||U(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||U(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||U(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;q(this,e,t,r,i,0)}var o=1,a=0;this[t]=255&e;while(++a<r&&(o*=256))this[t+a]=e/o&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;q(this,e,t,r,i,0)}var o=r-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||q(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,r){return e=+e,t|=0,r||q(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):B(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):B(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||q(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):W(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||q(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):W(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);q(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<r&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);q(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||q(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,r){return e=+e,t|=0,r||q(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):B(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):B(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||q(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):W(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||q(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):W(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return z(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return z(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return Y(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return Y(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:K(new u(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var H=/[^+\/0-9A-Za-z-_]/g;function V(e){if(e=X(e).replace(H,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function X(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Q(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function J(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function Z(e,t){for(var r,n,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n)}return o}function $(e){return n.toByteArray(V(e))}function ee(e,t,r,n){for(var i=0;i<n;++i){if(i+r>=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function te(e){return e!==e}}).call(this,r("c8ba"))},b64b:function(e,t,r){var n=r("23e7"),i=r("7b0b"),o=r("df75"),a=r("d039"),s=a((function(){o(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return o(i(e))}})},b680:function(e,t,r){"use strict";var n=r("23e7"),i=r("a691"),o=r("408a"),a=r("1148"),s=r("d039"),c=1..toFixed,u=Math.floor,l=function(e,t,r){return 0===t?r:t%2===1?l(e,t-1,r*e):l(e*e,t/2,r)},f=function(e){var t=0,r=e;while(r>=4096)t+=12,r/=4096;while(r>=2)t+=1,r/=2;return t},h=c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}));n({target:"Number",proto:!0,forced:h},{toFixed:function(e){var t,r,n,s,c=o(this),h=i(e),d=[0,0,0,0,0,0],p="",v="0",g=function(e,t){var r=-1,n=t;while(++r<6)n+=e*d[r],d[r]=n%1e7,n=u(n/1e7)},m=function(e){var t=6,r=0;while(--t>=0)r+=d[t],d[t]=u(r/e),r=r%e*1e7},y=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==d[e]){var r=String(d[e]);t=""===t?r:t+a.call("0",7-r.length)+r}return t};if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(p="-",c=-c),c>1e-21)if(t=f(c*l(2,69,1))-69,r=t<0?c*l(2,-t,1):c/l(2,t,1),r*=4503599627370496,t=52-t,t>0){g(0,r),n=h;while(n>=7)g(1e7,0),n-=7;g(l(10,n,1),0),n=t-1;while(n>=23)m(1<<23),n-=23;m(1<<n),g(1,1),m(2),v=y()}else g(0,r),g(1<<-t,0),v=y()+a.call("0",h);return h>0?(s=v.length,v=p+(s<=h?"0."+a.call("0",h-s)+v:v.slice(0,s-h)+"."+v.slice(s-h))):v=p+v,v}})},b727:function(e,t,r){var n=r("0366"),i=r("44ad"),o=r("7b0b"),a=r("50c4"),s=r("65f0"),c=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,l=4==e,f=6==e,h=7==e,d=5==e||f;return function(p,v,g,m){for(var y,b,_=o(p),w=i(_),A=n(v,g,3),S=a(w.length),x=0,k=m||s,C=t?k(p,S):r||h?k(p,0):void 0;S>x;x++)if((d||x in w)&&(y=w[x],b=A(y,x,_),e))if(t)C[x]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:c.call(C,y)}else switch(e){case 4:return!1;case 7:c.call(C,y)}return f?-1:u||l?l:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},b8bf:function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("7c73");n({target:"Object",stat:!0,sham:!i},{create:o})},b929:function(e,t,r){var n=r("abcd");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("78ebf0de",n,!0,{sourceMap:!1,shadowMode:!1})},baa5:function(e,t,r){var n=r("23e7"),i=r("e58c");n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},bb2f:function(e,t,r){var n=r("d039");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bc5b:function(e,t,r){var n=r("24fb"),i=r("cef9");t=n(!1),t.i(i),t.push([e.i,".hevue-wrap[data-v-fb1200dc]{position:fixed;top:0;bottom:0;right:0;left:0;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;z-index:999999}.he-img-wrap[data-v-fb1200dc]{width:100%;height:100%;text-align:center;vertical-align:middle;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff}.he-close-icon[data-v-fb1200dc]{right:50px;top:50px;font-size:46px;color:#666}.arrow[data-v-fb1200dc],.he-close-icon[data-v-fb1200dc]{position:absolute;cursor:pointer;transition:all .2s}.arrow[data-v-fb1200dc]{width:50px;height:50px;text-align:center;line-height:50px;top:50%;border-radius:50%;transform:translateY(-50%);-ms-transform:translateY(-50%);font-size:3vw;opacity:.6}.arrow[data-v-fb1200dc]:hover{opacity:.8;font-size:32px}.arrow-left[data-v-fb1200dc]{left:50px}.arrow-right[data-v-fb1200dc]{right:50px}.he-close-icon[data-v-fb1200dc]:hover{transform:rotate(90deg)}.he-control-bar-wrap[data-v-fb1200dc]{display:flex;position:absolute;width:100%;bottom:10%;left:0}.he-control-bar[data-v-fb1200dc]{height:44px;bottom:10%;padding:0 22px;display:flex;border-radius:22px;margin:0 auto}.he-control-num[data-v-fb1200dc]{position:absolute;bottom:5%;left:50%;transform:translateX(-50%);-ms-transform:translateX(-50%);padding:0 22px;font-size:16px;border-radius:15px}.he-control-btn[data-v-fb1200dc]{line-height:44px;font-size:24px;cursor:pointer;padding:0 9px;transition:all .2s}.he-control-btn[data-v-fb1200dc]:hover{transform:scale(1.2)}.fade-enter-active[data-v-fb1200dc],.fade-leave-active[data-v-fb1200dc]{transition:opacity .3s}.fade-enter[data-v-fb1200dc],.fade-leave-to[data-v-fb1200dc]{opacity:0}.hevue-img-error[data-v-fb1200dc]{font-size:56px;color:#ccc}",""]),e.exports=t},c04e:function(e,t,r){var n=r("861d");e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},c0b6:function(e,t,r){var n=r("23e7"),i=r("0538");n({target:"Function",proto:!0},{bind:i})},c19f:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("621a"),a=r("2626"),s="ArrayBuffer",c=o[s],u=i[s];n({global:!0,forced:u!==c},{ArrayBuffer:c}),a(s)},c1ac:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").filter,o=r("4840"),a=n.aTypedArray,s=n.aTypedArrayConstructor,c=n.exportTypedArrayMethod;c("filter",(function(e){var t=i(a(this),e,arguments.length>1?arguments[1]:void 0),r=o(this,this.constructor),n=0,c=t.length,u=new(s(r))(c);while(c>n)u[n]=t[n++];return u}))},c20d:function(e,t,r){var n=r("da84"),i=r("58a8").trim,o=r("5899"),a=n.parseInt,s=/^[+-]?0[Xx]/,c=8!==a(o+"08")||22!==a(o+"0x16");e.exports=c?function(e,t){var r=i(String(e));return a(r,t>>>0||(s.test(r)?16:10))}:a},c408:function(e,t,r){"use strict";r("660a")},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},c6cd:function(e,t,r){var n=r("da84"),i=r("ce4e"),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},c8d2:function(e,t,r){var n=r("d039"),i=r("5899"),o="
";e.exports=function(e){return n((function(){return!!i[e]()||o[e]()!=o||i[e].name!==e}))}},c906:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("861d"),a=Object.isExtensible,s=i((function(){a(1)}));n({target:"Object",stat:!0,forced:s},{isExtensible:function(e){return!!o(e)&&(!a||a(e))}})},c975:function(e,t,r){"use strict";var n=r("23e7"),i=r("4d64").indexOf,o=r("a640"),a=r("ae40"),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,u=o("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:c||!u||!l},{indexOf:function(e){return c?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},ca84:function(e,t,r){var n=r("5135"),i=r("fc6a"),o=r("4d64").indexOf,a=r("d012");e.exports=function(e,t){var r,s=i(e),c=0,u=[];for(r in s)!n(a,r)&&n(s,r)&&u.push(r);while(t.length>c)n(s,r=t[c++])&&(~o(u,r)||u.push(r));return u}},ca91:function(e,t,r){"use strict";var n=r("ebb5"),i=r("d58f").left,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduce",(function(e){return i(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},caad:function(e,t,r){"use strict";var n=r("23e7"),i=r("4d64").includes,o=r("44d2"),a=r("ae40"),s=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:!s},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},cb29:function(e,t,r){var n=r("23e7"),i=r("81d5"),o=r("44d2");n({target:"Array",proto:!0},{fill:i}),o("fill")},cc12:function(e,t,r){var n=r("da84"),i=r("861d"),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},cc71:function(e,t,r){"use strict";var n=r("23e7"),i=r("857a"),o=r("af03");n({target:"String",proto:!0,forced:o("bold")},{bold:function(){return i(this,"b","","")}})},cca6:function(e,t,r){var n=r("23e7"),i=r("60da");n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},cd26:function(e,t,r){"use strict";var n=r("ebb5"),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){var e,t=this,r=i(t).length,n=a(r/2),o=0;while(o<n)e=t[o],t[o++]=t[--r],t[r]=e;return t}))},cd97:function(e,t,r){"use strict";r("b352")},cdf9:function(e,t,r){var n=r("825a"),i=r("861d"),o=r("f069");e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e),a=r.resolve;return a(t),r.promise}},ce0a:function(e,t,r){"use strict";r("b929")},ce4e:function(e,t,r){var n=r("da84"),i=r("9112");e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},cee8:function(e,t,r){var n=r("23e7"),i=r("861d"),o=r("f183").onFreeze,a=r("bb2f"),s=r("d039"),c=Object.preventExtensions,u=s((function(){c(1)}));n({target:"Object",stat:!0,forced:u,sham:!a},{preventExtensions:function(e){return c&&i(e)?c(o(e)):e}})},cef9:function(e,t,r){var n=r("24fb"),i=r("1de5"),o=r("adf8"),a=r("2340"),s=r("8ef7"),c=r("55cb");t=n(!1);var u=i(o),l=i(o,{hash:"#iefix"}),f=i(a),h=i(s),d=i(c,{hash:"#iconfont"});t.push([e.i,"@font-face{font-family:iconfont;src:url("+u+");src:url("+l+') format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAkQAAsAAAAAERQAAAjCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEaAqSMI8UATYCJAM4Cx4ABCAFhG0HgV4bkA5RlFBSI9nPAru5g41UuVLFiYtgRJc5aOrfayPXP6QQTk1nO2RIyxvXBRylMCIoBFyI8w4MKCPAjCED5M5j/vCQf3u/u7WFoRxFHAWeYeAtzqJA25d8c/OpTbSB8wizhUZRLNGMJZHupQy1/pjSuXxTLFJH1NcWhsVeMLFfk7Vuae7YYLKZDZ9vP1eHiESzw1PhLSRKvJvfl4l/hpknk1BpvL2+Q9xDJENKxIzF2ORAFwl2PazjbCAAVmmUBVkategAPYakCJpskjUT+pwG0+JF6OXamj2TIVOhoR/GUecBTAl/n/xII3qAognIc7VZG+agThfeCrQ34GV6xGh4zXEARiSABpQFwIzYq1a5C6DJwofGtmaMB1AUwfw++i6oopqg9lId6kx1rrr1Rc7LvLdCIADj21OV+5eZRFGVujhKrg5oaFFYHN1ZqM+jCQx7+M8bIWgedhsKBVBdABpQRQBaUBMAUKD2BMCC2gsAB6oMQAeqA4Ae1JkACKhzAfCgbgVAw4scAAK8zANggLeC+D6njf6GJQGYAOoBmLvVrkMpjUEJmtzzJi1d6UgMelq1qEgQOsWaPJBnMxmNuVqpZSt9zmAQcXVgEcoEMVcwGk0mQRSPWdLgEUTGlv8ddjUEnECLVAOFbFtZtYIaV9NVlhZg24W86H54+xP9Inww0ArRtladl49mZWuxe2FRUzzJPlc+KwMitIzvcGuhawGg8wucq+ukHZY02GHbW9Vbk/L68MJJ6wFNdK1Z1ID0lHcOh90yZpDW0tbpcuXnnga4Wr7kH/otfV7TcFB+p2/Sy3JbsJS0QLsnH0HiK8Cu8rEOO6TzLx1KIXGp3iQHcViescA50sU4Yc9Xx0YOR/6uQy28pjORM+5W8hfhEp52eQcfb/F4JS290dL1NS99l5tXPQ/rubqPqqKVhHuRWqr22PYYBKYhZ3iiCbss8mbYasX1Z0Gw4yoOEtERocJACBVXNhupaxX1NJB/2Khw/cLwfLUiJ3Rt0Ph0pTzbf/lqfGswxA8UZXsO1htTh0vxmduFpT5Zydc8rF1qMwBk0hl7ulYKqxUn1oWZLirucn/IJ3YXxI70JqFyIhV7O2kBWGPPKrIKGPSMNMMBIkhKM6D5D8pyn1HEAG3svBY8JXRR8+Kw3GuWddtScown2JPc0LV9PgQN486hi06k6uaqFDP+zz4uOVPx/M7iix1kQan9fBUAn2/6HkN3GrrfIGpdNw+WFTuppHDdJe84XP6qwyy5YM1JG7vwCDbZ0aP7qtJi34TJ8d0mTeoW3yvxMocBTGDWmNjrsui3pqTj19bRW5C4hejxiC2iW2+BAUxgtt+alggMPZmoKOaugj7yeqQ1au1nfv9OyPYLBKn4LveW2GkN21gEwwd/unHUmKfjLAa+DV9G753wwDfhjhCy+PT+s3WK1zqgS2uWOLRh1zpFi68rChOKRp6PLBrUoioC1Q8yf/7mAQwffdNVVfkqt3JKGQOOwhO+58999Aa68DnjI57Sq0gZzlbyV8VVdfRNMpw58PfvfK2ovkPbBm0btu0I0/AqTYx9a6mvStg+zn8qCgt7KDaNbdq66UdjN8TcPzS/1eCpJvFDsD+Mp0eU5k3+LbyfKlHBOJXVdB/E+5lk3GgAn1R3qqFG726VxpxcVi0yMpGJSJtX5d5UtoK/7oATCbl5CxP8tVNo/+JEbdfrKYme1xX1b722Tps5JfCh85TJKBdS7pPVIvCnSIb80h/LI+ioKomK8nvriBJ/ndpD60j10NoxDnhHK+mkqEqVmtTwfAqdceXQHGo5ffs2zWTLbYijSPDlpHckvWtazjr74hDz508y2SFAmH07/aMwZLPGOlVRuVKT6mP+Vw/NDkjrSOX8/ROHFP0Xnt8LQ7epFewd2aeBtpG2QZ+Rjoxw3QzMGGGImdpoaoxBzyzcni+E8jOF4OLwj8SHMjX9IXwtI0pAKC6Euy2EAAu5VnzxIUwRPqY9F8WDhV5/R0Cty2Gdu3TunDc7tse4QZM9vbhRXu8orpdn8qBxPWJn523ZHJPRMSOty972SFs37ej1hsckhYYH3tFJMd4hSdFmCE0Kwfk0wrTOW7bEwK4Ts3nLmeot6erwliaPC83rfRc+P3F++Lt74esS14Xf0zYYgVcnpM0ran7S/LBXrxpqpUwxzaMLz5CsMCQlzQsvLAyfV+WxIaynmLZVG3PCPXoedDtzp5R4i1HQz9bc0aRrmS7X9Im+f9/OaEtAEkPXi/veqeujLFFsO18Uen8AEBjGBujSDj4efrpO8G72E10t7R6W0E1M/njWZjrMXkV0r7Y27Q38hqBG55EJ1v5nroWlC+YG9w6q8U3PfaKL7uf9HRoK+1vXzoce1YQWon9IVdZq4QWkS4nUGnM+CNeqfAV+i8pCI6FGPelKKQCrxgH/jdmheLgtNqK36C+ZjUgxRWRLAdN1dnGYgV3ZcA1OBtZCsv+VrDJojP05YVDQSBoApGCUCCeCsTmcYnQY07C7gBnYPQjXiMQ7mRZuhA5ndWphR+QkEImtr5gzXeYcMau/KGXLdoujd7FR03Zmqzs/U+ESa6NOZsUpyXYxtbxpXdXYbDcrJrZxeqxpLpdFtChygdiIbWHOz5dFhyLnmrNd5W2odFSrUMEy2bZ8tlwAVn0Ks0wuP3oOEVn6p5Rkk9lZFndhSz/fjpmVW75MSkufi5SdmCmcpOWLSEV5mHpYNabtvfrcl9ZOHlZpcHHOQnQ7K2QFRDTinFm+KpeJcNSvlsssm0t52AilDtVQgY9l6UuX3z5bcKvTuPn6lQ81NorQhCEaoiU6oicGwhKO8EQgRhKEktfiTQfYpAFuOUvKlAfY3HZTWnpqRiXGZs53cLlS5oBMaYBNtltDXW6HlGkv1XXapKxMKXgwuXemosh9eyuS1eZiW3LtLtltqNTQz51pt7Mz7WzMpXL9bQGtRMqXtBa0suZk6pxuud9WVfr/qms5JLtVa43ysiQAAA==") format("woff2"),url('+f+') format("woff"),url('+h+') format("truetype"),url('+d+') format("svg")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconiconfontzhizuobiaozhun023146:before{content:"\\e694"}.iconhelp:before{content:"\\e626"}.iconjiazaizhong:before{content:"\\e6b1"}.icontupianjiazaishibai:before{content:"\\ec0d"}.iconicon_arrow_right:before{content:"\\e60d"}.iconjiantouzuo:before{content:"\\e620"}.iconxuanzhuan:before{content:"\\e66f"}.iconxuanzhuan1:before{content:"\\e670"}.iconyuanshibili:before{content:"\\e86b"}.iconfangda:before{content:"\\e65d"}.iconsuoxiao:before{content:"\\e65e"}.iconquanping:before{content:"\\e698"}.iconguanbi:before{content:"\\e764"}',""]),e.exports=t},cfc3:function(e,t,r){var n=r("74e8");n("Float32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,r){var n=r("428f"),i=r("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},d139:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").find,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("find",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d1e7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},d28b:function(e,t,r){var n=r("746f");n("iterator")},d2bb:function(e,t,r){var n=r("825a"),i=r("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(r,[]),t=r instanceof Array}catch(o){}return function(r,o){return n(r),i(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},d3b7:function(e,t,r){var n=r("00ee"),i=r("6eeb"),o=r("b041");n||i(Object.prototype,"toString",o,{unsafe:!0})},d3c7:function(e,t,r){"use strict";r("82d0")},d44e:function(e,t,r){var n=r("9bf2").f,i=r("5135"),o=r("b622"),a=o("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},d58f:function(e,t,r){var n=r("1c0b"),i=r("7b0b"),o=r("44ad"),a=r("50c4"),s=function(e){return function(t,r,s,c){n(r);var u=i(t),l=o(u),f=a(u.length),h=e?f-1:0,d=e?-1:1;if(s<2)while(1){if(h in l){c=l[h],h+=d;break}if(h+=d,e?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;e?h>=0:f>h;h+=d)h in l&&(c=r(c,l[h],h,u));return c}};e.exports={left:s(!1),right:s(!0)}},d5d6:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").forEach,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("forEach",(function(e){i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d784:function(e,t,r){"use strict";r("ac1f");var n=r("6eeb"),i=r("d039"),o=r("b622"),a=r("9263"),s=r("9112"),c=o("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l=function(){return"$0"==="a".replace(/./,"$0")}(),f=o("replace"),h=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),d=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,f){var p=o(e),v=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),g=v&&!i((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return t=!0,null},r[p](""),!t}));if(!v||!g||"replace"===e&&(!u||!l||h)||"split"===e&&!d){var m=/./[p],y=r(p,""[e],(function(e,t,r,n,i){return t.exec===a?v&&!i?{done:!0,value:m.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),b=y[0],_=y[1];n(String.prototype,e,b),n(RegExp.prototype,p,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}f&&s(RegExp.prototype[p],"sham",!0)}},d81d:function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").map,o=r("1dde"),a=r("ae40"),s=o("map"),c=a("map");n({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("56ef"),a=r("fc6a"),s=r("06cf"),c=r("8418");n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),i=s.f,u=o(n),l={},f=0;while(u.length>f)r=i(n,t=u[f++]),void 0!==r&&c(l,t,r);return l}})},dca8:function(e,t,r){var n=r("23e7"),i=r("bb2f"),o=r("d039"),a=r("861d"),s=r("f183").onFreeze,c=Object.freeze,u=o((function(){c(1)}));n({target:"Object",stat:!0,forced:u,sham:!i},{freeze:function(e){return c&&a(e)?c(s(e)):e}})},ddb0:function(e,t,r){var n=r("da84"),i=r("fdbc"),o=r("e260"),a=r("9112"),s=r("b622"),c=s("iterator"),u=s("toStringTag"),l=o.values;for(var f in i){var h=n[f],d=h&&h.prototype;if(d){if(d[c]!==l)try{a(d,c,l)}catch(v){d[c]=l}if(d[u]||a(d,u,f),i[f])for(var p in o)if(d[p]!==o[p])try{a(d,p,o[p])}catch(v){d[p]=o[p]}}}},df75:function(e,t,r){var n=r("ca84"),i=r("7839");e.exports=Object.keys||function(e){return n(e,i)}},df7c:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}function i(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,n="/"===a.charAt(0))}return t=r(i(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),a="/"===o(e,-1);return e=r(i(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&a&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("4362"))},e017:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".switch-page[data-v-fb780886]{margin:0;padding:0;overflow:auto}.switch-page button[data-v-fb780886]{font-size:16px;padding:6px!important}",""]),e.exports=t},e01a:function(e,t,r){"use strict";var n=r("23e7"),i=r("83ab"),o=r("da84"),a=r("5135"),s=r("861d"),c=r("9bf2").f,u=r("e893"),l=o.Symbol;if(i&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new l(e):void 0===e?l():l(e);return""===e&&(f[t]=!0),t};u(h,l);var d=h.prototype=l.prototype;d.constructor=h;var p=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(a(f,e))return"";var r=v?t.slice(7,-1):t.replace(g,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},e099:function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"===typeof e?o(a(e),(function(a){var s=encodeURIComponent(n(a))+r;return i(e[a])?o(e[a],(function(e){return s+encodeURIComponent(n(e))})).join(t):s+encodeURIComponent(n(e[a]))})).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var a=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},e0e9:function(e,t,r){"use strict";r("924f")},e163:function(e,t,r){var n=r("5135"),i=r("7b0b"),o=r("f772"),a=r("e177"),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},e177:function(e,t,r){var n=r("d039");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e25e:function(e,t,r){var n=r("23e7"),i=r("c20d");n({global:!0,forced:parseInt!=i},{parseInt:i})},e260:function(e,t,r){"use strict";var n=r("fc6a"),i=r("44d2"),o=r("3f8c"),a=r("69f3"),s=r("7dd0"),c="Array Iterator",u=a.set,l=a.getterFor(c);e.exports=s(Array,"Array",(function(e,t){u(this,{type:c,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e2cc:function(e,t,r){var n=r("6eeb");e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},e3db:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},e439:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("fc6a"),a=r("06cf").f,s=r("83ab"),c=i((function(){a(1)})),u=!s||c;n({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},e538:function(e,t,r){var n=r("b622");t.f=n},e58c:function(e,t,r){"use strict";var n=r("fc6a"),i=r("a691"),o=r("50c4"),a=r("a640"),s=r("ae40"),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf"),h=s("indexOf",{ACCESSORS:!0,1:0}),d=l||!f||!h;e.exports=d?function(e){if(l)return u.apply(this,arguments)||0;var t=n(this),r=o(t.length),a=r-1;for(arguments.length>1&&(a=c(a,i(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,r){"use strict";var n,i,o,a,s=r("23e7"),c=r("c430"),u=r("da84"),l=r("d066"),f=r("fea9"),h=r("6eeb"),d=r("e2cc"),p=r("d44e"),v=r("2626"),g=r("861d"),m=r("1c0b"),y=r("19aa"),b=r("8925"),_=r("2266"),w=r("1c7e"),A=r("4840"),S=r("2cf4").set,x=r("b575"),k=r("cdf9"),C=r("44de"),P=r("f069"),E=r("e667"),R=r("69f3"),T=r("94ca"),O=r("b622"),I=r("605d"),L=r("2d00"),F=O("species"),D="Promise",j=R.get,M=R.set,N=R.getterFor(D),U=f,q=u.TypeError,B=u.document,W=u.process,G=l("fetch"),z=P.f,Y=z,H=!!(B&&B.createEvent&&u.dispatchEvent),V="function"==typeof PromiseRejectionEvent,X="unhandledrejection",Q="rejectionhandled",K=0,J=1,Z=2,$=1,ee=2,te=T(D,(function(){var e=b(U)!==String(U);if(!e){if(66===L)return!0;if(!I&&!V)return!0}if(c&&!U.prototype["finally"])return!0;if(L>=51&&/native code/.test(U))return!1;var t=U.resolve(1),r=function(e){e((function(){}),(function(){}))},n=t.constructor={};return n[F]=r,!(t.then((function(){}))instanceof r)})),re=te||!w((function(e){U.all(e)["catch"]((function(){}))})),ne=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},ie=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;x((function(){var n=e.value,i=e.state==J,o=0;while(r.length>o){var a,s,c,u=r[o++],l=i?u.ok:u.fail,f=u.resolve,h=u.reject,d=u.domain;try{l?(i||(e.rejection===ee&&ce(e),e.rejection=$),!0===l?a=n:(d&&d.enter(),a=l(n),d&&(d.exit(),c=!0)),a===u.promise?h(q("Promise-chain cycle")):(s=ne(a))?s.call(a,f,h):f(a)):h(n)}catch(p){d&&!c&&d.exit(),h(p)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},oe=function(e,t,r){var n,i;H?(n=B.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!V&&(i=u["on"+e])?i(n):e===X&&C("Unhandled promise rejection",r)},ae=function(e){S.call(u,(function(){var t,r=e.facade,n=e.value,i=se(e);if(i&&(t=E((function(){I?W.emit("unhandledRejection",n,r):oe(X,r,n)})),e.rejection=I||se(e)?ee:$,t.error))throw t.value}))},se=function(e){return e.rejection!==$&&!e.parent},ce=function(e){S.call(u,(function(){var t=e.facade;I?W.emit("rejectionHandled",t):oe(Q,t,e.value)}))},ue=function(e,t,r){return function(n){e(t,n,r)}},le=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=Z,ie(e,!0))},fe=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw q("Promise can't be resolved itself");var n=ne(t);n?x((function(){var r={done:!1};try{n.call(t,ue(fe,r,e),ue(le,r,e))}catch(i){le(r,i,e)}})):(e.value=t,e.state=J,ie(e,!1))}catch(i){le({done:!1},i,e)}}};te&&(U=function(e){y(this,U,D),m(e),n.call(this);var t=j(this);try{e(ue(fe,t),ue(le,t))}catch(r){le(t,r)}},n=function(e){M(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},n.prototype=d(U.prototype,{then:function(e,t){var r=N(this),n=z(A(this,U));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=I?W.domain:void 0,r.parent=!0,r.reactions.push(n),r.state!=K&&ie(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=j(e);this.promise=e,this.resolve=ue(fe,t),this.reject=ue(le,t)},P.f=z=function(e){return e===U||e===o?new i(e):Y(e)},c||"function"!=typeof f||(a=f.prototype.then,h(f.prototype,"then",(function(e,t){var r=this;return new U((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof G&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(U,G.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:te},{Promise:U}),p(U,D,!1,!0),v(D),o=l(D),s({target:D,stat:!0,forced:te},{reject:function(e){var t=z(this);return t.reject.call(void 0,e),t.promise}}),s({target:D,stat:!0,forced:c||te},{resolve:function(e){return k(c&&this===o?U:this,e)}}),s({target:D,stat:!0,forced:re},{all:function(e){var t=this,r=z(t),n=r.resolve,i=r.reject,o=E((function(){var r=m(t.resolve),o=[],a=0,s=1;_(e,(function(e){var c=a++,u=!1;o.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,o[c]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=z(t),n=r.reject,i=E((function(){var i=m(t.resolve);_(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},e893:function(e,t,r){var n=r("5135"),i=r("56ef"),o=r("06cf"),a=r("9bf2");e.exports=function(e,t){for(var r=i(t),s=a.f,c=o.f,u=0;u<r.length;u++){var l=r[u];n(e,l)||s(e,l,c(t,l))}}},e8b5:function(e,t,r){var n=r("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},e91f:function(e,t,r){"use strict";var n=r("ebb5"),i=r("4d64").indexOf,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("indexOf",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},e95a:function(e,t,r){var n=r("b622"),i=r("3f8c"),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},eabf:function(e,t,r){var n=r("bc5b");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("20d209bc",n,!0,{sourceMap:!1,shadowMode:!1})},ebb5:function(e,t,r){"use strict";var n,i=r("a981"),o=r("83ab"),a=r("da84"),s=r("861d"),c=r("5135"),u=r("f5df"),l=r("9112"),f=r("6eeb"),h=r("9bf2").f,d=r("e163"),p=r("d2bb"),v=r("b622"),g=r("90e3"),m=a.Int8Array,y=m&&m.prototype,b=a.Uint8ClampedArray,_=b&&b.prototype,w=m&&d(m),A=y&&d(y),S=Object.prototype,x=S.isPrototypeOf,k=v("toStringTag"),C=g("TYPED_ARRAY_TAG"),P=i&&!!p&&"Opera"!==u(a.opera),E=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T={BigInt64Array:8,BigUint64Array:8},O=function(e){if(!s(e))return!1;var t=u(e);return"DataView"===t||c(R,t)||c(T,t)},I=function(e){if(!s(e))return!1;var t=u(e);return c(R,t)||c(T,t)},L=function(e){if(I(e))return e;throw TypeError("Target is not a typed array")},F=function(e){if(p){if(x.call(w,e))return e}else for(var t in R)if(c(R,n)){var r=a[t];if(r&&(e===r||x.call(r,e)))return e}throw TypeError("Target is not a typed array constructor")},D=function(e,t,r){if(o){if(r)for(var n in R){var i=a[n];i&&c(i.prototype,e)&&delete i.prototype[e]}A[e]&&!r||f(A,e,r?t:P&&y[e]||t)}},j=function(e,t,r){var n,i;if(o){if(p){if(r)for(n in R)i=a[n],i&&c(i,e)&&delete i[e];if(w[e]&&!r)return;try{return f(w,e,r?t:P&&m[e]||t)}catch(s){}}for(n in R)i=a[n],!i||i[e]&&!r||f(i,e,t)}};for(n in R)a[n]||(P=!1);if((!P||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},P))for(n in R)a[n]&&p(a[n],w);if((!P||!A||A===S)&&(A=w.prototype,P))for(n in R)a[n]&&p(a[n].prototype,A);if(P&&d(_)!==A&&p(_,A),o&&!c(A,k))for(n in E=!0,h(A,k,{get:function(){return s(this)?this[C]:void 0}}),R)a[n]&&l(a[n],C,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:P,TYPED_ARRAY_TAG:E&&C,aTypedArray:L,aTypedArrayConstructor:F,exportTypedArrayMethod:D,exportTypedArrayStaticMethod:j,isView:O,isTypedArray:I,TypedArray:w,TypedArrayPrototype:A}},f069:function(e,t,r){"use strict";var n=r("1c0b"),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},f183:function(e,t,r){var n=r("d012"),i=r("861d"),o=r("5135"),a=r("9bf2").f,s=r("90e3"),c=r("bb2f"),u=s("meta"),l=0,f=Object.isExtensible||function(){return!0},h=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,u)){if(!f(e))return"F";if(!t)return"E";h(e)}return e[u].objectID},p=function(e,t){if(!o(e,u)){if(!f(e))return!0;if(!t)return!1;h(e)}return e[u].weakData},v=function(e){return c&&g.REQUIRED&&f(e)&&!o(e,u)&&h(e),e},g=e.exports={REQUIRED:!1,fastKey:d,getWeakData:p,onFreeze:v};n[u]=!0},f26a:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,'.label-view[data-v-503c1c85]{position:relative;float:left;width:100%;height:100%;overflow:hidden}.label-view .tag[data-v-503c1c85]{position:absolute;z-index:999;top:0;display:none}.labelCon[data-v-503c1c85]{position:absolute;width:100%;height:100%;top:0;left:0;text-align:center;color:#fff;font-size:12px;display:table;white-space:nowrap}.labelCon .span-text[data-v-503c1c85]{display:table-cell;vertical-align:middle;white-space:normal}.label-proterty[data-v-503c1c85]{position:absolute;bottom:0;right:10px;color:#206ad4;font-size:14px}.resize-tag[data-v-503c1c85]{width:10px;height:10px;overflow:hidden;position:absolute;cursor:se-resize;right:0;bottom:0}.resize-tag[data-v-503c1c85]:after{content:"";display:inline-block;width:15px;height:3px;border:1px solid #666;transform-origin:center;transform:rotate(135deg) translate(-2px,5px)}.close[data-v-503c1c85]{width:20px;height:20px;border-radius:50%;position:absolute;top:-10px;right:-10px;background:coral;color:#fff;transform:rotate(45deg);text-align:center;line-height:20px;cursor:pointer}i[data-v-503c1c85]{font-style:normal}',""]),e.exports=t},f596:function(e,t,r){"use strict";r("1f62")},f5b2:function(e,t,r){"use strict";var n=r("23e7"),i=r("6547").codeAt;n({target:"String",proto:!0},{codePointAt:function(e){return i(this,e)}})},f5df:function(e,t,r){var n=r("00ee"),i=r("c6b6"),o=r("b622"),a=o("toStringTag"),s="Arguments"==i(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(r){}};e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=c(t=Object(e),a))?r:s?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},f6d6:function(e,t,r){var n=r("23e7"),i=r("23cb"),o=String.fromCharCode,a=String.fromCodePoint,s=!!a&&1!=a.length;n({target:"String",stat:!0,forced:s},{fromCodePoint:function(e){var t,r=[],n=arguments.length,a=0;while(n>a){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}})},f772:function(e,t,r){var n=r("5692"),i=r("90e3"),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},f8cd:function(e,t,r){var n=r("a691");e.exports=function(e){var t=n(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},fb15:function(e,t,r){"use strict";if(r.r(t),"undefined"!==typeof window){var n=window.document.currentScript,i=r("8875");n=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(r.p=o[1])}r("d81d"),r("b0c0");var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"labelView",staticClass:"label-view",on:{click:e.getCoordinates}},[r(e.currentView,{ref:"currentTag",tag:"component",staticClass:"tag",attrs:{showName:e.activeTagObj.name,tagStyle:e.activeTagObj,labelId:e.activeTagObj.labelId}}),e._l(e.singleTagData,(function(t,n){return[e.page===t.pageIndex&&0==e.filterType||e.filterType==t.labelType?r("labelItem",{directives:[{name:"move",rawName:"v-move",value:e.handlerMove,expression:"handlerMove"}],key:n,style:e.getStyleCom(t),attrs:{tagStyle:t,index:n,showName:t.showName},nativeOn:{contextmenu:function(r){return r.preventDefault(),e.deTag(t,n,r)}}},[r("i",{staticClass:"labelCon",style:e.getStyleCon(t)},[r("span",{staticClass:"span-text"},[e._v(e._s(t.showName))])]),e.isclose?r("i",{staticClass:"close",on:{click:function(r){return e.deleteTag(t,n)}}},[e._v("+")]):e._e(),1===t.labelType&&e.issize?r("div",{directives:[{name:"size",rawName:"v-size",value:e.handlerResize,expression:"handlerResize"}],staticClass:"resize-tag"}):e._e()]):e._e()]})),r("LabelProterty",{ref:"proterty",on:{change:e.onChange}})],2)},s=[];r("99af"),r("4de4"),r("7db0"),r("4160"),r("c975"),r("a434"),r("a9e3"),r("cca6"),r("e25e"),r("159b"),r("a4d3"),r("1d1c"),r("7a82"),r("e439"),r("dbb4"),r("b64b");function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"label-item-box",class:e.className,style:e.style},[e._t("default"),r("div",{staticClass:"label-style"})],2)},h=[];function d(e){switch(e){case 1:return{width:"120px",height:"35px"};case 2:return{width:"140px",height:"140px"};case 3:return{width:"30px",height:"30px"};case 4:return{width:"100px",height:"100px"};default:return{width:"200px",height:"35px"}}}var p=d,v={props:{tagStyle:{type:[String,Object],required:!0}},data:function(){return{}},computed:{style:function(){var e=p(this.tagStyle.shape);return e},className:function(){var e=this.tagStyle;return"label-shape".concat(e.shape)}},methods:{}},g=v;r("c408");function m(e,t,r,n,i,o,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}var y=m(g,f,h,!1,null,"3e9e96f1",null),b=y.exports,_=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("el-dialog",{attrs:{title:"标签属性",modal:!0,visible:e.dialogVisible,"close-on-click-modal":!1,"append-to-body":"",width:"480px","custom-class":"discard-flow-wrapper","before-close":e.beforeClose,"close-on-press-escape":!1},on:{"update:visible":function(t){e.dialogVisible=t}}},[r("el-form",{ref:"prodForm",attrs:{model:e.formData,size:"small"}},[r("el-form-item",{attrs:{label:"字体大小",prop:"fontSize"}},[r("el-select",{model:{value:e.formData.fontSize,callback:function(t){e.$set(e.formData,"fontSize",t)},expression:"formData.fontSize"}},[r("el-option",{attrs:{label:"自动",value:0}}),r("el-option",{attrs:{label:"12px",value:12}}),r("el-option",{attrs:{label:"14px",value:14}}),r("el-option",{attrs:{label:"16px",value:16}}),r("el-option",{attrs:{label:"18px",value:18}}),r("el-option",{attrs:{label:"32px",value:32}})],1)],1),r("el-form-item",{attrs:{label:"对齐方式",prop:"alignment"}},[r("el-select",{model:{value:e.formData.alignment,callback:function(t){e.$set(e.formData,"alignment",t)},expression:"formData.alignment"}},[r("el-option",{attrs:{label:"居左",value:0}}),r("el-option",{attrs:{label:"居中",value:1}}),r("el-option",{attrs:{label:"居右",value:2}})],1)],1),r("el-form-item",{staticClass:"remark-wrapper",attrs:{label:"是否换行",prop:"isMultiline"}},[r("el-select",{model:{value:e.formData.isMultiline,callback:function(t){e.$set(e.formData,"isMultiline",t)},expression:"formData.isMultiline"}},[r("el-option",{attrs:{label:"单行",value:0}}),r("el-option",{attrs:{label:"多行",value:1}})],1)],1)],1),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.beforeClose}},[e._v("取消")]),r("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("确认提交")])],1)],1)],1)},w=[],A={props:{role:{type:String,default:""}},data:function(){return{dialogVisible:!1,editItem:"",productId:"",labelNode:null,formData:{fontSize:0,alignment:"",isMultiline:""}}},methods:{openDialog:function(e,t,r){this.dialogVisible=!0,this.labelNode={labelData:e,index:t,element:r},this.formData.fontSize=null==e.fontSize?0:e.fontSize,this.formData.alignment=null==e.alignment?1:e.alignment,this.formData.isMultiline=null==e.isMultiline?0:e.isMultiline},beforeClose:function(){this.dialogVisible=!1},onSubmit:function(){console.log("--",this.formData),this.$emit("change",this.formData,this.labelNode),this.dialogVisible=!1}}},S=A,x=(r("ce0a"),m(S,_,w,!1,null,"7c80f08a",null)),k=x.exports,C={move:{inserted:function(e,t,r){e.onmousedown=function(r){t.value(r,e),r.stopPropagation()}}},size:{inserted:function(e,t,r){e.onmousedown=function(r){t.value(r,e),r.stopPropagation()}}}},P=C,E=[{type:1,name:"文本标签",shape:1},{type:2,name:"选项",shape:1},{type:3,name:"多选",shape:1},{type:5,name:"自然人投资者签名",shape:1},{type:21,name:"机构经办人签名",shape:1},{type:11,name:"管理人签章",shape:2},{type:19,name:"理财师签名",shape:1},{type:15,name:"托管人签章",shape:2},{type:7,name:"投资机构签章",shape:2},{type:23,name:"管理人法人签章",shape:2},{type:25,name:"托管人法人签章",shape:2},{type:27,name:"管理人合同签章",shape:2},{name:"募集机构公章签章",type:29,shape:2},{name:"募集机构法人章签章",type:31,shape:2},{name:"募集机构业务或合同章",type:33,shape:2},{name:"募集机构理财师签名",type:35,shape:1},{name:"机构投资者法人章",type:37,shape:4},{name:"妥妥递公章",type:97,shape:2},{name:"妥妥递法人章",type:98,shape:2},{name:"自定义标签",type:99,shape:2}],R={name:"TtdLabelMake",props:{isclose:{type:[Boolean],default:!0},ismove:{type:[Boolean],default:!0},issize:{type:[Boolean],default:!0},isset:{type:[Boolean],default:!0},labelCurrent:{type:[Object]},page:{type:[Number,String],default:1},filterType:{type:[Number,String],default:0},labelViewData:{type:[Array],default:function(){return[]}}},components:{labelItem:b,LabelProterty:k},data:function(){return{labelConfig:E,showLabel:{showName:"",labelId:""},currentView:"",labelData:[],activeTagObj:{name:"",labelId:""},mousemoveFn:null,mousedownEl:null,mousedonwType:""}},created:function(){this.labelData=this.labelViewData,this.$emit("getLabelData",this.labelData)},mounted:function(){var e=this;document.onclick=function(){e.removeElementsByClass("mouse-right-el")};var t=this.$refs.labelView,r=this;t.onmousemove=function(e){if(r.mousemoveFn){var n=r.getFollowOffset(t,e.target,{left:e.offsetX,top:e.offsetY});r.mousemoveFn(e,n)}else if(r.activeTagObj&&r.activeTagObj.name){var i=r.getFollowOffset(t,e.target,{left:e.offsetX,top:e.offsetY}),o=r.$refs.currentTag.$el;o&&(t.style.cursor="none",o.style.display="block",o.style.left="".concat(i.left,"px"),o.style.top="".concat(i.top,"px"))}},t.onmouseup=function(){if(console.log("box --onmouseup"),r.mousedownEl)if("resize-tag"===r.mousedownEl.className){var e=r.mousedownEl.parentNode,t=e.getAttribute("index");if(console.log("resize".concat(t),"".concat(e.offsetWidth,"--").concat(e.offsetHeight)),t){var n=r.labelData[Number(t)];n&&(n.labelWidth=e.offsetWidth,n.labelHigh=e.offsetHeight,n.styleObj&&(n.styleObj.width="".concat(e.offsetWidth,"px"),n.styleObj.height="".concat(e.offsetHeight,"px")))}}else{var i=r.mousedownEl.getAttribute("index");if(i){var o=r.labelData[Number(i)];if(o){o.xAxis=r.mousedownEl.offsetLeft;var a="";a=1===o.labelType?r.mousedownEl.offsetTop+7:r.mousedownEl.offsetTop+o.labelHigh,o.yAxis=a,o.styleObj&&(o.styleObj.top="".concat(r.mousedownEl.offsetTop,"px"),o.styleObj.left="".concat(r.mousedownEl.offsetLeft,"px"))}}}r.mousemoveFn=null,r.mousedownEl=null}},directives:P,watch:{labelViewData:function(){this.labelData=this.labelViewData,this.$emit("getLabelData",this.labelData)},labelCurrent:function(e){if(e){null==e.type&&(e.type=1);var t=this.labelConfig.filter((function(t){return t.type===e.type})),r=t&&t.length?t[0]:null;1===e.type?this.activeTagObj=l(l({},r),{},{name:e.optionName,titleName:e.labelName,labelId:e.labelId?e.labelId:""},e):2===e.type||3===e.type?this.activeTagObj=l(l({},r),{},{name:e.optionName,titleName:e.labelName,labelCode:e.labelCode,labelId:e.labelId?e.labelId:"",code:e.code}):this.activeTagObj=l(l({},r),e),this.currentView="labelItem"}}},computed:{singleTagData:function(){var e=[];return this.labelData.forEach((function(t){2===t.labelType?e.push(t.labelContent[0]):(1===t.labelType&&(t.yAxis=parseInt(t.styleObj.top,10)+7),e.push(t))})),e}},methods:{handlerResize:function(e,t){if(!this.issize)return!1;var r=t.parentNode;this.mousedownEl=t,console.log("size mousemoveFn"),this.mousemoveFn=function(e,t){t.left-r.offsetLeft>40&&(r.style.width="".concat(t.left-r.offsetLeft,"px")),t.top-r.offsetTop>20&&(r.style.height="".concat(t.top-r.offsetTop,"px"))}},handlerMove:function(e,t){if(!this.ismove)return!1;this.mousedownEl=t,this.mousedonwType="move","close"!==e.target.className&&"resize-tag"!==e.target.className&&(this.mousemoveFn=function(r,n){t.style.left="".concat(n.left-e.offsetX,"px"),t.style.top="".concat(n.top-e.offsetY,"px")})},getStyleCom:function(e){var t=e.labelWidth||e.labelwidth,r=e.labelHigh||e.labelheight;return r&&-1===String(r).indexOf("px")&&(r+="px"),t&&-1===String(t).indexOf("px")&&(t+="px"),e.styleObj.height=r,e.styleObj.width=t,e.styleObj},getStyleCon:function(e){var t={};e.fontSize&&(t.fontSize="".concat(e.fontSize,"px"));var r="center";switch(e.alignment){case 0:r="left";break;case 2:r="right";break;default:r="center"}return t.textAlign=r,e.isMultiline&&(t.whiteSpace="normal"),t},setLabelProperty:function(e,t,r){this.$refs.proterty.openDialog(e,t,r)},onChange:function(e,t){Object.assign(t.labelData,e);var r=t.element;if("labelCon"!==r.className&&(r=t.element.parentNode,"labelCon"!==r.className))return alert("系统错误,请联系管理员"),!1;r.style.fontSize="".concat(e.fontSize<12?12:e.fontSize,"px");var n="center";switch(e.alignment){case 0:n="left";break;case 2:n="right";break;default:n="center"}r.style.textAlign=n,e.isMultiline&&(r.style.whiteSpace="normal")},getFollowOffset:function(e,t,r){return e===t?r:this.getFollowOffset(e,t.parentNode,{left:r.left+t.offsetLeft,top:r.top+t.offsetTop})},removeElementsByClass:function(e){var t=document.getElementsByClassName(e);while(t.length>0)t[0].parentNode.removeChild(t[0])},deTag:function(e,t,r){var n=this;if(this.isclose||this.isset){this.removeElementsByClass("mouse-right-el");var i=r.offsetX,o=r.offsetY,a=document.createElement("ul");if(a.setAttribute("class","mouse-right-el"),this.isclose){var s=document.createElement("li");s.innerHTML='<div class="right-dele">删 除</div>',a.appendChild(s)}if(this.isset&&1===e.labelType){var c=document.createElement("li");c.innerHTML='<div class="right-property">属 性</div>',a.appendChild(c)}a.onclick=function(i){var o=i.target.className;"right-dele"===o?n.deleteTag(e,t):"right-property"===o&&n.setLabelProperty(e,t,r.target),r.target.removeChild(a)},a.style.left="".concat(i,"px"),a.style.top="".concat(o,"px;"),r.target.appendChild(a)}},formatLabelValue:function(e,t){var r=p(t.shape),n="";return n=1===t.type?e.offsetTop+7:e.offsetTop+parseInt(r.height,10),{xAxis:e.offsetLeft,yAxis:n,labelWidth:parseInt(r.width,10),labelHigh:parseInt(r.height,10),labelType:t.type,labelId:t.labelId||"",showName:t.name,shape:t.shape,titleName:t.titleName||"",labelCode:t.labelCode||"",code:t.code||"",sealTag:t.sealTag||t.sealDiyCode,labelAlias:t.labelAlias,stampType:t.stampType,styleObj:{position:"absolute",width:r.width,height:r.height,top:"".concat(e.offsetTop,"px"),left:"".concat(e.offsetLeft,"px")}}},getCoordinates:function(e){var t=this.$refs.labelView,r=t.querySelector(".mouse-right-el");if(r&&r.parentNode.removeChild(r),this.activeTagObj&&this.activeTagObj.name){var n=this.$refs.currentTag.$el,i=this.formatLabelValue(n,this.activeTagObj);if(t.style.cursor="default",n.style.display="none",i.pageIndex=this.page,2===i.labelType){var o=this.labelData.find((function(e){return e.labelCode&&e.labelCode===i.labelCode}));if(o)delete i.labelId,delete i.titleName,o.labelContent.push(i);else{var a={};a.labelCode=i.labelCode,a.pageIndex=i.pageIndex,a.showName=i.titleName,a.labelType=i.labelType,delete i.labelId,delete i.titleName,a.labelContent=[i],this.labelData.push(a)}}else 1===i.labelType?(i.alignment=0,this.labelData.push(i)):this.labelData.push(i);this.$emit("getLabelData",this.labelData),this.activeTagObj={name:"",labelId:""}}},deleteTag:function(e,t){this.labelData[t]&&(this.labelData.splice(t,1),this.$emit("getLabelData",this.labelData))}}},T=R,O=(r("cd97"),r("85d3"),m(T,a,s,!1,null,"503c1c85",null)),I=O.exports,L=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"label-done-area"},[e.operateConfig.length?r("div",{staticClass:"label-group"},[r("el-menu",{staticClass:"label-operate-menu title-con",attrs:{"text-color":"#4B5973","menu-trigger":"click"}},e._l(e.operateConfig,(function(t,n){return r("el-submenu",{key:n,attrs:{index:""+n}},[r("template",{slot:"title"},[r("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"item.typeName",placement:"top-start"}},[r("span",{staticClass:"title-con-text"},[e._v(e._s(t.typeName))])])],1),e._l(t.typeSeal,(function(t,i){return r("el-menu-item",{key:i,attrs:{index:n+"-"+i},on:{click:function(t){return e.changeColor(n,i)}}},[r("span",{class:{colorChnage:e.ind===n+"-"+i,"label-item-btn":!0},attrs:{slot:"title"},on:{click:function(r){return e.emitSignItem(t)}},slot:"title"},[e._v(e._s(t.name))])])}))],2)})),1)],1):e._e(),e._t("default"),e._t("select-label")],2)},F=[],D={name:"TtdLabelOperate",props:{operateConfig:{type:[Array],default:function(){return[]}}},data:function(){return{inputNameList:[],ind:""}},methods:{changeColor:function(e,t){this.ind="".concat(e,"-").concat(t)},emitSignItem:function(e){this.$emit("getSignItem",e)}}},j=D,M=(r("5aae"),r("d3c7"),m(j,L,F,!1,null,"902eca14",null)),N=M.exports;r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");function U(e){return U="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},U(e)}var q=r("8bbf"),B=r.n(q),W=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{name:"fade"}},[e.show?r("div",{ref:"heImg",staticClass:"hevue-wrap",style:"background:"+e.mainBackground,attrs:{id:"hevue-wrap"},on:{mouseup:function(t){return e.removeMove("pc")},touchend:function(t){return e.removeMove("mobile")},click:e.clickMask}},[r("div",{staticClass:"he-img-wrap"},[r("img",{directives:[{name:"show",rawName:"v-show",value:1===e.imgState,expression:"imgState === 1"}],attrs:{src:"https://jzwsp.totodi.com/jz/image-loading.gif"}}),r("img",{directives:[{name:"show",rawName:"v-show",value:2===e.imgState,expression:"imgState === 2"}],ref:"heImView",staticClass:"he-img-view",style:"transform: scale("+e.imgScale+") rotate("+e.imgRotate+"deg);margin-top:"+e.imgTop+"px;margin-left:"+e.imgLeft+"px;"+e.maxWH,attrs:{src:e.imgurl},on:{click:function(e){e.stopPropagation()},mousedown:e.addMove,touchstart:e.addMoveMobile}}),r("div",{directives:[{name:"show",rawName:"v-show",value:3===e.imgState,expression:"imgState === 3"}],staticClass:"iconfont hevue-img-error"},[e._v("")]),r("div",{staticClass:"iconfont he-close-icon",style:"color:"+e.closeColor,on:{click:function(t){return t.stopPropagation(),e.close(t)}}},[e._v("")]),e.multiple?r("div",{staticClass:"arrow arrow-left iconfont",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(t){return t.stopPropagation(),e.toogleImg(!1)}}},[e._v("")]):e._e(),e.multiple?r("div",{staticClass:"arrow arrow-right iconfont",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(t){return t.stopPropagation(),e.toogleImg(!0)}}},[e._v("")]):e._e(),r("div",{staticClass:"he-control-bar-wrap"},[r("div",{staticClass:"he-control-bar",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(e){e.stopPropagation()}}},[r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.scaleFunc(-.15)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.scaleFunc(.15)}}},[e._v("")]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isFull,expression:"isFull"}],staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.imgToggle(t)}}},[e._v("")]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.isFull,expression:"!isFull"}],staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.imgToggle(t)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.rotateFunc(-90)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.rotateFunc(90)}}},[e._v("")])])]),e.multiple?r("div",{staticClass:"he-control-num",style:"color:"+e.controlColor+";background: "+e.controlBackground},[e._v(e._s(e.imgIndex+1)+" / "+e._s(e.imgList.length))]):e._e()])]):e._e()])},G=[],z=(r("277d"),r("0d03"),r("4795"),{name:"hevue-img-preview",props:{show:{type:Boolean,default:!1},clickMaskCLose:String,url:String,mainBackground:String,controlColor:String,controlBackground:String,closeColor:String,instance:Object,multiple:{type:Boolean,default:!1},keyboard:{type:String,default:"open"},nowImgIndex:{type:Number,default:0},imgList:Array},data:function(){return{imgScale:1,imgTop:0,imgLeft:0,imgRotate:0,isFull:!1,maxWH:"max-width:100%;max-height:100%;",clientX:0,clientY:0,imgIndex:0,canRun:!0,imgurl:"",imgState:1,logText:"",start:[{clientX:217,clientY:279,force:1,identifier:0,pageX:217,pageY:279,radiusX:11.5,radiusY:11.5,rotationAngle:0,screenX:493,screenY:456},{clientX:247,clientY:273,force:1,identifier:0,pageX:247,pageY:273,radiusX:11.5,radiusY:11.5,rotationAngle:0,screenX:523,screenY:450}],mobileScale:0}},mounted:function(){this.initImg()},watch:{url:function(){this.initImg()},show:function(e){var t=this;e&&this.$nextTick((function(e){var r=document.getElementById("hevue-wrap");r.onmousewheel=t.scrollFunc,document.body.addEventListener("DOMMouseScroll",t.scrollFunc),document.ondragstart=function(){return!1},t.multiple?Array.isArray(t.imgList)&&t.imgList.length>0?(t.imgIndex=Number(t.nowImgIndex)||0,t.changeUrl(t.imgList[t.imgIndex],t.imgIndex)):console.error("imgList 为空或格式不正确"):t.changeUrl(t.url),"open"===t.keyboard&&document.addEventListener("keydown",t.keyHandleDebounce)}))}},methods:{close:function(){this.instance.show=!1,this.initImg(),this.maxWH="max-width:100%;max-height:100%;",this.isFull=!1,document.body.removeEventListener("DOMMouseScroll",this.scrollFunc),document.ondragstart=null,this.keyboard&&document.removeEventListener("keydown",this.keyHandleDebounce)},initImg:function(){this.mobileScale=1,this.imgScale=1,this.imgRotate=0,this.imgTop=0,this.imgLeft=0},toogleImg:function(e){e?(this.imgIndex++,this.imgIndex>this.imgList.length-1&&(this.imgIndex=0)):(this.imgIndex--,this.imgIndex<0&&(this.imgIndex=this.imgList.length-1)),this.changeUrl(this.imgList[this.imgIndex],this.imgIndex)},changeUrl:function(e,t){var r=this;this.imgState=1;var n=new Image;n.src=e,n.onload=function(){console.log("onload: index=".concat(t,"--imgIndex=").concat(r.imgIndex,"--imgState=").concat(r.imgState)),(void 0!==t&&t===r.imgIndex||void 0===t)&&(r.imgState=2,r.imgurl=e),console.log("imgState=",r.imgState)},n.onerror=function(){(void 0!==t&&t===r.imgIndex||void 0===t)&&(r.imgState=3),console.log("onerror : index=".concat(t,"--imgIndex=").concat(r.imgIndex,"--imgState=").concat(r.imgState))}},rotateFunc:function(e){this.imgRotate+=e},scaleFunc:function(e,t){this.imgScale<=.2&&e<0||(t?this.imgScale=e:this.imgScale+=e)},imgToggle:function(){this.initImg(),this.isFull?this.maxWH="max-width:100%;max-height:100%;":this.maxWH="",this.isFull=!this.isFull},scrollFunc:function(e){e=e||window.event,e.delta=e.wheelDelta||-e.detail,e.preventDefault(),e.delta>0&&this.scaleFunc(.05),e.delta<0&&this.scaleFunc(-.05)},addMove:function(e){e=e||window.event,this.clientX=e.clientX,this.clientY=e.clientY,this.$refs.heImg.onmousemove=this.moveFunc},addMoveMobile:function(e){e.preventDefault(),e=e||window.event,e.touches.length>1?this.start=e.touches:(this.clientX=e.touches[0].pageX,this.clientY=e.touches[0].pageY),this.$refs.heImg.ontouchmove=this.moveFuncMobile},moveFunc:function(e){e=e||window.event,e.preventDefault();var t=e.clientX-this.clientX,r=e.clientY-this.clientY;this.imgLeft+=2*t,this.imgTop+=2*r,this.clientX=e.clientX,this.clientY=e.clientY},moveFuncMobile:function(e){if(e=e||window.event,e.touches.length>1){var t=e.touches,r=this.getDistance(t[0],t[1])/this.getDistance(this.start[0],this.start[1]);this.logText="".concat(r,",").concat(this.mobileScale),this.mobileScale?r>1?this.scaleFunc(r+this.mobileScale-1,!0):this.scaleFunc(r*this.mobileScale,!0):this.scaleFunc(r,!0)}else{var n=e.touches[0];e.preventDefault();var i=n.pageX-this.clientX,o=n.pageY-this.clientY;this.imgLeft+=2*i,this.imgTop+=2*o,this.clientX=n.pageX,this.clientY=n.pageY}},removeMove:function(e){"pc"===e?this.$refs.heImg.onmousemove=null:(this.mobileScale=this.imgScale,this.$refs.heImg.ontouchmove=null)},keyHandleDebounce:function(e){var t=this;this.canRun&&(this.keyHandle(e),this.canRun=!1,setTimeout((function(){t.canRun=!0}),300))},keyHandle:function(e){var t=window.event||e,r=t.keyCode||t.which||t.charCode;switch(r){case 27:this.close();break;case 65:this.multiple&&this.toogleImg(!1);break;case 68:this.multiple&&this.toogleImg(!0);break;case 87:this.scaleFunc(.15);break;case 83:this.scaleFunc(-.15);break;case 81:this.rotateFunc(-90);break;case 69:this.rotateFunc(90);break;case 82:this.initImg();break;default:break}},clickMask:function(){console.log("hello",this.clickMaskCLose),"open"===this.clickMaskCLose&&this.close()},getDistance:function(e,t){var r=t.pageX-e.pageX,n=t.pageY-e.pageY;return Math.sqrt(r*r+n*n)},downloadIamge:function(){var e=new Image;e.setAttribute("crossOrigin","anonymous"),e.onload=function(){var t=document.createElement("canvas");t.width=e.width,t.height=e.height;var r=t.getContext("2d");r.drawImage(e,0,0,e.width,e.height);var n=t.toDataURL("image/png"),i=document.createElement("a"),o=new MouseEvent("click");i.download="photo".concat(+new Date),i.href=n,i.dispatchEvent(o)},e.onerror=function(e){console.log("图片信息不正确或图片服务器禁止访问"),console.log(e)},this.multiple?e.src=this.imgList[this.imgIndex]:e.src=this.url}}}),Y=z,H=(r("6cb7"),m(Y,W,G,!1,null,"fb1200dc",null)),V=H.exports,X=B.a.extend(V),Q=(new X).$mount(),K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"===typeof e)Q.url=e;else{if("object"!==U(e)||e.constructor===Array)return void(e.constructor!==Array?console.error("hevue-img-preview 组件参数仅能接收字符串和对象,但您传入的是 ".concat(U(e),"\nhevue-img-preview parameter can only receive strings and objects, but what you pass in is ").concat(U(e))):console.error("hevue-img-preview 组件参数仅能接收字符串和对象,但您传入的是 array\nhevue-img-preview parameter can only receive strings and objects, but what you pass in is array"));Q.url=e.url}Q.mainBackground=e.mainBackground||"rgba(255,255,255,.6)",Q.controlColor=e.controlColor,Q.controlBackground=e.controlBackground||"rgba(109, 109, 109, .6)",Q.closeColor=e.closeColor||"rgba(109, 109, 109, .6)",Q.multiple=e.multiple,Q.clickMaskCLose=e.clickMaskCLose||"open",Q.nowImgIndex=e.nowImgIndex,Q.imgList=e.imgList,Q.keyboard=e.keyboard||"open",Q.show=!0,Q.instance=Q,document.body.appendChild(Q.$el)},J=function(e){e.prototype.$ImgPreview=K};"undefined"!==typeof window&&window.Vue&&window.Vue.use(J);var Z=J,$=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"pdf-view",style:e.style},[e.showPages?r("div",{staticClass:"pdf-view-control"},[r("switch-page",{ref:"switchPage",attrs:{numPages:e.page_count},on:{page:e.onChangePage}})],1):e._e(),e.pdfurl?r("div",{staticClass:"center pdf-view-area",style:{border:e.border?"1px solid #666":""},on:{drop:e.onDrop,dragover:e.onDragOver}},[r("canvas",{ref:"canvas",staticClass:"canvasstyle"}),r("div",{staticClass:"label-area"},[e._t("default")],2)]):r("div",{staticClass:"pdf-view-empty"},[e._v("未找到资源,请联系管理员!")])])},ee=[],te=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"switch-page"},[r("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.switchPage("prev")}}},[r("i",{staticClass:"el-icon-caret-left"})]),r("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.switchPage("next")}}},[r("i",{staticClass:"el-icon-caret-right"})]),r("span",{staticStyle:{"margin-left":"10px"}},[e._v(e._s(e.page)+"/"+e._s(e.numPages))]),r("span",{staticStyle:{"margin-left":"6px"}},[e._v(" 跳转至 "),r("el-input",{staticStyle:{width:"50px",margin:"0 4px"},attrs:{size:"mini"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.goPage(t)}},model:{value:e.itemPage,callback:function(t){e.itemPage=e._n(t)},expression:"itemPage"}}),e._v(" 页 ")],1)],1)},re=[],ne={name:"switch-page",props:{numPages:{type:[Number,String]}},data:function(){return{page:1,itemPage:""}},watch:{numPages:function(){this.page=1}},methods:{switchPage:function(e){if("prev"===e){if(1===this.page)return;this.page--}if("next"===e){if(this.page===this.numPages)return void this.$message({message:"当前已是最后一页",type:"warning"});this.page++}this.$emit("page",this.page)},setPage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.page=e},goPage:function(){this.itemPage>0&&(this.itemPage>=this.numPages?(this.page=this.numPages,this.itemPage=this.page):this.page=this.itemPage,this.$emit("page",this.page))}}},ie=ne,oe=(r("9b37"),m(ie,te,re,!1,null,"fb780886",null)),ae=oe.exports,se=r("9511");se.GlobalWorkerOptions.workerSrc="https://wsp.totodi.com/jz/pdfjs/pdf.worker-2.2.228.js";var ce={name:"pdf-view",components:{SwitchPage:ae},props:{pdfurl:{default:""},scale:{type:Number,default:1.5},showPages:{type:[String,Number,Boolean],default:!0},border:{type:[String,Number,Boolean],default:!0},marginAuto:{type:[String,Number,Boolean],default:!1},page:{type:[String,Number],default:1},showWidth:{type:[String,Number],default:0}},data:function(){return{pdfDoc:null,pageNum:1,pageRendering:!1,pageNumPending:null,compuscale:1.5,page_count:0,maxscale:1.5,minscale:.8,isready:!1,initPage:!0,style:{width:"860px",margin:""===this.marginAuto||this.marginAuto?"0 auto":"0"}}},methods:{renderPage:function(e){var t=this,r=this;this.pageRendering=!0,this.pdfDoc.getPage(e).then((function(n){var i=r.compuscale,o="",a=t.showWidth;if(t.initPage&&a){var s=parseInt(a,10)-2;o=n.getViewport({scale:1}),i=s/o.width,t.initPage=!1,t.compuscale=i,t.maxscale=i}o=n.getViewport({scale:i}),t.$emit("size",o,e),r.isready=!0;var c=r.$refs.canvas;t.style.width="".concat(o.width+2,"px"),c.height=o.height,c.width=o.width;var u={canvasContext:c.getContext("2d"),viewport:o},l=n.render(u);l.promise.then((function(){r.pageRendering=!1,null!==r.pageNumPending&&(r.renderPage(r.pageNumPending),r.pageNumPending=null)}))}))},prev:function(){this.pageNum<=1||(this.pageNum--,this.queueRenderPage(this.pageNum))},next:function(){this.pageNum>=this.page_count||(this.pageNum++,this.queueRenderPage(this.pageNum))},onChangePage:function(e){this.queueRenderPage(e)},closepdf:function(){this.pdfDoc&&this.pdfDoc.destroy(),this.pdfDoc=null,this.isready=!1,this.compuscale=this.scale,this.$emit("closepdf")},queueRenderPage:function(e){this.pageRendering?this.pageNumPending=e:this.renderPage(e)},loadUrl:function(e){var t=this;if(!se)return!1;console.log("----PdfView---",e),se.getDocument({url:encodeURI(e),cMapUrl:"https://unpkg.com/pdfjs-dist@2.2.228/cmaps/",cMapPacked:!0}).promise.then((function(e){t.pdfDoc&&(console.log("pdfDocument is ready destroy,,"),t.pdfDoc.destroy()),t.pdfDoc=e,t.page_count=e.numPages,console.log("this.page_count 22.37",t.page_count),t.$emit("numPages",e.numPages),t.renderPage(t.pageNum)}))},onDrop:function(e){this.$emit("drop",e)},onDragOver:function(e){e.preventDefault()}},mounted:function(){this.compuscale=this.scale,this.initPage=!0,this.pdfurl&&this.loadUrl(this.pdfurl)},beforeDestroy:function(){this.pdfDoc&&this.pdfDoc.destroy()},watch:{pdfurl:function(e){e&&(this.pageNum=1,this.initPage=!0,this.loadUrl(e),this.pdfDoc&&this.pdfDoc.destroy()),this.showPages&&this.$refs.switchPage.setPage(1)},page:function(e,t){this.queueRenderPage(e)}}},ue=ce,le=(r("e0e9"),m(ue,$,ee,!1,null,"c340782e",null)),fe=le.exports,he=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"cfca-pdf"},[e.isIE?[r("div",{staticClass:"cfca-pdf-wrapper",style:{visibility:e.visible}},[r("div",{class:{"cfca-left":!0,active:"left"===e.active,disabled:e.pageNo<=1},on:{click:function(t){return e.GoToPrevPage()}}},[r("span",{staticClass:"el-icon-arrow-left"})]),r("div",{staticClass:"cfca-content"},[r("div",{staticClass:"cfca-page"},[r("div",{staticClass:"fl cfca-title"},[r("h2",[e._v(e._s(e.title))])]),r("div",{staticClass:"fr"},[e._v(" "+e._s(e.pageNo)+"/"+e._s(e.pageCount)+" "),r("span",{staticClass:"di"},[e._v("第")]),r("el-input",{staticClass:"page-num",attrs:{size:"mini"},on:{change:e.GoToPage},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.GoToPage(t)}},model:{value:e.inputPage,callback:function(t){e.inputPage=t},expression:"inputPage"}}),e._v("页 ")],1)]),r("div",{ref:"PDFCtrlPlaceHolder",staticClass:"cfca-object"},[r("div",{staticClass:"obj-wrapper",on:{dragenter:e.onDragEnter,dragover:e.onDragOver,drop:e.onDrop}},[this.idstr?[r("object",{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{position:"relative","z-Index":"1"},attrs:{id:"PDFCtrl"+this.idstr,tabindex:0,codebase:e.publicPath+e.codebase,classid:"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A",width:"100%",height:"100%"}},[r("param",{attrs:{name:"wmode",value:"transparent"}}),r("param",{attrs:{name:"showToolbar",value:"false"}})])]:[r("object",{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{position:"relative","z-Index":"1"},attrs:{tabindex:0,codebase:e.publicPath+e.codebase,classid:"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A",width:"100%",height:"100%"}},[r("param",{attrs:{name:"wmode",value:"transparent"}}),r("param",{attrs:{name:"showToolbar",value:"false"}})])]],2)]),r("div",{staticClass:"cfca-control"},[e._t("default")],2)]),r("div",{class:{"cfca-right":!0,active:"right"===e.active,disabled:e.pageNo>=e.pageCount},on:{click:function(t){return e.GoToNextPage()}}},[r("span",{staticClass:"el-icon-arrow-right"})])])]:[r("div",{staticClass:"red",staticStyle:{height:"350px",padding:"20px",position:"relative","margin-bottom":"20px"}},[e._v(" 提示:当前浏览器不支持控件预览,请切换IE浏览器进行查看 "),r("div",{staticClass:"tc",staticStyle:{position:"absolute",bottom:"0",left:"0",right:"0"}},[e._t("default")],2)])]],2)},de=[];r("e6cf"),r("ac1f"),r("5319"),r("96cf");function pe(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function ve(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){pe(o,n,i,a,s,"next",e)}function s(e){pe(o,n,i,a,s,"throw",e)}a(void 0)}))}}var ge=function(e){var t={};return e&&(t="string"===typeof e&&/^{/.test(e)?JSON.parse(e):e),t.url&&(t.url=decodeURI(t.url)),t},me={name:"cfca-pdf",props:{action:{type:String,default:""},pdfurl:{type:String,default:""},visible:{type:[String,Boolean],default:"visible"},title:{type:String,default:""},idstr:{type:[String,Number]}},data:function(){var e="";return e="x86"===window.navigator.cpuClass?"cfca/TrustSignPDFPlugin.ttd.x86.cab#version=3,2,1,4":"cfca/TrustSignPDFPlugin.ttd.x64.cab#version=3,2,1,4",{publicPath:"https://wsp.totodi.com/jz/",PDFCtrl:"",codebase:e,active:"",inputPage:"",isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,pageNo:1,pageCount:1}},beforeDestroy:function(){console.log("--cfca-pdf-beforeDestroy")},beforeRouteLeave:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("-cfca--beforeRouteLeave---"),e.next=3,n.CloseFile();case 3:r();case 4:case"end":return e.stop()}}),e)})))()},mounted:function(){this.isIE&&(this.OnLoad(),console.log("cfca mounted =".concat(this.pdfurl)),this.pdfurl&&setTimeout(this.OpenFile,100))},methods:{OnLoad:function(){return!this.PDFCtrl&&(!!this.isIE&&(this.PDFCtrl=this.$refs.pdfCtrl,this.PDFCtrl||(console.log("使用id 加载this.PDFCtrl "),this.PDFCtrl=window["PDFCtrl".concat(this.idstr)]),void(window.OnClickPoint=this.OnClickPoint)))},OpenFile:function(e){var t=this;if(e=e||this.pdfurl,!e)return alert("未发现pdf资源路径!"),!1;try{console.log("OpenFile--src--".concat(e)),this.PDFCtrl.OpenWebFile(encodeURI(e)),this.PDFCtrl=this.$refs.pdfCtrl,setTimeout((function(){t.PDFCtrl.ZoomTo(-1),t.GetPageNo()}),100)}catch(n){if(this.PDFCtrl.GetLastErrorDesc){var r=this.PDFCtrl.GetLastErrorDesc();alert(r)}}},sleep:function(e){return new Promise((function(t){return setTimeout(t,e)}))},CloseFile:function(){try{this.pdfurl&&this.PDFCtrl&&(console.log("CloseFile---"),this.PDFCtrl.CloseFile())}catch(t){if(console.log("CloseFile error--",t),this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},onDragEnter:function(e){this.$emit("cfcaDragEnter",e)},onDragOver:function(e){e.preventDefault(),this.$emit("cfcaDragOver",e)},onDrop:function(e){this.$emit("cfcaDrop",e)},GoToFirstPage:function(){try{this.PDFCtrl.GoToFirstPage()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToLastPage:function(){try{this.PDFCtrl.GoToLastPage()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToPrevPage:function(){this.active="left";var e=this;try{this.PDFCtrl.GoToPrevPage(),this.inputPage="",setTimeout((function(){e.GetPageNo()}),100)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},GoToNextPage:function(){this.active="right";var e=this;try{this.PDFCtrl.GoToNextPage(),this.inputPage="",setTimeout((function(){e.GetPageNo()}),100)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},GetPageNo:function(){try{this.pageNo=this.PDFCtrl.GetCurrentPageNo(),this.pageCount=this.PDFCtrl.GetPageCount()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToPage:function(){var e=this;try{var t=this.inputPage.replace(/\D/,"");if(""===t)return void alert("请输入页码!");this.PDFCtrl.GoToPage(t),setTimeout((function(){e.GetPageNo()}),100)}catch(n){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var r=this.PDFCtrl.GetLastErrorDesc();alert(r)}}},ZoomTo:function(e){try{this.PDFCtrl.ZoomTo(e)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},ZoomOut:function(){try{this.PDFCtrl.ZoomOut()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},ZoomIn:function(){try{this.PDFCtrl.ZoomIn()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},OnClickPoint:function(e,t,r){console.log("OnClickPoint--","nPageNo=".concat(e,", x=").concat(t,", y=").concat(r));try{this.PDFCtrl.SignFile_KeyImage(e,t,r),this.$emit("cfca-point",e,t,r)}catch(i){var n=this.PDFCtrl.GetLastErrorDesc();alert(n)}},openDialog:function(e){var t=this;this.isIE&&(console.log(" openDialog---"),setTimeout((function(){t.OpenFile(e)}),350))},GetCertInfo:function(e){e=e||"SubjectDN";try{var t=this.PDFCtrl.GetSignCertInfo(e);if(!t){var r=this.PDFCtrl.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetCertInfo :",i);var n=this.PDFCtrl.GetLastErrorDesc();alert(n)}},selectSignCert:function(e){try{var t="",r="CFCA ACS ",n=e||"";return console.log("证书序列号,精确匹配",n),this.PDFCtrl.SelectSignCert(t,r,"".concat(n),""),this.PDFCtrl.SetTimestampServer("http://210.74.41.195/timestamp"),!0}catch(i){return console.log("PDFCtrl.SelectSignCert ",i),!1}},UploadFile:function(){try{var e=this.PDFCtrl.UploadCurrentFile(this.action);return e=JSON.parse(e),0===e.code?e.data.list[0]:""}catch(r){var t=this.PDFCtrl.GetLastErrorDesc();console.log("PDFCtrl 文件上传:",t),alert("PDFCtrl 文件上传:".concat(t))}return!1},signFileKeyImage:function(e,t){var r=this.PDFCtrl.GetSignCertInfo("SerialNumber");console.log("-signFileKeyImage--certSN-".concat(r),e);try{var n="",i="";return e.height?(n=Number(e.X)+47,i=Number(e.height)-Number(e.Y)-47):(n=Number(e.X)+47,i=Number(e.Y)-47),console.log(" 参数 pageIndex = ".concat(e.pageIndex," x = ").concat(n," Y = ").concat(i)),console.log("signFileKeyImage: image=".concat(t)),t?this.PDFCtrl.SignFile_Image(e.pageIndex,n,i,t):this.PDFCtrl.SignFile_KeyImage(e.pageIndex,n,i),console.log("SignFile_KeyImage 成功"),!0}catch(a){var o=this.PDFCtrl.GetLastErrorDesc();return console.log("signFileKeyImage",a),alert(o),!1}},multipleSign7:function(e,t,r,n,i){for(var o=0;o<e.length;o++){var a=e[o],s=ge(a.labelContent);try{var c="",u="";return a.height?(c=Number(a.X)+47,u=Number(a.height)-Number(a.Y)-47):(c=Number(a.X)+47,u=Number(a.Y)-47),this.PDFCtrl.AddSignaturePosition(s.pageIndex,c,u),!0}catch(f){var l=this.PDFCtrl.GetLastErrorDesc();console.log(" multipleSign7",f),alert(l)}}n?this.PDFCtrl.SignFile_Image(n):this.PDFCtrl.SignFile_KeyImage()},multipleSign5:function(e,t,r,n,i){console.log("multipleSign 循环签的begin ",r);var o=this.PDFCtrl.GetSignCertInfo("SerialNumber");console.log("serialNoBegin ",o);for(var a="",s=0;s<e.length;s++){var c=e[s],u=ge(c.labelContent);if(console.log("label=",u),s>0){var l=this.PDFCtrl.GetSignCertInfo("SerialNumber");if(console.log("本次获得的序列号serialNoAgain:",l),o!==l)return alert("签署过程中,请不要更换ukey!"),!1;console.log("serialNo=",r),a=a&&this.signFileKeyImage(ge(c.labelContent),n),console.log("iterateSign 签章结果".concat(s,"-------"),a)}else console.log("第一个章,不用验签",s),a=this.signFileKeyImage(ge(c.labelContent),n),console.log("iterateSign 签章结果",a);if(!a)return!1}return console.log("multipleSign 签章的结果",a),a},multipleSign:function(e,t,r,n,i){return this.PDFCtrl.AddSignaturePosition?(console.log("新版插件"),this.multipleSign7(e,t,r,n,i)):this.multipleSign5(e,t,r,n,i)},GetSignatureInfo:function(){for(var e=this.PDFCtrl.GetSignatureCount(),t=[],r=0;r<e;r++){var n=this.PDFCtrl.VerifySignature(r),i=n.GetSignCertInfo("SerialNumber");t.push({SerialNumber:i})}return t}},watch:{pdfurl:function(e,t){this.inputPage=1,this.isIE&&e&&(this.PDFCtrl?(console.log("cfca watch pdfurl=="),t?t!==e&&(console.log("cfca watch oldval==",t),this.CloseFile(),setTimeout(this.OpenFile,100)):setTimeout(this.OpenFile,100)):console.log("cfca watch PDFCtrl 未加载 "))}}},ye=me,be=(r("ff64"),m(ye,he,de,!1,null,null,null)),_e=be.exports,we=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"CryptoAgent-wrapper"},[e.isIE?[r("object",{ref:"CryptoAgent",attrs:{codebase:e.publicPath+e.codebase,classid:e.classid}})]:[r("embed",{ref:"CryptoAgent",staticStyle:{height:"0px",width:"0px"},attrs:{type:"application/npCryptoKit.Ultimate.x86"}})]],2)},Ae=[],Se={methods:{SignOnClick:function(){var e="";this.sourceData="".concat((new Date).getTime());try{var t=this.sourceData,r="",n="Attach",i="SHA-1";return r="Attach"===n?this.CryptoAgent.SignMsgPKCS7(t,i,!0):"Detach"===n?this.CryptoAgent.SignMsgPKCS7(t,i,!1):this.CryptoAgent.SignMsgPKCS1(t,i),r?(console.log("SignOnClick 签名结果:",r),r):(e=this.CryptoAgent.GetLastErrorDesc(),alert(e),"")}catch(o){console.log("SignOnClick error=",o),e=this.CryptoAgent.GetLastErrorDesc(),alert(e)}return""}}},xe={name:"ukey",mixins:[Se],data:function(){var e="",t="";return"x86"===window.navigator.cpuClass?(e="ukey/Cryptokit/x86/CryptoKit.ToToDi.x86.cab",t="clsid:5635B01D-C661-4ACE-B997-EECFA63BD388"):(e="ukey/Cryptokit/x64/CryptoKit.ToToDi.x64.cab",t="clsid:63F9892E-D854-476E-A839-C8BA79254EC1"),{isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,publicPath:"https://wsp.totodi.com/jz/",codebase:e,classid:t,sourceData:"",certType:"RSA",hashAlg:"SHA-1",singType:"Detach",CryptoAgent:"",random:"ttd"}},mounted:function(){this.onLoad()},methods:{onLoad:function(){return!this.CryptoAgent&&(!!this.isIE&&(this.CryptoAgent=this.$refs.CryptoAgent,this.CryptoAgent||alert("验签插件加载失败!"),void console.log("加载this.CryptoAgent ",this.CryptoAgent)))},SelectCertificateOnClick:function(e){this.isIE||alert("请使用IE浏览器!");try{var t="",r="CFCA ACS ",n=e;n||console.log(" Ukye, 无序列号筛选证书, serialNo 非必传 ");var i="",o="",a="Uyee CSP v6.0 (Enterprise)||CFCA FOR UKEY CSP v1.1.0";return i=this.CryptoAgent.SelectCertificate(t,r,n,a),i||(o=this.CryptoAgent.GetLastErrorDesc(),alert(o)),i}catch(c){console.log("SelectCertificateOnClick catch",c);var s=this.CryptoAgent.GetLastErrorDesc();return alert("".concat(s,"/error")),!1}},GetSignCertInfoUkey:function(e){e=e||"SubjectDN",console.log("-Ukey-GetSignCertInfoUkey:InfoTypeID ",e);try{var t=this.CryptoAgent.GetSignCertInfo(e);if(!t){var r=this.CryptoAgent.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetSignCertInfoUkey-Ukey: ",i);var n=this.CryptoAgent.GetLastErrorDesc();alert(n)}}}},ke=xe,Ce=(r("4224"),m(ke,we,Ae,!1,null,"22a309ec",null)),Pe=Ce.exports,Ee=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"CryptoAgent-wrapper"},[e.isIE?[r("object",{ref:"CryptoAgent",attrs:{codebase:e.publicPath+e.codebase,classid:e.classid}})]:[r("embed",{ref:"CryptoAgent",staticStyle:{height:"0px",width:"0px"},attrs:{type:"application/npCryptoKit.Paperless.x86"}})]],2)},Re=[],Te={name:"wzh-sing",mixins:[Se],data:function(){var e="",t="";return"x86"===window.navigator.cpuClass?(e="wzh/CryptoKit.Paperless.x86.cab",t="clsid:B64B695B-348D-400D-8D58-9AAB1DA5851A"):(e="wzh/CryptoKit.Paperless.x64.cab",t="clsid:8BF7E683-630E-4B59-9E61-C996B671EBDF"),{isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,publicPath:"https://wsp.totodi.com/jz/",codebase:e,classid:t,sourceData:"",certType:"RSA"}},props:{api:{type:Object,required:!0}},mounted:function(){this.onLoad()},methods:{onLoad:function(){return!this.CryptoAgent&&(!!this.isIE&&(this.CryptoAgent=this.$refs.CryptoAgent,this.CryptoAgent||alert("验签插件加载失败!"),void console.log("加载this.CryptoAgent ",this.CryptoAgent)))},GetCertInfoOnClick:function(e){e=e||"SubjectDN",console.log("GetCertInfoOnClick:InfoTypeID ",e);try{var t=this.CryptoAgent.GetSignCertInfo(e);if(!t){var r=this.CryptoAgent.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetCertInfoOnClick-WzhSign: ",i);var n=this.CryptoAgent.GetLastErrorDesc();alert(n)}},SelectCertificateOnClick:function(e){this.isIE||alert("请使用IE浏览器!");try{var t="",r="CFCA ACS ",n=e,i="Uyee CSP v6.0 (Enterprise)||CFCA FOR UKEY CSP v1.1.0",o="";if(console.log("无纸化 选证书 selectSignCert, serialNo(非传)=",e),o=this.CryptoAgent.SelectCertificate(t,r,n,i),!o){var a=this.CryptoAgent.GetLastErrorDesc();return console.log("wzh SelectCertResult 不存在",a),void alert(a)}return console.log("wzh SelectCertResult",o),!0}catch(c){var s=this.CryptoAgent.GetLastErrorDesc();return console.log("wzh SelectCertResult catch error: ",s),alert(s),!1}},getHashValue:function(e,t,r){var n=this.CryptoAgent.GetSignCertInfo("CertContent");this.$emit("getImg",r);var i=ge(e.labelContent);return console.log("item",e),console.log("fileItem",t),this.api.getSignHash({jsonData:{source:"TTDFUND",timestamp:(new Date).getTime(),msgBody:{attachfile:"oss:".concat(t.mergedUrl.bucketName,":").concat(t.mergedUrl.objectKey),reason:"",location:"",signImgfileName:"",signImgfile:r,pageNo:i.pageIndex,pageX:Number(i.X),pageY:Number(i.Y),certBase64:n}}})},getSignHashValue:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function i(){var o,a,s,c,u,l,f;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.prev=0,o="",i.next=4,n.getHashValue(e,t,r);case 4:if(a=i.sent,s=a.code,c=a.data,console.log("getSignHashValue",c),0===s&&"200"==="".concat(c.bean.code)&&(o=c.bean.pdfHash),o){i.next=12;break}return alert("CFCA计算HASH值失败!( ".concat(c.bean.msg||"",")")),i.abrupt("return",!1);case 12:if(u=n.CryptoAgent.SignHashMsgPKCS7Detached(o,"SHA-1"),u){i.next=17;break}return l=n.CryptoAgent.GetLastErrorDesc(),alert(l),i.abrupt("return",!1);case 17:return i.abrupt("return",{signature:u,id:c.bean.id});case 20:i.prev=20,i.t0=i["catch"](0),f=n.CryptoAgent.GetLastErrorDesc(),console.log("getSignHashValue",i.t0),alert(f);case 25:case"end":return i.stop()}}),i,null,[[0,20]])})))()},signFileKeyImage:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function i(){var o,a,s,c;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,n.getSignHashValue(e,t,r);case 2:if(o=i.sent,!o){i.next=11;break}return i.next=6,n.api.mergeHash({jsonData:{source:"TTDFUND",timestamp:(new Date).getTime(),msgBody:{sigString:o.signature,id:o.id}}});case 6:if(a=i.sent,s=a.data,c=a.code,0!==c||!s.bean.url){i.next=11;break}return i.abrupt("return",s.bean);case 11:return n.$message.error("计算Hash 失败!"),i.abrupt("return",!1);case 13:case"end":return i.stop()}}),i)})))()},multipleSign:function(e,t,r,n,i){var o=this;return ve(regeneratorRuntime.mark((function i(){var a,s,c,u,l,f;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:console.log("multipleSign 循环签的begin ",r),a=o.CryptoAgent.GetSignCertInfo("SerialNumber"),console.log("serialNoBegin",a),s="",n||(c=o.CryptoAgent.GetSealImage("CFCA_UKEY_P11.dll"),n=c),u=0;case 6:if(!(u<e.length)){i.next=32;break}if(l=e[u],ge(l.labelContent),!(u>0)){i.next=24;break}if(console.log("无需重新验签:index=",u),f=o.CryptoAgent.GetSignCertInfo("SerialNumber"),console.log("本次获得的序列号serialNoAgain:",f),a===f){i.next=16;break}return alert("签署过程中,请不要更换ukey!"),i.abrupt("return",!1);case 16:if(console.log("resutl=",s),!s){i.next=21;break}return i.next=20,o.signFileKeyImage(ge(l),{mergedUrl:s},n);case 20:s=i.sent;case 21:console.log("iterateSign 签章结果".concat(u,"---result----"),s),i.next=29;break;case 24:return console.log("第一个章,不用验签",u),i.next=27,o.signFileKeyImage(ge(l),t,n);case 27:s=i.sent,console.log("第一个章 签章结果",s);case 29:u++,i.next=6;break;case 32:return console.log("multipleSign 签章的结果",s),i.abrupt("return",s);case 34:case"end":return i.stop()}}),i)})))()}}},Oe=Te,Ie=(r("f596"),m(Oe,Ee,Re,!1,null,"0e13c13c",null)),Le=Ie.exports,Fe=[I,N,_e,fe,ae],De=function e(t){t.use(Z),e.installed||Fe.map((function(e){return t.component(e.name,e)}))};"undefined"!==typeof window&&window.Vue&&De(window.Vue);var je={version:"0.2.2",install:De,TtdLabelMake:I,TtdLabelOperate:N,ImgPreview:Z,CfcaPdf:_e,PdfView:fe,SwitchPage:ae,Ukey:Pe,WzhSign:Le};t["default"]=je},fb2c:function(e,t,r){var n=r("74e8");n("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},fb6a:function(e,t,r){"use strict";var n=r("23e7"),i=r("861d"),o=r("e8b5"),a=r("23cb"),s=r("50c4"),c=r("fc6a"),u=r("8418"),l=r("b622"),f=r("1dde"),h=r("ae40"),d=f("slice"),p=h("slice",{ACCESSORS:!0,0:0,1:2}),v=l("species"),g=[].slice,m=Math.max;n({target:"Array",proto:!0,forced:!d||!p},{slice:function(e,t){var r,n,l,f=c(this),h=s(f.length),d=a(e,h),p=a(void 0===t?h:t,h);if(o(f)&&(r=f.constructor,"function"!=typeof r||r!==Array&&!o(r.prototype)?i(r)&&(r=r[v],null===r&&(r=void 0)):r=void 0,r===Array||void 0===r))return g.call(f,d,p);for(n=new(void 0===r?Array:r)(m(p-d,0)),l=0;d<p;d++,l++)d in f&&u(n,l,f[d]);return n.length=l,n}})},fc6a:function(e,t,r){var n=r("44ad"),i=r("1d80");e.exports=function(e){return n(i(e))}},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r("4930");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,r){var n=r("da84");e.exports=n.Promise},ff64:function(e,t,r){"use strict";r("3a50")}})}));
|
|
31
|
+
var n=r("1fb5"),i=r("9152"),o=r("e3db");function a(){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(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return l(this,e,t,r)}function l(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,r,n):"string"===typeof t?p(e,t,r):m(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 h(e,t,r,n){return f(t),t<=0?c(e,t):void 0!==r?"string"===typeof n?c(e,t).fill(r,n):c(e,t).fill(r):c(e,t)}function d(e,t){if(f(t),e=c(e,t<0?0:0|y(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t,r){if("string"===typeof r&&""!==r||(r="utf8"),!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|_(t,r);e=c(e,n);var i=e.write(t,r);return i!==n&&(e=e.slice(0,i)),e}function v(e,t){var r=t.length<0?0:0|y(t.length);e=c(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function g(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=v(e,t),e}function m(e,t){if(u.isBuffer(t)){var r=0|y(t.length);return e=c(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?c(e,0):v(e,t);if("Buffer"===t.type&&o(t.data))return v(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function _(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 r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return $(e).length;default:if(n)return K(e).length;t=(""+t).toLowerCase(),n=!0}}function w(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return M(this,t,r);case"utf8":case"utf-8":return I(this,t,r);case"ascii":return D(this,t,r);case"latin1":case"binary":return j(this,t,r);case"base64":return O(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function A(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function S(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:x(e,t,r,n,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):x(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function x(e,t,r,n,i){var o,a=1,s=e.length,c=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+c>s&&(r=s-c),o=r;o>=0;o--){for(var f=!0,h=0;h<c;h++)if(u(e,o+h)!==u(t,h)){f=!1;break}if(f)return o}return-1}function k(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function C(e,t,r,n){return ee(K(t,e.length-r),e,r,n)}function P(e,t,r,n){return ee(J(t),e,r,n)}function E(e,t,r,n){return P(e,t,r,n)}function R(e,t,r,n){return ee($(t),e,r,n)}function T(e,t,r,n){return ee(Z(t,e.length-r),e,r,n)}function O(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function I(e,t,r){r=Math.min(e.length,r);var n=[],i=t;while(i<r){var o,a,s,c,u=e[i],l=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:o=e[i+1],128===(192&o)&&(c=(31&u)<<6|63&o,c>127&&(l=c));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a,c>2047&&(c<55296||c>57343)&&(l=c));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,c>65535&&c<1114112&&(l=c))}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return F(n)}t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return l(null,e,t,r)},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,r){return h(null,e,t,r)},u.allocUnsafe=function(e){return d(null,e)},u.allocUnsafeSlow=function(e){return d(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 r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?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(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},u.byteLength=_,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)A(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)A(this,t,t+3),A(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)A(this,t,t+7),A(this,t+1,t+6),A(this,t+2,t+5),A(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):w.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="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,s=Math.min(o,a),c=this.slice(n,i),l=e.slice(t,r),f=0;f<s;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return S(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return S(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return C(this,e,t,r);case"ascii":return P(this,e,t,r);case"latin1":case"binary":return E(this,e,t,r);case"base64":return R(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function F(e){var t=e.length;if(t<=L)return String.fromCharCode.apply(String,e);var r="",n=0;while(n<t)r+=String.fromCharCode.apply(String,e.slice(n,n+=L));return r}function D(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function j(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function M(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=Q(e[o]);return i}function N(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function U(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function q(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function B(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function W(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function G(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function z(e,t,r,n,o){return o||G(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function Y(e,t,r,n,o){return o||G(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=u.prototype;else{var i=t-e;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e+--t],i=1;while(t>0&&(i*=256))n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||U(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||U(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||U(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||U(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||U(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=t,i=1,o=this[e+--n];while(n>0&&(i*=256))o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||U(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||U(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||U(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||U(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||U(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||U(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||U(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||U(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||U(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;q(this,e,t,r,i,0)}var o=1,a=0;this[t]=255&e;while(++a<r&&(o*=256))this[t+a]=e/o&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;q(this,e,t,r,i,0)}var o=r-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||q(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,r){return e=+e,t|=0,r||q(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):B(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):B(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||q(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):W(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||q(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):W(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);q(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<r&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);q(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||q(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,r){return e=+e,t|=0,r||q(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):B(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):B(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||q(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):W(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||q(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):W(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return z(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return z(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return Y(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return Y(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:K(new u(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var H=/[^+\/0-9A-Za-z-_]/g;function V(e){if(e=X(e).replace(H,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function X(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Q(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function J(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function Z(e,t){for(var r,n,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n)}return o}function $(e){return n.toByteArray(V(e))}function ee(e,t,r,n){for(var i=0;i<n;++i){if(i+r>=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function te(e){return e!==e}}).call(this,r("c8ba"))},b64b:function(e,t,r){var n=r("23e7"),i=r("7b0b"),o=r("df75"),a=r("d039"),s=a((function(){o(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return o(i(e))}})},b680:function(e,t,r){"use strict";var n=r("23e7"),i=r("a691"),o=r("408a"),a=r("1148"),s=r("d039"),c=1..toFixed,u=Math.floor,l=function(e,t,r){return 0===t?r:t%2===1?l(e,t-1,r*e):l(e*e,t/2,r)},f=function(e){var t=0,r=e;while(r>=4096)t+=12,r/=4096;while(r>=2)t+=1,r/=2;return t},h=c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}));n({target:"Number",proto:!0,forced:h},{toFixed:function(e){var t,r,n,s,c=o(this),h=i(e),d=[0,0,0,0,0,0],p="",v="0",g=function(e,t){var r=-1,n=t;while(++r<6)n+=e*d[r],d[r]=n%1e7,n=u(n/1e7)},m=function(e){var t=6,r=0;while(--t>=0)r+=d[t],d[t]=u(r/e),r=r%e*1e7},y=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==d[e]){var r=String(d[e]);t=""===t?r:t+a.call("0",7-r.length)+r}return t};if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(p="-",c=-c),c>1e-21)if(t=f(c*l(2,69,1))-69,r=t<0?c*l(2,-t,1):c/l(2,t,1),r*=4503599627370496,t=52-t,t>0){g(0,r),n=h;while(n>=7)g(1e7,0),n-=7;g(l(10,n,1),0),n=t-1;while(n>=23)m(1<<23),n-=23;m(1<<n),g(1,1),m(2),v=y()}else g(0,r),g(1<<-t,0),v=y()+a.call("0",h);return h>0?(s=v.length,v=p+(s<=h?"0."+a.call("0",h-s)+v:v.slice(0,s-h)+"."+v.slice(s-h))):v=p+v,v}})},b727:function(e,t,r){var n=r("0366"),i=r("44ad"),o=r("7b0b"),a=r("50c4"),s=r("65f0"),c=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,l=4==e,f=6==e,h=7==e,d=5==e||f;return function(p,v,g,m){for(var y,b,_=o(p),w=i(_),A=n(v,g,3),S=a(w.length),x=0,k=m||s,C=t?k(p,S):r||h?k(p,0):void 0;S>x;x++)if((d||x in w)&&(y=w[x],b=A(y,x,_),e))if(t)C[x]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:c.call(C,y)}else switch(e){case 4:return!1;case 7:c.call(C,y)}return f?-1:u||l?l:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},b8bf:function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("7c73");n({target:"Object",stat:!0,sham:!i},{create:o})},b929:function(e,t,r){var n=r("abcd");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("78ebf0de",n,!0,{sourceMap:!1,shadowMode:!1})},baa5:function(e,t,r){var n=r("23e7"),i=r("e58c");n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},bb2f:function(e,t,r){var n=r("d039");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bc5b:function(e,t,r){var n=r("24fb"),i=r("cef9");t=n(!1),t.i(i),t.push([e.i,".hevue-wrap[data-v-fb1200dc]{position:fixed;top:0;bottom:0;right:0;left:0;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;z-index:999999}.he-img-wrap[data-v-fb1200dc]{width:100%;height:100%;text-align:center;vertical-align:middle;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff}.he-close-icon[data-v-fb1200dc]{right:50px;top:50px;font-size:46px;color:#666}.arrow[data-v-fb1200dc],.he-close-icon[data-v-fb1200dc]{position:absolute;cursor:pointer;transition:all .2s}.arrow[data-v-fb1200dc]{width:50px;height:50px;text-align:center;line-height:50px;top:50%;border-radius:50%;transform:translateY(-50%);-ms-transform:translateY(-50%);font-size:3vw;opacity:.6}.arrow[data-v-fb1200dc]:hover{opacity:.8;font-size:32px}.arrow-left[data-v-fb1200dc]{left:50px}.arrow-right[data-v-fb1200dc]{right:50px}.he-close-icon[data-v-fb1200dc]:hover{transform:rotate(90deg)}.he-control-bar-wrap[data-v-fb1200dc]{display:flex;position:absolute;width:100%;bottom:10%;left:0}.he-control-bar[data-v-fb1200dc]{height:44px;bottom:10%;padding:0 22px;display:flex;border-radius:22px;margin:0 auto}.he-control-num[data-v-fb1200dc]{position:absolute;bottom:5%;left:50%;transform:translateX(-50%);-ms-transform:translateX(-50%);padding:0 22px;font-size:16px;border-radius:15px}.he-control-btn[data-v-fb1200dc]{line-height:44px;font-size:24px;cursor:pointer;padding:0 9px;transition:all .2s}.he-control-btn[data-v-fb1200dc]:hover{transform:scale(1.2)}.fade-enter-active[data-v-fb1200dc],.fade-leave-active[data-v-fb1200dc]{transition:opacity .3s}.fade-enter[data-v-fb1200dc],.fade-leave-to[data-v-fb1200dc]{opacity:0}.hevue-img-error[data-v-fb1200dc]{font-size:56px;color:#ccc}",""]),e.exports=t},c04e:function(e,t,r){var n=r("861d");e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},c0b6:function(e,t,r){var n=r("23e7"),i=r("0538");n({target:"Function",proto:!0},{bind:i})},c19f:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("621a"),a=r("2626"),s="ArrayBuffer",c=o[s],u=i[s];n({global:!0,forced:u!==c},{ArrayBuffer:c}),a(s)},c1ac:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").filter,o=r("4840"),a=n.aTypedArray,s=n.aTypedArrayConstructor,c=n.exportTypedArrayMethod;c("filter",(function(e){var t=i(a(this),e,arguments.length>1?arguments[1]:void 0),r=o(this,this.constructor),n=0,c=t.length,u=new(s(r))(c);while(c>n)u[n]=t[n++];return u}))},c20d:function(e,t,r){var n=r("da84"),i=r("58a8").trim,o=r("5899"),a=n.parseInt,s=/^[+-]?0[Xx]/,c=8!==a(o+"08")||22!==a(o+"0x16");e.exports=c?function(e,t){var r=i(String(e));return a(r,t>>>0||(s.test(r)?16:10))}:a},c408:function(e,t,r){"use strict";r("660a")},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},c6cd:function(e,t,r){var n=r("da84"),i=r("ce4e"),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},c8d2:function(e,t,r){var n=r("d039"),i=r("5899"),o="
";e.exports=function(e){return n((function(){return!!i[e]()||o[e]()!=o||i[e].name!==e}))}},c906:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("861d"),a=Object.isExtensible,s=i((function(){a(1)}));n({target:"Object",stat:!0,forced:s},{isExtensible:function(e){return!!o(e)&&(!a||a(e))}})},c975:function(e,t,r){"use strict";var n=r("23e7"),i=r("4d64").indexOf,o=r("a640"),a=r("ae40"),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,u=o("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:c||!u||!l},{indexOf:function(e){return c?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},ca84:function(e,t,r){var n=r("5135"),i=r("fc6a"),o=r("4d64").indexOf,a=r("d012");e.exports=function(e,t){var r,s=i(e),c=0,u=[];for(r in s)!n(a,r)&&n(s,r)&&u.push(r);while(t.length>c)n(s,r=t[c++])&&(~o(u,r)||u.push(r));return u}},ca91:function(e,t,r){"use strict";var n=r("ebb5"),i=r("d58f").left,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduce",(function(e){return i(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},caad:function(e,t,r){"use strict";var n=r("23e7"),i=r("4d64").includes,o=r("44d2"),a=r("ae40"),s=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:!s},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},cb29:function(e,t,r){var n=r("23e7"),i=r("81d5"),o=r("44d2");n({target:"Array",proto:!0},{fill:i}),o("fill")},cc12:function(e,t,r){var n=r("da84"),i=r("861d"),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},cc71:function(e,t,r){"use strict";var n=r("23e7"),i=r("857a"),o=r("af03");n({target:"String",proto:!0,forced:o("bold")},{bold:function(){return i(this,"b","","")}})},cca6:function(e,t,r){var n=r("23e7"),i=r("60da");n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},cd26:function(e,t,r){"use strict";var n=r("ebb5"),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){var e,t=this,r=i(t).length,n=a(r/2),o=0;while(o<n)e=t[o],t[o++]=t[--r],t[r]=e;return t}))},cd97:function(e,t,r){"use strict";r("b352")},cdf9:function(e,t,r){var n=r("825a"),i=r("861d"),o=r("f069");e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e),a=r.resolve;return a(t),r.promise}},ce0a:function(e,t,r){"use strict";r("b929")},ce4e:function(e,t,r){var n=r("da84"),i=r("9112");e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},cee8:function(e,t,r){var n=r("23e7"),i=r("861d"),o=r("f183").onFreeze,a=r("bb2f"),s=r("d039"),c=Object.preventExtensions,u=s((function(){c(1)}));n({target:"Object",stat:!0,forced:u,sham:!a},{preventExtensions:function(e){return c&&i(e)?c(o(e)):e}})},cef9:function(e,t,r){var n=r("24fb"),i=r("1de5"),o=r("adf8"),a=r("2340"),s=r("8ef7"),c=r("55cb");t=n(!1);var u=i(o),l=i(o,{hash:"#iefix"}),f=i(a),h=i(s),d=i(c,{hash:"#iconfont"});t.push([e.i,"@font-face{font-family:iconfont;src:url("+u+");src:url("+l+') format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAkQAAsAAAAAERQAAAjCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEaAqSMI8UATYCJAM4Cx4ABCAFhG0HgV4bkA5RlFBSI9nPAru5g41UuVLFiYtgRJc5aOrfayPXP6QQTk1nO2RIyxvXBRylMCIoBFyI8w4MKCPAjCED5M5j/vCQf3u/u7WFoRxFHAWeYeAtzqJA25d8c/OpTbSB8wizhUZRLNGMJZHupQy1/pjSuXxTLFJH1NcWhsVeMLFfk7Vuae7YYLKZDZ9vP1eHiESzw1PhLSRKvJvfl4l/hpknk1BpvL2+Q9xDJENKxIzF2ORAFwl2PazjbCAAVmmUBVkategAPYakCJpskjUT+pwG0+JF6OXamj2TIVOhoR/GUecBTAl/n/xII3qAognIc7VZG+agThfeCrQ34GV6xGh4zXEARiSABpQFwIzYq1a5C6DJwofGtmaMB1AUwfw++i6oopqg9lId6kx1rrr1Rc7LvLdCIADj21OV+5eZRFGVujhKrg5oaFFYHN1ZqM+jCQx7+M8bIWgedhsKBVBdABpQRQBaUBMAUKD2BMCC2gsAB6oMQAeqA4Ae1JkACKhzAfCgbgVAw4scAAK8zANggLeC+D6njf6GJQGYAOoBmLvVrkMpjUEJmtzzJi1d6UgMelq1qEgQOsWaPJBnMxmNuVqpZSt9zmAQcXVgEcoEMVcwGk0mQRSPWdLgEUTGlv8ddjUEnECLVAOFbFtZtYIaV9NVlhZg24W86H54+xP9Inww0ArRtladl49mZWuxe2FRUzzJPlc+KwMitIzvcGuhawGg8wucq+ukHZY02GHbW9Vbk/L68MJJ6wFNdK1Z1ID0lHcOh90yZpDW0tbpcuXnnga4Wr7kH/otfV7TcFB+p2/Sy3JbsJS0QLsnH0HiK8Cu8rEOO6TzLx1KIXGp3iQHcViescA50sU4Yc9Xx0YOR/6uQy28pjORM+5W8hfhEp52eQcfb/F4JS290dL1NS99l5tXPQ/rubqPqqKVhHuRWqr22PYYBKYhZ3iiCbss8mbYasX1Z0Gw4yoOEtERocJACBVXNhupaxX1NJB/2Khw/cLwfLUiJ3Rt0Ph0pTzbf/lqfGswxA8UZXsO1htTh0vxmduFpT5Zydc8rF1qMwBk0hl7ulYKqxUn1oWZLirucn/IJ3YXxI70JqFyIhV7O2kBWGPPKrIKGPSMNMMBIkhKM6D5D8pyn1HEAG3svBY8JXRR8+Kw3GuWddtScown2JPc0LV9PgQN486hi06k6uaqFDP+zz4uOVPx/M7iix1kQan9fBUAn2/6HkN3GrrfIGpdNw+WFTuppHDdJe84XP6qwyy5YM1JG7vwCDbZ0aP7qtJi34TJ8d0mTeoW3yvxMocBTGDWmNjrsui3pqTj19bRW5C4hejxiC2iW2+BAUxgtt+alggMPZmoKOaugj7yeqQ1au1nfv9OyPYLBKn4LveW2GkN21gEwwd/unHUmKfjLAa+DV9G753wwDfhjhCy+PT+s3WK1zqgS2uWOLRh1zpFi68rChOKRp6PLBrUoioC1Q8yf/7mAQwffdNVVfkqt3JKGQOOwhO+58999Aa68DnjI57Sq0gZzlbyV8VVdfRNMpw58PfvfK2ovkPbBm0btu0I0/AqTYx9a6mvStg+zn8qCgt7KDaNbdq66UdjN8TcPzS/1eCpJvFDsD+Mp0eU5k3+LbyfKlHBOJXVdB/E+5lk3GgAn1R3qqFG726VxpxcVi0yMpGJSJtX5d5UtoK/7oATCbl5CxP8tVNo/+JEbdfrKYme1xX1b722Tps5JfCh85TJKBdS7pPVIvCnSIb80h/LI+ioKomK8nvriBJ/ndpD60j10NoxDnhHK+mkqEqVmtTwfAqdceXQHGo5ffs2zWTLbYijSPDlpHckvWtazjr74hDz508y2SFAmH07/aMwZLPGOlVRuVKT6mP+Vw/NDkjrSOX8/ROHFP0Xnt8LQ7epFewd2aeBtpG2QZ+Rjoxw3QzMGGGImdpoaoxBzyzcni+E8jOF4OLwj8SHMjX9IXwtI0pAKC6Euy2EAAu5VnzxIUwRPqY9F8WDhV5/R0Cty2Gdu3TunDc7tse4QZM9vbhRXu8orpdn8qBxPWJn523ZHJPRMSOty972SFs37ej1hsckhYYH3tFJMd4hSdFmCE0Kwfk0wrTOW7bEwK4Ts3nLmeot6erwliaPC83rfRc+P3F++Lt74esS14Xf0zYYgVcnpM0ran7S/LBXrxpqpUwxzaMLz5CsMCQlzQsvLAyfV+WxIaynmLZVG3PCPXoedDtzp5R4i1HQz9bc0aRrmS7X9Im+f9/OaEtAEkPXi/veqeujLFFsO18Uen8AEBjGBujSDj4efrpO8G72E10t7R6W0E1M/njWZjrMXkV0r7Y27Q38hqBG55EJ1v5nroWlC+YG9w6q8U3PfaKL7uf9HRoK+1vXzoce1YQWon9IVdZq4QWkS4nUGnM+CNeqfAV+i8pCI6FGPelKKQCrxgH/jdmheLgtNqK36C+ZjUgxRWRLAdN1dnGYgV3ZcA1OBtZCsv+VrDJojP05YVDQSBoApGCUCCeCsTmcYnQY07C7gBnYPQjXiMQ7mRZuhA5ndWphR+QkEImtr5gzXeYcMau/KGXLdoujd7FR03Zmqzs/U+ESa6NOZsUpyXYxtbxpXdXYbDcrJrZxeqxpLpdFtChygdiIbWHOz5dFhyLnmrNd5W2odFSrUMEy2bZ8tlwAVn0Ks0wuP3oOEVn6p5Rkk9lZFndhSz/fjpmVW75MSkufi5SdmCmcpOWLSEV5mHpYNabtvfrcl9ZOHlZpcHHOQnQ7K2QFRDTinFm+KpeJcNSvlsssm0t52AilDtVQgY9l6UuX3z5bcKvTuPn6lQ81NorQhCEaoiU6oicGwhKO8EQgRhKEktfiTQfYpAFuOUvKlAfY3HZTWnpqRiXGZs53cLlS5oBMaYBNtltDXW6HlGkv1XXapKxMKXgwuXemosh9eyuS1eZiW3LtLtltqNTQz51pt7Mz7WzMpXL9bQGtRMqXtBa0suZk6pxuud9WVfr/qms5JLtVa43ysiQAAA==") format("woff2"),url('+f+') format("woff"),url('+h+') format("truetype"),url('+d+') format("svg")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconiconfontzhizuobiaozhun023146:before{content:"\\e694"}.iconhelp:before{content:"\\e626"}.iconjiazaizhong:before{content:"\\e6b1"}.icontupianjiazaishibai:before{content:"\\ec0d"}.iconicon_arrow_right:before{content:"\\e60d"}.iconjiantouzuo:before{content:"\\e620"}.iconxuanzhuan:before{content:"\\e66f"}.iconxuanzhuan1:before{content:"\\e670"}.iconyuanshibili:before{content:"\\e86b"}.iconfangda:before{content:"\\e65d"}.iconsuoxiao:before{content:"\\e65e"}.iconquanping:before{content:"\\e698"}.iconguanbi:before{content:"\\e764"}',""]),e.exports=t},cfc3:function(e,t,r){var n=r("74e8");n("Float32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,r){var n=r("428f"),i=r("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},d139:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").find,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("find",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d1e7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},d28b:function(e,t,r){var n=r("746f");n("iterator")},d2bb:function(e,t,r){var n=r("825a"),i=r("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(r,[]),t=r instanceof Array}catch(o){}return function(r,o){return n(r),i(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},d3b7:function(e,t,r){var n=r("00ee"),i=r("6eeb"),o=r("b041");n||i(Object.prototype,"toString",o,{unsafe:!0})},d3c7:function(e,t,r){"use strict";r("82d0")},d44e:function(e,t,r){var n=r("9bf2").f,i=r("5135"),o=r("b622"),a=o("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},d58f:function(e,t,r){var n=r("1c0b"),i=r("7b0b"),o=r("44ad"),a=r("50c4"),s=function(e){return function(t,r,s,c){n(r);var u=i(t),l=o(u),f=a(u.length),h=e?f-1:0,d=e?-1:1;if(s<2)while(1){if(h in l){c=l[h],h+=d;break}if(h+=d,e?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;e?h>=0:f>h;h+=d)h in l&&(c=r(c,l[h],h,u));return c}};e.exports={left:s(!1),right:s(!0)}},d5d6:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").forEach,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("forEach",(function(e){i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d784:function(e,t,r){"use strict";r("ac1f");var n=r("6eeb"),i=r("d039"),o=r("b622"),a=r("9263"),s=r("9112"),c=o("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l=function(){return"$0"==="a".replace(/./,"$0")}(),f=o("replace"),h=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),d=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,f){var p=o(e),v=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),g=v&&!i((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return t=!0,null},r[p](""),!t}));if(!v||!g||"replace"===e&&(!u||!l||h)||"split"===e&&!d){var m=/./[p],y=r(p,""[e],(function(e,t,r,n,i){return t.exec===a?v&&!i?{done:!0,value:m.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),b=y[0],_=y[1];n(String.prototype,e,b),n(RegExp.prototype,p,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}f&&s(RegExp.prototype[p],"sham",!0)}},d81d:function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").map,o=r("1dde"),a=r("ae40"),s=o("map"),c=a("map");n({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("56ef"),a=r("fc6a"),s=r("06cf"),c=r("8418");n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),i=s.f,u=o(n),l={},f=0;while(u.length>f)r=i(n,t=u[f++]),void 0!==r&&c(l,t,r);return l}})},dca8:function(e,t,r){var n=r("23e7"),i=r("bb2f"),o=r("d039"),a=r("861d"),s=r("f183").onFreeze,c=Object.freeze,u=o((function(){c(1)}));n({target:"Object",stat:!0,forced:u,sham:!i},{freeze:function(e){return c&&a(e)?c(s(e)):e}})},ddb0:function(e,t,r){var n=r("da84"),i=r("fdbc"),o=r("e260"),a=r("9112"),s=r("b622"),c=s("iterator"),u=s("toStringTag"),l=o.values;for(var f in i){var h=n[f],d=h&&h.prototype;if(d){if(d[c]!==l)try{a(d,c,l)}catch(v){d[c]=l}if(d[u]||a(d,u,f),i[f])for(var p in o)if(d[p]!==o[p])try{a(d,p,o[p])}catch(v){d[p]=o[p]}}}},df75:function(e,t,r){var n=r("ca84"),i=r("7839");e.exports=Object.keys||function(e){return n(e,i)}},df7c:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}function i(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,n="/"===a.charAt(0))}return t=r(i(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),a="/"===o(e,-1);return e=r(i(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&a&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("4362"))},e017:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".switch-page[data-v-fb780886]{margin:0;padding:0;overflow:auto}.switch-page button[data-v-fb780886]{font-size:16px;padding:6px!important}",""]),e.exports=t},e01a:function(e,t,r){"use strict";var n=r("23e7"),i=r("83ab"),o=r("da84"),a=r("5135"),s=r("861d"),c=r("9bf2").f,u=r("e893"),l=o.Symbol;if(i&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new l(e):void 0===e?l():l(e);return""===e&&(f[t]=!0),t};u(h,l);var d=h.prototype=l.prototype;d.constructor=h;var p=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(a(f,e))return"";var r=v?t.slice(7,-1):t.replace(g,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},e099:function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"===typeof e?o(a(e),(function(a){var s=encodeURIComponent(n(a))+r;return i(e[a])?o(e[a],(function(e){return s+encodeURIComponent(n(e))})).join(t):s+encodeURIComponent(n(e[a]))})).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var a=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},e0e9:function(e,t,r){"use strict";r("924f")},e163:function(e,t,r){var n=r("5135"),i=r("7b0b"),o=r("f772"),a=r("e177"),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},e177:function(e,t,r){var n=r("d039");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e25e:function(e,t,r){var n=r("23e7"),i=r("c20d");n({global:!0,forced:parseInt!=i},{parseInt:i})},e260:function(e,t,r){"use strict";var n=r("fc6a"),i=r("44d2"),o=r("3f8c"),a=r("69f3"),s=r("7dd0"),c="Array Iterator",u=a.set,l=a.getterFor(c);e.exports=s(Array,"Array",(function(e,t){u(this,{type:c,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e2cc:function(e,t,r){var n=r("6eeb");e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},e3db:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},e439:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("fc6a"),a=r("06cf").f,s=r("83ab"),c=i((function(){a(1)})),u=!s||c;n({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},e538:function(e,t,r){var n=r("b622");t.f=n},e58c:function(e,t,r){"use strict";var n=r("fc6a"),i=r("a691"),o=r("50c4"),a=r("a640"),s=r("ae40"),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf"),h=s("indexOf",{ACCESSORS:!0,1:0}),d=l||!f||!h;e.exports=d?function(e){if(l)return u.apply(this,arguments)||0;var t=n(this),r=o(t.length),a=r-1;for(arguments.length>1&&(a=c(a,i(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,r){"use strict";var n,i,o,a,s=r("23e7"),c=r("c430"),u=r("da84"),l=r("d066"),f=r("fea9"),h=r("6eeb"),d=r("e2cc"),p=r("d44e"),v=r("2626"),g=r("861d"),m=r("1c0b"),y=r("19aa"),b=r("8925"),_=r("2266"),w=r("1c7e"),A=r("4840"),S=r("2cf4").set,x=r("b575"),k=r("cdf9"),C=r("44de"),P=r("f069"),E=r("e667"),R=r("69f3"),T=r("94ca"),O=r("b622"),I=r("605d"),L=r("2d00"),F=O("species"),D="Promise",j=R.get,M=R.set,N=R.getterFor(D),U=f,q=u.TypeError,B=u.document,W=u.process,G=l("fetch"),z=P.f,Y=z,H=!!(B&&B.createEvent&&u.dispatchEvent),V="function"==typeof PromiseRejectionEvent,X="unhandledrejection",Q="rejectionhandled",K=0,J=1,Z=2,$=1,ee=2,te=T(D,(function(){var e=b(U)!==String(U);if(!e){if(66===L)return!0;if(!I&&!V)return!0}if(c&&!U.prototype["finally"])return!0;if(L>=51&&/native code/.test(U))return!1;var t=U.resolve(1),r=function(e){e((function(){}),(function(){}))},n=t.constructor={};return n[F]=r,!(t.then((function(){}))instanceof r)})),re=te||!w((function(e){U.all(e)["catch"]((function(){}))})),ne=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},ie=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;x((function(){var n=e.value,i=e.state==J,o=0;while(r.length>o){var a,s,c,u=r[o++],l=i?u.ok:u.fail,f=u.resolve,h=u.reject,d=u.domain;try{l?(i||(e.rejection===ee&&ce(e),e.rejection=$),!0===l?a=n:(d&&d.enter(),a=l(n),d&&(d.exit(),c=!0)),a===u.promise?h(q("Promise-chain cycle")):(s=ne(a))?s.call(a,f,h):f(a)):h(n)}catch(p){d&&!c&&d.exit(),h(p)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},oe=function(e,t,r){var n,i;H?(n=B.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!V&&(i=u["on"+e])?i(n):e===X&&C("Unhandled promise rejection",r)},ae=function(e){S.call(u,(function(){var t,r=e.facade,n=e.value,i=se(e);if(i&&(t=E((function(){I?W.emit("unhandledRejection",n,r):oe(X,r,n)})),e.rejection=I||se(e)?ee:$,t.error))throw t.value}))},se=function(e){return e.rejection!==$&&!e.parent},ce=function(e){S.call(u,(function(){var t=e.facade;I?W.emit("rejectionHandled",t):oe(Q,t,e.value)}))},ue=function(e,t,r){return function(n){e(t,n,r)}},le=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=Z,ie(e,!0))},fe=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw q("Promise can't be resolved itself");var n=ne(t);n?x((function(){var r={done:!1};try{n.call(t,ue(fe,r,e),ue(le,r,e))}catch(i){le(r,i,e)}})):(e.value=t,e.state=J,ie(e,!1))}catch(i){le({done:!1},i,e)}}};te&&(U=function(e){y(this,U,D),m(e),n.call(this);var t=j(this);try{e(ue(fe,t),ue(le,t))}catch(r){le(t,r)}},n=function(e){M(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},n.prototype=d(U.prototype,{then:function(e,t){var r=N(this),n=z(A(this,U));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=I?W.domain:void 0,r.parent=!0,r.reactions.push(n),r.state!=K&&ie(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=j(e);this.promise=e,this.resolve=ue(fe,t),this.reject=ue(le,t)},P.f=z=function(e){return e===U||e===o?new i(e):Y(e)},c||"function"!=typeof f||(a=f.prototype.then,h(f.prototype,"then",(function(e,t){var r=this;return new U((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof G&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(U,G.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:te},{Promise:U}),p(U,D,!1,!0),v(D),o=l(D),s({target:D,stat:!0,forced:te},{reject:function(e){var t=z(this);return t.reject.call(void 0,e),t.promise}}),s({target:D,stat:!0,forced:c||te},{resolve:function(e){return k(c&&this===o?U:this,e)}}),s({target:D,stat:!0,forced:re},{all:function(e){var t=this,r=z(t),n=r.resolve,i=r.reject,o=E((function(){var r=m(t.resolve),o=[],a=0,s=1;_(e,(function(e){var c=a++,u=!1;o.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,o[c]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=z(t),n=r.reject,i=E((function(){var i=m(t.resolve);_(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},e893:function(e,t,r){var n=r("5135"),i=r("56ef"),o=r("06cf"),a=r("9bf2");e.exports=function(e,t){for(var r=i(t),s=a.f,c=o.f,u=0;u<r.length;u++){var l=r[u];n(e,l)||s(e,l,c(t,l))}}},e8b5:function(e,t,r){var n=r("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},e91f:function(e,t,r){"use strict";var n=r("ebb5"),i=r("4d64").indexOf,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("indexOf",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},e95a:function(e,t,r){var n=r("b622"),i=r("3f8c"),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},eabf:function(e,t,r){var n=r("bc5b");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("20d209bc",n,!0,{sourceMap:!1,shadowMode:!1})},ebb5:function(e,t,r){"use strict";var n,i=r("a981"),o=r("83ab"),a=r("da84"),s=r("861d"),c=r("5135"),u=r("f5df"),l=r("9112"),f=r("6eeb"),h=r("9bf2").f,d=r("e163"),p=r("d2bb"),v=r("b622"),g=r("90e3"),m=a.Int8Array,y=m&&m.prototype,b=a.Uint8ClampedArray,_=b&&b.prototype,w=m&&d(m),A=y&&d(y),S=Object.prototype,x=S.isPrototypeOf,k=v("toStringTag"),C=g("TYPED_ARRAY_TAG"),P=i&&!!p&&"Opera"!==u(a.opera),E=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T={BigInt64Array:8,BigUint64Array:8},O=function(e){if(!s(e))return!1;var t=u(e);return"DataView"===t||c(R,t)||c(T,t)},I=function(e){if(!s(e))return!1;var t=u(e);return c(R,t)||c(T,t)},L=function(e){if(I(e))return e;throw TypeError("Target is not a typed array")},F=function(e){if(p){if(x.call(w,e))return e}else for(var t in R)if(c(R,n)){var r=a[t];if(r&&(e===r||x.call(r,e)))return e}throw TypeError("Target is not a typed array constructor")},D=function(e,t,r){if(o){if(r)for(var n in R){var i=a[n];i&&c(i.prototype,e)&&delete i.prototype[e]}A[e]&&!r||f(A,e,r?t:P&&y[e]||t)}},j=function(e,t,r){var n,i;if(o){if(p){if(r)for(n in R)i=a[n],i&&c(i,e)&&delete i[e];if(w[e]&&!r)return;try{return f(w,e,r?t:P&&m[e]||t)}catch(s){}}for(n in R)i=a[n],!i||i[e]&&!r||f(i,e,t)}};for(n in R)a[n]||(P=!1);if((!P||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},P))for(n in R)a[n]&&p(a[n],w);if((!P||!A||A===S)&&(A=w.prototype,P))for(n in R)a[n]&&p(a[n].prototype,A);if(P&&d(_)!==A&&p(_,A),o&&!c(A,k))for(n in E=!0,h(A,k,{get:function(){return s(this)?this[C]:void 0}}),R)a[n]&&l(a[n],C,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:P,TYPED_ARRAY_TAG:E&&C,aTypedArray:L,aTypedArrayConstructor:F,exportTypedArrayMethod:D,exportTypedArrayStaticMethod:j,isView:O,isTypedArray:I,TypedArray:w,TypedArrayPrototype:A}},f069:function(e,t,r){"use strict";var n=r("1c0b"),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},f183:function(e,t,r){var n=r("d012"),i=r("861d"),o=r("5135"),a=r("9bf2").f,s=r("90e3"),c=r("bb2f"),u=s("meta"),l=0,f=Object.isExtensible||function(){return!0},h=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,u)){if(!f(e))return"F";if(!t)return"E";h(e)}return e[u].objectID},p=function(e,t){if(!o(e,u)){if(!f(e))return!0;if(!t)return!1;h(e)}return e[u].weakData},v=function(e){return c&&g.REQUIRED&&f(e)&&!o(e,u)&&h(e),e},g=e.exports={REQUIRED:!1,fastKey:d,getWeakData:p,onFreeze:v};n[u]=!0},f26a:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,'.label-view[data-v-503c1c85]{position:relative;float:left;width:100%;height:100%;overflow:hidden}.label-view .tag[data-v-503c1c85]{position:absolute;z-index:999;top:0;display:none}.labelCon[data-v-503c1c85]{position:absolute;width:100%;height:100%;top:0;left:0;text-align:center;color:#fff;font-size:12px;display:table;white-space:nowrap}.labelCon .span-text[data-v-503c1c85]{display:table-cell;vertical-align:middle;white-space:normal}.label-proterty[data-v-503c1c85]{position:absolute;bottom:0;right:10px;color:#206ad4;font-size:14px}.resize-tag[data-v-503c1c85]{width:10px;height:10px;overflow:hidden;position:absolute;cursor:se-resize;right:0;bottom:0}.resize-tag[data-v-503c1c85]:after{content:"";display:inline-block;width:15px;height:3px;border:1px solid #666;transform-origin:center;transform:rotate(135deg) translate(-2px,5px)}.close[data-v-503c1c85]{width:20px;height:20px;border-radius:50%;position:absolute;top:-10px;right:-10px;background:coral;color:#fff;transform:rotate(45deg);text-align:center;line-height:20px;cursor:pointer}i[data-v-503c1c85]{font-style:normal}',""]),e.exports=t},f596:function(e,t,r){"use strict";r("1f62")},f5b2:function(e,t,r){"use strict";var n=r("23e7"),i=r("6547").codeAt;n({target:"String",proto:!0},{codePointAt:function(e){return i(this,e)}})},f5df:function(e,t,r){var n=r("00ee"),i=r("c6b6"),o=r("b622"),a=o("toStringTag"),s="Arguments"==i(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(r){}};e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=c(t=Object(e),a))?r:s?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},f6d6:function(e,t,r){var n=r("23e7"),i=r("23cb"),o=String.fromCharCode,a=String.fromCodePoint,s=!!a&&1!=a.length;n({target:"String",stat:!0,forced:s},{fromCodePoint:function(e){var t,r=[],n=arguments.length,a=0;while(n>a){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}})},f772:function(e,t,r){var n=r("5692"),i=r("90e3"),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},f8cd:function(e,t,r){var n=r("a691");e.exports=function(e){var t=n(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},fb15:function(e,t,r){"use strict";if(r.r(t),"undefined"!==typeof window){var n=window.document.currentScript,i=r("8875");n=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(r.p=o[1])}r("d81d"),r("b0c0");var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"labelView",staticClass:"label-view",on:{click:e.getCoordinates}},[r(e.currentView,{ref:"currentTag",tag:"component",staticClass:"tag",attrs:{showName:e.activeTagObj.name,tagStyle:e.activeTagObj,labelId:e.activeTagObj.labelId}}),e._l(e.singleTagData,(function(t,n){return[e.page===t.pageIndex&&0==e.filterType||e.filterType==t.labelType?r("labelItem",{directives:[{name:"move",rawName:"v-move",value:e.handlerMove,expression:"handlerMove"}],key:n,style:e.getStyleCom(t),attrs:{tagStyle:t,index:n,showName:t.showName},nativeOn:{contextmenu:function(r){return r.preventDefault(),e.deTag(t,n,r)}}},[r("i",{staticClass:"labelCon",style:e.getStyleCon(t)},[r("span",{staticClass:"span-text"},[e._v(e._s(t.showName))])]),e.isclose?r("i",{staticClass:"close",on:{click:function(r){return e.deleteTag(t,n)}}},[e._v("+")]):e._e(),1===t.labelType&&e.issize?r("div",{directives:[{name:"size",rawName:"v-size",value:e.handlerResize,expression:"handlerResize"}],staticClass:"resize-tag"}):e._e()]):e._e()]})),r("LabelProterty",{ref:"proterty",on:{change:e.onChange}})],2)},s=[];r("99af"),r("4de4"),r("7db0"),r("4160"),r("c975"),r("a434"),r("a9e3"),r("cca6"),r("e25e"),r("159b"),r("a4d3"),r("1d1c"),r("7a82"),r("e439"),r("dbb4"),r("b64b");function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"label-item-box",class:e.className,style:e.style},[e._t("default"),r("div",{staticClass:"label-style"})],2)},h=[];function d(e){switch(e){case 1:return{width:"120px",height:"35px"};case 2:return{width:"140px",height:"140px"};case 3:return{width:"30px",height:"30px"};case 4:return{width:"100px",height:"100px"};default:return{width:"200px",height:"35px"}}}var p=d,v={props:{tagStyle:{type:[String,Object],required:!0}},data:function(){return{}},computed:{style:function(){var e=p(this.tagStyle.shape);return e},className:function(){var e=this.tagStyle;return"label-shape".concat(e.shape)}},methods:{}},g=v;r("c408");function m(e,t,r,n,i,o,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}var y=m(g,f,h,!1,null,"3e9e96f1",null),b=y.exports,_=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("el-dialog",{attrs:{title:"标签属性",modal:!0,visible:e.dialogVisible,"close-on-click-modal":!1,"append-to-body":"",width:"480px","custom-class":"discard-flow-wrapper","before-close":e.beforeClose,"close-on-press-escape":!1},on:{"update:visible":function(t){e.dialogVisible=t}}},[r("el-form",{ref:"prodForm",attrs:{model:e.formData,size:"small"}},[r("el-form-item",{attrs:{label:"字体大小",prop:"fontSize"}},[r("el-select",{model:{value:e.formData.fontSize,callback:function(t){e.$set(e.formData,"fontSize",t)},expression:"formData.fontSize"}},[r("el-option",{attrs:{label:"自动",value:0}}),r("el-option",{attrs:{label:"12px",value:12}}),r("el-option",{attrs:{label:"14px",value:14}}),r("el-option",{attrs:{label:"16px",value:16}}),r("el-option",{attrs:{label:"18px",value:18}}),r("el-option",{attrs:{label:"32px",value:32}})],1)],1),r("el-form-item",{attrs:{label:"对齐方式",prop:"alignment"}},[r("el-select",{model:{value:e.formData.alignment,callback:function(t){e.$set(e.formData,"alignment",t)},expression:"formData.alignment"}},[r("el-option",{attrs:{label:"居左",value:0}}),r("el-option",{attrs:{label:"居中",value:1}}),r("el-option",{attrs:{label:"居右",value:2}})],1)],1),r("el-form-item",{staticClass:"remark-wrapper",attrs:{label:"是否换行",prop:"isMultiline"}},[r("el-select",{model:{value:e.formData.isMultiline,callback:function(t){e.$set(e.formData,"isMultiline",t)},expression:"formData.isMultiline"}},[r("el-option",{attrs:{label:"单行",value:0}}),r("el-option",{attrs:{label:"多行",value:1}})],1)],1)],1),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.beforeClose}},[e._v("取消")]),r("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("确认提交")])],1)],1)],1)},w=[],A={props:{role:{type:String,default:""}},data:function(){return{dialogVisible:!1,editItem:"",productId:"",labelNode:null,formData:{fontSize:0,alignment:"",isMultiline:""}}},methods:{openDialog:function(e,t,r){this.dialogVisible=!0,this.labelNode={labelData:e,index:t,element:r},this.formData.fontSize=null==e.fontSize?0:e.fontSize,this.formData.alignment=null==e.alignment?1:e.alignment,this.formData.isMultiline=null==e.isMultiline?0:e.isMultiline},beforeClose:function(){this.dialogVisible=!1},onSubmit:function(){console.log("--",this.formData),this.$emit("change",this.formData,this.labelNode),this.dialogVisible=!1}}},S=A,x=(r("ce0a"),m(S,_,w,!1,null,"7c80f08a",null)),k=x.exports,C={move:{inserted:function(e,t,r){e.onmousedown=function(r){t.value(r,e),r.stopPropagation()}}},size:{inserted:function(e,t,r){e.onmousedown=function(r){t.value(r,e),r.stopPropagation()}}}},P=C,E=[{type:1,name:"文本标签",shape:1},{type:2,name:"选项",shape:1},{type:3,name:"多选",shape:1},{type:5,name:"自然人投资者签名",shape:1},{type:21,name:"机构经办人签名",shape:1},{type:11,name:"管理人签章",shape:2},{type:19,name:"理财师签名",shape:1},{type:15,name:"托管人签章",shape:2},{type:7,name:"投资机构签章",shape:2},{type:23,name:"管理人法人签章",shape:2},{type:25,name:"托管人法人签章",shape:2},{type:27,name:"管理人合同签章",shape:2},{name:"募集机构公章签章",type:29,shape:2},{name:"募集机构法人章签章",type:31,shape:2},{name:"募集机构业务或合同章",type:33,shape:2},{name:"募集机构理财师签名",type:35,shape:1},{name:"机构投资者法人章",type:37,shape:4},{name:"妥妥递公章",type:97,shape:2},{name:"妥妥递法人章",type:98,shape:2},{name:"自定义标签",type:99,shape:2}],R={name:"TtdLabelMake",props:{isclose:{type:[Boolean],default:!0},ismove:{type:[Boolean],default:!0},issize:{type:[Boolean],default:!0},isset:{type:[Boolean],default:!0},labelCurrent:{type:[Object]},page:{type:[Number,String],default:1},filterType:{type:[Number,String],default:0},labelViewData:{type:[Array],default:function(){return[]}}},components:{labelItem:b,LabelProterty:k},data:function(){return{labelConfig:E,showLabel:{showName:"",labelId:""},currentView:"",labelData:[],activeTagObj:{name:"",labelId:""},mousemoveFn:null,mousedownEl:null,mousedonwType:""}},created:function(){this.labelData=this.labelViewData,this.$emit("getLabelData",this.labelData)},mounted:function(){var e=this;document.onclick=function(){e.removeElementsByClass("mouse-right-el")};var t=this.$refs.labelView,r=this;t.onmousemove=function(e){if(r.mousemoveFn){var n=r.getFollowOffset(t,e.target,{left:e.offsetX,top:e.offsetY});r.mousemoveFn(e,n)}else if(r.activeTagObj&&r.activeTagObj.name){var i=r.getFollowOffset(t,e.target,{left:e.offsetX,top:e.offsetY}),o=r.$refs.currentTag.$el;o&&(t.style.cursor="none",o.style.display="block",o.style.left="".concat(i.left,"px"),o.style.top="".concat(i.top,"px"))}},t.onmouseup=function(){if(console.log("box --onmouseup"),r.mousedownEl)if("resize-tag"===r.mousedownEl.className){var e=r.mousedownEl.parentNode,t=e.getAttribute("index");if(console.log("resize".concat(t),"".concat(e.offsetWidth,"--").concat(e.offsetHeight)),t){var n=r.labelData[Number(t)];n&&(n.labelWidth=e.offsetWidth,n.labelHigh=e.offsetHeight,n.styleObj&&(n.styleObj.width="".concat(e.offsetWidth,"px"),n.styleObj.height="".concat(e.offsetHeight,"px")))}}else{var i=r.mousedownEl.getAttribute("index");if(i){var o=r.labelData[Number(i)];if(o){o.xAxis=r.mousedownEl.offsetLeft;var a="";a=1===o.labelType?r.mousedownEl.offsetTop+7:r.mousedownEl.offsetTop+o.labelHigh,o.yAxis=a,o.styleObj&&(o.styleObj.top="".concat(r.mousedownEl.offsetTop,"px"),o.styleObj.left="".concat(r.mousedownEl.offsetLeft,"px"))}}}r.mousemoveFn=null,r.mousedownEl=null}},directives:P,watch:{labelViewData:function(){this.labelData=this.labelViewData,this.$emit("getLabelData",this.labelData)},labelCurrent:function(e){if(e){null==e.type&&(e.type=1);var t=this.labelConfig.filter((function(t){return t.type===e.type})),r=t&&t.length?t[0]:null;1===e.type?this.activeTagObj=l(l({},r),{},{name:e.optionName,titleName:e.labelName,labelId:e.labelId?e.labelId:""},e):2===e.type||3===e.type?this.activeTagObj=l(l({},r),{},{name:e.optionName,titleName:e.labelName,labelCode:e.labelCode,labelId:e.labelId?e.labelId:"",code:e.code}):this.activeTagObj=l(l({},r),e),this.currentView="labelItem"}}},computed:{singleTagData:function(){var e=[];return this.labelData.forEach((function(t){2===t.labelType?e.push(t.labelContent[0]):(1===t.labelType&&(t.yAxis=parseInt(t.styleObj.top,10)+7),e.push(t))})),e}},methods:{handlerResize:function(e,t){if(!this.issize)return!1;var r=t.parentNode;this.mousedownEl=t,console.log("size mousemoveFn"),this.mousemoveFn=function(e,t){t.left-r.offsetLeft>40&&(r.style.width="".concat(t.left-r.offsetLeft,"px")),t.top-r.offsetTop>20&&(r.style.height="".concat(t.top-r.offsetTop,"px"))}},handlerMove:function(e,t){if(!this.ismove)return!1;this.mousedownEl=t,this.mousedonwType="move","close"!==e.target.className&&"resize-tag"!==e.target.className&&(this.mousemoveFn=function(r,n){t.style.left="".concat(n.left-e.offsetX,"px"),t.style.top="".concat(n.top-e.offsetY,"px")})},getStyleCom:function(e){var t=e.labelWidth||e.labelwidth,r=e.labelHigh||e.labelheight;return r&&-1===String(r).indexOf("px")&&(r+="px"),t&&-1===String(t).indexOf("px")&&(t+="px"),e.styleObj.height=r,e.styleObj.width=t,e.styleObj},getStyleCon:function(e){var t={};e.fontSize&&(t.fontSize="".concat(e.fontSize,"px"));var r="center";switch(e.alignment){case 0:r="left";break;case 2:r="right";break;default:r="center"}return t.textAlign=r,e.isMultiline&&(t.whiteSpace="normal"),t},setLabelProperty:function(e,t,r){this.$refs.proterty.openDialog(e,t,r)},onChange:function(e,t){Object.assign(t.labelData,e);var r=t.element;if("labelCon"!==r.className&&(r=t.element.parentNode,"labelCon"!==r.className))return alert("系统错误,请联系管理员"),!1;r.style.fontSize="".concat(e.fontSize<12?12:e.fontSize,"px");var n="center";switch(e.alignment){case 0:n="left";break;case 2:n="right";break;default:n="center"}r.style.textAlign=n,e.isMultiline&&(r.style.whiteSpace="normal")},getFollowOffset:function(e,t,r){return e===t?r:this.getFollowOffset(e,t.parentNode,{left:r.left+t.offsetLeft,top:r.top+t.offsetTop})},removeElementsByClass:function(e){var t=document.getElementsByClassName(e);while(t.length>0)t[0].parentNode.removeChild(t[0])},deTag:function(e,t,r){var n=this;if(this.isclose||this.isset){this.removeElementsByClass("mouse-right-el");var i=r.offsetX,o=r.offsetY,a=document.createElement("ul");if(a.setAttribute("class","mouse-right-el"),this.isclose){var s=document.createElement("li");s.innerHTML='<div class="right-dele">删 除</div>',a.appendChild(s)}if(this.isset&&1===e.labelType){var c=document.createElement("li");c.innerHTML='<div class="right-property">属 性</div>',a.appendChild(c)}a.onclick=function(i){var o=i.target.className;"right-dele"===o?n.deleteTag(e,t):"right-property"===o&&n.setLabelProperty(e,t,r.target),r.target.removeChild(a)},a.style.left="".concat(i,"px"),a.style.top="".concat(o,"px;"),r.target.appendChild(a)}},formatLabelValue:function(e,t){var r=p(t.shape),n="";return n=1===t.type?e.offsetTop+7:e.offsetTop+parseInt(r.height,10),{xAxis:e.offsetLeft,yAxis:n,labelWidth:parseInt(r.width,10),labelHigh:parseInt(r.height,10),labelType:t.type,labelId:t.labelId||"",showName:t.name,shape:t.shape,titleName:t.titleName||"",labelCode:t.labelCode||"",code:t.code||"",sealTag:t.sealTag||t.sealDiyCode,labelAlias:t.labelAlias,stampType:t.stampType,styleObj:{position:"absolute",width:r.width,height:r.height,top:"".concat(e.offsetTop,"px"),left:"".concat(e.offsetLeft,"px")}}},getCoordinates:function(e){var t=this.$refs.labelView,r=t.querySelector(".mouse-right-el");if(r&&r.parentNode.removeChild(r),this.activeTagObj&&this.activeTagObj.name){var n=this.$refs.currentTag.$el,i=this.formatLabelValue(n,this.activeTagObj);if(t.style.cursor="default",n.style.display="none",i.pageIndex=this.page,2===i.labelType){var o=this.labelData.find((function(e){return e.labelCode&&e.labelCode===i.labelCode}));if(o)delete i.labelId,delete i.titleName,o.labelContent.push(i);else{var a={};a.labelCode=i.labelCode,a.pageIndex=i.pageIndex,a.showName=i.titleName,a.labelType=i.labelType,delete i.labelId,delete i.titleName,a.labelContent=[i],this.labelData.push(a)}}else 1===i.labelType?(i.alignment=0,this.labelData.push(i)):this.labelData.push(i);this.$emit("getLabelData",this.labelData),this.activeTagObj={name:"",labelId:""}}},deleteTag:function(e,t){this.labelData[t]&&(this.labelData.splice(t,1),this.$emit("getLabelData",this.labelData))}}},T=R,O=(r("cd97"),r("85d3"),m(T,a,s,!1,null,"503c1c85",null)),I=O.exports,L=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"label-done-area"},[e.operateConfig.length?r("div",{staticClass:"label-group"},[r("el-menu",{staticClass:"label-operate-menu title-con",attrs:{"text-color":"#4B5973","menu-trigger":"click"}},e._l(e.operateConfig,(function(t,n){return r("el-submenu",{key:n,attrs:{index:""+n}},[r("template",{slot:"title"},[r("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"item.typeName",placement:"top-start"}},[r("span",{staticClass:"title-con-text"},[e._v(e._s(t.typeName))])])],1),e._l(t.typeSeal,(function(t,i){return r("el-menu-item",{key:i,attrs:{index:n+"-"+i},on:{click:function(t){return e.changeColor(n,i)}}},[r("span",{class:{colorChnage:e.ind===n+"-"+i,"label-item-btn":!0},attrs:{slot:"title"},on:{click:function(r){return e.emitSignItem(t)}},slot:"title"},[e._v(e._s(t.name))])])}))],2)})),1)],1):e._e(),e._t("default"),e._t("select-label")],2)},F=[],D={name:"TtdLabelOperate",props:{operateConfig:{type:[Array],default:function(){return[]}}},data:function(){return{inputNameList:[],ind:""}},methods:{changeColor:function(e,t){this.ind="".concat(e,"-").concat(t)},emitSignItem:function(e){this.$emit("getSignItem",e)}}},j=D,M=(r("5aae"),r("d3c7"),m(j,L,F,!1,null,"902eca14",null)),N=M.exports;r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");function U(e){return U="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},U(e)}var q=r("8bbf"),B=r.n(q),W=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{name:"fade"}},[e.show?r("div",{ref:"heImg",staticClass:"hevue-wrap",style:"background:"+e.mainBackground,attrs:{id:"hevue-wrap"},on:{mouseup:function(t){return e.removeMove("pc")},touchend:function(t){return e.removeMove("mobile")},click:e.clickMask}},[r("div",{staticClass:"he-img-wrap"},[r("img",{directives:[{name:"show",rawName:"v-show",value:1===e.imgState,expression:"imgState === 1"}],attrs:{src:"https://jzwsp.totodi.com/jz/image-loading.gif"}}),r("img",{directives:[{name:"show",rawName:"v-show",value:2===e.imgState,expression:"imgState === 2"}],ref:"heImView",staticClass:"he-img-view",style:"transform: scale("+e.imgScale+") rotate("+e.imgRotate+"deg);margin-top:"+e.imgTop+"px;margin-left:"+e.imgLeft+"px;"+e.maxWH,attrs:{src:e.imgurl},on:{click:function(e){e.stopPropagation()},mousedown:e.addMove,touchstart:e.addMoveMobile}}),r("div",{directives:[{name:"show",rawName:"v-show",value:3===e.imgState,expression:"imgState === 3"}],staticClass:"iconfont hevue-img-error"},[e._v("")]),r("div",{staticClass:"iconfont he-close-icon",style:"color:"+e.closeColor,on:{click:function(t){return t.stopPropagation(),e.close(t)}}},[e._v("")]),e.multiple?r("div",{staticClass:"arrow arrow-left iconfont",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(t){return t.stopPropagation(),e.toogleImg(!1)}}},[e._v("")]):e._e(),e.multiple?r("div",{staticClass:"arrow arrow-right iconfont",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(t){return t.stopPropagation(),e.toogleImg(!0)}}},[e._v("")]):e._e(),r("div",{staticClass:"he-control-bar-wrap"},[r("div",{staticClass:"he-control-bar",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(e){e.stopPropagation()}}},[r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.scaleFunc(-.15)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.scaleFunc(.15)}}},[e._v("")]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isFull,expression:"isFull"}],staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.imgToggle(t)}}},[e._v("")]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.isFull,expression:"!isFull"}],staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.imgToggle(t)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.rotateFunc(-90)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.rotateFunc(90)}}},[e._v("")])])]),e.multiple?r("div",{staticClass:"he-control-num",style:"color:"+e.controlColor+";background: "+e.controlBackground},[e._v(e._s(e.imgIndex+1)+" / "+e._s(e.imgList.length))]):e._e()])]):e._e()])},G=[],z=(r("277d"),r("0d03"),r("4795"),{name:"hevue-img-preview",props:{show:{type:Boolean,default:!1},clickMaskCLose:String,url:String,mainBackground:String,controlColor:String,controlBackground:String,closeColor:String,instance:Object,multiple:{type:Boolean,default:!1},keyboard:{type:String,default:"open"},nowImgIndex:{type:Number,default:0},imgList:Array},data:function(){return{imgScale:1,imgTop:0,imgLeft:0,imgRotate:0,isFull:!1,maxWH:"max-width:100%;max-height:100%;",clientX:0,clientY:0,imgIndex:0,canRun:!0,imgurl:"",imgState:1,logText:"",start:[{clientX:217,clientY:279,force:1,identifier:0,pageX:217,pageY:279,radiusX:11.5,radiusY:11.5,rotationAngle:0,screenX:493,screenY:456},{clientX:247,clientY:273,force:1,identifier:0,pageX:247,pageY:273,radiusX:11.5,radiusY:11.5,rotationAngle:0,screenX:523,screenY:450}],mobileScale:0}},mounted:function(){this.initImg()},watch:{url:function(){this.initImg()},show:function(e){var t=this;e&&this.$nextTick((function(e){var r=document.getElementById("hevue-wrap");r.onmousewheel=t.scrollFunc,document.body.addEventListener("DOMMouseScroll",t.scrollFunc),document.ondragstart=function(){return!1},t.multiple?Array.isArray(t.imgList)&&t.imgList.length>0?(t.imgIndex=Number(t.nowImgIndex)||0,t.changeUrl(t.imgList[t.imgIndex],t.imgIndex)):console.error("imgList 为空或格式不正确"):t.changeUrl(t.url),"open"===t.keyboard&&document.addEventListener("keydown",t.keyHandleDebounce)}))}},methods:{close:function(){this.instance.show=!1,this.initImg(),this.maxWH="max-width:100%;max-height:100%;",this.isFull=!1,document.body.removeEventListener("DOMMouseScroll",this.scrollFunc),document.ondragstart=null,this.keyboard&&document.removeEventListener("keydown",this.keyHandleDebounce)},initImg:function(){this.mobileScale=1,this.imgScale=1,this.imgRotate=0,this.imgTop=0,this.imgLeft=0},toogleImg:function(e){e?(this.imgIndex++,this.imgIndex>this.imgList.length-1&&(this.imgIndex=0)):(this.imgIndex--,this.imgIndex<0&&(this.imgIndex=this.imgList.length-1)),this.changeUrl(this.imgList[this.imgIndex],this.imgIndex)},changeUrl:function(e,t){var r=this;this.imgState=1;var n=new Image;n.src=e,n.onload=function(){console.log("onload: index=".concat(t,"--imgIndex=").concat(r.imgIndex,"--imgState=").concat(r.imgState)),(void 0!==t&&t===r.imgIndex||void 0===t)&&(r.imgState=2,r.imgurl=e),console.log("imgState=",r.imgState)},n.onerror=function(){(void 0!==t&&t===r.imgIndex||void 0===t)&&(r.imgState=3),console.log("onerror : index=".concat(t,"--imgIndex=").concat(r.imgIndex,"--imgState=").concat(r.imgState))}},rotateFunc:function(e){this.imgRotate+=e},scaleFunc:function(e,t){this.imgScale<=.2&&e<0||(t?this.imgScale=e:this.imgScale+=e)},imgToggle:function(){this.initImg(),this.isFull?this.maxWH="max-width:100%;max-height:100%;":this.maxWH="",this.isFull=!this.isFull},scrollFunc:function(e){e=e||window.event,e.delta=e.wheelDelta||-e.detail,e.preventDefault(),e.delta>0&&this.scaleFunc(.05),e.delta<0&&this.scaleFunc(-.05)},addMove:function(e){e=e||window.event,this.clientX=e.clientX,this.clientY=e.clientY,this.$refs.heImg.onmousemove=this.moveFunc},addMoveMobile:function(e){e.preventDefault(),e=e||window.event,e.touches.length>1?this.start=e.touches:(this.clientX=e.touches[0].pageX,this.clientY=e.touches[0].pageY),this.$refs.heImg.ontouchmove=this.moveFuncMobile},moveFunc:function(e){e=e||window.event,e.preventDefault();var t=e.clientX-this.clientX,r=e.clientY-this.clientY;this.imgLeft+=2*t,this.imgTop+=2*r,this.clientX=e.clientX,this.clientY=e.clientY},moveFuncMobile:function(e){if(e=e||window.event,e.touches.length>1){var t=e.touches,r=this.getDistance(t[0],t[1])/this.getDistance(this.start[0],this.start[1]);this.logText="".concat(r,",").concat(this.mobileScale),this.mobileScale?r>1?this.scaleFunc(r+this.mobileScale-1,!0):this.scaleFunc(r*this.mobileScale,!0):this.scaleFunc(r,!0)}else{var n=e.touches[0];e.preventDefault();var i=n.pageX-this.clientX,o=n.pageY-this.clientY;this.imgLeft+=2*i,this.imgTop+=2*o,this.clientX=n.pageX,this.clientY=n.pageY}},removeMove:function(e){"pc"===e?this.$refs.heImg.onmousemove=null:(this.mobileScale=this.imgScale,this.$refs.heImg.ontouchmove=null)},keyHandleDebounce:function(e){var t=this;this.canRun&&(this.keyHandle(e),this.canRun=!1,setTimeout((function(){t.canRun=!0}),300))},keyHandle:function(e){var t=window.event||e,r=t.keyCode||t.which||t.charCode;switch(r){case 27:this.close();break;case 65:this.multiple&&this.toogleImg(!1);break;case 68:this.multiple&&this.toogleImg(!0);break;case 87:this.scaleFunc(.15);break;case 83:this.scaleFunc(-.15);break;case 81:this.rotateFunc(-90);break;case 69:this.rotateFunc(90);break;case 82:this.initImg();break;default:break}},clickMask:function(){console.log("hello",this.clickMaskCLose),"open"===this.clickMaskCLose&&this.close()},getDistance:function(e,t){var r=t.pageX-e.pageX,n=t.pageY-e.pageY;return Math.sqrt(r*r+n*n)},downloadIamge:function(){var e=new Image;e.setAttribute("crossOrigin","anonymous"),e.onload=function(){var t=document.createElement("canvas");t.width=e.width,t.height=e.height;var r=t.getContext("2d");r.drawImage(e,0,0,e.width,e.height);var n=t.toDataURL("image/png"),i=document.createElement("a"),o=new MouseEvent("click");i.download="photo".concat(+new Date),i.href=n,i.dispatchEvent(o)},e.onerror=function(e){console.log("图片信息不正确或图片服务器禁止访问"),console.log(e)},this.multiple?e.src=this.imgList[this.imgIndex]:e.src=this.url}}}),Y=z,H=(r("6cb7"),m(Y,W,G,!1,null,"fb1200dc",null)),V=H.exports,X=B.a.extend(V),Q=(new X).$mount(),K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"===typeof e)Q.url=e;else{if("object"!==U(e)||e.constructor===Array)return void(e.constructor!==Array?console.error("hevue-img-preview 组件参数仅能接收字符串和对象,但您传入的是 ".concat(U(e),"\nhevue-img-preview parameter can only receive strings and objects, but what you pass in is ").concat(U(e))):console.error("hevue-img-preview 组件参数仅能接收字符串和对象,但您传入的是 array\nhevue-img-preview parameter can only receive strings and objects, but what you pass in is array"));Q.url=e.url}Q.mainBackground=e.mainBackground||"rgba(255,255,255,.6)",Q.controlColor=e.controlColor,Q.controlBackground=e.controlBackground||"rgba(109, 109, 109, .6)",Q.closeColor=e.closeColor||"rgba(109, 109, 109, .6)",Q.multiple=e.multiple,Q.clickMaskCLose=e.clickMaskCLose||"open",Q.nowImgIndex=e.nowImgIndex,Q.imgList=e.imgList,Q.keyboard=e.keyboard||"open",Q.show=!0,Q.instance=Q,document.body.appendChild(Q.$el)},J=function(e){e.prototype.$ImgPreview=K};"undefined"!==typeof window&&window.Vue&&window.Vue.use(J);var Z=J,$=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"pdf-view",style:e.style},[e.showPages?r("div",{staticClass:"pdf-view-control"},[r("switch-page",{ref:"switchPage",attrs:{numPages:e.page_count},on:{page:e.onChangePage}})],1):e._e(),e.pdfurl?r("div",{staticClass:"center pdf-view-area",style:{border:e.border?"1px solid #666":""},on:{drop:e.onDrop,dragover:e.onDragOver}},[r("canvas",{ref:"canvas",staticClass:"canvasstyle"}),r("div",{staticClass:"label-area"},[e._t("default")],2)]):r("div",{staticClass:"pdf-view-empty"},[e._v("未找到资源,请联系管理员!")])])},ee=[],te=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"switch-page"},[r("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.switchPage("prev")}}},[r("i",{staticClass:"el-icon-caret-left"})]),r("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.switchPage("next")}}},[r("i",{staticClass:"el-icon-caret-right"})]),r("span",{staticStyle:{"margin-left":"10px"}},[e._v(e._s(e.page)+"/"+e._s(e.numPages))]),r("span",{staticStyle:{"margin-left":"6px"}},[e._v(" 跳转至 "),r("el-input",{staticStyle:{width:"50px",margin:"0 4px"},attrs:{size:"mini"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.goPage(t)}},model:{value:e.itemPage,callback:function(t){e.itemPage=e._n(t)},expression:"itemPage"}}),e._v(" 页 ")],1)],1)},re=[],ne={name:"switch-page",props:{numPages:{type:[Number,String]}},data:function(){return{page:1,itemPage:""}},watch:{numPages:function(){this.page=1}},methods:{switchPage:function(e){if("prev"===e){if(1===this.page)return;this.page--}if("next"===e){if(this.page===this.numPages)return void this.$message({message:"当前已是最后一页",type:"warning"});this.page++}this.$emit("page",this.page)},setPage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.page=e},goPage:function(){this.itemPage>0&&(this.itemPage>=this.numPages?(this.page=this.numPages,this.itemPage=this.page):this.page=this.itemPage,this.$emit("page",this.page))}}},ie=ne,oe=(r("9b37"),m(ie,te,re,!1,null,"fb780886",null)),ae=oe.exports,se=r("9511");se.GlobalWorkerOptions.workerSrc="https://wsp.totodi.com/jz/pdfjs/pdf.worker-2.2.228.js";var ce={name:"pdf-view",components:{SwitchPage:ae},props:{pdfurl:{default:""},scale:{type:Number,default:1.5},showPages:{type:[String,Number,Boolean],default:!0},border:{type:[String,Number,Boolean],default:!0},marginAuto:{type:[String,Number,Boolean],default:!1},page:{type:[String,Number],default:1},showWidth:{type:[String,Number],default:0}},data:function(){return{pdfDoc:null,pageNum:1,pageRendering:!1,pageNumPending:null,compuscale:1.5,page_count:0,maxscale:1.5,minscale:.8,isready:!1,initPage:!0,style:{width:"860px",margin:""===this.marginAuto||this.marginAuto?"0 auto":"0"}}},methods:{renderPage:function(e){var t=this,r=this;this.pageRendering=!0,this.pdfDoc.getPage(e).then((function(n){var i=r.compuscale,o="",a=t.showWidth;if(t.initPage&&a){var s=parseInt(a,10)-2;o=n.getViewport({scale:1}),i=s/o.width,t.initPage=!1,t.compuscale=i,t.maxscale=i}o=n.getViewport({scale:i}),t.$emit("size",o,e),r.isready=!0;var c=r.$refs.canvas;t.style.width="".concat(o.width+2,"px"),c.height=o.height,c.width=o.width;var u={canvasContext:c.getContext("2d"),viewport:o},l=n.render(u);l.promise.then((function(){r.pageRendering=!1,null!==r.pageNumPending&&(r.renderPage(r.pageNumPending),r.pageNumPending=null)}))}))},prev:function(){this.pageNum<=1||(this.pageNum--,this.queueRenderPage(this.pageNum))},next:function(){this.pageNum>=this.page_count||(this.pageNum++,this.queueRenderPage(this.pageNum))},onChangePage:function(e){this.queueRenderPage(e)},closepdf:function(){this.pdfDoc&&this.pdfDoc.destroy(),this.pdfDoc=null,this.isready=!1,this.compuscale=this.scale,this.$emit("closepdf")},queueRenderPage:function(e){this.pageRendering?this.pageNumPending=e:this.renderPage(e)},loadUrl:function(e){var t=this;if(!se)return!1;console.log("----PdfView---",e),se.getDocument({url:encodeURI(e),cMapUrl:"https://unpkg.com/pdfjs-dist@2.2.228/cmaps/",cMapPacked:!0}).promise.then((function(e){t.pdfDoc&&(console.log("pdfDocument is ready destroy,,"),t.pdfDoc.destroy()),t.pdfDoc=e,t.page_count=e.numPages,console.log("this.page_count 22.37",t.page_count),t.$emit("numPages",e.numPages),t.renderPage(t.pageNum)}))},onDrop:function(e){this.$emit("drop",e)},onDragOver:function(e){e.preventDefault()}},mounted:function(){this.compuscale=this.scale,this.initPage=!0,this.pdfurl&&this.loadUrl(this.pdfurl)},beforeDestroy:function(){this.pdfDoc&&this.pdfDoc.destroy()},watch:{pdfurl:function(e){e&&(this.pageNum=1,this.initPage=!0,this.loadUrl(e),this.pdfDoc&&this.pdfDoc.destroy()),this.showPages&&this.$refs.switchPage.setPage(1)},page:function(e,t){this.queueRenderPage(e)}}},ue=ce,le=(r("e0e9"),m(ue,$,ee,!1,null,"c340782e",null)),fe=le.exports,he=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"cfca-pdf"},[e.isIE?[r("div",{staticClass:"cfca-pdf-wrapper",style:{visibility:e.visible}},[r("div",{class:{"cfca-left":!0,active:"left"===e.active,disabled:e.pageNo<=1},on:{click:function(t){return e.GoToPrevPage()}}},[r("span",{staticClass:"el-icon-arrow-left"})]),r("div",{staticClass:"cfca-content"},[r("div",{staticClass:"cfca-page"},[r("div",{staticClass:"fl cfca-title"},[r("h2",[e._v(e._s(e.title))])]),r("div",{staticClass:"fr"},[e._v(" "+e._s(e.pageNo)+"/"+e._s(e.pageCount)+" "),r("span",{staticClass:"di"},[e._v("第")]),r("el-input",{staticClass:"page-num",attrs:{size:"mini"},on:{change:e.GoToPage},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.GoToPage(t)}},model:{value:e.inputPage,callback:function(t){e.inputPage=t},expression:"inputPage"}}),e._v("页 ")],1)]),r("div",{ref:"PDFCtrlPlaceHolder",staticClass:"cfca-object"},[r("div",{staticClass:"obj-wrapper",on:{dragenter:e.onDragEnter,dragover:e.onDragOver,drop:e.onDrop}},[this.idstr?[r("object",{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{position:"relative","z-Index":"1"},attrs:{id:"PDFCtrl"+this.idstr,tabindex:0,codebase:e.publicPath+e.codebase,classid:"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A",width:"100%",height:"100%"}},[r("param",{attrs:{name:"wmode",value:"transparent"}}),r("param",{attrs:{name:"showToolbar",value:"false"}})])]:[r("object",{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{position:"relative","z-Index":"1"},attrs:{tabindex:0,codebase:e.publicPath+e.codebase,classid:"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A",width:"100%",height:"100%"}},[r("param",{attrs:{name:"wmode",value:"transparent"}}),r("param",{attrs:{name:"showToolbar",value:"false"}})])]],2)]),r("div",{staticClass:"cfca-control"},[e._t("default")],2)]),r("div",{class:{"cfca-right":!0,active:"right"===e.active,disabled:e.pageNo>=e.pageCount},on:{click:function(t){return e.GoToNextPage()}}},[r("span",{staticClass:"el-icon-arrow-right"})])])]:[r("div",{staticClass:"red",staticStyle:{height:"350px",padding:"20px",position:"relative","margin-bottom":"20px"}},[e._v(" 提示:当前浏览器不支持控件预览,请切换IE浏览器进行查看 "),r("div",{staticClass:"tc",staticStyle:{position:"absolute",bottom:"0",left:"0",right:"0"}},[e._t("default")],2)])]],2)},de=[];r("e6cf"),r("ac1f"),r("5319"),r("96cf");function pe(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function ve(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){pe(o,n,i,a,s,"next",e)}function s(e){pe(o,n,i,a,s,"throw",e)}a(void 0)}))}}var ge=function(e){var t={};return e&&(t="string"===typeof e&&/^{/.test(e)?JSON.parse(e):e),t.url&&(t.url=decodeURI(t.url)),t},me={name:"cfca-pdf",props:{action:{type:String,default:""},pdfurl:{type:String,default:""},visible:{type:[String,Boolean],default:"visible"},title:{type:String,default:""},idstr:{type:[String,Number]}},data:function(){var e="";return e="x86"===window.navigator.cpuClass?"cfca/TrustSignPDFPlugin.ttd.x86.cab#version=3,2,1,4":"cfca/TrustSignPDFPlugin.ttd.x64.cab#version=3,2,1,4",{publicPath:"https://wsp.totodi.com/jz/",PDFCtrl:"",codebase:e,active:"",inputPage:"",isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,pageNo:1,pageCount:1}},beforeDestroy:function(){console.log("--cfca-pdf-beforeDestroy")},beforeRouteLeave:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("-cfca--beforeRouteLeave---"),e.next=3,n.CloseFile();case 3:r();case 4:case"end":return e.stop()}}),e)})))()},mounted:function(){this.isIE&&(this.OnLoad(),console.log("cfca mounted =".concat(this.pdfurl)),this.pdfurl&&setTimeout(this.OpenFile,100))},methods:{OnLoad:function(){return!this.PDFCtrl&&(!!this.isIE&&(this.PDFCtrl=this.$refs.pdfCtrl,this.PDFCtrl||(console.log("使用id 加载this.PDFCtrl "),this.PDFCtrl=window["PDFCtrl".concat(this.idstr)]),void(window.OnClickPoint=this.OnClickPoint)))},OpenFile:function(e){var t=this;if(e=e||this.pdfurl,!e)return alert("未发现pdf资源路径!"),!1;try{console.log("OpenFile--src--".concat(e)),this.PDFCtrl.OpenWebFile(encodeURI(e)),this.PDFCtrl=this.$refs.pdfCtrl,setTimeout((function(){t.PDFCtrl.ZoomTo(-1),t.GetPageNo()}),100)}catch(n){if(this.PDFCtrl.GetLastErrorDesc){var r=this.PDFCtrl.GetLastErrorDesc();alert(r)}}},sleep:function(e){return new Promise((function(t){return setTimeout(t,e)}))},CloseFile:function(){try{this.pdfurl&&this.PDFCtrl&&(console.log("CloseFile---"),this.PDFCtrl.CloseFile())}catch(t){if(console.log("CloseFile error--",t),this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},onDragEnter:function(e){this.$emit("cfcaDragEnter",e)},onDragOver:function(e){e.preventDefault(),this.$emit("cfcaDragOver",e)},onDrop:function(e){this.$emit("cfcaDrop",e)},GoToFirstPage:function(){try{this.PDFCtrl.GoToFirstPage()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToLastPage:function(){try{this.PDFCtrl.GoToLastPage()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToPrevPage:function(){this.active="left";var e=this;try{this.PDFCtrl.GoToPrevPage(),this.inputPage="",setTimeout((function(){e.GetPageNo()}),100)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},GoToNextPage:function(){this.active="right";var e=this;try{this.PDFCtrl.GoToNextPage(),this.inputPage="",setTimeout((function(){e.GetPageNo()}),100)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},GetPageNo:function(){try{this.pageNo=this.PDFCtrl.GetCurrentPageNo(),this.pageCount=this.PDFCtrl.GetPageCount()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToPage:function(){var e=this;try{var t=this.inputPage.replace(/\D/,"");if(""===t)return void alert("请输入页码!");this.PDFCtrl.GoToPage(t),setTimeout((function(){e.GetPageNo()}),100)}catch(n){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var r=this.PDFCtrl.GetLastErrorDesc();alert(r)}}},ZoomTo:function(e){try{this.PDFCtrl.ZoomTo(e)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},ZoomOut:function(){try{this.PDFCtrl.ZoomOut()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},ZoomIn:function(){try{this.PDFCtrl.ZoomIn()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},OnClickPoint:function(e,t,r){console.log("OnClickPoint--","nPageNo=".concat(e,", x=").concat(t,", y=").concat(r));try{this.PDFCtrl.SignFile_KeyImage(e,t,r),this.$emit("cfca-point",e,t,r)}catch(i){var n=this.PDFCtrl.GetLastErrorDesc();alert(n)}},openDialog:function(e){var t=this;this.isIE&&(console.log(" openDialog---"),setTimeout((function(){t.OpenFile(e)}),350))},GetCertInfo:function(e){e=e||"SubjectDN";try{var t=this.PDFCtrl.GetSignCertInfo(e);if(!t){var r=this.PDFCtrl.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetCertInfo :",i);var n=this.PDFCtrl.GetLastErrorDesc();alert(n)}},selectSignCert:function(e){try{var t="",r="CFCA ACS ",n=e||"";return console.log("证书序列号,精确匹配",n),this.PDFCtrl.SelectSignCert(t,r,"".concat(n),""),this.PDFCtrl.SetTimestampServer("http://210.74.41.195/timestamp"),!0}catch(i){return console.log("PDFCtrl.SelectSignCert ",i),!1}},UploadFile:function(){try{var e=this.PDFCtrl.UploadCurrentFile(this.action);return e=JSON.parse(e),0===e.code?e.data.list[0]:""}catch(r){var t=this.PDFCtrl.GetLastErrorDesc();console.log("PDFCtrl 文件上传:",t),alert("PDFCtrl 文件上传:".concat(t))}return!1},signFileKeyImage:function(e,t){var r=this.PDFCtrl.GetSignCertInfo("SerialNumber");console.log("-signFileKeyImage--certSN-".concat(r),e);try{var n="",i="";return e.height?(n=Number(e.X)+47,i=Number(e.height)-Number(e.Y)-47):(n=Number(e.X)+47,i=Number(e.Y)-47),console.log(" 参数 pageIndex = ".concat(e.pageIndex," x = ").concat(n," Y = ").concat(i)),console.log("signFileKeyImage: image=".concat(t)),t?this.PDFCtrl.SignFile_Image(e.pageIndex,n,i,t):this.PDFCtrl.SignFile_KeyImage(e.pageIndex,n,i),console.log("SignFile_KeyImage 成功"),!0}catch(a){var o=this.PDFCtrl.GetLastErrorDesc();return console.log("signFileKeyImage",a),alert(o),!1}},multipleSign7:function(e,t,r,n,i){for(var o=0;o<e.length;o++){var a=e[o],s=ge(a.labelContent);try{var c="",u="";return a.height?(c=Number(a.X)+47,u=Number(a.height)-Number(a.Y)-47):(c=Number(a.X)+47,u=Number(a.Y)-47),this.PDFCtrl.AddSignaturePosition(s.pageIndex,c,u),!0}catch(f){var l=this.PDFCtrl.GetLastErrorDesc();console.log(" multipleSign7",f),alert(l)}}n?this.PDFCtrl.SignFile_Image(n):this.PDFCtrl.SignFile_KeyImage()},multipleSign5:function(e,t,r,n,i){console.log("multipleSign 循环签的begin ",r);var o=this.PDFCtrl.GetSignCertInfo("SerialNumber");console.log("serialNoBegin ",o);for(var a="",s=0;s<e.length;s++){var c=e[s],u=ge(c.labelContent);if(console.log("label=",u),s>0){var l=this.PDFCtrl.GetSignCertInfo("SerialNumber");if(console.log("本次获得的序列号serialNoAgain:",l),o!==l)return alert("签署过程中,请不要更换ukey!"),!1;console.log("serialNo=",r),a=a&&this.signFileKeyImage(ge(c.labelContent),n),console.log("iterateSign 签章结果".concat(s,"-------"),a)}else console.log("第一个章,不用验签",s),a=this.signFileKeyImage(ge(c.labelContent),n),console.log("iterateSign 签章结果",a);if(!a)return!1}return console.log("multipleSign 签章的结果",a),a},multipleSign:function(e,t,r,n,i){return n||this.PDFCtrl.SetPKCS11Module("UyeePKCS11.Enterprise.dll|UlanPKCS11.Enterprise.dll|UlanPKCS11.dll|CFCA_UKEY_P11.dll"),this.PDFCtrl.AddSignaturePosition?(console.log("新版插件"),this.multipleSign7(e,t,r,n,i)):this.multipleSign5(e,t,r,n,i)},GetSignatureInfo:function(){for(var e=this.PDFCtrl.GetSignatureCount(),t=[],r=0;r<e;r++){var n=this.PDFCtrl.VerifySignature(r),i=n.GetSignCertInfo("SerialNumber");t.push({SerialNumber:i})}return t}},watch:{pdfurl:function(e,t){this.inputPage=1,this.isIE&&e&&(this.PDFCtrl?(console.log("cfca watch pdfurl=="),t?t!==e&&(console.log("cfca watch oldval==",t),this.CloseFile(),setTimeout(this.OpenFile,100)):setTimeout(this.OpenFile,100)):console.log("cfca watch PDFCtrl 未加载 "))}}},ye=me,be=(r("ff64"),m(ye,he,de,!1,null,null,null)),_e=be.exports,we=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"CryptoAgent-wrapper"},[e.isIE?[r("object",{ref:"CryptoAgent",attrs:{codebase:e.publicPath+e.codebase,classid:e.classid}})]:[r("embed",{ref:"CryptoAgent",staticStyle:{height:"0px",width:"0px"},attrs:{type:"application/npCryptoKit.Ultimate.x86"}})]],2)},Ae=[],Se={methods:{SignOnClick:function(){var e="";this.sourceData="".concat((new Date).getTime());try{var t=this.sourceData,r="",n="Attach",i="SHA-1";return r="Attach"===n?this.CryptoAgent.SignMsgPKCS7(t,i,!0):"Detach"===n?this.CryptoAgent.SignMsgPKCS7(t,i,!1):this.CryptoAgent.SignMsgPKCS1(t,i),r?(console.log("SignOnClick 签名结果:",r),r):(e=this.CryptoAgent.GetLastErrorDesc(),alert(e),"")}catch(o){console.log("SignOnClick error=",o),e=this.CryptoAgent.GetLastErrorDesc(),alert(e)}return""}}},xe={name:"ukey",mixins:[Se],data:function(){var e="",t="";return"x86"===window.navigator.cpuClass?(e="ukey/Cryptokit/x86/CryptoKit.ToToDi.x86.cab",t="clsid:5635B01D-C661-4ACE-B997-EECFA63BD388"):(e="ukey/Cryptokit/x64/CryptoKit.ToToDi.x64.cab",t="clsid:63F9892E-D854-476E-A839-C8BA79254EC1"),{isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,publicPath:"https://wsp.totodi.com/jz/",codebase:e,classid:t,sourceData:"",certType:"RSA",hashAlg:"SHA-1",singType:"Detach",CryptoAgent:"",random:"ttd"}},mounted:function(){this.onLoad()},methods:{onLoad:function(){return!this.CryptoAgent&&(!!this.isIE&&(this.CryptoAgent=this.$refs.CryptoAgent,this.CryptoAgent||alert("验签插件加载失败!"),void console.log("加载this.CryptoAgent ",this.CryptoAgent)))},SelectCertificateOnClick:function(e){this.isIE||alert("请使用IE浏览器!");try{var t="",r="CFCA ACS ",n=e;n||console.log(" Ukye, 无序列号筛选证书, serialNo 非必传 ");var i="",o="",a="Uyee CSP v6.0 (Enterprise)||CFCA FOR UKEY CSP v1.1.0";return i=this.CryptoAgent.SelectCertificate(t,r,n,a),i||(o=this.CryptoAgent.GetLastErrorDesc(),alert(o)),i}catch(c){console.log("SelectCertificateOnClick catch",c);var s=this.CryptoAgent.GetLastErrorDesc();return alert("".concat(s,"/error")),!1}},GetSignCertInfoUkey:function(e){e=e||"SubjectDN",console.log("-Ukey-GetSignCertInfoUkey:InfoTypeID ",e);try{var t=this.CryptoAgent.GetSignCertInfo(e);if(!t){var r=this.CryptoAgent.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetSignCertInfoUkey-Ukey: ",i);var n=this.CryptoAgent.GetLastErrorDesc();alert(n)}}}},ke=xe,Ce=(r("4224"),m(ke,we,Ae,!1,null,"22a309ec",null)),Pe=Ce.exports,Ee=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"CryptoAgent-wrapper"},[e.isIE?[r("object",{ref:"CryptoAgent",attrs:{codebase:e.publicPath+e.codebase,classid:e.classid}})]:[r("embed",{ref:"CryptoAgent",staticStyle:{height:"0px",width:"0px"},attrs:{type:"application/npCryptoKit.Paperless.x86"}})]],2)},Re=[],Te={name:"wzh-sing",mixins:[Se],data:function(){var e="",t="";return"x86"===window.navigator.cpuClass?(e="wzh/CryptoKit.Paperless.x86.cab",t="clsid:B64B695B-348D-400D-8D58-9AAB1DA5851A"):(e="wzh/CryptoKit.Paperless.x64.cab",t="clsid:8BF7E683-630E-4B59-9E61-C996B671EBDF"),{isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,publicPath:"https://wsp.totodi.com/jz/",codebase:e,classid:t,sourceData:"",certType:"RSA"}},props:{api:{type:Object,required:!0}},mounted:function(){this.onLoad()},methods:{onLoad:function(){return!this.CryptoAgent&&(!!this.isIE&&(this.CryptoAgent=this.$refs.CryptoAgent,this.CryptoAgent||alert("验签插件加载失败!"),void console.log("加载this.CryptoAgent ",this.CryptoAgent)))},GetCertInfoOnClick:function(e){e=e||"SubjectDN",console.log("GetCertInfoOnClick:InfoTypeID ",e);try{var t=this.CryptoAgent.GetSignCertInfo(e);if(!t){var r=this.CryptoAgent.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetCertInfoOnClick-WzhSign: ",i);var n=this.CryptoAgent.GetLastErrorDesc();alert(n)}},SelectCertificateOnClick:function(e){this.isIE||alert("请使用IE浏览器!");try{var t="",r="CFCA ACS ",n=e,i="Uyee CSP v6.0 (Enterprise)||CFCA FOR UKEY CSP v1.1.0",o="";if(console.log("无纸化 选证书 selectSignCert, serialNo(非传)=",e),o=this.CryptoAgent.SelectCertificate(t,r,n,i),!o){var a=this.CryptoAgent.GetLastErrorDesc();return console.log("wzh SelectCertResult 不存在",a),void alert(a)}return console.log("wzh SelectCertResult",o),!0}catch(c){var s=this.CryptoAgent.GetLastErrorDesc();return console.log("wzh SelectCertResult catch error: ",s),alert(s),!1}},getHashValue:function(e,t,r){var n=this.CryptoAgent.GetSignCertInfo("CertContent");this.$emit("getImg",r);var i=ge(e.labelContent);return console.log("item",e),console.log("fileItem",t),this.api.getSignHash({jsonData:{source:"TTDFUND",timestamp:(new Date).getTime(),msgBody:{attachfile:"oss:".concat(t.mergedUrl.bucketName,":").concat(t.mergedUrl.objectKey),reason:"",location:"",signImgfileName:"",signImgfile:r,pageNo:i.pageIndex,pageX:Number(i.X),pageY:Number(i.Y),certBase64:n}}})},getSignHashValue:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function i(){var o,a,s,c,u,l,f;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.prev=0,o="",i.next=4,n.getHashValue(e,t,r);case 4:if(a=i.sent,s=a.code,c=a.data,console.log("getSignHashValue",c),0===s&&"200"==="".concat(c.bean.code)&&(o=c.bean.pdfHash),o){i.next=12;break}return alert("CFCA计算HASH值失败!( ".concat(c.bean.msg||"",")")),i.abrupt("return",!1);case 12:if(u=n.CryptoAgent.SignHashMsgPKCS7Detached(o,"SHA-1"),u){i.next=17;break}return l=n.CryptoAgent.GetLastErrorDesc(),alert(l),i.abrupt("return",!1);case 17:return i.abrupt("return",{signature:u,id:c.bean.id});case 20:i.prev=20,i.t0=i["catch"](0),f=n.CryptoAgent.GetLastErrorDesc(),console.log("getSignHashValue",i.t0),alert(f);case 25:case"end":return i.stop()}}),i,null,[[0,20]])})))()},signFileKeyImage:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function i(){var o,a,s,c;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,n.getSignHashValue(e,t,r);case 2:if(o=i.sent,!o){i.next=11;break}return i.next=6,n.api.mergeHash({jsonData:{source:"TTDFUND",timestamp:(new Date).getTime(),msgBody:{sigString:o.signature,id:o.id}}});case 6:if(a=i.sent,s=a.data,c=a.code,0!==c||!s.bean.url){i.next=11;break}return i.abrupt("return",s.bean);case 11:return n.$message.error("计算Hash 失败!"),i.abrupt("return",!1);case 13:case"end":return i.stop()}}),i)})))()},multipleSign:function(e,t,r,n,i){var o=this;return ve(regeneratorRuntime.mark((function i(){var a,s,c,u,l,f;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:console.log("multipleSign 循环签的begin ",r),a=o.CryptoAgent.GetSignCertInfo("SerialNumber"),console.log("serialNoBegin",a),s="",n||(c=o.CryptoAgent.GetSealImage("CFCA_UKEY_P11.dll"),n=c),u=0;case 6:if(!(u<e.length)){i.next=32;break}if(l=e[u],ge(l.labelContent),!(u>0)){i.next=24;break}if(console.log("无需重新验签:index=",u),f=o.CryptoAgent.GetSignCertInfo("SerialNumber"),console.log("本次获得的序列号serialNoAgain:",f),a===f){i.next=16;break}return alert("签署过程中,请不要更换ukey!"),i.abrupt("return",!1);case 16:if(console.log("resutl=",s),!s){i.next=21;break}return i.next=20,o.signFileKeyImage(ge(l),{mergedUrl:s},n);case 20:s=i.sent;case 21:console.log("iterateSign 签章结果".concat(u,"---result----"),s),i.next=29;break;case 24:return console.log("第一个章,不用验签",u),i.next=27,o.signFileKeyImage(ge(l),t,n);case 27:s=i.sent,console.log("第一个章 签章结果",s);case 29:u++,i.next=6;break;case 32:return console.log("multipleSign 签章的结果",s),i.abrupt("return",s);case 34:case"end":return i.stop()}}),i)})))()}}},Oe=Te,Ie=(r("f596"),m(Oe,Ee,Re,!1,null,"0e13c13c",null)),Le=Ie.exports,Fe=[I,N,_e,fe,ae],De=function e(t){t.use(Z),e.installed||Fe.map((function(e){return t.component(e.name,e)}))};"undefined"!==typeof window&&window.Vue&&De(window.Vue);var je={version:"0.2.2",install:De,TtdLabelMake:I,TtdLabelOperate:N,ImgPreview:Z,CfcaPdf:_e,PdfView:fe,SwitchPage:ae,Ukey:Pe,WzhSign:Le};t["default"]=je},fb2c:function(e,t,r){var n=r("74e8");n("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},fb6a:function(e,t,r){"use strict";var n=r("23e7"),i=r("861d"),o=r("e8b5"),a=r("23cb"),s=r("50c4"),c=r("fc6a"),u=r("8418"),l=r("b622"),f=r("1dde"),h=r("ae40"),d=f("slice"),p=h("slice",{ACCESSORS:!0,0:0,1:2}),v=l("species"),g=[].slice,m=Math.max;n({target:"Array",proto:!0,forced:!d||!p},{slice:function(e,t){var r,n,l,f=c(this),h=s(f.length),d=a(e,h),p=a(void 0===t?h:t,h);if(o(f)&&(r=f.constructor,"function"!=typeof r||r!==Array&&!o(r.prototype)?i(r)&&(r=r[v],null===r&&(r=void 0)):r=void 0,r===Array||void 0===r))return g.call(f,d,p);for(n=new(void 0===r?Array:r)(m(p-d,0)),l=0;d<p;d++,l++)d in f&&u(n,l,f[d]);return n.length=l,n}})},fc6a:function(e,t,r){var n=r("44ad"),i=r("1d80");e.exports=function(e){return n(i(e))}},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r("4930");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,r){var n=r("da84");e.exports=n.Promise},ff64:function(e,t,r){"use strict";r("3a50")}})}));
|
|
32
32
|
//# sourceMappingURL=ttd-common.umd.min.js.map
|
package/package.json
CHANGED
|
@@ -569,6 +569,9 @@ export default {
|
|
|
569
569
|
},
|
|
570
570
|
// 循环调用签章(一印多签)
|
|
571
571
|
multipleSign(labels, fileItem, serialNo, image, text) {
|
|
572
|
+
if (!image) {
|
|
573
|
+
this.PDFCtrl.SetPKCS11Module('UyeePKCS11.Enterprise.dll|UlanPKCS11.Enterprise.dll|UlanPKCS11.dll|CFCA_UKEY_P11.dll')
|
|
574
|
+
}
|
|
572
575
|
if (this.PDFCtrl.AddSignaturePosition) {
|
|
573
576
|
console.log('新版插件')
|
|
574
577
|
return this.multipleSign7(labels, fileItem, serialNo, image, text)
|