149 lines
821 KiB
JavaScript
149 lines
821 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d7ad4746"],{1090:function(e,t,n){"use strict";var r=n("7a23"),o={__name:"Pages",props:{pageSizeArr:{type:Array,default:()=>[10,20,50,100]},background:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},small:{type:Boolean,default:!1},marginTop:{type:Number,default:10},tableHeight:{type:Number},pageConfiger:{type:Object,default:()=>({pageSize:10,currentPage:1,total:0})}},emits:["changeSize","changeNo"],setup(e,{emit:t}){const n=e,o=Object(r["reactive"])({configer:{}}),i=e=>{t("changeSize",e)},a=e=>{t("changeNo",e)};return Object(r["watchEffect"])(()=>{o.configer=n.pageConfiger}),(t,n)=>{const u=Object(r["resolveComponent"])("el-pagination");return Object(r["openBlock"])(),Object(r["createElementBlock"])("div",{class:"fenye",style:Object(r["normalizeStyle"])({top:e.tableHeight+10+"px"})},[Object(r["createVNode"])(u,{"current-page":o.configer.currentPage||o.configer.pageNo||o.configer.current||o.configer.pageCurrent||o.configer.pageNum,"page-size":o.configer.pageSize||o.configer.size,"page-sizes":e.pageSizeArr,small:e.small,disabled:e.disabled,background:e.background,layout:"total, sizes, prev, pager, next, jumper",total:o.configer.total,onSizeChange:i,onCurrentChange:a},null,8,["current-page","page-size","page-sizes","small","disabled","background","total"])],4)}}};const i=o;t["a"]=i},"1a67":function(e,t,n){},2419:function(e,t,n){"use strict";n("1a67")},"3cae":function(e,t,n){e.exports=n.p+"static/img/mxbg.196d6100.jpg"},"47fe":function(e,t,n){"use strict";n("aaec")},5062:function(e,t,n){"use strict";n("eba8")},"560e":function(e,t,n){},"8a8c":function(e,t,n){},"9d5a":function(e,t,n){},aaec:function(e,t,n){},ad28:function(e,t,n){"use strict";var r=n("7a23"),o={__name:"MyTable",props:{tableConfiger:{type:Object,default:()=>{}},tableData:{type:Array,default:()=>[]},tableColumn:{type:Array,default:()=>[]},controlsWidth:{type:Number,default:180},tableHeight:{type:Number||String},treePros:{type:Object,default:{children:"children",hasChildren:"hasChildren"}},fixed:{type:String,default:"right"}},emits:["chooseData"],setup(e,{emit:t}){const n=e,o=Object(r["ref"])(),i=Object(r["ref"])();let a=Object(r["reactive"])({showSelectType:null,showIndex:!0,rowKey:null,border:!0,defaultExpandAll:!1,loading:!1,align:"center",haveControls:!0,controls:"操作",stripe:!1,lazy:!0,portUrl:"",defaultSelectKeys:[],radioChoose:"",rowHeight:"41"});Object(r["watchEffect"])(()=>{a={...a,...n.tableConfiger},l()}),Object(r["onMounted"])(()=>{l()});const u=e=>{if("radio"===a.showSelectType&&e.length>1){let n=e.shift();o.value.toggleRowSelection(n,!1),i.value=e,t("chooseData",e)}else t("chooseData",e)},s=(e,t,n)=>{setTimeout(()=>{n([{id:31,date:"2016-05-01",name:"wangxiaohu",address:"No. 189, Grove St, Los Angeles"},{id:32,date:"2016-05-01",name:"wangxiaohu",address:"No. 189, Grove St, Los Angeles"}])},1e3)};function l(){Object(r["nextTick"])(()=>{var e,t;(null===(e=n.tableConfiger.defaultSelectKeys)||void 0===e?void 0:e.length)>0&&"checkBox"===n.tableConfiger.showSelectType?n.tableData.forEach(e=>{n.tableConfiger.defaultSelectKeys.findIndex(t=>t===e[n.tableConfiger.rowKey])>-1&&o.value.toggleRowSelection(e,!0)}):n.tableConfiger.defaultSelectKeys&&(null===(t=n.tableConfiger.defaultSelectKeys)||void 0===t?void 0:t.length)>0&&"radio"===n.tableConfiger.showSelectType&&(a.radioChoose=n.tableConfiger.defaultSelectKeys[0])})}return(t,n)=>{const i=Object(r["resolveComponent"])("el-table-column"),l=Object(r["resolveComponent"])("el-table"),c=Object(r["resolveDirective"])("loading");return Object(r["openBlock"])(),Object(r["createElementBlock"])("div",{style:{width:"100%"},class:Object(r["normalizeClass"])("radio"===Object(r["unref"])(a).showSelectType?"tabBoxRadio":"")},[Object(r["withDirectives"])((Object(r["openBlock"])(),Object(r["createBlock"])(l,{ref_key:"multipleTableRef",ref:o,data:e.tableData,onSelectionChange:u,"row-key":Object(r["unref"])(a).rowKey,border:Object(r["unref"])(a).border,"default-expand-all":Object(r["unref"])(a).defaultExpandAll,stripe:Object(r["unref"])(a).stripe,hei
|
||
|
/*!
|
||
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||
|
*
|
||
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||
|
* Released under the MIT License.
|
||
|
*/function Ml(e){return"[object Object]"===Object.prototype.toString.call(e)}function zl(e){var t,n;return!1!==Ml(e)&&(void 0===(t=e.constructor)||!1!==Ml(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}function Hl(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Vl(e){return!!e&&!!e[Ac]}function $l(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===kc}(e)||Array.isArray(e)||!!e[Oc]||!!e.constructor[Oc]||Kl(e)||Yl(e))}function Ul(e,t,n){void 0===n&&(n=!1),0===Wl(e)?(n?Object.keys:Bc)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function Wl(e){var t=e[Ac];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Kl(e)?2:Yl(e)?3:0}function Gl(e,t){return 2===Wl(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ql(e,t,n){var r=Wl(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function Kl(e){return Cc&&e instanceof Map}function Yl(e){return xc&&e instanceof Set}function Xl(e){return e.o||e.t}function Jl(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=jc(e);delete t[Ac];for(var n=Bc(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Zl(e,t){return void 0===t&&(t=!1),ec(e)||Vl(e)||!$l(e)||(Wl(e)>1&&(e.set=e.add=e.clear=e.delete=Ql),Object.freeze(e),t&&Ul(e,(function(e,t){return Zl(t,!0)}),!0)),e}function Ql(){Hl(2)}function ec(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function tc(e){var t=Fc[e];return t||Hl(18,e),t}function nc(){return wc}function rc(e,t){t&&(tc("Patches"),e.u=[],e.s=[],e.v=t)}function oc(e){ic(e),e.p.forEach(uc),e.p=null}function ic(e){e===wc&&(wc=e.l)}function ac(e){return wc={p:[],l:wc,h:e,m:!0,_:0}}function uc(e){var t=e[Ac];0===t.i||1===t.i?t.j():t.O=!0}function sc(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||tc("ES5").S(t,e,r),r?(n[Ac].P&&(oc(t),Hl(4)),$l(e)&&(e=lc(t,e),t.l||fc(t,e)),t.u&&tc("Patches").M(n[Ac],e,t.u,t.s)):e=lc(t,n,[]),oc(t),t.u&&t.v(t.u,t.s),e!==Sc?e:void 0}function lc(e,t,n){if(ec(t))return t;var r=t[Ac];if(!r)return Ul(t,(function(o,i){return cc(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return fc(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=Jl(r.k):r.o;Ul(3===r.i?new Set(o):o,(function(t,i){return cc(e,r,o,t,i,n)})),fc(e,o,!1),n&&e.u&&tc("Patches").R(r,n,e.u,e.s)}return r.o}function cc(e,t,n,r,o,i){if(Vl(o)){var a=lc(e,o,i&&t&&3!==t.i&&!Gl(t.D,r)?i.concat(r):void 0);if(ql(n,r,a),!Vl(a))return;e.m=!1}if($l(o)&&!ec(o)){if(!e.h.F&&e._<1)return;lc(e,o),t&&t.A.l||fc(e,o)}}function fc(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&Zl(t,n)}function dc(e,t){var n=e[Ac];return(n?Xl(n):e)[t]}function pc(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function hc(e){e.P||(e.P=!0,e.l&&hc(e.l))}function gc(e){e.o||(e.o=Jl(e.t))}function vc(e,t,n){var r=Kl(t)?tc("MapSet").N(t,n):Yl(t)?tc("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:nc(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=_c;n&&(o=[r],i=Tc);var a=Proxy.revocable(o,i),u=a.revoke,s=a.proxy;return r.k=s,r.j=u,s}(t,n):tc("ES5").J(t,n);return(n?n.A:nc()).p.push(r),r}function yc(e){return Vl(e)||Hl(22,e),function e(t){if(!$l(t))return t;var n,r=t[Ac],o=Wl(t);if(r){if(!r.P&&(r.i<4||!tc("ES5").K(r)))return r.t;r.I=!0,n=mc(t,o),r.I=!1}else n=mc(t,o);return Ul(n,(function(t,o){r&&function(e,t){return 2===Wl(e)?e.get(t):e[t]}(r.t,t)===o||ql(n,t,e(o))})),3===o?new Set(n):n}(e)}function mc(e,t){s
|
||
|
/**
|
||
|
* Takes a string with placeholder variables like `%{smart_count} file selected`
|
||
|
* and replaces it with values from options `{smart_count: 5}`
|
||
|
*
|
||
|
* @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
|
||
|
* taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
|
||
|
*
|
||
|
* @param {string} phrase that needs interpolation, with placeholders
|
||
|
* @param {object} options with values that will be used to replace placeholders
|
||
|
* @returns {any[]} interpolated
|
||
|
*/function iy(e,t){const n=/\$/g;let r=[e];if(null==t)return r;for(const o of Object.keys(t))if("_"!==o){let e=t[o];"string"==typeof e&&(e=n[Symbol.replace](e,"$$$$")),r=oy(r,new RegExp(`%\\{${o}\\}`,"g"),e)}return r}var ay=(Zv=ry("apply"),class{constructor(e){Object.defineProperty(this,Zv,{value:uy}),this.locale={strings:{},pluralize:e=>1===e?0:1},Array.isArray(e)?e.forEach(ty(this,Zv)[Zv],this):ty(this,Zv)[Zv](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){if(!function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(this.locale.strings,e))throw new Error("missing string: "+e);const n=this.locale.strings[e];if("object"==typeof n){if(t&&void 0!==t.smart_count)return iy(n[this.locale.pluralize(t.smart_count)],t);throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return iy(n,t)}});function uy(e){if(null==e||!e.strings)return;const t=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize}var sy=function(){var e={},t=e._fns={};return e.emit=function(e,n,r,o,i,a,u){var s=function(e){for(var n=t[e]?t[e]:[],r=e.indexOf(":"),o=-1===r?[e]:[e.substring(0,r),e.substring(r+1)],i=Object.keys(t),a=0,u=i.length;a<u;a++){var s=i[a];if("*"===s&&(n=n.concat(t[s])),2===o.length&&o[0]===s){n=n.concat(t[s]);break}}return n}(e);s.length&&function(e,t,n){for(var r=0,o=t.length;r<o&&t[r];r++)t[r].event=e,t[r].apply(t[r],n)}(e,s,[n,r,o,i,a,u])},e.on=function(e,n){t[e]||(t[e]=[]),t[e].push(n)},e.once=function(t,n){this.on(t,(function r(){n.apply(this,arguments),e.off(t,r)}))},e.off=function(e,t){var n=[];if(e&&t)for(var r=this._fns[e],o=0,i=r?r.length:0;o<i;o++)r[o]!==t&&n.push(r[o]);n.length?this._fns[e]=n:delete this._fns[e]},e},ly={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"};let{urlAlphabet:cy}=ly,fy=e=>crypto.getRandomValues(new Uint8Array(e)),dy=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return()=>{let i="";for(;;){let a=n(o),u=o;for(;u--;)if(i+=e[a[u]&r]||"",i.length===t)return i}}};var py={nanoid:(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t},customAlphabet:(e,t)=>dy(e,t,fy),customRandom:dy,urlAlphabet:cy,random:fy},hy=function(e){if("number"!=typeof e||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));var o=n[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+o:(t?"-":"")+e.toFixed(1)+" "+o};function gy(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}gy.prototype.match=function(e){var t,n,r=!0,o=this.parts,i=o.length;if("string"==typeof e||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;r&&t<i;t++)"*"!==o[t]&&(r=t<n.length&&o[t]===n[t]);r=r&&n}else r=!1;else if("function"==typeof e.splice)for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);else if("object"==typeof e)for(var a in r={},e)this.match(a)&&(r[a]=e[a]);return r};var vy=/[\/\+\.]/,yy=function(e,t){function n(t){var n=function(e,t,n){var r=new gy(e,n||/[\/\.]/);return void 0!==t?r.match(t):r}(t,e,vy);return n&&n.length>=2}return t?n(t.split(";")[0]):n},my=0;function by(e){return"__private_"+my+++"_"+e}var wy=by("publish");class Ey{constructor(){Object.defineProperty(this,wy,{value:Cy}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){const t={...this.state},n={...this.state,...e};this.state=n,function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}(this,wy)[wy](t,n,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}function Cy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++
|
||
|
/*!
|
||
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||
|
*
|
||
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||
|
* Released under the MIT License.
|
||
|
*/function gx(e){return"[object Object]"===Object.prototype.toString.call(e)}dx({target:"Object",stat:!0,forced:hx},{keys:function(e){return px(Dw(e))}});var vx={isHistory(e){return!1!==gx(t=e)&&(void 0===(n=t.constructor)||!1!==gx(r=n.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||zf.isOperationList(e.redos[0]))&&(0===e.undos.length||zf.isOperationList(e.undos[0]));var t,n,r}},yx=new WeakMap,mx=new WeakMap,bx={isHistoryEditor:e=>vx.isHistory(e.history)&&_f.isEditor(e),isMerging:e=>mx.get(e),isSaving:e=>yx.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=bx.isMerging(e);mx.set(e,!1),t(),mx.set(e,n)},withoutSaving(e,t){var n=bx.isSaving(e);yx.set(e,!1),t(),yx.set(e,n)}},wx=fw.String,Ex=function(e){if("Symbol"===QE(e))throw TypeError("Cannot convert a Symbol value to a string");return wx(e)},Cx=function(){var e=oE(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},xx=WE.PROPER,Dx=RegExp.prototype,Sx=Dx.toString,Ox=ww(Cx),Ax=zw((function(){return"/a/b"!=Sx.call({source:"a",flags:"b"})})),kx=xx&&"toString"!=Sx.name;(Ax||kx)&&GE(RegExp.prototype,"toString",(function(){var e=oE(this),t=Ex(e.source),n=e.flags;return"/"+t+"/"+Ex(void 0===n&&uE(Dx,e)&&!("flags"in Dx)?Ox(e):n)}),{unsafe:!0});var Bx,jx=Xw?Object.defineProperties:function(e,t){oE(e);for(var n,r=zC(t),o=px(t),i=o.length,a=0;i>a;)EE.f(e,n=o[a++],r[n]);return e},Fx=Tw("document","documentElement"),_x=_E("IE_PROTO"),Tx=function(){},Px=function(e){return"<script>"+e+"<\/script>"},Nx=function(e){e.write(Px("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ix=function(){try{Bx=new ActiveXObject("htmlfile")}catch(e){}var e,t;Ix="undefined"!=typeof document?document.domain&&Bx?Nx(Bx):((t=eE("iframe")).style.display="none",Fx.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Px("document.F=Object")),e.close(),e.F):Nx(Bx);for(var n=JC.length;n--;)delete Ix.prototype[JC[n]];return Ix()};TE[_x]=!0;var Lx=Object.create||function(e,t){var n;return null!==e?(Tx.prototype=oE(e),n=new Tx,Tx.prototype=null,n[_x]=e):n=Ix(),void 0===t?n:jx(n,t)},Rx=qw("unscopables"),Mx=Array.prototype;null==Mx[Rx]&&EE.f(Mx,Rx,{configurable:!0,value:Lx(null)});var zx=function(e){Mx[Rx][e]=!0},Hx=qC.includes;dx({target:"Array",proto:!0},{includes:function(e){return Hx(this,e,arguments.length>1?arguments[1]:void 0)}}),zx("includes");var Vx=qw("match"),$x=function(e){var t;return Jw(e)&&(void 0!==(t=e[Vx])?!!t:"RegExp"==YE(e))},Ux=fw.TypeError,Wx=function(e){if($x(e))throw Ux("The method doesn't accept regular expressions");return e},Gx=qw("match"),qx=function(e){var t=/./;try{"/./"[e](t)}catch(i){try{return t[Gx]=!1,"/./"[e](t)}catch(e){}}return!1},Kx=ww("".indexOf);dx({target:"String",proto:!0,forced:!qx("includes")},{includes:function(e){return!!~Kx(Ex(Cw(this)),Ex(Wx(e)),arguments.length>1?arguments[1]:void 0)}});var Yx=/"/g,Xx=ww("".replace);dx({target:"String",proto:!0,forced:zw((function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3}))},{anchor:function(e){return t=e,n=Ex(Cw(this)),r="<a",(r+=' name="'+Xx(Ex(t),Yx,""")+'"')+">"+n+"</a>";var t,n,r}});var Jx=function(e,t,n){var r,o;oE(e);try{if(!(r=hE(e,"return"))){if("throw"===t)throw n;return n}r=aE(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return oE(r),n},Zx=function(e,t,n,r){try{return r?t(oE(n)[0],n[1]):t(n)}catch(t){Jx(e,"throw",t)}},Qx={},eD=qw("iterator"),tD=Array.prototype,nD=function(e){return void 0!==e&&(Qx.Array===e||tD[eD]===e)},rD=function(e,t,n){var r=mE(t);r in e?EE.f(e,r,CE(0,n)):e[r]=n},oD=qw("iterator"),iD=function(e){if(null!=e)return hE(e,oD)||hE(e,"@@iterator")||Qx[QE(e)]},aD=fw.TypeError,uD=function(e,t){var n=arguments.length<2?iD(e):t;if(pE(n))return oE(aE(n,e));throw aD(fE(e)+" is not iterable")},sD=fw.Array,lD=qw("iterator"),cD=!1;try{var fD=0,dD={next:function(){return{done:!!fD++}},return:function(){cD=!0}};dD[lD]=function(){return this},Array
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation.
|
||
|
|
||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
purpose with or without fee is hereby granted.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
***************************************************************************** */
|
||
|
var oO=function(e,t){return oO=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},oO(e,t)};function iO(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}oO(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var aO=function(){return aO=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},aO.apply(this,arguments)};function uO(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function sO(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function lO(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}var cO=0,fO=function(){this.id=""+cO++},dO=HE.set,pO=HE.getterFor("Array Iterator"),hO=GD(Array,"Array",(function(e,t){dO(this,{type:"Array Iterator",target:zC(e),index:0,kind:t})}),(function(){var e=pO(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");Qx.Arguments=Qx.Array,zx("keys"),zx("values"),zx("entries");var gO=function(e,t,n){for(var r in t)GE(e,r,t[r],n);return e},vO=fw.Array,yO=Math.max,mO=function(e,t,n){for(var r=gC(e),o=WC(t,r),i=WC(void 0===n?r:n,r),a=vO(yO(i-o,0)),u=0;o<i;o++,u++)rD(a,u,e[o]);return a.length=u,a},bO=QC.f,wO="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],EO={f:function(e){return wO&&"Window"==YE(e)?function(e){try{return bO(e)}catch(e){return mO(wO)}}(e):bO(zC(e))}},CO=zw((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),xO=Object.isExtensible,DO=zw((function(){xO(1)}))||CO?function(e){return!!Jw(e)&&(!CO||"ArrayBuffer"!=YE(e))&&(!xO||xO(e))}:xO,SO=!zw((function(){return Object.isExtensible(Object.preventExtensions({}))})),OO=uw((function(e){var t=EE.f,n=!1,r=jw("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=QC.f,t=ww([].splice),o={};o[r]=1,e(o).length&&(QC.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},dx({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:EO.f}))},fastKey:function(e,t){if(!Jw(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!Ow(e,r)){if(!DO(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!Ow(e,r)){if(!DO(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return SO&&n&&DO(e)&&!Ow(e,r)&&i(e),e}};TE[r]=!0})),AO=fw.TypeError,kO=function(e,t){this.stopped=e,this.result=t},BO=kO.prototype,jO=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=aC(t,c),g=function(e){return r&&Jx(r,"normal",e),new kO(!0,e)},v=function(e){return f?(oE(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=iD(e)))throw AO(fE(e)+" is not iterable");if(nD(o)){for(i=0,a=gC(e);a>i;i++)if((u=v(e[i]))&&uE(BO,u))return u;return new kO(!1)}r=uD(e,o)}for(s=r.next;!(l=aE(s,r)).done;){try{u=v(l.value)}catch(e){Jx(r,"throw",e)}if("object"==typeof u&&u&&uE(BO,u))return u}return new kO(!1)},FO=fw.TypeError,_O=function(e,t){if(uE(t,e))return e;throw FO("Incorrect invocation")},TO=function(e,t,n){var r,o;return MD&&Fw(r=t.construc
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation.
|
||
|
|
||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
purpose with or without fee is hereby granted.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
***************************************************************************** */};function nM(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}tM(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var rM=function(){return rM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},rM.apply(this,arguments)};function oM(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function iM(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function aM(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function uM(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function sM(e){var t=uM(_f.nodes(e,{match:function(t){return e.children[0]===t},mode:"highest"}),1)[0];if(null==t)return!1;var n=t[0];if(!Of.isElement(n))return!1;if("paragraph"===n.type)return!1;if(""!==Lf.string(n))return!1;var r=n.children,o=void 0===r?[]:r;return!!nd.isText(o[0])&&(wd.setNodes(e,{type:"paragraph"}),!0)}var lM={renderElems:[sP],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return""===t?"<p><br></p>":"<p>"+t+"</p>"}}],parseElemsHtml:[eM],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(e){sM(r)||t(e)},r.deleteForward=function(e){sM(r)||n(e)},r}},cM=/"/g,fM=kP("".replace),dM=function(e,t,n,r){var o=fL(IP(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+fM(fL(r),cM,""")+'"'),i+">"+o+"</"+t+">"},pM=function(e){return gP((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))};function hM(e,t){var n=t,r=e,o=r.bold,i=r.italic,a=r.underline;return o&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),i&&(n="<em>"+n+"</em>"),a&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function gM(e,t){return 0!==e.length&&(!!e[0].matches(t)||e.find(t).length>0)}II({target:"String",proto:!0,forced:pM("bold")},{bold:function(){return dM(this,"b","","")}}),II({target:"String",proto:!0,forced:pM("italics")},{italics:function(){return dM(this,"i","","")}}),II({target:"String",proto:!0,forced:pM("sub")},{sub:function(){return dM(this,"sub","","")}}),II({target:"String",proto:!0,forced:pM("sup")},{sup:
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation.
|
||
|
|
||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
purpose with or without fee is hereby granted.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
***************************************************************************** */};function ZZ(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}JZ(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function QZ(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function eQ(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function tQ(e){return _f.nodes(e,{at:e.selection||void 0,match:function(t){return 1===tk.findPath(e,t).length}})}var nQ=AY.includes;RX({target:"Array",proto:!0},{includes:function(e){return nQ(this,e,arguments.length>1?arguments[1]:void 0)}}),GY("includes");var rQ,oQ,iQ=function(){var e=KK(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},aQ=eK.RegExp,uQ=aK((function(){var e=aQ("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),sQ=uQ||aK((function(){return!aQ("a","y").sticky})),lQ={BROKEN_CARET:uQ||aK((function(){var e=aQ("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:sQ,UNSUPPORTED_Y:uQ},cQ=eK.RegExp,fQ=aK((function(){var e=cQ(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),dQ=eK.RegExp,pQ=aK((function(){var e=dQ("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),hQ=pX.get,gQ=bK("native-string-replace",String.prototype.replace),vQ=RegExp.prototype.exec,yQ=vQ,mQ=iK("".charAt),bQ=iK("".indexOf),wQ=iK("".replace),EQ=iK("".slice),CQ=(oQ=/b*/g,tY(vQ,rQ=/a/,"a"),tY(vQ,oQ,"a"),0!==rQ.lastIndex||0!==oQ.lastIndex),xQ=lQ.BROKEN_CARET,DQ=void 0!==/()??/.exec("")[1];(CQ||DQ||xQ||fQ||pQ)&&(yQ=function(e){var t,n,r,o,i,a,u,s=this,l=hQ(s),c=wJ(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=tY(yQ,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=xQ&&s.sticky,h=tY(iQ,s),g=s.source,v=0,y=c;if(p&&(h=wQ(h,"y",""),-1===bQ(h,"g")&&(h+="g"),y=EQ(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==mQ(c,s.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",h)),DQ&&(n=new RegExp("^"+g+"$(?!\\s)",h)),CQ&&(r=s.lastIndex),o=tY(vQ,p?n:s,y),p?o?(o.input=EQ(o.input,v),o[0]=EQ(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:CQ&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),DQ&&o&&o.length>1&&tY(gQ,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=$Y(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var SQ=yQ;RX({target:"RegExp",proto:!0,forced:/./.exec!==SQ},{exec:SQ});var OQ=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(e){var t=this.type;return tk.getSelectedNodeByType(e,t)},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){var t=this.getListNode(e);if(null==t)return!1;var n=t.ordered;return(void 0!==n&&n)===this.ordered},e.prototype.isDisabled=function(e){return null==e.selection||!!tk.getSelectedElems(e).some((function(t){if(_f.isVoid(e,t)&&_f.isBlock(e,t))return!0;var n=t.type;return!!["pre","code","table"].includes(n)||void 0}))},e.prototype.exec=function(e,t){this.isActive(e)?wd.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):wd.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),AQ='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',kQ='<svg v
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation.
|
||
|
|
||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
purpose with or without fee is hereby granted.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
***************************************************************************** */
|
||
|
function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),u=a.next();!u.done;u=a.next())u.value,i=!0}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}H2({target:"Array",proto:!0,forced:!U4},{slice:function(e,t){var n,r,o,i=$0(this),a=E2(i),u=m2(e,a),s=m2(void 0===t?a:t,a);if(F4(i)&&(n=i.constructor,(M4(n)&&(n===G4||F4(n.prototype))||W0(n)&&null===(n=n[W4]))&&(n=void 0),n===G4||void 0===n))return $4(i,u,s);for(r=new(void 0===n?G4:n)(q4(s-u,0)),o=0;u<s;u++,o++)u in i&&z4(r,o,i[u]);return r.length=o,r}});var J4=P0(P0.bind),Z4=A1("species"),Q4=E0.Array,e6=function(e,t){return new(function(e){var t;return F4(e)&&(t=e.constructor,(M4(t)&&(t===Q4||F4(t.prototype))||W0(t)&&null===(t=t[Z4]))&&(t=void 0)),void 0===t?Q4:t}(e))(0===t?0:t)},t6=P0([].push),n6=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=v1(s),g=z0(h),v=function(e,t){return s1(e),void 0===t?e:J4?J4(e,t):function(){return e.apply(t,arguments)}}(l,c),y=E2(g),m=0,b=f||e6,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:t6(w,d)}else switch(e){case 4:return!1;case 7:t6(w,d)}return i?-1:r||o?o:w}},r6={forEach:n6(0),map:n6(1),filter:n6(2),some:n6(3),every:n6(4),find:n6(5),findIndex:n6(6),filterReject:n6(7)},o6=r6.map;H2({target:"Array",proto:!0,forced:!V4("map")},{map:function(e){return o6(this,e,arguments.length>1?arguments[1]:void 0)}});var i6=$2?{}.toString:function(){return"[object "+q2(this)+"]"};function a6(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function u6(e){return a6(e).every((function(e){return!!e.isHeader}))}$2||d2(Object.prototype,"toString",i6,{unsafe:!0});var s6=f2.PROPER,l6=RegExp.prototype,c6=l6.toString,f6=P0(Q2),d6=C0((function(){return"/a/b"!=c6.call({source:"a",flags:"b"})})),p6=s6&&"toString"!=c6.name;(d6||p6)&&d2(RegExp.prototype,"toString",(function(){var e=M1(this),t=Y2(e.source),n=e.flags;return"/"+t+"/"+Y2(void 0===n&&K0(l6,e)&&!("flags"in l6)?f6(e):n)}),{unsafe:!0});var h6=A1("unscopables"),g6=Array.prototype;null==g6[h6]&&V1.f(g6,h6,{configurable:!0,value:h4(null)});var v6=r6.find,y6=!0;"find"in[]&&Array(1).find((function(){y6=!1})),H2({target:"Array",proto:!0,forced:y6},{find:function(e){return v6(this,e,arguments.length>1?arguments[1]:void 0)}}),g6[h6].find=!0;var m6=Function.prototype,b6=m6.apply,w6=m6.bind,E6=m6.call,C6="object"==typeof Reflect&&Reflect.apply||(w6?E6.bind(b6):function(){return E6.apply(b6,arguments)}),x6=A1("species"),D6=RegExp.prototype,S6=function(e,t,n,r){var o=A1(e),i=!C0((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!C0((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[x6]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var u=P0(/./[o]),s=t(o,""[e],(function(e,t,n,r,o){var a=P0(e),s=t.exec;return s===j4||s===D6.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));d2(String.prototype,e,s[0]),d2(D6,o,s[1])}r&&$1(D6[o],"sham",!0)},O6=A1("match"),A6=E0.TypeError,k6=A1("species"),B6=P0("".charAt),j6=P0("".charCodeAt),F6=P0("".slice),_6=function(e){return function(t,n){var r,o,i=Y2(V0(t)),a=g2(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=j6(i,a))<55296||r>56319||a+1===u||(o=j6(i,a+1))<56320||o>57343?e?B6(i,a):r:e?F6(i,a,a+2):o-56320+(r-55296<<10)+65536}},T6=(_6(!1),_6(!0)),P6=function(e,t,n){return t+(n?T6(e,t).length:1)},N6=E0.Array,I6=Math.max,L6=function(e,t,n){for(var r=E2(e),o=m2(t,r),i=m2(void 0===n?r:n,r),a=N6(I6(i-o,0)),u=0;o<i;o++,u++)z4(a,u,e[o]);return a.length=u,a},R6=E0.TypeError,M6=function(e,t){var n=e.exec;if(U0(n)){var r=S0(n,e,t);return null!==r&&M1(r),r}if("RegExp"===L0(
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation.
|
||
|
|
||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
purpose with or without fee is hereby granted.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
***************************************************************************** */
|
||
|
var Z3=function(){return Z3=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Z3.apply(this,arguments)};function Q3(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function e5(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function t5(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function n5(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}var r5="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{};function o5(e){var t={exports:{}};return e(t,t.exports),t.exports}var i5,a5,u5=function(e){return e&&e.Math==Math&&e},s5=u5("object"==typeof globalThis&&globalThis)||u5("object"==typeof window&&window)||u5("object"==typeof self&&self)||u5("object"==typeof r5&&r5)||function(){return this}()||Function("return this")(),l5=function(e){try{return!!e()}catch(e){return!0}},c5=!l5((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f5=Function.prototype.call,d5=f5.bind?f5.bind(f5):function(){return f5.apply(f5,arguments)},p5={}.propertyIsEnumerable,h5=Object.getOwnPropertyDescriptor,g5={f:h5&&!p5.call({1:2},1)?function(e){var t=h5(this,e);return!!t&&t.enumerable}:p5},v5=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},y5=Function.prototype,m5=y5.bind,b5=y5.call,w5=m5&&m5.bind(b5),E5=m5?function(e){return e&&w5(b5,e)}:function(e){return e&&function(){return b5.apply(e,arguments)}},C5=E5({}.toString),x5=E5("".slice),D5=function(e){return x5(C5(e),8,-1)},S5=s5.Object,O5=E5("".split),A5=l5((function(){return!S5("z").propertyIsEnumerable(0)}))?function(e){return"String"==D5(e)?O5(e,""):S5(e)}:S5,k5=s5.TypeError,B5=function(e){if(null==e)throw k5("Can't call method on "+e);return e},j5=function(e){return A5(B5(e))},F5=function(e){return"function"==typeof e},_5=function(e){return"object"==typeof
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation.
|
||
|
|
||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
purpose with or without fee is hereby granted.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
***************************************************************************** */
|
||
|
var Ase=function(){return Ase=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ase.apply(this,arguments)};function kse(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function Bse(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function jse(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}var Fse=Tie("unscopables"),_se=Array.prototype;null==_se[Fse]&&Kie.f(_se,Fse,{configurable:!0,value:Nue(null)});var Tse,Pse,Nse,Ise=function(e){_se[Fse][e]=!0},Lse={},Rse=!koe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Mse=oae("IE_PROTO"),zse=Aoe.Object,Hse=zse.prototype,Vse=Rse?zse.getPrototypeOf:function(e){var t=Cie(e);if(Die(t,Mse))return t[Mse];var n=t.constructor;return Xoe(n)&&t instanceof n?n.prototype:t instanceof zse?Hse:null},$se=Tie("iterator"),Use=!1;[].keys&&("next"in(Nse=[].keys())?(Pse=Vse(Vse(Nse)))!==Object.prototype&&(Tse=Pse):Use=!0);var Wse=null==Tse||koe((function(){var e={};return Tse[$se].call(e)!==e}));Wse&&(Tse={}),Xoe(Tse[$se])||mae(Tse,$se,(function(){return this}));var Gse={IteratorPrototype:Tse,BUGGY_SAFARI_ITERATORS:Use},qse=Kie.f,Kse=Tie("toStringTag"),Yse=function(e,t,n){e&&!Die(e=n?e:e.prototype,Kse)&&qse(e,Kse,{configurable:!0,value:t})},Xse=Gse.IteratorPrototype,Jse=function(){return this},Zse=Aoe.String,Qse=Aoe.TypeError,ele=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=zoe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Wie(n),function(e){if("object"==typeof e||Xoe(e))return e;throw Qse("Can't set "+Zse(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),tle=yae.PROPER,nle=yae.CONFIGURABLE,rle=Gse.IteratorPrototype,ole=Gse.BUGGY_SAFARI_ITERATORS,ile=Tie("iterator"),ale=function(){return this},ule=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Nue(Xse,{next:Noe(1,n)}),Yse(e,o,!1),Lse[o]=Jse}(n,t,r);var u,s,l,c=function(e){if(e===o&&g)return g;if(!ole&&e in p)return p[e];switch(e){case"keys":case"values":ca
|
||
|
/**
|
||
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
||
|
*
|
||
|
* @license MIT <https://opensource.org/licenses/MIT>
|
||
|
* @author Lea Verou <https://lea.verou.me>
|
||
|
* @namespace
|
||
|
* @public
|
||
|
*/e.exports&&(e.exports=t),void 0!==wde&&(wde.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation.
|
||
|
|
||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
purpose with or without fee is hereby granted.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
***************************************************************************** */
|
||
|
function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),h=p.next();!h.done;h=p.next()){var g=h.value,v=d+jge(g);"string"!=typeof g&&u.push(((r={})[g.type]=!0,r.anchor={path:a,offset:d},r.focus={path:a,offset:v},r)),d=v}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}return u},Yve=function(){return Yve=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Yve.apply(this,arguments)},Xve=function(){function e(){throw new Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=Yve(Yve({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=Yve(Yve({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=Yve(Yve({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=Yve(Yve({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){!function(e,t){var n=e.key,r=e.factory,o=e.config,i=aO(aO({},o),t||{});if(null!=ok[n])throw new Error("Duplicated key '"+n+"' in menu items");ok[n]=r,function(e,t){null!=t&&(rk[e]=t)}(n,i)}(e,t)},e.registerRenderElem=function(e){!function(e){var t=e.type,n=e.renderElem;VF[t||""]=n}(e)},e.registerRenderStyle=function(e){!function(e){HF.push(e)}(e)},e.registerElemToHtml=function(e){!function(e){var t=e.type,n=e.elemToHtml;yk[t||""]=n}(e)},e.registerStyleToHtml=function(e){!function(e){vk.push(e)}(e)},e.registerPreParseHtml=function(e){!function(e){ij.push(e)}(e)},e.registerParseElemHtml=function(e){!function(e){var t=e.selector,n=e.parseElemHtml;uj[t]=n}(e)},e.registerParseStyleHtml=function(e){!function(e){aj.push(e)}(e)},e.registerModule=function(e){Jve(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation.
|
||
|
|
||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
purpose with or without fee is hereby granted.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
***************************************************************************** */function Jve(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,u=e.parseElemsHtml,s=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach((function(e){return Xve.registerMenu(e)})),n&&n.forEach((function(e){return Xve.registerRenderElem(e)})),r&&Xve.registerRenderStyle(r),o&&o.forEach((function(e){return Xve.registerElemToHtml(e)})),i&&Xve.registerStyleToHtml(i),a&&a.forEach((function(e){return Xve.registerPreParseHtml(e)})),u&&u.forEach((function(e){return Xve.registerParseElemHtml(e)})),s&&Xve.registerParseStyleHtml(s),l&&Xve.registerPlugin(l)}Kq.forEach((function(e){return Jve(e)})),Jve(h0),Jve(J3),Jve(Eoe),Jve(bde),Jve(Wve);var Zve='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',Qve={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}},eye={hoverbarKeys:Yve(Yve({},Qve),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};Xve.setEditorConfig(Yve(Yve({},eye),{decorate:Kve}));var tye={hoverbarKeys:Qve};Xve.setSimpleEditorConfig(Yve(Yve({},tye),{decorate:Kve}));var nye={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:HT("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:HT("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:HT("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:HT("editor.image"),iconSvg:Zve,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:HT("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};Xve.setToolbarConfig(nye);var rye={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:HT("editor.image"),iconSvg:Zve,menuKeys:["
|