w-vue-dusion-keyboard-master
Version:
基于vue.js的web键盘,支持离线模式。
2 lines • 85.7 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("VueDusionKeyboard",[],e):"object"==typeof exports?exports.VueDusionKeyboard=e():t.VueDusionKeyboard=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},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="/dist/",e(e.s=5)}([function(t,e){function n(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var a=i(r);return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([a]).join("\n")}return[n].join("\n")}function i(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=n(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(i[a]=!0)}for(r=0;r<t.length;r++){var o=t[r];"number"==typeof o[0]&&i[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),e.push(o))}},e}},function(t,e,n){function i(t){for(var e=0;e<t.length;e++){var n=t[e],i=d[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(a(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{for(var o=[],r=0;r<n.parts.length;r++)o.push(a(n.parts[r]));d[n.id]={id:n.id,refs:1,parts:o}}}}function r(){var t=document.createElement("style");return t.type="text/css",h.appendChild(t),t}function a(t){var e,n,i=document.querySelector("style["+v+'~="'+t.id+'"]');if(i){if(p)return y;i.parentNode.removeChild(i)}if(g){var a=f++;i=l||(l=r()),e=o.bind(null,i,a,!1),n=o.bind(null,i,a,!0)}else i=r(),e=s.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}function o(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,r);else{var a=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}function s(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),m.ssrId&&t.setAttribute(v,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u=n(10),d={},h=c&&(document.head||document.getElementsByTagName("head")[0]),l=null,f=0,p=!1,y=function(){},m=null,v="data-vue-ssr-id",g="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n,r){p=n,m=r||{};var a=u(t,e);return i(a),function(e){for(var n=[],r=0;r<a.length;r++){var o=a[r],s=d[o.id];s.refs--,n.push(s)}e?(a=u(t,e),i(a)):a=[];for(var r=0;r<n.length;r++){var s=n[r];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete d[s.id]}}}};var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t,e,n,i,r,a){var o,s=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(o=t,s=t.default);var u="function"==typeof s?s.options:s;e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r);var d;if(a?(d=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(a)},u._ssrRegister=d):i&&(d=i),d){var h=u.functional,l=h?u.render:u.beforeCreate;h?(u._injectStyles=d,u.render=function(t,e){return d.call(e),l(t,e)}):u.beforeCreate=l?[].concat(l,d):[d]}return{esModule:o,exports:s,options:u}}},function(t,e,n){"use strict";var i=n(11),r=n(12),a=n(13);e.a={name:"vue-dusion-keyboard",mounted:function(){var t=this;this.window&&(window.$show_keyboard=this.show_keyboard,window.$hide_keyboard=this.hide_keyboard),window.sign_up_keyboard=this.sign_up_keyboard,this.$nextTick(function(){t.sign_up_keyboard()})},components:{paint:a.a},props:{size:{type:String,default:"primary"},window:{type:Boolean,default:!1},hand:{type:Boolean,default:!1},float:{type:Boolean,default:!1},all:{type:Boolean,default:!1},blurHide:{type:Boolean,default:!0},EnterActiveClass:{type:String,default:"fadeInUp"},LeaveActiveClass:{type:String,default:"fadeOutDown"},HandWriteApi:[String]},data:function(){return{st:"",show:!1,input_top:0,input:"",def_mode:"cn",old_mode:"en_cap",main_width:0,main_height:0,number_keys:i.a.number,cn_input:"",cn_list_str:"",l_min:0,l_max:10,handLib:"CN"}},computed:{number_keys2:function(){return"num"===this.mode?i.a.number2:i.a.biaodian},letter_keys:function(){return"en_cap"===this.mode?i.a.cap_letter:i.a.letter},cn_list:function(){return this.cn_list_str?this.cn_list_str.split(""):[]},cut_cn_list:function(){return this.cn_list.slice(this.l_min,this.l_max)},mode:{get:function(){return this.def_mode},set:function(t){var e=this;this.old_mode=this.mode,("hand"!=t||this.hand)&&(this.def_mode=t,"hand"==t&&this.$nextTick(function(){e.main_width=e.$refs.my_keyboard.offsetWidth,e.main_height=e.$refs.my_keyboard.offsetHeight}))}}},methods:{sign_up_keyboard:function(){var t=this;document.querySelectorAll("input").forEach(function(e){(t.all||e.dataset.mode)&&(e.addEventListener("focus",t.show_keyboard),t.blurHide&&e.addEventListener("blur",t.hide_keyboard))})},getZoom:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e*=t.style.zoom||window.getComputedStyle(t,null).zoom||1,!n)for(var i=t.children,r=0;r<i.length;r++)this.$el!=i[r]||(n=!0);if(t.parentNode==document)return e;if(n){if("relative"==(t.style.position||window.getComputedStyle(t,null).position))return e}return this.getZoom(t.parentNode,e)},show_keyboard:function(t){if(this.input=t.target,this.show=!0,this.mode=t.target.dataset.mode,this.input&&this.float){var e=this.input.getBoundingClientRect(),n=document.documentElement.scrollTop,i=this.getZoom(this.input),r=(e.y+e.height+10+n)*i;this.st={position:"absolute",left:"0","z-index":"10",top:r+"px"}}},hide_keyboard:function(t){this.all&&t.relatedTarget&&"INPUT"==t.relatedTarget.tagName||t.relatedTarget&&t.relatedTarget.dataset.mode||(this.show=!1)},UpdateBound:function(){this.$refs.paint&&this.$refs.paint.UpdateBound()},HideKey:function(t){this.show=!1,this.input.blur()},mousedown:function(t){t.preventDefault()},HandText:function(t){if(this.input===document.activeElement){var e=this.input.selectionStart;this.input.value=this.insertString(this.input.value,t,e),this.TheEnd(e+1),this.input.dispatchEvent(new Event("input",{bubbles:!0}))}},clickKey:function(t,e,n){if(this.input===document.activeElement){var i=this.input.selectionStart;if(t.preventDefault(),"cn"!==this.mode||n)this.input.value=this.insertString(this.input.value,e,i),this.TheEnd(i+1);else{this.cn_input+=e,this.l_min=0,this.l_max=10;var a=new RegExp("^"+this.cn_input+"\\w*"),o=Object.keys(r.a).filter(function(t){return a.test(t)}).sort();this.cn_list_str=o.length>1?o.reduce(function(t,e){return t+r.a[e]},""):r.a[o[0]]}this.input.dispatchEvent(new Event("input",{bubbles:!0}))}},clickNumber:function(t,e){if(this.input===document.activeElement){var n=this.input.selectionStart;t.preventDefault(),"cn"===this.mode&&""!==this.cn_input?(this.input.value+=this.cut_cn_list[parseInt(e)-1],this.cn_input="",this.cn_list_str=""):(this.input.value=this.insertString(this.input.value,e,n),this.TheEnd(n+1)),this.input.dispatchEvent(new Event("input",{bubbles:!0}))}},clickCN:function(t,e){var n=this.input.selectionStart;t.preventDefault(),this.input.value=this.insertString(this.input.value,e,n),this.cn_input="",this.cn_list_str="",this.input.dispatchEvent(new Event("input",{bubbles:!0})),this.TheEnd(n+1)},del:function(){if(this.input===document.activeElement){var t=this.input.selectionStart;"cn"===this.mode&&""!==this.cn_input?(this.cn_input=this.delStringLast(this.cn_input,this.cn_input.length-1),this.l_min=0,this.l_max=10,this.cn_list_str=r.a[this.cn_input]):(this.input.value=this.delStringLast(this.input.value,t-1),this.TheEnd(t-1)),this.input.dispatchEvent(new Event("input",{bubbles:!0}))}},insertString:function(t,e,n){var i=t.split("");return i.splice(n,0,e),i.join("")},delStringLast:function(t,e){var n=t.split("");return n[e]="",n.join("")},TheEnd:function(t){this.input.selectionStart=t,this.input.selectionEnd=t},cap_change:function(){"cn"!==this.mode&&(this.mode="en_cap"===this.mode?"en_let":"en_cap")},cn_change:function(){this.mode="cn"===this.mode?"en_cap":"cn",this.cn_input="",this.cn_list_str=""},num_change:function(){this.mode="num"},bd_change:function(){this.mode="biaodian"},Fanhui:function(){this.mode=this.old_mode},previous_page:function(){this.l_min>0&&(this.l_min=this.l_min-10,this.l_max=this.l_max-10)},next_page:function(){this.cn_list.length>this.l_max&&(this.l_min+=10,this.l_max+=10)}}}},function(t,e,n){"use strict";var i=n(16);e.a={mounted:function(){this.handWrite=Object(i.a)(this.HandWriteApi),this.handWrite.createLib(this.lib);var t=this;this.$nextTick(function(){t.ctx=t.$refs.canvas.getContext("2d"),t.Reload(),t.UpdateBound(),window.addEventListener("scroll",t.UpdateBound)}),this.write_result=[]},beforeDestroy:function(){window.removeEventListener("scroll",this.UpdateBound)},props:{size:String,p_width:[String,Number],p_height:[String,Number],lib:{type:String,default:"CN"},HandWriteApi:[String]},data:function(){return{handWrite:"",write_result_temp:[],isClick:!1,clickX:[],clickY:[],clickC:[],X:0,Y:0,old_X:0,old_Y:0,tiemr:0,ctx:null}},computed:{write_result:{get:function(){return this.write_result_temp},set:function(t){var e=t.length;if(e<12)for(var n=0;n<12-e;n++)t.push("");else if(e>12)for(var i=0;i<e-12;i++)t.pop();this.write_result_temp=[t.slice(0,3),t.slice(3,6),t.slice(6,9),t.slice(9,12)]}}},watch:{lib:function(t){this.handWrite.createLib(t)}},methods:{UpdateBound:function(){var t=this.$refs.canvas.getBoundingClientRect();this.X=t.x,this.Y=t.y},Down:function(t){var e=parseInt((t.clientX||t.targetTouches[0].clientX)-this.X),n=parseInt((t.clientY||t.targetTouches[0].clientY)-this.Y);clearTimeout(this.timer),this.old_X=e,this.old_Y=n,this.$refs.canvas.getContext("2d").beginPath(),this.isClick=!0},Move:function(t){if(t.preventDefault(),this.isClick){var e=parseInt((t.clientX||t.targetTouches[0].clientX)-this.X),n=parseInt((t.clientY||t.targetTouches[0].clientY)-this.Y);this.clickX.push(e),this.clickY.push(n),this.clickC.push(0);var i=this.$refs.canvas.getContext("2d");i.strokeStyle="#000",i.fillStyle="#000",i.lineWidth=8,i.lineCap="round",i.moveTo(this.old_X,this.old_Y),i.lineTo(e,n),i.stroke(),this.old_X=e,this.old_Y=n}},Mouseup:function(t){if(this.isClick){this.isClick=!1;var e=this;this.timer=setTimeout(function(){e.Reload()},1500),this.clickC.pop(),this.clickC.push(1),this.GetText()}},Leave:function(t){if(this.isClick){this.isClick=!1;var e=this;this.timer=setTimeout(function(){e.Reload()},1e3),this.clickC.pop(),this.clickC.push(1),this.GetText()}},Reload:function(){if(this.$refs.canvas){this.clickX=[],this.clickY=[],this.clickC=[];var t=this.$refs.canvas.getContext("2d");t.clearRect(0,0,this.p_width,this.p_height),t.fillStyle="rgba(238,111,111,0.2)",t.font="bold 100px Arial",t.textAlign="center",t.textBaseline="middle",t.fillText("手写区域",this.$refs.canvas.width/2,this.$refs.canvas.height/2,[1e3]),t.setLineDash([5,5]),t.lineWidth=2,t.strokeStyle="#aaa",t.beginPath(),t.moveTo(0,this.$refs.canvas.height/2),t.lineTo(this.$refs.canvas.width,this.$refs.canvas.height/2),t.stroke(),t.moveTo(this.$refs.canvas.width/2,0),t.lineTo(this.$refs.canvas.width/2,this.$refs.canvas.height),t.stroke(),t.setLineDash([0,0])}},GetText:function(){var t=this;this.handWrite.GetWords(this.clickX,this.clickY,this.clickC).then(function(e){t.write_result=e.data||e}).catch(function(t){console.error(t)})},Select:function(t){this.$emit("SelectText",t),this.write_result=[],this.Reload(),clearTimeout(this.timer)}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),r={install:function(t,e){t.component("VueDusionKeyboard",i.a)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(r),e.default=r},function(t,e,n){"use strict";function i(t){n(7)}var r=n(3),a=n(25),o=n(2),s=i,c=o(r.a,a.a,!1,s,"data-v-c962dc14",null);e.a=c.exports},function(t,e,n){var i=n(8);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(1)("74e4b66c",i,!0,{})},function(t,e,n){e=t.exports=n(0)(!1),e.i(n(9),""),e.push([t.i,".my-keyboard__primary[data-v-c962dc14]{min-width:1330px}.my-keyboard__primary .pinyin>div[data-v-c962dc14],.my-keyboard__primary .select-list>div[data-v-c962dc14]{width:1330px}.my-keyboard__primary .main-keyboard .key[data-v-c962dc14]{width:100px}.my-keyboard__primary .main-keyboard .key+.key[data-v-c962dc14]{margin-left:28px}.my-keyboard__primary .main-keyboard .number-box[data-v-c962dc14]{width:776px}.my-keyboard__primary .main-keyboard .number-box[data-v-c962dc14]:nth-last-of-type(3n){margin-left:0}.my-keyboard__primary .main-keyboard .del-box[data-v-c962dc14]{width:296px}.my-keyboard__primary .main-keyboard .del-box .key_hide[data-v-c962dc14],.my-keyboard__primary .main-keyboard .number[data-v-c962dc14]{width:240px}.my-keyboard__primary .main-keyboard .space[data-v-c962dc14]{width:416px}.keyboard-paint__primary .result-table td[data-v-c962dc14]{width:110px}.my-keyboard__mini[data-v-c962dc14]{min-width:1080px}.my-keyboard__mini .pinyin>div[data-v-c962dc14],.my-keyboard__mini .select-list>div[data-v-c962dc14]{width:1080px}.my-keyboard__mini .main-keyboard .key[data-v-c962dc14]{width:90px}.my-keyboard__mini .main-keyboard .key+.key[data-v-c962dc14]{margin-left:16px}.my-keyboard__mini .main-keyboard .number-box[data-v-c962dc14]{width:632px}.my-keyboard__mini .main-keyboard .number-box[data-v-c962dc14]:nth-last-of-type(3n){margin-left:0}.my-keyboard__mini .main-keyboard .del-box[data-v-c962dc14]{width:232px}.my-keyboard__mini .main-keyboard .del-box .key_hide[data-v-c962dc14],.my-keyboard__mini .main-keyboard .number[data-v-c962dc14]{width:200px}.my-keyboard__mini .main-keyboard .space[data-v-c962dc14]{width:338px}.keyboard-paint__mini .result-table td[data-v-c962dc14]{width:90px}i[data-v-c962dc14]{font-style:normal}.num-del>svg[data-v-c962dc14]{margin-top:10px}.def-del>svg[data-v-c962dc14],.hand-del>svg[data-v-c962dc14]{margin-top:0}.my-keyboard[data-v-c962dc14]{width:100%;font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}.my-keyboard .pinyin>div[data-v-c962dc14],.my-keyboard .select-list>div[data-v-c962dc14]{margin:0 auto}.my-keyboard .pinyin[data-v-c962dc14]{height:30px;background:#fff;border:1px solid #d1d1d1;padding:0 20px;text-align:left}.my-keyboard .pinyin>div span[data-v-c962dc14]{font-size:20px;line-height:30px;font-weight:700}.my-keyboard .select-list[data-v-c962dc14]{height:50px;background:#fff;border:1px solid #d1d1d1;border-top:none;padding:0;text-align:left}.my-keyboard .select-list>div[data-v-c962dc14]{position:relative}.my-keyboard .select-list .select-text[data-v-c962dc14]{cursor:pointer;line-height:50px;font-size:24px;font-weight:700}.my-keyboard .select-list .select-text+.select-text[data-v-c962dc14]{margin-left:48px}.my-keyboard .select-list .page[data-v-c962dc14]{position:absolute;top:0;right:30px;width:120px;height:50px}.my-keyboard .select-list .page .previous[data-v-c962dc14]{transform:scaleX(2) rotate(180deg)}.my-keyboard .select-list .page>p[data-v-c962dc14]{margin-top:0;margin-bottom:0;display:inline-block;text-align:center;transform:scaleX(2);width:30px;height:48px;line-height:48px;background:#344a5d;color:#fff;border:1px solid #d6d6d6;border-radius:5px;cursor:pointer}.my-keyboard .select-list .page>p[data-v-c962dc14]:active{background:#fff;color:#344a5d}.my-keyboard .select-list .page>p+p[data-v-c962dc14]{margin-left:30px}.my-keyboard .main-keyboard[data-v-c962dc14]{padding:0 14px;background:#e6e6e6;height:400px}.my-keyboard .main-keyboard .key[data-v-c962dc14]{height:60px;line-height:60px;font-size:24px;font-weight:700;background:#fff;display:inline-block;vertical-align:middle;border-radius:8px;margin-top:14px;box-shadow:1px 1px 2px hsla(0,0%,8%,.3);cursor:pointer}.my-keyboard .main-keyboard .key[data-v-c962dc14]:active{background:#d0d0d0}.my-keyboard .main-keyboard .del-box[data-v-c962dc14],.my-keyboard .main-keyboard .number-box[data-v-c962dc14]{display:inline-block;vertical-align:middle}.my-keyboard .main-keyboard .del-box .key[data-v-c962dc14]{margin-left:0}.my-keyboard .main-keyboard .hand-left-box[data-v-c962dc14]{width:150px;display:inline-block;vertical-align:middle}.my-keyboard .main-keyboard .hand-left-box .key[data-v-c962dc14]{width:140px;margin-left:0;margin-top:20px}.my-keyboard .main-keyboard .hand-left-box .key[data-v-c962dc14]:first-of-type{margin-top:0}.my-keyboard .main-keyboard .number[data-v-c962dc14]{height:80px;font-size:60px;line-height:80px}.my-keyboard .main-keyboard .number[data-v-c962dc14]:nth-last-of-type(3n){margin-left:0}.my-keyboard .main-keyboard .cap_change[data-v-c962dc14]{width:140px;color:#fff;background:#344a5d}.my-keyboard .main-keyboard .cap_change[data-v-c962dc14]:active{background:#728fa8}.my-keyboard .main-keyboard .key_hide[data-v-c962dc14]{background:#d6d1d0;width:140px}.my-keyboard .main-keyboard .key_hide>.jp[data-v-c962dc14]{height:60px;display:inline-block;vertical-align:middle}.my-keyboard .main-keyboard .key_hide>span[data-v-c962dc14]{padding-left:10px;font-size:20px;line-height:18px;display:inline-block;vertical-align:middle}.my-keyboard .main-keyboard .blue[data-v-c962dc14]{color:#fff;background:#344a5d}.my-keyboard .main-keyboard .blue[data-v-c962dc14]:active{background:#728fa8}.my-keyboard .main-keyboard .red[data-v-c962dc14]{color:#fff;background:#f56c6c}.my-keyboard .main-keyboard .red[data-v-c962dc14]:active{background:#f89e9e}",""])},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,"@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s}",""])},function(t,e){t.exports=function(t,e){for(var n=[],i={},r=0;r<e.length;r++){var a=e[r],o=a[0],s=a[1],c=a[2],u=a[3],d={id:t+":"+r,css:s,media:c,sourceMap:u};i[o]?i[o].parts.push(d):n.push(i[o]={id:o,parts:[d]})}return n}},function(t,e,n){"use strict";e.a={number2:["1","2","3","4","5","6","7","8","9","X","0","."],biaodian:["@","#","$","¥","%","*","(",")","/",".","-",","],number:["1","2","3","4","5","6","7","8","9","0"],letter:["q","w","e","r","t","y","u","i","o","p","a","s","d","f","g","h","j","k","l","z","x","c","v","b","n","m"],cap_letter:["Q","W","E","R","T","Y","U","I","O","P","A","S","D","F","G","H","J","K","L","Z","X","C","V","B","N","M"]}},function(t,e,n){"use strict";var i={a:"阿啊呵腌嗄吖锕",e:"额阿俄恶鹅遏鄂厄饿峨扼娥鳄哦蛾噩愕讹锷垩婀鹗萼谔莪腭锇颚呃阏屙苊轭",ai:"爱埃艾碍癌哀挨矮隘蔼唉皑哎霭捱暧嫒嗳瑷嗌锿砹",ei:"诶",xi:"系西席息希习吸喜细析戏洗悉锡溪惜稀袭夕洒晰昔牺腊烯熙媳栖膝隙犀蹊硒兮熄曦禧嬉玺奚汐徙羲铣淅嘻歙熹矽蟋郗唏皙隰樨浠忾蜥檄郄翕阋鳃舾屣葸螅咭粞觋欷僖醯鼷裼穸饩舄禊诶菥蓰",yi:"一以已意议义益亿易医艺食依移衣异伊仪宜射遗疑毅谊亦疫役忆抑尾乙译翼蛇溢椅沂泄逸蚁夷邑怡绎彝裔姨熠贻矣屹颐倚诣胰奕翌疙弈轶蛾驿壹猗臆弋铱旖漪迤佚翊诒怿痍懿饴峄揖眙镒仡黟肄咿翳挹缢呓刈咦嶷羿钇殪荑薏蜴镱噫癔苡悒嗌瘗衤佾埸圯舣酏劓",an:"安案按岸暗鞍氨俺胺铵谙庵黯鹌桉埯犴揞厂广",han:"厂汉韩含旱寒汗涵函喊憾罕焊翰邯撼瀚憨捍酣悍鼾邗颔蚶晗菡旰顸犴焓撖",ang:"昂仰盎肮",ao:"奥澳傲熬凹鳌敖遨鏖袄坳翱嗷拗懊岙螯骜獒鏊艹媪廒聱",wa:"瓦挖娃洼袜蛙凹哇佤娲呙腽",yu:"于与育余预域予遇奥语誉玉鱼雨渔裕愈娱欲吁舆宇羽逾豫郁寓吾狱喻御浴愉禹俞邪榆愚渝尉淤虞屿峪粥驭瑜禺毓钰隅芋熨瘀迂煜昱汩於臾盂聿竽萸妪腴圄谕觎揄龉谀俣馀庾妤瘐鬻欤鹬阈嵛雩鹆圉蜮伛纡窬窳饫蓣狳肀舁蝓燠",niu:"牛纽扭钮拗妞忸狃",o:"哦噢喔",ba:"把八巴拔伯吧坝爸霸罢芭跋扒叭靶疤笆耙鲅粑岜灞钯捌菝魃茇",pa:"怕帕爬扒趴琶啪葩耙杷钯筢",pi:"被批副否皮坏辟啤匹披疲罢僻毗坯脾譬劈媲屁琵邳裨痞癖陂丕枇噼霹吡纰砒铍淠郫埤濞睥芘蚍圮鼙罴蜱疋貔仳庀擗甓陴",bi:"比必币笔毕秘避闭佛辟壁弊彼逼碧鼻臂蔽拂泌璧庇痹毙弼匕鄙陛裨贲敝蓖吡篦纰俾铋毖筚荸薜婢哔跸濞秕荜愎睥妣芘箅髀畀滗狴萆嬖襞舭",bai:"百白败摆伯拜柏佰掰呗擘捭稗",bo:"波博播勃拨薄佛伯玻搏柏泊舶剥渤卜驳簿脖膊簸菠礴箔铂亳钵帛擘饽跛钹趵檗啵鹁擗踣",bei:"北被备倍背杯勃贝辈悲碑臂卑悖惫蓓陂钡狈呗焙碚褙庳鞴孛鹎邶鐾",ban:"办版半班般板颁伴搬斑扮拌扳瓣坂阪绊钣瘢舨癍",pan:"判盘番潘攀盼拚畔胖叛拌蹒磐爿蟠泮袢襻丬",bin:"份宾频滨斌彬濒殡缤鬓槟摈膑玢镔豳髌傧",bang:"帮邦彭旁榜棒膀镑绑傍磅蚌谤梆浜蒡",pang:"旁庞乓磅螃彷滂逄耪",beng:"泵崩蚌蹦迸绷甭嘣甏堋",bao:"报保包宝暴胞薄爆炮饱抱堡剥鲍曝葆瀑豹刨褒雹孢苞煲褓趵鸨龅勹",bu:"不部步布补捕堡埔卜埠簿哺怖钚卟瓿逋晡醭钸",pu:"普暴铺浦朴堡葡谱埔扑仆蒲曝瀑溥莆圃璞濮菩蹼匍噗氆攵镨攴镤",mian:"面棉免绵缅勉眠冕娩腼渑湎沔黾宀眄",po:"破繁坡迫颇朴泊婆泼魄粕鄱珀陂叵笸泺皤钋钷",fan:"反范犯繁饭泛翻凡返番贩烦拚帆樊藩矾梵蕃钒幡畈蘩蹯燔",fu:"府服副负富复福夫妇幅付扶父符附腐赴佛浮覆辅傅伏抚赋辐腹弗肤阜袱缚甫氟斧孚敷俯拂俘咐腑孵芙涪釜脯茯馥宓绂讣呋罘麸蝠匐芾蜉跗凫滏蝮驸绋蚨砩桴赙菔呒趺苻拊阝鲋怫稃郛莩幞祓艴黻黼鳆",ben:"本体奔苯笨夯贲锛畚坌",feng:"风丰封峰奉凤锋冯逢缝蜂枫疯讽烽俸沣酆砜葑唪",bian:"变便边编遍辩鞭辨贬匾扁卞汴辫砭苄蝙鳊弁窆笾煸褊碥忭缏",pian:"便片篇偏骗翩扁骈胼蹁谝犏缏",zhen:"镇真针圳振震珍阵诊填侦臻贞枕桢赈祯帧甄斟缜箴疹砧榛鸩轸稹溱蓁胗椹朕畛浈",biao:"表标彪镖裱飚膘飙镳婊骠飑杓髟鳔灬瘭",piao:"票朴漂飘嫖瓢剽缥殍瞟骠嘌莩螵",huo:"和活或货获火伙惑霍祸豁嚯藿锪蠖钬耠镬夥灬劐攉",bie:"别鳖憋瘪蹩",min:"民敏闽闵皿泯岷悯珉抿黾缗玟愍苠鳘",fen:"分份纷奋粉氛芬愤粪坟汾焚酚吩忿棼玢鼢瀵偾鲼",bing:"并病兵冰屏饼炳秉丙摒柄槟禀枋邴冫",geng:"更耕颈庚耿梗埂羹哽赓绠鲠",fang:"方放房防访纺芳仿坊妨肪邡舫彷枋鲂匚钫",xian:"现先县见线限显险献鲜洗宪纤陷闲贤仙衔掀咸嫌掺羡弦腺痫娴舷馅酰铣冼涎暹籼锨苋蚬跹岘藓燹鹇氙莶霰跣猃彡祆筅",fou:"不否缶",ca:"拆擦嚓礤",cha:"查察差茶插叉刹茬楂岔诧碴嚓喳姹杈汊衩搽槎镲苴檫馇锸猹",cai:"才采财材菜彩裁蔡猜踩睬",can:"参残餐灿惨蚕掺璨惭粲孱骖黪",shen:"信深参身神什审申甚沈伸慎渗肾绅莘呻婶娠砷蜃哂椹葚吲糁渖诜谂矧胂",cen:"参岑涔",san:"三参散伞叁糁馓毵",cang:"藏仓苍沧舱臧伧",zang:"藏脏葬赃臧奘驵",chen:"称陈沈沉晨琛臣尘辰衬趁忱郴宸谌碜嗔抻榇伧谶龀肜",cao:"草操曹槽糙嘈漕螬艚屮",ce:"策测册侧厕栅恻",ze:"责则泽择侧咋啧仄箦赜笮舴昃迮帻",zhai:"债择齐宅寨侧摘窄斋祭翟砦瘵哜",dao:"到道导岛倒刀盗稻蹈悼捣叨祷焘氘纛刂帱忉",ceng:"层曾蹭噌",zha:"查扎炸诈闸渣咋乍榨楂札栅眨咤柞喳喋铡蚱吒怍砟揸痄哳齄",chai:"差拆柴钗豺侪虿瘥",ci:"次此差词辞刺瓷磁兹慈茨赐祠伺雌疵鹚糍呲粢",zi:"资自子字齐咨滋仔姿紫兹孜淄籽梓鲻渍姊吱秭恣甾孳訾滓锱辎趑龇赀眦缁呲笫谘嵫髭茈粢觜耔",cuo:"措错磋挫搓撮蹉锉厝嵯痤矬瘥脞鹾",chan:"产单阐崭缠掺禅颤铲蝉搀潺蟾馋忏婵孱觇廛谄谗澶骣羼躔蒇冁",shan:"山单善陕闪衫擅汕扇掺珊禅删膳缮赡鄯栅煽姗跚鳝嬗潸讪舢苫疝掸膻钐剡蟮芟埏彡骟",zhan:"展战占站崭粘湛沾瞻颤詹斩盏辗绽毡栈蘸旃谵搌",xin:"新心信辛欣薪馨鑫芯锌忻莘昕衅歆囟忄镡",lian:"联连练廉炼脸莲恋链帘怜涟敛琏镰濂楝鲢殓潋裢裣臁奁莶蠊蔹",chang:"场长厂常偿昌唱畅倡尝肠敞倘猖娼淌裳徜昶怅嫦菖鲳阊伥苌氅惝鬯",zhang:"长张章障涨掌帐胀彰丈仗漳樟账杖璋嶂仉瘴蟑獐幛鄣嫜",chao:"超朝潮炒钞抄巢吵剿绰嘲晁焯耖怊",zhao:"着照招找召朝赵兆昭肇罩钊沼嘲爪诏濯啁棹笊",zhou:"调州周洲舟骤轴昼宙粥皱肘咒帚胄绉纣妯啁诌繇碡籀酎荮",che:"车彻撤尺扯澈掣坼砗屮",ju:"车局据具举且居剧巨聚渠距句拒俱柜菊拘炬桔惧矩鞠驹锯踞咀瞿枸掬沮莒橘飓疽钜趄踽遽琚龃椐苣裾榘狙倨榉苴讵雎锔窭鞫犋屦醵",cheng:"成程城承称盛抢乘诚呈净惩撑澄秤橙骋逞瞠丞晟铛埕塍蛏柽铖酲裎枨",rong:"容荣融绒溶蓉熔戎榕茸冗嵘肜狨蝾",sheng:"生声升胜盛乘圣剩牲甸省绳笙甥嵊晟渑眚",deng:"等登邓灯澄凳瞪蹬噔磴嶝镫簦戥",zhi:"制之治质职只志至指织支值知识直致执置止植纸拓智殖秩旨址滞氏枝芝脂帜汁肢挚稚酯掷峙炙栉侄芷窒咫吱趾痔蜘郅桎雉祉郦陟痣蛭帙枳踯徵胝栀贽祗豸鸷摭轵卮轾彘觯絷跖埴夂黹忮骘膣踬",zheng:"政正证争整征郑丁症挣蒸睁铮筝拯峥怔诤狰徵钲",tang:"堂唐糖汤塘躺趟倘棠烫淌膛搪镗傥螳溏帑羰樘醣螗耥铴瑭",chi:"持吃池迟赤驰尺斥齿翅匙痴耻炽侈弛叱啻坻眙嗤墀哧茌豉敕笞饬踟蚩柢媸魑篪褫彳鸱螭瘛眵傺",shi:"是时实事市十使世施式势视识师史示石食始士失适试什泽室似诗饰殖释驶氏硕逝湿蚀狮誓拾尸匙仕柿矢峙侍噬嗜栅拭嘘屎恃轼虱耆舐莳铈谥炻豕鲥饣螫酾筮埘弑礻蓍鲺贳",qi:"企其起期气七器汽奇齐启旗棋妻弃揭枝歧欺骑契迄亟漆戚岂稽岐琦栖缉琪泣乞砌祁崎绮祺祈凄淇杞脐麒圻憩芪伎俟畦耆葺沏萋骐鳍綦讫蕲屺颀亓碛柒啐汔綮萁嘁蛴槭欹芑桤丌蜞",chuai:"揣踹啜搋膪",tuo:"托脱拓拖妥驼陀沱鸵驮唾椭坨佗砣跎庹柁橐乇铊沲酡鼍箨柝",duo:"多度夺朵躲铎隋咄堕舵垛惰哆踱跺掇剁柁缍沲裰哚隳",xue:"学血雪削薛穴靴谑噱鳕踅泶彐",chong:"重种充冲涌崇虫宠忡憧舂茺铳艟",chou:"筹抽绸酬愁丑臭仇畴稠瞅踌惆俦瘳雠帱",qiu:"求球秋丘邱仇酋裘龟囚遒鳅虬蚯泅楸湫犰逑巯艽俅蝤赇鼽糗",xiu:"修秀休宿袖绣臭朽锈羞嗅岫溴庥馐咻髹鸺貅",chu:"出处础初助除储畜触楚厨雏矗橱锄滁躇怵绌搐刍蜍黜杵蹰亍樗憷楮",tuan:"团揣湍疃抟彖",zhui:"追坠缀揣椎锥赘惴隹骓缒",chuan:"传川船穿串喘椽舛钏遄氚巛舡",zhuan:"专转传赚砖撰篆馔啭颛",yuan:"元员院原源远愿园援圆缘袁怨渊苑宛冤媛猿垣沅塬垸鸳辕鸢瑗圜爰芫鼋橼螈眢箢掾",cuan:"窜攒篡蹿撺爨汆镩",chuang:"创床窗闯幢疮怆",zhuang:"装状庄壮撞妆幢桩奘僮戆",chui:"吹垂锤炊椎陲槌捶棰",chun:"春纯醇淳唇椿蠢鹑朐莼肫蝽",zhun:"准屯淳谆肫窀",cu:"促趋趣粗簇醋卒蹴猝蹙蔟殂徂",dun:"吨顿盾敦蹲墩囤沌钝炖盹遁趸砘礅",qu:"区去取曲趋渠趣驱屈躯衢娶祛瞿岖龋觑朐蛐癯蛆苣阒诎劬蕖蘧氍黢蠼璩麴鸲磲",xu:"需许续须序徐休蓄畜虚吁绪叙旭邪恤墟栩絮圩婿戌胥嘘浒煦酗诩朐盱蓿溆洫顼勖糈砉醑",chuo:"辍绰戳淖啜龊踔辶",zu:"组族足祖租阻卒俎诅镞菹",ji:"济机其技基记计系期际及集级几给积极己纪即继击既激绩急奇吉季齐疾迹鸡剂辑籍寄挤圾冀亟寂暨脊跻肌稽忌饥祭缉棘矶汲畸姬藉瘠骥羁妓讥稷蓟悸嫉岌叽伎鲫诘楫荠戟箕霁嵇觊麂畿玑笈犄芨唧屐髻戢佶偈笄跽蒺乩咭赍嵴虮掎齑殛鲚剞洎丌墼蕺彐芰哜",cong:"从丛匆聪葱囱琮淙枞骢苁璁",zong:"总从综宗纵踪棕粽鬃偬枞腙",cou:"凑辏腠楱",cui:"衰催崔脆翠萃粹摧璀瘁悴淬啐隹毳榱",wei:"为位委未维卫围违威伟危味微唯谓伪慰尾魏韦胃畏帷喂巍萎蔚纬潍尉渭惟薇苇炜圩娓诿玮崴桅偎逶倭猥囗葳隗痿猬涠嵬韪煨艉隹帏闱洧沩隈鲔軎",cun:"村存寸忖皴",zuo:"作做座左坐昨佐琢撮祚柞唑嘬酢怍笮阼胙",zuan:"钻纂攥缵躜",da:"大达打答搭沓瘩惮嗒哒耷鞑靼褡笪怛妲",dai:"大代带待贷毒戴袋歹呆隶逮岱傣棣怠殆黛甙埭诒绐玳呔迨",tai:"大台太态泰抬胎汰钛苔薹肽跆邰鲐酞骀炱",ta:"他它她拓塔踏塌榻沓漯獭嗒挞蹋趿遢铊鳎溻闼",dan:"但单石担丹胆旦弹蛋淡诞氮郸耽殚惮儋眈疸澹掸膻啖箪聃萏瘅赕",lu:"路六陆录绿露鲁卢炉鹿禄赂芦庐碌麓颅泸卤潞鹭辘虏璐漉噜戮鲈掳橹轳逯渌蓼撸鸬栌氇胪镥簏舻辂垆",tan:"谈探坦摊弹炭坛滩贪叹谭潭碳毯瘫檀痰袒坍覃忐昙郯澹钽锬",ren:"人任认仁忍韧刃纫饪妊荏稔壬仞轫亻衽",jie:"家结解价界接节她届介阶街借杰洁截姐揭捷劫戒皆竭桔诫楷秸睫藉拮芥诘碣嗟颉蚧孑婕疖桀讦疥偈羯袷哜喈卩鲒骱",yan:"研严验演言眼烟沿延盐炎燕岩宴艳颜殷彦掩淹阎衍铅雁咽厌焰堰砚唁焉晏檐蜒奄俨腌妍谚兖筵焱偃闫嫣鄢湮赝胭琰滟阉魇酽郾恹崦芫剡鼹菸餍埏谳讠厣罨",dang:"当党档荡挡宕砀铛裆凼菪谠",tao:"套讨跳陶涛逃桃萄淘掏滔韬叨洮啕绦饕鼗",tiao:"条调挑跳迢眺苕窕笤佻啁粜髫铫祧龆蜩鲦",te:"特忑忒铽慝",de:"的地得德底锝",dei:"得",di:"的地第提低底抵弟迪递帝敌堤蒂缔滴涤翟娣笛棣荻谛狄邸嘀砥坻诋嫡镝碲骶氐柢籴羝睇觌",ti:"体提题弟替梯踢惕剔蹄棣啼屉剃涕锑倜悌逖嚏荑醍绨鹈缇裼",tui:"推退弟腿褪颓蜕忒煺",you:"有由又优游油友右邮尤忧幼犹诱悠幽佑釉柚铀鱿囿酉攸黝莠猷蝣疣呦蚴莸莜铕宥繇卣牖鼬尢蚰侑",dian:"电点店典奠甸碘淀殿垫颠滇癫巅惦掂癜玷佃踮靛钿簟坫阽",tian:"天田添填甜甸恬腆佃舔钿阗忝殄畋栝掭",zhu:"主术住注助属逐宁著筑驻朱珠祝猪诸柱竹铸株瞩嘱贮煮烛苎褚蛛拄铢洙竺蛀渚伫杼侏澍诛茱箸炷躅翥潴邾槠舳橥丶瘃麈疰",nian:"年念酿辗碾廿捻撵拈蔫鲶埝鲇辇黏",diao:"调掉雕吊钓刁貂凋碉鲷叼铫铞",yao:"要么约药邀摇耀腰遥姚窑瑶咬尧钥谣肴夭侥吆疟妖幺杳舀窕窈曜鹞爻繇徭轺铫鳐崾珧",die:"跌叠蝶迭碟爹谍牒耋佚喋堞瓞鲽垤揲蹀",she:"设社摄涉射折舍蛇拾舌奢慑赦赊佘麝歙畲厍猞揲滠",ye:"业也夜叶射野液冶喝页爷耶邪咽椰烨掖拽曳晔谒腋噎揶靥邺铘揲",xie:"些解协写血叶谢械鞋胁斜携懈契卸谐泄蟹邪歇泻屑挟燮榭蝎撷偕亵楔颉缬邂鲑瀣勰榍薤绁渫廨獬躞",zhe:"这者着著浙折哲蔗遮辙辄柘锗褶蜇蛰鹧谪赭摺乇磔螫",ding:"定订顶丁鼎盯钉锭叮仃铤町酊啶碇腚疔玎耵",diu:"丢铥",ting:"听庭停厅廷挺亭艇婷汀铤烃霆町蜓葶梃莛",dong:"动东董冬洞懂冻栋侗咚峒氡恫胴硐垌鸫岽胨",tong:"同通统童痛铜桶桐筒彤侗佟潼捅酮砼瞳恸峒仝嗵僮垌茼",zhong:"中重种众终钟忠仲衷肿踵冢盅蚣忪锺舯螽夂",dou:"都斗读豆抖兜陡逗窦渎蚪痘蔸钭篼",du:"度都独督读毒渡杜堵赌睹肚镀渎笃竺嘟犊妒牍蠹椟黩芏髑",duan:"断段短端锻缎煅椴簖",dui:"对队追敦兑堆碓镦怼憝",rui:"瑞兑锐睿芮蕊蕤蚋枘",yue:"月说约越乐跃兑阅岳粤悦曰钥栎钺樾瀹龠哕刖",tun:"吞屯囤褪豚臀饨暾氽",hui:"会回挥汇惠辉恢徽绘毁慧灰贿卉悔秽溃荟晖彗讳诲珲堕诙蕙晦睢麾烩茴喙桧蛔洄浍虺恚蟪咴隳缋哕",wu:"务物无五武午吴舞伍污乌误亡恶屋晤悟吾雾芜梧勿巫侮坞毋诬呜钨邬捂鹜兀婺妩於戊鹉浯蜈唔骛仵焐芴鋈庑鼯牾怃圬忤痦迕杌寤阢",ya:"亚压雅牙押鸭呀轧涯崖邪芽哑讶鸦娅衙丫蚜碣垭伢氩桠琊揠吖睚痖疋迓岈砑",he:"和合河何核盖贺喝赫荷盒鹤吓呵苛禾菏壑褐涸阂阖劾诃颌嗬貉曷翮纥盍",wo:"我握窝沃卧挝涡斡渥幄蜗喔倭莴龌肟硪",en:"恩摁蒽",n:"嗯唔",er:"而二尔儿耳迩饵洱贰铒珥佴鸸鲕",fa:"发法罚乏伐阀筏砝垡珐",quan:"全权券泉圈拳劝犬铨痊诠荃醛蜷颧绻犭筌鬈悛辁畎",fei:"费非飞肥废菲肺啡沸匪斐蜚妃诽扉翡霏吠绯腓痱芾淝悱狒榧砩鲱篚镄",pei:"配培坏赔佩陪沛裴胚妃霈淠旆帔呸醅辔锫",ping:"平评凭瓶冯屏萍苹乒坪枰娉俜鲆",fo:"佛",hu:"和护许户核湖互乎呼胡戏忽虎沪糊壶葫狐蝴弧瑚浒鹄琥扈唬滹惚祜囫斛笏芴醐猢怙唿戽槲觳煳鹕冱瓠虍岵鹱烀轷",ga:"夹咖嘎尬噶旮伽尕钆尜",ge:"个合各革格歌哥盖隔割阁戈葛鸽搁胳舸疙铬骼蛤咯圪镉颌仡硌嗝鬲膈纥袼搿塥哿虼",ha:"哈蛤铪",xia:"下夏峡厦辖霞夹虾狭吓侠暇遐瞎匣瑕唬呷黠硖罅狎瘕柙",gai:"改该盖概溉钙丐芥赅垓陔戤",hai:"海还害孩亥咳骸骇氦嗨胲醢",gan:"干感赶敢甘肝杆赣乾柑尴竿秆橄矸淦苷擀酐绀泔坩旰疳澉",gang:"港钢刚岗纲冈杠缸扛肛罡戆筻",jiang:"将强江港奖讲降疆蒋姜浆匠酱僵桨绛缰犟豇礓洚茳糨耩",hang:"行航杭巷夯吭桁沆绗颃",gong:"工公共供功红贡攻宫巩龚恭拱躬弓汞蚣珙觥肱廾",hong:"红宏洪轰虹鸿弘哄烘泓訇蕻闳讧荭黉薨",guang:"广光逛潢犷胱咣桄",qiong:"穷琼穹邛茕筇跫蛩銎",gao:"高告搞稿膏糕镐皋羔锆杲郜睾诰藁篙缟槁槔",hao:"好号毫豪耗浩郝皓昊皋蒿壕灏嚎濠蚝貉颢嗥薅嚆",li:"理力利立里李历例离励礼丽黎璃厉厘粒莉梨隶栗荔沥犁漓哩狸藜罹篱鲤砺吏澧俐骊溧砾莅锂笠蠡蛎痢雳俪傈醴栎郦俚枥喱逦娌鹂戾砬唳坜疠蜊黧猁鬲粝蓠呖跞疬缡鲡鳢嫠詈悝苈篥轹",jia:"家加价假佳架甲嘉贾驾嫁夹稼钾挟拮迦伽颊浃枷戛荚痂颉镓笳珈岬胛袈郏葭袷瘕铗跏蛱恝哿",luo:"落罗络洛逻螺锣骆萝裸漯烙摞骡咯箩珞捋荦硌雒椤镙跞瘰泺脶猡倮蠃",ke:"可科克客刻课颗渴壳柯棵呵坷恪苛咳磕珂稞瞌溘轲窠嗑疴蝌岢铪颏髁蚵缂氪骒钶锞",qia:"卡恰洽掐髂袷咭葜",gei:"给",gen:"根跟亘艮哏茛",hen:"很狠恨痕哏",gou:"构购够句沟狗钩拘勾苟垢枸篝佝媾诟岣彀缑笱鞲觏遘",kou:"口扣寇叩抠佝蔻芤眍筘",gu:"股古顾故固鼓骨估谷贾姑孤雇辜菇沽咕呱锢钴箍汩梏痼崮轱鸪牯蛊诂毂鹘菰罟嘏臌觚瞽蛄酤牿鲴",pai:"牌排派拍迫徘湃俳哌蒎",gua:"括挂瓜刮寡卦呱褂剐胍诖鸹栝呙",tou:"投头透偷愉骰亠",guai:"怪拐乖",kuai:"会快块筷脍蒯侩浍郐蒉狯哙",guan:"关管观馆官贯冠惯灌罐莞纶棺斡矜倌鹳鳏盥掼涫",wan:"万完晚湾玩碗顽挽弯蔓丸莞皖宛婉腕蜿惋烷琬畹豌剜纨绾脘菀芄箢",ne:"呢哪呐讷疒",gui:"规贵归轨桂柜圭鬼硅瑰跪龟匮闺诡癸鳜桧皈鲑刽晷傀眭妫炅庋簋刿宄匦",jun:"军均俊君峻菌竣钧骏龟浚隽郡筠皲麇捃",jiong:"窘炯迥炅冂扃",jue:"决绝角觉掘崛诀獗抉爵嚼倔厥蕨攫珏矍蹶谲镢鳜噱桷噘撅橛孓觖劂爝",gun:"滚棍辊衮磙鲧绲丨",hun:"婚混魂浑昏棍珲荤馄诨溷阍",guo:"国过果郭锅裹帼涡椁囗蝈虢聒埚掴猓崞蜾呙馘",hei:"黑嘿嗨",kan:"看刊勘堪坎砍侃嵌槛瞰阚龛戡凵莰",heng:"衡横恒亨哼珩桁蘅",mo:"万没么模末冒莫摩墨默磨摸漠脉膜魔沫陌抹寞蘑摹蓦馍茉嘿谟秣蟆貉嫫镆殁耱嬷麽瘼貊貘",peng:"鹏朋彭膨蓬碰苹棚捧亨烹篷澎抨硼怦砰嘭蟛堋",hou:"后候厚侯猴喉吼逅篌糇骺後鲎瘊堠",hua:"化华划话花画滑哗豁骅桦猾铧砉",huai:"怀坏淮徊槐踝",huan:"还环换欢患缓唤焕幻痪桓寰涣宦垸洹浣豢奂郇圜獾鲩鬟萑逭漶锾缳擐",xun:"讯训迅孙寻询循旬巡汛勋逊熏徇浚殉驯鲟薰荀浔洵峋埙巽郇醺恂荨窨蕈曛獯",huang:"黄荒煌皇凰慌晃潢谎惶簧璜恍幌湟蝗磺隍徨遑肓篁鳇蟥癀",nai:"能乃奶耐奈鼐萘氖柰佴艿",luan:"乱卵滦峦鸾栾銮挛孪脔娈",qie:"切且契窃茄砌锲怯伽惬妾趄挈郄箧慊",jian:"建间件见坚检健监减简艰践兼鉴键渐柬剑尖肩舰荐箭浅剪俭碱茧奸歼拣捡煎贱溅槛涧堑笺谏饯锏缄睑謇蹇腱菅翦戬毽笕犍硷鞯牮枧湔鲣囝裥踺搛缣鹣蒹谫僭戋趼楗",nan:"南难男楠喃囡赧腩囝蝻",qian:"前千钱签潜迁欠纤牵浅遣谦乾铅歉黔谴嵌倩钳茜虔堑钎骞阡掮钤扦芊犍荨仟芡悭缱佥愆褰凵肷岍搴箝慊椠",qiang:"强抢疆墙枪腔锵呛羌蔷襁羟跄樯戕嫱戗炝镪锖蜣",xiang:"向项相想乡象响香降像享箱羊祥湘详橡巷翔襄厢镶飨饷缃骧芗庠鲞葙蟓",jiao:"教交较校角觉叫脚缴胶轿郊焦骄浇椒礁佼蕉娇矫搅绞酵剿嚼饺窖跤蛟侥狡姣皎茭峤铰醮鲛湫徼鹪僬噍艽挢敫",zhuo:"着著缴桌卓捉琢灼浊酌拙茁涿镯淖啄濯焯倬擢斫棹诼浞禚",qiao:"桥乔侨巧悄敲俏壳雀瞧翘窍峭锹撬荞跷樵憔鞘橇峤诮谯愀鞒硗劁缲",xiao:"小效销消校晓笑肖削孝萧俏潇硝宵啸嚣霄淆哮筱逍姣箫骁枭哓绡蛸崤枵魈",si:"司四思斯食私死似丝饲寺肆撕泗伺嗣祀厮驷嘶锶俟巳蛳咝耜笥纟糸鸶缌澌姒汜厶兕",kai:"开凯慨岂楷恺揩锴铠忾垲剀锎蒈",jin:"进金今近仅紧尽津斤禁锦劲晋谨筋巾浸襟靳瑾烬缙钅矜觐堇馑荩噤廑妗槿赆衿卺",qin:"亲勤侵秦钦琴禽芹沁寝擒覃噙矜嗪揿溱芩衾廑锓吣檎螓",jing:"经京精境竞景警竟井惊径静劲敬净镜睛晶颈荆兢靖泾憬鲸茎腈菁胫阱旌粳靓痉箐儆迳婧肼刭弪獍",ying:"应营影英景迎映硬盈赢颖婴鹰荧莹樱瑛蝇萦莺颍膺缨瀛楹罂荥萤鹦滢蓥郢茔嘤璎嬴瘿媵撄潆",jiu:"就究九酒久救旧纠舅灸疚揪咎韭玖臼柩赳鸠鹫厩啾阄桕僦鬏",zui:"最罪嘴醉咀蕞觜",juan:"卷捐圈眷娟倦绢隽镌涓鹃鄄蠲狷锩桊",suan:"算酸蒜狻",yun:"员运云允孕蕴韵酝耘晕匀芸陨纭郧筠恽韫郓氲殒愠昀菀狁",qun:"群裙逡麇",ka:"卡喀咖咔咯佧胩",kang:"康抗扛慷炕亢糠伉钪闶",keng:"坑铿吭",kao:"考靠烤拷铐栲尻犒",ken:"肯垦恳啃龈裉",yin:"因引银印音饮阴隐姻殷淫尹荫吟瘾寅茵圻垠鄞湮蚓氤胤龈窨喑铟洇狺夤廴吲霪茚堙",kong:"空控孔恐倥崆箜",ku:"苦库哭酷裤枯窟挎骷堀绔刳喾",kua:"跨夸垮挎胯侉",kui:"亏奎愧魁馈溃匮葵窥盔逵睽馗聩喟夔篑岿喹揆隗傀暌跬蒉愦悝蝰",kuan:"款宽髋",kuang:"况矿框狂旷眶匡筐邝圹哐贶夼诳诓纩",que:"确却缺雀鹊阙瘸榷炔阕悫",kun:"困昆坤捆琨锟鲲醌髡悃阃",kuo:"扩括阔廓蛞",la:"拉落垃腊啦辣蜡喇剌旯砬邋瘌",lai:"来莱赖睐徕籁涞赉濑癞崃疠铼",lan:"兰览蓝篮栏岚烂滥缆揽澜拦懒榄斓婪阑褴罱啉谰镧漤",lin:"林临邻赁琳磷淋麟霖鳞凛拎遴蔺吝粼嶙躏廪檩啉辚膦瞵懔",lang:"浪朗郎廊狼琅榔螂阆锒莨啷蒗稂",liang:"量两粮良辆亮梁凉谅粱晾靓踉莨椋魉墚",lao:"老劳落络牢捞涝烙姥佬崂唠酪潦痨醪铑铹栳耢",mu:"目模木亩幕母牧莫穆姆墓慕牟牡募睦缪沐暮拇姥钼苜仫毪坶",le:"了乐勒肋叻鳓嘞仂泐",lei:"类累雷勒泪蕾垒磊擂镭肋羸耒儡嫘缧酹嘞诔檑",sui:"随岁虽碎尿隧遂髓穗绥隋邃睢祟濉燧谇眭荽",lie:"列烈劣裂猎冽咧趔洌鬣埒捩躐",leng:"冷愣棱楞塄",ling:"领令另零灵龄陵岭凌玲铃菱棱伶羚苓聆翎泠瓴囹绫呤棂蛉酃鲮柃",lia:"俩",liao:"了料疗辽廖聊寥缪僚燎缭撂撩嘹潦镣寮蓼獠钌尥鹩",liu:"流刘六留柳瘤硫溜碌浏榴琉馏遛鎏骝绺镏旒熘鹨锍",lun:"论轮伦仑纶沦抡囵",lv:"率律旅绿虑履吕铝屡氯缕滤侣驴榈闾偻褛捋膂稆",lou:"楼露漏陋娄搂篓喽镂偻瘘髅耧蝼嵝蒌",mao:"贸毛矛冒貌茂茅帽猫髦锚懋袤牦卯铆耄峁瑁蟊茆蝥旄泖昴瞀",long:"龙隆弄垄笼拢聋陇胧珑窿茏咙砻垅泷栊癃",nong:"农浓弄脓侬哝",shuang:"双爽霜孀泷",shu:"术书数属树输束述署朱熟殊蔬舒疏鼠淑叔暑枢墅俞曙抒竖蜀薯梳戍恕孰沭赎庶漱塾倏澍纾姝菽黍腧秫毹殳疋摅",shuai:"率衰帅摔甩蟀",lve:"略掠锊",ma:"么马吗摩麻码妈玛嘛骂抹蚂唛蟆犸杩",me:"么麽",mai:"买卖麦迈脉埋霾荬劢",man:"满慢曼漫埋蔓瞒蛮鳗馒幔谩螨熳缦镘颟墁鞔",mi:"米密秘迷弥蜜谜觅靡泌眯麋猕谧咪糜宓汨醚嘧弭脒冖幂祢縻蘼芈糸敉",men:"们门闷瞒汶扪焖懑鞔钔",mang:"忙盲茫芒氓莽蟒邙硭漭",meng:"蒙盟梦猛孟萌氓朦锰檬勐懵蟒蜢虻黾蠓艨甍艋瞢礞",miao:"苗秒妙描庙瞄缪渺淼藐缈邈鹋杪眇喵",mou:"某谋牟缪眸哞鍪蛑侔厶",miu:"缪谬",mei:"美没每煤梅媒枚妹眉魅霉昧媚玫酶镁湄寐莓袂楣糜嵋镅浼猸鹛",wen:"文问闻稳温纹吻蚊雯紊瘟汶韫刎璺玟阌",mie:"灭蔑篾乜咩蠛",ming:"明名命鸣铭冥茗溟酩瞑螟暝",na:"内南那纳拿哪娜钠呐捺衲镎肭",nei:"内那哪馁",nuo:"难诺挪娜糯懦傩喏搦锘",ruo:"若弱偌箬",nang:"囊馕囔曩攮",nao:"脑闹恼挠瑙淖孬垴铙桡呶硇猱蛲",ni:"你尼呢泥疑拟逆倪妮腻匿霓溺旎昵坭铌鲵伲怩睨猊",nen:"嫩恁",neng:"能",nin:"您恁",niao:"鸟尿溺袅脲茑嬲",nie:"摄聂捏涅镍孽捻蘖啮蹑嗫臬镊颞乜陧",niang:"娘酿",ning:"宁凝拧泞柠咛狞佞聍甯",nu:"努怒奴弩驽帑孥胬",nv:"女钕衄恧",ru:"入如女乳儒辱汝茹褥孺濡蠕嚅缛溽铷洳薷襦颥蓐",nuan:"暖",nve:"虐疟",re:"热若惹喏",ou:"区欧偶殴呕禺藕讴鸥瓯沤耦怄",pao:"跑炮泡抛刨袍咆疱庖狍匏脬",pou:"剖掊裒",pen:"喷盆湓",pie:"瞥撇苤氕丿",pin:"品贫聘频拼拚颦姘嫔榀牝",se:"色塞瑟涩啬穑铯槭",qing:"情青清请亲轻庆倾顷卿晴氢擎氰罄磬蜻箐鲭綮苘黥圊檠謦",zan:"赞暂攒堑昝簪糌瓒錾趱拶",shao:"少绍召烧稍邵哨韶捎勺梢鞘芍苕劭艄筲杓潲",sao:"扫骚嫂梢缫搔瘙臊埽缲鳋",sha:"沙厦杀纱砂啥莎刹杉傻煞鲨霎嗄痧裟挲铩唼歃",xuan:"县选宣券旋悬轩喧玄绚渲璇炫萱癣漩眩暄煊铉楦泫谖痃碹揎镟儇",ran:"然染燃冉苒髯蚺",rang:"让壤攘嚷瓤穰禳",rao:"绕扰饶娆桡荛",reng:"仍扔",ri:"日",rou:"肉柔揉糅鞣蹂",ruan:"软阮朊",run:"润闰",sa:"萨洒撒飒卅仨脎",suo:"所些索缩锁莎梭琐嗦唆唢娑蓑羧挲桫嗍睃",sai:"思赛塞腮噻鳃",shui:"说水税谁睡氵",sang:"桑丧嗓搡颡磉",sen:"森",seng:"僧",shai:"筛晒",shang:"上商尚伤赏汤裳墒晌垧觞殇熵绱",xing:"行省星腥猩惺兴刑型形邢饧醒幸杏性姓陉荇荥擤悻硎",shou:"收手受首售授守寿瘦兽狩绶艏扌",shuo:"说数硕烁朔铄妁槊蒴搠",su:"速素苏诉缩塑肃俗宿粟溯酥夙愫簌稣僳谡涑蔌嗉觫",shua:"刷耍唰",shuan:"栓拴涮闩",shun:"顺瞬舜吮",song:"送松宋讼颂耸诵嵩淞怂悚崧凇忪竦菘",sou:"艘搜擞嗽嗖叟馊薮飕嗾溲锼螋瞍",sun:"损孙笋荪榫隼狲飧",teng:"腾疼藤滕誊",tie:"铁贴帖餮萜",tu:"土突图途徒涂吐屠兔秃凸荼钍菟堍酴",wai:"外歪崴",wang:"王望往网忘亡旺汪枉妄惘罔辋魍",weng:"翁嗡瓮蓊蕹",zhua:"抓挝爪",yang:"样养央阳洋扬杨羊详氧仰秧痒漾疡泱殃恙鸯徉佯怏炀烊鞅蛘",xiong:"雄兄熊胸凶匈汹芎",yo:"哟唷",yong:"用永拥勇涌泳庸俑踊佣咏雍甬镛臃邕蛹恿慵壅痈鳙墉饔喁",za:"杂扎咱砸咋匝咂拶",zai:"在再灾载栽仔宰哉崽甾",zao:"造早遭枣噪灶燥糟凿躁藻皂澡蚤唣",zei:"贼",zen:"怎谮",zeng:"增曾综赠憎锃甑罾缯",zhei:"这",zou:"走邹奏揍诹驺陬楱鄹鲰",zhuai:"转拽",zun:"尊遵鳟樽撙",dia:"嗲",nou:"耨"};e.a=i},function(t,e,n){"use strict";function i(t){n(14)}var r=n(4),a=n(24),o=n(2),s=i,c=o(r.a,a.a,!1,s,"data-v-45c95d18",null);e.a=c.exports},function(t,e,n){var i=n(15);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(1)("067686b9",i,!0,{})},function(t,e,n){e=t.exports=n(0)(!1),e.push([t.i,".my-keyboard__primary[data-v-45c95d18]{min-width:1330px}.my-keyboard__primary .pinyin>div[data-v-45c95d18],.my-keyboard__primary .select-list>div[data-v-45c95d18]{width:1330px}.my-keyboard__primary .main-keyboard .key[data-v-45c95d18]{width:100px}.my-keyboard__primary .main-keyboard .key+.key[data-v-45c95d18]{margin-left:28px}.my-keyboard__primary .main-keyboard .number-box[data-v-45c95d18]{width:776px}.my-keyboard__primary .main-keyboard .number-box[data-v-45c95d18]:nth-last-of-type(3n){margin-left:0}.my-keyboard__primary .main-keyboard .del-box[data-v-45c95d18]{width:296px}.my-keyboard__primary .main-keyboard .del-box .key_hide[data-v-45c95d18],.my-keyboard__primary .main-keyboard .number[data-v-45c95d18]{width:240px}.my-keyboard__primary .main-keyboard .space[data-v-45c95d18]{width:416px}.keyboard-paint__primary .result-table td[data-v-45c95d18]{width:110px}.my-keyboard__mini[data-v-45c95d18]{min-width:1080px}.my-keyboard__mini .pinyin>div[data-v-45c95d18],.my-keyboard__mini .select-list>div[data-v-45c95d18]{width:1080px}.my-keyboard__mini .main-keyboard .key[data-v-45c95d18]{width:90px}.my-keyboard__mini .main-keyboard .key+.key[data-v-45c95d18]{margin-left:16px}.my-keyboard__mini .main-keyboard .number-box[data-v-45c95d18]{width:632px}.my-keyboard__mini .main-keyboard .number-box[data-v-45c95d18]:nth-last-of-type(3n){margin-left:0}.my-keyboard__mini .main-keyboard .del-box[data-v-45c95d18]{width:232px}.my-keyboard__mini .main-keyboard .del-box .key_hide[data-v-45c95d18],.my-keyboard__mini .main-keyboard .number[data-v-45c95d18]{width:200px}.my-keyboard__mini .main-keyboard .space[data-v-45c95d18]{width:338px}.keyboard-paint__mini .result-table td[data-v-45c95d18]{width:90px}.keyboard-paint[data-v-45c95d18]{display:inline-block;vertical-align:middle}.keyboard-paint .canvas-box[data-v-45c95d18]{display:inline-block;vertical-align:middle;background:#fff;font-size:0}.keyboard-paint .canvas-box #canvas[data-v-45c95d18]{border:1px solid #aaa}.keyboard-paint .result-table[data-v-45c95d18]{display:inline-block;vertical-align:middle;margin-left:8px}.keyboard-paint .result-table td[data-v-45c95d18]{border:1px solid #aaa;height:90px;font-size:40px;font-weight:700;background:#fff;font-family:simsun}.keyboard-paint .result-table td[data-v-45c95d18]:active{background:#aaa}",""])},function(t,e,n){"use strict";function i(t){var e=t?n(17).default:n(18).default;return e.init&&e.init(t),e}e.a=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={api:"",lib:"",init:function(t){this.api=t},createLib:function(t){this.lib=t},GetWords:function(t,e,n){var i=this;return new Promise(function(r,a){var o={lib:i.lib,lpXis:t,lpYis:e,lpCis:n},s=new XMLHttpRequest;s.open("POST",i.api),s.setRequestHeader("Content-type","application/json"),s.send(JSON.stringify(o)),s.onload=function(t){200===s.status?r({data:JSON.parse(s.response)}):a("网络出错")},s.onerror=function(t){a("请求失败")}})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){var n=void 0;if(window.require){var i=window.require("ffi"),r=window.require("ref"),a=r.refType("uchar"),o=window.require("iconv-lite"),s=null,c={CN_path:"plug\\handWrite\\hz.mrd",EN_path:"plug\\handWrite\\English.mrd"};try{var u=function(t,e){t.type=r.types.uchar;for(var n=0;n<e.length;n+=2)t.writeInt16LE(e[n],n)};s=i.Library("plug\\handWrite\\XDLL.dll",{ZZ_CreateLib:["int",["string","int","string"]],ZZ_RecgTuxg:["int",["int",a,a,a,a,a,"int",a,a,"int",a,a]],ZZ_DeleteLib:["int",[]]}),n={},n.createLib=function(t){return new Promise(function(e,n){try{s.ZZ_DeleteLib();e(s.ZZ_CreateLib("47497DB3-6FA0-4FC5-9EB8-868DA935FB96",0,c[t+"_path"]))}catch(t){n(t)}})};var d=t.alloc(64);d.writeInt32LE(5,0),d.writeInt32LE(7,4);var h=r.alloc(r.types.uchar,0),l=t.alloc(48);l.types=r.types.uchar;var f=t.alloc(48);f.types=r.types.uchar;var p=t.alloc(12288);p.types=r.types.uchar,n.GetWords=function(e,n,i){return new Promise(function(a,c){try{e&&n&&i||c("缺少参数"),e.length===n.length&&e.length===i.length||c("参数长度不一致");var y=t.alloc(6144),m=t.alloc(6144),v=t.alloc(6144);u(y,e),u(m,n),u(v,i);var g=t.alloc(12288);g.types=r.types.uchar,s.ZZ_RecgTuxg.async(0,d,h,y,m,v,e.length,l,f,12,g,p,function(t){for(var e=[],n=0;n<l.length;n+=4){var i=l.readInt32LE(n);i<19968?e.push(o.decode(l.slice(n,n+1),"utf8")):e.push(unescape("%u"+i.toString(16)))}a(e)})}catch(t){c(t)}})}}catch(t){console.error(t)}}else console.error("手写模块已关闭,请在electron环境下运行或添加互联网接口地址'hand-write-api'");e.default=n}.call(e,n(19).Buffer)},function(t,e,n){"use strict";(function(t){function i(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function r(t,e){if(i()<e)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=a.prototype):(null===t&&(t=new a(e)),t.length=e),t}function a(t,e,n){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return u(this,t)}return o(this,t,e,n)}function o(t,e,n,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?l(t,e,n,i):"string"==typeof e?d(t,e,n):f(t,e)}function s(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function c(t,e,n,i){return s(e),e<=0?r(t,e):void 0!==n?"string"==typeof i?r(t,e).fill(n,i):r(t,e).fill(n):r(t,e)}function u(t,e){if(s(e),t=r(t,e<0?0:0|p(e)),!a.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function d(t,e,n){if("string"==typeof n&&""!==n||(n="utf8"),!a.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|m(e,n);t=r(t,i);var o=t.write(e,n);return o!==i&&(t=t.slice(0,o)),t}function h(t,e){var n=e.length<0?0:0|p(e.length);t=r(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function l(t,e,n,i){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i),a.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=a.prototype):t=h(t,e),t}function f(t,e){if(a.isBuffer(e)){var n=0|p(e.length);return t=r(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||F(e.length)?r(t,0):h(t,e);if("Buffer"===e.type&&J(e.data))return h(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function p(t){if(t>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|t}function y(t){return+t!=t&&(t=0),a.alloc(+t)}function m(t,e){if(a.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return W(t).length;default:if(i)return $(t).length;e=(""+e).toLowerCase(),i=!0}}function v(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return U(this,e,n);case"utf8":case"utf-8":return S(this,e,n);case"ascii":return z(this,e,n);case"latin1":case"binary":return B(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function g(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function b(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=a.from(e,i)),a.isBuffer(e))return 0===e.length?-1:_(t,e,n,i,r);if("number"==typeof e)return e&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):_(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function _(t,e,n,i,r){function a(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}var o=1,s=t.length,c=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,s/=2,c/=2,n/=2}var u;if(r){var d=-1;for(u=n;u<s;u++)if(a(t,u)===a(e,-1===d?0:u-d)){if(-1===d&&(d=u),u-d+1===c)return d*o}else-1!==d&&(u-=u-d),d=-1}else for(n+c>s&&(n=s-c),u=n;u>=0;u--){for(var h=!0,l=0;l<c;l++)if(a(t,u+l)!==a(e,l)){h=!1;break}if(h)return u}return-1}function k(t,e,n,i){n=Number(n)||0;var r=t.length-n;i?(i=Number(i))>r&&(i=r):i=r;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o<i;++o){var s=parseInt(e.substr(2*o,2),16);if(isNaN(s))return o;t[n+o]=s}return o}function w(t,e,n,i){return Z($(e,t.length-n),t,n,i)}function x(t,e,n,i){return Z(X(e),t,n,i)}function E(t,e,n,i){return x(t,e,n,i)}function C(t,e,n,i){return Z(W(e),t,n,i)}function A(t,e,n,i){return Z(q(e,t.length-n),t,n,i)}function T(t,e,n){return 0===e&&n===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,n))}function S(t,e,n){n=Math.min(t.length,n);for(var i=[],r=e;r<n;){var a=t[r],o=null,s=a>239?4:a>223?3:a>191?2:1;if(r+s<=n){var c,u,d,h;switch(s){case 1:a<128&&(o=a);break;case 2:c=t[r+1],128==(192&c)&&(h=(31&a)<<6|63&c)>127&&(o=h);break;case 3:c=t[r+1],u=t[r+2],128==(192&c)&&128==(192&u)&&(h=(15&a)<<12|(63&c)<<6|63&u)>2047&&(h<55296||h>57343)&&(o=h);break;case 4:c=t[r+1],u=t[r+2],d=t[r+3],128==(192&c)&&128==(192&u)&&128==(192&d)&&(h=(15&a)<<18|(63&c)<<12|(63&u)<<6|63&d)>65535&&h<1114112&&(o=h)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,i.push(o>>>10&1023|55296),o=56320|1023&o),i.push(o),r+=s}return R(i)}function R(t){var e=t.length;if(e<=Q)return String.fromCharCode.apply(String,t);for(var n="",i=0;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=Q));return n}function z(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(127&t[r]);return i}function B(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(t[r]);return i}function U(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var r="",a=e;a<n;++a)r+=j(t[a]);return r}function P(t,e,n){for(var i=t.slice(e,n),r="",a=0;a<i.length;a+=2)r+=String.fromCharCode(i[a]+256*i[a+1]);return r}function L(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function M(t,e,n,i,r,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<o)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function Y(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-n,2);r<a;++r)t[n+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function I(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-n,4);r<a;++r)t[n+r]=e>>>8*(i?r:3-r)&255}function H(t,e,n,i,r,a){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,e,n,i,r){return r||H(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),G.write(t,e,n,i,23,4),n+4}function O(t,e,n,i,r){return r||H(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),G.write(t,e,n,i,52,8),n+8}function V(t){if(t=N(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function N(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function j(t){return t<16?"0"+t.toString(16):t.toString(16)}function $(t,e){e=e||1/0;for(var n,i=t.length,r=null,a=[],o=0;o<i;++o){if((n=t.charCodeAt(o))>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function X(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function q(t,e){for(var n,i,r,a=[],o=0;o<t.length&&!((e-=2)<0);++o)n=t.charCodeAt(o),i=n>>8,r=n%256,a.push(r),a.push(i);return a}function W(t){return K.toByteArray(V(t))}function Z(t,e,n,i){for(var r=0;r<i&&!(r+n>=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function F(t){return t!==t}var K=n(21),G=n(22),J=n(23);e.Buffer=a,e.SlowBuffer=y,e.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=i(),a.poolSize=8192,a._augment=function(t){return t.__proto__=a.prototype,t},a.from=function(t,e,n){return o(null,t,e,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(t,e,n){return c(null,t,e,n)},a.allocUnsafe=function(t){return u(null,t)},a.allocUnsafeSlow=function(t){return u(null,t)},a.isBuffer=function(t){return!(null==t||!t._isBuffer)},a.compare=function(t,e){if(!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,o=Math.min(n,i);r<o;++r)if(t[r]!==e[r]){n=t[r],i=e[r];break}return n<i?-1:i<n?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!J(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=a.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var o=t[n];if(!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,r),r+=o.length}return i},a.byteLength=m,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},a.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?S(this,0,t):v.apply(this,arguments)},a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},a.prototype.compare=function(t,e,n,i,r){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,r>>>=0,this===t)return 0;for(var o=r-i,s=n-e,c=Math.min(o,s),u=this.slice(i,r),d=t.slice(e,n),h=0;h<c;++h)if(u[h]!==d[h]){o=u[h],s=d[h];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},a.prototype.indexOf=function(t,e,n){return b(this,t,e,n,!0)},a.prototype.lastIndexOf=function(t,e,n){return b(this,t,e,n,!1)},a.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return k(this,t,e,n);case"utf8":case"utf-8":return w(this,t,e,n);case"ascii":return x(this,t,e,n);case"latin1":case"binary":return E(this,t,e,n);case"base64":return C(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;a.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var i;if(a.TYPED_ARRAY_SUPPORT)i=this.subarray(t,e),i.__proto__=a.prototype;else{var r=e-t;i=new a(r,void 0);for(var o=0;o<r;++o)i[o]=this[o+t]}return i},a.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var i=this[t],r=1,a=0;++a<e&&(r*=256);)i+=this[t+a]*r;return i},a.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var i=this[t+--e],r=1;e>0&&(r*=256);)i+=this[t+--e]*r;return i},a.prototype.readUInt8=function(t,e){return e||L(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return e||L(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return e||L(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return e||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return e||L(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var i=this[t],r=1,a=0;++a<e&&(r*=256);)i+=this[t+a]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*e)),i},a.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var i=e,r=1,a=this[t+--i];i>0&&(r*=256);)a+=this[t+--i]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*e)),a},a.prototype.readInt8=function(t,e){return e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){e||L(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(t,e){e||L(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(t,e){return e||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return e||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return e||L(t,4,this.length),G.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return e||L(t,4,this.length),G.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return e||L(t,8,this.length),G.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return e||L(t,8,this.length),G.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){M(this,t,e,n,Math.pow(2,8*n)-1,0)}var r=1,a=0;for(this[e]=255&t;++a<n&&(r*=256);)this[e+a]=t/r&255;return e+n},a.prototype.writeUIntBE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){M(this,t,e,n,Math.pow(2,8*n)-1,0)}var r=n-1,a=1;for(this[e+r]=255&t;--r>=0&&(a*=256);)this[e+r]=t/a&255;return e+n},a.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,1,255,0),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Y(this,t,e,!0),e+2},a.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Y(this,t,e,!1),e+2},a.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):I(this,t,e,!0),e+4},a.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},a.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);M(this,t,e,n,r-1,-r)}var a=0,o=1,s=0;for(this[e]=255&t;++a<n&&(o*=256);)t<0&&0===s&&0!==this[e+a-1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},a.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);M(this,t,e,n,r-1,-r)}var a=n-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},a.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,1,127,-128),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Y(this,t,e,!0),e+2},a.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Y(this,t,e,!1),e+2},a.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):I(this,t,e,!0),e+4},a.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},a.prototype.writeFloatLE=function(t,e,n){return D(this,t,e,!0,n)},a.prototype.writeFloatBE=function(t,e,n){return D(this,t,e,!1,n)},a.prototype.writeDoubleLE=function(t,e,n){return O(this,t,e,!0,n)},a.prototype.writeDoubleBE=function(t,e,n){return O(this,t,e,!1,n)},a.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var r,o=i-n;if(this===t&&n<e&&e<i)for(r=o-1;r>=0;--r)t[r+e]=this[r+n];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},a.prototype.fill=function(t,e,n,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var o;if("number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=a.isBuffer(t)?t:$(new a(t,i).toString()),c=s.length;for(o=0;o<n-e;++o)this[o+e]=s[o%c]}return this};var tt=/[^+\/0-9A-Za-z-_]/g}).call(e,n(20))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function i(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function r(t){var e=i(t),n=e[0],r=e[1];return 3*(n+r)/4-r}function a(t,e,n){return 3*(e+n)/4-n}function o(t){var e,n,r=i(t),o=r[0],s=r[1],c=new l(a(t,o,s)),u=0,d=s>0?o-4:o;for(n=0;n<d;n+=4)e=h[t.charCodeAt(n)]<<18|h[t.charCodeAt(n+1)]<<12|h[t.charCodeAt(n+2)]<<6|h[t.charCodeAt(n+3)],c[u++]=e>>16&255,c[u++]=e>>8&255,c[u++]=255&e;return 2===s&&(e=h[t.charCodeAt(n)]<<2|h[t.charCodeAt(n+1)]>>4,c[u++]=255&e),1===s&&(e=h[t.charCodeAt(n)]<<10|h[t.charCodeAt(n+1)]<<4|h[t.charCodeAt(n+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e),c}function s(t){return d[t>>18&63]+d[t>>12&63]+d[t>>6&63]+d[63&t]}function c(t,e,n){for(var i,r=[],a=e;a<n;a+=3)i=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),r.push(s(i));return r.join("")}function u(t){for(var e,n=t.length,i=n%3,r=[],a=0,o=n-i;a<o;a+=16383)r.push(c(t,a,a+16383>o?o:a+16383));return 1===i?(e=t[n-1],r.push(d[e>>2]+d[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],r.push(d[e>>10]+d[e>>4&63]+d[e<<2&63]+"=")),r.join("")}e.byteLength=r,e.toByteArray=o,e.fromByteArray=u;for(var d=[],h=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,y=f.length;p<y;++p)d[p]=f[p],h[f.charCodeAt(p)]=p;h["-".charCodeAt(0)]=62,h["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,n,i,r){var a,o,s=8*r-i-1,c=(1<<s)-1,u=c>>1,d=-7,h=n?r-1:0,l=n?-1:1,f=t[e+h];for(h+=l,a=f&(1<<-d)-1,f>>=-d,d+=s;d>0;a=256*a+t[e+h],h+=l,d-=8);for(o=a&(1<<-d)-1,a>>=-d,d+=i;d>0;o=256*o+t[e+h],h+=l,d-=8);if(0===a)a=1-u;else{if(a===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,i),a-=u}return(f?-1:1)*o*Math.pow(2,a-i)},e.write=function(t,e,n,i,r,a){var o,s,c,u=8*a-r-1,d=(1<<u)-1,h=d>>1,l=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:a-1,p=i?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=d):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),e+=o+h>=1?l/c:l*Math.pow(2,1-h),e*c>=2&&(o++,c/=2),o+h>=d?(s=0,o=d):o+h>=1?(s=(e*c-1)*Math.pow(2,r),o+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;t[n+f]=255&s,f+=p,s/=256,r-=8);for(o=o<<r|s,u+=r;u>0;t[n+f]=255&o,f+=p,o/=256,u-=8);t[n+f-p]|=128*y}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:"keyboard-paint keyboard-paint__"+t.size,staticStyle:{"margin-top":"5px"}},[n("div",{staticClass:"canvas-box"},[n("canvas",{ref:"canvas",attrs:{width:.4*t.p_width,height:t.p_height-10},on:{touchstart:t.Down,touchmove:t.Move,touchend:t.Mouseup,mousedown:t.Down,mousemove:t.Move,mouseup:t.Mouseup,mouseleave:t.Leave}})]),t._v(" "),n("table",{staticClass:"result-table"},t._l(t.write_result,function(e,i){return n("tr",{key:i},t._l(e,function(e,i){return n("td",{key:i,on:{click:function(n){return t.Select(e)}}},[t._v(t._s(e))])}),0)}),0)])},r=[],a={render:i,staticRenderFns:r};e.a=a},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{"enter-active-class":"animated faster "+t.EnterActiveClass,"leave-active-class":"animated faster "+t.LeaveActiveClass},on:{"after-enter":t.UpdateBound}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],ref:"my_keyboard",class:"my-keyboard my-keyboard__"+t.size,style:t.st,on:{mousedown:t.mousedown}},["cn"===t.mode?n("div",{staticClass:"pinyin"},[n("div",[n("span",[t._v(t._s(t.cn_input))])])]):t._e(),t._v(" "),"cn"===t.mode?n("div",{staticClass:"select-list"},[n("div",[t._l(t.cut_cn_list,function(e,i){return n("span",{key:i,staticClass:"select-text",on:{click:function(n){return t.clickCN(n,e)}}},[t._v(t._s(i+1+"."+e))])}),t._v(" "),n("div",{staticClass:"page"},[n("p",{staticClass:"previous",on:{click:function(e){return t.previous_page()}}},[t._v("v")]),t._v(" "),n("p",{staticClass:"next",on:{click:function(e){return t.next_page()}}},[t._v("v")])])],2)]):t._e(),t._v(" "),"num"===t.mode||"biaodian"===t.mode?n("div",{staticClass:"main-keyboard"},[n("div",{staticClass:"number-box"},t._l(t.number_keys2,function(e,i){return n("span",{key:i,staticClass:"key number",on:{click:function(n){return t.clickNumber(n,e)}}},[t._v(t._s(e))])}),0),t._v(" "),n("div",{staticClass:"del-box"},[n("span",{staticClass:"key number num-del",on:{click:function(e){return t.del()}}},[n("svg",{attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60"}},[n("path",{attrs:{d:"M938.8 227.7H284.6L0.1 511.3l284.4 284.4v0.8h654.2c47.1 0 85.3-38.2 85.3-85.3V313c0.1-47.1-38.1-85.3-85.2-85.3z m-172.1 385l-40.2 40.2-100.6-100.6-100.6 100.6-40.2-40.2 100.6-100.6-100.6-100.5 40.2-40.2L625.9 472l100.6-100.6 40.2 40.2-100.6 100.5 100.6 100.6z"}})])]),t._v(" "),n("span",{staticClass:"key number blue",on:{click:function(e){t.mode="en_cap"}}},[t._v("中/英")]),t._v(" "),n("span",{staticClass:"key key_hide number",staticStyle:{"margin-left":"0px"},on:{click:t.HideKey}},[n("svg",{staticClass:"jp",attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M390.94044445 560.84859262h97.39377777V463.45481485H390.94044445v97.39377777zM560.24177778 317.81925929H463.75822222v97.39377778h97.39377778V317.81925929z m-145.63555556 0H318.12266667v97.39377778h97.39377778V317.81925929z m291.27111111 0H609.39377778v97.39377778h97.39377777V317.81925929zM536.576 560.84859262h97.39377778V463.45481485H536.576v97.39377777zM268.97066667 317.81925929H172.48711111v97.39377778h97.39377778V317.81925929z m486.05866666 97.39377778h97.39377778V317.81925929H755.02933333v97.39377778z m145.63555556-243.02933334H123.33511111c-53.70311111 0-97.39377778 43.69066667-97.39377778 97.39377778V754.72592595c0 53.70311111 43.69066667 97.39377778 97.39377778 97.39377778h776.41955556c53.70311111 0 97.39377778-43.69066667 97.39377778-97.39377778V269.57748151c0-53.70311111-43.69066667-97.39377778-96.48355556-97.39377778z m48.24177778 582.54222222c0 26.39644445-21.84533333 48.24177778-48.24177778 48.24177778H123.33511111c-26.39644445 0-48.24177778-21.84533333-48.24177778-48.24177778V269.57748151c0-26.39644445 21.84533333-48.24177778 48.24177778-48.24177778h776.41955556c26.39644445 0 48.24177778 21.84533333 48.24177778 48.24177778l0.91022222 485.14844444zM682.21155555 560.84859262h97.39377778V463.45481485H682.21155555v97.39377777z m-388.66488888 145.63555556h436.90666666V609.0903704H293.54666667v97.39377778zM341.78844445 463.45481485H245.30488889v97.39377777h97.39377778V463.45481485z"}})]),t._v(" "),n("span",[t._v("\n 隐藏\n "),n("br"),t._v(" "),n("i",{staticStyle:{display:"block",transform:"scaleX(2)"}},[t._v("v")])])]),t._v(" "),n("span",{staticClass:"key number blue",on:{click:function(e){return t.Fanhui()}}},[t._v("返回")])])]):"hand"===t.mode&&t.main_width?n("div",{staticClass:"main-keyboard"},[n("div",{staticClass:"hand-left-box"},[n("span",{staticClass:"key",on:{click:function(e){return t.clickKey(e,",",!0)}}},[t._v(",")]),t._v(" "),n("span",{staticClass:"key",on:{click:function(e){return t.clickKey(e,"。",!0)}}},[t._v("。")]),t._v(" "),n("span",{staticClass:"key",on:{click:function(e){return t.clickKey(e,".",!0)}}},[t._v(".")]),t._v(" "),"CN"===t.handLib?n("span",{staticClass:"key blue",staticStyle:{background:"#728fa8"}},[t._v("已选择中文")]):n("span",{staticClass:"key blue",on:{click:function(e){t.handLib="CN"}}},[t._v("中")]),t._v(" "),"EN"===t.handLib?n("span",{staticClass:"key blue",staticStyle:{background:"#728fa8"}},[t._v("已选择英文")]):n("span",{staticClass:"key blue",on:{click:function(e){t.handLib="EN"}}},[t._v("英")])]),t._v(" "),n("paint",{ref:"paint",attrs:{size:t.size,p_width:t.main_width,p_height:t.main_height,lib:t.handLib,HandWriteApi:t.HandWriteApi},on:{SelectText:t.HandText}}),t._v(" "),n("div",{staticClass:"hand-left-box"},[n("span",{staticClass:"key hand-del",on:{click:function(e){return t.del()}}},[n("svg",{attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60"}},[n("path",{attrs:{d:"M938.8 227.7H284.6L0.1 511.3l284.4 284.4v0.8h654.2c47.1 0 85.3-38.2 85.3-85.3V313c0.1-47.1-38.1-85.3-85.2-85.3z m-172.1 385l-40.2 40.2-100.6-100.6-100.6 100.6-40.2-40.2 100.6-100.6-100.6-100.5 40.2-40.2L625.9 472l100.6-100.6 40.2 40.2-100.6 100.5 100.6 100.6z"}})])]),t._v(" "),n("span",{staticClass:"key key_hide",on:{click:t.HideKey}},[n("svg",{staticClass:"jp",attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M390.94044445 560.84859262h97.39377777V463.45481485H390.94044445v97.39377777zM560.24177778 317.81925929H463.75822222v97.39377778h97.39377778V317.81925929z m-145.63555556 0H318.12266667v97.39377778h97.39377778V317.81925929z m291.27111111 0H609.39377778v97.39377778h97.39377777V317.81925929zM536.576 560.84859262h97.39377778V463.45481485H536.576v97.39377777zM268.97066667 317.81925929H172.48711111v97.39377778h97.39377778V317.81925929z m486.05866666 97.39377778h97.39377778V317.81925929H755.02933333v97.39377778z m145.63555556-243.02933334H123.33511111c-53.70311111 0-97.39377778 43.69066667-97.39377778 97.39377778V754.72592595c0 53.70311111 43.69066667 97.39377778 97.39377778 97.39377778h776.41955556c53.70311111 0 97.39377778-43.69066667 97.39377778-97.39377778V269.57748151c0-53.70311111-43.69066667-97.39377778-96.48355556-97.39377778z m48.24177778 582.54222222c0 26.39644445-21.84533333 48.24177778-48.24177778 48.24177778H123.33511111c-26.39644445 0-48.24177778-21.84533333-48.24177778-48.24177778V269.57748151c0-26.39644445 21.84533333-48.24177778 48.24177778-48.24177778h776.41955556c26.39644445 0 48.24177778 21.84533333 48.24177778 48.24177778l0.91022222 485.14844444zM682.21155555 560.84859262h97.39377778V463.45481485H682.21155555v97.39377777z m-388.66488888 145.63555556h436.90666666V609.0903704H293.54666667v97.39377778zM341.78844445 463.45481485H245.30488889v97.39377777h97.39377778V463.45481485z"}})]),t._v(" "),n("span",[t._v("\n 隐藏\n "),n("br"),t._v(" "),n("i",{staticStyle:{display:"block",transform:"scaleX(2)"}},[t._v("v")])])]),t._v(" "),n("span",{staticClass:"key blue",on:{click:function(e){t.mode="biaodian"}}},[t._v("标点")]),t._v(" "),n("span",{staticClass:"key blue",on:{click:function(e){t.mode="num"}}},[t._v("数字")]),t._v(" "),n("span",{staticClass:"key blue",on:{click:function(e){t.mode="en_cap"}}},[t._v("键盘")])])],1):n("div",{staticClass:"main-keyboard"},[t._l(t.number_keys,function(e,i){return n("span",{key:i+50,staticClass:"key",on:{click:function(n){return t.clickNumber(n,e)}}},[t._v(t._s(e))])}),t._v(" "),n("br"),t._v(" "),t._l(t.letter_keys.slice(0,10),function(e,i){return n("span",{key:i+11,staticClass:"key letter",on:{click:function(n){return t.clickKey(n,e)}}},[t._v(t._s(e))])}),t._v(" "),n("br"),t._v(" "),t._l(t.letter_keys.slice(10,19),function(e,i){return n("span",{key:i+21,staticClass:"key letter",on:{click:function(n){return t.clickKey(n,e)}}},[t._v(t._s(e))])}),t._v(" "),n("br"),t._v(" "),"cn"===t.mode||"en_cap"===t.mode?n("span",{staticClass:"key cap_change",staticStyle:{background:"#728fa8"},on:{click:function(e){return t.cap_change()}}},[t._v(t._s("cn"===t.mode?"":"已锁定大写"))]):n("span",{staticClass:"key cap_change",on:{click:function(e){return t.cap_change()}}},[t._v("切换大写")]),t._v(" "),t._l(t.letter_keys.slice(19,26),function(e,i){return n("span",{key:i+31,staticClass:"key letter",on:{click:function(n){return t.clickKey(n,e)}}},[t._v(t._s(e))])}),t._v(" "),n("span",{staticClass:"key key_hide",on:{click:t.HideKey}},[n("svg",{staticClass:"jp",attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M390.94044445 560.84859262h97.39377777V463.45481485H390.94044445v97.39377777zM560.24177778 317.81925929H463.75822222v97.39377778h97.39377778V317.81925929z m-145.63555556 0H318.12266667v97.39377778h97.39377778V317.81925929z m291.27111111 0H609.39377778v97.39377778h97.39377777V317.81925929zM536.576 560.84859262h97.39377778V463.45481485H536.576v97.39377777zM268.97066667 317.81925929H172.48711111v97.39377778h97.39377778V317.81925929z m486.05866666 97.39377778h97.39377778V317.81925929H755.02933333v97.39377778z m145.63555556-243.02933334H123.33511111c-53.70311111 0-97.39377778 43.69066667-97.39377778 97.39377778V754.72592595c0 53.70311111 43.69066667 97.39377778 97.39377778 97.39377778h776.41955556c53.70311111 0 97.39377778-43.69066667 97.39377778-97.39377778V269.57748151c0-53.70311111-43.69066667-97.39377778-96.48355556-97.39377778z m48.24177778 582.54222222c0 26.39644445-21.84533333 48.24177778-48.24177778 48.24177778H123.33511111c-26.39644445 0-48.24177778-21.84533333-48.24177778-48.24177778V269.57748151c0-26.39644445 21.84533333-48.24177778 48.24177778-48.24177778h776.41955556c26.39644445 0 48.24177778 21.84533333 48.24177778 48.24177778l0.91022222 485.14844444zM682.21155555 560.84859262h97.39377778V463.45481485H682.21155555v97.39377777z m-388.66488888 145.63555556h436.90666666V609.0903704H293.54666667v97.39377778zM341.78844445 463.45481485H245.30488889v97.39377777h97.39377778V463.45481485z"}})]),t._v(" "),n("span",[t._v("\n 隐藏\n "),n("br"),t._v(" "),n("i",{staticStyle:{display:"block",transform:"scaleX(2)"}},[t._v("v")])])]),t._v(" "),n("br"),t._v(" "),"cn"===t.mode?n("span",{staticClass:"key blue",on:{click:function(e){return t.cn_change()}}},[t._v("\n 中 /\n "),n("i",{staticStyle:{"font-size":"16px","font-weight":"500"}},[t._v("英")])]):n("span",{staticClass:"key blue",on:{click:function(e){return t.cn_change()}}},[t._v("\n 英 /\n "),n("i",{staticStyle:{"font-size":"16px","font-weight":"500"}},[t._v("中")])]),t._v(" "),n("span",{staticClass:"key red",on:{click:function(e){t.mode="hand"}}},[t._v("手写")]),t._v(" "),n("span",{staticClass:"key blue",on:{click:function(e){return t.num_change()}}},[t._v("数字")]),t._v(" "),n("span",{staticClass:"key blue",on:{click:function(e){return t.bd_change()}}},[t._v("标点")]),t._v(" "),n("span",{staticClass:"key",on:{click:function(e){return t.clickKey(e,".",!0)}}},[t._v(".")]),t._v(" "),n("span",{staticClass:"key space",on:{click:function(e){return t.clickKey(e," ",!0)}}},[t._v("空格")]),t._v(" "),n("span",{staticClass:"key def-del",staticStyle:{width:"140px"},on:{click:function(e){return t.del()}}},[n("svg",{attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60"}},[n("path",{attrs:{d:"M938.8 227.7H284.6L0.1 511.3l284.4 284.4v0.8h654.2c47.1 0 85.3-38.2 85.3-85.3V313c0.1-47.1-38.1-85.3-85.2-85.3z m-172.1 385l-40.2 40.2-100.6-100.6-100.6 100.6-40.2-40.2 100.6-100.6-100.6-100.5 40.2-40.2L625.9 472l100.6-100.6 40.2 40.2-100.6 100.5 100.6 100.6z"}})])])],2)])])},r=[],a={render:i,staticRenderFns:r};e.a=a}])});
//# sourceMappingURL=vue-dusion-keyboard.js.map