diff --git a/dist/index.html b/dist/index.html index ad56ab0..46abac1 100644 --- a/dist/index.html +++ b/dist/index.html @@ -6,7 +6,7 @@ Viki - A simple Wiki page in Markdown from notebook of VNote - + diff --git a/dist/js/viki.js b/dist/js/viki.js index 2e01577..4048c7b 100644 --- a/dist/js/viki.js +++ b/dist/js/viki.js @@ -768,6 +768,6 @@ Module.A=function(b){function c(){for(var b=0;3>b;b++)e.push(0)}var d=b.length+1 function tb(b){function c(){var c=0;ob=E;Module._main&&(gb(ib),c=Module.A(b),Module.noExitRuntime||gb(jb));if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);0>2],d=L[e+4>>2],f=new Uint8Array(J.subarray(c,c+d))}finally{0!=(e|0)&&(b=e|0,c=L[b>>2],0!=(c|0)&&(Z(c),L[b>>2]=0),Z(e))}return f};ha("Zopfli.RawDeflate",wd);ha("Zopfli.RawDeflate.prototype.compress",wd.prototype.B);}).call(this); ; -/*! viki 2021-05-11 */ +/*! viki 2021-05-19 */ -!function i(a,s,c){function u(t,e){if(!s[t]){if(!a[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(l)return l(t,!0);var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}var o=s[t]={exports:{}};a[t][0].call(o.exports,function(e){return u(a[t][1][e]||e)},o,o.exports,i,a,s,c)}return s[t].exports}for(var l="function"==typeof require&&require,e=0;ea;)i.call(e,n=o[a++])&&t.push(n);return t}},{"./_object-gops":104,"./_object-keys":107,"./_object-pie":108}],62:[function(e,t,r){var h=e("./_global"),v=e("./_core"),g=e("./_hide"),m=e("./_redefine"),y=e("./_ctx"),b="prototype",x=function(e,t,r){var n,o,i,a,s=e&x.F,c=e&x.G,u=e&x.S,l=e&x.P,f=e&x.B,d=c?h:u?h[t]||(h[t]={}):(h[t]||{})[b],p=c?v:v[t]||(v[t]={}),_=p[b]||(p[b]={});for(n in c&&(r=t),r)i=((o=!s&&d&&void 0!==d[n])?d:r)[n],a=f&&o?y(i,h):l&&"function"==typeof i?y(Function.call,i):i,d&&m(d,n,i,e&x.U),p[n]!=i&&g(p,n,a),l&&_[n]!=i&&(_[n]=i)};h.core=v,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,t.exports=x},{"./_core":52,"./_ctx":54,"./_global":70,"./_hide":72,"./_redefine":118}],63:[function(e,t,r){var n=e("./_wks")("match");t.exports=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[n]=!1,!"/./"[t](r)}catch(e){}}return!0}},{"./_wks":152}],64:[function(e,t,r){arguments[4][23][0].apply(r,arguments)},{dup:23}],65:[function(e,t,r){"use strict";e("./es6.regexp.exec");var l=e("./_redefine"),f=e("./_hide"),d=e("./_fails"),p=e("./_defined"),_=e("./_wks"),h=e("./_regexp-exec"),v=_("species"),g=!d(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}),m=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();t.exports=function(r,e,t){var n=_(r),i=!d(function(){var e={};return e[n]=function(){return 7},7!=""[r](e)}),o=i?!d(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},"split"===r&&(t.constructor={},t.constructor[v]=function(){return t}),t[n](""),!e}):void 0;if(!i||!o||"replace"===r&&!g||"split"===r&&!m){var a=/./[n],s=t(p,n,""[r],function(e,t,r,n,o){return t.exec===h?i&&!o?{done:!0,value:a.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),c=s[0],u=s[1];l(String.prototype,r,c),f(RegExp.prototype,n,2==e?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}}},{"./_defined":57,"./_fails":64,"./_hide":72,"./_redefine":118,"./_regexp-exec":120,"./_wks":152,"./es6.regexp.exec":248}],66:[function(e,t,r){"use strict";var n=e("./_an-object");t.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},{"./_an-object":38}],67:[function(e,t,r){"use strict";var _=e("./_is-array"),h=e("./_is-object"),v=e("./_to-length"),g=e("./_ctx"),m=e("./_wks")("isConcatSpreadable");t.exports=function e(t,r,n,o,i,a,s,c){for(var u,l,f=i,d=0,p=!!s&&g(s,c,3);ddocument.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l[u][a[r]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(c[u]=o(e),r=new c,c[u]=null,r[s]=e):r=l(),void 0===t?r:i(r,t)}},{"./_an-object":38,"./_dom-create":59,"./_enum-bug-keys":60,"./_html":73,"./_object-dps":100,"./_shared-key":125}],99:[function(e,t,r){arguments[4][29][0].apply(r,arguments)},{"./_an-object":38,"./_descriptors":58,"./_ie8-dom-define":74,"./_to-primitive":143,dup:29}],100:[function(e,t,r){var a=e("./_object-dp"),s=e("./_an-object"),c=e("./_object-keys");t.exports=e("./_descriptors")?Object.defineProperties:function(e,t){s(e);for(var r,n=c(t),o=n.length,i=0;io;)a(n,r=t[o++])&&(~c(i,r)||i.push(r));return i}},{"./_array-includes":41,"./_has":71,"./_shared-key":125,"./_to-iobject":140}],107:[function(e,t,r){var n=e("./_object-keys-internal"),o=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return n(e,o)}},{"./_enum-bug-keys":60,"./_object-keys-internal":106}],108:[function(e,t,r){r.f={}.propertyIsEnumerable},{}],109:[function(e,t,r){var o=e("./_export"),i=e("./_core"),a=e("./_fails");t.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],n={};n[e]=t(r),o(o.S+o.F*a(function(){r(1)}),"Object",n)}},{"./_core":52,"./_export":62,"./_fails":64}],110:[function(e,t,r){var c=e("./_descriptors"),u=e("./_object-keys"),l=e("./_to-iobject"),f=e("./_object-pie").f;t.exports=function(s){return function(e){for(var t,r=l(e),n=u(r),o=n.length,i=0,a=[];i>>0||(a.test(r)?16:10))}:n},{"./_global":70,"./_string-trim":134,"./_string-ws":135}],114:[function(e,t,r){t.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},{}],115:[function(e,t,r){var n=e("./_an-object"),o=e("./_is-object"),i=e("./_new-promise-capability");t.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},{"./_an-object":38,"./_is-object":81,"./_new-promise-capability":96}],116:[function(e,t,r){arguments[4][30][0].apply(r,arguments)},{dup:30}],117:[function(e,t,r){var o=e("./_redefine");t.exports=function(e,t,r){for(var n in t)o(e,n,t[n],r);return e}},{"./_redefine":118}],118:[function(e,t,r){var i=e("./_global"),a=e("./_hide"),s=e("./_has"),c=e("./_uid")("src"),n=e("./_function-to-string"),o="toString",u=(""+n).split(o);e("./_core").inspectSource=function(e){return n.call(e)},(t.exports=function(e,t,r,n){var o="function"==typeof r;o&&(s(r,"name")||a(r,"name",t)),e[t]!==r&&(o&&(s(r,c)||a(r,c,e[t]?""+e[t]:u.join(String(t)))),e===i?e[t]=r:n?e[t]?e[t]=r:a(e,t,r):(delete e[t],a(e,t,r)))})(Function.prototype,o,function(){return"function"==typeof this&&this[c]||n.call(this)})},{"./_core":52,"./_function-to-string":69,"./_global":70,"./_has":71,"./_hide":72,"./_uid":147}],119:[function(e,t,r){"use strict";var o=e("./_classof"),i=RegExp.prototype.exec;t.exports=function(e,t){var r=e.exec;if("function"==typeof r){var n=r.call(e,t);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==o(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},{"./_classof":47}],120:[function(e,t,r){"use strict";var n,o,a=e("./_flags"),s=RegExp.prototype.exec,c=String.prototype.replace,i=s,u="lastIndex",l=(n=/a/,o=/b*/g,s.call(n,"a"),s.call(o,"a"),0!==n[u]||0!==o[u]),f=void 0!==/()??/.exec("")[1];(l||f)&&(i=function(e){var t,r,n,o,i=this;return f&&(r=new RegExp("^"+i.source+"$(?!\\s)",a.call(i))),l&&(t=i[u]),n=s.call(i,e),l&&n&&(i[u]=i.global?n.index+n[0].length:t),f&&n&&1"+o+""};t.exports=function(t,e){var r={};r[t]=e(i),n(n.P+n.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||3c&&(u=u.slice(0,c)),n?u+o:o+u}},{"./_defined":57,"./_string-repeat":133,"./_to-length":141}],133:[function(e,t,r){"use strict";var o=e("./_to-integer"),i=e("./_defined");t.exports=function(e){var t=String(i(this)),r="",n=o(e);if(n<0||n==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(t+=t))1&n&&(r+=t);return r}},{"./_defined":57,"./_to-integer":139}],134:[function(e,t,r){var a=e("./_export"),n=e("./_defined"),s=e("./_fails"),c=e("./_string-ws"),o="["+c+"]",i=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),l=function(e,t,r){var n={},o=s(function(){return!!c[e]()||"​…"!="​…"[e]()}),i=n[e]=o?t(f):c[e];r&&(n[r]=i),a(a.P+a.F*o,"String",n)},f=l.trim=function(e,t){return e=String(n(e)),1&t&&(e=e.replace(i,"")),2&t&&(e=e.replace(u,"")),e};t.exports=l},{"./_defined":57,"./_export":62,"./_fails":64,"./_string-ws":135}],135:[function(e,t,r){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},{}],136:[function(e,t,r){var n,o,i,a=e("./_ctx"),s=e("./_invoke"),c=e("./_html"),u=e("./_dom-create"),l=e("./_global"),f=l.process,d=l.setImmediate,p=l.clearImmediate,_=l.MessageChannel,h=l.Dispatch,v=0,g={},m="onreadystatechange",y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};d&&p||(d=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},n(v),v},p=function(e){delete g[e]},"process"==e("./_cof")(f)?n=function(e){f.nextTick(a(y,e,1))}:h&&h.now?n=function(e){h.now(a(y,e,1))}:_?(i=(o=new _).port2,o.port1.onmessage=b,n=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(e){l.postMessage(e+"","*")},l.addEventListener("message",b,!1)):n=m in u("script")?function(e){c.appendChild(u("script"))[m]=function(){c.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),t.exports={set:d,clear:p}},{"./_cof":48,"./_ctx":54,"./_dom-create":59,"./_global":70,"./_html":73,"./_invoke":76}],137:[function(e,t,r){var n=e("./_to-integer"),o=Math.max,i=Math.min;t.exports=function(e,t){return(e=n(e))<0?o(e+t,0):i(e,t)}},{"./_to-integer":139}],138:[function(e,t,r){var n=e("./_to-integer"),o=e("./_to-length");t.exports=function(e){if(void 0===e)return 0;var t=n(e),r=o(t);if(t!==r)throw RangeError("Wrong length!");return r}},{"./_to-integer":139,"./_to-length":141}],139:[function(e,t,r){var n=Math.ceil,o=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(0>1,l=23===t?M(2,-24)-M(2,-77):0,f=0,d=e<0||0===e&&1/e<0?1:0;for((e=I(e))!=e||e===O?(o=e!=e?1:0,n=c):(n=E(T(e)/F),e*(i=M(2,-n))<1&&(n--,i*=2),2<=(e+=1<=n+u?l/i:l*M(2,1-u))*i&&(n++,i/=2),c<=n+u?(o=0,n=c):1<=n+u?(o=(e*i-1)*M(2,t),n+=u):(o=e*M(2,u-1)*M(2,t),n=0));8<=t;a[f++]=255&o,o/=256,t-=8);for(n=n<>1,s=o-7,c=r-1,u=e[c--],l=127&u;for(u>>=7;0>=-s,s+=t;0>8&255]}function $(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function G(e){return D(e,52,8)}function z(e){return D(e,23,4)}function q(e,t,r){h(e[b],t,{get:function(){return this[r]}})}function H(e,t,r,n){var o=p(+r);if(o+t>e[A])throw S(x);var i=e[L]._b,a=o+e[R],s=i.slice(a,a+t);return n?s:s.reverse()}function J(e,t,r,n,o,i){var a=p(+r);if(a+t>e[A])throw S(x);for(var s=e[L]._b,c=a+e[R],u=n(+o),l=0;lQ;)(Y=K[Q++])in w||s(w,Y,P[Y]);i||(X.constructor=w)}var Z=new j(new w(2)),ee=j[b].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||c(j[b],{setInt8:function(e,t){ee.call(this,e,t<<24>>24)},setUint8:function(e,t){ee.call(this,e,t<<24>>24)}},!0)}else w=function(e){l(this,w,m);var t=p(e);this._b=v.call(new Array(t),0),this[A]=t},j=function(e,t,r){l(this,j,y),l(e,w,y);var n=e[A],o=f(t);if(o<0||n>24},getUint8:function(e){return H(this,1,e)[0]},getInt16:function(e){var t=H(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=H(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return U(H(this,4,e,arguments[1]))},getUint32:function(e){return U(H(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return W(H(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return W(H(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){J(this,1,e,V,t)},setUint8:function(e,t){J(this,1,e,V,t)},setInt16:function(e,t){J(this,2,e,B,t,arguments[2])},setUint16:function(e,t){J(this,2,e,B,t,arguments[2])},setInt32:function(e,t){J(this,4,e,$,t,arguments[2])},setUint32:function(e,t){J(this,4,e,$,t,arguments[2])},setFloat32:function(e,t){J(this,4,e,z,t,arguments[2])},setFloat64:function(e,t){J(this,8,e,G,t,arguments[2])}});g(w,m),g(j,y),s(j[b],a.VIEW,!0),r[m]=w,r[y]=j},{"./_an-instance":37,"./_array-fill":40,"./_descriptors":58,"./_fails":64,"./_global":70,"./_hide":72,"./_library":89,"./_object-dp":99,"./_object-gopn":103,"./_redefine-all":117,"./_set-to-string-tag":124,"./_to-index":138,"./_to-integer":139,"./_to-length":141,"./_typed":146}],146:[function(e,t,r){for(var n,o=e("./_global"),i=e("./_hide"),a=e("./_uid"),s=a("typed_array"),c=a("view"),u=!(!o.ArrayBuffer||!o.DataView),l=u,f=0,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(n=o[d[f++]])?(i(n.prototype,s,!0),i(n.prototype,c,!0)):l=!1;t.exports={ABV:u,CONSTR:l,TYPED:s,VIEW:c}},{"./_global":70,"./_hide":72,"./_uid":147}],147:[function(e,t,r){var n=0,o=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},{}],148:[function(e,t,r){var n=e("./_global").navigator;t.exports=n&&n.userAgent||""},{"./_global":70}],149:[function(e,t,r){var n=e("./_is-object");t.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},{"./_is-object":81}],150:[function(e,t,r){var n=e("./_global"),o=e("./_core"),i=e("./_library"),a=e("./_wks-ext"),s=e("./_object-dp").f;t.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},{"./_core":52,"./_global":70,"./_library":89,"./_object-dp":99,"./_wks-ext":151}],151:[function(e,t,r){r.f=e("./_wks")},{"./_wks":152}],152:[function(e,t,r){var n=e("./_shared")("wks"),o=e("./_uid"),i=e("./_global").Symbol,a="function"==typeof i;(t.exports=function(e){return n[e]||(n[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=n},{"./_global":70,"./_shared":126,"./_uid":147}],153:[function(e,t,r){var n=e("./_classof"),o=e("./_wks")("iterator"),i=e("./_iterators");t.exports=e("./_core").getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[n(e)]}},{"./_classof":47,"./_core":52,"./_iterators":88,"./_wks":152}],154:[function(e,t,r){var n=e("./_export");n(n.P,"Array",{copyWithin:e("./_array-copy-within")}),e("./_add-to-unscopables")("copyWithin")},{"./_add-to-unscopables":35,"./_array-copy-within":39,"./_export":62}],155:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_array-methods")(4);n(n.P+n.F*!e("./_strict-method")([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},{"./_array-methods":42,"./_export":62,"./_strict-method":128}],156:[function(e,t,r){var n=e("./_export");n(n.P,"Array",{fill:e("./_array-fill")}),e("./_add-to-unscopables")("fill")},{"./_add-to-unscopables":35,"./_array-fill":40,"./_export":62}],157:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_array-methods")(2);n(n.P+n.F*!e("./_strict-method")([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},{"./_array-methods":42,"./_export":62,"./_strict-method":128}],158:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_array-methods")(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),n(n.P+n.F*a,"Array",{findIndex:function(e){return o(this,e,1=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},{"./_add-to-unscopables":35,"./_iter-define":85,"./_iter-step":87,"./_iterators":88,"./_to-iobject":140}],165:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_to-iobject"),i=[].join;n(n.P+n.F*(e("./_iobject")!=Object||!e("./_strict-method")(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},{"./_export":62,"./_iobject":77,"./_strict-method":128,"./_to-iobject":140}],166:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_to-iobject"),i=e("./_to-integer"),a=e("./_to-length"),s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(c||!e("./_strict-method")(s)),"Array",{lastIndexOf:function(e){if(c)return s.apply(this,arguments)||0;var t=o(this),r=a(t.length),n=r-1;for(1>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},{"./_export":62}],189:[function(e,t,r){var n=e("./_export"),o=Math.exp;n(n.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},{"./_export":62}],190:[function(e,t,r){var n=e("./_export"),o=e("./_math-expm1");n(n.S+n.F*(o!=Math.expm1),"Math",{expm1:o})},{"./_export":62,"./_math-expm1":90}],191:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{fround:e("./_math-fround")})},{"./_export":62,"./_math-fround":91}],192:[function(e,t,r){var n=e("./_export"),c=Math.abs;n(n.S,"Math",{hypot:function(e,t){for(var r,n,o=0,i=0,a=arguments.length,s=0;i>>16)*a+i*(r&o>>>16)<<16>>>0)}})},{"./_export":62,"./_fails":64}],194:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},{"./_export":62}],195:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{log1p:e("./_math-log1p")})},{"./_export":62,"./_math-log1p":92}],196:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},{"./_export":62}],197:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{sign:e("./_math-sign")})},{"./_export":62,"./_math-sign":93}],198:[function(e,t,r){var n=e("./_export"),o=e("./_math-expm1"),i=Math.exp;n(n.S+n.F*e("./_fails")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},{"./_export":62,"./_fails":64,"./_math-expm1":90}],199:[function(e,t,r){var n=e("./_export"),o=e("./_math-expm1"),i=Math.exp;n(n.S,"Math",{tanh:function(e){var t=o(e=+e),r=o(-e);return t==1/0?1:r==1/0?-1:(t-r)/(i(e)+i(-e))}})},{"./_export":62,"./_math-expm1":90}],200:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{trunc:function(e){return(0w;w++)o(h,b=x[w])&&!o(_,b)&&f(_,b,u(h,b));(_.prototype=v).constructor=_,e("./_redefine")(n,p,_)}},{"./_cof":48,"./_descriptors":58,"./_fails":64,"./_global":70,"./_has":71,"./_inherit-if-required":75,"./_object-create":98,"./_object-dp":99,"./_object-gopd":101,"./_object-gopn":103,"./_redefine":118,"./_string-trim":134,"./_to-primitive":143}],202:[function(e,t,r){var n=e("./_export");n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},{"./_export":62}],203:[function(e,t,r){var n=e("./_export"),o=e("./_global").isFinite;n(n.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},{"./_export":62,"./_global":70}],204:[function(e,t,r){var n=e("./_export");n(n.S,"Number",{isInteger:e("./_is-integer")})},{"./_export":62,"./_is-integer":80}],205:[function(e,t,r){var n=e("./_export");n(n.S,"Number",{isNaN:function(e){return e!=e}})},{"./_export":62}],206:[function(e,t,r){var n=e("./_export"),o=e("./_is-integer"),i=Math.abs;n(n.S,"Number",{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},{"./_export":62,"./_is-integer":80}],207:[function(e,t,r){var n=e("./_export");n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{"./_export":62}],208:[function(e,t,r){var n=e("./_export");n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{"./_export":62}],209:[function(e,t,r){var n=e("./_export"),o=e("./_parse-float");n(n.S+n.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},{"./_export":62,"./_parse-float":112}],210:[function(e,t,r){var n=e("./_export"),o=e("./_parse-int");n(n.S+n.F*(Number.parseInt!=o),"Number",{parseInt:o})},{"./_export":62,"./_parse-int":113}],211:[function(e,t,r){"use strict";var n=e("./_export"),u=e("./_to-integer"),l=e("./_a-number-value"),f=e("./_string-repeat"),o=1..toFixed,i=Math.floor,a=[0,0,0,0,0,0],d="Number.toFixed: incorrect invocation!",p=function(e,t){for(var r=-1,n=t;++r<6;)n+=e*a[r],a[r]=n%1e7,n=i(n/1e7)},_=function(e){for(var t=6,r=0;0<=--t;)r+=a[t],a[t]=i(r/e),r=r%e*1e7},h=function(){for(var e=6,t="";0<=--e;)if(""!==t||0===e||0!==a[e]){var r=String(a[e]);t=""===t?r:t+f.call("0",7-r.length)+r}return t},v=function(e,t,r){return 0===t?r:t%2==1?v(e,t-1,r*e):v(e*e,t/2,r)};n(n.P+n.F*(!!o&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!e("./_fails")(function(){o.call({})})),"Number",{toFixed:function(e){var t,r,n,o,i=l(this,d),a=u(e),s="",c="0";if(a<0||20e;)t(n[e++]);l._c=[],l._n=!1,r&&!l._h&&L(l)})}},L=function(i){g.call(c,function(){var e,t,r,n=i._v,o=A(i);if(o&&(e=b(function(){M?S.emit("unhandledRejection",n,i):(t=c.onunhandledrejection)?t({promise:i,reason:n}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",n)}),i._h=M||A(i)?2:1),i._a=void 0,o&&e.e)throw e.v})},A=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(t){g.call(c,function(){var e;M?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},D=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),N(t,!0))},W=function(e){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(r=C(e))?m(function(){var t={_w:n,_d:!1};try{r.call(e,u(W,t,1),u(D,t,1))}catch(e){D.call(t,e)}}):(n._v=e,n._s=1,N(n,!1))}catch(e){D.call({_w:n,_d:!1},e)}}};F||(I=function(e){_(this,I,j,"_h"),p(e),n.call(this);try{e(u(W,this,1),u(D,this,1))}catch(e){D.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r("./_redefine-all")(I.prototype,{then:function(e,t){var r=T(v(this,I));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=M?S.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&N(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n;this.promise=e,this.resolve=u(W,e,1),this.reject=u(D,e,1)},y.f=T=function(e){return e===I||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!F,{Promise:I}),r("./_set-to-string-tag")(I,j),r("./_set-species")(j),a=r("./_core")[j],f(f.S+f.F*!F,j,{reject:function(e){var t=T(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!F),j,{resolve:function(e){return w(s&&this===a?I:this,e)}}),f(f.S+f.F*!(F&&r("./_iter-detect")(function(e){I.all(e).catch(E)})),j,{all:function(e){var a=this,t=T(a),s=t.resolve,c=t.reject,r=b(function(){var n=[],o=0,i=1;h(e,!1,function(e){var t=o++,r=!1;n.push(void 0),i++,a.resolve(e).then(function(e){r||(r=!0,n[t]=e,--i||s(n))},c)}),--i||s(n)});return r.e&&c(r.v),t.promise},race:function(e){var t=this,r=T(t),n=r.reject,o=b(function(){h(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},{"./_a-function":33,"./_an-instance":37,"./_classof":47,"./_core":52,"./_ctx":54,"./_export":62,"./_for-of":68,"./_global":70,"./_is-object":81,"./_iter-detect":86,"./_library":89,"./_microtask":95,"./_new-promise-capability":96,"./_perform":114,"./_promise-resolve":115,"./_redefine-all":117,"./_set-species":123,"./_set-to-string-tag":124,"./_species-constructor":127,"./_task":136,"./_user-agent":148,"./_wks":152}],233:[function(e,t,r){var n=e("./_export"),i=e("./_a-function"),a=e("./_an-object"),s=(e("./_global").Reflect||{}).apply,c=Function.apply;n(n.S+n.F*!e("./_fails")(function(){s(function(){})}),"Reflect",{apply:function(e,t,r){var n=i(e),o=a(r);return s?s(n,t,o):c.call(n,t,o)}})},{"./_a-function":33,"./_an-object":38,"./_export":62,"./_fails":64,"./_global":70}],234:[function(e,t,r){var n=e("./_export"),s=e("./_object-create"),c=e("./_a-function"),u=e("./_an-object"),l=e("./_is-object"),o=e("./_fails"),f=e("./_bind"),d=(e("./_global").Reflect||{}).construct,p=o(function(){function e(){}return!(d(function(){},[],e)instanceof e)}),_=!o(function(){d(function(){})});n(n.S+n.F*(p||_),"Reflect",{construct:function(e,t){c(e),u(t);var r=arguments.length<3?e:c(arguments[2]);if(_&&!p)return d(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(f.apply(e,n))}var o=r.prototype,i=s(l(o)?o:Object.prototype),a=Function.apply.call(e,i,t);return l(a)?a:i}})},{"./_a-function":33,"./_an-object":38,"./_bind":46,"./_export":62,"./_fails":64,"./_global":70,"./_is-object":81,"./_object-create":98}],235:[function(e,t,r){var n=e("./_object-dp"),o=e("./_export"),i=e("./_an-object"),a=e("./_to-primitive");o(o.S+o.F*e("./_fails")(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,r){i(e),t=a(t,!0),i(r);try{return n.f(e,t,r),!0}catch(e){return!1}}})},{"./_an-object":38,"./_export":62,"./_fails":64,"./_object-dp":99,"./_to-primitive":143}],236:[function(e,t,r){var n=e("./_export"),o=e("./_object-gopd").f,i=e("./_an-object");n(n.S,"Reflect",{deleteProperty:function(e,t){var r=o(i(e),t);return!(r&&!r.configurable)&&delete e[t]}})},{"./_an-object":38,"./_export":62,"./_object-gopd":101}],237:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_an-object"),i=function(e){this._t=o(e),this._i=0;var t,r=this._k=[];for(t in e)r.push(t)};e("./_iter-create")(i,"Object",function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}}),n(n.S,"Reflect",{enumerate:function(e){return new i(e)}})},{"./_an-object":38,"./_export":62,"./_iter-create":84}],238:[function(e,t,r){var n=e("./_object-gopd"),o=e("./_export"),i=e("./_an-object");o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return n.f(i(e),t)}})},{"./_an-object":38,"./_export":62,"./_object-gopd":101}],239:[function(e,t,r){var n=e("./_export"),o=e("./_object-gpo"),i=e("./_an-object");n(n.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},{"./_an-object":38,"./_export":62,"./_object-gpo":105}],240:[function(e,t,r){var a=e("./_object-gopd"),s=e("./_object-gpo"),c=e("./_has"),n=e("./_export"),u=e("./_is-object"),l=e("./_an-object");n(n.S,"Reflect",{get:function e(t,r){var n,o,i=arguments.length<3?t:arguments[2];return l(t)===i?t[r]:(n=a.f(t,r))?c(n,"value")?n.value:void 0!==n.get?n.get.call(i):void 0:u(o=s(t))?e(o,r,i):void 0}})},{"./_an-object":38,"./_export":62,"./_has":71,"./_is-object":81,"./_object-gopd":101,"./_object-gpo":105}],241:[function(e,t,r){var n=e("./_export");n(n.S,"Reflect",{has:function(e,t){return t in e}})},{"./_export":62}],242:[function(e,t,r){var n=e("./_export"),o=e("./_an-object"),i=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},{"./_an-object":38,"./_export":62}],243:[function(e,t,r){var n=e("./_export");n(n.S,"Reflect",{ownKeys:e("./_own-keys")})},{"./_export":62,"./_own-keys":111}],244:[function(e,t,r){var n=e("./_export"),o=e("./_an-object"),i=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},{"./_an-object":38,"./_export":62}],245:[function(e,t,r){var n=e("./_export"),o=e("./_set-proto");o&&n(n.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},{"./_export":62,"./_set-proto":122}],246:[function(e,t,r){var c=e("./_object-dp"),u=e("./_object-gopd"),l=e("./_object-gpo"),f=e("./_has"),n=e("./_export"),d=e("./_property-desc"),p=e("./_an-object"),_=e("./_is-object");n(n.S,"Reflect",{set:function e(t,r,n){var o,i,a=arguments.length<4?t:arguments[3],s=u.f(p(t),r);if(!s){if(_(i=l(t)))return e(i,r,n,a);s=d(0)}if(f(s,"value")){if(!1===s.writable||!_(a))return!1;if(o=u.f(a,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,c.f(a,r,o)}else c.f(a,r,d(0,n));return!0}return void 0!==s.set&&(s.set.call(a,n),!0)}})},{"./_an-object":38,"./_export":62,"./_has":71,"./_is-object":81,"./_object-dp":99,"./_object-gopd":101,"./_object-gpo":105,"./_property-desc":116}],247:[function(e,t,r){var n=e("./_global"),i=e("./_inherit-if-required"),o=e("./_object-dp").f,a=e("./_object-gopn").f,s=e("./_is-regexp"),c=e("./_flags"),u=n.RegExp,l=u,f=u.prototype,d=/a/g,p=/a/g,_=new u(d)!==d;if(e("./_descriptors")&&(!_||e("./_fails")(function(){return p[e("./_wks")("match")]=!1,u(d)!=d||u(p)==p||"/a/i"!=u(d,"i")}))){u=function(e,t){var r=this instanceof u,n=s(e),o=void 0===t;return!r&&n&&e.constructor===u&&o?e:i(_?new l(n&&!o?e.source:e,t):l((n=e instanceof u)?e.source:e,n&&o?c.call(e):t),r?this:f,u)};for(var h=function(t){t in u||o(u,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},v=a(l),g=0;v.length>g;)h(v[g++]);(f.constructor=u).prototype=f,e("./_redefine")(n,"RegExp",u)}e("./_set-species")("RegExp")},{"./_descriptors":58,"./_fails":64,"./_flags":66,"./_global":70,"./_inherit-if-required":75,"./_is-regexp":82,"./_object-dp":99,"./_object-gopn":103,"./_redefine":118,"./_set-species":123,"./_wks":152}],248:[function(e,t,r){"use strict";var n=e("./_regexp-exec");e("./_export")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},{"./_export":62,"./_regexp-exec":120}],249:[function(e,t,r){e("./_descriptors")&&"g"!=/./g.flags&&e("./_object-dp").f(RegExp.prototype,"flags",{configurable:!0,get:e("./_flags")})},{"./_descriptors":58,"./_flags":66,"./_object-dp":99}],250:[function(e,t,r){"use strict";var f=e("./_an-object"),d=e("./_to-length"),p=e("./_advance-string-index"),_=e("./_regexp-exec-abstract");e("./_fix-re-wks")("match",1,function(n,o,u,l){return[function(e){var t=n(this),r=null==e?void 0:e[o];return void 0!==r?r.call(e,t):new RegExp(e)[o](String(t))},function(e){var t=l(u,e,this);if(t.done)return t.value;var r=f(e),n=String(this);if(!r.global)return _(r,n);for(var o,i=r.unicode,a=[],s=r.lastIndex=0;null!==(o=_(r,n));){var c=String(o[0]);""===(a[s]=c)&&(r.lastIndex=p(n,d(r.lastIndex),i)),s++}return 0===s?null:a}]})},{"./_advance-string-index":36,"./_an-object":38,"./_fix-re-wks":65,"./_regexp-exec-abstract":119,"./_to-length":141}],251:[function(e,t,r){"use strict";var k=e("./_an-object"),n=e("./_to-object"),S=e("./_to-length"),O=e("./_to-integer"),P=e("./_advance-string-index"),I=e("./_regexp-exec-abstract"),M=Math.max,E=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,_=/\$([$&`']|\d\d?)/g;e("./_fix-re-wks")("replace",2,function(o,i,x,w){return[function(e,t){var r=o(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,r,t):x.call(String(r),e,t)},function(e,t){var r=w(x,e,this,t);if(r.done)return r.value;var n=k(e),o=String(this),i="function"==typeof t;i||(t=String(t));var a=n.global;if(a){var s=n.unicode;n.lastIndex=0}for(var c=[];;){var u=I(n,o);if(null===u)break;if(c.push(u),!a)break;""===String(u[0])&&(n.lastIndex=P(o,S(n.lastIndex),s))}for(var l,f="",d=0,p=0;p>>0,l=new RegExp(e.source,s+"g");(n=d.call(l,r))&&!(c<(o=l[h])&&(a.push(r.slice(c,n.index)),1=u));)l[h]===n.index&&l[h]++;return c===r[_]?!i&&l.test("")||a.push(""):a.push(r.slice(c)),a[_]>u?a.slice(0,u):a}:"0"[a](void 0,0)[_]?function(e,t){return void 0===e&&0===t?[]:v.call(this,e,t)}:v,[function(e,t){var r=o(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,r,t):m.call(String(r),e,t)},function(e,t){var r=g(m,e,this,t,m!==v);if(r.done)return r.value;var n=y(e),o=String(this),i=b(n,RegExp),a=n.unicode,s=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(O?"y":"g"),c=new i(O?n:"^(?:"+n.source+")",s),u=void 0===t?S:t>>>0;if(0===u)return[];if(0===o.length)return null===j(c,o)?[o]:[];for(var l=0,f=0,d=[];f>10),t%1024+56320))}return r.join("")}})},{"./_export":62,"./_to-absolute-index":137}],266:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_string-context"),i="includes";n(n.P+n.F*e("./_fails-is-regexp")(i),"String",{includes:function(e){return!!~o(this,e,i).indexOf(e,1=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},{"./_iter-define":85,"./_string-at":129}],269:[function(e,t,r){"use strict";e("./_string-html")("link",function(t){return function(e){return t(this,"a","href",e)}})},{"./_string-html":131}],270:[function(e,t,r){var n=e("./_export"),a=e("./_to-iobject"),s=e("./_to-length");n(n.S,"String",{raw:function(e){for(var t=a(e.raw),r=s(t.length),n=arguments.length,o=[],i=0;io;)a(V,t=r[o++])||t==R||t==c||n.push(t);return n},te=function(e){for(var t,r=e===$,n=F(r?B:x(e)),o=[],i=0;n.length>i;)!a(V,t=n[i++])||r&&!a($,t)||o.push(V[t]);return o};G||(s((C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var t=d(0ne;)p(re[ne++]);for(var oe=M(p.store),ie=0;oe.length>ie;)h(oe[ie++]);i(i.S+i.F*!G,"Symbol",{for:function(e){return a(U,e+="")?U[e]:U[e]=C(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),i(i.S+i.F*!G,"Object",{create:function(e,t){return void 0===t?k(e):K(k(e),t)},defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=u(function(){P.f(1)});i(i.S+i.F*ae,"Object",{getOwnPropertySymbols:function(e){return P.f(b(e))}}),N&&i(i.S+i.F*(!G||u(function(){var e=C();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=t=n[1],(y(t)||void 0!==e)&&!Y(e))return g(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!Y(t))return t}),n[1]=t,L.apply(N,n)}}),C[A][D]||e("./_hide")(C[A],D,C[A].valueOf),f(C,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},{"./_an-object":38,"./_descriptors":58,"./_enum-keys":61,"./_export":62,"./_fails":64,"./_global":70,"./_has":71,"./_hide":72,"./_is-array":79,"./_is-object":81,"./_library":89,"./_meta":94,"./_object-create":98,"./_object-dp":99,"./_object-gopd":101,"./_object-gopn":103,"./_object-gopn-ext":102,"./_object-gops":104,"./_object-keys":107,"./_object-pie":108,"./_property-desc":116,"./_redefine":118,"./_set-to-string-tag":124,"./_shared":126,"./_to-iobject":140,"./_to-object":142,"./_to-primitive":143,"./_uid":147,"./_wks":152,"./_wks-define":150,"./_wks-ext":151}],279:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_typed"),i=e("./_typed-buffer"),u=e("./_an-object"),l=e("./_to-absolute-index"),f=e("./_to-length"),a=e("./_is-object"),s=e("./_global").ArrayBuffer,d=e("./_species-constructor"),p=i.ArrayBuffer,_=i.DataView,c=o.ABV&&s.isView,h=p.prototype.slice,v=o.VIEW,g="ArrayBuffer";n(n.G+n.W+n.F*(s!==p),{ArrayBuffer:p}),n(n.S+n.F*!o.CONSTR,g,{isView:function(e){return c&&c(e)||a(e)&&v in e}}),n(n.P+n.U+n.F*e("./_fails")(function(){return!new p(2).slice(1,void 0).byteLength}),g,{slice:function(e,t){if(void 0!==h&&void 0===t)return h.call(u(this),e);for(var r=u(this).byteLength,n=l(e,r),o=l(void 0===t?r:t,r),i=new(d(this,p))(f(o-n)),a=new _(this),s=new _(i),c=0;ns;)void 0!==(r=o(n,t=i[s++]))&&f(a,t,r);return a}})},{"./_create-property":53,"./_export":62,"./_object-gopd":101,"./_own-keys":111,"./_to-iobject":140}],296:[function(e,t,r){var n=e("./_export"),o=e("./_object-to-array")(!1);n(n.S,"Object",{values:function(e){return o(e)}})},{"./_export":62,"./_object-to-array":110}],297:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_core"),i=e("./_global"),a=e("./_species-constructor"),s=e("./_promise-resolve");n(n.P+n.R,"Promise",{finally:function(t){var r=a(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return s(r,t()).then(function(){return e})}:t,e?function(e){return s(r,t()).then(function(){throw e})}:t)}})},{"./_core":52,"./_export":62,"./_global":70,"./_promise-resolve":115,"./_species-constructor":127}],298:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_string-pad"),i=e("./_user-agent"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);n(n.P+n.F*a,"String",{padEnd:function(e){return o(this,e,1'),r="row flex-xl-nowrap";e.naviFile||(r+=" justify-content-md-center");var n=$('
'));t.append(n);var o=null,i=null,a=null;e.toc?a=e.naviFile?(o="col-12 col-md-3 col-lg-2 viki-sidebar",i="col-12 col-md-9 col-lg-8 py-md-3 pl-md-5 viki-content","d-none d-lg-block col-lg-2 viki-toc"):(i="col-12 col-md-8 col-lg-8 col-xl-8 py-md-3 pl-md-5 viki-content","d-none d-md-block col-md-4 col-lg-3 col-xl-2 viki-toc"):i=e.naviFile?(o="col-12 col-md-3 col-xl-2 viki-sidebar","col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 viki-content"):"col-12 col-md-9 py-md-3 pl-md-5 viki-content";var s=null,c=null,u=null;o&&(s=$('
'))),i&&(c=$('
'))),a&&(u=$('
'))),s&&n.append(s),c&&n.append(c),u&&n.append(u),$("body").append(t)}},{key:"isMarkdown",value:function(e){return e.endsWith(".md")}},{key:"renderFileInternal",value:function(r){var n=this;$.get(r,function(e){var t=n.viki.info;t.setTarget(r),t.data=e,(new f.default).updateHashSilently("#!"+r),n.renderContentAndToc()})}},{key:"renderContentAndToc",value:function(){var e=this.viki.info,t=new u.default;if(e.contentContainerId&&this.isMarkdown(e.target)){var r=$("#"+e.contentContainerId);new s.default(r).render(this.viki.config.markdown,e.data),t.rewriteLinks(r,e.target,e.baseUrl)}if(e.tocContainerId){var n=$("#"+e.tocContainerId);new c.default(n).render($("#"+e.contentContainerId)),t.rewriteLinks(n,e.target,e.baseUrl)}if($(window).scrollTop(0),e.anchor){var o=$("#"+e.contentContainerId+" #"+e.anchor);0'),t=$('
');if(this.viki.config.footer){var r=$('"));t.append(r)}var n=$('
"));t.append(n),e.append(t),$("body").append(e),this.viki.scheduleNext()}}}])&&s(r.prototype,n),o&&s(r,o),t}();r.default=d},{"./logger.js":315,"./worker.js":327}],313:[function(e,t,r){"use strict";function o(e,t){for(var r=0;r\n ×\n \n '),e.append(this.imageViewDiv),this.initImageViewBox(),this.closeImageViewBox()}},{key:"initImageViewBox",value:function(){var n=this,d=function(e,t,r){"absolute"!=e.style.position&&(e.style.position="absolute",e.style.zIndex=parseInt(n.imageViewDiv.find("#image-view-close")[0].style.zIndex)-1),e.style.left=t+"px",e.style.top=r+"px"};this.imageViewDiv.click(function(e){e=e||window.event;var t=n.imageViewDiv.find("#image-view")[0];e.target.id!=t.id&&n.closeImageViewBox(),e.preventDefault()}),this.imageViewDiv[0].onwheel=function(e){if(!!!(e=e||window.event).ctrlKey){var t=e.target;if(t&&"image-view"==t.id){var r=t.getBoundingClientRect(),n=e.clientX-r.left,o=e.clientY-r.top,i=t.getAttribute("oriWidth"),a=t.getAttribute("oriWidth");i||(i=r.width,a=r.height,t.setAttribute("oriWidth",i),t.setAttribute("oriHeight",a));var s=Math.floor(i/4),c=e.wheelDelta||-e.detail,u=Math.max(-1,Math.min(1,c)),l=r.width+(u<0?-s:s);if(l<200)e.preventDefault();else{var f=l/r.width;t.style.width=l+"px",d(t,e.clientX-n*f,e.clientY-o*f),e.preventDefault()}}}};var e=this.imageViewDiv.find("#image-view")[0];e.onmousedown=function(e){var t=(e=e||window.event).target;n.viewBoxImageMouseDown=!0,n.viewBoxImageOffsetToMouse=[t.offsetLeft-e.clientX,t.offsetTop-e.clientY],e.preventDefault()},e.onmouseup=function(e){e=e||window.event,n.viewBoxImageMouseDown=!1,e.preventDefault()},e.onmousemove=function(e){var t=(e=e||window.event).target;n.viewBoxImageMouseDown&&d(t,e.clientX+n.viewBoxImageOffsetToMouse[0],e.clientY+n.viewBoxImageOffsetToMouse[1]),e.preventDefault()},this.imageViewDiv.find("#image-view-close")[0].onclick=function(){n.closeImageViewBox()}}},{key:"setupIMGToView",value:function(e){var t=this;e&&"img"==e.nodeName.toLowerCase()&&(e.classList.add("viki-view-image"),e.ondblclick=function(e){t.viewImage(e.target.src)})}},{key:"closeImageViewBox",value:function(){this.imageViewDiv&&this.imageViewDiv.hide()}},{key:"viewImage",value:function(e){var t=1').concat(e[t].content,"")},this.mdit.use(window.markdownitFootnote),this.mdit.use(window["markdown-it-imsize.js"]),this.mdit.use(texmath,{delimiters:["dollars","raw"]}),this.mdit.use(window.markdownitContainer,"alert",{validate:function(e){return e.trim().match(/^alert-\S+$/)},render:function(e,t){var r=e[t].info.trim().match(/^(alert-\S+)$/);return 1!==e[t].nesting?"\n":''),a=$(''),s=this.viki.naviItems,c=0;c'),r=0;r'+e.title+""},r=function(e){var t=-1;for(var r in e)-1==t?t=e[r].level:t>e[r].level&&(t=e[r].level);return-1==t&&(t=1),t}(e),n=function(e,t){var r=t-1,n=[];for(var o in e){for(var i=e[o];i.level>r+1;){var a={level:r+=1,anchor:"",title:"[EMPTY]"};n.push(a)}n.push(i),r=i.level}return n}(e,r),o="
  • ",i=["
  • "],a=r;for(var s in n){var c=n[s];if(c.level==a)o+="",o+="
  • ",o+=t(c);else if(c.level>a)o+="
      ",i.push("
    "),o+="
  • ",o+=t(c),i.push("
  • "),a=c.level;else{for(;c.level"==u&&a--}o+="",o+="
  • ",o+=t(c)}}for(;0
  • ",""))+""}},{key:"rewriteAnchorInToc",value:function(e){var i=this;e.find("a").click(function(e){e.preventDefault();var t=e.target.getAttribute("href"),r=t.lastIndexOf("#");if(-1!=r){var n=t.substring(r);if(n){var o=$(n);0":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,function(e){return t[e]})}},{key:"updateHashSilently",value:function(e){window.viki_silent_hash=!0,window.location.hash=e}},{key:"pathEqual",value:function(e,t){return this.cleanPath(e.toLowerCase())===this.cleanPath(t.toLowerCase())}},{key:"isSubPath",value:function(e,t){if(""===e)return!0;if(!e)return!1;var r=this.cleanPath(e.toLowerCase());return this.cleanPath(t.toLowerCase()).startsWith(r)}},{key:"baseName",value:function(e){var t=e.lastIndexOf(".");return-1==t?e:e.substring(0,t)}},{key:"suffix",value:function(e){var t=e.lastIndexOf(".");return-1==t?"":e.substring(t+1)}}])&&o(t.prototype,r),n&&o(t,n),e}();r.default=n},{}],325:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,e("@babel/polyfill");var o=n(e("./logger.js")),i=n(e("./vikiinfo.js")),a=e("./configworker.js"),s=n(e("./pageworker.js")),c=e("./naviworker.js"),u=n(e("./fetchtargetworker.js")),l=n(e("./contentworker.js")),f=n(e("./footerworker.js"));function n(e){return e&&e.__esModule?e:{default:e}}function d(e,t){for(var r=0;r=this.workers.length-1?(o.default.log("all workers finished"),this.curWorkerIdx=-1):(++this.curWorkerIdx,o.default.log("schedule worker",this.curWorkerIdx),this.workers[this.curWorkerIdx].run())}},{key:"initTargetFromHash",value:function(){var e="index.md",t=window.location.hash||"";if(""===t)return this.info.setTarget(e),!0;var r,n,o="";if("#"===t||"#!"===t?o="#!"+e:t.startsWith("#!")&&t.endsWith("/")&&(o=t+e),o)return window.location.hash=o,window.location.reload(!1),!1;t.startsWith("#!")?e=t.substring(2):t.startsWith("#")&&(e=t.substring(1)),r=e,(n=document.createElement("a")).href=r,n.hostname&&window.location.hostname!==n.hostname&&(e="index.md");var i=e.indexOf("#");return-1!=i?this.info.setTarget(e.substring(0,i),e.substring(i+1)):this.info.setTarget(e),!0}}])&&d(t.prototype,r),n&&d(t,n),e}();r.default=p},{"./configworker.js":308,"./contentworker.js":309,"./fetchtargetworker.js":311,"./footerworker.js":312,"./logger.js":315,"./naviworker.js":320,"./pageworker.js":321,"./vikiinfo.js":326,"@babel/polyfill":1}],326:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,o=(n=e("./utils.js"))&&n.__esModule?n:{default:n};function i(e,t){for(var r=0;ra;)i.call(e,n=o[a++])&&t.push(n);return t}},{"./_object-gops":104,"./_object-keys":107,"./_object-pie":108}],62:[function(e,t,r){var h=e("./_global"),v=e("./_core"),g=e("./_hide"),m=e("./_redefine"),y=e("./_ctx"),b="prototype",x=function(e,t,r){var n,o,i,a,s=e&x.F,c=e&x.G,u=e&x.S,l=e&x.P,f=e&x.B,d=c?h:u?h[t]||(h[t]={}):(h[t]||{})[b],p=c?v:v[t]||(v[t]={}),_=p[b]||(p[b]={});for(n in c&&(r=t),r)i=((o=!s&&d&&void 0!==d[n])?d:r)[n],a=f&&o?y(i,h):l&&"function"==typeof i?y(Function.call,i):i,d&&m(d,n,i,e&x.U),p[n]!=i&&g(p,n,a),l&&_[n]!=i&&(_[n]=i)};h.core=v,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,t.exports=x},{"./_core":52,"./_ctx":54,"./_global":70,"./_hide":72,"./_redefine":118}],63:[function(e,t,r){var n=e("./_wks")("match");t.exports=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[n]=!1,!"/./"[t](r)}catch(e){}}return!0}},{"./_wks":152}],64:[function(e,t,r){arguments[4][23][0].apply(r,arguments)},{dup:23}],65:[function(e,t,r){"use strict";e("./es6.regexp.exec");var l=e("./_redefine"),f=e("./_hide"),d=e("./_fails"),p=e("./_defined"),_=e("./_wks"),h=e("./_regexp-exec"),v=_("species"),g=!d(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}),m=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();t.exports=function(r,e,t){var n=_(r),i=!d(function(){var e={};return e[n]=function(){return 7},7!=""[r](e)}),o=i?!d(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},"split"===r&&(t.constructor={},t.constructor[v]=function(){return t}),t[n](""),!e}):void 0;if(!i||!o||"replace"===r&&!g||"split"===r&&!m){var a=/./[n],s=t(p,n,""[r],function(e,t,r,n,o){return t.exec===h?i&&!o?{done:!0,value:a.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),c=s[0],u=s[1];l(String.prototype,r,c),f(RegExp.prototype,n,2==e?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}}},{"./_defined":57,"./_fails":64,"./_hide":72,"./_redefine":118,"./_regexp-exec":120,"./_wks":152,"./es6.regexp.exec":248}],66:[function(e,t,r){"use strict";var n=e("./_an-object");t.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},{"./_an-object":38}],67:[function(e,t,r){"use strict";var _=e("./_is-array"),h=e("./_is-object"),v=e("./_to-length"),g=e("./_ctx"),m=e("./_wks")("isConcatSpreadable");t.exports=function e(t,r,n,o,i,a,s,c){for(var u,l,f=i,d=0,p=!!s&&g(s,c,3);ddocument.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l[u][a[r]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(c[u]=o(e),r=new c,c[u]=null,r[s]=e):r=l(),void 0===t?r:i(r,t)}},{"./_an-object":38,"./_dom-create":59,"./_enum-bug-keys":60,"./_html":73,"./_object-dps":100,"./_shared-key":125}],99:[function(e,t,r){arguments[4][29][0].apply(r,arguments)},{"./_an-object":38,"./_descriptors":58,"./_ie8-dom-define":74,"./_to-primitive":143,dup:29}],100:[function(e,t,r){var a=e("./_object-dp"),s=e("./_an-object"),c=e("./_object-keys");t.exports=e("./_descriptors")?Object.defineProperties:function(e,t){s(e);for(var r,n=c(t),o=n.length,i=0;io;)a(n,r=t[o++])&&(~c(i,r)||i.push(r));return i}},{"./_array-includes":41,"./_has":71,"./_shared-key":125,"./_to-iobject":140}],107:[function(e,t,r){var n=e("./_object-keys-internal"),o=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return n(e,o)}},{"./_enum-bug-keys":60,"./_object-keys-internal":106}],108:[function(e,t,r){r.f={}.propertyIsEnumerable},{}],109:[function(e,t,r){var o=e("./_export"),i=e("./_core"),a=e("./_fails");t.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],n={};n[e]=t(r),o(o.S+o.F*a(function(){r(1)}),"Object",n)}},{"./_core":52,"./_export":62,"./_fails":64}],110:[function(e,t,r){var c=e("./_descriptors"),u=e("./_object-keys"),l=e("./_to-iobject"),f=e("./_object-pie").f;t.exports=function(s){return function(e){for(var t,r=l(e),n=u(r),o=n.length,i=0,a=[];i>>0||(a.test(r)?16:10))}:n},{"./_global":70,"./_string-trim":134,"./_string-ws":135}],114:[function(e,t,r){t.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},{}],115:[function(e,t,r){var n=e("./_an-object"),o=e("./_is-object"),i=e("./_new-promise-capability");t.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},{"./_an-object":38,"./_is-object":81,"./_new-promise-capability":96}],116:[function(e,t,r){arguments[4][30][0].apply(r,arguments)},{dup:30}],117:[function(e,t,r){var o=e("./_redefine");t.exports=function(e,t,r){for(var n in t)o(e,n,t[n],r);return e}},{"./_redefine":118}],118:[function(e,t,r){var i=e("./_global"),a=e("./_hide"),s=e("./_has"),c=e("./_uid")("src"),n=e("./_function-to-string"),o="toString",u=(""+n).split(o);e("./_core").inspectSource=function(e){return n.call(e)},(t.exports=function(e,t,r,n){var o="function"==typeof r;o&&(s(r,"name")||a(r,"name",t)),e[t]!==r&&(o&&(s(r,c)||a(r,c,e[t]?""+e[t]:u.join(String(t)))),e===i?e[t]=r:n?e[t]?e[t]=r:a(e,t,r):(delete e[t],a(e,t,r)))})(Function.prototype,o,function(){return"function"==typeof this&&this[c]||n.call(this)})},{"./_core":52,"./_function-to-string":69,"./_global":70,"./_has":71,"./_hide":72,"./_uid":147}],119:[function(e,t,r){"use strict";var o=e("./_classof"),i=RegExp.prototype.exec;t.exports=function(e,t){var r=e.exec;if("function"==typeof r){var n=r.call(e,t);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==o(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},{"./_classof":47}],120:[function(e,t,r){"use strict";var n,o,a=e("./_flags"),s=RegExp.prototype.exec,c=String.prototype.replace,i=s,u="lastIndex",l=(n=/a/,o=/b*/g,s.call(n,"a"),s.call(o,"a"),0!==n[u]||0!==o[u]),f=void 0!==/()??/.exec("")[1];(l||f)&&(i=function(e){var t,r,n,o,i=this;return f&&(r=new RegExp("^"+i.source+"$(?!\\s)",a.call(i))),l&&(t=i[u]),n=s.call(i,e),l&&n&&(i[u]=i.global?n.index+n[0].length:t),f&&n&&1"+o+""};t.exports=function(t,e){var r={};r[t]=e(i),n(n.P+n.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||3c&&(u=u.slice(0,c)),n?u+o:o+u}},{"./_defined":57,"./_string-repeat":133,"./_to-length":141}],133:[function(e,t,r){"use strict";var o=e("./_to-integer"),i=e("./_defined");t.exports=function(e){var t=String(i(this)),r="",n=o(e);if(n<0||n==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(t+=t))1&n&&(r+=t);return r}},{"./_defined":57,"./_to-integer":139}],134:[function(e,t,r){var a=e("./_export"),n=e("./_defined"),s=e("./_fails"),c=e("./_string-ws"),o="["+c+"]",i=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),l=function(e,t,r){var n={},o=s(function(){return!!c[e]()||"​…"!="​…"[e]()}),i=n[e]=o?t(f):c[e];r&&(n[r]=i),a(a.P+a.F*o,"String",n)},f=l.trim=function(e,t){return e=String(n(e)),1&t&&(e=e.replace(i,"")),2&t&&(e=e.replace(u,"")),e};t.exports=l},{"./_defined":57,"./_export":62,"./_fails":64,"./_string-ws":135}],135:[function(e,t,r){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},{}],136:[function(e,t,r){var n,o,i,a=e("./_ctx"),s=e("./_invoke"),c=e("./_html"),u=e("./_dom-create"),l=e("./_global"),f=l.process,d=l.setImmediate,p=l.clearImmediate,_=l.MessageChannel,h=l.Dispatch,v=0,g={},m="onreadystatechange",y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};d&&p||(d=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},n(v),v},p=function(e){delete g[e]},"process"==e("./_cof")(f)?n=function(e){f.nextTick(a(y,e,1))}:h&&h.now?n=function(e){h.now(a(y,e,1))}:_?(i=(o=new _).port2,o.port1.onmessage=b,n=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(e){l.postMessage(e+"","*")},l.addEventListener("message",b,!1)):n=m in u("script")?function(e){c.appendChild(u("script"))[m]=function(){c.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),t.exports={set:d,clear:p}},{"./_cof":48,"./_ctx":54,"./_dom-create":59,"./_global":70,"./_html":73,"./_invoke":76}],137:[function(e,t,r){var n=e("./_to-integer"),o=Math.max,i=Math.min;t.exports=function(e,t){return(e=n(e))<0?o(e+t,0):i(e,t)}},{"./_to-integer":139}],138:[function(e,t,r){var n=e("./_to-integer"),o=e("./_to-length");t.exports=function(e){if(void 0===e)return 0;var t=n(e),r=o(t);if(t!==r)throw RangeError("Wrong length!");return r}},{"./_to-integer":139,"./_to-length":141}],139:[function(e,t,r){var n=Math.ceil,o=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(0>1,l=23===t?E(2,-24)-E(2,-77):0,f=0,d=e<0||0===e&&1/e<0?1:0;for((e=I(e))!=e||e===O?(o=e!=e?1:0,n=c):(n=M(T(e)/F),e*(i=E(2,-n))<1&&(n--,i*=2),2<=(e+=1<=n+u?l/i:l*E(2,1-u))*i&&(n++,i/=2),c<=n+u?(o=0,n=c):1<=n+u?(o=(e*i-1)*E(2,t),n+=u):(o=e*E(2,u-1)*E(2,t),n=0));8<=t;a[f++]=255&o,o/=256,t-=8);for(n=n<>1,s=o-7,c=r-1,u=e[c--],l=127&u;for(u>>=7;0>=-s,s+=t;0>8&255]}function $(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function G(e){return D(e,52,8)}function z(e){return D(e,23,4)}function q(e,t,r){h(e[b],t,{get:function(){return this[r]}})}function H(e,t,r,n){var o=p(+r);if(o+t>e[A])throw S(x);var i=e[L]._b,a=o+e[R],s=i.slice(a,a+t);return n?s:s.reverse()}function J(e,t,r,n,o,i){var a=p(+r);if(a+t>e[A])throw S(x);for(var s=e[L]._b,c=a+e[R],u=n(+o),l=0;lQ;)(Y=K[Q++])in w||s(w,Y,P[Y]);i||(X.constructor=w)}var Z=new j(new w(2)),ee=j[b].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||c(j[b],{setInt8:function(e,t){ee.call(this,e,t<<24>>24)},setUint8:function(e,t){ee.call(this,e,t<<24>>24)}},!0)}else w=function(e){l(this,w,m);var t=p(e);this._b=v.call(new Array(t),0),this[A]=t},j=function(e,t,r){l(this,j,y),l(e,w,y);var n=e[A],o=f(t);if(o<0||n>24},getUint8:function(e){return H(this,1,e)[0]},getInt16:function(e){var t=H(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=H(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return U(H(this,4,e,arguments[1]))},getUint32:function(e){return U(H(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return W(H(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return W(H(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){J(this,1,e,V,t)},setUint8:function(e,t){J(this,1,e,V,t)},setInt16:function(e,t){J(this,2,e,B,t,arguments[2])},setUint16:function(e,t){J(this,2,e,B,t,arguments[2])},setInt32:function(e,t){J(this,4,e,$,t,arguments[2])},setUint32:function(e,t){J(this,4,e,$,t,arguments[2])},setFloat32:function(e,t){J(this,4,e,z,t,arguments[2])},setFloat64:function(e,t){J(this,8,e,G,t,arguments[2])}});g(w,m),g(j,y),s(j[b],a.VIEW,!0),r[m]=w,r[y]=j},{"./_an-instance":37,"./_array-fill":40,"./_descriptors":58,"./_fails":64,"./_global":70,"./_hide":72,"./_library":89,"./_object-dp":99,"./_object-gopn":103,"./_redefine-all":117,"./_set-to-string-tag":124,"./_to-index":138,"./_to-integer":139,"./_to-length":141,"./_typed":146}],146:[function(e,t,r){for(var n,o=e("./_global"),i=e("./_hide"),a=e("./_uid"),s=a("typed_array"),c=a("view"),u=!(!o.ArrayBuffer||!o.DataView),l=u,f=0,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(n=o[d[f++]])?(i(n.prototype,s,!0),i(n.prototype,c,!0)):l=!1;t.exports={ABV:u,CONSTR:l,TYPED:s,VIEW:c}},{"./_global":70,"./_hide":72,"./_uid":147}],147:[function(e,t,r){var n=0,o=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},{}],148:[function(e,t,r){var n=e("./_global").navigator;t.exports=n&&n.userAgent||""},{"./_global":70}],149:[function(e,t,r){var n=e("./_is-object");t.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},{"./_is-object":81}],150:[function(e,t,r){var n=e("./_global"),o=e("./_core"),i=e("./_library"),a=e("./_wks-ext"),s=e("./_object-dp").f;t.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},{"./_core":52,"./_global":70,"./_library":89,"./_object-dp":99,"./_wks-ext":151}],151:[function(e,t,r){r.f=e("./_wks")},{"./_wks":152}],152:[function(e,t,r){var n=e("./_shared")("wks"),o=e("./_uid"),i=e("./_global").Symbol,a="function"==typeof i;(t.exports=function(e){return n[e]||(n[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=n},{"./_global":70,"./_shared":126,"./_uid":147}],153:[function(e,t,r){var n=e("./_classof"),o=e("./_wks")("iterator"),i=e("./_iterators");t.exports=e("./_core").getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[n(e)]}},{"./_classof":47,"./_core":52,"./_iterators":88,"./_wks":152}],154:[function(e,t,r){var n=e("./_export");n(n.P,"Array",{copyWithin:e("./_array-copy-within")}),e("./_add-to-unscopables")("copyWithin")},{"./_add-to-unscopables":35,"./_array-copy-within":39,"./_export":62}],155:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_array-methods")(4);n(n.P+n.F*!e("./_strict-method")([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},{"./_array-methods":42,"./_export":62,"./_strict-method":128}],156:[function(e,t,r){var n=e("./_export");n(n.P,"Array",{fill:e("./_array-fill")}),e("./_add-to-unscopables")("fill")},{"./_add-to-unscopables":35,"./_array-fill":40,"./_export":62}],157:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_array-methods")(2);n(n.P+n.F*!e("./_strict-method")([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},{"./_array-methods":42,"./_export":62,"./_strict-method":128}],158:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_array-methods")(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),n(n.P+n.F*a,"Array",{findIndex:function(e){return o(this,e,1=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},{"./_add-to-unscopables":35,"./_iter-define":85,"./_iter-step":87,"./_iterators":88,"./_to-iobject":140}],165:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_to-iobject"),i=[].join;n(n.P+n.F*(e("./_iobject")!=Object||!e("./_strict-method")(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},{"./_export":62,"./_iobject":77,"./_strict-method":128,"./_to-iobject":140}],166:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_to-iobject"),i=e("./_to-integer"),a=e("./_to-length"),s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(c||!e("./_strict-method")(s)),"Array",{lastIndexOf:function(e){if(c)return s.apply(this,arguments)||0;var t=o(this),r=a(t.length),n=r-1;for(1>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},{"./_export":62}],189:[function(e,t,r){var n=e("./_export"),o=Math.exp;n(n.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},{"./_export":62}],190:[function(e,t,r){var n=e("./_export"),o=e("./_math-expm1");n(n.S+n.F*(o!=Math.expm1),"Math",{expm1:o})},{"./_export":62,"./_math-expm1":90}],191:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{fround:e("./_math-fround")})},{"./_export":62,"./_math-fround":91}],192:[function(e,t,r){var n=e("./_export"),c=Math.abs;n(n.S,"Math",{hypot:function(e,t){for(var r,n,o=0,i=0,a=arguments.length,s=0;i>>16)*a+i*(r&o>>>16)<<16>>>0)}})},{"./_export":62,"./_fails":64}],194:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},{"./_export":62}],195:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{log1p:e("./_math-log1p")})},{"./_export":62,"./_math-log1p":92}],196:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},{"./_export":62}],197:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{sign:e("./_math-sign")})},{"./_export":62,"./_math-sign":93}],198:[function(e,t,r){var n=e("./_export"),o=e("./_math-expm1"),i=Math.exp;n(n.S+n.F*e("./_fails")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},{"./_export":62,"./_fails":64,"./_math-expm1":90}],199:[function(e,t,r){var n=e("./_export"),o=e("./_math-expm1"),i=Math.exp;n(n.S,"Math",{tanh:function(e){var t=o(e=+e),r=o(-e);return t==1/0?1:r==1/0?-1:(t-r)/(i(e)+i(-e))}})},{"./_export":62,"./_math-expm1":90}],200:[function(e,t,r){var n=e("./_export");n(n.S,"Math",{trunc:function(e){return(0w;w++)o(h,b=x[w])&&!o(_,b)&&f(_,b,u(h,b));(_.prototype=v).constructor=_,e("./_redefine")(n,p,_)}},{"./_cof":48,"./_descriptors":58,"./_fails":64,"./_global":70,"./_has":71,"./_inherit-if-required":75,"./_object-create":98,"./_object-dp":99,"./_object-gopd":101,"./_object-gopn":103,"./_redefine":118,"./_string-trim":134,"./_to-primitive":143}],202:[function(e,t,r){var n=e("./_export");n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},{"./_export":62}],203:[function(e,t,r){var n=e("./_export"),o=e("./_global").isFinite;n(n.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},{"./_export":62,"./_global":70}],204:[function(e,t,r){var n=e("./_export");n(n.S,"Number",{isInteger:e("./_is-integer")})},{"./_export":62,"./_is-integer":80}],205:[function(e,t,r){var n=e("./_export");n(n.S,"Number",{isNaN:function(e){return e!=e}})},{"./_export":62}],206:[function(e,t,r){var n=e("./_export"),o=e("./_is-integer"),i=Math.abs;n(n.S,"Number",{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},{"./_export":62,"./_is-integer":80}],207:[function(e,t,r){var n=e("./_export");n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{"./_export":62}],208:[function(e,t,r){var n=e("./_export");n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{"./_export":62}],209:[function(e,t,r){var n=e("./_export"),o=e("./_parse-float");n(n.S+n.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},{"./_export":62,"./_parse-float":112}],210:[function(e,t,r){var n=e("./_export"),o=e("./_parse-int");n(n.S+n.F*(Number.parseInt!=o),"Number",{parseInt:o})},{"./_export":62,"./_parse-int":113}],211:[function(e,t,r){"use strict";var n=e("./_export"),u=e("./_to-integer"),l=e("./_a-number-value"),f=e("./_string-repeat"),o=1..toFixed,i=Math.floor,a=[0,0,0,0,0,0],d="Number.toFixed: incorrect invocation!",p=function(e,t){for(var r=-1,n=t;++r<6;)n+=e*a[r],a[r]=n%1e7,n=i(n/1e7)},_=function(e){for(var t=6,r=0;0<=--t;)r+=a[t],a[t]=i(r/e),r=r%e*1e7},h=function(){for(var e=6,t="";0<=--e;)if(""!==t||0===e||0!==a[e]){var r=String(a[e]);t=""===t?r:t+f.call("0",7-r.length)+r}return t},v=function(e,t,r){return 0===t?r:t%2==1?v(e,t-1,r*e):v(e*e,t/2,r)};n(n.P+n.F*(!!o&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!e("./_fails")(function(){o.call({})})),"Number",{toFixed:function(e){var t,r,n,o,i=l(this,d),a=u(e),s="",c="0";if(a<0||20e;)t(n[e++]);l._c=[],l._n=!1,r&&!l._h&&L(l)})}},L=function(i){g.call(c,function(){var e,t,r,n=i._v,o=A(i);if(o&&(e=b(function(){E?S.emit("unhandledRejection",n,i):(t=c.onunhandledrejection)?t({promise:i,reason:n}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",n)}),i._h=E||A(i)?2:1),i._a=void 0,o&&e.e)throw e.v})},A=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(t){g.call(c,function(){var e;E?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},D=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),N(t,!0))},W=function(e){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(r=C(e))?m(function(){var t={_w:n,_d:!1};try{r.call(e,u(W,t,1),u(D,t,1))}catch(e){D.call(t,e)}}):(n._v=e,n._s=1,N(n,!1))}catch(e){D.call({_w:n,_d:!1},e)}}};F||(I=function(e){_(this,I,j,"_h"),p(e),n.call(this);try{e(u(W,this,1),u(D,this,1))}catch(e){D.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r("./_redefine-all")(I.prototype,{then:function(e,t){var r=T(v(this,I));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=E?S.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&N(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n;this.promise=e,this.resolve=u(W,e,1),this.reject=u(D,e,1)},y.f=T=function(e){return e===I||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!F,{Promise:I}),r("./_set-to-string-tag")(I,j),r("./_set-species")(j),a=r("./_core")[j],f(f.S+f.F*!F,j,{reject:function(e){var t=T(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!F),j,{resolve:function(e){return w(s&&this===a?I:this,e)}}),f(f.S+f.F*!(F&&r("./_iter-detect")(function(e){I.all(e).catch(M)})),j,{all:function(e){var a=this,t=T(a),s=t.resolve,c=t.reject,r=b(function(){var n=[],o=0,i=1;h(e,!1,function(e){var t=o++,r=!1;n.push(void 0),i++,a.resolve(e).then(function(e){r||(r=!0,n[t]=e,--i||s(n))},c)}),--i||s(n)});return r.e&&c(r.v),t.promise},race:function(e){var t=this,r=T(t),n=r.reject,o=b(function(){h(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},{"./_a-function":33,"./_an-instance":37,"./_classof":47,"./_core":52,"./_ctx":54,"./_export":62,"./_for-of":68,"./_global":70,"./_is-object":81,"./_iter-detect":86,"./_library":89,"./_microtask":95,"./_new-promise-capability":96,"./_perform":114,"./_promise-resolve":115,"./_redefine-all":117,"./_set-species":123,"./_set-to-string-tag":124,"./_species-constructor":127,"./_task":136,"./_user-agent":148,"./_wks":152}],233:[function(e,t,r){var n=e("./_export"),i=e("./_a-function"),a=e("./_an-object"),s=(e("./_global").Reflect||{}).apply,c=Function.apply;n(n.S+n.F*!e("./_fails")(function(){s(function(){})}),"Reflect",{apply:function(e,t,r){var n=i(e),o=a(r);return s?s(n,t,o):c.call(n,t,o)}})},{"./_a-function":33,"./_an-object":38,"./_export":62,"./_fails":64,"./_global":70}],234:[function(e,t,r){var n=e("./_export"),s=e("./_object-create"),c=e("./_a-function"),u=e("./_an-object"),l=e("./_is-object"),o=e("./_fails"),f=e("./_bind"),d=(e("./_global").Reflect||{}).construct,p=o(function(){function e(){}return!(d(function(){},[],e)instanceof e)}),_=!o(function(){d(function(){})});n(n.S+n.F*(p||_),"Reflect",{construct:function(e,t){c(e),u(t);var r=arguments.length<3?e:c(arguments[2]);if(_&&!p)return d(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(f.apply(e,n))}var o=r.prototype,i=s(l(o)?o:Object.prototype),a=Function.apply.call(e,i,t);return l(a)?a:i}})},{"./_a-function":33,"./_an-object":38,"./_bind":46,"./_export":62,"./_fails":64,"./_global":70,"./_is-object":81,"./_object-create":98}],235:[function(e,t,r){var n=e("./_object-dp"),o=e("./_export"),i=e("./_an-object"),a=e("./_to-primitive");o(o.S+o.F*e("./_fails")(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,r){i(e),t=a(t,!0),i(r);try{return n.f(e,t,r),!0}catch(e){return!1}}})},{"./_an-object":38,"./_export":62,"./_fails":64,"./_object-dp":99,"./_to-primitive":143}],236:[function(e,t,r){var n=e("./_export"),o=e("./_object-gopd").f,i=e("./_an-object");n(n.S,"Reflect",{deleteProperty:function(e,t){var r=o(i(e),t);return!(r&&!r.configurable)&&delete e[t]}})},{"./_an-object":38,"./_export":62,"./_object-gopd":101}],237:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_an-object"),i=function(e){this._t=o(e),this._i=0;var t,r=this._k=[];for(t in e)r.push(t)};e("./_iter-create")(i,"Object",function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}}),n(n.S,"Reflect",{enumerate:function(e){return new i(e)}})},{"./_an-object":38,"./_export":62,"./_iter-create":84}],238:[function(e,t,r){var n=e("./_object-gopd"),o=e("./_export"),i=e("./_an-object");o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return n.f(i(e),t)}})},{"./_an-object":38,"./_export":62,"./_object-gopd":101}],239:[function(e,t,r){var n=e("./_export"),o=e("./_object-gpo"),i=e("./_an-object");n(n.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},{"./_an-object":38,"./_export":62,"./_object-gpo":105}],240:[function(e,t,r){var a=e("./_object-gopd"),s=e("./_object-gpo"),c=e("./_has"),n=e("./_export"),u=e("./_is-object"),l=e("./_an-object");n(n.S,"Reflect",{get:function e(t,r){var n,o,i=arguments.length<3?t:arguments[2];return l(t)===i?t[r]:(n=a.f(t,r))?c(n,"value")?n.value:void 0!==n.get?n.get.call(i):void 0:u(o=s(t))?e(o,r,i):void 0}})},{"./_an-object":38,"./_export":62,"./_has":71,"./_is-object":81,"./_object-gopd":101,"./_object-gpo":105}],241:[function(e,t,r){var n=e("./_export");n(n.S,"Reflect",{has:function(e,t){return t in e}})},{"./_export":62}],242:[function(e,t,r){var n=e("./_export"),o=e("./_an-object"),i=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},{"./_an-object":38,"./_export":62}],243:[function(e,t,r){var n=e("./_export");n(n.S,"Reflect",{ownKeys:e("./_own-keys")})},{"./_export":62,"./_own-keys":111}],244:[function(e,t,r){var n=e("./_export"),o=e("./_an-object"),i=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},{"./_an-object":38,"./_export":62}],245:[function(e,t,r){var n=e("./_export"),o=e("./_set-proto");o&&n(n.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},{"./_export":62,"./_set-proto":122}],246:[function(e,t,r){var c=e("./_object-dp"),u=e("./_object-gopd"),l=e("./_object-gpo"),f=e("./_has"),n=e("./_export"),d=e("./_property-desc"),p=e("./_an-object"),_=e("./_is-object");n(n.S,"Reflect",{set:function e(t,r,n){var o,i,a=arguments.length<4?t:arguments[3],s=u.f(p(t),r);if(!s){if(_(i=l(t)))return e(i,r,n,a);s=d(0)}if(f(s,"value")){if(!1===s.writable||!_(a))return!1;if(o=u.f(a,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,c.f(a,r,o)}else c.f(a,r,d(0,n));return!0}return void 0!==s.set&&(s.set.call(a,n),!0)}})},{"./_an-object":38,"./_export":62,"./_has":71,"./_is-object":81,"./_object-dp":99,"./_object-gopd":101,"./_object-gpo":105,"./_property-desc":116}],247:[function(e,t,r){var n=e("./_global"),i=e("./_inherit-if-required"),o=e("./_object-dp").f,a=e("./_object-gopn").f,s=e("./_is-regexp"),c=e("./_flags"),u=n.RegExp,l=u,f=u.prototype,d=/a/g,p=/a/g,_=new u(d)!==d;if(e("./_descriptors")&&(!_||e("./_fails")(function(){return p[e("./_wks")("match")]=!1,u(d)!=d||u(p)==p||"/a/i"!=u(d,"i")}))){u=function(e,t){var r=this instanceof u,n=s(e),o=void 0===t;return!r&&n&&e.constructor===u&&o?e:i(_?new l(n&&!o?e.source:e,t):l((n=e instanceof u)?e.source:e,n&&o?c.call(e):t),r?this:f,u)};for(var h=function(t){t in u||o(u,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},v=a(l),g=0;v.length>g;)h(v[g++]);(f.constructor=u).prototype=f,e("./_redefine")(n,"RegExp",u)}e("./_set-species")("RegExp")},{"./_descriptors":58,"./_fails":64,"./_flags":66,"./_global":70,"./_inherit-if-required":75,"./_is-regexp":82,"./_object-dp":99,"./_object-gopn":103,"./_redefine":118,"./_set-species":123,"./_wks":152}],248:[function(e,t,r){"use strict";var n=e("./_regexp-exec");e("./_export")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},{"./_export":62,"./_regexp-exec":120}],249:[function(e,t,r){e("./_descriptors")&&"g"!=/./g.flags&&e("./_object-dp").f(RegExp.prototype,"flags",{configurable:!0,get:e("./_flags")})},{"./_descriptors":58,"./_flags":66,"./_object-dp":99}],250:[function(e,t,r){"use strict";var f=e("./_an-object"),d=e("./_to-length"),p=e("./_advance-string-index"),_=e("./_regexp-exec-abstract");e("./_fix-re-wks")("match",1,function(n,o,u,l){return[function(e){var t=n(this),r=null==e?void 0:e[o];return void 0!==r?r.call(e,t):new RegExp(e)[o](String(t))},function(e){var t=l(u,e,this);if(t.done)return t.value;var r=f(e),n=String(this);if(!r.global)return _(r,n);for(var o,i=r.unicode,a=[],s=r.lastIndex=0;null!==(o=_(r,n));){var c=String(o[0]);""===(a[s]=c)&&(r.lastIndex=p(n,d(r.lastIndex),i)),s++}return 0===s?null:a}]})},{"./_advance-string-index":36,"./_an-object":38,"./_fix-re-wks":65,"./_regexp-exec-abstract":119,"./_to-length":141}],251:[function(e,t,r){"use strict";var k=e("./_an-object"),n=e("./_to-object"),S=e("./_to-length"),O=e("./_to-integer"),P=e("./_advance-string-index"),I=e("./_regexp-exec-abstract"),E=Math.max,M=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,_=/\$([$&`']|\d\d?)/g;e("./_fix-re-wks")("replace",2,function(o,i,x,w){return[function(e,t){var r=o(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,r,t):x.call(String(r),e,t)},function(e,t){var r=w(x,e,this,t);if(r.done)return r.value;var n=k(e),o=String(this),i="function"==typeof t;i||(t=String(t));var a=n.global;if(a){var s=n.unicode;n.lastIndex=0}for(var c=[];;){var u=I(n,o);if(null===u)break;if(c.push(u),!a)break;""===String(u[0])&&(n.lastIndex=P(o,S(n.lastIndex),s))}for(var l,f="",d=0,p=0;p>>0,l=new RegExp(e.source,s+"g");(n=d.call(l,r))&&!(c<(o=l[h])&&(a.push(r.slice(c,n.index)),1=u));)l[h]===n.index&&l[h]++;return c===r[_]?!i&&l.test("")||a.push(""):a.push(r.slice(c)),a[_]>u?a.slice(0,u):a}:"0"[a](void 0,0)[_]?function(e,t){return void 0===e&&0===t?[]:v.call(this,e,t)}:v,[function(e,t){var r=o(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,r,t):m.call(String(r),e,t)},function(e,t){var r=g(m,e,this,t,m!==v);if(r.done)return r.value;var n=y(e),o=String(this),i=b(n,RegExp),a=n.unicode,s=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(O?"y":"g"),c=new i(O?n:"^(?:"+n.source+")",s),u=void 0===t?S:t>>>0;if(0===u)return[];if(0===o.length)return null===j(c,o)?[o]:[];for(var l=0,f=0,d=[];f>10),t%1024+56320))}return r.join("")}})},{"./_export":62,"./_to-absolute-index":137}],266:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_string-context"),i="includes";n(n.P+n.F*e("./_fails-is-regexp")(i),"String",{includes:function(e){return!!~o(this,e,i).indexOf(e,1=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},{"./_iter-define":85,"./_string-at":129}],269:[function(e,t,r){"use strict";e("./_string-html")("link",function(t){return function(e){return t(this,"a","href",e)}})},{"./_string-html":131}],270:[function(e,t,r){var n=e("./_export"),a=e("./_to-iobject"),s=e("./_to-length");n(n.S,"String",{raw:function(e){for(var t=a(e.raw),r=s(t.length),n=arguments.length,o=[],i=0;io;)a(V,t=r[o++])||t==R||t==c||n.push(t);return n},te=function(e){for(var t,r=e===$,n=F(r?B:x(e)),o=[],i=0;n.length>i;)!a(V,t=n[i++])||r&&!a($,t)||o.push(V[t]);return o};G||(s((C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var t=d(0ne;)p(re[ne++]);for(var oe=E(p.store),ie=0;oe.length>ie;)h(oe[ie++]);i(i.S+i.F*!G,"Symbol",{for:function(e){return a(U,e+="")?U[e]:U[e]=C(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),i(i.S+i.F*!G,"Object",{create:function(e,t){return void 0===t?k(e):K(k(e),t)},defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=u(function(){P.f(1)});i(i.S+i.F*ae,"Object",{getOwnPropertySymbols:function(e){return P.f(b(e))}}),N&&i(i.S+i.F*(!G||u(function(){var e=C();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=t=n[1],(y(t)||void 0!==e)&&!Y(e))return g(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!Y(t))return t}),n[1]=t,L.apply(N,n)}}),C[A][D]||e("./_hide")(C[A],D,C[A].valueOf),f(C,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},{"./_an-object":38,"./_descriptors":58,"./_enum-keys":61,"./_export":62,"./_fails":64,"./_global":70,"./_has":71,"./_hide":72,"./_is-array":79,"./_is-object":81,"./_library":89,"./_meta":94,"./_object-create":98,"./_object-dp":99,"./_object-gopd":101,"./_object-gopn":103,"./_object-gopn-ext":102,"./_object-gops":104,"./_object-keys":107,"./_object-pie":108,"./_property-desc":116,"./_redefine":118,"./_set-to-string-tag":124,"./_shared":126,"./_to-iobject":140,"./_to-object":142,"./_to-primitive":143,"./_uid":147,"./_wks":152,"./_wks-define":150,"./_wks-ext":151}],279:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_typed"),i=e("./_typed-buffer"),u=e("./_an-object"),l=e("./_to-absolute-index"),f=e("./_to-length"),a=e("./_is-object"),s=e("./_global").ArrayBuffer,d=e("./_species-constructor"),p=i.ArrayBuffer,_=i.DataView,c=o.ABV&&s.isView,h=p.prototype.slice,v=o.VIEW,g="ArrayBuffer";n(n.G+n.W+n.F*(s!==p),{ArrayBuffer:p}),n(n.S+n.F*!o.CONSTR,g,{isView:function(e){return c&&c(e)||a(e)&&v in e}}),n(n.P+n.U+n.F*e("./_fails")(function(){return!new p(2).slice(1,void 0).byteLength}),g,{slice:function(e,t){if(void 0!==h&&void 0===t)return h.call(u(this),e);for(var r=u(this).byteLength,n=l(e,r),o=l(void 0===t?r:t,r),i=new(d(this,p))(f(o-n)),a=new _(this),s=new _(i),c=0;ns;)void 0!==(r=o(n,t=i[s++]))&&f(a,t,r);return a}})},{"./_create-property":53,"./_export":62,"./_object-gopd":101,"./_own-keys":111,"./_to-iobject":140}],296:[function(e,t,r){var n=e("./_export"),o=e("./_object-to-array")(!1);n(n.S,"Object",{values:function(e){return o(e)}})},{"./_export":62,"./_object-to-array":110}],297:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_core"),i=e("./_global"),a=e("./_species-constructor"),s=e("./_promise-resolve");n(n.P+n.R,"Promise",{finally:function(t){var r=a(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return s(r,t()).then(function(){return e})}:t,e?function(e){return s(r,t()).then(function(){throw e})}:t)}})},{"./_core":52,"./_export":62,"./_global":70,"./_promise-resolve":115,"./_species-constructor":127}],298:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_string-pad"),i=e("./_user-agent"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);n(n.P+n.F*a,"String",{padEnd:function(e){return o(this,e,1'),r="row flex-xl-nowrap";e.naviFile||(r+=" justify-content-md-center");var n=$('
    '));t.append(n);var o=null,i=null,a=null;e.toc?a=e.naviFile?(o="col-12 col-md-3 col-lg-2 viki-sidebar",i="col-12 col-md-9 col-lg-8 py-md-3 pl-md-5 viki-content","d-none d-lg-block col-lg-2 viki-toc"):(i="col-12 col-md-8 col-lg-8 col-xl-8 py-md-3 pl-md-5 viki-content","d-none d-md-block col-md-4 col-lg-3 col-xl-2 viki-toc"):i=e.naviFile?(o="col-12 col-md-3 col-xl-2 viki-sidebar","col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 viki-content"):"col-12 col-md-9 py-md-3 pl-md-5 viki-content";var s=null,c=null,u=null;o&&(s=$('
    '))),i&&(c=$('
    '))),a&&(u=$('
    '))),s&&n.append(s),c&&n.append(c),u&&n.append(u),$("body").append(t)}},{key:"isMarkdown",value:function(e){return e.endsWith(".md")}},{key:"renderFileInternal",value:function(r){var n=this;$.get(r,function(e){var t=n.viki.info;t.setTarget(r),t.data=e,(new f.default).updateHashSilently("#!"+r),n.renderContentAndToc()})}},{key:"renderContentAndToc",value:function(){var e=this.viki.info,t=new u.default;if(e.contentContainerId&&this.isMarkdown(e.target)){var r=$("#"+e.contentContainerId);new s.default(r).render(this.viki.config.markdown,e.data),t.rewriteLinks(r,e.target,e.baseUrl)}if(e.tocContainerId){var n=$("#"+e.tocContainerId);new c.default(n).render($("#"+e.contentContainerId)),t.rewriteLinks(n,e.target,e.baseUrl)}if($(window).scrollTop(0),e.anchor){var o=$("#"+e.contentContainerId+" #"+e.anchor);0'),t=$('
    ');if(this.viki.config.footer){var r=$('"));t.append(r)}var n=$('
    "));t.append(n),e.append(t),$("body").append(e),this.viki.scheduleNext()}}}])&&s(r.prototype,n),o&&s(r,o),t}();r.default=d},{"./logger.js":315,"./worker.js":327}],313:[function(e,t,r){"use strict";function o(e,t){for(var r=0;r\n ×\n \n '),e.append(this.imageViewDiv),this.initImageViewBox(),this.closeImageViewBox()}},{key:"initImageViewBox",value:function(){var n=this,d=function(e,t,r){"absolute"!=e.style.position&&(e.style.position="absolute",e.style.zIndex=parseInt(n.imageViewDiv.find("#image-view-close")[0].style.zIndex)-1),e.style.left=t+"px",e.style.top=r+"px"};this.imageViewDiv.click(function(e){e=e||window.event;var t=n.imageViewDiv.find("#image-view")[0];e.target.id!=t.id&&n.closeImageViewBox(),e.preventDefault()}),this.imageViewDiv[0].onwheel=function(e){if(!!!(e=e||window.event).ctrlKey){var t=e.target;if(t&&"image-view"==t.id){var r=t.getBoundingClientRect(),n=e.clientX-r.left,o=e.clientY-r.top,i=t.getAttribute("oriWidth"),a=t.getAttribute("oriWidth");i||(i=r.width,a=r.height,t.setAttribute("oriWidth",i),t.setAttribute("oriHeight",a));var s=Math.floor(i/4),c=e.wheelDelta||-e.detail,u=Math.max(-1,Math.min(1,c)),l=r.width+(u<0?-s:s);if(l<200)e.preventDefault();else{var f=l/r.width;t.style.width=l+"px",d(t,e.clientX-n*f,e.clientY-o*f),e.preventDefault()}}}};var e=this.imageViewDiv.find("#image-view")[0];e.onmousedown=function(e){var t=(e=e||window.event).target;n.viewBoxImageMouseDown=!0,n.viewBoxImageOffsetToMouse=[t.offsetLeft-e.clientX,t.offsetTop-e.clientY],e.preventDefault()},e.onmouseup=function(e){e=e||window.event,n.viewBoxImageMouseDown=!1,e.preventDefault()},e.onmousemove=function(e){var t=(e=e||window.event).target;n.viewBoxImageMouseDown&&d(t,e.clientX+n.viewBoxImageOffsetToMouse[0],e.clientY+n.viewBoxImageOffsetToMouse[1]),e.preventDefault()},this.imageViewDiv.find("#image-view-close")[0].onclick=function(){n.closeImageViewBox()}}},{key:"setupIMGToView",value:function(e){var t=this;e&&"img"==e.nodeName.toLowerCase()&&(e.classList.add("viki-view-image"),e.ondblclick=function(e){t.viewImage(e.target.src)})}},{key:"closeImageViewBox",value:function(){this.imageViewDiv&&this.imageViewDiv.hide()}},{key:"viewImage",value:function(e){var t=1').concat(e[t].content,"")},this.mdit.use(window.markdownitFootnote),this.mdit.use(window["markdown-it-imsize.js"]),this.mdit.use(texmath,{delimiters:["dollars","raw"]}),this.mdit.use(window.markdownitContainer,"alert",{validate:function(e){return e.trim().match(/^alert-\S+$/)},render:function(e,t){var r=e[t].info.trim().match(/^(alert-\S+)$/);return 1!==e[t].nesting?"\n":''),a=$(''),s=this.viki.naviItems,c=0;c'),r=0;r'+e.title+""},r=function(e){var t=-1;for(var r in e)-1==t?t=e[r].level:t>e[r].level&&(t=e[r].level);return-1==t&&(t=1),t}(e),n=function(e,t){var r=t-1,n=[];for(var o in e){for(var i=e[o];i.level>r+1;){var a={level:r+=1,anchor:"",title:"[EMPTY]"};n.push(a)}n.push(i),r=i.level}return n}(e,r),o="
  • ",i=["
  • "],a=r;for(var s in n){var c=n[s];if(c.level==a)o+="",o+="
  • ",o+=t(c);else if(c.level>a)o+="
      ",i.push("
    "),o+="
  • ",o+=t(c),i.push("
  • "),a=c.level;else{for(;c.level"==u&&a--}o+="",o+="
  • ",o+=t(c)}}for(;0
  • ",""))+""}},{key:"rewriteAnchorInToc",value:function(e){var i=this;e.find("a").click(function(e){e.preventDefault();var t=e.target.getAttribute("href"),r=t.lastIndexOf("#");if(-1!=r){var n=t.substring(r);if(n){var o=$(n);0":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,function(e){return t[e]})}},{key:"updateHashSilently",value:function(e){window.viki_silent_hash=!0,window.location.hash=e}},{key:"pathEqual",value:function(e,t){return this.cleanPath(e.toLowerCase())===this.cleanPath(t.toLowerCase())}},{key:"isSubPath",value:function(e,t){if(""===e)return!0;if(!e)return!1;var r=this.cleanPath(e.toLowerCase());return this.cleanPath(t.toLowerCase()).startsWith(r)}},{key:"baseName",value:function(e){var t=e.lastIndexOf(".");return-1==t?e:e.substring(0,t)}},{key:"suffix",value:function(e){var t=e.lastIndexOf(".");return-1==t?"":e.substring(t+1)}}])&&o(t.prototype,r),n&&o(t,n),e}();r.default=n},{}],325:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,e("@babel/polyfill");var o=n(e("./logger.js")),i=n(e("./vikiinfo.js")),a=e("./configworker.js"),s=n(e("./pageworker.js")),c=e("./naviworker.js"),u=n(e("./fetchtargetworker.js")),l=n(e("./contentworker.js")),f=n(e("./footerworker.js"));function n(e){return e&&e.__esModule?e:{default:e}}function d(e,t){for(var r=0;r=this.workers.length-1?(o.default.log("all workers finished"),this.curWorkerIdx=-1):(++this.curWorkerIdx,o.default.log("schedule worker",this.curWorkerIdx),this.workers[this.curWorkerIdx].run())}},{key:"initTargetFromHash",value:function(){var e="index.md",t=window.location.hash||"";if(""===t)return this.info.setTarget(e),!0;var r,n,o="";if("#"===t||"#!"===t?o="#!"+e:t.startsWith("#!")&&t.endsWith("/")&&(o=t+e),o)return window.location.hash=o,window.location.reload(!1),!1;t.startsWith("#!")?e=t.substring(2):t.startsWith("#")&&(e=t.substring(1)),r=e,(n=document.createElement("a")).href=r,n.hostname&&window.location.hostname!==n.hostname&&(e="index.md");var i=e.indexOf("#");return-1!=i?this.info.setTarget(e.substring(0,i),e.substring(i+1)):this.info.setTarget(e),!0}}])&&d(t.prototype,r),n&&d(t,n),e}();r.default=p},{"./configworker.js":308,"./contentworker.js":309,"./fetchtargetworker.js":311,"./footerworker.js":312,"./logger.js":315,"./naviworker.js":320,"./pageworker.js":321,"./vikiinfo.js":326,"@babel/polyfill":1}],326:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,o=(n=e("./utils.js"))&&n.__esModule?n:{default:n};function i(e,t){for(var r=0;rViki.`; + let vikiFooter = `Generated by Viki.`; let vikiP = $(``); container.append(vikiP); diff --git a/js/navigationrenderer.js b/js/navigationrenderer.js index 57a1236..9086205 100644 --- a/js/navigationrenderer.js +++ b/js/navigationrenderer.js @@ -21,6 +21,7 @@ class NavigationRenderer { // showSuffix: whether show suffix. // loadBeforeSearch: whether load all nodes before a search. // fuzzySearch: whether do a fuzzy search. + // expandLevel: auto expanded level on start. this.config = p_config; } @@ -51,6 +52,7 @@ class NavigationRenderer { let showSuffix = this.config.showSuffix; let fuzzySearch = this.config.fuzzySearch; + let expandLevel = this.config.expandLevel; tree.on('activate_node.jstree', (p_e, p_data) => { let node = p_data.node; @@ -66,6 +68,14 @@ class NavigationRenderer { // Expand to the target node. this.expandToNodeByPath(this.target); } + }).on('load_node.jstree', (p_e, p_data) => { + let level = p_data.node.parents.length; + if (level < expandLevel) { + // Open its children. + for (let i = 0; i < p_data.node.children.length; ++i) { + this.fileTree.jstree(true).open_node(p_data.node.children[i]); + } + } }).jstree({ "core": { "themes": { diff --git a/js/naviworker.js b/js/naviworker.js index aa01411..11b7713 100644 --- a/js/naviworker.js +++ b/js/naviworker.js @@ -20,6 +20,9 @@ class NaviItem { // If @navi is true, this hold the start page of that navigation item. this.naviIndex = ""; + // The auto expand level of the navi tree on start. + this.naviExpandLevel = 1; + // Only 2 levels. // If not empty, only the text filed of this item is valid. this.children = []; @@ -41,6 +44,10 @@ class NaviItem { this.naviIndex = p_jobj.navi_index; } + if (this.navi && p_jobj.navi_expand_level != null) { + this.naviExpandLevel = p_jobj.navi_expand_level; + } + if (!this.target) { if (!p_jobj.children || p_jobj.children.length == 0) { return false; @@ -296,6 +303,7 @@ class NaviWorker extends Worker { if (activeItem.navi) { info.naviFile = activeItem.target; info.naviIndex = info.baseUrl + activeItem.naviIndex; + info.naviExpandLevel = activeItem.naviExpandLevel; } } diff --git a/js/vikiinfo.js b/js/vikiinfo.js index c767555..5db4fe5 100644 --- a/js/vikiinfo.js +++ b/js/vikiinfo.js @@ -24,6 +24,9 @@ class VikiInfo { // Base URL prepended. this.naviIndex = ''; + // Auto expand level of the navigation tree on start. + this.naviExpandLevel = 1; + // Data of the target file. this.data = null; diff --git a/package-lock.json b/package-lock.json index 77eb437..77b76b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "viki", - "version": "2.0.1", + "version": "3.2.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6af7b34..4626ceb 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "viki", - "version": "2.0.1", + "version": "3.2.0", "description": "A simple Wiki page in Markdown from notebook of VNote.", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", - "url": "git+https://github.com/tamlok/viki.git" + "url": "git+https://github.com/vnotex/viki.git" }, "keywords": [ "markdown", @@ -17,9 +17,9 @@ "author": "Le Tan", "license": "MIT", "bugs": { - "url": "https://github.com/tamlok/viki/issues" + "url": "https://github.com/vnotex/viki/issues" }, - "homepage": "https://github.com/tamlok/viki#readme", + "homepage": "https://github.com/vnotex/viki#readme", "devDependencies": { "@babel/core": "^7.1.5", "@babel/preset-env": "^7.1.5", diff --git a/viki.html b/viki.html index ad56ab0..46abac1 100644 --- a/viki.html +++ b/viki.html @@ -6,7 +6,7 @@ Viki - A simple Wiki page in Markdown from notebook of VNote - +