You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
20 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-04468857"],{"09f4":function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),Math.easeInOutQuad=function(e,t,r,n){return e/=n/2,e<1?r/2*e*e+t:(e--,-r/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,r){var i=o(),s=e-i,c=20,u=0;t="undefined"===typeof t?500:t;var l=function e(){u+=c;var o=Math.easeInOutQuad(u,i,s,t);a(o),u<t?n(e):r&&"function"===typeof r&&r()};l()}},1147:function(e,t,r){"use strict";var n=r("9c0e"),a=r("9d05"),o=r("e4a3"),i=r("8b61"),s=r("b0ac"),c=r("cd73"),u=r("bb27"),l=r("83b9"),d=r("d140"),f=r("66a4"),m=r("b596"),h=[],p=h.sort,b=s((function(){h.sort(void 0)})),g=s((function(){h.sort(null)})),v=u("sort"),y=!s((function(){if(f)return f<70;if(!(l&&l>3)){if(d)return!0;if(m)return m<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)h.push({k:t+n,v:r})}for(h.sort((function(e,t){return t.v-e.v})),n=0;n<h.length;n++)t=h[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}})),w=b||!g||!v||!y,S=function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:String(t)>String(r)?1:-1}};n({target:"Array",proto:!0,forced:w},{sort:function(e){void 0!==e&&a(e);var t=o(this);if(y)return void 0===e?p.call(t):p.call(t,e);var r,n,s=[],u=i(t.length);for(n=0;n<u;n++)n in t&&s.push(t[n]);s=c(s,S(e)),r=s.length,n=0;while(n<r)t[n]=s[n++];while(n<u)delete t[n++];return t}})},1771:function(e,t,r){"use strict";r.d(t,"f",(function(){return c})),r.d(t,"c",(function(){return u})),r.d(t,"d",(function(){return l})),r.d(t,"b",(function(){return d})),r.d(t,"a",(function(){return f})),r.d(t,"e",(function(){return m}));var n=r("1c03"),a=r("6283"),o=(r("33e4"),r("3789"),r("c254"),r("596c"),r("7910"),r("19ee"),r("413f"),r("8783"),r("2f8c"),r("2b31"),r("801a"),r("c2cf")),i=r("ebb5"),s=void 0,c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"authority";"string"===typeof e&&(e=[e]),e&&e.length>0&&o["a"].enums({codes:e},r).then((function(r){var n,o=r.data,i=Object(a["a"])(e);try{for(i.s();!(n=i.n()).done;){var s=n.value;t[s]=o.data[s]}}catch(c){i.e(c)}finally{i.f()}}))},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(e,t,"authority")},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(e,t,"msgs")},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"===typeof e&&(e=[e]),e&&e.length>0&&i["a"].list({codes:e}).then((function(r){var n,o=r.data,i=Object(a["a"])(e);try{for(i.s();!(n=i.n()).done;){var s=n.value;t[s]=o.data[s]}}catch(c){i.e(c)}finally{i.f()}}))},f=function(e){console.log(e,12);var t=e.data,r=t.type;if(r&&r.includes("application/json")){var n=new FileReader;n.onload=function(e){if(2===e.target.readyState){var t=JSON.parse(e.target.result);s.$message({message:t.msg,type:"warning"})}},n.readAsText(t)}else{var a=e.headers["content-disposition"],o="下载文件.zip";if(a)for(var i=a.split(";"),c=0;c<i.length;c++){var u=i[c];if(null!==u&&""!==u){var l=u.split("=");if(null!==l&&l.length>0&&"filename"===l[0].trim().toLowerCase()){o=decodeURI(l[1]);break}}}(o.startsWith("'")||o.startsWith('"'))&&(o.endsWith("'")||o.endsWith('"'))&&(o=o.substring(1,o.length-1));var d=new Blob([t]),f=document.createElement("a");f.href=window.URL.createObjectURL(d),f.download=o,f.click(),window.URL.revokeObjectURL(f.href)}},m=function(e){var t={size:10,current:1,sort:"id",order:"descending",model:{},map:{},timeRange:null};return e?Object(n["a"])(Object(n["a"])({},t),e):t}},"2da9":function(e,t,r){(function(r){var n,a;(function(t,r){e.exports=r(t)})("undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof r?r:this,(function(r){"use strict";r=r||{};var o,i=r.Base64,s="2.6.4",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=function(e){for(var t={},r=0,n=e.length;r<n;r++)t[e.charAt(r)]=r;return t}(c),l=String.fromCharCode,d=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?l(192|t>>>6)+l(128|63&t):l(224|t>>>12&15)+l(128|t>>>6&63)+l(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return l(240|t>>>18&7)+l(128|t>>>12&63)+l(128|t>>>6&63)+l(128|63&t)},f=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,m=function(e){return e.replace(f,d)},h=function(e){var t=[0,2,1][e.length%3],r=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),n=[c.charAt(r>>>18),c.charAt(r>>>12&63),t>=2?"=":c.charAt(r>>>6&63),t>=1?"=":c.charAt(63&r)];return n.join("")},p=r.btoa&&"function"==typeof r.btoa?function(e){return r.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,h)},b=function(e){return p(m(String(e)))},g=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},v=function(e,t){return t?g(b(e)):b(e)},y=function(e){return v(e,!0)};r.Uint8Array&&(o=function(e,t){for(var r="",n=0,a=e.length;n<a;n+=3){var o=e[n],i=e[n+1],s=e[n+2],u=o<<16|i<<8|s;r+=c.charAt(u>>>18)+c.charAt(u>>>12&63)+("undefined"!=typeof i?c.charAt(u>>>6&63):"=")+("undefined"!=typeof s?c.charAt(63&u):"=")}return t?g(r):r});var w,S=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,O=function(e){switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),r=t-65536;return l(55296+(r>>>10))+l(56320+(1023&r));case 3:return l((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return l((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},x=function(e){return e.replace(S,O)},P=function(e){var t=e.length,r=t%4,n=(t>0?u[e.charAt(0)]<<18:0)|(t>1?u[e.charAt(1)]<<12:0)|(t>2?u[e.charAt(2)]<<6:0)|(t>3?u[e.charAt(3)]:0),a=[l(n>>>16),l(n>>>8&255),l(255&n)];return a.length-=[0,0,2,1][r],a.join("")},j=r.atob&&"function"==typeof r.atob?function(e){return r.atob(e)}:function(e){return e.replace(/\S{1,4}/g,P)},A=function(e){return j(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},C=function(e){return x(j(e))},T=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},k=function(e){return C(T(e))};r.Uint8Array&&(w=function(e){return Uint8Array.from(A(T(e)),(function(e){return e.charCodeAt(0)}))});var q=function(){var e=r.Base64;return r.Base64=i,e};if(r.Base64={VERSION:s,atob:A,btoa:p,fromBase64:k,toBase64:v,utob:m,encode:v,encodeURI:y,btou:x,decode:k,noConflict:q,fromUint8Array:o,toUint8Array:w},"function"===typeof Object.defineProperty){var _=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",_((function(){return k(this)}))),Object.defineProperty(String.prototype,"toBase64",_((function(e){return v(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",_((function(){return v(this,!0)})))}}return r["Meteor"]&&(Base64=r.Base64),e.exports?e.exports.Base64=r.Base64:(n=[],a=function(){return r.Base64}.apply(t,n),void 0===a||(e.exports=a)),{Base64:r.Base64}}))}).call(this,r("2409"))},"413f":function(e,t,r){"use strict";var n=r("9c0e"),a=r("60ac").f,o=r("8b61"),i=r("7fdd"),s=r("e250"),c=r("0d6b"),u=r("a82c"),l="".endsWith,d=Math.min,f=c("endsWith"),m=!u&&!f&&!!function(){var e=a(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!m&&!f},{endsWith:function(e){var t=String(s(this));i(e);var r=arguments.length>1?arguments[1]:void 0,n=o(t.length),a=void 0===r?n:d(o(r),n),c=String(e);return l?l.call(t,c,a):t.slice(a-c.length,a)===c}})},8200:function(e,t,r){var n=r("9c0e"),a=r("d4fc").entries;n({target:"Object",stat:!0},{entries:function(e){return a(e)}})},"83b9":function(e,t,r){var n=r("a859"),a=n.match(/firefox\/(\d+)/i);e.exports=!!a&&+a[1]},8454:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("div",{staticClass:"filter-container"},[r("el-input",{staticClass:"filter-item search-item",attrs:{placeholder:e.$t("table.smsSendStatus.receiver")},model:{value:e.queryParams.model.receiver,callback:function(t){e.$set(e.queryParams.model,"receiver",t)},expression:"queryParams.model.receiver"}}),r("el-input",{staticClass:"filter-item search-item",attrs:{placeholder:e.$t("table.smsSendStatus.bizId")},model:{value:e.queryParams.model.bizId,callback:function(t){e.$set(e.queryParams.model,"bizId",t)},expression:"queryParams.model.bizId"}}),r("el-input",{staticClass:"filter-item search-item",attrs:{placeholder:e.$t("table.smsSendStatus.ext")},model:{value:e.queryParams.model.ext,callback:function(t){e.$set(e.queryParams.model,"ext",t)},expression:"queryParams.model.ext"}}),r("el-button",{staticClass:"filter-item",attrs:{plain:"",type:"primary"},on:{click:e.search}},[e._v(e._s(e.$t("table.search")))]),r("el-button",{staticClass:"filter-item",attrs:{plain:"",type:"warning"},on:{click:e.reset}},[e._v(e._s(e.$t("table.reset")))])],1),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.tableKey,ref:"table",staticStyle:{width:"100%"},attrs:{data:e.tableData.records,border:"",fit:"","row-key":"id"},on:{"filter-change":e.filterChange,"selection-change":e.onSelectChange,"sort-change":e.sortChange,"cell-click":e.cellClick}},[r("el-table-column",{attrs:{align:"center",type:"selection",width:"40px","reserve-selection":!0}}),r("el-table-column",{attrs:{label:e.$t("table.smsSendStatus.receiver"),"show-overflow-tooltip":!0,align:"center",prop:"receiver",width:"120px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(t.row.receiver))])]}}])}),r("el-table-column",{attrs:{"filter-multiple":!1,filters:e.sendStatusFilters,label:e.$t("table.smsSendStatus.sendStatus"),"show-overflow-tooltip":!0,align:"center","column-key":"sendStatus",prop:"sendStatus",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(t.row.sendStatus.desc))])]}}])}),r("el-table-column",{attrs:{label:e.$t("table.smsSendStatus.bizId"),"show-overflow-tooltip":!0,align:"center",prop:"bizId"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(t.row.bizId))])]}}])}),r("el-table-column",{attrs:{label:e.$t("table.smsSendStatus.ext"),"show-overflow-tooltip":!0,align:"center",prop:"ext",width:"150px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(t.row.ext))])]}}])}),r("el-table-column",{attrs:{label:e.$t("table.smsSendStatus.code"),"show-overflow-tooltip":!0,align:"center",prop:"code",width:"120px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(t.row.code))])]}}])}),r("el-table-column",{attrs:{label:e.$t("table.smsSendStatus.message"),"show-overflow-tooltip":!0,align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(t.row.message))])]}}])}),r("el-table-column",{attrs:{label:e.$t("table.smsSendStatus.fee"),align:"center",width:"80px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(t.row.fee))])]}}])}),r("el-table-column",{attrs:{label:e.$t("table.createTime"),align:"center",prop:"createTime",sortable:"custom",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(t.row.createTime))])]}}])})],1),r("pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableData.total>0,expression:"tableData.total>0"}],attrs:{limit:e.queryParams.size,page:e.queryParams.current,total:Number(e.tableData.total)},on:{"update:limit":function(t){return e.$set(e.queryParams,"size",t)},"update:page":function(t){return e.$set(e.queryParams,"current",t)},pagination:e.fetch}})],1)},a=[],o=r("1c03"),i=(r("c254"),r("f11e"),r("4a7c"),r("8783"),r("1147"),r("33e4"),r("3789"),r("596c"),r("7952"),r("333d")),s=r("9256"),c={page:{url:"/smsSendStatus/page",method:"POST"}},u={page:function(e){return Object(s["a"])(Object(o["a"])(Object(o["a"])({},c.page),{},{data:e}))}},l=r("fa7d"),d=r("1771"),f={name:"SmsSendStatusManage",components:{Pagination:i["a"]},filters:{statusFilter:function(e){var t={false:"danger",true:"success"};return t[e]||"success"}},props:{dialogVisible:{type:Boolean,default:!1}},data:function(){return{dialog:{isVisible:!1,type:"add"},tableKey:0,queryParams:Object(d["e"])({model:{taskId:0}}),selection:[],loading:!1,tableData:{total:0},enums:{SendStatus:{}}}},computed:{sendStatusFilters:function(){return Object(l["a"])(this.enums.SendStatus)},isVisible:{get:function(){return this.dialogVisible},set:function(){}}},mounted:function(){Object(d["d"])("SendStatus",this.enums)},methods:{onSelectChange:function(e){this.selection=e},search:function(){this.fetch(Object(o["a"])({},this.queryParams))},setTaskId:function(e){this.queryParams.model.taskId=e,this.fetch(Object(o["a"])({},this.queryParams))},reset:function(){var e=this.queryParams.model.taskId;this.queryParams=Object(d["e"])({model:{taskId:e}}),this.$refs.table.clearSort(),this.$refs.table.clearFilter(),this.search()},clearSelections:function(){this.$refs.table.clearSelection()},fetch:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.loading=!0,this.queryParams.timeRange&&(this.queryParams.map.createTime_st=this.queryParams.timeRange[0],this.queryParams.map.createTime_ed=this.queryParams.timeRange[1]),this.queryParams.current=t.current?t.current:this.queryParams.current,this.queryParams.size=t.size?t.size:this.queryParams.size,u.page(this.queryParams).then((function(t){var r=t.data;r.isSuccess&&(e.tableData=r.data)})).finally((function(){return e.loading=!1}))},sortChange:function(e){this.queryParams.sort=e.prop,this.queryParams.order=e.order,this.queryParams.sort&&this.search()},filterChange:function(e){for(var t in e)if(t.includes(".")){var r={};r[t.split(".")[1]]=e[t][0],this.queryParams.model[t.split(".")[0]]=r}else this.queryParams.model[t]=e[t][0];this.search()},cellClick:function(e,t){var r=this;if("operation"!==t["columnKey"]){var n=!1;this.selection.forEach((function(t){t.id===e.id&&(n=!0,r.$refs.table.toggleRowSelection(e))})),n||this.$refs.table.toggleRowSelection(e,!0)}}}},m=f,h=r("4ac2"),p=Object(h["a"])(m,n,a,!1,null,"ad317872",null);t["default"]=p.exports},9256:function(e,t,r){"use strict";var n=r("1c03"),a=(r("9f5c"),r("8783"),r("33e4"),r("7952"),r("8200"),r("5976")),o=r.n(a),i=r("a68a"),s=r("5657"),c=r("2da9");function u(e,t){"ECONNABORTED"===e.code?Object(i["Message"])({message:"请求超时"}):e.response&&e.response.data?Object(i["Message"])({message:e.response.data}):e.message&&Object(i["Message"])({message:e.message}),t(e)}function l(e,t){e.data.isError&&(4e4===e.data.code||40001===e.data.code||40002===e.data.code||40003===e.data.code||40005===e.data.code||40006===e.data.code||40008===e.data.code?i["MessageBox"].alert(e.data.msg,"提醒",{confirmButtonText:"确定",callback:function(){window.location.hash="/login"}}):i["Message"].error(e.data.msg)),t(e)}o.a.interceptors.request.use((function(e){var t=!1!==e.headers["X-isToken"]||e.headers["X-isToken"],r=s["a"].get("TOKEN","");r&&t&&(e.headers.token="Bearer "+r);var n="ceres_admin_web",a="ceres_admin_web";return e.headers["Authorization"]="Basic ".concat(c["Base64"].encode("".concat(n,":").concat(a))),e}),(function(e){return Promise.reject(e)})),o.a.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)}));var d=function(e){var t={ts:Date.now()},r=e.method.toUpperCase(),a={method:r,url:"".concat("https://pos.admin.api.lotus-wallet.com").concat(e.url),responseType:e.responseType||"",timeout:2e4},i=["PUT","POST","PATCH"];i.includes(r)?a.data=e.data||{}:a.params=Object(n["a"])(Object(n["a"])({},t),e.data||{}),e.formData&&(a.transformRequest=[function(e){var t=new FormData;return e&&Object.entries(e).forEach((function(e){t.append(e[0],e[1])})),t}]);var s=new Promise((function(e,t){o()(a).then((function(t){l(t,e)})).catch((function(e){u(e,t)}))}));return s};t["a"]=d},b596:function(e,t,r){var n=r("a859"),a=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!a&&+a[1]},c2cf:function(e,t,r){"use strict";var n=r("1c03"),a=r("9256"),o={enums:{method:"GET",url:"/enums"}};t["a"]={uploadFile:"".concat("https://pos.admin.api.lotus-wallet.com","/attachment/upload"),enums:function(e){return Object(a["a"])(Object(n["a"])(Object(n["a"])({},o.enums),{},{data:e}))}}},cd73:function(e,t){var r=Math.floor,n=function(e,t){var i=e.length,s=r(i/2);return i<8?a(e,t):o(n(e.slice(0,s),t),n(e.slice(s),t),t)},a=function(e,t){var r,n,a=e.length,o=1;while(o<a){n=o,r=e[o];while(n&&t(e[n-1],r)>0)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},o=function(e,t,r){var n=e.length,a=t.length,o=0,i=0,s=[];while(o<n||i<a)o<n&&i<a?s.push(r(e[o],t[i])<=0?e[o++]:t[i++]):s.push(o<n?e[o++]:t[i++]);return s};e.exports=n},d140:function(e,t,r){var n=r("a859");e.exports=/MSIE|Trident/.test(n)},d4fc:function(e,t,r){var n=r("e84b"),a=r("63af"),o=r("2f0e"),i=r("04f8").f,s=function(e){return function(t){var r,s=o(t),c=a(s),u=c.length,l=0,d=[];while(u>l)r=c[l++],n&&!i.call(s,r)||d.push(e?[r,s[r]]:s[r]);return d}};e.exports={entries:s(!0),values:s(!1)}},ebb5:function(e,t,r){"use strict";var n=r("1c03"),a=r("9256"),o={page:{method:"POST",url:"/dictionaryItem/page"},update:{method:"PUT",url:"/dictionaryItem"},save:{method:"POST",url:"/dictionaryItem"},delete:{method:"DELETE",url:"/dictionaryItem"},list:{method:"GET",url:"/dictionaryItem/codes"},preview:{method:"POST",url:"/dictionaryItem/preview"},export:{method:"POST",url:"/dictionaryItem/export"},import:{method:"POST",url:"/dictionaryItem/import"}};t["a"]={page:function(e){return Object(a["a"])(Object(n["a"])(Object(n["a"])({},o.page),{},{data:e}))},save:function(e){return Object(a["a"])(Object(n["a"])(Object(n["a"])({},o.save),{},{data:e}))},update:function(e){return Object(a["a"])(Object(n["a"])(Object(n["a"])({},o.update),{},{data:e}))},delete:function(e){return Object(a["a"])(Object(n["a"])(Object(n["a"])({},o.delete),{},{data:e}))},list:function(e){return Object(a["a"])(Object(n["a"])(Object(n["a"])({},o.list),{},{data:e}))},preview:function(e){return Object(a["a"])(Object(n["a"])(Object(n["a"])({},o.preview),{},{data:e}))},export:function(e){return Object(a["a"])(Object(n["a"])(Object(n["a"])({},o.export),{},{responseType:"blob",data:e}))},import:function(e){return Object(a["a"])(Object(n["a"])(Object(n["a"])({},o.import),{},{data:e}))}}},fa7d:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o}));r("c254"),r("4563"),r("a63e");var n=function(e){var t={terminal:"",browser:"",terminalType:{}};return t.terminalType={trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1===e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1===e.indexOf("Safari"),weixin:e.indexOf("MicroMessenger")>-1,qq:" qq"===e.match(/\sQQ/i)},t.terminalType.ios||t.terminalType.iPhone||t.terminalType.iPad?t.terminal="苹果":t.terminalType.android?t.terminal="安卓":t.terminal="PC",/msie/i.test(e)&&!/opera/.test(e)?t.browser="IE":/firefox/i.test(e)?t.browser="Firefox":/chrome/i.test(e)&&/webkit/i.test(e)&&/mozilla/i.test(e)?t.browser="Chrome":/opera/i.test(e)?t.browser="Opera":/iPad/i.test(e)?t.browser="iPad":!/webkit/i.test(e)||/chrome/i.test(e)&&/webkit/i.test(e)&&/mozilla/i.test(e)?t.browser="未知":t.browser="Safari",t},a=function(e){var t=[];if(e)for(var r in e)t.push({text:e[r],value:r});return t},o=function(e){if(e){var t=document.createElement("input");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("Copy"),t.className="oInput",t.style.display="none"}}}}]);