@xysfe/actui 1.6.71 → 1.6.72
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/es/Signature/index.js +1 -1
- package/es/Signature/style.css +1 -1
- package/es/index.js +1 -1
- package/es/style.css +1 -1
- package/lib/Signature/index.js +1 -1
- package/lib/Signature/style.css +1 -1
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/Signature/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Signature=e():t.Signature=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../lib",e(e.s=1741)}({0:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},1:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},100:function(t,e,n){var r=n(26),i=n(3)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},105:function(t,e,n){var r=n(9),i=n(39),o=n(3)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},106:function(t,e,n){var r,i,o,s=n(38),a=n(136),u=n(60),c=n(40),f=n(1),l=f.process,p=f.setImmediate,h=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,g=0,y={},m=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},x=function(t){m.call(t.data)};p&&h||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++g]=function(){a("function"==typeof t?t:Function(t),e)},r(g),g},h=function(t){delete y[t]},"process"==n(26)(l)?r=function(t){l.nextTick(s(m,t,1))}:d&&d.now?r=function(t){d.now(s(m,t,1))}:v?(i=new v,o=i.port2,i.port1.onmessage=x,r=s(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),m.call(t)}}:function(t){setTimeout(s(m,t,1),0)}),t.exports={set:p,clear:h}},107:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},108:function(t,e,n){var r=n(9),i=n(10),o=n(63);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},109:function(t,e,n){var r=n(100),i=n(3)("iterator"),o=n(18);t.exports=n(0).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},11:function(t,e,n){var r=n(47),i=n(30);t.exports=function(t){return r(i(t))}},115:function(t,e,n){var r=n(9);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},116:function(t,e,n){var r=n(18),i=n(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},127:function(t,e,n){var r=n(38),i=n(115),o=n(116),s=n(9),a=n(58),u=n(109),c={},f={},e=t.exports=function(t,e,n,l,p){var h,v,d,g,y=p?function(){return t}:u(t),m=r(n,l,e?2:1),x=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(h=a(t.length);h>x;x++)if((g=e?m(s(v=t[x])[0],v[1]):m(t[x]))===c||g===f)return g}else for(d=y.call(t);!(v=d.next()).done;)if((g=i(d,m,v.value,e))===c||g===f)return g};e.BREAK=c,e.RETURN=f},128:function(t,e,n){var r=n(3)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},129:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},13:function(t,e,n){var r=n(1),i=n(0),o=n(38),s=n(7),a=n(6),u=function(t,e,n){var c,f,l,p=t&u.F,h=t&u.G,v=t&u.S,d=t&u.P,g=t&u.B,y=t&u.W,m=h?i:i[e]||(i[e]={}),x=m.prototype,w=h?r:v?r[e]:(r[e]||{}).prototype;h&&(n=e);for(c in n)(f=!p&&w&&void 0!==w[c])&&a(m,c)||(l=f?w[c]:n[c],m[c]=h&&"function"!=typeof w[c]?n[c]:g&&f?o(l,r):y&&w[c]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):d&&"function"==typeof l?o(Function.call,l):l,d&&((m.virtual||(m.virtual={}))[c]=l,t&u.R&&x&&!x[c]&&s(x,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},130:function(t,e,n){var r=n(7);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},132:function(t,e,n){"use strict";var r=n(1),i=n(0),o=n(8),s=n(5),a=n(3)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},134:function(t,e,n){n(61),n(52),n(55),n(135),n(139),n(140),t.exports=n(0).Promise},135:function(t,e,n){"use strict";var r,i,o,s,a=n(16),u=n(1),c=n(38),f=n(100),l=n(13),p=n(10),h=n(39),v=n(129),d=n(127),g=n(105),y=n(106).set,m=n(137)(),x=n(63),w=n(107),b=n(138),C=n(108),_=u.TypeError,S=u.process,O=S&&S.versions,j=O&&O.v8||"",T=u.Promise,k="process"==f(S),E=function(){},P=i=x.f,M=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n(3)("species")]=function(t){t(E,E)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==j.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),A=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},$=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=i?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{a?(i||(2==t._h&&D(t),t._h=1),!0===a?n=r:(f&&f.enter(),n=a(r),f&&(f.exit(),s=!0)),n===e.promise?c(_("Promise-chain cycle")):(o=A(n))?o.call(n,u,c):u(n)):c(r)}catch(t){f&&!s&&f.exit(),c(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&B(t)})}},B=function(t){y.call(u,function(){var e,n,r,i=t._v,o=I(t);if(o&&(e=w(function(){k?S.emit("unhandledRejection",i,t):(n=u.onunhandledrejection)?n({promise:t,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=k||I(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){y.call(u,function(){var e;k?S.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},R=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),$(e,!0))},F=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw _("Promise can't be resolved itself");(e=A(t))?m(function(){var r={_w:n,_d:!1};try{e.call(t,c(F,r,1),c(R,r,1))}catch(t){R.call(r,t)}}):(n._v=t,n._s=1,$(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};M||(T=function(t){v(this,T,"Promise","_h"),h(t),r.call(this);try{t(c(F,this,1),c(R,this,1))}catch(t){R.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(130)(T.prototype,{then:function(t,e){var n=P(g(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&$(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=c(F,t,1),this.reject=c(R,t,1)},x.f=P=function(t){return t===T||t===s?new o(t):i(t)}),l(l.G+l.W+l.F*!M,{Promise:T}),n(27)(T,"Promise"),n(132)("Promise"),s=n(0).Promise,l(l.S+l.F*!M,"Promise",{reject:function(t){var e=P(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(a||!M),"Promise",{resolve:function(t){return C(a&&this===s?T:this,t)}}),l(l.S+l.F*!(M&&n(128)(function(t){T.all(t).catch(E)})),"Promise",{all:function(t){var e=this,n=P(e),r=n.resolve,i=n.reject,o=w(function(){var n=[],o=0,s=1;d(t,!1,function(t){var a=o++,u=!1;n.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=P(e),r=n.reject,i=w(function(){d(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},136:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},137:function(t,e,n){var r=n(1),i=n(106).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,u="process"==n(26)(s);t.exports=function(){var t,e,n,c=function(){var r,i;for(u&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){s.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var f=a.resolve(void 0);n=function(){f.then(c)}}else n=function(){i.call(r,c)};else{var l=!0,p=document.createTextNode("");new o(c).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},138:function(t,e,n){var r=n(1),i=r.navigator;t.exports=i&&i.userAgent||""},139:function(t,e,n){"use strict";var r=n(13),i=n(0),o=n(1),s=n(105),a=n(108);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},14:function(t,e,n){var r=n(50),i=n(33);t.exports=Object.keys||function(t){return r(t,i)}},140:function(t,e,n){"use strict";var r=n(13),i=n(63),o=n(107);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},1411:function(t,e,n){"use strict";var r=n(59),i=n.n(r);e.a={name:"ActSignature",props:{color:{type:String,default:"#8c7fee"},clearBtnColor:{type:String,default:"#ffffff"},clearBtnText:{type:String,default:"重置"},saveBtnText:{type:String,default:"保存"},headerText:{type:String,default:"请完成您的亲笔签名"},isWatermark:{type:Boolean,default:!1},watermarkText:{type:String,default:""},watermarkTextColor:{type:String,default:"#DEE1ED"},isHorizontalScreen:{type:Boolean,default:!1},isFullScreen:{type:Boolean,default:!1},bgColor:{type:String,default:"#f9f9f9"},canvasBgColor:{type:String,default:"#ffffff"},title:{type:String,default:"请完成签名"},lineWidth:{type:Number,default:3},lineColor:{type:String,default:"#000000"}},data:function(){return{isVisible:!1,showErrtips:!1,isCrop:!1,hasDrew:!1,width:0,height:0,resultImg:"",points:{x:[],y:[]},canvasTxt:null,startX:0,startY:0,isDrawing:!1,sratio:1}},computed:{ratio:function(){return this.height/this.width},stageInfo:function(){return this.$refs.signatureCanvas.getBoundingClientRect()},myBg:function(){return this.canvasBgColor?this.canvasBgColor:"rgba(255, 255, 255, 0)"}},watch:{myBg:function(t){},isVisible:function(t){t&&(this.$emit("show"),this.initSignatureCanvas(),this.isWatermark&&this.initWatermarkCanvas())}},mounted:function(){var t=this;document.onmouseup=function(){t.isDrawing=!1}},methods:{getFontBold:function(t){return t>2&&this.watermarkText.length+3>t},initSignatureCanvas:function(){var t=this;setTimeout(function(){var e=t.$refs.signatureCanvas;t.signatureCtx=e.getContext("2d"),t.height=t.$refs.box.offsetHeight,t.width=t.$refs.box.offsetWidth,e.height=t.height,e.width=t.width,t.isWatermark||(e.style.background=t.myBg),t._signatureResize()})},initWatermarkCanvas:function(){var t=this;setTimeout(function(){var e=t.$refs.watermarkCanvas;t.watermarkCtx=e.getContext("2d"),e.height=t.$refs.box.offsetHeight,e.width=t.$refs.box.offsetWidth,e.style.background=t.myBg,t._watermarResize(),t.drawWatermark(t.watermarkCtx)})},isChineseOrEnglish:function(t){var e=/^[\u4e00-\u9fa5]+$/,n=120,r=3;return r=this.isHorizontalScreen?e.test(t)?4:10:3,t.length>4&&t.length-r>0&&(n=120-10*(t.length-r)),n},drawWatermark:function(t){var e=this;t.fillStyle=this.watermarkTextColor,t.textAlign="center",t.textBaseline="middle";var n=this.watermarkText,r=this.isChineseOrEnglish(n);console.log(r),t.font=r+"px serif",t.clearRect(0,0,this.width,this.height);var i=n.split(""),o=r,s=i.length*o,a=(this.height-s+o)/2;if(this.isHorizontalScreen){var u=this.width/2,c=this.height/2,f=90*Math.PI/180;t.translate(u,c),t.rotate(f),t.fillText(n,0,0)}else i.forEach(function(n,r){var i=e.width/2,s=a+r*o;t.fillText(n,i,s)})},show:function(){this.isVisible=!0},hide:function(){this.reset(),this.isVisible=!1},_watermarResize:function(){var t=this.$refs.watermarkCanvas;t.style.width=this.width+"px";var e=parseFloat(window.getComputedStyle(t).width);t.style.height=this.ratio*e+"px",this.watermarkCtx=t.getContext("2d"),this.watermarkCtx.scale(1*this.sratio,1*this.sratio),this.sratio=e/this.width,this.watermarkCtx.scale(1/this.sratio,1/this.sratio)},_signatureResize:function(){var t=this.$refs.signatureCanvas;t.style.width=this.width+"px";var e=parseFloat(window.getComputedStyle(t).width);t.style.height=this.ratio*e+"px",this.signatureCtx=t.getContext("2d"),this.signatureCtx.scale(1*this.sratio,1*this.sratio),this.sratio=e/this.width,this.signatureCtx.scale(1/this.sratio,1/this.sratio)},mouseDown:function(t){t=t||event,t.preventDefault(),this.isDrawing=!0,this.hasDrew=!0;var e={x:t.offsetX,y:t.offsetY};this.drawStart(e)},mouseMove:function(t){if(t=t||event,t.preventDefault(),this.isDrawing){var e={x:t.offsetX,y:t.offsetY};this.drawMove(e)}},mouseUp:function(t){t=t||event,t.preventDefault();var e={x:t.offsetX,y:t.offsetY};this.drawEnd(e),this.isDrawing=!1},touchStart:function(t){if(t=t||event,t.preventDefault(),this.hasDrew=!0,1===t.touches.length){var e={x:t.targetTouches[0].clientX-this.$refs.signatureCanvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.signatureCanvas.getBoundingClientRect().top};this.drawStart(e)}},touchMove:function(t){if(t=t||event,t.preventDefault(),1===t.touches.length){var e={x:t.targetTouches[0].clientX-this.$refs.signatureCanvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.signatureCanvas.getBoundingClientRect().top};this.drawMove(e)}},touchEnd:function(t){if(t=t||event,t.preventDefault(),1===t.touches.length){var e={x:t.targetTouches[0].clientX-this.$refs.signatureCanvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.signatureCanvas.getBoundingClientRect().top};this.drawEnd(e)}},drawStart:function(t){this.startX=t.x,this.startY=t.y,this.signatureCtx.beginPath(),this.signatureCtx.moveTo(this.startX,this.startY),this.signatureCtx.lineTo(t.x,t.y),this.signatureCtx.lineCap="round",this.signatureCtx.lineJoin="round",this.signatureCtx.lineWidth=this.lineWidth*this.sratio,this.signatureCtx.stroke(),this.signatureCtx.closePath(),this.points.x.push(t.x),this.points.y.push(t.y)},drawMove:function(t){this.signatureCtx.beginPath(),this.signatureCtx.moveTo(this.startX,this.startY),this.signatureCtx.lineTo(t.x,t.y),this.signatureCtx.strokeStyle=this.lineColor,this.signatureCtx.lineWidth=this.lineWidth*this.sratio,this.signatureCtx.lineCap="round",this.signatureCtx.lineJoin="round",this.signatureCtx.stroke(),this.signatureCtx.closePath(),this.startY=t.y,this.startX=t.x,this.points.x.push(t.x),this.points.y.push(t.y)},drawEnd:function(t){this.signatureCtx.beginPath(),this.signatureCtx.moveTo(this.startX,this.startY),this.signatureCtx.lineTo(t.x,t.y),this.signatureCtx.lineCap="round",this.signatureCtx.lineJoin="round",this.signatureCtx.stroke(),this.signatureCtx.closePath(),this.points.x.push(t.x),this.points.y.push(t.y),this.points.x.push(-1),this.points.y.push(-1)},generate:function(){var t=this;return new i.a(function(e,n){var r=t.getMax(t.points.x,t.points.y);if(!t.hasDrew)return void n("Warning: Not Signned!");if(t.points.x.length<40||Math.abs(r.left-r.right)<40||Math.abs(r.top-r.bottom)<40)return void n("Warning: Not Signned!");var i=t.signatureCtx.getImageData(0,0,t.$refs.signatureCanvas.width,t.$refs.signatureCanvas.height);t.signatureCtx.globalCompositeOperation="destination-over",t.signatureCtx.fillStyle=t.myBg,t.signatureCtx.fillRect(0,0,t.$refs.signatureCanvas.width,t.$refs.signatureCanvas.height),t.resultImg=t.$refs.signatureCanvas.toDataURL();var o=t.resultImg;if(t.signatureCtx.clearRect(0,0,t.$refs.signatureCanvas.width,t.$refs.signatureCanvas.height),t.signatureCtx.putImageData(i,0,0),t.signatureCtx.globalCompositeOperation="source-over",t.isCrop){var s,a=t.getCropArea(i.data),u=document.createElement("canvas"),c=u.getContext("2d");u.width=a[2]-a[0],u.height=a[3]-a[1];var f=(s=t.signatureCtx).getImageData.apply(s,a);c.globalCompositeOperation="destination-over",c.putImageData(f,0,0),c.fillStyle=t.myBg,c.fillRect(0,0,u.width,u.height),o=u.toDataURL(),u=null}e(o)})},reset:function(){this.signatureCtx.clearRect(0,0,this.$refs.signatureCanvas.width,this.$refs.signatureCanvas.height),this.$emit("update:bgColor",""),this.points={x:[],y:[]},this.hasDrew=!1,this.resultImg=""},getCropArea:function(t){for(var e=this.$refs.signatureCanvas.width,n=0,r=this.$refs.signatureCanvas.height,i=0,o=0;o<this.$refs.signatureCanvas.width;o++)for(var s=0;s<this.$refs.signatureCanvas.height;s++){var a=4*(o+this.$refs.signatureCanvas.width*s);(t[a]>0||t[a+1]>0||t[a+2]||t[a+3]>0)&&(i=Math.max(s,i),n=Math.max(o,n),r=Math.min(s,r),e=Math.min(o,e))}return e++,n++,r++,i++,[e,r,n,i]},getMax:function(t,e){var n={left:0,right:0,top:0,bottom:0};return"[object Array]"!=={}.toString.call(t)||"[object Array]"!=={}.toString.call(e)?n:(n.left=Math.min.apply(null,t),n.right=Math.max.apply(null,t),n.top=Math.min.apply(null,e),n.bottom=Math.max.apply(null,e),n)},save:function(){var t=this;this.generate().then(function(e){t.$emit("complete",e),t.hide()}).catch(function(e){console.log(e),t.showErrtips=!0,setTimeout(function(){t.showErrtips=!1},2e3)})}}}},15:function(t,e,n){"use strict";function r(t,e){return function(n,r){var s=this,a=Object(i.a)(n),u=Object(o.a)(e,t,a,r),c=u.$parent,f=u.remove,l=u.show,p=u.hide;return u.remove=function(){u.$removed=!0,f&&f.call(this),c.destroy()},u.show=function(){return l&&l.call.apply(l,[this].concat(Array.prototype.slice.call(arguments))),this},u.hide=function(){return p&&p.call.apply(p,[this].concat(Array.prototype.slice.call(arguments))),this},s&&s._isVue&&s.$once("hook:beforeDestroy",function(){u.$removed||u.remove()}),u}}e.a=r;var i=n(97),o=n(99)},16:function(t,e){t.exports=!0},1741:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(15),i=n(1742);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createSignature=Object(r.a)(i.a,t)},e.default=i.a},1742:function(t,e,n){"use strict";function r(t){a||n(1743)}var i=n(1411),o=n(1744),s=n(2),a=!1,u=r,c=Object(s.a)(i.a,o.a,o.b,!1,u,"data-v-31195bd6",null);c.options.__file="src\\components\\Signature\\src\\index.vue",e.a=c.exports},1743:function(t,e){},1744:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"act-gold-popup-move"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-signature-wrap",attrs:{id:"act-signature"}},[t.isHorizontalScreen?n("div",{staticClass:"act-signature-horizontal-box",class:{isFullScreen:t.isFullScreen},style:"background-color: "+t.bgColor+";"},[n("div",{staticClass:"act-signature-content"},[n("div",{staticClass:"content-left"},[n("div",{staticClass:"signature-title"},t._l("申请人"+t.watermarkText+"亲笔签名",function(e,r){return n("span",{key:e+"_"+r,staticClass:"vertical-text",style:t.getFontBold(r)?"font-weight: bold;":""},[t._v("\n "+t._s(e)+"\n ")])}),0),t._v(" "),n("div",{staticClass:"ctrl"},[n("div",{staticClass:"clearBtn",style:"background: "+t.clearBtnColor,attrs:{type:"button"},on:{click:t.reset}},t._l(t.clearBtnText,function(e,r){return n("span",{key:e+"_"+r,staticClass:"vertical-text clearBtnText"},[t._v("\n "+t._s(e)+"\n ")])}),0),t._v(" "),n("div",{staticClass:"saveBtn",style:"background: "+t.color,attrs:{type:"button"},on:{click:t.save}},t._l(t.saveBtnText,function(e,r){return n("span",{key:e+"_"+r,staticClass:"vertical-text saveBtnText"},[t._v("\n "+t._s(e)+"\n ")])}),0)])]),t._v(" "),n("div",{staticClass:"content-right"},[n("div",{ref:"box",staticClass:"canvasBox"},[n("canvas",{ref:"watermarkCanvas",staticClass:"canvas-ins"}),t._v(" "),n("canvas",{ref:"signatureCanvas",staticClass:"canvas-ins",on:{mousedown:t.mouseDown,mousemove:t.mouseMove,mouseup:t.mouseUp,touchstart:t.touchStart,touchmove:t.touchMove,touchend:t.touchEnd}})])]),t._v(" "),n("div",{staticClass:"header-box",style:"background: "+t.bgColor+";height: 100%;"},[n("div",{staticClass:"text",staticStyle:{display:"flex","flex-direction":"column"}},t._l(t.title,function(e,r){return n("span",{key:e+"_"+r,staticClass:"vertical-text"},[t._v("\n "+t._s(e)+"\n ")])}),0),t._v(" "),n("div",{staticClass:"close",staticStyle:{bottom:"5px"},on:{click:t.hide}})])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showErrtips,expression:"showErrtips"}],staticClass:"errtips"},t._l("请仔细签名",function(e,r){return n("span",{key:e+"_"+r,staticClass:"vertical-text"},[t._v("\n "+t._s(e)+"\n ")])}),0)]):n("div",{staticClass:"act-signature-box",class:{isFullScreen:t.isFullScreen},style:"background-color: "+t.bgColor+";"},[n("div",{staticClass:"header-box",style:"background: "+t.bgColor},[n("div",{staticClass:"text"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"close",on:{click:t.hide}})]),t._v(" "),!t.$slots.header&&t.headerText?n("div",{staticClass:"header",domProps:{innerHTML:t._s(t.headerText)}}):t._e(),t._v(" "),t.$slots.header?t._t("header"):t._e(),t._v(" "),n("div",{ref:"box",staticClass:"canvasBox",style:"height: calc("+(!t.$slots.header&&t.headerText?88:96)+"% - 100px);"},[n("canvas",{ref:"watermarkCanvas",staticClass:"canvas-ins"}),t._v(" "),n("canvas",{ref:"signatureCanvas",staticClass:"canvas-ins",on:{mousedown:t.mouseDown,mousemove:t.mouseMove,mouseup:t.mouseUp,touchstart:t.touchStart,touchmove:t.touchMove,touchend:t.touchEnd}})]),t._v(" "),n("div",{staticClass:"ctrl",style:"background: "+t.bgColor},[n("div",{staticClass:"clearBtn",style:"background: "+t.clearBtnColor,attrs:{type:"button"},on:{click:t.reset}},[t._v("\n "+t._s(t.clearBtnText)+"\n ")]),t._v(" "),n("div",{staticClass:"saveBtn",style:"background: "+t.color,attrs:{type:"button"},on:{click:t.save}},[t._v("\n "+t._s(t.saveBtnText)+"\n ")])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showErrtips,expression:"showErrtips"}],staticClass:"errtips"},[t._v("\n 请仔细签名\n ")])],2)])])},i=[];r._withStripped=!0},18:function(t,e){t.exports={}},2:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var c="function"==typeof t?t.options:t;e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId=o);var f;if(s?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=f):i&&(f=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),f)if(c.functional){c._injectStyles=f;var l=c.render;c.render=function(t,e){return f.call(e),l(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:c}}e.a=r},21:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},22:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},23:function(t,e,n){var r=n(30);t.exports=function(t){return Object(r(t))}},24:function(t,e){e.f={}.propertyIsEnumerable},26:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},27:function(t,e,n){var r=n(8).f,i=n(6),o=n(3)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},28:function(t,e,n){t.exports={default:n(79),__esModule:!0}},29:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},3:function(t,e,n){var r=n(32)("wks"),i=n(22),o=n(1).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},30:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},31:function(t,e,n){var r=n(32)("keys"),i=n(22);t.exports=function(t){return r[t]||(r[t]=i(t))}},32:function(t,e,n){var r=n(0),i=n(1),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(16)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},33:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},34:function(t,e,n){var r=n(10);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},35:function(t,e){e.f=Object.getOwnPropertySymbols},36:function(t,e,n){e.f=n(3)},37:function(t,e,n){var r=n(1),i=n(0),o=n(16),s=n(36),a=n(8).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},38:function(t,e,n){var r=n(39);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},39:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},4:function(t,e,n){"use strict";function r(t,e){if(t.findIndex)return t.findIndex(e);var n=-1;return t.some(function(t,r,i){var o=e.call(this,t,r,i);if(o)return n=r,o}),n}function i(t){return t?JSON.parse(L()(t)):t}function o(t,e){for(var n in e)t[n]&&"object"===R()(t[n])?o(t[n],e[n]):t[n]=e[n]}function s(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function u(t){return"[object Number]"===Object.prototype.toString.call(t)}function c(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function l(t){return null===t}function p(t){return void 0!==t&&null!==t}function h(t){return void 0===t}function v(t){return"[object Error]"===Object.prototype.toString.call(t)}function d(t){return"function"==typeof t}function g(t,e,n){function r(e){var n=g,r=y;return g=y=void 0,C=e,x=t.apply(r,n)}function i(t,e){return j?(window.cancelAnimationFrame(w),window.requestAnimationFrame(t)):setTimeout(t,e)}function o(t){if(j)return window.cancelAnimationFrame(t);clearTimeout(t)}function s(t){return C=t,w=i(f,e),_?r(t):x}function a(t){var n=t-b,r=t-C,i=e-n;return S?Math.min(i,m-r):i}function u(t){var n=t-b,r=t-C;return void 0===b||n>=e||n<0||S&&r>=m}function f(){var t=Date.now();if(u(t))return l(t);w=i(f,a(t))}function l(t){return w=void 0,O&&g?r(t):(g=y=void 0,x)}function p(){void 0!==w&&o(w),C=0,g=b=y=w=void 0}function h(){return void 0===w?x:l(Date.now())}function v(){return void 0!==w}function d(){for(var t=Date.now(),n=u(t),o=arguments.length,a=Array(o),c=0;c<o;c++)a[c]=arguments[c];if(g=a,y=this,b=t,n){if(void 0===w)return s(b);if(S)return w=i(f,e),r(b)}return void 0===w&&(w=i(f,e)),x}var g=void 0,y=void 0,m=void 0,x=void 0,w=void 0,b=void 0,C=0,_=!1,S=!1,O=!0,j=!e&&0!==e&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return e=+e||0,c(n)&&(_=!!n.leading,S="maxWait"in n,m=S?Math.max(+n.maxWait||0,e):m,O="trailing"in n?!!n.trailing:O),d.cancel=p,d.flush=h,d.pending=v,d}function y(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return c(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),g(t,e,{leading:r,trailing:i,maxWait:e})}function m(t){return!!/^1\d{10}$/.test(t)}function x(t){var e=t.length;return e>3&&e<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):e>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,e,n){return e+" "+n.replace(/(.{4})(?=.)/g,"$1 ")})),t}function w(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function b(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function C(t){if(!t)return"";var e=t.length;return 2===e?t.split("").join("  "):3===e?t.split("").join(" "):t}function _(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t.offsetHeight;if(e){var r=t.currentStyle||getComputedStyle(t);n+=parseInt(r.marginTop||0)+parseInt(r.marginBottom||0)}return n}function S(t,e){var n=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),r=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),i=null;return n?i={r:parseInt(n[1]+n[1],16),g:parseInt(n[2]+n[2],16),b:parseInt(n[3]+n[3],16)}:r&&(i={r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}),i?void 0!==e?"rgba("+i.r+", "+i.g+", "+i.b+", "+e+")":"rgb("+i.r+", "+i.g+", "+i.b+")":""}function O(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",n=e.length,r="";t=t||32;for(var i=0;i<t;i++)r+=e.charAt(Math.floor(Math.random()*n));return r}function j(t,e){var n=e||location.href,r=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),i=n.match(r);return i&&i[2]}function T(t){var e=window.getComputedStyle(t),n="none"===e.display,r=null===t.offsetParent&&"fixed"!==e.position;return n||r}function k(t,e,n){return Math.min(Math.max(t,e),n)}function E(t){var e=/os (\d\d?_\d(_\d)?)/,n=e.exec(t);if(!n)return null;var r=n[1].split("_").map(function(t){return parseInt(t,10)});return{major:r[0],minor:r[1],patch:r[2]||0}}function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e=e||window.location.href;var n=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),r=e.match(n);return decodeURIComponent(r?r[2]:"")}function M(t){return t?v(t)?t.message:a(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}function A(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],n=new RegExp("https?://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]"),r=0;r<t.length;r++){var i=t[r];if(!n.test(i))return;e.push(i.split("?")[0])}return e}function $(t){var e=JSON.parse(L()(t)),n=e.attrModules,r=void 0===n?{}:n,i=e.plan,o=r.applicant,a=r.insureds,u=r.hcpics,c=r.hctext,f=r.makeup,l=r.apphctext,p=r.apphcpics,h={},v=function(t){var e=null,n=null,r=null,i=null,o={},a={},u={};for(var c in t){var f=t[c].defaultValue,l=t[c].required,p=t[c].display;if(s(f)){var h=A(f);h&&(f=h)}1!==Number(l)&&1!==Number(p)||("idType"===c||"id"===c||"idValidType"===c||"idValidEndTime"===c||"idValidStartTime"===c?(e=e||{},e[c]=f):"socialInsAddr"===c||"socialInsDetail"===c||"socialInsPost"===c||"socialInsTel"===c?(n=n||{},n[c]=f):"residentAddr"===c||"residentDetail"===c||"residentPost"===c||"residentTel"===c?(r=r||{},r[c]=f):"officeAddr"===c||"officeDetail"===c||"officePost"===c||"officeTel"===c?(i=i||{},i[c]=f):"companyIdType"===c||"companyId"===c?(a=a||{},a[c]=f):"detail"===c?(u=u||{},u[c]=f):o[c]=f)}return e&&(o.certificate=e),n&&(o.socialIns=n),r&&(o.resident=r),i&&(o.office=i),a&&(o.companyCertificate=a),u&&(o.companyAddress=u),o};if(r.plan&&(i=v(r.plan)),o&&(h.applicant={},o&&(h.applicant=v(o))),a||i){h.insureds=[];for(var d=a||[""],g=0;g<d.length;g++){var y=d[g],m=null,x={};y&&(m=v(y)),m&&(x.insured=m),i&&(x.plan=i),h.insureds.push(x)}}if(c&&(h.hctext=v(c)),l&&(h.apphctext=v(l)),u&&(h.hcpics=v(u)),p&&(h.apphcpics=v(p)),f){h.makeup={};for(var w=f||[""],b=0;b<w.length;b++){var C=w[b],_=null;C&&(_=v(C)),_&&(h.makeup=I()(h.makeup,_))}}return h}n.d(e,"F",function(){return et}),n.d(e,"v",function(){return nt}),e.d=r,e.c=i,e.b=o,e.o=s,e.z=a,e.x=u,e.y=c,e.p=f,e.w=l,e.q=p,e.A=h,e.r=v,e.s=d,e.a=g,e.E=y,e.u=m,e.g=x,e.e=w,e.f=b,e.h=C,e.B=_,e.n=S,e.C=O,e.l=j,e.t=T,e.D=k,e.k=E,e.m=P,e.j=M,e.i=$;var B=n(28),I=n.n(B),D=n(75),R=n.n(D),F=n(57),L=n.n(F),N="undefined"!=typeof window,W=N&&window.navigator.userAgent.toLowerCase(),U=W&&/msie|trident/.test(W),V=W&&W.indexOf("msie 9.0")>0,z=W&&W.indexOf("edge/")>0,X=W&&W.indexOf("android")>0,Y=W&&/iphone|ipad|ipod|ios/.test(W),H=W&&/chrome\/\d+/.test(W)&&!z,J=W&&/MicroMessenger/i.test(W),G=W&&/wxwork/i.test(W),q=W&&/mucxiaoyusan/i.test(W),K=W&&/muckacabao/i.test(W),Z=W&&/mucyanxuan/i.test(W),Q=q||K,tt=W&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(W),et={isIE:U,isMobile:tt,isIE9:V,isEdge:z,isAndroid:X,isIOS:Y,isChrome:H,isWx:J,isWxWork:G,isApp:Q,isXysApp:q,isKcbApp:K,isYxApp:Z},nt=/MucWebAutoTester/.test(window.navigator.userAgent)},40:function(t,e,n){var r=n(10),i=n(1).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},44:function(t,e,n){"use strict";var r=n(16),i=n(13),o=n(49),s=n(7),a=n(18),u=n(67),c=n(27),f=n(71),l=n(3)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,v,d,g,y){u(n,e,v);var m,x,w,b=function(t){if(!p&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",_="values"==d,S=!1,O=t.prototype,j=O[l]||O["@@iterator"]||d&&O[d],T=j||b(d),k=d?_?b("entries"):T:void 0,E="Array"==e?O.entries||j:j;if(E&&(w=f(E.call(new t)))!==Object.prototype&&w.next&&(c(w,C,!0),r||"function"==typeof w[l]||s(w,l,h)),_&&j&&"values"!==j.name&&(S=!0,T=function(){return j.call(this)}),r&&!y||!p&&!S&&O[l]||s(O,l,T),a[e]=T,a[C]=h,d)if(m={values:_?T:b("values"),keys:g?T:b("keys"),entries:k},y)for(x in m)x in O||o(O,x,m[x]);else i(i.P+i.F*(p||S),e,m);return m}},46:function(t,e,n){var r=n(9),i=n(68),o=n(33),s=n(31)("IE_PROTO"),a=function(){},u=function(){var t,e=n(40)("iframe"),r=o.length;for(e.style.display="none",n(60).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},47:function(t,e,n){var r=n(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},48:function(t,e,n){t.exports=!n(5)&&!n(12)(function(){return 7!=Object.defineProperty(n(40)("div"),"a",{get:function(){return 7}}).a})},49:function(t,e,n){t.exports=n(7)},5:function(t,e,n){t.exports=!n(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},50:function(t,e,n){var r=n(6),i=n(11),o=n(69)(!1),s=n(31)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),u=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~o(c,n)||c.push(n));return c}},51:function(t,e,n){var r=n(50),i=n(33).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},52:function(t,e,n){"use strict";var r=n(66)(!0);n(44)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},53:function(t,e,n){var r=n(11),i=n(51).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},54:function(t,e,n){"use strict";var r=n(1),i=n(6),o=n(5),s=n(13),a=n(49),u=n(74).KEY,c=n(12),f=n(32),l=n(27),p=n(22),h=n(3),v=n(36),d=n(37),g=n(82),y=n(77),m=n(9),x=n(10),w=n(23),b=n(11),C=n(34),_=n(21),S=n(46),O=n(53),j=n(83),T=n(35),k=n(8),E=n(14),P=j.f,M=k.f,A=O.f,$=r.Symbol,B=r.JSON,I=B&&B.stringify,D=h("_hidden"),R=h("toPrimitive"),F={}.propertyIsEnumerable,L=f("symbol-registry"),N=f("symbols"),W=f("op-symbols"),U=Object.prototype,V="function"==typeof $&&!!T.f,z=r.QObject,X=!z||!z.prototype||!z.prototype.findChild,Y=o&&c(function(){return 7!=S(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=P(U,e);r&&delete U[e],M(t,e,n),r&&t!==U&&M(U,e,r)}:M,H=function(t){var e=N[t]=S($.prototype);return e._k=t,e},J=V&&"symbol"==typeof $.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof $},G=function(t,e,n){return t===U&&G(W,e,n),m(t),e=C(e,!0),m(n),i(N,e)?(n.enumerable?(i(t,D)&&t[D][e]&&(t[D][e]=!1),n=S(n,{enumerable:_(0,!1)})):(i(t,D)||M(t,D,_(1,{})),t[D][e]=!0),Y(t,e,n)):M(t,e,n)},q=function(t,e){m(t);for(var n,r=g(e=b(e)),i=0,o=r.length;o>i;)G(t,n=r[i++],e[n]);return t},K=function(t,e){return void 0===e?S(t):q(S(t),e)},Z=function(t){var e=F.call(this,t=C(t,!0));return!(this===U&&i(N,t)&&!i(W,t))&&(!(e||!i(this,t)||!i(N,t)||i(this,D)&&this[D][t])||e)},Q=function(t,e){if(t=b(t),e=C(e,!0),t!==U||!i(N,e)||i(W,e)){var n=P(t,e);return!n||!i(N,e)||i(t,D)&&t[D][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=A(b(t)),r=[],o=0;n.length>o;)i(N,e=n[o++])||e==D||e==u||r.push(e);return r},et=function(t){for(var e,n=t===U,r=A(n?W:b(t)),o=[],s=0;r.length>s;)!i(N,e=r[s++])||n&&!i(U,e)||o.push(N[e]);return o};V||($=function(){if(this instanceof $)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(W,n),i(this,D)&&i(this[D],t)&&(this[D][t]=!1),Y(this,t,_(1,n))};return o&&X&&Y(U,t,{configurable:!0,set:e}),H(t)},a($.prototype,"toString",function(){return this._k}),j.f=Q,k.f=G,n(51).f=O.f=tt,n(24).f=Z,T.f=et,o&&!n(16)&&a(U,"propertyIsEnumerable",Z,!0),v.f=function(t){return H(h(t))}),s(s.G+s.W+s.F*!V,{Symbol:$});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)h(nt[rt++]);for(var it=E(h.store),ot=0;it.length>ot;)d(it[ot++]);s(s.S+s.F*!V,"Symbol",{for:function(t){return i(L,t+="")?L[t]:L[t]=$(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in L)if(L[e]===t)return e},useSetter:function(){X=!0},useSimple:function(){X=!1}}),s(s.S+s.F*!V,"Object",{create:K,defineProperty:G,defineProperties:q,getOwnPropertyDescriptor:Q,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var st=c(function(){T.f(1)});s(s.S+s.F*st,"Object",{getOwnPropertySymbols:function(t){return T.f(w(t))}}),B&&s(s.S+s.F*(!V||c(function(){var t=$();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(x(e)||void 0!==t)&&!J(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,I.apply(B,r)}}),$.prototype[R]||n(7)($.prototype,R,$.prototype.valueOf),l($,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},55:function(t,e,n){n(72);for(var r=n(1),i=n(7),o=n(18),s=n(3)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var c=a[u],f=r[c],l=f&&f.prototype;l&&!l[s]&&i(l,s,c),o[c]=o.Array}},56:function(t,e,n){var r=n(13),i=n(0),o=n(12);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},57:function(t,e,n){t.exports={default:n(78),__esModule:!0}},58:function(t,e,n){var r=n(29),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},59:function(t,e,n){t.exports={default:n(134),__esModule:!0}},6:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},60:function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},61:function(t,e){},62:function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var i=n(76),o=n.n(i),s=n(92),a=n.n(s),u=n(28),c=n.n(u),f=n(95),l=n.n(f),p=l.a,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,d=function(){try{if(!c.a)return!1;var t=new String("abc");if(t[5]="de","5"===a()(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==a()(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===o()(c()({},r)).join("")}catch(t){return!1}}()?c.a:function(t,e){for(var n,i,o=r(t),s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var a in n)h.call(n,a)&&(o[a]=n[a]);if(p){i=p(n);for(var u=0;u<i.length;u++)v.call(n,i[u])&&(o[i[u]]=n[i[u]])}}return o};e.a=d},63:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(39);t.exports.f=function(t){return new r(t)}},64:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},66:function(t,e,n){var r=n(29),i=n(30);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),u=r(n),c=a.length;return u<0||u>=c?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},67:function(t,e,n){"use strict";var r=n(46),i=n(21),o=n(27),s={};n(7)(s,n(3)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},68:function(t,e,n){var r=n(8),i=n(9),o=n(14);t.exports=n(5)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},69:function(t,e,n){var r=n(11),i=n(58),o=n(70);t.exports=function(t){return function(e,n,s){var a,u=r(e),c=i(u.length),f=o(s,c);if(t&&n!=n){for(;c>f;)if((a=u[f++])!=a)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},7:function(t,e,n){var r=n(8),i=n(21);t.exports=n(5)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},70:function(t,e,n){var r=n(29),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},71:function(t,e,n){var r=n(6),i=n(23),o=n(31)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},72:function(t,e,n){"use strict";var r=n(73),i=n(64),o=n(18),s=n(11);t.exports=n(44)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},73:function(t,e){t.exports=function(){}},74:function(t,e,n){var r=n(22)("meta"),i=n(10),o=n(6),s=n(8).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(12)(function(){return u(Object.preventExtensions({}))}),f=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},p=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},h=function(t){return c&&v.NEED&&u(t)&&!o(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},75:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(84),o=r(i),s=n(86),a=r(s),u="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===u(o.default)?function(t){return void 0===t?"undefined":u(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":u(t)}},76:function(t,e,n){t.exports={default:n(90),__esModule:!0}},77:function(t,e,n){var r=n(26);t.exports=Array.isArray||function(t){return"Array"==r(t)}},78:function(t,e,n){var r=n(0),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},79:function(t,e,n){n(80),t.exports=n(0).Object.assign},8:function(t,e,n){var r=n(9),i=n(48),o=n(34),s=Object.defineProperty;e.f=n(5)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},80:function(t,e,n){var r=n(13);r(r.S+r.F,"Object",{assign:n(81)})},81:function(t,e,n){"use strict";var r=n(5),i=n(14),o=n(35),s=n(24),a=n(23),u=n(47),c=Object.assign;t.exports=!c||n(12)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=a(t),c=arguments.length,f=1,l=o.f,p=s.f;c>f;)for(var h,v=u(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:c},82:function(t,e,n){var r=n(14),i=n(35),o=n(24);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},83:function(t,e,n){var r=n(24),i=n(21),o=n(11),s=n(34),a=n(6),u=n(48),c=Object.getOwnPropertyDescriptor;e.f=n(5)?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},84:function(t,e,n){t.exports={default:n(85),__esModule:!0}},85:function(t,e,n){n(52),n(55),t.exports=n(36).f("iterator")},86:function(t,e,n){t.exports={default:n(87),__esModule:!0}},87:function(t,e,n){n(54),n(61),n(88),n(89),t.exports=n(0).Symbol},88:function(t,e,n){n(37)("asyncIterator")},89:function(t,e,n){n(37)("observable")},9:function(t,e,n){var r=n(10);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},90:function(t,e,n){n(91),t.exports=n(0).Object.keys},91:function(t,e,n){var r=n(23),i=n(14);n(56)("keys",function(){return function(t){return i(r(t))}})},92:function(t,e,n){t.exports={default:n(93),__esModule:!0}},93:function(t,e,n){n(94);var r=n(0).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},94:function(t,e,n){n(56)("getOwnPropertyNames",function(){return n(53).f})},95:function(t,e,n){t.exports={default:n(96),__esModule:!0}},96:function(t,e,n){n(54),t.exports=n(0).Object.getOwnPropertySymbols},97:function(t,e,n){"use strict";function r(t){var e={},n={},r={};for(var u in t)if(t.hasOwnProperty(u))if(-1!==a.indexOf(u))e[u]=t[u];else if(s.test(u)){var c=s.exec(u)[1];c=Object(o.a)(c),r[c]=t[u]}else n[u]=t[u];return e.on=Object(i.a)(r,e.on),e.props=Object(i.a)(n,e.props),e}e.a=r;var i=n(62),o=n(98),s=new RegExp(/^on(.+)/),a=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},98:function(t,e,n){"use strict";function r(t,e){var n=u(t,e);return n.charAt(0).toLowerCase()+n.slice(1)}e.a=r;var i=n(28),o=n.n(i),s=n(4),a=function(t){for(var e=!1,n=!1,r=!1,i=0;i<t.length;i++){var o=t[i];e&&/[a-zA-Z]/.test(o)&&o.toUpperCase()===o?(t=t.slice(0,i)+"-"+t.slice(i),e=!1,r=n,n=!0,i++):n&&r&&/[a-zA-Z]/.test(o)&&o.toLowerCase()===o?(t=t.slice(0,i-1)+"-"+t.slice(i-1),r=n,n=!1,e=!0):(e=o.toLowerCase()===o&&o.toUpperCase()!==o,r=n,n=o.toUpperCase()===o&&o.toLowerCase()!==o)}return t},u=function(t,e){if("string"!=typeof t&&!Object(s.o)(t))throw new TypeError("Expected the input to be `string | string[]`");e=o()({pascalCase:!1},e);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?e.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=a(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return e.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},99:function(t,e,n){"use strict";function r(t,e,n,r){var o=void 0,s=void 0,a=new t({render:function(t){var n=s&&s(t);return n&&!Object(i.o)(n)&&(n=[n]),t(e,o,n||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return a.updateRenderData=function(t,e){o=t,s=e},a.updateRenderData(n,r),a.$mount(),a.init(),a.$children[0]}e.a=r;var i=n(4)}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Signature=e():t.Signature=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../lib",e(e.s=1741)}({0:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},1:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},100:function(t,e,n){var r=n(26),i=n(3)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},105:function(t,e,n){var r=n(9),i=n(39),o=n(3)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},106:function(t,e,n){var r,i,o,s=n(38),a=n(136),u=n(60),c=n(40),f=n(1),l=f.process,p=f.setImmediate,h=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,g=0,y={},m=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},x=function(t){m.call(t.data)};p&&h||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++g]=function(){a("function"==typeof t?t:Function(t),e)},r(g),g},h=function(t){delete y[t]},"process"==n(26)(l)?r=function(t){l.nextTick(s(m,t,1))}:d&&d.now?r=function(t){d.now(s(m,t,1))}:v?(i=new v,o=i.port2,i.port1.onmessage=x,r=s(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),m.call(t)}}:function(t){setTimeout(s(m,t,1),0)}),t.exports={set:p,clear:h}},107:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},108:function(t,e,n){var r=n(9),i=n(10),o=n(63);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},109:function(t,e,n){var r=n(100),i=n(3)("iterator"),o=n(18);t.exports=n(0).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},11:function(t,e,n){var r=n(47),i=n(30);t.exports=function(t){return r(i(t))}},115:function(t,e,n){var r=n(9);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},116:function(t,e,n){var r=n(18),i=n(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},127:function(t,e,n){var r=n(38),i=n(115),o=n(116),s=n(9),a=n(58),u=n(109),c={},f={},e=t.exports=function(t,e,n,l,p){var h,v,d,g,y=p?function(){return t}:u(t),m=r(n,l,e?2:1),x=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(h=a(t.length);h>x;x++)if((g=e?m(s(v=t[x])[0],v[1]):m(t[x]))===c||g===f)return g}else for(d=y.call(t);!(v=d.next()).done;)if((g=i(d,m,v.value,e))===c||g===f)return g};e.BREAK=c,e.RETURN=f},128:function(t,e,n){var r=n(3)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},129:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},13:function(t,e,n){var r=n(1),i=n(0),o=n(38),s=n(7),a=n(6),u=function(t,e,n){var c,f,l,p=t&u.F,h=t&u.G,v=t&u.S,d=t&u.P,g=t&u.B,y=t&u.W,m=h?i:i[e]||(i[e]={}),x=m.prototype,w=h?r:v?r[e]:(r[e]||{}).prototype;h&&(n=e);for(c in n)(f=!p&&w&&void 0!==w[c])&&a(m,c)||(l=f?w[c]:n[c],m[c]=h&&"function"!=typeof w[c]?n[c]:g&&f?o(l,r):y&&w[c]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):d&&"function"==typeof l?o(Function.call,l):l,d&&((m.virtual||(m.virtual={}))[c]=l,t&u.R&&x&&!x[c]&&s(x,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},130:function(t,e,n){var r=n(7);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},132:function(t,e,n){"use strict";var r=n(1),i=n(0),o=n(8),s=n(5),a=n(3)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},134:function(t,e,n){n(61),n(52),n(55),n(135),n(139),n(140),t.exports=n(0).Promise},135:function(t,e,n){"use strict";var r,i,o,s,a=n(16),u=n(1),c=n(38),f=n(100),l=n(13),p=n(10),h=n(39),v=n(129),d=n(127),g=n(105),y=n(106).set,m=n(137)(),x=n(63),w=n(107),b=n(138),C=n(108),_=u.TypeError,S=u.process,O=S&&S.versions,j=O&&O.v8||"",k=u.Promise,T="process"==f(S),E=function(){},P=i=x.f,M=!!function(){try{var t=k.resolve(1),e=(t.constructor={})[n(3)("species")]=function(t){t(E,E)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==j.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),$=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},A=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=i?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{a?(i||(2==t._h&&D(t),t._h=1),!0===a?n=r:(f&&f.enter(),n=a(r),f&&(f.exit(),s=!0)),n===e.promise?c(_("Promise-chain cycle")):(o=$(n))?o.call(n,u,c):u(n)):c(r)}catch(t){f&&!s&&f.exit(),c(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&B(t)})}},B=function(t){y.call(u,function(){var e,n,r,i=t._v,o=I(t);if(o&&(e=w(function(){T?S.emit("unhandledRejection",i,t):(n=u.onunhandledrejection)?n({promise:t,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=T||I(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){y.call(u,function(){var e;T?S.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},R=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),A(e,!0))},L=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw _("Promise can't be resolved itself");(e=$(t))?m(function(){var r={_w:n,_d:!1};try{e.call(t,c(L,r,1),c(R,r,1))}catch(t){R.call(r,t)}}):(n._v=t,n._s=1,A(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};M||(k=function(t){v(this,k,"Promise","_h"),h(t),r.call(this);try{t(c(L,this,1),c(R,this,1))}catch(t){R.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(130)(k.prototype,{then:function(t,e){var n=P(g(this,k));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=T?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=c(L,t,1),this.reject=c(R,t,1)},x.f=P=function(t){return t===k||t===s?new o(t):i(t)}),l(l.G+l.W+l.F*!M,{Promise:k}),n(27)(k,"Promise"),n(132)("Promise"),s=n(0).Promise,l(l.S+l.F*!M,"Promise",{reject:function(t){var e=P(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(a||!M),"Promise",{resolve:function(t){return C(a&&this===s?k:this,t)}}),l(l.S+l.F*!(M&&n(128)(function(t){k.all(t).catch(E)})),"Promise",{all:function(t){var e=this,n=P(e),r=n.resolve,i=n.reject,o=w(function(){var n=[],o=0,s=1;d(t,!1,function(t){var a=o++,u=!1;n.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=P(e),r=n.reject,i=w(function(){d(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},136:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},137:function(t,e,n){var r=n(1),i=n(106).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,u="process"==n(26)(s);t.exports=function(){var t,e,n,c=function(){var r,i;for(u&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){s.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var f=a.resolve(void 0);n=function(){f.then(c)}}else n=function(){i.call(r,c)};else{var l=!0,p=document.createTextNode("");new o(c).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},138:function(t,e,n){var r=n(1),i=r.navigator;t.exports=i&&i.userAgent||""},139:function(t,e,n){"use strict";var r=n(13),i=n(0),o=n(1),s=n(105),a=n(108);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},14:function(t,e,n){var r=n(50),i=n(33);t.exports=Object.keys||function(t){return r(t,i)}},140:function(t,e,n){"use strict";var r=n(13),i=n(63),o=n(107);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},1411:function(t,e,n){"use strict";var r=n(59),i=n.n(r);e.a={name:"ActSignature",props:{color:{type:String,default:"#8c7fee"},backBtnColor:{type:String,default:"#ffffff"},clearBtnColor:{type:String,default:"#ffffff"},clearBtnText:{type:String,default:"重置"},backBtnText:{type:String,default:"返回"},saveBtnText:{type:String,default:"保存"},headerText:{type:String,default:"请完成您的亲笔签名"},isWatermark:{type:Boolean,default:!1},watermarkText:{type:String,default:""},watermarkTextColor:{type:String,default:"#DEE1ED"},isHorizontalScreen:{type:Boolean,default:!1},isFullScreen:{type:Boolean,default:!1},bgColor:{type:String,default:"#f9f9f9"},canvasBgColor:{type:String,default:"#ffffff"},title:{type:String,default:"请完成签名"},lineWidth:{type:Number,default:3},lineColor:{type:String,default:"#000000"},identity:{type:String,default:"申请人"},signatureTip:{type:String,default:""},visible:{type:Boolean,default:!1},scene:{type:String,default:"dialog"}},data:function(){return{isVisible:!1,showErrtips:!1,isCrop:!1,hasDrew:!1,width:0,height:0,resultImg:"",points:{x:[],y:[]},canvasTxt:null,startX:0,startY:0,isDrawing:!1,sratio:1}},computed:{ratio:function(){return this.height/this.width},stageInfo:function(){return this.$refs.signatureCanvas.getBoundingClientRect()},myBg:function(){return this.canvasBgColor?this.canvasBgColor:"rgba(255, 255, 255, 0)"},signIdentityText:function(){return""+this.identity+this.watermarkText+"亲笔签名"}},watch:{myBg:function(t){},isVisible:function(t){t&&(this.$emit("show"),this.initSignatureCanvas(),this.isWatermark&&this.initWatermarkCanvas())}},mounted:function(){var t=this;this.preventScreenRotation(),document.onmouseup=function(){t.isDrawing=!1}},methods:{preventScreenRotation:function(){window.screen.orientation&&window.screen.orientation.lock?window.screen.orientation.lock("portrait"):window.screen.lockOrientation&&window.screen.lockOrientation("portrait")},getFontBold:function(t){return t>this.identity.length-1&&this.watermarkText.length+this.identity.length>t},initSignatureCanvas:function(){var t=this;setTimeout(function(){var e=t.$refs.signatureCanvas;t.signatureCtx=e.getContext("2d"),t.height=t.$refs.box.offsetHeight,t.width=t.$refs.box.offsetWidth,e.height=t.height,e.width=t.width,t.isWatermark||(e.style.background=t.myBg),t._signatureResize()})},initWatermarkCanvas:function(){var t=this;setTimeout(function(){var e=t.$refs.watermarkCanvas;t.watermarkCtx=e.getContext("2d"),e.height=t.$refs.box.offsetHeight,e.width=t.$refs.box.offsetWidth,e.style.background=t.myBg,t._watermarResize(),t.drawWatermark(t.watermarkCtx)})},isChineseOrEnglish:function(t){var e=/^[\u4e00-\u9fa5]+$/,n=120,r=3;return r=this.isHorizontalScreen?e.test(t)?4:10:3,t.length>4&&t.length-r>0&&(n=120-10*(t.length-r)),n},drawWatermark:function(t){var e=this;t.fillStyle=this.watermarkTextColor,t.textAlign="center",t.textBaseline="middle";var n=this.watermarkText,r=this.isChineseOrEnglish(n);console.log(r),t.font=r+"px serif",t.clearRect(0,0,this.width,this.height);var i=n.split(""),o=r,s=i.length*o,a=(this.height-s+o)/2;if(this.isHorizontalScreen){var u=this.width/2,c=this.height/2,f=90*Math.PI/180;t.translate(u,c),t.rotate(f),t.fillText(n,0,0)}else i.forEach(function(n,r){var i=e.width/2,s=a+r*o;t.fillText(n,i,s)})},show:function(){this.isVisible=!0},hide:function(){this.reset(),this.isVisible=!1},_watermarResize:function(){var t=this.$refs.watermarkCanvas;t.style.width=this.width+"px";var e=parseFloat(window.getComputedStyle(t).width);t.style.height=this.ratio*e+"px",this.watermarkCtx=t.getContext("2d"),this.watermarkCtx.scale(1*this.sratio,1*this.sratio),this.sratio=e/this.width,this.watermarkCtx.scale(1/this.sratio,1/this.sratio)},_signatureResize:function(){var t=this.$refs.signatureCanvas;t.style.width=this.width+"px";var e=parseFloat(window.getComputedStyle(t).width);t.style.height=this.ratio*e+"px",this.signatureCtx=t.getContext("2d"),this.signatureCtx.scale(1*this.sratio,1*this.sratio),this.sratio=e/this.width,this.signatureCtx.scale(1/this.sratio,1/this.sratio)},mouseDown:function(t){t=t||event,t.preventDefault(),this.isDrawing=!0,this.hasDrew=!0;var e={x:t.offsetX,y:t.offsetY};this.drawStart(e)},mouseMove:function(t){if(t=t||event,t.preventDefault(),this.isDrawing){var e={x:t.offsetX,y:t.offsetY};this.drawMove(e)}},mouseUp:function(t){t=t||event,t.preventDefault();var e={x:t.offsetX,y:t.offsetY};this.drawEnd(e),this.isDrawing=!1},touchStart:function(t){if(t=t||event,t.preventDefault(),this.hasDrew=!0,1===t.touches.length){var e={x:t.targetTouches[0].clientX-this.$refs.signatureCanvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.signatureCanvas.getBoundingClientRect().top};this.drawStart(e)}},touchMove:function(t){if(t=t||event,t.preventDefault(),1===t.touches.length){var e={x:t.targetTouches[0].clientX-this.$refs.signatureCanvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.signatureCanvas.getBoundingClientRect().top};this.drawMove(e)}},touchEnd:function(t){if(t=t||event,t.preventDefault(),1===t.touches.length){var e={x:t.targetTouches[0].clientX-this.$refs.signatureCanvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.signatureCanvas.getBoundingClientRect().top};this.drawEnd(e)}},drawStart:function(t){this.startX=t.x,this.startY=t.y,this.signatureCtx.beginPath(),this.signatureCtx.moveTo(this.startX,this.startY),this.signatureCtx.lineTo(t.x,t.y),this.signatureCtx.lineCap="round",this.signatureCtx.lineJoin="round",this.signatureCtx.lineWidth=this.lineWidth*this.sratio,this.signatureCtx.stroke(),this.signatureCtx.closePath(),this.points.x.push(t.x),this.points.y.push(t.y)},drawMove:function(t){this.signatureCtx.beginPath(),this.signatureCtx.moveTo(this.startX,this.startY),this.signatureCtx.lineTo(t.x,t.y),this.signatureCtx.strokeStyle=this.lineColor,this.signatureCtx.lineWidth=this.lineWidth*this.sratio,this.signatureCtx.lineCap="round",this.signatureCtx.lineJoin="round",this.signatureCtx.stroke(),this.signatureCtx.closePath(),this.startY=t.y,this.startX=t.x,this.points.x.push(t.x),this.points.y.push(t.y)},drawEnd:function(t){this.signatureCtx.beginPath(),this.signatureCtx.moveTo(this.startX,this.startY),this.signatureCtx.lineTo(t.x,t.y),this.signatureCtx.lineCap="round",this.signatureCtx.lineJoin="round",this.signatureCtx.stroke(),this.signatureCtx.closePath(),this.points.x.push(t.x),this.points.y.push(t.y),this.points.x.push(-1),this.points.y.push(-1)},generate:function(){var t=this;return new i.a(function(e,n){var r=t.getMax(t.points.x,t.points.y);if(!t.hasDrew)return void n("Warning: Not Signned!");if(t.points.x.length<40||Math.abs(r.left-r.right)<40||Math.abs(r.top-r.bottom)<40)return void n("Warning: Not Signned!");var i=t.signatureCtx.getImageData(0,0,t.$refs.signatureCanvas.width,t.$refs.signatureCanvas.height);t.signatureCtx.globalCompositeOperation="destination-over",t.signatureCtx.fillStyle=t.myBg,t.signatureCtx.fillRect(0,0,t.$refs.signatureCanvas.width,t.$refs.signatureCanvas.height),t.resultImg=t.$refs.signatureCanvas.toDataURL();var o=t.resultImg;if(t.signatureCtx.clearRect(0,0,t.$refs.signatureCanvas.width,t.$refs.signatureCanvas.height),t.signatureCtx.putImageData(i,0,0),t.signatureCtx.globalCompositeOperation="source-over",t.isCrop){var s,a=t.getCropArea(i.data),u=document.createElement("canvas"),c=u.getContext("2d");u.width=a[2]-a[0],u.height=a[3]-a[1];var f=(s=t.signatureCtx).getImageData.apply(s,a);c.globalCompositeOperation="destination-over",c.putImageData(f,0,0),c.fillStyle=t.myBg,c.fillRect(0,0,u.width,u.height),o=u.toDataURL(),u=null}if(t.isHorizontalScreen){var l=document.createElement("canvas"),p=l.getContext("2d");l.width=t.$refs.signatureCanvas.height,l.height=t.$refs.signatureCanvas.width,p.translate(l.width/2,l.height/2),p.rotate(-Math.PI/2),p.drawImage(t.$refs.signatureCanvas,-t.$refs.signatureCanvas.width/2,-t.$refs.signatureCanvas.height/2),o=l.toDataURL()}e(o)})},reset:function(){this.signatureCtx.clearRect(0,0,this.$refs.signatureCanvas.width,this.$refs.signatureCanvas.height),this.$emit("update:bgColor",""),this.points={x:[],y:[]},this.hasDrew=!1,this.resultImg=""},goBack:function(){"dialog"===this.scene?this.hide():window.history.back()},getCropArea:function(t){for(var e=this.$refs.signatureCanvas.width,n=0,r=this.$refs.signatureCanvas.height,i=0,o=0;o<this.$refs.signatureCanvas.width;o++)for(var s=0;s<this.$refs.signatureCanvas.height;s++){var a=4*(o+this.$refs.signatureCanvas.width*s);(t[a]>0||t[a+1]>0||t[a+2]||t[a+3]>0)&&(i=Math.max(s,i),n=Math.max(o,n),r=Math.min(s,r),e=Math.min(o,e))}return e++,n++,r++,i++,[e,r,n,i]},getMax:function(t,e){var n={left:0,right:0,top:0,bottom:0};return"[object Array]"!=={}.toString.call(t)||"[object Array]"!=={}.toString.call(e)?n:(n.left=Math.min.apply(null,t),n.right=Math.max.apply(null,t),n.top=Math.min.apply(null,e),n.bottom=Math.max.apply(null,e),n)},save:function(){var t=this;this.hasDrew&&this.generate().then(function(e){t.$emit("complete",e),"dialog"===t.scene?t.hide():t.reset()}).catch(function(e){console.log(e),t.showErrtips=!0,setTimeout(function(){t.showErrtips=!1},2e3)})}}}},15:function(t,e,n){"use strict";function r(t,e){return function(n,r){var s=this,a=Object(i.a)(n),u=Object(o.a)(e,t,a,r),c=u.$parent,f=u.remove,l=u.show,p=u.hide;return u.remove=function(){u.$removed=!0,f&&f.call(this),c.destroy()},u.show=function(){return l&&l.call.apply(l,[this].concat(Array.prototype.slice.call(arguments))),this},u.hide=function(){return p&&p.call.apply(p,[this].concat(Array.prototype.slice.call(arguments))),this},s&&s._isVue&&s.$once("hook:beforeDestroy",function(){u.$removed||u.remove()}),u}}e.a=r;var i=n(97),o=n(99)},16:function(t,e){t.exports=!0},1741:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(15),i=n(1742);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createSignature=Object(r.a)(i.a,t)},e.default=i.a},1742:function(t,e,n){"use strict";function r(t){a||n(1743)}var i=n(1411),o=n(1744),s=n(2),a=!1,u=r,c=Object(s.a)(i.a,o.a,o.b,!1,u,"data-v-31195bd6",null);c.options.__file="src\\components\\Signature\\src\\index.vue",e.a=c.exports},1743:function(t,e){},1744:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"act-gold-popup-move"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-signature-wrap",attrs:{id:"act-signature"}},[t.isHorizontalScreen?n("div",{staticClass:"act-signature-horizontal-box",class:{isFullScreen:t.isFullScreen},style:"background-color: "+t.bgColor+";"},[n("div",{staticClass:"act-signature-content"},[n("div",{staticClass:"content-left"},[n("div",{staticClass:"signature-text"},[n("div",{staticClass:"signature-title"},t._l(t.signIdentityText,function(e,r){return n("span",{key:e+"_"+r,staticClass:"vertical-text",style:t.getFontBold(r)?"font-weight: bold;color:#333":""},[t._v("\n "+t._s(e)+"\n ")])}),0),t._v(" "),t.signatureTip?n("div",{staticClass:"signature-tip"},t._l(t.signatureTip,function(e,r){return n("span",{key:e+"_"+r,staticClass:"vertical-text"},[t._v("\n "+t._s(e)+"\n ")])}),0):t._e()]),t._v(" "),n("div",{staticClass:"ctrl"},[n("div",{staticClass:"backBtn",style:"background: "+t.backBtnColor,attrs:{type:"button"},on:{click:t.goBack}},t._l(t.backBtnText,function(e,r){return n("span",{key:e+"_"+r,staticClass:"vertical-text backBtnText"},[t._v("\n "+t._s(e)+"\n ")])}),0),t._v(" "),n("div",{staticClass:"saveBtn",style:{background:t.color,opacity:t.hasDrew?1:.5},attrs:{type:"button"},on:{click:t.save}},t._l(t.saveBtnText,function(e,r){return n("span",{key:e+"_"+r,staticClass:"vertical-text saveBtnText"},[t._v("\n "+t._s(e)+"\n ")])}),0)])]),t._v(" "),n("div",{staticClass:"content-right"},[n("div",{ref:"box",staticClass:"canvasBox"},[t.hasDrew?n("div",{staticClass:"clearBtn",attrs:{type:"button"},on:{click:t.reset}},t._l(t.clearBtnText,function(e,r){return n("span",{key:e+"_"+r,staticClass:"vertical-text clearBtnText"},[t._v("\n "+t._s(e)+"\n ")])}),0):t._e(),t._v(" "),n("canvas",{ref:"watermarkCanvas",staticClass:"canvas-ins"}),t._v(" "),n("canvas",{ref:"signatureCanvas",staticClass:"canvas-ins",on:{mousedown:t.mouseDown,mousemove:t.mouseMove,mouseup:t.mouseUp,touchstart:t.touchStart,touchmove:t.touchMove,touchend:t.touchEnd}})])])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showErrtips,expression:"showErrtips"}],staticClass:"errtips"},t._l("请仔细签名",function(e,r){return n("span",{key:e+"_"+r,staticClass:"vertical-text"},[t._v("\n "+t._s(e)+"\n ")])}),0)]):n("div",{staticClass:"act-signature-box",class:{isFullScreen:t.isFullScreen},style:"background-color: "+t.bgColor+";"},[n("div",{staticClass:"header-box",style:"background: "+t.bgColor},[n("div",{staticClass:"text"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"close",on:{click:t.hide}})]),t._v(" "),!t.$slots.header&&t.headerText?n("div",{staticClass:"header",domProps:{innerHTML:t._s(t.headerText)}}):t._e(),t._v(" "),t.$slots.header?t._t("header"):t._e(),t._v(" "),n("div",{ref:"box",staticClass:"canvasBox",style:"height: calc("+(!t.$slots.header&&t.headerText?88:96)+"% - 100px);"},[n("canvas",{ref:"watermarkCanvas",staticClass:"canvas-ins"}),t._v(" "),n("canvas",{ref:"signatureCanvas",staticClass:"canvas-ins",on:{mousedown:t.mouseDown,mousemove:t.mouseMove,mouseup:t.mouseUp,touchstart:t.touchStart,touchmove:t.touchMove,touchend:t.touchEnd}})]),t._v(" "),n("div",{staticClass:"ctrl",style:"background: "+t.bgColor},[n("div",{staticClass:"clearBtn",style:"background: "+t.clearBtnColor,attrs:{type:"button"},on:{click:t.reset}},[t._v("\n "+t._s(t.clearBtnText)+"\n ")]),t._v(" "),n("div",{staticClass:"saveBtn",style:"background: "+t.color,attrs:{type:"button"},on:{click:t.save}},[t._v("\n "+t._s(t.saveBtnText)+"\n ")])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showErrtips,expression:"showErrtips"}],staticClass:"errtips"},[t._v("\n 请仔细签名\n ")])],2)])])},i=[];r._withStripped=!0},18:function(t,e){t.exports={}},2:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var c="function"==typeof t?t.options:t;e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId=o);var f;if(s?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=f):i&&(f=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),f)if(c.functional){c._injectStyles=f;var l=c.render;c.render=function(t,e){return f.call(e),l(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:c}}e.a=r},21:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},22:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},23:function(t,e,n){var r=n(30);t.exports=function(t){return Object(r(t))}},24:function(t,e){e.f={}.propertyIsEnumerable},26:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},27:function(t,e,n){var r=n(8).f,i=n(6),o=n(3)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},28:function(t,e,n){t.exports={default:n(79),__esModule:!0}},29:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},3:function(t,e,n){var r=n(32)("wks"),i=n(22),o=n(1).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},30:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},31:function(t,e,n){var r=n(32)("keys"),i=n(22);t.exports=function(t){return r[t]||(r[t]=i(t))}},32:function(t,e,n){var r=n(0),i=n(1),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(16)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},33:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},34:function(t,e,n){var r=n(10);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},35:function(t,e){e.f=Object.getOwnPropertySymbols},36:function(t,e,n){e.f=n(3)},37:function(t,e,n){var r=n(1),i=n(0),o=n(16),s=n(36),a=n(8).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},38:function(t,e,n){var r=n(39);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},39:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},4:function(t,e,n){"use strict";function r(t,e){if(t.findIndex)return t.findIndex(e);var n=-1;return t.some(function(t,r,i){var o=e.call(this,t,r,i);if(o)return n=r,o}),n}function i(t){return t?JSON.parse(F()(t)):t}function o(t,e){for(var n in e)t[n]&&"object"===R()(t[n])?o(t[n],e[n]):t[n]=e[n]}function s(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function u(t){return"[object Number]"===Object.prototype.toString.call(t)}function c(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function l(t){return null===t}function p(t){return void 0!==t&&null!==t}function h(t){return void 0===t}function v(t){return"[object Error]"===Object.prototype.toString.call(t)}function d(t){return"function"==typeof t}function g(t,e,n){function r(e){var n=g,r=y;return g=y=void 0,C=e,x=t.apply(r,n)}function i(t,e){return j?(window.cancelAnimationFrame(w),window.requestAnimationFrame(t)):setTimeout(t,e)}function o(t){if(j)return window.cancelAnimationFrame(t);clearTimeout(t)}function s(t){return C=t,w=i(f,e),_?r(t):x}function a(t){var n=t-b,r=t-C,i=e-n;return S?Math.min(i,m-r):i}function u(t){var n=t-b,r=t-C;return void 0===b||n>=e||n<0||S&&r>=m}function f(){var t=Date.now();if(u(t))return l(t);w=i(f,a(t))}function l(t){return w=void 0,O&&g?r(t):(g=y=void 0,x)}function p(){void 0!==w&&o(w),C=0,g=b=y=w=void 0}function h(){return void 0===w?x:l(Date.now())}function v(){return void 0!==w}function d(){for(var t=Date.now(),n=u(t),o=arguments.length,a=Array(o),c=0;c<o;c++)a[c]=arguments[c];if(g=a,y=this,b=t,n){if(void 0===w)return s(b);if(S)return w=i(f,e),r(b)}return void 0===w&&(w=i(f,e)),x}var g=void 0,y=void 0,m=void 0,x=void 0,w=void 0,b=void 0,C=0,_=!1,S=!1,O=!0,j=!e&&0!==e&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return e=+e||0,c(n)&&(_=!!n.leading,S="maxWait"in n,m=S?Math.max(+n.maxWait||0,e):m,O="trailing"in n?!!n.trailing:O),d.cancel=p,d.flush=h,d.pending=v,d}function y(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return c(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),g(t,e,{leading:r,trailing:i,maxWait:e})}function m(t){return!!/^1\d{10}$/.test(t)}function x(t){var e=t.length;return e>3&&e<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):e>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,e,n){return e+" "+n.replace(/(.{4})(?=.)/g,"$1 ")})),t}function w(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function b(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function C(t){if(!t)return"";var e=t.length;return 2===e?t.split("").join("  "):3===e?t.split("").join(" "):t}function _(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t.offsetHeight;if(e){var r=t.currentStyle||getComputedStyle(t);n+=parseInt(r.marginTop||0)+parseInt(r.marginBottom||0)}return n}function S(t,e){var n=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),r=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),i=null;return n?i={r:parseInt(n[1]+n[1],16),g:parseInt(n[2]+n[2],16),b:parseInt(n[3]+n[3],16)}:r&&(i={r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}),i?void 0!==e?"rgba("+i.r+", "+i.g+", "+i.b+", "+e+")":"rgb("+i.r+", "+i.g+", "+i.b+")":""}function O(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",n=e.length,r="";t=t||32;for(var i=0;i<t;i++)r+=e.charAt(Math.floor(Math.random()*n));return r}function j(t,e){var n=e||location.href,r=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),i=n.match(r);return i&&i[2]}function k(t){var e=window.getComputedStyle(t),n="none"===e.display,r=null===t.offsetParent&&"fixed"!==e.position;return n||r}function T(t,e,n){return Math.min(Math.max(t,e),n)}function E(t){var e=/os (\d\d?_\d(_\d)?)/,n=e.exec(t);if(!n)return null;var r=n[1].split("_").map(function(t){return parseInt(t,10)});return{major:r[0],minor:r[1],patch:r[2]||0}}function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e=e||window.location.href;var n=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),r=e.match(n);return decodeURIComponent(r?r[2]:"")}function M(t){return t?v(t)?t.message:a(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}function $(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],n=new RegExp("https?://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]"),r=0;r<t.length;r++){var i=t[r];if(!n.test(i))return;e.push(i.split("?")[0])}return e}function A(t){var e=JSON.parse(F()(t)),n=e.attrModules,r=void 0===n?{}:n,i=e.plan,o=r.applicant,a=r.insureds,u=r.hcpics,c=r.hctext,f=r.makeup,l=r.apphctext,p=r.apphcpics,h={},v=function(t){var e=null,n=null,r=null,i=null,o={},a={},u={};for(var c in t){var f=t[c].defaultValue,l=t[c].required,p=t[c].display;if(s(f)){var h=$(f);h&&(f=h)}1!==Number(l)&&1!==Number(p)||("idType"===c||"id"===c||"idValidType"===c||"idValidEndTime"===c||"idValidStartTime"===c?(e=e||{},e[c]=f):"socialInsAddr"===c||"socialInsDetail"===c||"socialInsPost"===c||"socialInsTel"===c?(n=n||{},n[c]=f):"residentAddr"===c||"residentDetail"===c||"residentPost"===c||"residentTel"===c?(r=r||{},r[c]=f):"officeAddr"===c||"officeDetail"===c||"officePost"===c||"officeTel"===c?(i=i||{},i[c]=f):"companyIdType"===c||"companyId"===c?(a=a||{},a[c]=f):"detail"===c?(u=u||{},u[c]=f):o[c]=f)}return e&&(o.certificate=e),n&&(o.socialIns=n),r&&(o.resident=r),i&&(o.office=i),a&&(o.companyCertificate=a),u&&(o.companyAddress=u),o};if(r.plan&&(i=v(r.plan)),o&&(h.applicant={},o&&(h.applicant=v(o))),a||i){h.insureds=[];for(var d=a||[""],g=0;g<d.length;g++){var y=d[g],m=null,x={};y&&(m=v(y)),m&&(x.insured=m),i&&(x.plan=i),h.insureds.push(x)}}if(c&&(h.hctext=v(c)),l&&(h.apphctext=v(l)),u&&(h.hcpics=v(u)),p&&(h.apphcpics=v(p)),f){h.makeup={};for(var w=f||[""],b=0;b<w.length;b++){var C=w[b],_=null;C&&(_=v(C)),_&&(h.makeup=I()(h.makeup,_))}}return h}n.d(e,"F",function(){return et}),n.d(e,"v",function(){return nt}),e.d=r,e.c=i,e.b=o,e.o=s,e.z=a,e.x=u,e.y=c,e.p=f,e.w=l,e.q=p,e.A=h,e.r=v,e.s=d,e.a=g,e.E=y,e.u=m,e.g=x,e.e=w,e.f=b,e.h=C,e.B=_,e.n=S,e.C=O,e.l=j,e.t=k,e.D=T,e.k=E,e.m=P,e.j=M,e.i=A;var B=n(28),I=n.n(B),D=n(75),R=n.n(D),L=n(57),F=n.n(L),N="undefined"!=typeof window,W=N&&window.navigator.userAgent.toLowerCase(),U=W&&/msie|trident/.test(W),V=W&&W.indexOf("msie 9.0")>0,z=W&&W.indexOf("edge/")>0,X=W&&W.indexOf("android")>0,Y=W&&/iphone|ipad|ipod|ios/.test(W),H=W&&/chrome\/\d+/.test(W)&&!z,J=W&&/MicroMessenger/i.test(W),G=W&&/wxwork/i.test(W),q=W&&/mucxiaoyusan/i.test(W),K=W&&/muckacabao/i.test(W),Z=W&&/mucyanxuan/i.test(W),Q=q||K,tt=W&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(W),et={isIE:U,isMobile:tt,isIE9:V,isEdge:z,isAndroid:X,isIOS:Y,isChrome:H,isWx:J,isWxWork:G,isApp:Q,isXysApp:q,isKcbApp:K,isYxApp:Z},nt=/MucWebAutoTester/.test(window.navigator.userAgent)},40:function(t,e,n){var r=n(10),i=n(1).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},44:function(t,e,n){"use strict";var r=n(16),i=n(13),o=n(49),s=n(7),a=n(18),u=n(67),c=n(27),f=n(71),l=n(3)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,v,d,g,y){u(n,e,v);var m,x,w,b=function(t){if(!p&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",_="values"==d,S=!1,O=t.prototype,j=O[l]||O["@@iterator"]||d&&O[d],k=j||b(d),T=d?_?b("entries"):k:void 0,E="Array"==e?O.entries||j:j;if(E&&(w=f(E.call(new t)))!==Object.prototype&&w.next&&(c(w,C,!0),r||"function"==typeof w[l]||s(w,l,h)),_&&j&&"values"!==j.name&&(S=!0,k=function(){return j.call(this)}),r&&!y||!p&&!S&&O[l]||s(O,l,k),a[e]=k,a[C]=h,d)if(m={values:_?k:b("values"),keys:g?k:b("keys"),entries:T},y)for(x in m)x in O||o(O,x,m[x]);else i(i.P+i.F*(p||S),e,m);return m}},46:function(t,e,n){var r=n(9),i=n(68),o=n(33),s=n(31)("IE_PROTO"),a=function(){},u=function(){var t,e=n(40)("iframe"),r=o.length;for(e.style.display="none",n(60).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},47:function(t,e,n){var r=n(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},48:function(t,e,n){t.exports=!n(5)&&!n(12)(function(){return 7!=Object.defineProperty(n(40)("div"),"a",{get:function(){return 7}}).a})},49:function(t,e,n){t.exports=n(7)},5:function(t,e,n){t.exports=!n(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},50:function(t,e,n){var r=n(6),i=n(11),o=n(69)(!1),s=n(31)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),u=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~o(c,n)||c.push(n));return c}},51:function(t,e,n){var r=n(50),i=n(33).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},52:function(t,e,n){"use strict";var r=n(66)(!0);n(44)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},53:function(t,e,n){var r=n(11),i=n(51).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},54:function(t,e,n){"use strict";var r=n(1),i=n(6),o=n(5),s=n(13),a=n(49),u=n(74).KEY,c=n(12),f=n(32),l=n(27),p=n(22),h=n(3),v=n(36),d=n(37),g=n(82),y=n(77),m=n(9),x=n(10),w=n(23),b=n(11),C=n(34),_=n(21),S=n(46),O=n(53),j=n(83),k=n(35),T=n(8),E=n(14),P=j.f,M=T.f,$=O.f,A=r.Symbol,B=r.JSON,I=B&&B.stringify,D=h("_hidden"),R=h("toPrimitive"),L={}.propertyIsEnumerable,F=f("symbol-registry"),N=f("symbols"),W=f("op-symbols"),U=Object.prototype,V="function"==typeof A&&!!k.f,z=r.QObject,X=!z||!z.prototype||!z.prototype.findChild,Y=o&&c(function(){return 7!=S(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=P(U,e);r&&delete U[e],M(t,e,n),r&&t!==U&&M(U,e,r)}:M,H=function(t){var e=N[t]=S(A.prototype);return e._k=t,e},J=V&&"symbol"==typeof A.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof A},G=function(t,e,n){return t===U&&G(W,e,n),m(t),e=C(e,!0),m(n),i(N,e)?(n.enumerable?(i(t,D)&&t[D][e]&&(t[D][e]=!1),n=S(n,{enumerable:_(0,!1)})):(i(t,D)||M(t,D,_(1,{})),t[D][e]=!0),Y(t,e,n)):M(t,e,n)},q=function(t,e){m(t);for(var n,r=g(e=b(e)),i=0,o=r.length;o>i;)G(t,n=r[i++],e[n]);return t},K=function(t,e){return void 0===e?S(t):q(S(t),e)},Z=function(t){var e=L.call(this,t=C(t,!0));return!(this===U&&i(N,t)&&!i(W,t))&&(!(e||!i(this,t)||!i(N,t)||i(this,D)&&this[D][t])||e)},Q=function(t,e){if(t=b(t),e=C(e,!0),t!==U||!i(N,e)||i(W,e)){var n=P(t,e);return!n||!i(N,e)||i(t,D)&&t[D][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=$(b(t)),r=[],o=0;n.length>o;)i(N,e=n[o++])||e==D||e==u||r.push(e);return r},et=function(t){for(var e,n=t===U,r=$(n?W:b(t)),o=[],s=0;r.length>s;)!i(N,e=r[s++])||n&&!i(U,e)||o.push(N[e]);return o};V||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(W,n),i(this,D)&&i(this[D],t)&&(this[D][t]=!1),Y(this,t,_(1,n))};return o&&X&&Y(U,t,{configurable:!0,set:e}),H(t)},a(A.prototype,"toString",function(){return this._k}),j.f=Q,T.f=G,n(51).f=O.f=tt,n(24).f=Z,k.f=et,o&&!n(16)&&a(U,"propertyIsEnumerable",Z,!0),v.f=function(t){return H(h(t))}),s(s.G+s.W+s.F*!V,{Symbol:A});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)h(nt[rt++]);for(var it=E(h.store),ot=0;it.length>ot;)d(it[ot++]);s(s.S+s.F*!V,"Symbol",{for:function(t){return i(F,t+="")?F[t]:F[t]=A(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in F)if(F[e]===t)return e},useSetter:function(){X=!0},useSimple:function(){X=!1}}),s(s.S+s.F*!V,"Object",{create:K,defineProperty:G,defineProperties:q,getOwnPropertyDescriptor:Q,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var st=c(function(){k.f(1)});s(s.S+s.F*st,"Object",{getOwnPropertySymbols:function(t){return k.f(w(t))}}),B&&s(s.S+s.F*(!V||c(function(){var t=A();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(x(e)||void 0!==t)&&!J(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,I.apply(B,r)}}),A.prototype[R]||n(7)(A.prototype,R,A.prototype.valueOf),l(A,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},55:function(t,e,n){n(72);for(var r=n(1),i=n(7),o=n(18),s=n(3)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var c=a[u],f=r[c],l=f&&f.prototype;l&&!l[s]&&i(l,s,c),o[c]=o.Array}},56:function(t,e,n){var r=n(13),i=n(0),o=n(12);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},57:function(t,e,n){t.exports={default:n(78),__esModule:!0}},58:function(t,e,n){var r=n(29),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},59:function(t,e,n){t.exports={default:n(134),__esModule:!0}},6:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},60:function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},61:function(t,e){},62:function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var i=n(76),o=n.n(i),s=n(92),a=n.n(s),u=n(28),c=n.n(u),f=n(95),l=n.n(f),p=l.a,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,d=function(){try{if(!c.a)return!1;var t=new String("abc");if(t[5]="de","5"===a()(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==a()(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===o()(c()({},r)).join("")}catch(t){return!1}}()?c.a:function(t,e){for(var n,i,o=r(t),s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var a in n)h.call(n,a)&&(o[a]=n[a]);if(p){i=p(n);for(var u=0;u<i.length;u++)v.call(n,i[u])&&(o[i[u]]=n[i[u]])}}return o};e.a=d},63:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(39);t.exports.f=function(t){return new r(t)}},64:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},66:function(t,e,n){var r=n(29),i=n(30);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),u=r(n),c=a.length;return u<0||u>=c?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},67:function(t,e,n){"use strict";var r=n(46),i=n(21),o=n(27),s={};n(7)(s,n(3)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},68:function(t,e,n){var r=n(8),i=n(9),o=n(14);t.exports=n(5)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},69:function(t,e,n){var r=n(11),i=n(58),o=n(70);t.exports=function(t){return function(e,n,s){var a,u=r(e),c=i(u.length),f=o(s,c);if(t&&n!=n){for(;c>f;)if((a=u[f++])!=a)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},7:function(t,e,n){var r=n(8),i=n(21);t.exports=n(5)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},70:function(t,e,n){var r=n(29),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},71:function(t,e,n){var r=n(6),i=n(23),o=n(31)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},72:function(t,e,n){"use strict";var r=n(73),i=n(64),o=n(18),s=n(11);t.exports=n(44)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},73:function(t,e){t.exports=function(){}},74:function(t,e,n){var r=n(22)("meta"),i=n(10),o=n(6),s=n(8).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(12)(function(){return u(Object.preventExtensions({}))}),f=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},p=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},h=function(t){return c&&v.NEED&&u(t)&&!o(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},75:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(84),o=r(i),s=n(86),a=r(s),u="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===u(o.default)?function(t){return void 0===t?"undefined":u(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":u(t)}},76:function(t,e,n){t.exports={default:n(90),__esModule:!0}},77:function(t,e,n){var r=n(26);t.exports=Array.isArray||function(t){return"Array"==r(t)}},78:function(t,e,n){var r=n(0),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},79:function(t,e,n){n(80),t.exports=n(0).Object.assign},8:function(t,e,n){var r=n(9),i=n(48),o=n(34),s=Object.defineProperty;e.f=n(5)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},80:function(t,e,n){var r=n(13);r(r.S+r.F,"Object",{assign:n(81)})},81:function(t,e,n){"use strict";var r=n(5),i=n(14),o=n(35),s=n(24),a=n(23),u=n(47),c=Object.assign;t.exports=!c||n(12)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=a(t),c=arguments.length,f=1,l=o.f,p=s.f;c>f;)for(var h,v=u(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:c},82:function(t,e,n){var r=n(14),i=n(35),o=n(24);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},83:function(t,e,n){var r=n(24),i=n(21),o=n(11),s=n(34),a=n(6),u=n(48),c=Object.getOwnPropertyDescriptor;e.f=n(5)?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},84:function(t,e,n){t.exports={default:n(85),__esModule:!0}},85:function(t,e,n){n(52),n(55),t.exports=n(36).f("iterator")},86:function(t,e,n){t.exports={default:n(87),__esModule:!0}},87:function(t,e,n){n(54),n(61),n(88),n(89),t.exports=n(0).Symbol},88:function(t,e,n){n(37)("asyncIterator")},89:function(t,e,n){n(37)("observable")},9:function(t,e,n){var r=n(10);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},90:function(t,e,n){n(91),t.exports=n(0).Object.keys},91:function(t,e,n){var r=n(23),i=n(14);n(56)("keys",function(){return function(t){return i(r(t))}})},92:function(t,e,n){t.exports={default:n(93),__esModule:!0}},93:function(t,e,n){n(94);var r=n(0).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},94:function(t,e,n){n(56)("getOwnPropertyNames",function(){return n(53).f})},95:function(t,e,n){t.exports={default:n(96),__esModule:!0}},96:function(t,e,n){n(54),t.exports=n(0).Object.getOwnPropertySymbols},97:function(t,e,n){"use strict";function r(t){var e={},n={},r={};for(var u in t)if(t.hasOwnProperty(u))if(-1!==a.indexOf(u))e[u]=t[u];else if(s.test(u)){var c=s.exec(u)[1];c=Object(o.a)(c),r[c]=t[u]}else n[u]=t[u];return e.on=Object(i.a)(r,e.on),e.props=Object(i.a)(n,e.props),e}e.a=r;var i=n(62),o=n(98),s=new RegExp(/^on(.+)/),a=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},98:function(t,e,n){"use strict";function r(t,e){var n=u(t,e);return n.charAt(0).toLowerCase()+n.slice(1)}e.a=r;var i=n(28),o=n.n(i),s=n(4),a=function(t){for(var e=!1,n=!1,r=!1,i=0;i<t.length;i++){var o=t[i];e&&/[a-zA-Z]/.test(o)&&o.toUpperCase()===o?(t=t.slice(0,i)+"-"+t.slice(i),e=!1,r=n,n=!0,i++):n&&r&&/[a-zA-Z]/.test(o)&&o.toLowerCase()===o?(t=t.slice(0,i-1)+"-"+t.slice(i-1),r=n,n=!1,e=!0):(e=o.toLowerCase()===o&&o.toUpperCase()!==o,r=n,n=o.toUpperCase()===o&&o.toLowerCase()!==o)}return t},u=function(t,e){if("string"!=typeof t&&!Object(s.o)(t))throw new TypeError("Expected the input to be `string | string[]`");e=o()({pascalCase:!1},e);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?e.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=a(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return e.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},99:function(t,e,n){"use strict";function r(t,e,n,r){var o=void 0,s=void 0,a=new t({render:function(t){var n=s&&s(t);return n&&!Object(i.o)(n)&&(n=[n]),t(e,o,n||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return a.updateRenderData=function(t,e){o=t,s=e},a.updateRenderData(n,r),a.$mount(),a.init(),a.$children[0]}e.a=r;var i=n(4)}})});
|
package/lib/Signature/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.errtips[data-v-31195bd6]{position:fixed;left:50%;top:45%;-webkit-transform:translate3d(-45%,-50%,0);transform:translate3d(-45%,-50%,0);background:rgba(0,0,0,.8);color:#fff;padding:10px 20px;font-size:15px;border-radius:7px;-webkit-animation:move-data-v-31195bd6 .3s ease-in-out;animation:move-data-v-31195bd6 .3s ease-in-out}@-webkit-keyframes move-data-v-31195bd6{0%{opacity:0}to{opacity:1}}@keyframes move-data-v-31195bd6{0%{opacity:0}to{opacity:1}}.act-gold-popup-move-enter[data-v-31195bd6],.act-gold-popup-move-leave-to[data-v-31195bd6]{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.act-gold-popup-move-enter-active[data-v-31195bd6],.act-gold-popup-move-leave-active[data-v-31195bd6]{-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.act-signature-wrap[data-v-31195bd6]{position:fixed;top:0;left:0;bottom:0;right:0;z-index:100;overflow-y:auto;background:rgba(0,0,0,.7)}.act-signature-box[data-v-31195bd6]{position:fixed;width:100%;bottom:0;height:96%;overflow:auto;border-radius:12px 12px 0 0;background:#f9f9f9}.act-signature-box.isFullScreen[data-v-31195bd6]{height:100%;border-radius:0}.act-signature-box .header[data-v-31195bd6]{position:relative;margin-top:5px;color:#666;text-align:center;font-size:15px;margin-bottom:15px;padding:0 15px}.act-signature-box .canvasBox[data-v-31195bd6]{position:relative;height:calc(88% - 100px);width:94%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border-radius:12px;margin-bottom:60px;box-shadow:0 3px 10px 0 hsla(0,0%,70%,.1)}.act-signature-box .canvasBox .canvas-ins[data-v-31195bd6]{position:absolute;left:0;right:0;top:0;bottom:0;border:1px solid #f5f5f5;border-radius:12px;display:block}.act-signature-box .ctrl[data-v-31195bd6]{position:fixed;bottom:0;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;background:#f9f9f9;padding:8px 3% 18px;height:74px;font-size:16px}.act-signature-box .ctrl .clearBtn[data-v-31195bd6]{height:48px;line-height:48px;border:2px solid #f5f5f5;width:40%;text-align:center;background:#fff;color:#999;border-radius:5px}.act-signature-box .ctrl .saveBtn[data-v-31195bd6]{color:#fff;height:46px;line-height:46px;margin-left:14px;-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:center;border-radius:5px}.header-box[data-v-31195bd6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:relative;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:48px;background:-webkit-linear-gradient(top,#fff,#f9f9f9);background:linear-gradient(180deg,#fff,#f9f9f9)}.header-box .text[data-v-31195bd6]{color:#333;font-weight:700;font-size:18px}.header-box .close[data-v-31195bd6]{position:absolute;right:5px;width:25px;height:25px;border-radius:50%;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.header-box .close[data-v-31195bd6]:after,.header-box .close[data-v-31195bd6]:before{content:"";background-color:#b5b8bd;position:absolute;border-radius:2px}.header-box .close[data-v-31195bd6]:before{width:18px;height:2px;left:50%;top:50%;margin-left:-9px;margin-top:-1px}.header-box .close[data-v-31195bd6]:after{width:2px;height:18px;left:50%;top:50%;margin-left:-1px;margin-top:-9px}.act-signature-horizontal-box[data-v-31195bd6]{position:fixed;width:100%;bottom:0;height:96%;overflow:auto;border-radius:12px 12px 0 0;background:#fff}.act-signature-horizontal-box.isFullScreen[data-v-31195bd6]{height:100%;border-radius:0}.act-signature-horizontal-box .act-signature-content[data-v-31195bd6]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;height:98%;padding:20px 6px 0 16px}.act-signature-horizontal-box .act-signature-content .content-left[data-v-31195bd6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.act-signature-horizontal-box .act-signature-content .content-left .signature-title[data-v-31195bd6]{font-size:16px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;text-align:center;
|
|
1
|
+
.errtips[data-v-31195bd6]{position:fixed;left:50%;top:45%;-webkit-transform:translate3d(-45%,-50%,0);transform:translate3d(-45%,-50%,0);background:rgba(0,0,0,.8);color:#fff;padding:10px 20px;font-size:15px;border-radius:7px;-webkit-animation:move-data-v-31195bd6 .3s ease-in-out;animation:move-data-v-31195bd6 .3s ease-in-out}@-webkit-keyframes move-data-v-31195bd6{0%{opacity:0}to{opacity:1}}@keyframes move-data-v-31195bd6{0%{opacity:0}to{opacity:1}}.act-gold-popup-move-enter[data-v-31195bd6],.act-gold-popup-move-leave-to[data-v-31195bd6]{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.act-gold-popup-move-enter-active[data-v-31195bd6],.act-gold-popup-move-leave-active[data-v-31195bd6]{-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.act-signature-wrap[data-v-31195bd6]{position:fixed;top:0;left:0;bottom:0;right:0;z-index:100;overflow-y:auto;background:rgba(0,0,0,.7)}.act-signature-box[data-v-31195bd6]{position:fixed;width:100%;bottom:0;height:96%;overflow:auto;border-radius:12px 12px 0 0;background:#f9f9f9}.act-signature-box.isFullScreen[data-v-31195bd6]{height:100%;border-radius:0}.act-signature-box .header[data-v-31195bd6]{position:relative;margin-top:5px;color:#666;text-align:center;font-size:15px;margin-bottom:15px;padding:0 15px}.act-signature-box .canvasBox[data-v-31195bd6]{position:relative;height:calc(88% - 100px);width:94%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border-radius:12px;margin-bottom:60px;box-shadow:0 3px 10px 0 hsla(0,0%,70%,.1)}.act-signature-box .canvasBox .canvas-ins[data-v-31195bd6]{position:absolute;left:0;right:0;top:0;bottom:0;border:1px solid #f5f5f5;border-radius:12px;display:block}.act-signature-box .ctrl[data-v-31195bd6]{position:fixed;bottom:0;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;background:#f9f9f9;padding:8px 3% 18px;height:74px;font-size:16px}.act-signature-box .ctrl .clearBtn[data-v-31195bd6]{height:48px;line-height:48px;border:2px solid #f5f5f5;width:40%;text-align:center;background:#fff;color:#999;border-radius:5px}.act-signature-box .ctrl .saveBtn[data-v-31195bd6]{color:#fff;height:46px;line-height:46px;margin-left:14px;-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:center;border-radius:5px}.header-box[data-v-31195bd6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:relative;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:48px;background:-webkit-linear-gradient(top,#fff,#f9f9f9);background:linear-gradient(180deg,#fff,#f9f9f9)}.header-box .text[data-v-31195bd6]{color:#333;font-weight:700;font-size:18px}.header-box .close[data-v-31195bd6]{position:absolute;right:5px;width:25px;height:25px;border-radius:50%;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.header-box .close[data-v-31195bd6]:after,.header-box .close[data-v-31195bd6]:before{content:"";background-color:#b5b8bd;position:absolute;border-radius:2px}.header-box .close[data-v-31195bd6]:before{width:18px;height:2px;left:50%;top:50%;margin-left:-9px;margin-top:-1px}.header-box .close[data-v-31195bd6]:after{width:2px;height:18px;left:50%;top:50%;margin-left:-1px;margin-top:-9px}.act-signature-horizontal-box[data-v-31195bd6]{position:fixed;width:100%;bottom:0;height:96%;overflow:auto;border-radius:12px 12px 0 0;background:#fff}.act-signature-horizontal-box.isFullScreen[data-v-31195bd6]{height:100%;border-radius:0}.act-signature-horizontal-box .act-signature-content[data-v-31195bd6]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;height:98%;padding:20px 6px 0 16px}.act-signature-horizontal-box .act-signature-content .content-left[data-v-31195bd6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.act-signature-horizontal-box .act-signature-content .content-left .signature-text[data-v-31195bd6]{display:-webkit-box;display:-webkit-flex;display:flex;height:100%;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse;overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.act-signature-horizontal-box .act-signature-content .content-left .signature-title[data-v-31195bd6]{font-size:16px;font-weight:400;color:#666}.act-signature-horizontal-box .act-signature-content .content-left .signature-tip[data-v-31195bd6],.act-signature-horizontal-box .act-signature-content .content-left .signature-title[data-v-31195bd6]{width:20px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;text-align:center;-webkit-flex-shrink:0;flex-shrink:0}.act-signature-horizontal-box .act-signature-content .content-left .signature-tip[data-v-31195bd6]{color:#8f93a0;font-size:12px}.act-signature-horizontal-box .act-signature-content .content-left .ctrl .backBtn[data-v-31195bd6]{width:40px;height:140px;background:#fff;border-radius:22px;border:1px solid #f5f5f5;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:10px}.act-signature-horizontal-box .act-signature-content .content-left .ctrl .backBtn .backBtnText[data-v-31195bd6]{font-size:16px;font-weight:400;color:#666}.act-signature-horizontal-box .act-signature-content .content-left .ctrl .saveBtn[data-v-31195bd6]{width:40px;height:140px;border-radius:22px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.act-signature-horizontal-box .act-signature-content .content-left .ctrl .saveBtn .saveBtnText[data-v-31195bd6]{font-size:16px;font-weight:400;color:#fff}.act-signature-horizontal-box .act-signature-content .content-right[data-v-31195bd6]{width:100%;overflow:auto}.act-signature-horizontal-box .act-signature-content .content-right .canvasBox[data-v-31195bd6]{position:relative;height:100%;width:94%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border-radius:12px;box-shadow:0 3px 10px 0 hsla(0,0%,70%,.1)}.act-signature-horizontal-box .act-signature-content .content-right .canvasBox .canvas-ins[data-v-31195bd6]{position:absolute;left:0;right:0;top:0;bottom:0;border:1px solid #f5f5f5;border-radius:12px;display:block}.act-signature-horizontal-box .act-signature-content .content-right .canvasBox .clearBtn[data-v-31195bd6]{position:absolute;bottom:14px;right:14px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;z-index:999;width:34px;height:87px;border-radius:17px;background:#000;opacity:.62}.act-signature-horizontal-box .act-signature-content .content-right .canvasBox .clearBtn .clearBtnText[data-v-31195bd6]{font-size:14px;font-family:AlibabaPuHuiTiB;color:#fff}.act-signature-horizontal-box .errtips[data-v-31195bd6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.vertical-text[data-v-31195bd6]{-webkit-writing-mode:vertical-rl;writing-mode:vertical-rl;text-orientation:upright;-webkit-transform:rotate(90deg);transform:rotate(90deg);line-height:23px}
|